Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
taojian1989 opened this issue Mar 28, 2018 · 1 comment
Open

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

taojian1989 opened this issue Mar 28, 2018 · 1 comment

Comments

@taojian1989
Copy link

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
Copy link

same question, do you have solved it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants