# Face + Iris Landmarks Real-time Detection in C++ (OpenCV + Tensorflow Lite)
This project runs on Mediapipe TFLite models without using Mediapipe framework. It can run at 90+ FPS on CPU. I perform the test on an AMD Ryzen 7 3700U Pro and the app takes about 5% CPU while running. For more information:
Because Tensorflow Lite only supports GPU delegate for Android and IOS. For more information: https://www.tensorflow.org/lite/performance/gpu
You can follow instructions at https://www.40tude.fr/compile-cpp-code-with-vscode-cmake-nmake/
Since the prebuilt OPENCV libraries do not contain the 32-bit version, you will have to manually build it using cmake. https://docs.opencv.org/master/d3/d52/tutorial_windows_install.html
cmake -S . -B build
cmake --build build --config Release --target FaceMeshCpp
.exe
at ~/build/Release
. Make sure to copy model
folder to ~/build/Release/
before running.