How to extract only specific parts from an image in java android? : [Sample Image][1]


  [1]: https://i.stack.imgur.com/O3O0s.jpg



Hello, I have a task to build an android app that extracts only specific parts of an image.Like, for example, extract only the part that contains the phone number from the sample image above and then use an OCR to extract the text in that part.

I have already implemented Google's Text Recognition API to extract text from an image and it works good, but I don't want to extract everything, just a specific part.

Is that possible? and if it is, what techniques should I use to solve this problem?

Thank you