Ask Your Question

Wanipook's profile - activity

2020-06-29 17:08:48 -0600 received badge  Popular Question (source)
2017-02-07 05:05:20 -0600 received badge  Editor (source)
2017-02-06 12:23:21 -0600 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 stackoverflow.com/questions/34271356/extracting-text-opencv-java

* 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)

i.imgur.com/mZfM7H9.jpg [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.