Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: about 1 month ago
JSON representation
OpenVINO+NCS2/NCS+MutiModel(FaceDetection, EmotionRecognition)+MultiStick+MultiProcess+MultiThread+USB Camera/PiCamera. RaspberryPi 3 compatible. Async.
- Host: GitHub
- URL: https://github.com/pinto0309/openvino-emotionrecognition
- Owner: PINTO0309
- License: mit
- Created: 2019-03-02T17:01:49.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-02-12T13:00:29.000Z (almost 2 years ago)
- Last Synced: 2024-11-02T02:33:01.731Z (about 2 months ago)
- Topics: emotion-recognition, facedetection, multimodel, ncs, neural-compute-stick, openvino, picamera, python, raspberrypi
- Language: Python
- Homepage: https://qiita.com/PINTO
- Size: 16.8 MB
- Stars: 57
- Watchers: 5
- Forks: 23
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.)```