This application is an example how use a face recognition using a python shell scripts integrated with PHP using Laravel as framework. There are three pages: list, register and identify. It was used OpenCV (cv2) as library for training datasets and recognizer.
- Python 3.* including libraries opencv-contrib-python, numpy, pillow
- PHP 7.*
- Javascript, NPM
- OpenCV
vagrant up
In your hosts file set:
192.168.33.10 php-python-facerecog.local
- docker-compose
run install.sh
php artisan face-recog:reset
This command remove trainer filed used in Opencv, exclude dataset where contains all images used for training and refresh/migrate database.