提交 835bfa45 编写于 作者: W WenmuZhou

Remove the channel conversion of the image and keep it consistent with the training phase

上级 05dcfdec
...@@ -174,7 +174,6 @@ if __name__ == "__main__": ...@@ -174,7 +174,6 @@ if __name__ == "__main__":
if img is None: if img is None:
logger.info("error in loading image:{}".format(image_file)) logger.info("error in loading image:{}".format(image_file))
continue continue
img = cv2.cvtColor(img, cv2.COLOR_BGR2RGB)
dt_boxes, elapse = text_detector(img) dt_boxes, elapse = text_detector(img)
if count > 0: if count > 0:
total_time += elapse total_time += elapse
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册