All Projects → Pi-DeepLearning → Raspberrypi Facedetection Mtcnn Caffe With Motion

Pi-DeepLearning / Raspberrypi Facedetection Mtcnn Caffe With Motion

MTCNN with Motion Detection, on Raspberry Pi with Love

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Raspberrypi Facedetection Mtcnn Caffe With Motion

Mtcnn
face detection and alignment with mtcnn
Stars: ✭ 66 (-67.65%)
Mutual labels:  opencv, caffe, face, mtcnn, detection
Php Opencv Examples
Tutorial for computer vision and machine learning in PHP 7/8 by opencv (installation + examples + documentation)
Stars: ✭ 333 (+63.24%)
Mutual labels:  opencv, caffe, face, detection
Mtcnn
MTCNN face detection implementation for TensorFlow, as a PIP package.
Stars: ✭ 1,689 (+727.94%)
Mutual labels:  jupyter-notebook, face, mtcnn, detection
Autocrop
😌 Automatically detects and crops faces from batches of pictures.
Stars: ✭ 320 (+56.86%)
Mutual labels:  jupyter-notebook, opencv, face
Lidc nodule detection
lidc nodule detection with CNN and LSTM network
Stars: ✭ 187 (-8.33%)
Mutual labels:  jupyter-notebook, cnn, detection
Facedetection
C++ project to implement MTCNN, a perfect face detect algorithm, on different DL frameworks. The most popular frameworks: caffe/mxnet/tensorflow, are all suppported now
Stars: ✭ 255 (+25%)
Mutual labels:  cnn, caffe, mtcnn
Deeplearning
深度学习入门教程, 优秀文章, Deep Learning Tutorial
Stars: ✭ 6,783 (+3225%)
Mutual labels:  jupyter-notebook, cnn, machinelearning
Face Track Detect Extract
💎 Detect , track and extract the optimal face in multi-target faces (exclude side face and select the optimal face).
Stars: ✭ 434 (+112.75%)
Mutual labels:  face, mtcnn, detection
Php Opencv
php wrapper for opencv
Stars: ✭ 194 (-4.9%)
Mutual labels:  opencv, caffe, face
Jacinto Ai Devkit
Training & Quantization of embedded friendly Deep Learning / Machine Learning / Computer Vision models
Stars: ✭ 49 (-75.98%)
Mutual labels:  cnn, caffe, detection
Facedetector
A re-implementation of mtcnn. Joint training, tutorial and deployment together.
Stars: ✭ 99 (-51.47%)
Mutual labels:  jupyter-notebook, cnn, mtcnn
Openpose
OpenPose: Real-time multi-person keypoint detection library for body, face, hands, and foot estimation
Stars: ✭ 22,892 (+11121.57%)
Mutual labels:  opencv, caffe, face
Picanet
Stars: ✭ 35 (-82.84%)
Mutual labels:  jupyter-notebook, caffe, detection
Keras Oneclassanomalydetection
[5 FPS - 150 FPS] Learning Deep Features for One-Class Classification (AnomalyDetection). Corresponds RaspberryPi3. Convert to Tensorflow, ONNX, Caffe, PyTorch. Implementation by Python + OpenVINO/Tensorflow Lite.
Stars: ✭ 102 (-50%)
Mutual labels:  jupyter-notebook, cnn, caffe
Facemaskdetection
开源人脸口罩检测模型和数据 Detect faces and determine whether people are wearing mask.
Stars: ✭ 1,677 (+722.06%)
Mutual labels:  jupyter-notebook, caffe, detection
Amass
Data preparation and loader for AMASS
Stars: ✭ 180 (-11.76%)
Mutual labels:  jupyter-notebook, motion
Opticalflow visualization
Python optical flow visualization following Baker et al. (ICCV 2007) as used by the MPI-Sintel challenge
Stars: ✭ 183 (-10.29%)
Mutual labels:  opencv, motion
Cnn Re Tf
Convolutional Neural Network for Multi-label Multi-instance Relation Extraction in Tensorflow
Stars: ✭ 190 (-6.86%)
Mutual labels:  jupyter-notebook, cnn
Hidden Two Stream
Caffe implementation for "Hidden Two-Stream Convolutional Networks for Action Recognition"
Stars: ✭ 179 (-12.25%)
Mutual labels:  cnn, caffe
Bet On Sibyl
Machine Learning Model for Sport Predictions (Football, Basketball, Baseball, Hockey, Soccer & Tennis)
Stars: ✭ 190 (-6.86%)
Mutual labels:  jupyter-notebook, machinelearning

MTCNN with Motion Detection On Raspberry Pi 3

The Python version of MTCNN running on Raspberry Pi 3 with Love.
Also a motion detection trigger will help to improve the quality.

Requirement

Installation of dependencies:

  sudo apt-get update && sudo apt-get upgrade
  sudo apt-get install -y gfortran cython
  sudo apt-get install -y libprotobuf-dev libleveldb-dev libsnappy-dev libopencv-dev libhdf5-serial-dev protobuf-compiler git
  sudo apt-get install --no-install-recommends libboost-all-dev
  sudo apt-get install -y python-dev libgflags-dev libgoogle-glog-dev liblmdb-dev libatlas-base-dev python-skimage
  sudo pip install pyzmq jsonschema pillow numpy scipy ipython jupyter pyyaml
  1. Raspbian
  2. Caffe && PyCaffe: https://github.com/BVLC/caffe, My Blog

Install caffe:

  git clone https://github.com/BVLC/caffe
  cd caffe
  cp Makefile.config.example Makefile.config
  sudo nano Makefile.config

Modify next lines, instead of these

  #CPU_ONLY := 1
  /usr/lib/python2.7/dist-packages/numpy/core/include
  INCLUDE_DIRS := $(PYTHON_INCLUDE) /usr/local/include
  LIBRARY_DIRS := $(PYTHON_LIB) /usr/local/lib /usr/lib

with:

  CPU_ONLY := 1
  /usr/local/lib/python2.7/dist-packages/numpy/core/include
  INCLUDE_DIRS := $(PYTHON_INCLUDE) /usr/local/include /usr/include/hdf5/serial/
  LIBRARY_DIRS := $(PYTHON_LIB) /usr/local/lib /usr/lib /usr/lib/arm-linux-gnueabihf/hdf5/serial/
  make all
  make test
  make runtest
  make pycaffe
  
  ./scripts/download_model_binary.py models/bvlc_googlenet
  sudo nano ~/.bashrc
  export PYTHONPATH=/home/pi/deepdream/caffe/python:$PYTHONPATH // Add at the end of file

Protobuf installation:

  cd ~/caffe
  cd python
  python setup.py build
  python setup.py google_test
  sudo python setup.py install
  1. OpenCV && CV2: My Blog
    If you have good luck, sudo apt-get install opencv python-opencv will have it done. or search installation guide from google.

  2. WebCam(D-Link DCS-932L)
    I have it on hand, so have to write a IPCamera class for it.
    You can simply use a Camera Model of PI (OV5647), it need Camera White Balance and parameter finetune. (PR Welcome)

 if you use PiNor Cam module or other nonUSB cam, you may need do following changes:

  sudo modprobe bcm2835-v4l2
code:
  ret, frame = ipCam.read()
  _, cnts, _ = cv2.findContours(thresh.copy(), cv2.RETR_EXTERNAL,cv2.CHAIN_APPROX_SIMPLE)

Tell mtcnn where pycaffe is

Edit mtcnn/_init_paths.py, change caffe_path to your own.

Run

Demo.ipynb

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