Face Detection using pure PHP: No OpenCV required

In this post, we will be implementing a Face Detection library in PHP. We don’t need any libraries like OpenCV for this Face Detection to work. Use of already trained data will be used to detect face in an image.

1. Download FaceDetection library from this url


2. You will find the following code in example.php


include "FaceDetector.php";

$face_detect = new Face_Detector('detectioin.dat');


Refer this video for full guidance :

Recommended For You

About the Author: Admin