Person and Face Detection using Intel OpenVINO toolkit

Nilutpol Kashyap

Nilutpol Kashyap

Guwahati, Assam

1 0
  • 0 Collaborators

People and Face Detection in Video for Security Surveillance using the Intel Distribution of OpenVINO toolkit. ...learn more

Project status: Under Development

Robotics, Artificial Intelligence

Groups
Artificial Intelligence India, Student Developers for AI

Intel Technologies
Intel CPU, OpenVINO

Code Samples [1]Links [1]

Overview / Usage

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.

This project can be used to detect the presence of people by detecting their faces and their body.

Methodology / Approach

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 environment

    pip install virtualenv

    virtualenv --system-site-packages -p python openvinoenv

2. Activate virtual environment

    openvinoenv\Scripts\activate 

3. Running "setupvars.bat" file to set up the OpenVINO environment variables

    cd "C:\Program Files (x86)\IntelSWTools\openvino\_2020.1.033\bin\"setupvars.bat 

4. Installing all the requirements from the "requirements.txt" file

    cd "C:\Program Files (x86)\IntelSWTools\openvino\_2020.1.033\deployment\_tools\model\_optimizer" 

    pip install -r requirements.txt 

5. Once done with OpenVINO, deactivate the environment

    deactivate 

NOTE** **- I have created a batch file named "openvinoenv.bat" to run the following steps in one singe line.

_ _ call "openvinoenv\Scripts\activate"call "C:\Program Files (x86)\IntelSWTools\openvino_2020.1.033\bin\setupvars.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 downloader

    python "C:\Program Files (x86)\IntelSWTools\openvino\deployment\_tools\open\_model\_zoo\tools\downloader\downloader.py" 

Demonstration Videos used from the sample videos of intel-iot-devkit Github Repository.

Technologies Used

Processor - Intel Core i7 9750H

Ram - 16 GB

OS - Windows 10 64 bit

Repository

https://github.com/nilutpolkashyap/person_and_face_detection

Comments (0)