Skip to content

openvino face/person detection using pepper's front camera

Notifications You must be signed in to change notification settings

PatZhuang/pepper_with_openvino

Repository files navigation

run

python2 cam.py
# set openvino environment
source ~/intel/openvino/bin/setupvars.sh

python3 detection.py

cam.py runs on python2 with naoqi python SDK installed.

detection.py runs on python3 with openvino SDK installed.

Then you'll see a openCV window showing person detection results of pepper's front camera.

Other files are for testing only.

Press any key on OpenCV window to exit client which would accordingly exit server.

If not correctly stopping server would cause a subscriber registration error. One resolution is to reboot Pepper itself, or just change get_image to another name for video_service.subscribe("get_image", resolution, colorSpace, 5) line for convenience.

The detection.py only detects person by default. To enable face detect just modify DETECT_FACE to True in code.

About

openvino face/person detection using pepper's front camera

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages