This project uses C++ to build a face detection video filter plugin for VLC 4.X API. It builds two files,
libfacedetection.a (static library) and libfacedetection_plugin.so (VLC video filter plugin). We use the
libfacedetection library by Shiqi Yu and the OpenCV library for image processing.
This project was sponsored by VideoLAN. Thank you to Jean-Baptiste Kempf and the VideoLAN team for their guidance.
You need to have VLC 4.X headers installed, along with Meson and a C++ compiler. Make sure you have all VLC dependencies for building plugins installed as well.
From the project root:
meson setup build -Dbuild_vlc_plugin=true -Dopenmp=true -Denable_avx2=true
meson compile -C build
meson install -C buildThis will produce:
build/libfacedetection.a
build/vlc-plugins/video_filter/libfacedetection_plugin.so
This project is licensed under the GPLv3 license. See the LICENSE file for details. We follow the same rules as VLC for licensing.