I am completely new in "Optical character recognition" and need some more information and advices because I was not able to find is it possible to do what I need.
I have the following task:
Is it possible to create a function using some OCR php library and select only some of the zones with text?
If there is not good OCR library for PHP, could you recommend me some on other languages?
The example below demonstrates what I want to do (this is just an example, I am not trying to do some out of the law manipulations with money):
This is sample image:
And this is the output (the text surrounded with red rectangles):
All articles and advices are welcomed.
The marquee tool is the basic tool that allows you to select all or part of objects. The marquee tool will generally have the option to select either an oval or a square shape as the selection tool, but some programs offer more choices.
Answer: Slecetion tool is used to select an image or any part of it to perform cut , copy , edit or retouching operations.
Right-click on your selected area to remove it from the image. Selecting the image is the hard part. Once you have your dotted line around the image, simply right-click and choose how to isolate the image.
I would recommend: https://github.com/tesseract-ocr/tesseract
PHP probably not the best tool for the job, but you can always call tesseract from PHP if you want to, then parse the results that you get out of it.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With