I’m using Tesseract but I don’t know whether it neglects any nontext area and targets text only. Do I have to remove any nontext area as a preprocessing step for better output?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Tesseract has a pretty good algorithm to detect text, but it will eventually give false-positive matches.
Ideally, you would pre-process the image before submitting it to tesseract. Some time ago I engaged in a similar task, so I suggest you take a look at the following material:
OpenCV C++/Obj-C: Detecting a sheet of paper / Square Detection
Executing cv::warpPerspective for a fake deskewing on a set of cv::Point
Rotate cv::Mat using cv::warpAffine offsets destination image
Affine Transform, Simple Rotation and Scaling or something else entirely?