You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
input exit break
please input file name:1755.jpg
start CTPN
text_lines length:3
Number of the detected text lines: 3
Traceback (most recent call last):
File "demo.py", line 23, in
img,text_recs = getCharBlock(text_detector,im)
File "/mnt/data/sda1/sceneReco-master-tj/ctpnport.py", line 55, in getCharBlock
text_recs = draw_boxes(tmp, text_lines, is_display=False, caption='im_name', wait=False)
File "./CTPN/src/other.py", line 31, in draw_boxes
b1 = box[6] - box[7] / 2
IndexError: index 6 is out of bounds for axis 0 with size 5
The text was updated successfully, but these errors were encountered:
input exit break
please input file name:1755.jpg
start CTPN
text_lines length:3
Number of the detected text lines: 3
Traceback (most recent call last):
File "demo.py", line 23, in
img,text_recs = getCharBlock(text_detector,im)
File "/mnt/data/sda1/sceneReco-master-tj/ctpnport.py", line 55, in getCharBlock
text_recs = draw_boxes(tmp, text_lines, is_display=False, caption='im_name', wait=False)
File "./CTPN/src/other.py", line 31, in draw_boxes
b1 = box[6] - box[7] / 2
IndexError: index 6 is out of bounds for axis 0 with size 5
The text was updated successfully, but these errors were encountered: