All Projects → PINTO0309 → Mobilenet Ssd

PINTO0309 / Mobilenet Ssd

Licence: mit
MobileNet-SSD(MobileNetSSD) + Neural Compute Stick(NCS) Faster than YoloV2 + Explosion speed by RaspberryPi · Multiple moving object detection with high accuracy.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Mobilenet Ssd

Mobilenet Ssd Realsense
[High Performance / MAX 30 FPS] RaspberryPi3(RaspberryPi/Raspbian Stretch) or Ubuntu + Multi Neural Compute Stick(NCS/NCS2) + RealSense D435(or USB Camera or PiCamera) + MobileNet-SSD(MobileNetSSD) + Background Multi-transparent(Simple multi-class segmentation) + FaceDetection + MultiGraph + MultiProcessing + MultiClustering
Stars: ✭ 322 (+283.33%)
Mutual labels:  raspberrypi, opencv, deeplearning, caffe
Raspberrypi tempmon
Raspberry pi CPU temperature monitor with many functions such as logging, GPIO output, graphing, email, alarm, notifications and stress testing. Python 3.
Stars: ✭ 52 (-38.1%)
Mutual labels:  raspberrypi, raspberry-pi-3
Jacinto Ai Devkit
Training & Quantization of embedded friendly Deep Learning / Machine Learning / Computer Vision models
Stars: ✭ 49 (-41.67%)
Mutual labels:  deeplearning, caffe
Ssd Models
把极速检测器的门槛给我打下来make lightweight caffe-ssd great again
Stars: ✭ 62 (-26.19%)
Mutual labels:  deeplearning, caffe
Quickdraw
Implementation of Quickdraw - an online game developed by Google
Stars: ✭ 805 (+858.33%)
Mutual labels:  opencv, deeplearning
Gassistpi
Google Assistant for Single Board Computers
Stars: ✭ 911 (+984.52%)
Mutual labels:  raspberrypi, raspberry-pi-3
Head Pose Estimator.caffe
Head Pose Estimator on Caffe
Stars: ✭ 60 (-28.57%)
Mutual labels:  opencv, caffe
Openvino Yolov3
YoloV3/tiny-YoloV3+RaspberryPi3/Ubuntu LaptopPC+NCS/NCS2+USB Camera+Python+OpenVINO
Stars: ✭ 500 (+495.24%)
Mutual labels:  opencv, deeplearning
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 (-22.62%)
Mutual labels:  raspberry-pi-3, opencv
Pwc Net
PWC-Net: CNNs for Optical Flow Using Pyramid, Warping, and Cost Volume, CVPR 2018 (Oral)
Stars: ✭ 1,142 (+1259.52%)
Mutual labels:  deeplearning, caffe
Mtcnn
face detection and alignment with mtcnn
Stars: ✭ 66 (-21.43%)
Mutual labels:  opencv, caffe
Raspberrypipkg
DEPRECATED - DO NOT USE | Go here instead ->
Stars: ✭ 758 (+802.38%)
Mutual labels:  raspberrypi, raspberry-pi-3
Pi64
A 64-bit OS for the Raspberry Pi 3
Stars: ✭ 720 (+757.14%)
Mutual labels:  raspberrypi, raspberry-pi-3
Convolutionalemotion
A deep convolutional neural network system for live emotion detection
Stars: ✭ 40 (-52.38%)
Mutual labels:  opencv, caffe
Ffdl
Fabric for Deep Learning (FfDL, pronounced fiddle) is a Deep Learning Platform offering TensorFlow, Caffe, PyTorch etc. as a Service on Kubernetes
Stars: ✭ 640 (+661.9%)
Mutual labels:  deeplearning, caffe
Active Convolution
Active Convolution
Stars: ✭ 56 (-33.33%)
Mutual labels:  deeplearning, caffe
Homekitcam
A project to make a Raspberry Pi driven, HomeKit Enabled camera.
Stars: ✭ 69 (-17.86%)
Mutual labels:  raspberrypi, raspberry-pi-3
Multi Object Tracker
Multi-object trackers in Python
Stars: ✭ 451 (+436.9%)
Mutual labels:  opencv, caffe
Liteflownet
LiteFlowNet: A Lightweight Convolutional Neural Network for Optical Flow Estimation, CVPR 2018 (Spotlight paper, 6.6%)
Stars: ✭ 474 (+464.29%)
Mutual labels:  deeplearning, caffe
Mobilnet ssd opencv
MobilNet-SSD object detection in opencv 3.4.1
Stars: ✭ 64 (-23.81%)
Mutual labels:  opencv, caffe

[English] MobileNet-SSD

Ultra-fast MobileNet-SSD(MobileNetSSD) + Neural Compute Stick(NCS) than YoloV2 + Explosion speed by RaspberryPi.
Multiple moving object detection with high accuracy.
Video playback and object detection are executed asynchronously.
In order to realize high speed rendering with multi stick, it is implemented in multithreading/OpenGL.
【Warning】 This repository does not support NCS2.

【Japanese Article】
https://qiita.com/PINTO/items/b97b3334ed452cb555e2


【USB Camera + MultiProcessing High performance version】
Below, when using multiple sticks, it is more than three times the performance of this repository program.
I recommend that you refer to the following repository.
https://github.com/PINTO0309/MobileNet-SSD-RealSense.git

Change history

[July 19, 2018] Corresponds to NCSDK v2.05.00.02 / OpenCV 3.4.2 / FPS View
[July 27, 2018] Add an unnecessary version of OpenGL (USBCamera / MultiStick / MultiProcessing / RealSense)

Image of motion

MobileNet-SSD + Neural Compute Stick + RaspberryPi3 / MultiStick(3 Stick / Hard Motion)

Youtube: https://youtu.be/sQnFbRSqIA8

Riders MultiStick

MobileNet-SSD + Neural Compute Stick(1 Stick) + RaspberryPi3 + USB Camera(640x480)
Youtube: https://youtu.be/_Cbt0gI8niQ
Goku

Environment

・RaspberryPi 3 + Raspbian Stretch

・NCSDK v2.08.01 (It does not work with NCSDK v1 v1 version is here)

・Intel Movidius Neural Compute Stick 1 piece

・OpenCV 3.4.2

・OpenGL

・numpy

・(UVC)USB-Web Camera

Building environment

  1. Temporary extension of SWAP area
$ sudo nano /etc/dphys-swapfile
CONF_SWAPSIZE=2048

$ sudo /etc/init.d/dphys-swapfile restart;swapon -s
  1. Installing packages
$ sudo apt-get update
$ sudo apt-get upgrade
$ sudo apt-get install python3-pip python3-numpy git cmake libqtgui4 libqt4-test
  1. Installing NCSDK
$ cd ~
$ git clone -b ncsdk2 https://github.com/movidius/ncsdk.git
$ cd ncsdk
$ make install
  1. Installation of OpenCV
$ cd ~
$ wget https://github.com/PINTO0309/OpenCVonARMv7/raw/master/libopencv3_3.4.2-20180709.1_armhf.deb
$ sudo apt install -y ./libopencv3_3.4.2-20180709.1_armhf.deb
$ sudo ldconfig
  1. Installing OpenGL
$ sudo apt-get install python-opengl
$ sudo -H pip3 install pyopengl
$ sudo -H pip3 install pyopengl_accelerate
$ sudo raspi-config
  1. 「7.Advanced Options」-「A7 GL Driver」-「G2 GL (Fake KMS)」 and Activate Raspberry Pi's OpenGL Driver

  2. Reboot

$ sudo reboot
  1. Download complete set of resources
$ cd ~
$ git clone https://github.com/PINTO0309/MobileNet-SSD.git
  1. Connect USB-WEB camera (UVC compatible) and Neural Compute Stick to RaspberryPi's USB port (self power USB-Hub required due to insufficient voltage when using Neural Compute Stick in multiple)

  2. Connect RaspberryPi and display with HDMI cable

  3. Running MobileNet-SSD

$ cd MobileNet-SSD
$ python3 MultiStickSSD.py
  1. Reducing the SWAP area
$ sudo nano /etc/dphys-swapfile
CONF_SWAPSIZE=100

$ sudo /etc/init.d/dphys-swapfile restart;swapon -s

Procedure for generating original learning data

https://github.com/movidius/ncappzoo/tree/master/caffe/SSD_MobileNet
https://github.com/FreeApe/VGG-or-MobileNet-SSD
https://github.com/chuanqi305/MobileNet-SSD
https://github.com/avBuffer/MobilenetSSD_caffe
   

[Japanese] MobileNet-SSD

YoloV2 より超速 MobileNetSSD(MobileNetSSD)+Neural Compute Stick(NCS)+Raspberry Piによる爆速・高精度の複数動体検知
映像再生と物体検出は非同期実行。
マルチスティックを実現するために、マルチスレッド かつ OpenGL で実装している。
【Qiita記事】 https://qiita.com/PINTO/items/b97b3334ed452cb555e2
【RealSense D435 + MultiProcessing対応版】 https://github.com/PINTO0309/MobileNet-SSD-RealSense.git

変更履歴

[2018/07/19] NCSDK v2.05.00.02対応 / OpenCV 3.4.2対応 / FPS View対応

動作イメージ

MobileNet-SSD + Neural Compute Stick + RaspberryPi3 / MultiStick(3本/Hard)

Youtube: https://youtu.be/sQnFbRSqIA8

Riders MultiStick

MobileNet-SSD + Neural Compute Stick(1 Stick) + RaspberryPi3 + USB Camera(640x480)
Youtube: https://youtu.be/_Cbt0gI8niQ
Goku

環境

・RaspberryPi 3 + Raspbian Stretch

・NCSDK v2.08.01 (NCSDK v1では動作しません v1バージョンはこちら)

・Intel Movidius Neural Compute Stick 1本

・OpenCV 3.4.2

・OpenGL

・numpy

・UVC対応のUSB-Webカメラ

環境構築

  1. SWAP領域の一時的な拡張
$ sudo nano /etc/dphys-swapfile
CONF_SWAPSIZE=2048

$ sudo /etc/init.d/dphys-swapfile restart;swapon -s
  1. パッケージのインストール
$ sudo apt-get update
$ sudo apt-get upgrade
$ sudo apt-get install python3-pip python3-numpy git cmake libqtgui4 libqt4-test
  1. NCSDKのインストール
$ cd ~
$ git clone https://github.com/movidius/ncsdk.git
$ cd ncsdk
$ make install
  1. OpenCVのインストール
$ wget https://github.com/PINTO0309/OpenCVonARMv7/raw/master/libopencv3_3.4.2-20180709.1_armhf.deb
$ sudo apt install -y ./libopencv3_3.4.2-20180709.1_armhf.deb
$ sudo ldconfig
  1. OpenGLのインストール
$ sudo apt-get install python-opengl
$ sudo -H pip3 install pyopengl
$ sudo -H pip3 install pyopengl_accelerate
$ sudo raspi-config
  1. 「7.Advanced Options」-「A7 GL Driver」-「G2 GL (Fake KMS)」の順に選択し、Raspberry Pi のOpenGL Driver を有効化

  2. 再起動

$ sudo reboot
  1. リソース一式のダウンロード
$ cd ~
$ git clone https://github.com/PINTO0309/MobileNet-SSD.git
  1. USB-WEBカメラ(UVC対応) と Neural Compute Stick をRaspberryPiのUSBポートへ接続(Neural Compute Stickをマルチで使用する場合は電圧が不足するためセルフパワーUSB-Hub必須)

  2. RaspberryPiとディスプレイをHDMIケーブルで接続

  3. MobileNet-SSDの実行

$ cd MobileNet-SSD
$ python3 MultiStickSSD.py
  1. SWAP領域の縮小
$ sudo nano /etc/dphys-swapfile
CONF_SWAPSIZE=100

$ sudo /etc/init.d/dphys-swapfile restart;swapon -s

独自学習データの生成手順

https://github.com/movidius/ncappzoo/tree/master/caffe/SSD_MobileNet
https://github.com/FreeApe/VGG-or-MobileNet-SSD
https://github.com/chuanqi305/MobileNet-SSD
https://github.com/avBuffer/MobilenetSSD_caffe
 

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].