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

Exception while using images instead of camera #5

Open
lokeshponnada opened this issue Jul 22, 2019 · 1 comment
Open

Exception while using images instead of camera #5

lokeshponnada opened this issue Jul 22, 2019 · 1 comment

Comments

@lokeshponnada
Copy link

An indexOutofBounds Exception is thrown if the detector is fed with continuous images instead of camera as the input source.
consume(bitmap,bitmap.width,bitmap.height) results in an indexoutofbounds exception at
int y = (0xff & (yuv420sp[yp])) - 16; in decodeYUV420SPtoLuma method
Are the width and height related to camera instead of the bitmap.

@victorcassone2
Copy link

@lokeshloke6 You ever figure this out?

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