php-opencv / php-opencv

opencv 4.5+ with dnn module for php 7/8

Home Page:https://github.com/php-opencv/php-opencv-examples

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Do you want to add the OCR module to this project?

walterpadua opened this issue · comments

Will the OCR module with TESSERACT be added to this project? it would be wonderful, thanks for the very useful project for the php community.

Hi. You can find all available functions in that file. You can put it in your project for autocomplete.
OCR functions are not available. I've newer used it.
So if you need it you can try add it like similar functions/classes:
https://github.com/php-opencv/php-opencv/blob/master/source/opencv2/opencv_imgproc.cc
https://github.com/php-opencv/php-opencv/blob/master/source/opencv2/core/opencv_type.cc

Yes, I'm already using these image processing functions, and it works very well, but something that would make this project in great demand, would be to support the native functions that opencv makes available when it is compiled with Tesseract, as it would bring together the best of 2 worlds in 1.
This would make it easier when using functions, besides I didn't find any project like yours for Tesseract, that is, when I have to use Tesseract with php, I need to use it via terminal command

+1 We are interested to use such feature for APNR (Plate detection)
We can sponsor the development, take a look to #46 ticket