All Projects → danhdoan → Computer Vision Raspberrypi

danhdoan / Computer Vision Raspberrypi

Sample projects for Computer Vision with Raspberry Pi and Movidius Neural Compute Stick

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Computer Vision Raspberrypi

Hellovision
Vision framework example for my article. https://medium.com/compileswift/swift-world-whats-new-in-ios-11-vision-456ba4156bad
Stars: ✭ 93 (+34.78%)
Mutual labels:  face-detection, computervision
Libfaceid
libfaceid is a research framework for prototyping of face recognition solutions. It seamlessly integrates multiple detection, recognition and liveness models w/ speech synthesis and speech recognition.
Stars: ✭ 354 (+413.04%)
Mutual labels:  raspberry-pi, face-detection
Deepcamera
Open source face recognition on Raspberry Pi. SharpAI is open source stack for machine learning engineering with private deployment and AutoML for edge computing. DeepCamera is application of SharpAI designed for connecting computer vision model to surveillance camera. Developers can run same code on Raspberry Pi/Android/PC/AWS to boost your AI production development.
Stars: ✭ 757 (+997.1%)
Mutual labels:  raspberry-pi, face-detection
Os Rootfs
The root filesystem of HypriotOS
Stars: ✭ 65 (-5.8%)
Mutual labels:  raspberry-pi
Guitar
Git GUI Client
Stars: ✭ 1,136 (+1546.38%)
Mutual labels:  raspberry-pi
Client
An Opensource Alternative to the Elgato Stream Deck for the Raspberry Pi
Stars: ✭ 67 (-2.9%)
Mutual labels:  raspberry-pi
Chromium os Raspberry pi
Build your Chromium OS for Raspberry Pi 3B/3B+/4B and Pi400
Stars: ✭ 1,156 (+1575.36%)
Mutual labels:  raspberry-pi
Face Api Demo Vue
使用 Vue 框架搭建演示,H5、Web、NodeJS 实现人脸检测识别,基于 TensorFlowJS 实现的 face-api.js 人脸识别库。
Stars: ✭ 65 (-5.8%)
Mutual labels:  face-detection
Nowify
A Spotify 'Now Playing' screen designed for Raspberry Pi
Stars: ✭ 68 (-1.45%)
Mutual labels:  raspberry-pi
Qt
Qt binding for Go (Golang) with support for Windows / macOS / Linux / FreeBSD / Android / iOS / Sailfish OS / Raspberry Pi / AsteroidOS / Ubuntu Touch / JavaScript / WebAssembly
Stars: ✭ 8,966 (+12894.2%)
Mutual labels:  raspberry-pi
Awesome Raspberry Pi
📝 A curated list of awesome Raspberry Pi tools, projects, images and resources
Stars: ✭ 9,343 (+13440.58%)
Mutual labels:  raspberry-pi
Ultimatemrz Sdk
Machine-readable zone/travel document (MRZ / MRTD) detector and recognizer using deep learning
Stars: ✭ 66 (-4.35%)
Mutual labels:  raspberry-pi
Raztot
A simple DIY, browser controlled, RPi + WebRTC video streaming rover
Stars: ✭ 67 (-2.9%)
Mutual labels:  raspberry-pi
Raspberry Gpio Manager
A basic library to manage the GPIO pins on a Raspberry Pi with C Sharp.
Stars: ✭ 65 (-5.8%)
Mutual labels:  raspberry-pi
Pi ina219
This Python library supports the INA219 voltage, current and power monitor from Texas Instruments with a Raspberry Pi using the I2C bus. The intent of the library is to make it easy to use the quite complex functionality of this sensor.
Stars: ✭ 68 (-1.45%)
Mutual labels:  raspberry-pi
Opencv 3.2.0 Compiling On Raspberry Pi
Download, Compile, Build, and Install OpenCV 3.2.0 with Extra Modules on RPI running Jessie
Stars: ✭ 65 (-5.8%)
Mutual labels:  raspberry-pi
Face Recognition Cpp
Real Time Face Recognition Detector. Over 30FPS on CPU!
Stars: ✭ 68 (-1.45%)
Mutual labels:  face-detection
Openframeworks
openFrameworks is a community-developed cross platform toolkit for creative coding in C++.
Stars: ✭ 8,652 (+12439.13%)
Mutual labels:  raspberry-pi
Raspi Overlayroot
Protect your SD card against wear and tear
Stars: ✭ 66 (-4.35%)
Mutual labels:  raspberry-pi
Bthidhub
Bluetooth HID hub
Stars: ✭ 65 (-5.8%)
Mutual labels:  raspberry-pi

Computer Vision on Raspberry Pi

by Danh Doan

Introduction

This is a series about developing common Computer Vision projects on Raspberry Pi board. Some of them requires the support of Movidius Neural Compute Stick to boost the performance. OpenVINO toolkit is mainly the development tool that helps optimize the hardware and models to work well with Raspi

The main purpose of this work is to help developers from all levels to gain insights and resources to working with Raspberry Pi for Computer Vision projects. Every sample project is refactored and organized so that it is easily understandable and approachable.

If you have any project ideas and issues with those projects, feel free to comment. It will help improve and enrich the contents. Thanks in advance with my sincere.

Other Computer Vision demos: [link]

Updates

2021, Jan 04:

  • Publish Docker image for OpenCV [link]

2019, Nov 27:

  • Add 012-tflite-object-detection

2019, Nov 15:

2019, Nov 05:

  • Add 008-pi-emotion-recognition
  • Update installation guide to support IECore

2019, Oct 23:

  • Add 004-pi-head-pose-estimation

2019, Oct 16:

  • Add 006-pi-face-verification

2019, Oct 15:

  • Add 003-pi-face-alignment

2019, Oct 12:

  • Add 005-pi-object-detection
  • Add 002-pi-facial-landmark-detection
  • Add 001-pi-face-detection
  • Add 000-show-pi-camera

Sample Projects

  • Test with Pi camera module: [link]

    • Play around with builtin Pi camera module
  • Face Detection with High Accuracy: [link]

    • Develop an accurate and robust Face detector with pretrained SSD model trained from WIDER dataset
  • Facial Keypoint Detection: [link] [demo] [demo]

    • Develop a simple Facial keypoints localization that detect 5 main keypoints of human faces (center eyes, nose tip, and mouth corner
  • Face Alignment: [link]

    • Based on 5 keypoints, align human faces, to support other problem e.g. Face Identification, Face Verification, ...
  • Headpose Estimation: [link] [demo]

    • Estimate Human head pose in Tait-Bryan angles (yaw, pitсh or roll)
  • Human Detection: [link] [demo]

    • Develop an Object detector especially with SSD model

    Notice: human is just an example of objects, any object detection model can be converted to work with this sample project

  • Face Verification: [link]

    Verify Face Identity by Face embeddings

  • Emotion Recognition: [link] [demo]

    Recognize Emotional states of Human faces

  • Car and License Plate Detection: [ongoing]

  • TFLite Object Detection: [link] [demo]

Installation

Follow install.md instructions [link] to install essential packages and modules for working with Raspberry Pi. Installing OpenVINO as a toolkit to the development.

Usage

  1. Clone this repository:

    cd ~

    mkdir workspace && cd workspace

    git clone https://github.com/danhdoan/computer-vision-raspberrypi

  2. Download OpenVINO pretrained-model

    mkdir openvino-models tflite-models

    You can notice a soft symbol link in any projects that maps to this directory. If you want to store it elsewhere, beware of re-map this symbol link. To download a model, just go to the official OpenVINO site from Intel:

    https://download.01.org/opencv/2019/open_model_zoo/R1/

    In this project, models from R1 sub-dir are used. R3 is currently the latest, it also works well with sample code. Just download the FP16 models, they can be applied to Raspberry Pi. In my code, I usually add a postfix -fp16 to clarify this issue. Thus, download a pretrained model and change its name correspondingly.

  3. Run a sample project

    All sample projects have the same argument parser

     usage: <app-name>.py [-h] [--video VIDEO] [--name NAME] [--show]                              
                               [--record] [--flip_hor] [--flip_ver]
     optional arguments:                                                                                    
       -h, --help            show this help message and exit
       --video VIDEO, -v VIDEO
                             Video Streamming link or Path to video source
       --name NAME, -n NAME  Name of video source
       --show, -s            Whether to show the output visualization
       --record, -r          Whether to save the output visualization
       --flip_hor, -fh       horizontally flip video frame
       --flip_ver, -fv       vertically flip video frame
    

    It is implemented in altusi/helper.py, you can customize as you wanted. To see argument list of a sample, e.g. object-detection, just type:

     python3 app-object-detector.py -h
    

References

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].