Items used in this project
Story
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 VideoThis project can be used to detect the presence of people by detecting their faces and their body.
Steps1 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 Environment1 Install virtual environment
pip install virtualenv virtualenv --system-site-packages -p python openvinoenv2 Activate virtual environment
openvinoenvScriptsactivate3 Running "setupvars.bat" file to set up the OpenVINO environment variables
cd "C:Program Files (x86)IntelSWToolsopenvino_2020.1.033bin"setupvars.bat4 Installing all the requirements from the "requirements.txt" file
cd "C:Program Files (x86)IntelSWToolsopenvino_2020.1.033deployment_toolsmodel_optimizer>" pip install -r requirements.txt5 Once done with OpenVINO, deactivate the environment
deactivateNOTE - 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 ModelsIt uses the pre-trained models from the Intel OpenVino pre-trained models.
The following pre-trained models were downloaded using the model downloader
python "C:Program Files (x86)IntelSWToolsopenvinodeployment_toolsopen_model_zootoolsdownloaderdownloader.py"Demonstration Videos used from the sample videos of intel-iot-devkit Github Repository.
System specifications usedProcessor - 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)
Code
Credits
nilutpolkashyap
A multidisciplinary engineering graduate with expertise in designing and building intelligent robotics systems. Profound knowledge in ROS, SLAM, Path Planning, Motion Planning and Computer Vision. Have a systematic approach towards research with experience in technical documentation aiming to carry out high impact research work.
Leave your feedback...