The purpose of face_detection.sh
is to demonstrate face detection on one video file source and to verify Hailo’s configuration.
This is done by running a single-stream face detection pipeline
on top of GStreamer using the Hailo-8 device.
/face_detection.sh
--input
is an optional flag, a path to the video displayed (default is face_detection.mp4).--show-fps
is an optional flag that enables printing FPS on screen.--print-gst-launch
is a flag that prints the ready gst-launch command without running it"
- 'lightface' - https://github.com/hailo-ai/hailo_model_zoo/blob/master/hailo_model_zoo/cfg/networks/lightface_slim.yaml
cd $TAPPAS_WORKSPACE/apps/gstreamer/raspberrypi/face_detection/
./face_detection.sh
The output should look like:
This app is based on our single network with resolution preservation pipeline template
With small modifications:
- Use decode elements instead of
decodebin
- Increase the number of threads on the
videoconvert