In order to facilitate the display of data, I wrote a simple web service that uses ajax to refresh the data in real time
-
sudo apt install mongodb
-
Either install using pip wait about some minintr:
pip install -r requirements.txt
-
add your face into data/test_image:
cd ./deep_face/data/test_images mkdir your_name
-
add your face picture into /deep_face/data/test_images
-
run the code :
python multi_face_trace_recongnize.py
-
cd web_ui python server.py
A full face tracking example by opencv can be found at
在mtcnn 下加入下面代码
if str(boxes)=='None': selected_boxes.append(None) selected_probs.append([None]) selected_points.append(None) continue