All Projects → nature1995 → Face-Recognition-System

nature1995 / Face-Recognition-System

Licence: MIT license
Intelligent Facial Recognition with Django Restful IoT on Raspberry Pi

Programming Languages

python
139335 projects - #7 most used programming language
CSS
56736 projects
Makefile
30231 projects
shell
77523 projects
powershell
5483 projects
Roff
2310 projects
Batchfile
5799 projects

Projects that are alternatives of or similar to Face-Recognition-System

Facial-Recognition-Attendance-System
An attendance system which uses facial recognition to detect which people are present in any image.
Stars: ✭ 48 (+4.35%)
Mutual labels:  django-rest-framework, facial-recognition, face-recognition
PyRecognizer
"A neural network to rule them all, a neural network to find them, a neural network to bring them all and verify if is you !!" (Face recognition tool)
Stars: ✭ 28 (-39.13%)
Mutual labels:  facial-recognition, face-recognition
Contactless-Attendance-System
✨ A Contactless Attendance System where your face is identified for Attendance.
Stars: ✭ 20 (-56.52%)
Mutual labels:  facial-recognition, face-recognition
Ownphotos
Self hosted alternative to Google Photos
Stars: ✭ 2,587 (+5523.91%)
Mutual labels:  django-rest-framework, face-recognition
Facenet Pytorch
Pretrained Pytorch face detection (MTCNN) and facial recognition (InceptionResnet) models
Stars: ✭ 2,564 (+5473.91%)
Mutual labels:  facial-recognition, face-recognition
AIML-Human-Attributes-Detection-with-Facial-Feature-Extraction
This is a Human Attributes Detection program with facial features extraction. It detects facial coordinates using FaceNet model and uses MXNet facial attribute extraction model for extracting 40 types of facial attributes. This solution also detects Emotion, Age and Gender along with facial attributes.
Stars: ✭ 48 (+4.35%)
Mutual labels:  facial-recognition, face-recognition
Shappar
気軽に投票を【取れる】【見れる】【できる】アプリです。
Stars: ✭ 22 (-52.17%)
Mutual labels:  django-rest-framework
CS-663
Assignment Codes for CS663 Digital Image Processing
Stars: ✭ 15 (-67.39%)
Mutual labels:  face-recognition
django-logic
Django Logic - easy way to implement state-based business logic with pure functions
Stars: ✭ 44 (-4.35%)
Mutual labels:  django-rest-framework
tscharts
Django REST framework-based Digital Patient Registration and EMR backend
Stars: ✭ 14 (-69.57%)
Mutual labels:  django-rest-framework
django-rest-live
Subscribe to updates from Django REST Framework over Websockets.
Stars: ✭ 48 (+4.35%)
Mutual labels:  django-rest-framework
RealSenseID
Intel® RealSense™ ID SDK
Stars: ✭ 67 (+45.65%)
Mutual labels:  face-recognition
PyQuotes
PyQuotes is a Django-based web application and REST API. That will allow you to launch an online quotes service.
Stars: ✭ 23 (-50%)
Mutual labels:  django-rest-framework
facerec-bias-bfw
Source code and notebooks to reproduce experiments and benchmarks on Bias Faces in the Wild (BFW).
Stars: ✭ 40 (-13.04%)
Mutual labels:  face-recognition
drf-SimpleJWT-React
Template Django + DRF + SimpleJWT + React project
Stars: ✭ 80 (+73.91%)
Mutual labels:  django-rest-framework
face-swap
换脸程序
Stars: ✭ 32 (-30.43%)
Mutual labels:  face-recognition
Deep-Learning-with-GoogleColab
Deep Learning Applications (Darknet - YOLOv3, YOLOv4 | DeOldify - Image Colorization, Video Colorization | Face-Recognition) with Google Colaboratory - on the free Tesla K80/Tesla T4/Tesla P100 GPU - using Keras, Tensorflow and PyTorch.
Stars: ✭ 63 (+36.96%)
Mutual labels:  face-recognition
agent
Job tracker & performance platform
Stars: ✭ 26 (-43.48%)
Mutual labels:  django-rest-framework
shunyaface
Fast Face Recognition on the edge
Stars: ✭ 49 (+6.52%)
Mutual labels:  face-recognition
pigallery
PiGallery: AI-powered Self-hosted Secure Multi-user Image Gallery and Detailed Image analysis using Machine Learning, EXIF Parsing and Geo Tagging
Stars: ✭ 35 (-23.91%)
Mutual labels:  face-recognition

Intelligent Facial Recognition System

GitHub release Language python Language python Build Status License

This is a project of the facial recognition with Movidius on RaspberryPi 3B+ platform. It also uses Django and Django REST framework which providing the web platform. The project would like to build a safety and intelligent face recognition system in AI era.

If you appreciate the content 📖, support projects visibility, give 👍| | 👏

Compatibility

The code is tested using Tensorflow r1.7 and Movidius NCSDK2 under Debin 2018-06-27(Kernel version:4.14) with django 2.1.5 and Python 3.5 & 3.6.

File architecture

django_venv/  # django virtual env for RPI
face_recognition_model/  # Movidius NCS code     
iot_control/  # iot control code
ran-django-template/  # django platform using my own model
requirements.txt  # requirements for run the code

How to run it

  1. Install requirements
pip install -r requirements.txt
  1. Install Neural Compute Application Zoo

    Method attached below.

  2. Install rpi-mjpg-streamer

    Method attached below.

  3. Run ran-django-template

cd ran-django-template
python manage.py runserver 0.0.0.0:8000
  1. Run face_recognition_model
cd face_recognition_model
make run
  1. Run iot_control
cd iot_control
python iot_controller.py

Admin Account

python manage.py createsuperuser

username: ranxiaolang
email: YOUR EMAIL  
password: ranxiaolang  

Access the web page though this link: http://127.0.0.1:8000/admin .

Real Product Images

image image

Requirements

  • Logitech HD Webcam C270
  • Micro SD Card 32G
  • Raspberry Pi 3 B+
  • Intel Movidius Neural Compute Stick

The code requires Python 3.5 or Python 3.6, Tensorflow 1.7 or later, as well as the following python libraries:

  • Pillow
  • django
  • django-allauth 0.37.1
  • django-widget-tweaks 1.4.3
  • pip 18.0
  • qrcode 6.0
  • setuptools 40.4.3
  • djangorestframework
  • markdown
  • django-filter

Those modules can be installed using: pip3 install xxx or pip install xxx .

Follow How to run it

Neural Compute Application Zoo

This repository is a place for any interested developers to share their projects (code and Neural Network content) that make use of the Intel® Movidius™ Neural Compute Stick (Intel® Movidius™ NCS) and associated Intel® Movidius™ Neural Compute Software Development Kit.

You can use the following url(NC App Zoo) or git command to use the ncsdk2 branch of the NC App Zoo repo:

git clone -b ncsdk2 https://github.com/movidius/ncappzoo.git

Install Django and Django REST framework

pip3 -V

sudo pip3 install -U setuptools

sudo pip3 install -U django

sudo pip3 install -U djangorestframework

sudo pip3 install -U django-filter

sudo pip3 install -U markdown

sudo pip3 install -U requests

Install Adafruit_Python_DHT library

git clone https://github.com/adafruit/Adafruit_Python_DHT.git

cd Adafruit_Python_DHT

sudo python3 setup.py install

cd

Install Adafruit_Python_BMP library

git clone https://github.com/adafruit/Adafruit_Python_BMP.git

cd Adafruit_Python_BMP

sudo python3 setup.py install

cd

Install psutil (process and system utilities)

sudo pip3 install psutil

Install rpi-mjpg-streamer

Instructions and helper scripts for running mjpg-streamer on Raspberry Pi.

A. Setup mjpg-streamer

Enable Raspberry Pi Camera module from raspi-config

$ sudo raspi-config

Install necessary packages for mjpg-streamer

$ sudo apt-get update
$ sudo apt-get install build-essential libjpeg8-dev imagemagick libv4l-dev git cmake uvcdynctrl

Build mjpg-streamer

$ sudo ln -s /usr/include/linux/videodev2.h /usr/include/linux/videodev.h
$ git clone https://github.com/jacksonliam/mjpg-streamer
$ cd mjpg-streamer/mjpg-streamer-experimental
$ cmake -DCMAKE_INSTALL_PREFIX:PATH=.. .
$ make install

B. Run mjpg-streamer

1. Clone this repository

$ git clone https://github.com/meinside/rpi-mjpg-streamer.git

2-a. Run mjpg-streamer from the shell directly

# copy & edit run-mjpg-streamer.sh to your environment or needs
$ cp rpi-mjpg-streamer/run-mjpg-streamer.sh.sample somewhere/run-mjpg-streamer.sh
$ vi somewhere/run-mjpg-streamer.sh

# then run
$ somewhere/run-mjpg-streamer.sh

2-b. Or run mjpg-streamer as a service

systemd

# copy & edit systemd/mjpg-streamer.service file,
$ sudo cp rpi-mjpg-streamer/systemd/mjpg-streamer.service.sample /lib/systemd/system/mjpg-streamer.service
$ sudo vi /lib/systemd/system/mjpg-streamer.service

# then register as a service
$ sudo systemctl enable mjpg-streamer.service

# or remove it
$ sudo systemctl disable mjpg-streamer.service

# and start/stop it
$ sudo systemctl start mjpg-streamer.service
$ sudo systemctl stop mjpg-streamer.service

C. Connect

Connect through the web browser:

image

Most modern browsers(including mobile browsers like Safari and Chrome) will show the live stream immediately.

Notice

Virtualenv

Method 1

pip3 install virtualenv   

Copy django_venv and activate

source venv/bin/activate    

Method 2

pip install -r requirements.txt

sqlite3 数据库文件db.sqlite3 权限 666

chmod 666 db.sqlite3

django 所在文件夹 权限 775

chmod 777 xxx

Citation

Just can be used for non-business projects. If you use ran-django-template, please give me a star. Thanks!

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