Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/pinto0309/openvino-emotionrecognition

OpenVINO+NCS2/NCS+MutiModel(FaceDetection, EmotionRecognition)+MultiStick+MultiProcess+MultiThread+USB Camera/PiCamera. RaspberryPi 3 compatible. Async.
https://github.com/pinto0309/openvino-emotionrecognition

emotion-recognition facedetection multimodel ncs neural-compute-stick openvino picamera python raspberrypi

Last synced: 11 days ago
JSON representation

OpenVINO+NCS2/NCS+MutiModel(FaceDetection, EmotionRecognition)+MultiStick+MultiProcess+MultiThread+USB Camera/PiCamera. RaspberryPi 3 compatible. Async.

Awesome Lists containing this project

README

        

# OpenVINO-EmotionRecognition
OpenVINO+NCS2/NCS+MutiModel(FaceDetection, EmotionRecognition)+MultiStick+MultiProcess+MultiThread+USB Camera/PiCamera. RaspberryPi 3 compatible.

**[5, Mar 2019] It corresponds to MultiStick.**

# Motion image
**RaspberryPi3 + NCS2 x1 + OenVINO, Async, 320x240**
**Youtube : https://youtu.be/wF3JD3jyGaA**
![01](media/01.gif)

**Corei7 + NCS2 x2 + OenVINO, Async, 320x240**

# Usage
```bash
$ sudo apt-get install -y python3-picamera
$ sudo -H pip3 install imutils --upgrade
$ git clone https://github.com/PINTO0309/OpenVINO-EmotionRecognition.git
$ cd OpenVINO-EmotionRecognition
$ python3 main.py -wd 320 -ht 240 -numncs 1
```

# Parameters
```bash
usage: main.py [-h] [-cm MODE_OF_CAMERA] [-cn NUMBER_OF_CAMERA]
[-wd CAMERA_WIDTH] [-ht CAMERA_HEIGHT] [-numncs NUMBER_OF_NCS]
[-vidfps FPS_OF_VIDEO] [-fdmp FD_MODEL_PATH]
[-emmp EM_MODEL_PATH]

optional arguments:
-h, --help show this help message and exit
-cm MODE_OF_CAMERA, --modeofcamera MODE_OF_CAMERA
Camera Mode. 0:=USB Camera, 1:=PiCamera (Default=0)
-cn NUMBER_OF_CAMERA, --numberofcamera NUMBER_OF_CAMERA
USB camera number. (Default=0)
-wd CAMERA_WIDTH, --width CAMERA_WIDTH
Width of the frames in the video stream. (Default=640)
-ht CAMERA_HEIGHT, --height CAMERA_HEIGHT
Height of the frames in the video stream.
(Default=480)
-numncs NUMBER_OF_NCS, --numberofncs NUMBER_OF_NCS
Number of NCS. (Default=1)
-vidfps FPS_OF_VIDEO, --fpsofvideo FPS_OF_VIDEO
FPS of Video. (Default=30)
-fdmp FD_MODEL_PATH, --facedetectionmodelpath FD_MODEL_PATH
Face Detection model path. (xml and bin. Except
extension.)
-emmp EM_MODEL_PATH, --emotionrecognitionmodelpath EM_MODEL_PATH
Emotion Recognition model path. (xml and bin. Except
extension.)

```