This project demonstrates face detection using Rust
and OpenCV
. It includes a comparison between the original video and the video with face detection applied.
Origin | Detection |
---|---|
![]() |
![]() |
- Operating System: MacOS M2
- Dependencies:
- OpenCV: ^4.0
- Dependencies:
- Programming Language: Rust
- Dependencies:
- OpenCV: ^0.91.0
- Dependencies:
$ brew install opencv
$ cargo run
$ docker build -t rust-face-detection .
# hint: you need to bind the devices into your own docker container
$ docker run -idtv $PWD:/app --device="{replace to the path of your device}:/dev/video0" rust-face-detection
$ export DYLD_FALLBACK_LIBRARY_PATH="$(xcode-select --print-path)/usr/lib/"