SlideShare a Scribd company logo
Smart Face Recognition
Analysis Report​- ​Optimization, Response Time & Efficiency
Introduction: Face Recognition using opencv python to detect face & recognize all
facial features of particular person can be achieved with more than 90% efficiency in
opencv-3.1.0. The results depends on trained model & the database of grayscale
images supplied.
Purpose of Analysis: The objective is to find the best face recognition model/algorithm
for less memory utilization & low processing from servers possible i.e, millions of
images can be processed much faster by ​segmentation, ​multi-threading or parallel
processing. Also, explore & test best computational models like knn(k Nearest
Neighbour), cnn(Computational Neural Network), dnn(Deep Neural Network).
Hypothesis: ​From the official documentation of Computer Vision​[1]​, the currently
available algorithms for opencv2 & later versions are:
● Eigenfaces (see​ ​createEigenFaceRecognizer()​)
● Fisherfaces (see​ ​createFisherFaceRecognizer()​)
● Local Binary Patterns Histograms (see​ ​createLBPHFaceRecognizer()​)
We choose LBPHFaceRecognizer() for our project as this algorithm can recognize at
different angles, color modes, ambiance(lights) for all trained datasets. The basic idea
of Local Binary Patterns is to summarize the local structure in an image by comparing
1 Smart Face Recognition System
each pixel with its neighborhood. Take a pixel as center and threshold its neighbors
against. If the intensity of the center pixel is greater-equal its neighbor, then denote it
with 1 and 0 if not. You’ll end up with a binary number for each pixel, just like 11001111.
So with 8 surrounding pixels you’ll end up with 2^8 possible combinations, called ​Local
Binary Patterns or sometimes referred to as ​LBP codes​. The first LBP operator
described in literature actually used a fixed 3 x 3 neighborhood just like this:
By definition the LBP operator is robust against monotonic gray scale transformations.
We can easily verify this by looking at the LBP image of an artificially modified image
(so you see what an LBP image looks like!):
Watch this video for better idea about feature extraction: ​https://vimeo.com/12774628
Problem Statement: ​Required a face recognition model that can capture image from
wireless camera and if the user’s face exists in database then allow him/her to enter
else display option to train than face & put it to existing database by the permission of
admin else trigger an alarm for unauthorized entry. This whole thing must be further
2 Smart Face Recognition System
implemented to android application & the face recognition model can be processed via
backend servers. Further, optimize the whole process and increase the response time
Methodology: ​One possible approach/solution to the above problem can be as follows.
● Create database for facerec with possible structure as table
facerec{id,name,dob,time}
● Get image from camera over wireless network(​IP & PORT​) only if motion of
human is detected then capture face.
● Get image sent over network then process it:
○ Get ID from facerec_database & if ID of image received is same then
process image for that ID dataset available from trained model
○ Get the prediction & confidence of result.
● Start the server and return the results in ​json​ format (ID, result).
○ ID: image ID from the database
○ result: true/false
● Get the json result in android application & display the name corresponding to
that image ID from ​facerec​ database.
Flow Chart: ​All possible flow charts of face recognition models
3 Smart Face Recognition System
Deploy in cloud-servers:
1. Using Google Cloud: VM instances (​https://console.cloud.google.com​)
VM Instance- Ubuntu 16.4 4Gb RAM, 375 GB Storage, 3 Years Usage
Cost- ​45.60$ per month
Benefits: All kinds of servers can be installed LAMP, Apache Tomcat, WAMP etc.
4 Smart Face Recognition System
Test Results: ​success when passed images for each trained model in the
facerec_app. Using Mozilla Browser for ssh into VM instance.
2. Using Python Hosting: Heroku (​https://www.heroku.com/pricing​)
Cost upto: ​500$ per month
5 Smart Face Recognition System
Deploy in Raspberry Pi 3:
● Hardware Details: ​1Gb RAM, 1.2GHz ARM Cortex Processor, 16Gb Storage,
64-bit Quad Core Processor( increases efficiency by 33%)
● Cost: Rs.4499 (​RPi​) + Rs. 2349 (​Pi Cam​) = Rs. 6848/-
● Opencv build using cmake requires: ​1h 12m​ to compile
● Problems: 24x7 Running Mode, Heating of Chip, May hang
● Requires testing for 24x7.
● Benefits: Small & portable, All modules built-in same chip.
Problems with other ARM Processor: Required interfacing of all modules like WiFi
module, Memory etc again embedded person required.
6 Smart Face Recognition System
Multiple Camera Tests: ​Connected USBCam & WebCam
Using opencv multiple streaming is achieved
IP Camera: ​Video stream can be captured from multiple IP Cameras over WiFi network
& further can be converted into frames to numpy array for processing.
After mapping the HTTP video stream of IP Camera to video driver ​/dev/video*
videoCapture(1) will work for that mapped device ID & all opencv processing is possible
with the same.
7 Smart Face Recognition System
Problems/Parameters for IP Camera:
● Bandwidth required to process multiple cameras: Video CODEC (Compression),
Streaming Mode, Frame Rate, Resolution, Video Quality.
● Network topology
● Resource calculation for servers to process & capture streams of ip camera from
http​ to​ /dev/video*
Using IP Camera Simulation Software to get above parameters for 100+ cameras.
IP Video System Design Tools by Vivotek: To monitor the network & check for all
parameters. ​http://www.vivotek.com/ip-video-system-design-tool/#downloads
8 Smart Face Recognition System
100 Viviotek cc8130 cameras 30 days storage required 1,01,868.6 GB &
Bandwidth= 314.11Mbit/s
Using this tool we can estimate everything & plan a efficient systems for cctv monitoring
& processing wireless through servers.
9 Smart Face Recognition System
WebCam Streaming: using opencv
https://github.com/benhowell/examples/tree/master/WebcamStreamingOpenCV
Face Detection using IP Camera connected to Netgear Router is tested and found
some frame lags and error detection. Now, training of data sets should be done with
same situation, lightning conditions & camera.
Python Client Server Connection: ​To deploy in My Attendance App
● Create php web service to upload image and store to database.
● Get images in python.
10 Smart Face Recognition System
Results:
● Faces can be trained in real time into datasets using LBPH model with response
time of 0.03 ~ 0.05 secs from Ubuntu 16.04, 4GB RAM intel i5 Processor.
● Recognition of faces is done from wireless camera using web server remotely
with success rate of 95% approx.
● Success on Cloud Servers (Google VM Instance: Ubuntu 16.4, 4GB RAM, 10GB
Storage)
Future Scope:
● Object Recognition: It can be used to check terrorist activities like human with
weapons, knife, face-masks at ATM etc.
● Camera Surveillance in traffic, hotels, institutions & companies etc.
● All those big companies like Facebook, Google, Microsoft are now relying on
their own algorithms & using Tensorflow and Deep Neural networks in A.I to
predict their datasets and for the same openface is utilized.
● Also, with the use of Google Cloud for Vision API object recognition is very easy
in tensorflow & python. (​https://cloud.google.com/vision/​)
● Emotion Detection like mood of person happy, sad, crying faces.
References:
1. http://docs.opencv.org/2.4/modules/contrib/doc/facerec/facerec_tutorial.ht
ml#face-recognition-with-opencv
2. http://www.pyimagesearch.com/2016/10/24/ubuntu-16-04-how-to-install-opencv/
3. https://medium.com/@ageitgey/machine-learning-is-fun-part-4-modern-face-reco
gnition-with-deep-learning-c3cffc121d78
4. http://cmusatyalab.github.io/openface/
5. https://multi-link.net/much-bandwidth-need-ip-video-surveillance-application/
GitHub: ​https://github.com/vsltech/smartfacerecognition
Project Details:
http://www.vslcreations.com/2017/12/smart-face-recognition-system-using.html
11 Smart Face Recognition System

More Related Content

What's hot

JPEG Image Compression
JPEG Image CompressionJPEG Image Compression
JPEG Image Compression
Aishwarya K. M.
 
Atm using fingerprint
Atm using fingerprintAtm using fingerprint
Atm using fingerprint
AnIsh Kumar
 
Raster scan and random scan
Raster scan and random scanRaster scan and random scan
Raster scan and random scan
KABILESH RAMAR
 
Emotion recognition and drowsiness detection using python.ppt
Emotion recognition and drowsiness detection using python.pptEmotion recognition and drowsiness detection using python.ppt
Emotion recognition and drowsiness detection using python.ppt
Gopi Naidu
 
Diabetes prediction using machine learning
Diabetes prediction using machine learningDiabetes prediction using machine learning
Diabetes prediction using machine learning
dataalcott
 
Atm wtih an eye FROM ANAND REDDY
Atm wtih an eye  FROM ANAND REDDYAtm wtih an eye  FROM ANAND REDDY
Atm wtih an eye FROM ANAND REDDY
anand reddy
 
image compression ppt
image compression pptimage compression ppt
image compression ppt
Shivangi Saxena
 
SRS FOR CHAT APPLICATION
SRS FOR CHAT APPLICATIONSRS FOR CHAT APPLICATION
SRS FOR CHAT APPLICATION
Atul Kushwaha
 
JPEG
JPEGJPEG
seminar on invisible eye
seminar on invisible eyeseminar on invisible eye
seminar on invisible eye
Vashishth Narayan Kumar
 
HEART DISEASE PREDICTION USING MACHINE LEARNING AND DEEP LEARNING
HEART DISEASE PREDICTION USING MACHINE LEARNING AND DEEP LEARNINGHEART DISEASE PREDICTION USING MACHINE LEARNING AND DEEP LEARNING
HEART DISEASE PREDICTION USING MACHINE LEARNING AND DEEP LEARNING
IJDKP
 
CREDIT CARD FRAUD DETECTION
CREDIT CARD FRAUD DETECTION CREDIT CARD FRAUD DETECTION
CREDIT CARD FRAUD DETECTION
K Srinivas Rao
 
Facial powerpoint
Facial powerpointFacial powerpoint
Facial powerpoint
12202843
 
Face recognition attendance system
Face recognition attendance systemFace recognition attendance system
Face recognition attendance system
mohanaprasad_v
 
Transaction TCP
Transaction TCPTransaction TCP
Transaction TCP
amardeepsingh1902
 
Machine learning in image processing
Machine learning in image processingMachine learning in image processing
Machine learning in image processing
Data Science Thailand
 
Halftoning in Computer Graphics
Halftoning  in Computer GraphicsHalftoning  in Computer Graphics
Halftoning in Computer Graphics
University of Potsdam
 
Diabetic Retinopathy.pptx
Diabetic Retinopathy.pptxDiabetic Retinopathy.pptx
Diabetic Retinopathy.pptx
NGOKUL3
 
Homomorphic filtering
Homomorphic filteringHomomorphic filtering
Homomorphic filtering
Gautam Saxena
 
Money pad ppt
Money pad pptMoney pad ppt
Money pad ppt
kondalarao7
 

What's hot (20)

JPEG Image Compression
JPEG Image CompressionJPEG Image Compression
JPEG Image Compression
 
Atm using fingerprint
Atm using fingerprintAtm using fingerprint
Atm using fingerprint
 
Raster scan and random scan
Raster scan and random scanRaster scan and random scan
Raster scan and random scan
 
Emotion recognition and drowsiness detection using python.ppt
Emotion recognition and drowsiness detection using python.pptEmotion recognition and drowsiness detection using python.ppt
Emotion recognition and drowsiness detection using python.ppt
 
Diabetes prediction using machine learning
Diabetes prediction using machine learningDiabetes prediction using machine learning
Diabetes prediction using machine learning
 
Atm wtih an eye FROM ANAND REDDY
Atm wtih an eye  FROM ANAND REDDYAtm wtih an eye  FROM ANAND REDDY
Atm wtih an eye FROM ANAND REDDY
 
image compression ppt
image compression pptimage compression ppt
image compression ppt
 
SRS FOR CHAT APPLICATION
SRS FOR CHAT APPLICATIONSRS FOR CHAT APPLICATION
SRS FOR CHAT APPLICATION
 
JPEG
JPEGJPEG
JPEG
 
seminar on invisible eye
seminar on invisible eyeseminar on invisible eye
seminar on invisible eye
 
HEART DISEASE PREDICTION USING MACHINE LEARNING AND DEEP LEARNING
HEART DISEASE PREDICTION USING MACHINE LEARNING AND DEEP LEARNINGHEART DISEASE PREDICTION USING MACHINE LEARNING AND DEEP LEARNING
HEART DISEASE PREDICTION USING MACHINE LEARNING AND DEEP LEARNING
 
CREDIT CARD FRAUD DETECTION
CREDIT CARD FRAUD DETECTION CREDIT CARD FRAUD DETECTION
CREDIT CARD FRAUD DETECTION
 
Facial powerpoint
Facial powerpointFacial powerpoint
Facial powerpoint
 
Face recognition attendance system
Face recognition attendance systemFace recognition attendance system
Face recognition attendance system
 
Transaction TCP
Transaction TCPTransaction TCP
Transaction TCP
 
Machine learning in image processing
Machine learning in image processingMachine learning in image processing
Machine learning in image processing
 
Halftoning in Computer Graphics
Halftoning  in Computer GraphicsHalftoning  in Computer Graphics
Halftoning in Computer Graphics
 
Diabetic Retinopathy.pptx
Diabetic Retinopathy.pptxDiabetic Retinopathy.pptx
Diabetic Retinopathy.pptx
 
Homomorphic filtering
Homomorphic filteringHomomorphic filtering
Homomorphic filtering
 
Money pad ppt
Money pad pptMoney pad ppt
Money pad ppt
 

Similar to Smart Face Recognition System Analysis

Automatic License Plate Recognition using OpenCV
Automatic License Plate Recognition using OpenCVAutomatic License Plate Recognition using OpenCV
Automatic License Plate Recognition using OpenCV
Editor IJCATR
 
Automatic License Plate Recognition using OpenCV
Automatic License Plate Recognition using OpenCV Automatic License Plate Recognition using OpenCV
Automatic License Plate Recognition using OpenCV
Editor IJCATR
 
Implementation of embedded arm9 platform using qt and open cv for human upper...
Implementation of embedded arm9 platform using qt and open cv for human upper...Implementation of embedded arm9 platform using qt and open cv for human upper...
Implementation of embedded arm9 platform using qt and open cv for human upper...
Krunal Patel
 
IRJET- Smart Surveillance Cam using Face Recongition Alogrithm
IRJET-  	  Smart Surveillance Cam using Face Recongition AlogrithmIRJET-  	  Smart Surveillance Cam using Face Recongition Alogrithm
IRJET- Smart Surveillance Cam using Face Recongition Alogrithm
IRJET Journal
 
Conceptual Framework for Anthropomorphic Simulation of Human Face for Interac...
Conceptual Framework for Anthropomorphic Simulation of Human Face for Interac...Conceptual Framework for Anthropomorphic Simulation of Human Face for Interac...
Conceptual Framework for Anthropomorphic Simulation of Human Face for Interac...
IRJESJOURNAL
 
Vision based system for monitoring the loss of attention in automotive driver
Vision based system for monitoring the loss of attention in automotive driverVision based system for monitoring the loss of attention in automotive driver
Vision based system for monitoring the loss of attention in automotive driver
Vinay Diddi
 
Ijetr011814
Ijetr011814Ijetr011814
Ijetr011814
ER Publication.org
 
Computer-Vision_Integrating-Technology_MOB_17.06.16
Computer-Vision_Integrating-Technology_MOB_17.06.16Computer-Vision_Integrating-Technology_MOB_17.06.16
Computer-Vision_Integrating-Technology_MOB_17.06.16
Schuyler Kennedy
 
Proposal -co_win_india_valardigital-converted
Proposal  -co_win_india_valardigital-convertedProposal  -co_win_india_valardigital-converted
Proposal -co_win_india_valardigital-converted
UpendraSharma53
 
Python Project.pptx
Python Project.pptxPython Project.pptx
Python Project.pptx
TimePass720676
 
Android Demonstration Solution (ADS)
Android Demonstration Solution (ADS) Android Demonstration Solution (ADS)
Android Demonstration Solution (ADS)
Amila Gamanayake
 
IRJET- Implementation of Gender Detection with Notice Board using Raspberry Pi
IRJET- Implementation of Gender Detection with Notice Board using Raspberry PiIRJET- Implementation of Gender Detection with Notice Board using Raspberry Pi
IRJET- Implementation of Gender Detection with Notice Board using Raspberry Pi
IRJET Journal
 
Computer Vision Technology and Expertise
Computer Vision Technology and ExpertiseComputer Vision Technology and Expertise
Computer Vision Technology and Expertise
Rhonda Software
 
Final Report on Optical Character Recognition
Final Report on Optical Character Recognition Final Report on Optical Character Recognition
Final Report on Optical Character Recognition
Vidyut Singhania
 
IRJET- Face Detection based on Image Processing using Raspberry Pi 4
IRJET-  	  Face Detection based on Image Processing using Raspberry Pi 4IRJET-  	  Face Detection based on Image Processing using Raspberry Pi 4
IRJET- Face Detection based on Image Processing using Raspberry Pi 4
IRJET Journal
 
JIT Spraying Never Dies - Bypass CFG By Leveraging WARP Shader JIT Spraying.pdf
JIT Spraying Never Dies - Bypass CFG By Leveraging WARP Shader JIT Spraying.pdfJIT Spraying Never Dies - Bypass CFG By Leveraging WARP Shader JIT Spraying.pdf
JIT Spraying Never Dies - Bypass CFG By Leveraging WARP Shader JIT Spraying.pdf
SamiraKids
 
201001162_report
201001162_report201001162_report
201001162_report
Shirish Jadav
 
Cloud Computing
Cloud ComputingCloud Computing
Cloud Computing
Goa App
 
Bandit framework for systematic learning in wireless video based face recogni...
Bandit framework for systematic learning in wireless video based face recogni...Bandit framework for systematic learning in wireless video based face recogni...
Bandit framework for systematic learning in wireless video based face recogni...
ieeepondy
 
Video processing on dsp
Video processing on dspVideo processing on dsp
Video processing on dsp
Nirma University
 

Similar to Smart Face Recognition System Analysis (20)

Automatic License Plate Recognition using OpenCV
Automatic License Plate Recognition using OpenCVAutomatic License Plate Recognition using OpenCV
Automatic License Plate Recognition using OpenCV
 
Automatic License Plate Recognition using OpenCV
Automatic License Plate Recognition using OpenCV Automatic License Plate Recognition using OpenCV
Automatic License Plate Recognition using OpenCV
 
Implementation of embedded arm9 platform using qt and open cv for human upper...
Implementation of embedded arm9 platform using qt and open cv for human upper...Implementation of embedded arm9 platform using qt and open cv for human upper...
Implementation of embedded arm9 platform using qt and open cv for human upper...
 
IRJET- Smart Surveillance Cam using Face Recongition Alogrithm
IRJET-  	  Smart Surveillance Cam using Face Recongition AlogrithmIRJET-  	  Smart Surveillance Cam using Face Recongition Alogrithm
IRJET- Smart Surveillance Cam using Face Recongition Alogrithm
 
Conceptual Framework for Anthropomorphic Simulation of Human Face for Interac...
Conceptual Framework for Anthropomorphic Simulation of Human Face for Interac...Conceptual Framework for Anthropomorphic Simulation of Human Face for Interac...
Conceptual Framework for Anthropomorphic Simulation of Human Face for Interac...
 
Vision based system for monitoring the loss of attention in automotive driver
Vision based system for monitoring the loss of attention in automotive driverVision based system for monitoring the loss of attention in automotive driver
Vision based system for monitoring the loss of attention in automotive driver
 
Ijetr011814
Ijetr011814Ijetr011814
Ijetr011814
 
Computer-Vision_Integrating-Technology_MOB_17.06.16
Computer-Vision_Integrating-Technology_MOB_17.06.16Computer-Vision_Integrating-Technology_MOB_17.06.16
Computer-Vision_Integrating-Technology_MOB_17.06.16
 
Proposal -co_win_india_valardigital-converted
Proposal  -co_win_india_valardigital-convertedProposal  -co_win_india_valardigital-converted
Proposal -co_win_india_valardigital-converted
 
Python Project.pptx
Python Project.pptxPython Project.pptx
Python Project.pptx
 
Android Demonstration Solution (ADS)
Android Demonstration Solution (ADS) Android Demonstration Solution (ADS)
Android Demonstration Solution (ADS)
 
IRJET- Implementation of Gender Detection with Notice Board using Raspberry Pi
IRJET- Implementation of Gender Detection with Notice Board using Raspberry PiIRJET- Implementation of Gender Detection with Notice Board using Raspberry Pi
IRJET- Implementation of Gender Detection with Notice Board using Raspberry Pi
 
Computer Vision Technology and Expertise
Computer Vision Technology and ExpertiseComputer Vision Technology and Expertise
Computer Vision Technology and Expertise
 
Final Report on Optical Character Recognition
Final Report on Optical Character Recognition Final Report on Optical Character Recognition
Final Report on Optical Character Recognition
 
IRJET- Face Detection based on Image Processing using Raspberry Pi 4
IRJET-  	  Face Detection based on Image Processing using Raspberry Pi 4IRJET-  	  Face Detection based on Image Processing using Raspberry Pi 4
IRJET- Face Detection based on Image Processing using Raspberry Pi 4
 
JIT Spraying Never Dies - Bypass CFG By Leveraging WARP Shader JIT Spraying.pdf
JIT Spraying Never Dies - Bypass CFG By Leveraging WARP Shader JIT Spraying.pdfJIT Spraying Never Dies - Bypass CFG By Leveraging WARP Shader JIT Spraying.pdf
JIT Spraying Never Dies - Bypass CFG By Leveraging WARP Shader JIT Spraying.pdf
 
201001162_report
201001162_report201001162_report
201001162_report
 
Cloud Computing
Cloud ComputingCloud Computing
Cloud Computing
 
Bandit framework for systematic learning in wireless video based face recogni...
Bandit framework for systematic learning in wireless video based face recogni...Bandit framework for systematic learning in wireless video based face recogni...
Bandit framework for systematic learning in wireless video based face recogni...
 
Video processing on dsp
Video processing on dspVideo processing on dsp
Video processing on dsp
 

More from Vishal Aditya

Securing Firmware Updates [FOTA/OTA DFU]
Securing Firmware Updates [FOTA/OTA DFU]Securing Firmware Updates [FOTA/OTA DFU]
Securing Firmware Updates [FOTA/OTA DFU]
Vishal Aditya
 
Making India hub of Smartphone Manufacturing
Making India hub of Smartphone ManufacturingMaking India hub of Smartphone Manufacturing
Making India hub of Smartphone Manufacturing
Vishal Aditya
 
Brain Game Simulator using BCI | EEG Applications | NeuroSky Minwave
Brain Game Simulator using BCI | EEG Applications | NeuroSky Minwave Brain Game Simulator using BCI | EEG Applications | NeuroSky Minwave
Brain Game Simulator using BCI | EEG Applications | NeuroSky Minwave
Vishal Aditya
 
Brain Computer Interface & It's Applications | NeuroSky Minwave | Raspberry Pi
Brain Computer Interface & It's Applications | NeuroSky Minwave | Raspberry PiBrain Computer Interface & It's Applications | NeuroSky Minwave | Raspberry Pi
Brain Computer Interface & It's Applications | NeuroSky Minwave | Raspberry Pi
Vishal Aditya
 
RAIOT- Robotics Automation & Internet of Things Lab Report
RAIOT- Robotics Automation & Internet of Things Lab ReportRAIOT- Robotics Automation & Internet of Things Lab Report
RAIOT- Robotics Automation & Internet of Things Lab Report
Vishal Aditya
 
Hand Gesture Game Simulator Practical Presentation II
Hand Gesture Game Simulator Practical Presentation IIHand Gesture Game Simulator Practical Presentation II
Hand Gesture Game Simulator Practical Presentation II
Vishal Aditya
 
Hostel Security Camera Project Using OpenCV
Hostel Security Camera Project Using OpenCVHostel Security Camera Project Using OpenCV
Hostel Security Camera Project Using OpenCV
Vishal Aditya
 
EEG Game Simulator Using BCI & RaspberrPi
EEG Game Simulator Using BCI & RaspberrPi EEG Game Simulator Using BCI & RaspberrPi
EEG Game Simulator Using BCI & RaspberrPi
Vishal Aditya
 
Amity Raspberry Jam
Amity Raspberry JamAmity Raspberry Jam
Amity Raspberry Jam
Vishal Aditya
 
Lungs Compliance Meter
Lungs Compliance MeterLungs Compliance Meter
Lungs Compliance Meter
Vishal Aditya
 
Internship cover letter
Internship cover letterInternship cover letter
Internship cover letter
Vishal Aditya
 
Tor Tracer
Tor TracerTor Tracer
Tor Tracer
Vishal Aditya
 
Virtual amity | Term Paper | SEM-III
Virtual amity | Term Paper | SEM-IIIVirtual amity | Term Paper | SEM-III
Virtual amity | Term Paper | SEM-III
Vishal Aditya
 

More from Vishal Aditya (13)

Securing Firmware Updates [FOTA/OTA DFU]
Securing Firmware Updates [FOTA/OTA DFU]Securing Firmware Updates [FOTA/OTA DFU]
Securing Firmware Updates [FOTA/OTA DFU]
 
Making India hub of Smartphone Manufacturing
Making India hub of Smartphone ManufacturingMaking India hub of Smartphone Manufacturing
Making India hub of Smartphone Manufacturing
 
Brain Game Simulator using BCI | EEG Applications | NeuroSky Minwave
Brain Game Simulator using BCI | EEG Applications | NeuroSky Minwave Brain Game Simulator using BCI | EEG Applications | NeuroSky Minwave
Brain Game Simulator using BCI | EEG Applications | NeuroSky Minwave
 
Brain Computer Interface & It's Applications | NeuroSky Minwave | Raspberry Pi
Brain Computer Interface & It's Applications | NeuroSky Minwave | Raspberry PiBrain Computer Interface & It's Applications | NeuroSky Minwave | Raspberry Pi
Brain Computer Interface & It's Applications | NeuroSky Minwave | Raspberry Pi
 
RAIOT- Robotics Automation & Internet of Things Lab Report
RAIOT- Robotics Automation & Internet of Things Lab ReportRAIOT- Robotics Automation & Internet of Things Lab Report
RAIOT- Robotics Automation & Internet of Things Lab Report
 
Hand Gesture Game Simulator Practical Presentation II
Hand Gesture Game Simulator Practical Presentation IIHand Gesture Game Simulator Practical Presentation II
Hand Gesture Game Simulator Practical Presentation II
 
Hostel Security Camera Project Using OpenCV
Hostel Security Camera Project Using OpenCVHostel Security Camera Project Using OpenCV
Hostel Security Camera Project Using OpenCV
 
EEG Game Simulator Using BCI & RaspberrPi
EEG Game Simulator Using BCI & RaspberrPi EEG Game Simulator Using BCI & RaspberrPi
EEG Game Simulator Using BCI & RaspberrPi
 
Amity Raspberry Jam
Amity Raspberry JamAmity Raspberry Jam
Amity Raspberry Jam
 
Lungs Compliance Meter
Lungs Compliance MeterLungs Compliance Meter
Lungs Compliance Meter
 
Internship cover letter
Internship cover letterInternship cover letter
Internship cover letter
 
Tor Tracer
Tor TracerTor Tracer
Tor Tracer
 
Virtual amity | Term Paper | SEM-III
Virtual amity | Term Paper | SEM-IIIVirtual amity | Term Paper | SEM-III
Virtual amity | Term Paper | SEM-III
 

Recently uploaded

Mechanical Engineering on AAI Summer Training Report-003.pdf
Mechanical Engineering on AAI Summer Training Report-003.pdfMechanical Engineering on AAI Summer Training Report-003.pdf
Mechanical Engineering on AAI Summer Training Report-003.pdf
21UME003TUSHARDEB
 
CompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURS
CompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURSCompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURS
CompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURS
RamonNovais6
 
Software Engineering and Project Management - Introduction, Modeling Concepts...
Software Engineering and Project Management - Introduction, Modeling Concepts...Software Engineering and Project Management - Introduction, Modeling Concepts...
Software Engineering and Project Management - Introduction, Modeling Concepts...
Prakhyath Rai
 
International Conference on NLP, Artificial Intelligence, Machine Learning an...
International Conference on NLP, Artificial Intelligence, Machine Learning an...International Conference on NLP, Artificial Intelligence, Machine Learning an...
International Conference on NLP, Artificial Intelligence, Machine Learning an...
gerogepatton
 
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Sinan KOZAK
 
Software Quality Assurance-se412-v11.ppt
Software Quality Assurance-se412-v11.pptSoftware Quality Assurance-se412-v11.ppt
Software Quality Assurance-se412-v11.ppt
TaghreedAltamimi
 
原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样
原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样
原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样
ydzowc
 
Welding Metallurgy Ferrous Materials.pdf
Welding Metallurgy Ferrous Materials.pdfWelding Metallurgy Ferrous Materials.pdf
Welding Metallurgy Ferrous Materials.pdf
AjmalKhan50578
 
LLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by Anant
LLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by AnantLLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by Anant
LLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by Anant
Anant Corporation
 
Material for memory and display system h
Material for memory and display system hMaterial for memory and display system h
Material for memory and display system h
gowrishankartb2005
 
一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理
一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理
一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理
ecqow
 
Generative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of contentGenerative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of content
Hitesh Mohapatra
 
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
IJECEIAES
 
官方认证美国密歇根州立大学毕业证学位证书原版一模一样
官方认证美国密歇根州立大学毕业证学位证书原版一模一样官方认证美国密歇根州立大学毕业证学位证书原版一模一样
官方认证美国密歇根州立大学毕业证学位证书原版一模一样
171ticu
 
AI assisted telemedicine KIOSK for Rural India.pptx
AI assisted telemedicine KIOSK for Rural India.pptxAI assisted telemedicine KIOSK for Rural India.pptx
AI assisted telemedicine KIOSK for Rural India.pptx
architagupta876
 
john krisinger-the science and history of the alcoholic beverage.pptx
john krisinger-the science and history of the alcoholic beverage.pptxjohn krisinger-the science and history of the alcoholic beverage.pptx
john krisinger-the science and history of the alcoholic beverage.pptx
Madan Karki
 
Comparative analysis between traditional aquaponics and reconstructed aquapon...
Comparative analysis between traditional aquaponics and reconstructed aquapon...Comparative analysis between traditional aquaponics and reconstructed aquapon...
Comparative analysis between traditional aquaponics and reconstructed aquapon...
bijceesjournal
 
Engineering Drawings Lecture Detail Drawings 2014.pdf
Engineering Drawings Lecture Detail Drawings 2014.pdfEngineering Drawings Lecture Detail Drawings 2014.pdf
Engineering Drawings Lecture Detail Drawings 2014.pdf
abbyasa1014
 
Manufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptxManufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptx
Madan Karki
 
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.pptUnit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
KrishnaveniKrishnara1
 

Recently uploaded (20)

Mechanical Engineering on AAI Summer Training Report-003.pdf
Mechanical Engineering on AAI Summer Training Report-003.pdfMechanical Engineering on AAI Summer Training Report-003.pdf
Mechanical Engineering on AAI Summer Training Report-003.pdf
 
CompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURS
CompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURSCompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURS
CompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURS
 
Software Engineering and Project Management - Introduction, Modeling Concepts...
Software Engineering and Project Management - Introduction, Modeling Concepts...Software Engineering and Project Management - Introduction, Modeling Concepts...
Software Engineering and Project Management - Introduction, Modeling Concepts...
 
International Conference on NLP, Artificial Intelligence, Machine Learning an...
International Conference on NLP, Artificial Intelligence, Machine Learning an...International Conference on NLP, Artificial Intelligence, Machine Learning an...
International Conference on NLP, Artificial Intelligence, Machine Learning an...
 
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
 
Software Quality Assurance-se412-v11.ppt
Software Quality Assurance-se412-v11.pptSoftware Quality Assurance-se412-v11.ppt
Software Quality Assurance-se412-v11.ppt
 
原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样
原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样
原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样
 
Welding Metallurgy Ferrous Materials.pdf
Welding Metallurgy Ferrous Materials.pdfWelding Metallurgy Ferrous Materials.pdf
Welding Metallurgy Ferrous Materials.pdf
 
LLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by Anant
LLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by AnantLLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by Anant
LLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by Anant
 
Material for memory and display system h
Material for memory and display system hMaterial for memory and display system h
Material for memory and display system h
 
一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理
一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理
一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理
 
Generative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of contentGenerative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of content
 
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
 
官方认证美国密歇根州立大学毕业证学位证书原版一模一样
官方认证美国密歇根州立大学毕业证学位证书原版一模一样官方认证美国密歇根州立大学毕业证学位证书原版一模一样
官方认证美国密歇根州立大学毕业证学位证书原版一模一样
 
AI assisted telemedicine KIOSK for Rural India.pptx
AI assisted telemedicine KIOSK for Rural India.pptxAI assisted telemedicine KIOSK for Rural India.pptx
AI assisted telemedicine KIOSK for Rural India.pptx
 
john krisinger-the science and history of the alcoholic beverage.pptx
john krisinger-the science and history of the alcoholic beverage.pptxjohn krisinger-the science and history of the alcoholic beverage.pptx
john krisinger-the science and history of the alcoholic beverage.pptx
 
Comparative analysis between traditional aquaponics and reconstructed aquapon...
Comparative analysis between traditional aquaponics and reconstructed aquapon...Comparative analysis between traditional aquaponics and reconstructed aquapon...
Comparative analysis between traditional aquaponics and reconstructed aquapon...
 
Engineering Drawings Lecture Detail Drawings 2014.pdf
Engineering Drawings Lecture Detail Drawings 2014.pdfEngineering Drawings Lecture Detail Drawings 2014.pdf
Engineering Drawings Lecture Detail Drawings 2014.pdf
 
Manufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptxManufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptx
 
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.pptUnit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
 

Smart Face Recognition System Analysis

  • 1. Smart Face Recognition Analysis Report​- ​Optimization, Response Time & Efficiency Introduction: Face Recognition using opencv python to detect face & recognize all facial features of particular person can be achieved with more than 90% efficiency in opencv-3.1.0. The results depends on trained model & the database of grayscale images supplied. Purpose of Analysis: The objective is to find the best face recognition model/algorithm for less memory utilization & low processing from servers possible i.e, millions of images can be processed much faster by ​segmentation, ​multi-threading or parallel processing. Also, explore & test best computational models like knn(k Nearest Neighbour), cnn(Computational Neural Network), dnn(Deep Neural Network). Hypothesis: ​From the official documentation of Computer Vision​[1]​, the currently available algorithms for opencv2 & later versions are: ● Eigenfaces (see​ ​createEigenFaceRecognizer()​) ● Fisherfaces (see​ ​createFisherFaceRecognizer()​) ● Local Binary Patterns Histograms (see​ ​createLBPHFaceRecognizer()​) We choose LBPHFaceRecognizer() for our project as this algorithm can recognize at different angles, color modes, ambiance(lights) for all trained datasets. The basic idea of Local Binary Patterns is to summarize the local structure in an image by comparing 1 Smart Face Recognition System
  • 2. each pixel with its neighborhood. Take a pixel as center and threshold its neighbors against. If the intensity of the center pixel is greater-equal its neighbor, then denote it with 1 and 0 if not. You’ll end up with a binary number for each pixel, just like 11001111. So with 8 surrounding pixels you’ll end up with 2^8 possible combinations, called ​Local Binary Patterns or sometimes referred to as ​LBP codes​. The first LBP operator described in literature actually used a fixed 3 x 3 neighborhood just like this: By definition the LBP operator is robust against monotonic gray scale transformations. We can easily verify this by looking at the LBP image of an artificially modified image (so you see what an LBP image looks like!): Watch this video for better idea about feature extraction: ​https://vimeo.com/12774628 Problem Statement: ​Required a face recognition model that can capture image from wireless camera and if the user’s face exists in database then allow him/her to enter else display option to train than face & put it to existing database by the permission of admin else trigger an alarm for unauthorized entry. This whole thing must be further 2 Smart Face Recognition System
  • 3. implemented to android application & the face recognition model can be processed via backend servers. Further, optimize the whole process and increase the response time Methodology: ​One possible approach/solution to the above problem can be as follows. ● Create database for facerec with possible structure as table facerec{id,name,dob,time} ● Get image from camera over wireless network(​IP & PORT​) only if motion of human is detected then capture face. ● Get image sent over network then process it: ○ Get ID from facerec_database & if ID of image received is same then process image for that ID dataset available from trained model ○ Get the prediction & confidence of result. ● Start the server and return the results in ​json​ format (ID, result). ○ ID: image ID from the database ○ result: true/false ● Get the json result in android application & display the name corresponding to that image ID from ​facerec​ database. Flow Chart: ​All possible flow charts of face recognition models 3 Smart Face Recognition System
  • 4. Deploy in cloud-servers: 1. Using Google Cloud: VM instances (​https://console.cloud.google.com​) VM Instance- Ubuntu 16.4 4Gb RAM, 375 GB Storage, 3 Years Usage Cost- ​45.60$ per month Benefits: All kinds of servers can be installed LAMP, Apache Tomcat, WAMP etc. 4 Smart Face Recognition System
  • 5. Test Results: ​success when passed images for each trained model in the facerec_app. Using Mozilla Browser for ssh into VM instance. 2. Using Python Hosting: Heroku (​https://www.heroku.com/pricing​) Cost upto: ​500$ per month 5 Smart Face Recognition System
  • 6. Deploy in Raspberry Pi 3: ● Hardware Details: ​1Gb RAM, 1.2GHz ARM Cortex Processor, 16Gb Storage, 64-bit Quad Core Processor( increases efficiency by 33%) ● Cost: Rs.4499 (​RPi​) + Rs. 2349 (​Pi Cam​) = Rs. 6848/- ● Opencv build using cmake requires: ​1h 12m​ to compile ● Problems: 24x7 Running Mode, Heating of Chip, May hang ● Requires testing for 24x7. ● Benefits: Small & portable, All modules built-in same chip. Problems with other ARM Processor: Required interfacing of all modules like WiFi module, Memory etc again embedded person required. 6 Smart Face Recognition System
  • 7. Multiple Camera Tests: ​Connected USBCam & WebCam Using opencv multiple streaming is achieved IP Camera: ​Video stream can be captured from multiple IP Cameras over WiFi network & further can be converted into frames to numpy array for processing. After mapping the HTTP video stream of IP Camera to video driver ​/dev/video* videoCapture(1) will work for that mapped device ID & all opencv processing is possible with the same. 7 Smart Face Recognition System
  • 8. Problems/Parameters for IP Camera: ● Bandwidth required to process multiple cameras: Video CODEC (Compression), Streaming Mode, Frame Rate, Resolution, Video Quality. ● Network topology ● Resource calculation for servers to process & capture streams of ip camera from http​ to​ /dev/video* Using IP Camera Simulation Software to get above parameters for 100+ cameras. IP Video System Design Tools by Vivotek: To monitor the network & check for all parameters. ​http://www.vivotek.com/ip-video-system-design-tool/#downloads 8 Smart Face Recognition System
  • 9. 100 Viviotek cc8130 cameras 30 days storage required 1,01,868.6 GB & Bandwidth= 314.11Mbit/s Using this tool we can estimate everything & plan a efficient systems for cctv monitoring & processing wireless through servers. 9 Smart Face Recognition System
  • 10. WebCam Streaming: using opencv https://github.com/benhowell/examples/tree/master/WebcamStreamingOpenCV Face Detection using IP Camera connected to Netgear Router is tested and found some frame lags and error detection. Now, training of data sets should be done with same situation, lightning conditions & camera. Python Client Server Connection: ​To deploy in My Attendance App ● Create php web service to upload image and store to database. ● Get images in python. 10 Smart Face Recognition System
  • 11. Results: ● Faces can be trained in real time into datasets using LBPH model with response time of 0.03 ~ 0.05 secs from Ubuntu 16.04, 4GB RAM intel i5 Processor. ● Recognition of faces is done from wireless camera using web server remotely with success rate of 95% approx. ● Success on Cloud Servers (Google VM Instance: Ubuntu 16.4, 4GB RAM, 10GB Storage) Future Scope: ● Object Recognition: It can be used to check terrorist activities like human with weapons, knife, face-masks at ATM etc. ● Camera Surveillance in traffic, hotels, institutions & companies etc. ● All those big companies like Facebook, Google, Microsoft are now relying on their own algorithms & using Tensorflow and Deep Neural networks in A.I to predict their datasets and for the same openface is utilized. ● Also, with the use of Google Cloud for Vision API object recognition is very easy in tensorflow & python. (​https://cloud.google.com/vision/​) ● Emotion Detection like mood of person happy, sad, crying faces. References: 1. http://docs.opencv.org/2.4/modules/contrib/doc/facerec/facerec_tutorial.ht ml#face-recognition-with-opencv 2. http://www.pyimagesearch.com/2016/10/24/ubuntu-16-04-how-to-install-opencv/ 3. https://medium.com/@ageitgey/machine-learning-is-fun-part-4-modern-face-reco gnition-with-deep-learning-c3cffc121d78 4. http://cmusatyalab.github.io/openface/ 5. https://multi-link.net/much-bandwidth-need-ip-video-surveillance-application/ GitHub: ​https://github.com/vsltech/smartfacerecognition Project Details: http://www.vslcreations.com/2017/12/smart-face-recognition-system-using.html 11 Smart Face Recognition System