In previous article we wrote about tool which can determine type of shot on video frame (close-up/medium/long shot and etc) using OpenCV. But default settings was not enough to solve our tasks.
We needed tool which can determine type of shot on video frame (close-up/medium/long shot and etc). The best way to solve this proble was in using OpenCV library to detect faces and calculate space which they hold on image.
OpenCV has many advanced settings of face detection uncluded filters (on default is using Haar filter), minimum face size, count of neighbors and many others. Using of this settings gives ability of very thin tuning of system.
Click on image to view it on full size