Ask Your Question

Wanipook's profile - activity

2017-02-07 05:05:20 -0500 received badge  Editor (source)
2017-02-06 12:23:21 -0500 asked a question How to Crop image after extract text in JAVA

I'm trying to use android-opencv to recognize text in the picture and I want to do something like finding blocks of text in an image and crop them.

After croping image I will get some of text image and I plan to use them to do OCR in the future. For now I can detect the text regien in the image already by useing this algorithm guide from this link

* My problem is I do not know how to Croping image after extracting text in java language. *

In my concept, I will crop the image from top to button and from left to right. After that put all of croped image in an array of MAT (I'm not sure that MAT function can do the array or not) [see my concept picture]

I do not know how to deal with them. Could anyone please help me, guide me, or give me some advice please ... Thanks in advance.