mirror of
https://github.com/PaddlePaddle/PaddleOCR.git
synced 2025-09-25 08:04:41 +00:00
fix starttime noe define error
This commit is contained in:
parent
2062b5097c
commit
41f73e31bc
@ -112,7 +112,6 @@ class TextClassifier(object):
|
|||||||
if '180' in label and score > self.cls_thresh:
|
if '180' in label and score > self.cls_thresh:
|
||||||
img_list[indices[beg_img_no + rno]] = cv2.rotate(
|
img_list[indices[beg_img_no + rno]] = cv2.rotate(
|
||||||
img_list[indices[beg_img_no + rno]], 1)
|
img_list[indices[beg_img_no + rno]], 1)
|
||||||
elapse = time.time() - starttime
|
|
||||||
return img_list, cls_res, elapse
|
return img_list, cls_res, elapse
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user