-
Notifications
You must be signed in to change notification settings - Fork 234
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
java.lang.ArrayIndexOutOfBoundsException: Index 18479318 out of bounds for length 18479076 #711
Comments
@csa8280 In the HEADERS step, the engine searches for key elements in a buffer that goes from 2 spaces above the staff to 1 space below. I will try to ruggerdize the engine code to deal with such situations. (The same problem will occur in the HEADS step, when searching for note heads just below the last staff line...) For now, the best "solution" would be to put some margin around your score image. |
Bug fixed today by commit 9437047 on "development" branch. Note however that Tesseract chokes on this input image (error code: -1), hence no OCR result is available here. I could not find a way to make it work, even by adding substantial white margins around the buffer submitted to Tesseract. Perhaps because the input image is awfully long: about 40_000 pixels wide by 462 pixels high. |
the error is painful and it is still there. adding some margins helped. |
@wlodr |
… no white margin
score Img:
The text was updated successfully, but these errors were encountered: