bear63 / sceneReco

ctpn+crnn Scene character recognition
943 stars 371 forks source link

IndexError: index 6 is out of bounds for axis 0 with size 5 #42

Open taojian1989 opened 6 years ago

taojian1989 commented 6 years ago

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

pengpengO commented 6 years ago

same question, do you have solved it?