The app should load an image file from app assets folder, also load a JSON file(with extracted text information like left, top, width, height...) from app assets folder. The first screen of the app should be like attached screenshot([login to view URL]). App should show the image and using the JSON file, should be able to identify text in the image for search functionality.
. Long pressing on a word, should show text selection cursors to select text(word or multiple words). See attached screenshot([login to view URL]). top of the screen it show options for the text like(highlight yellow, highlight pink, copy to clipboard)
. User should be able to Zoom in & Zoom out the image using touch pinch in and pinch out gestures.
. User should be able to search & highlight text on the zoomed image too.
Attached are a sample image and Google cloud vision JSON file from [login to view URL]
. No calling API at all. App has to work offline without internet. The attached JSON file(which will be in app assets folder) has all information about what the text is and where it is.
. I just want for this particular image in assets folder and this particular JSON file in assets folder. No new images or no new text
. When we long press a word of image, app get's position of press and shows cursor at that position for the width of the word in that position.
. When user searches for text in the textbox, app will look in the JSON file for the matching text and highlight the image text at the position of the text