https://github.com/dkurt/openvino_demo
This is a demo application of Intel® OpenVINO™ toolkit
https://github.com/dkurt/openvino_demo
Last synced: 4 months ago
JSON representation
This is a demo application of Intel® OpenVINO™ toolkit
- Host: GitHub
- URL: https://github.com/dkurt/openvino_demo
- Owner: dkurt
- Created: 2018-10-01T13:34:50.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-12-16T07:29:17.000Z (over 7 years ago)
- Last Synced: 2025-09-15T14:45:10.773Z (9 months ago)
- Language: C++
- Size: 23.4 KB
- Stars: 6
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
This is a demo application for Intel® OpenVINO™ toolkit.
It demonstrates a pipeline with several [pre-trained deep learning models](https://software.intel.com/openvino-toolkit/documentation/pretrained-models)
such face detection, emotions recognition and face reidentification networks.
## Build
* Go to https://software.intel.com/openvino-toolkit to download and install a toolkit.
* Open a terminal in Linux or Development Command Prompt in Windows and setup
environment variables to locate libraries:
* Linux
```
source /opt/intel/computer_vision_sdk_2018.3.343/bin/setupvars.sh
```
* Windows
```
C:\Intel\computer_vision_sdk_2018.3.343\bin\setupvars.bat
```
* Clone this repository using git or download [an archive](https://github.com/dkurt/openvino_demo/archive/master.zip):
```
git clone https://github.com/dkurt/openvino_demo.git
```
* Build
* Linux
```
cd openvino_demo && mkdir build && cd build
cmake .. -DCMAKE_BUILD_TYPE=Release && make -j8
```
* Windows (assuming that `openvino_demo\build` is a current working directory)
```
"C:\Program Files\CMake\bin\cmake.exe" -DCMAKE_BUILD_TYPE=Release -G "Visual Studio 14 Win64" ..
"C:\Program Files\CMake\bin\cmake.exe" --build . --config Release
```
## Usage
* Set OpenMP threads waiting policy to `PASSIVE`:
* Linux
```
export OMP_WAIT_POLICY=PASSIVE
```
* Windows
```
set OMP_WAIT_POLICY=PASSIVE
```
* Prepare a gallery. This is a directory contains images of single persons. Base
names of images are used to identify recognized persons.
* Pass a path to gallery in command line parameters:
```
./demo -g=/path/to/gallery
```
* To register a person which is recognized as `unknown`, press an `Enter` key and
type a name in new window. Press `Enter` again to save person's image in the gallery.