This guide shows how we develop an application for face tracking base on opencv and python.This guide also shows how to use webcam in a face tracking AI model.
We will be able to use the knowledge from this guide to run our own models .
Please follow below step steps to get this demo.
1) Environment: SP7021 platform+Raspbian(Please refer to How to build and install Plus 1 (SP7021) image to run Raspbian) +opencv-4.1.0+USB webcam
2) Download webcam source code
$git $ git clone https://github.com/sunplus-plus1/armnn_test.git
3) Come in webcam folder
$cd $ cd armnn_test
$cd $ cd webcam
4) Execute face tracking demo
$python3 $ python3 fd_webcam.py haarcascade_frontalface_default.xml
...