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?
karlphillip
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:
来源:https://stackoverflow.com/questions/10193816/does-tesseract-neglect-any-nontext-area-in-a-scanned-document