This program extract the biggest face from the rest of image and write it to video file.
It do following steps:
- Find biggest face region
- Aply face mask to this region They are better(more accurate) aprochaes but they would need more time to implement.
- Web-cam
- OpenCV >=3.1
- libgtk2.0-dev and pkg-config packages
sudo apt-get install libgtk2.0-dev pkg-config
- Clone the files
- Go to the programm directory
- Call
make
- Call
./facecrop
- keep some distance from the camera
- Look to the web-cam and press Esc after a while
- watch the result in the facecrop.mp4 file
- Tested on Ubuntu 14.04