Extracting information from captured image in android

前端 未结 1 508
小蘑菇
小蘑菇 2021-02-10 09:37

This is my image:

\"enter

I used this link(tessaract) to capture and process the i

相关标签:
1条回答
  • 2021-02-10 10:03

    Let the user take one image only You can store it in memory and set region of interest to top portion and then extract it Use cvSetImageROI

    https://github.com/mintuhouse/FinMan/blob/master/src/unix/imp.cpp

    Check line 337, when you pass IplImage to tesseract set your region (top or bottom parts in your case) of interest on image Check 297 here

    https://github.com/mintuhouse/FinMan/blob/master/src/unix/main.cpp

    This function does main text extraction in out case use JNI java native interface

    or even better use javacv OpenCV port in Java we realized it later. It make life a lot simpler

    0 讨论(0)
提交回复
热议问题