shinjayne / shinTB

Textboxes : Image Text Detection Model : python package (tensorflow)
https://shinjayne.github.io/deeplearning/2017/07/21/text-boxes-paper-review-1.html
90 stars 35 forks source link

how to runner.image? #13

Open porridgeshoes opened 6 years ago

porridgeshoes commented 6 years ago

1.when I run main.py --mode = image occur this problem,how to solve this? If you know, please call me. Thank you @shinjayne .

OpenCV(3.4.1) Error: Assertion failed (depth == 0 || depth == 2 || depth == 5) in cvtColor, file /io/opencv/modules/imgproc/src/color.cpp, line 11109 Traceback (most recent call last): File "main.py", line 34, in runner.image() File "/home/dell/gen/shinTB/shintb/runner.py", line 260, in image self.outputdrawer.draw_outputs(test_img, output_boxes , output_confidence , wait=1) File "/home/dell/gen/shinTB/shintb/output_drawer.py", line 100, in draw_outputs I = cv2.cvtColor(I, cv2.COLOR_RGB2BGR) cv2.error: OpenCV(3.4.1) /io/opencv/modules/imgproc/src/color.cpp:11109: error: (-215) depth == 0 || depth == 2 || depth == 5 in function cvtColor

2.when I run "runner.image" occur this problem,how to solve this? If you know, please call me. Thank you @shinjayne .

Textboxes information! rect_start : (0, 0) // rect_end : (0, 0) confidence: 0.499774 Textboxes information! rect_start : (0, 0) // rect_end : (0, 0) confidence: 0.499774 Textboxes information! rect_start : (0, 0) // rect_end : (0, 0) confidence: 0.499774 Textboxes information! rect_start : (0, 0) // rect_end : (0, 0) confidence: 0.499774 Textboxes information! rect_start : (0, 0) // rect_end : (0, 0) confidence: 0.499774 Textboxes information! rect_start : (0, 0) // rect_end : (0, 0) confidence: 0.499774 Textboxes information! rect_start : (0, 0) // rect_end : (0, 0) confidence: 0.499774 Textboxes information! rect_start : (0, 0) // rect_end : (0, 0) confidence: 0.499774

porridgeshoes commented 6 years ago

@shinjayne ,I hope you can reply me as soon as possible?

porridgeshoes commented 6 years ago

@shinjayne