Items used in this project
This project can be used to detect the presences of people in a room. It uses the pre-trained models downloaded using the OpenVINO model downloader.Demonstration Video
This project can be used to detect the presence of people by detecting their faces and their body.Steps
1 Download and install Anaconda Distribution of Python
2 Install all the dependencies
3 Download the Intel Distribution of OpenVINO toolkit.(My OpenVINO version - 2020.0.1.033)Python Virtual Environment
1 Install virtual environmentpip install virtualenv virtualenv --system-site-packages -p python openvinoenv
2 Activate virtual environmentopenvinoenvScriptsactivate
3 Running "setupvars.bat" file to set up the OpenVINO environment variablescd "C:Program Files (x86)IntelSWToolsopenvino_2020.1.033bin"setupvars.bat
4 Installing all the requirements from the "requirements.txt" filecd "C:Program Files (x86)IntelSWToolsopenvino_2020.1.033deployment_toolsmodel_optimizer>" pip install -r requirements.txt
5 Once done with OpenVINO, deactivate the environmentdeactivate
NOTE - I have created a batch file named "openvinoenv.bat" to run the following steps in one singe line.call "openvinoenvScriptsactivate"call "C:Program Files (x86)IntelSWToolsopenvino_2020.1.033binsetupvars.bat"
With a single line, the python virtual environment for OpenVINO toolkit can be created and the OpenVINO environment variables can be initialized.openvinoenv.bat Pre-trained Models
It uses the pre-trained models from the Intel OpenVino pre-trained models.
The following pre-trained models were downloaded using the model downloaderpython "C:Program Files (x86)IntelSWToolsopenvinodeployment_toolsopen_model_zootoolsdownloaderdownloader.py"
Demonstration Videos used from the sample videos of intel-iot-devkit Github Repository.System specifications used
Processor - Intel Core i7 9750H
Ram - 16 GB
OS - Windows 10 64 bit
Final Code Github Repository Link - here
Date of Download of Intel® Distribution of OpenVINO toolkit for Windows - January, 2020 (w_openvino_toolkit_p_2020.1.033.exe)