An ideal object tracking algorithm only require the object detection phase once (i.e., when the object is initially detected). Therefore, it will be extremely faster than running the actual object detector itself. We use MobileNet SSD as our face detector. The input of this system will be image streaming from webcam.
- opencv
- numpy
- imutils
$ python face_tracker.py [-h] -p PROTOTXT -m MODEL [-c CONFIDENCE]
- PROTOTXT: path to Caffe 'deploy' prototxt file. This is included in the 'model' folder.
- MODEL: path to Caffe pre-trained model. This is included in the 'model' folder.
- CONFIDENCE: minimum probability to filter weak detections