You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A mobilenet SSD(single shot multibox detector) based face detector with pretrained model provided, powered by tensorflow object detection api, trained by WIDERFACE dataset.
Features
Speed, run 60fps on a nvidia GTX1080 GPU.
Memory, requires less than 364Mb GPU memory for single inference.
Robust, adapt to different poses, this feature is credit to WIDERFACE dataset, I manually cleaned the dataset to balance the precision and recall trade off.
Parallel, multiple process video processing, can inference multiple input simultaneously, I tested to process 4 videos on a single GPU card at the same time, the speed is still competitive, and there's still room to accommodate more processes.
Dependencies
Tensorflow > 1.2
Tensorflow object detection api (Please follow the official installation instruction, otherwise, I cannot guarantee that you can run the code)
Here is an example to use usb camera with cameraID=0.
python inference_usbCam_face.py 0
Note: this script does not save video.
Known Issue
Please view that issue here if your output video is blank. A brief reminder is: check the input codec and check the input/output resolution, since this part is irrelevant to the algorithm, no modification will be made to master branch.
Further
The model released by this repo. has already been merged into Deep Video Analytics / Visual Data Network.
Please click the following link for more applications.