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

See and Understand Text using OCR with Mobile Vision Text API for Android(ERROR FOUND IN CODE) #455

Open
DEV-HARSHA1999 opened this issue May 5, 2020 · 0 comments

Comments

@DEV-HARSHA1999
Copy link

*/
public boolean contains(float x, float y) {
// TODO: Check if this graphic's text contains this point.
if (text == null) {
return false;
}
RectF rect = new RectF(text.getBoundingBox());
rect = translateRect(rect);
return rect.contains(x, y);
}

// IN THE GIVEN CODE IN THE SAMPLE,contains is written as contans
so,this shows up an error.

please correct 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

1 participant