luojiehua %!s(int64=2) %!d(string=hai) anos
pai
achega
09ca95ade4
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      otr/table_line.py

+ 1 - 1
otr/table_line.py

@@ -920,7 +920,7 @@ def table_postprocess(img_new, pred, prob=0.2, is_test=0):
         return [-1]
 
 
-def table_line(img, model, size=(512, 1024), prob=0.2, is_test=0:
+def table_line(img, model, size=(512, 1024), prob=0.2, is_test=0):
     log("into table_line, prob is " + str(prob))
     sizew, sizeh = size
     img_new = cv2.resize(img, (sizew, sizeh), interpolation=cv2.INTER_AREA)