Examples
- recognize face by LBPH algorithm / recognize face by DNN openface / recognize face by DNN insightface
Results: 87%: Egyptian cat, 4%: tabby, tabby cat, 2%: tiger cat
Helper for autocomplete and highlighting in your IDE
Installation (3 steps)
- install opencv 4.0.0+
- install php-opencv for your php version
- install php-opencv-examples
- resolve problems (if you need it)
Requirements
- PHP 7.0 / 7.1 / 7.2 / 7.3 / 7.4 / 8.0 / 8.1 / 8.2
- OpenCV 4.0.0+
- php-opencv
Thanks
- author of examples and contributor of library -> https://github.com/morozovsk
- send your PR for library there -> https://github.com/php-opencv/php-opencv
- author of library -> https://github.com/hihozhou