All Projects → AhmetHamzaEmra → Intelegent_lock

AhmetHamzaEmra / Intelegent_lock

Licence: mit
lock mechanism with face recognition and liveness detection

Programming Languages

python
139335 projects - #7 most used programming language
python3
1442 projects

Projects that are alternatives of or similar to Intelegent lock

Sign Language
Sign Language Recognition for Deaf People
Stars: ✭ 65 (-51.49%)
Mutual labels:  opencv, convolutional-neural-networks, keras-tensorflow
Pneumonia Detection From Chest X Ray Images With Deep Learning
Detecting Pneumonia in Chest X-ray Images using Convolutional Neural Network and Pretrained Models
Stars: ✭ 64 (-52.24%)
Mutual labels:  convolutional-neural-networks, keras-tensorflow
Boss Detector
Change monitor screen when your boss is coming towards you!
Stars: ✭ 63 (-52.99%)
Mutual labels:  opencv, face-recognition
Low Face Mode
Dim and brighten the screen based on whether or not you are present! OpenCV detects face with webcam and dims screen if not present.
Stars: ✭ 75 (-44.03%)
Mutual labels:  opencv, face-recognition
Smart Surveillance System Using Raspberry Pi
This is my Third Year Project for face recognition using OpenCV
Stars: ✭ 41 (-69.4%)
Mutual labels:  opencv, face-recognition
Opencv Face Filters
Snapchat-like Face Filters in OpenCV
Stars: ✭ 51 (-61.94%)
Mutual labels:  opencv, face-recognition
Sru Deeplearning Workshop
دوره 12 ساعته یادگیری عمیق با چارچوب Keras
Stars: ✭ 66 (-50.75%)
Mutual labels:  convolutional-neural-networks, keras-tensorflow
Human Detection And Tracking
Human-detection-and-Tracking
Stars: ✭ 753 (+461.94%)
Mutual labels:  opencv, face-recognition
Har Keras Cnn
Human Activity Recognition (HAR) with 1D Convolutional Neural Network in Python and Keras
Stars: ✭ 97 (-27.61%)
Mutual labels:  convolutional-neural-networks, keras-tensorflow
Awslambdaface
Perform deep neural network based face detection and recognition in the cloud (via AWS lambda) with zero model configuration or tuning.
Stars: ✭ 98 (-26.87%)
Mutual labels:  convolutional-neural-networks, face-recognition
Awesome Face Detection
Compare with various detectors - s3fd, dlib, ocv, ocv-dnn, mtcnn-pytorch, face_recognition
Stars: ✭ 106 (-20.9%)
Mutual labels:  opencv, face-recognition
Facerecog
Face Recognition using Neural Networks implemented using Keras
Stars: ✭ 39 (-70.9%)
Mutual labels:  opencv, face-recognition
Facerank
FaceRank - Rank Face by CNN Model based on TensorFlow (add keras version). FaceRank-人脸打分基于 TensorFlow (新增 Keras 版本) 的 CNN 模型(QQ群:167122861)。技术支持:http://tensorflow123.com
Stars: ✭ 841 (+527.61%)
Mutual labels:  convolutional-neural-networks, face-recognition
Ds and ml projects
Data Science & Machine Learning projects and tutorials in python from beginner to advanced level.
Stars: ✭ 56 (-58.21%)
Mutual labels:  opencv, keras-tensorflow
Facerec Lock
Face recognition to control servo lock using Raspberry Pi and OpenCV
Stars: ✭ 7 (-94.78%)
Mutual labels:  opencv, face-recognition
Robovision
AI and machine leaning-based computer vision for a robot
Stars: ✭ 126 (-5.97%)
Mutual labels:  opencv, face-recognition
Tensorflow 101
TensorFlow 101: Introduction to Deep Learning for Python Within TensorFlow
Stars: ✭ 642 (+379.1%)
Mutual labels:  convolutional-neural-networks, face-recognition
Head Pose Estimation
Head pose estimation by TensorFlow and OpenCV
Stars: ✭ 698 (+420.9%)
Mutual labels:  opencv, convolutional-neural-networks
Automatic Image Captioning
Generating Captions for images using Deep Learning
Stars: ✭ 84 (-37.31%)
Mutual labels:  convolutional-neural-networks, keras-tensorflow
Deepway
This project is an aid to the blind. Till date there has been no technological advancement in the way the blind navigate. So I have used deep learning particularly convolutional neural networks so that they can navigate through the streets.
Stars: ✭ 118 (-11.94%)
Mutual labels:  opencv, convolutional-neural-networks

Intelegent_Lock_2.0

As Andrej Karpathy said, Software2.0 is creating revalatrion in the field of software engineering. Now AI is taking most of the heavy lifting in complexity and giving incredible results in the industry. One of this application is locks with face recognition. Although it sounds simple to combine these two technologies, it is more complex than most other applications.

First of all, we have a problem with a dataset. Which is it is very hard to collect more than a couple of pictures of every person that we need to give access. If we can get a couple hundred pictures per person, One can easily train a simple model to do classification. But let us say we have 1000 employees that we want to give access. we need to get ~1.000.000 employee pictures and couple hundred pictures from other people in the World so the model can know if unknown people to lock to the door. On top of this, if we hire anybody else, We would need to train again. Screw that, we need another method. So we need a method that we can just use one picture per person to classify all of them and doesn't need to train when someone changes. That method is Landmark technique. Let's mark specific points in the face. Then we can use this transformation to classify people. Since everybody will have a different distance between two eyes or eyes and notice (except the twins!) we can tread this new measurement as embedding and if they are too close to each other in the multidimensional space we can they are the same person, vice versa. This is kind of an oversimplification, If you want to read more please check this blog post from Adam Geitgey.

Okay, since we solved the face recognition, we have another problem. What happens if someone holds a picture of me to get in. or How can we make sure they are live people and not someone with a mask. So we just need to classify if the input frames contain live people. For this stage, we can use a 3D convolutional network in our model. Why 3D you asked? Cause a frame does not contain some very useful features like eye movement, winkings etc. RNN also would work great but that part on you if you want to try out. (Please don't forget to send it to me 😄)

Now, these two big problems should be solved. Please note that these two methods are not the best but they get the job done, but just keep in mind that I wouldn't use this project on my houses entrance 😅 Just use it in the meeting room or something 😄

TLDR:

  • AI & ML good
  • Landmark model for face recognition is crucial
  • Liveness is also crucial
  • Not the safest lock tho (at least for now)

What does it do?

The structure of the program is;

  1. takes image and checks with pretrained neular network if what it sees, alive human or printout, img from phone etc.
  2. if it is more than %95 confidente that it is an alive thing than it checks it if anyone from known people who have access
  3. if it is someone the system knows than unlock the door :D

How to run:

Please install this modules:

pip3 install keras, face_recognition, opencv-python
python3 main_code.py

References

!WARNING!

Old version is store in v1 directory. It works faster but you wont get the same result. FYI!

Important Not:

Due to containging many of personal pictures of my friends, I cannot share the dataset!

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