Text_Detector icon indicating copy to clipboard operation
Text_Detector copied to clipboard

opencv issues

Open LovelySimon opened this issue 1 year ago • 0 comments

Traceback (most recent call last): File "train.py", line 175, in infer_img = cv2.polylines(infer_img, [box.reshape(-1, 1, 2) for box in boxes], isClosed=True, color=(0, 255, 0), thickness=4) TypeError: Expected Ptrcv::UMat for argument 'img'

how can I deal with it?

LovelySimon avatar Nov 15 '24 02:11 LovelySimon