# php-opencv **Repository Path**: xingjianyuan/php-opencv ## Basic Information - **Project Name**: php-opencv - **Description**: No description available - **Primary Language**: PHP - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 2 - **Created**: 2022-06-10 - **Last Updated**: 2022-06-10 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README #### Examples - [detect face by cascade classifier](https://github.com/php-opencv/php-opencv-examples/blob/master/detect_face_by_cascade_classifier.php) ![detect_face_by_cascade_classifier.jpg](https://raw.githubusercontent.com/php-opencv/php-opencv-examples/master/results/detect_face_by_cascade_classifier.jpg) - [detect face by pretrained caffe model res10_300x300_ssd by ddn module](https://github.com/php-opencv/php-opencv-examples/blob/master/detect_face_by_dnn_ssd.php) ![detect_face_by_dnn_ssd.jpg](https://raw.githubusercontent.com/php-opencv/php-opencv-examples/master/results/detect_face_by_dnn_ssd.jpg) - [detect facemarks by LBF algorithm](https://github.com/php-opencv/php-opencv-examples/blob/master/detect_facemarks_by_lbf.php) ![detect_facemarks_by_lbf.jpg](https://raw.githubusercontent.com/php-opencv/php-opencv-examples/master/results/detect_facemarks_by_lbf.jpg) - [recognize face by LBPH algorithm](https://github.com/php-opencv/php-opencv-examples/blob/master/recognize_face_by_lbph.php) ![recognize_face_by_lbph.jpg](https://raw.githubusercontent.com/php-opencv/php-opencv-examples/master/results/recognize_face_by_lbph.jpg) - [upscale image x2 by waifu2x](https://github.com/php-opencv/php-opencv-examples/blob/master/upscale_image_x2_by_dnn_waifu2x.php) ![upscale_image_x2_by_dnn_waifu2x.png](https://raw.githubusercontent.com/php-opencv/php-opencv-examples/master/images/icon_64x64.png) ![icon_64x64.png](https://raw.githubusercontent.com/php-opencv/php-opencv-examples/master/results/upscale_image_x2_by_dnn_waifu2x.png) - [classify image by pretrained caffe model mobilenet](https://github.com/php-opencv/php-opencv-examples/blob/master/classify_image_by_dnn_mobilenet.php) ![cat.jpg](https://raw.githubusercontent.com/php-opencv/php-opencv-examples/master/images/cat.jpg) Results: 87%: Egyptian cat, 4%: tabby, tabby cat, 2%: tiger cat - [detect objects by pretrained tensorflow model mobilenet](https://github.com/php-opencv/php-opencv-examples/blob/master/detect_objects_by_dnn_mobilenet.php) ![detect_objects_by_dnn_mobilenet.png](https://raw.githubusercontent.com/php-opencv/php-opencv-examples/master/results/detect_objects_by_dnn_mobilenet.png) #### Helper for autocomplete and highlighting in your IDE - [phpdoc file](https://github.com/php-opencv/php-opencv-examples/blob/master/phpdoc.php) - [php-opencv-ide-helper](https://github.com/hihozhou/php-opencv-ide-helper) #### Installation - [opencv](https://github.com/php-opencv/php-opencv/wiki/Installation) on ubuntu/centos - [opencv-examples](https://github.com/php-opencv/php-opencv-examples/wiki/installation-via-docker) via docker #### Requirements - PHP 7.0 / 7.1 / 7.2 - OpenCV 4.0.0+ - [php-opencv](https://github.com/php-opencv/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