add elapse to cls

pull/3203/head
LDOUBLEV 2021-06-28 13:50:29 +08:00
parent b88349335b
commit fa2d08f211
1 changed files with 1 additions and 0 deletions

View File

@ -112,6 +112,7 @@ class TextClassifier(object):
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]], 1)
elapse = time.time() - starttime
return img_list, cls_res, elapse