Simple Python wrapper for Google's Mediapipe Face Detection pipeline.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
These are required to use the FaceDetector module
numpy
opencv
tensorflow lite
To get the SSD anchors I borrowed the following script here, which is a C++ program that executes the SsdAnchorsCalculator::GenerateAnchors
function from this calculator.
As there's no reason to modify provided anchors I do not include it into the repository.
This work is a study of models developed by Google and distributed as a part of the Mediapipe framework.
The code is motivated and heavily influenced by this repository