Selaa lähdekoodia

新增长图分割错误码

fangjiasheng 2 vuotta sitten
vanhempi
commit
e3cd2d06c3
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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