Tutorial on how to aply Face Detection in webcam using OpenVino with python. This code tested on Windows 10 and Ubuntu.
OpenVino (OpenVisual Inferencing and Neural Network Optimization) is toolkit to develop Deep Learning Application especially for Computer Vision by Intel. OpenVino Enables deep learning inference at the edge and supports heterogeneous execution across computer vision accelerators—CPU, GPU, Intel® Movidius™ Neural Compute Stick, and FPGA—using a common API. read more
https://software.intel.com/en-us/openvino-toolkit/choose-download
CPU:
- Minimum Intel gen6 processors
- Some Ryzen series support but not all
GPU:
- Intel HD Graphics
- Windows 10: https://docs.openvinotoolkit.org/latest/_docs_install_guides_installing_openvino_windows.html
- Linux (Ubuntu, Centos, Yocto): https://docs.openvinotoolkit.org/latest/_docs_install_guides_installing_openvino_linux.html
- MacOS: https://docs.openvinotoolkit.org/latest/_docs_install_guides_installing_openvino_macos.html
-
Ubuntu: add
source /opt/intel/openvino/bin/setupvars.sh
to the.bashrc
then runpython3 face_detection.py
-
Windows: run OpenVINO
setupvars.bat
first before run the script. Example:
"C:\Program Files (x86)\IntelSWTools\openvino\bin\setupvars.bat"
(with " because it has space on the folder path) then runpython face_detection.py
- openvino_2021.1.110