urls.py 1.2 KB

123456789101112131415161718192021222324
  1. # @Author : lightXu
  2. # @File : urls.py.py
  3. from django.urls import path
  4. from segment import views as siteviews, sheet_views
  5. urlpatterns = [
  6. path('upload_imgs_slow/', siteviews.upload_img),
  7. path('exam_paper/', siteviews.analysis_exam_view),
  8. path('exam_paper_show/', siteviews.exam_analysis_show),
  9. path('exam_ocr/', siteviews.ocr_exam_view),
  10. path('formula/', siteviews.formula_analysis),
  11. path('exam_ocr_pdf/', siteviews.ocr_exam_view_of_pdf),
  12. path('formula_show/', siteviews.formula_analysis_show),
  13. path('ai_formula_show/', siteviews.ai_formula_analysis_show),
  14. path('sheet_box/', sheet_views.analysis_big_box), # 大框+ocr, 测试接口
  15. # path('sheet/', sheet_views.analysis_box_once_and_single_img_with_paperid), # ye biao
  16. path('sheet/', sheet_views.analysis_box_once_with_multiple_img), # ye biao
  17. path('sheet_detail/', sheet_views.analysis_box_once_and_single_img), # mbq
  18. path('multiple_sheet_detail/', sheet_views.saas_analysis_box_once_with_multiple_img), # mbq
  19. path('sheet_detail_show/', sheet_views.analysis_box_detail_and_show),
  20. path('sheetsmallbox/', sheet_views.analysis_small_box),
  21. path('download_img/', sheet_views.download_image),
  22. ]