Extract words from an Image and PDF - Laravel [clo

2019-04-13 04:45发布

问题:

is there any way to extract words from scanned images and PDF? Is there any such library for Laravel as I want to use it for laravel. I have searched a lot for that but did not found any such thing for Laravel. Please let me know if you are aware about it. Every help would be highly appreciated :-). Thanks to all of you in advance !!!!

回答1:

After doing some reading...

  • Its possible to read text from scanned images and PDF.
  • I too couldn't find libraries for image processing built for explicit use with laravel, but I did find PHP wrappers for the infamous OpenCV and TesseractOCR, maybe they'll help.

Some useful readings:

  • TesseractOCR for PHP on Windows
  • How to extract text from image using openCV or OCR tesseract?


Edit:

  • Read text from images with tesseract using PHP tutorial