HUB
Sign inSign up

umbobaldi/opencv_face_detection

By umbobaldi

•Updated over 8 years ago

Raspbian stretch with OpenCV installed and a python script for face detection

Image
0

89

umbobaldi/opencv_face_detection repository overview

⁠Raspbian stretch with OpenCV installed and a python script for face detection

I modeled this image after this one⁠ Tested on Raspberry Pi 3B+ with Raspbian Stretch and a generic logitech webcam To run it the first time you can use:

docker run -it --privileged -v ~/opencv_data:/data --name face_detection umbobaldi/opencv_face_detection:1.0
  • --privileged it's useful to let the container access to all devices connected to the raspberry, in particular the webcam.
  • ~/opencv_data:/data it's useful to see/copy the output image from OpenCV.

The python script for face detection and the xml file which is used by OpenCV are located in /usr/scr/ocv_face_detection. The container will run the script for face detection on startup and will save the output image in /data only if at least one face is detected.

If you find errors I apologize, it's my first Docker Image

Tag summary
Recent tags
Content type
Image
Digest
Size
381.3 MB
Last updated
over 8 years ago
docker pull umbobaldi/opencv_face_detection:1.0