exam_bbox.html 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>AI_BRAIN</title>
  6. <style type="text/css">
  7. <!--
  8. h3 {
  9. margin-left:10px;
  10. text-align: center;
  11. }
  12. form {
  13. margin-left:10px;
  14. }
  15. .brain{
  16. text-align: center; /*让div内部文字居中*/
  17. }
  18. .inline{
  19. border:1px solid #000;
  20. border-radius: 10px;
  21. width: 360px;
  22. height: 300px;
  23. }
  24. -->
  25. </style>
  26. </head>
  27. <body>
  28. {# <h1>欢迎使用试卷自动标记程序</h1>#}
  29. {# <form action="/segment/upload_imgs_slow/" method="post" enctype="multipart/form-data">#}
  30. {# <p>上传一张或多张试卷,返回各试卷题目所在区域</p>#}
  31. {# {% csrf_token %}#}
  32. {# {{ form.as_p }}#}
  33. {# <input type="submit" value="上传"/><br>#}
  34. {# </form>#}
  35. <div class="brain">
  36. <h2>&#8595 &#8595 AI-BRAIN &#8595 &#8595</h2><br>
  37. </div>
  38. <div class="inline" style="margin-left: 25%;float: left">
  39. <h3>试卷分割</h3>
  40. <form action="/segment/exam_paper/" method="post" enctype="multipart/form-data">
  41. <p>上传一张或多张试卷,返回各试卷题目所在区域</p>
  42. {% csrf_token %}
  43. 科目:{{form.subject}}
  44. {{ form.as_p }}
  45. <input type="submit" value="上传"/><br>
  46. </form>
  47. </div>
  48. <div class="inline" style="margin-right: 25%;float: right;">
  49. <h3>试卷文字提取</h3>
  50. <form action="/segment/exam_ocr/" method="post" enctype="multipart/form-data">
  51. <p>上传一张或多张试卷,返回各试卷题目文字信息</p>
  52. {% csrf_token %}
  53. {{ form.as_p }}
  54. <input type="submit" value="上传"/><br>
  55. </form>
  56. </div>
  57. <div class="inline" style="margin-left: 25%;float: left">
  58. <h3>试卷分割并显示</h3>
  59. <form action="/segment/exam_paper_show/" method="post" enctype="multipart/form-data">
  60. <p>上传一张,返回各试卷题目所在区域</p>
  61. {% csrf_token %}
  62. {{ form.as_p }}
  63. <input type="submit" value="上传"/><br>
  64. </form>
  65. </div>
  66. <div class="inline" style="margin-right: 25%;float: right;">
  67. <h3>PDF试卷文字提取</h3>
  68. <form action="/segment/exam_ocr_pdf/" method="post" enctype="multipart/form-data">
  69. <p>上传一张或多张试卷,返回各试卷题目文字信息</p>
  70. {% csrf_token %}
  71. {{ form.as_p }}
  72. <input type="submit" value="上传"/><br>
  73. </form>
  74. </div>
  75. </body>
  76. </html>