- edit
config.yml
for your environment. (Ex. video_input: 0 # for PC) - run
python run_stream.py
realtime object detection from webcam (Multi-Threading) - or run
python run_video.py
realtime object detection from movie file (Multi-Threading) - or run
python run_image.py
realtime object detection from image file (Multi-Threading)
pip install --upgrade pyyaml
Also, OpenCV >= 3.1 and Tensorflow >= 1.4 (1.6 is good)
- Model type
model_type: 'face_v0'
- Face image size Mask image size can change.
mask_size: 1.5
https://github.com/naisy/realtime_object_detection
mask.png: Non-commercial. Internet use only. 笑い男マーク
Model: Apache 2.0 Tensorflow Face Detector
Face Dataset: WIDER FACE