Get colors around text from bounding box from image in android

316 Views Asked by At

I have an image consisting of background image with multiple colors and text on it.

I have done OCR and i have recognised the text and bounding box surrounding the text.

Now i want to get all the pixels surrounding the text inside the bounding box and store it in a matrix.

I am using opencv for image processing and opengl for rendering (Rajawali).

Any help would be appreciated.

Thanks in advance.

0

There are 0 best solutions below