/php-opencv-examples

Tutorial for computer vision and machine learning in PHP 7/8 by opencv (installation + examples + documentation)

Primary LanguagePHP

Examples

detect_face_by_cascade_classifier.jpg

detect_face_by_dnn_ssd.jpg

detect_facemarks_by_lbf.jpg

recognize_face_by_lbph.jpg

upscale_image_x2_by_dnn_waifu2x.png icon_64x64.png

cat.jpg Results: 87%: Egyptian cat, 4%: tabby, tabby cat, 2%: tiger cat

detect_objects_by_dnn_mobilenet.png

Helper for autocomplete and highlighting in your IDE

Installation (3 steps)

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