android-vision
android-vision copied to clipboard
See and Understand Text using OCR with Mobile Vision Text API for Android(ERROR FOUND IN CODE)
trafficstars
*/ 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.