Explorar el Código

新增长图分割错误码

fangjiasheng hace 2 años
padre
commit
e3cd2d06c3
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      format_convert/convert_image.py

+ 1 - 1
format_convert/convert_image.py

@@ -251,7 +251,7 @@ def image_process(image_np, image_path, is_from_pdf=False, is_from_docx=False, u
                 # 长图分割
                 image_np_list = image_slice_new(image_np)
         if len(image_np_list) < 1:
-            return [-12]
+            return [-10]
 
         all_obj_list = []
         _add_y = 0