I have an image and all text is marked by rectangles around each word. I need to select some words by marking them with finger. To do so, I draw a line on the image. I need to check which rectangle contains that line.
how I can check if a rectangle contains that line.
i want get rectangle on which line as drawn
Edit This has been implemented in Google Translator App. I need exact same behavior.