SlideShare ist ein Scribd-Unternehmen logo
1 von 27
8Th Semester Project
2018
FACE DETECTION AND TRACKING USING DIGITAL IMAGE
PROCESSING
Submitted to
Department of Electronics & Communication
Submitted By
Narayan Lal Menariya
Varun Bhatnagar
Content
• Electricity generation and Consumption in India
• Origin and definition of the Problem
• Need to save electricity?
• Method to reduce consumption and wastage.
• Project Work Plan
• Flow Chart
• Literature survey
• Methodology
• Implementation
• Result
• Minor Equipment
• Reference
SUMMARY
In this MATLAB based project we are extracting the frames from the video and
dividing each frame into two quadrant. After detecting the face in respective
quadrant we are setting the flag variable. This flag variable later can be used as a
switch for automatic controlling of the home appliances.
Electricity generation and Consumption in India
• India is the world's third largest producer and fourth largest
consumer of electricity (2016-2017).
• gross electricity generated was 1,236.39 TWh
• total electricity generation was 1,433.4 TWh
• The gross electricity consumption was 1,122 kWh per capita
• Current electricity generation depending on of fossil fuels(71% )
– coal (59.6%),
– Gas(9%),
– Oil(0.52%)
– Nuclear(1.9%)
Origin and definition of the Problem
• We do not waste electricity for any bad intentions
• but owing to our negligence and casual practices of electricity
use causes wastes
• Lack of awareness & importance of energy conservation
• Use of Inefficient equipment/appliances
• Mentality of “I can pay whatever I consume” thinking
• Negligent way of handling of energy utilities
• Fail to monitoring & auditing energy consumption bills
• present busy and stressful life
Need to save electricity?
• To reduce electricity bills.
• Electricity is not only fuel for our daily life but also vital for
countries economic growth (GDP growth).
• Reduce imports of fossil fuels (import rate of fossil fuel is 38 %
report by 2012) and increasing every year )
• Reduce impacts of fossil fuels on environment
– coal based power plant emits 1.1Kg(average) of CO for
producing 1 unit(kWh) of electricity.
– Oil, Gas & Coal are likely to last for only 20 years.
– we have Oil, Gas, Coal reserves of only 0.5% , 0.6% & 7%
respectively of the total world reserves.
How to reduce consumption and avoid wastage?
• Obviously we can ...
– use LED
– aware before using zero bulbs
– Use air conditioners, refrigerators, freezer at optimum temperature
– Etc...
• But what are the other steps ?
• Its the Era of Artificial Intelligence.
– Smart Home Automation attracted the interest of the research
community at the great manner
– But what if any person is impaired to send the message for controlling
the appliances.
Project Work Plan
• Save Electricity and provide Artificial Intelligence
– for Automatically Controlling of the home Appliances with MATLAB
image processing.
• Supposed to have any room
– Room is divided into specific quadrants
– corresponding quadrants having some appliances
– supposed to switch on and off according to the presence of person in
corresponding quadrant
• Once the image and its quadrant are detected
– corresponding appliances are controlled with the help of
microprocessor interrupts and internet of things (IoT).
PROCEDURE OF FACE DETECTION
• Step 1: Read frame from CCTV camera
• Step 2: Matrix dimension into four Quadrants as shown in
figure
• Step 3: Check for any face detection of person
• Step 4: Check for the respective quadrant where the face is
detected
• Step 5: Actuate the respective appliances of that quadrant
• Step 6: Repeat from Step 1
Literature Survey
Literature survey
Viola-Jones algorithm: Two features are selected for the task of face
detection:
1. first feature: the region of the eyes is often darker than the region
of the nose and cheeks
2. second feature: the eyes are darker than the bridge of the nose
Viola-Jones algorithm
3. Classifier can be constructed which reject many of the
negative sub windows while detecting almost all positive
instances.
4. The final detector is scanned across the image at multiple
scales and locations
5. The detector is also scanned across location, by shifting the
window some number of pixels
6. It is useful to post process the detected sub-windows in
order to combine overlapping detections into a single
detection.
FACE TRACKING
Literature Survey
CAMShift Algorithm:
1. Set the region of interest (ROI) of the probability distribution
image to the entire image.
2. Select an initial location of the Mean Shift search window. The
selected location is the target distribution to be tracked.
3. Calculate a color probability distribution of the region centred at
the Mean Shift search window.
4. Iterate Mean Shift algorithm to find the centroid of the probability
image. Store the zeroth moment (distribution area) and centroid
location.
5. For the following frame, center the search window at the mean
location found in Step 4 and set the window size to a function of
the zeroth moment. Go to Step 3.
Methodology
Implementation
• a simple face tracking system can be design by dividing the
tracking problem into three separate problems:
– Detect a face to track
– Identify facial features to track
– Track the face
Step-1: Detect a Face To Track
• vision.CascadeObjectDetector used to detect the location of a
face in a video frame
• The cascade object detector uses the Viola-Jones detection
algorithm and a trained classification model for detection
Step-2: Identify Facial Features To Track
• shape, texture, or color can be used to track the face.
• In this example, we use skin tone as the feature to track.
– Extract the frame from video
– Convert each frame into hue using rgb2hsv() function
– Display the Hue Channel data and draw the bounding box around the
face.
Step 3: Track the Face
• After selecting skin tone as a tracking feature histogram based
tracker can be used to track the face
• Histogram based tracker uses the CamShift algorithm
Implementation
Implementation
• video player object is created for displaying the video
• Track the face over successive video frames until the video is
finished.
Results
Class Room
Result
Quadrants Division of class room
Result
Face Detection in Two Quadrant
flag1 = 0; flag2=1;
Result
If(flag1 == 1)
switch on the appliances of quadrant1
Else
switch off the appliances of quadrant1
If(flag2 == 1)
switch on the appliances of quadrant2
Else
switch off the appliances of quadrant2
Minor Equipment
• CCTV Camera
• MATLAB Software
• Raspberry Pi Board
• NRF24L01 with antenna
Proposed outcome
• Save wastage of Electricity
• IoT Based project
• No need of Manual controlling of home appliance
• Low cost
• Applicable at
– Home
– Hospital
– School
– Etc
• No requirement of larger area for project installation
• Less maintenance is required
Reference
• Electricity Sector in India – Wikipedia
(https://en.wikipedia.org/wiki/Electricity_sector_in_India )
• Image source – Google
• MATLAB Help menu
• Youtube – Matlab Image Processing
• MATALB Reference note by Cranes Varsity
Thanking you...

Weitere ähnliche Inhalte

Was ist angesagt?

Design challenges in embedded systems
Design challenges in embedded systemsDesign challenges in embedded systems
Design challenges in embedded systemsmahalakshmimalini
 
Ambulance tracker
Ambulance trackerAmbulance tracker
Ambulance trackerKushal
 
Wi-Vi Technology
Wi-Vi TechnologyWi-Vi Technology
Wi-Vi TechnologyAnandhuas
 
Benefits of gps for ambulance services
Benefits of gps for ambulance servicesBenefits of gps for ambulance services
Benefits of gps for ambulance servicesTracko.co.in
 
Smart home Environment using iot
Smart home Environment using iotSmart home Environment using iot
Smart home Environment using iotparvathy s m
 
Smart Alarm Clock with Farm Innovations
Smart Alarm Clock with Farm InnovationsSmart Alarm Clock with Farm Innovations
Smart Alarm Clock with Farm Innovationsmouniraydi
 
Plant monitoring system
Plant monitoring systemPlant monitoring system
Plant monitoring systemSai Kumar
 
RFID BASED ATTENDANCE SYSTEM PPT
RFID BASED ATTENDANCE SYSTEM PPTRFID BASED ATTENDANCE SYSTEM PPT
RFID BASED ATTENDANCE SYSTEM PPTnikhilpatewar
 
smart street light ppt
smart street light pptsmart street light ppt
smart street light pptSurya Karan
 
Password based door locking system
Password based door locking systemPassword based door locking system
Password based door locking systemArjun Singh
 
Automatic Door Opener using PIR Sensor
Automatic Door Opener using PIR SensorAutomatic Door Opener using PIR Sensor
Automatic Door Opener using PIR SensorRAGHUVARMA09
 
Bidirectional Visitor Counter using IR sensors and Arduino Uno R3
Bidirectional Visitor Counter using IR sensors and Arduino Uno R3Bidirectional Visitor Counter using IR sensors and Arduino Uno R3
Bidirectional Visitor Counter using IR sensors and Arduino Uno R3Abhishekvb
 
IoT Solution To Regulate Vehicular Traffic
IoT Solution To Regulate Vehicular TrafficIoT Solution To Regulate Vehicular Traffic
IoT Solution To Regulate Vehicular TrafficMphasis
 
Seminar report on image sensor
Seminar report on image sensorSeminar report on image sensor
Seminar report on image sensorJaydeepBhayani773
 
Digital Image Processing Projects for Final Year Students
Digital Image Processing Projects for Final Year StudentsDigital Image Processing Projects for Final Year Students
Digital Image Processing Projects for Final Year StudentsManoj Subramanian
 
Traffic Clearance for Emergency Vehicles Using Priority Mode
Traffic Clearance for Emergency Vehicles Using Priority ModeTraffic Clearance for Emergency Vehicles Using Priority Mode
Traffic Clearance for Emergency Vehicles Using Priority ModeIRJET Journal
 

Was ist angesagt? (20)

Design challenges in embedded systems
Design challenges in embedded systemsDesign challenges in embedded systems
Design challenges in embedded systems
 
RFID BASED ATTENDANCE SYSTEM.pptx
RFID BASED ATTENDANCE SYSTEM.pptxRFID BASED ATTENDANCE SYSTEM.pptx
RFID BASED ATTENDANCE SYSTEM.pptx
 
Ambulance tracker
Ambulance trackerAmbulance tracker
Ambulance tracker
 
Wi-Vi Technology
Wi-Vi TechnologyWi-Vi Technology
Wi-Vi Technology
 
Benefits of gps for ambulance services
Benefits of gps for ambulance servicesBenefits of gps for ambulance services
Benefits of gps for ambulance services
 
Smart home Environment using iot
Smart home Environment using iotSmart home Environment using iot
Smart home Environment using iot
 
Smart Alarm Clock with Farm Innovations
Smart Alarm Clock with Farm InnovationsSmart Alarm Clock with Farm Innovations
Smart Alarm Clock with Farm Innovations
 
Plant monitoring system
Plant monitoring systemPlant monitoring system
Plant monitoring system
 
RFID BASED ATTENDANCE SYSTEM PPT
RFID BASED ATTENDANCE SYSTEM PPTRFID BASED ATTENDANCE SYSTEM PPT
RFID BASED ATTENDANCE SYSTEM PPT
 
smart street light ppt
smart street light pptsmart street light ppt
smart street light ppt
 
Password based door locking system
Password based door locking systemPassword based door locking system
Password based door locking system
 
Pov
PovPov
Pov
 
Automatic Door Opener using PIR Sensor
Automatic Door Opener using PIR SensorAutomatic Door Opener using PIR Sensor
Automatic Door Opener using PIR Sensor
 
Bidirectional Visitor Counter using IR sensors and Arduino Uno R3
Bidirectional Visitor Counter using IR sensors and Arduino Uno R3Bidirectional Visitor Counter using IR sensors and Arduino Uno R3
Bidirectional Visitor Counter using IR sensors and Arduino Uno R3
 
Rover Technology
Rover TechnologyRover Technology
Rover Technology
 
IoT Solution To Regulate Vehicular Traffic
IoT Solution To Regulate Vehicular TrafficIoT Solution To Regulate Vehicular Traffic
IoT Solution To Regulate Vehicular Traffic
 
Seminar report on image sensor
Seminar report on image sensorSeminar report on image sensor
Seminar report on image sensor
 
Digital Image Processing Projects for Final Year Students
Digital Image Processing Projects for Final Year StudentsDigital Image Processing Projects for Final Year Students
Digital Image Processing Projects for Final Year Students
 
Sensors in IOT
Sensors in IOTSensors in IOT
Sensors in IOT
 
Traffic Clearance for Emergency Vehicles Using Priority Mode
Traffic Clearance for Emergency Vehicles Using Priority ModeTraffic Clearance for Emergency Vehicles Using Priority Mode
Traffic Clearance for Emergency Vehicles Using Priority Mode
 

Ähnlich wie Home automation using MATLAB image processing

Road signs detection using voila jone's algorithm with the help of opencv
Road signs detection using voila jone's algorithm with the help of opencvRoad signs detection using voila jone's algorithm with the help of opencv
Road signs detection using voila jone's algorithm with the help of opencvMohdSalim34
 
From Experimentation to Production: The Future of WebGL
From Experimentation to Production: The Future of WebGLFrom Experimentation to Production: The Future of WebGL
From Experimentation to Production: The Future of WebGLFITC
 
Implementing Camshift on a Mobile Robot for Person Tracking and Pursuit_ICDM
Implementing Camshift on a Mobile Robot for Person Tracking and Pursuit_ICDMImplementing Camshift on a Mobile Robot for Person Tracking and Pursuit_ICDM
Implementing Camshift on a Mobile Robot for Person Tracking and Pursuit_ICDMSoma Boubou
 
design and develop a FIRE EXTINGUISHER ROBOT.pptx
design and develop a FIRE EXTINGUISHER ROBOT.pptxdesign and develop a FIRE EXTINGUISHER ROBOT.pptx
design and develop a FIRE EXTINGUISHER ROBOT.pptxkayvyyyy
 
Object detection at night
Object detection at nightObject detection at night
Object detection at nightSanjay Crúzé
 
IRJET - Smart Vet Locator for Hybrid Pets
IRJET -  	  Smart Vet Locator for Hybrid PetsIRJET -  	  Smart Vet Locator for Hybrid Pets
IRJET - Smart Vet Locator for Hybrid PetsIRJET Journal
 
Cahall Final Intern Presentation
Cahall Final Intern PresentationCahall Final Intern Presentation
Cahall Final Intern PresentationDaniel Cahall
 
Real Time Object Dectection using machine learning
Real Time Object Dectection using machine learningReal Time Object Dectection using machine learning
Real Time Object Dectection using machine learningpratik pratyay
 
IRJET- New Generation Multilevel based Atm Security System
IRJET- New Generation Multilevel based Atm Security SystemIRJET- New Generation Multilevel based Atm Security System
IRJET- New Generation Multilevel based Atm Security SystemIRJET Journal
 
Machine Learning Algorithms for Anomaly Detection in Particles Accelerators T...
Machine Learning Algorithms for Anomaly Detection in Particles Accelerators T...Machine Learning Algorithms for Anomaly Detection in Particles Accelerators T...
Machine Learning Algorithms for Anomaly Detection in Particles Accelerators T...Deep Learning Italia
 
Object detection technique using bounding box algorithm for
Object detection technique using bounding box algorithm forObject detection technique using bounding box algorithm for
Object detection technique using bounding box algorithm forVESIT,Chembur,Mumbai
 
pick and place robotic arm
pick and place robotic armpick and place robotic arm
pick and place robotic armANJANA ANILKUMAR
 
Mainprojpresentation 150617092611-lva1-app6892
Mainprojpresentation 150617092611-lva1-app6892Mainprojpresentation 150617092611-lva1-app6892
Mainprojpresentation 150617092611-lva1-app6892ANJANA ANILKUMAR
 
Lobula Giant Movement Detector Based Embedded Vision System for Micro-robots
Lobula Giant Movement Detector Based Embedded Vision System for Micro-robotsLobula Giant Movement Detector Based Embedded Vision System for Micro-robots
Lobula Giant Movement Detector Based Embedded Vision System for Micro-robotsNishmi Suresh
 
IRJET- Review on Colored Object Sorting System using Arduino UNO
IRJET- Review on Colored Object Sorting System using Arduino UNOIRJET- Review on Colored Object Sorting System using Arduino UNO
IRJET- Review on Colored Object Sorting System using Arduino UNOIRJET Journal
 
Realtime pothole detection system using improved CNN Models
Realtime pothole detection system using improved CNN ModelsRealtime pothole detection system using improved CNN Models
Realtime pothole detection system using improved CNN Modelsnithinsai2992
 
IRJET- Note to Coin Converter
IRJET- Note to Coin ConverterIRJET- Note to Coin Converter
IRJET- Note to Coin ConverterIRJET Journal
 

Ähnlich wie Home automation using MATLAB image processing (20)

Road signs detection using voila jone's algorithm with the help of opencv
Road signs detection using voila jone's algorithm with the help of opencvRoad signs detection using voila jone's algorithm with the help of opencv
Road signs detection using voila jone's algorithm with the help of opencv
 
From Experimentation to Production: The Future of WebGL
From Experimentation to Production: The Future of WebGLFrom Experimentation to Production: The Future of WebGL
From Experimentation to Production: The Future of WebGL
 
Implementing Camshift on a Mobile Robot for Person Tracking and Pursuit_ICDM
Implementing Camshift on a Mobile Robot for Person Tracking and Pursuit_ICDMImplementing Camshift on a Mobile Robot for Person Tracking and Pursuit_ICDM
Implementing Camshift on a Mobile Robot for Person Tracking and Pursuit_ICDM
 
design and develop a FIRE EXTINGUISHER ROBOT.pptx
design and develop a FIRE EXTINGUISHER ROBOT.pptxdesign and develop a FIRE EXTINGUISHER ROBOT.pptx
design and develop a FIRE EXTINGUISHER ROBOT.pptx
 
Object detection at night
Object detection at nightObject detection at night
Object detection at night
 
IRJET - Smart Vet Locator for Hybrid Pets
IRJET -  	  Smart Vet Locator for Hybrid PetsIRJET -  	  Smart Vet Locator for Hybrid Pets
IRJET - Smart Vet Locator for Hybrid Pets
 
Cahall Final Intern Presentation
Cahall Final Intern PresentationCahall Final Intern Presentation
Cahall Final Intern Presentation
 
Tot.st 1
Tot.st 1Tot.st 1
Tot.st 1
 
Real Time Object Dectection using machine learning
Real Time Object Dectection using machine learningReal Time Object Dectection using machine learning
Real Time Object Dectection using machine learning
 
slide-171212080528.pptx
slide-171212080528.pptxslide-171212080528.pptx
slide-171212080528.pptx
 
IRJET- New Generation Multilevel based Atm Security System
IRJET- New Generation Multilevel based Atm Security SystemIRJET- New Generation Multilevel based Atm Security System
IRJET- New Generation Multilevel based Atm Security System
 
Machine Learning Algorithms for Anomaly Detection in Particles Accelerators T...
Machine Learning Algorithms for Anomaly Detection in Particles Accelerators T...Machine Learning Algorithms for Anomaly Detection in Particles Accelerators T...
Machine Learning Algorithms for Anomaly Detection in Particles Accelerators T...
 
Object detection technique using bounding box algorithm for
Object detection technique using bounding box algorithm forObject detection technique using bounding box algorithm for
Object detection technique using bounding box algorithm for
 
pick and place robotic arm
pick and place robotic armpick and place robotic arm
pick and place robotic arm
 
Mainprojpresentation 150617092611-lva1-app6892
Mainprojpresentation 150617092611-lva1-app6892Mainprojpresentation 150617092611-lva1-app6892
Mainprojpresentation 150617092611-lva1-app6892
 
Project vague
Project   vagueProject   vague
Project vague
 
Lobula Giant Movement Detector Based Embedded Vision System for Micro-robots
Lobula Giant Movement Detector Based Embedded Vision System for Micro-robotsLobula Giant Movement Detector Based Embedded Vision System for Micro-robots
Lobula Giant Movement Detector Based Embedded Vision System for Micro-robots
 
IRJET- Review on Colored Object Sorting System using Arduino UNO
IRJET- Review on Colored Object Sorting System using Arduino UNOIRJET- Review on Colored Object Sorting System using Arduino UNO
IRJET- Review on Colored Object Sorting System using Arduino UNO
 
Realtime pothole detection system using improved CNN Models
Realtime pothole detection system using improved CNN ModelsRealtime pothole detection system using improved CNN Models
Realtime pothole detection system using improved CNN Models
 
IRJET- Note to Coin Converter
IRJET- Note to Coin ConverterIRJET- Note to Coin Converter
IRJET- Note to Coin Converter
 

Mehr von NarayanlalMenariya

Mehr von NarayanlalMenariya (16)

Updated CV
Updated CVUpdated CV
Updated CV
 
Curriculum Vitae
Curriculum VitaeCurriculum Vitae
Curriculum Vitae
 
Face Detection And Tracking
Face Detection And TrackingFace Detection And Tracking
Face Detection And Tracking
 
Resume for fresher
Resume for fresherResume for fresher
Resume for fresher
 
C++ Programs
C++ ProgramsC++ Programs
C++ Programs
 
Character recognition
Character recognitionCharacter recognition
Character recognition
 
GUI based calculator using MATLAB
GUI based calculator using MATLABGUI based calculator using MATLAB
GUI based calculator using MATLAB
 
Steganography
SteganographySteganography
Steganography
 
client-server communication using socket IPC
client-server communication using socket IPCclient-server communication using socket IPC
client-server communication using socket IPC
 
Message queue and shared memory
Message queue and shared memoryMessage queue and shared memory
Message queue and shared memory
 
Synchronization of shared memory using semaphores
Synchronization of shared memory using semaphoresSynchronization of shared memory using semaphores
Synchronization of shared memory using semaphores
 
Simplified Experimental Determination of Line Transient Immunity of Linear Re...
Simplified Experimental Determination of Line Transient Immunity of Linear Re...Simplified Experimental Determination of Line Transient Immunity of Linear Re...
Simplified Experimental Determination of Line Transient Immunity of Linear Re...
 
SMART E-TOLL SYSTEM
SMART E-TOLL SYSTEMSMART E-TOLL SYSTEM
SMART E-TOLL SYSTEM
 
Voice From Deep Of Heart
Voice From Deep Of HeartVoice From Deep Of Heart
Voice From Deep Of Heart
 
Lidar and sensing
Lidar and sensingLidar and sensing
Lidar and sensing
 
A chip to protect IOT
A chip to protect IOTA chip to protect IOT
A chip to protect IOT
 

Kürzlich hochgeladen

The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...ranjana rawat
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...ranjana rawat
 
Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)simmis5
 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...roncy bisnoi
 
UNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular ConduitsUNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular Conduitsrknatarajan
 
result management system report for college project
result management system report for college projectresult management system report for college project
result management system report for college projectTonystark477637
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSSIVASHANKAR N
 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)Suman Mia
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130Suhani Kapoor
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Christo Ananth
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxpranjaldaimarysona
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordAsst.prof M.Gokilavani
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxAsutosh Ranjan
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINESIVASHANKAR N
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...Call Girls in Nagpur High Profile
 

Kürzlich hochgeladen (20)

The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
 
Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)
 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
 
UNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular ConduitsUNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular Conduits
 
result management system report for college project
result management system report for college projectresult management system report for college project
result management system report for college project
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptx
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptx
 
Roadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and RoutesRoadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and Routes
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
 
Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
 

Home automation using MATLAB image processing

  • 1. 8Th Semester Project 2018 FACE DETECTION AND TRACKING USING DIGITAL IMAGE PROCESSING Submitted to Department of Electronics & Communication Submitted By Narayan Lal Menariya Varun Bhatnagar
  • 2. Content • Electricity generation and Consumption in India • Origin and definition of the Problem • Need to save electricity? • Method to reduce consumption and wastage. • Project Work Plan • Flow Chart • Literature survey • Methodology • Implementation • Result • Minor Equipment • Reference
  • 3. SUMMARY In this MATLAB based project we are extracting the frames from the video and dividing each frame into two quadrant. After detecting the face in respective quadrant we are setting the flag variable. This flag variable later can be used as a switch for automatic controlling of the home appliances.
  • 4. Electricity generation and Consumption in India • India is the world's third largest producer and fourth largest consumer of electricity (2016-2017). • gross electricity generated was 1,236.39 TWh • total electricity generation was 1,433.4 TWh • The gross electricity consumption was 1,122 kWh per capita • Current electricity generation depending on of fossil fuels(71% ) – coal (59.6%), – Gas(9%), – Oil(0.52%) – Nuclear(1.9%)
  • 5. Origin and definition of the Problem • We do not waste electricity for any bad intentions • but owing to our negligence and casual practices of electricity use causes wastes • Lack of awareness & importance of energy conservation • Use of Inefficient equipment/appliances • Mentality of “I can pay whatever I consume” thinking • Negligent way of handling of energy utilities • Fail to monitoring & auditing energy consumption bills • present busy and stressful life
  • 6. Need to save electricity? • To reduce electricity bills. • Electricity is not only fuel for our daily life but also vital for countries economic growth (GDP growth). • Reduce imports of fossil fuels (import rate of fossil fuel is 38 % report by 2012) and increasing every year ) • Reduce impacts of fossil fuels on environment – coal based power plant emits 1.1Kg(average) of CO for producing 1 unit(kWh) of electricity. – Oil, Gas & Coal are likely to last for only 20 years. – we have Oil, Gas, Coal reserves of only 0.5% , 0.6% & 7% respectively of the total world reserves.
  • 7. How to reduce consumption and avoid wastage? • Obviously we can ... – use LED – aware before using zero bulbs – Use air conditioners, refrigerators, freezer at optimum temperature – Etc... • But what are the other steps ? • Its the Era of Artificial Intelligence. – Smart Home Automation attracted the interest of the research community at the great manner – But what if any person is impaired to send the message for controlling the appliances.
  • 8. Project Work Plan • Save Electricity and provide Artificial Intelligence – for Automatically Controlling of the home Appliances with MATLAB image processing. • Supposed to have any room – Room is divided into specific quadrants – corresponding quadrants having some appliances – supposed to switch on and off according to the presence of person in corresponding quadrant • Once the image and its quadrant are detected – corresponding appliances are controlled with the help of microprocessor interrupts and internet of things (IoT).
  • 9. PROCEDURE OF FACE DETECTION • Step 1: Read frame from CCTV camera • Step 2: Matrix dimension into four Quadrants as shown in figure • Step 3: Check for any face detection of person • Step 4: Check for the respective quadrant where the face is detected • Step 5: Actuate the respective appliances of that quadrant • Step 6: Repeat from Step 1
  • 11. Literature survey Viola-Jones algorithm: Two features are selected for the task of face detection: 1. first feature: the region of the eyes is often darker than the region of the nose and cheeks 2. second feature: the eyes are darker than the bridge of the nose
  • 12.
  • 13. Viola-Jones algorithm 3. Classifier can be constructed which reject many of the negative sub windows while detecting almost all positive instances. 4. The final detector is scanned across the image at multiple scales and locations 5. The detector is also scanned across location, by shifting the window some number of pixels 6. It is useful to post process the detected sub-windows in order to combine overlapping detections into a single detection.
  • 15. Literature Survey CAMShift Algorithm: 1. Set the region of interest (ROI) of the probability distribution image to the entire image. 2. Select an initial location of the Mean Shift search window. The selected location is the target distribution to be tracked. 3. Calculate a color probability distribution of the region centred at the Mean Shift search window. 4. Iterate Mean Shift algorithm to find the centroid of the probability image. Store the zeroth moment (distribution area) and centroid location. 5. For the following frame, center the search window at the mean location found in Step 4 and set the window size to a function of the zeroth moment. Go to Step 3.
  • 17. Implementation • a simple face tracking system can be design by dividing the tracking problem into three separate problems: – Detect a face to track – Identify facial features to track – Track the face Step-1: Detect a Face To Track • vision.CascadeObjectDetector used to detect the location of a face in a video frame • The cascade object detector uses the Viola-Jones detection algorithm and a trained classification model for detection
  • 18. Step-2: Identify Facial Features To Track • shape, texture, or color can be used to track the face. • In this example, we use skin tone as the feature to track. – Extract the frame from video – Convert each frame into hue using rgb2hsv() function – Display the Hue Channel data and draw the bounding box around the face. Step 3: Track the Face • After selecting skin tone as a tracking feature histogram based tracker can be used to track the face • Histogram based tracker uses the CamShift algorithm Implementation
  • 19. Implementation • video player object is created for displaying the video • Track the face over successive video frames until the video is finished.
  • 22. Result Face Detection in Two Quadrant flag1 = 0; flag2=1;
  • 23. Result If(flag1 == 1) switch on the appliances of quadrant1 Else switch off the appliances of quadrant1 If(flag2 == 1) switch on the appliances of quadrant2 Else switch off the appliances of quadrant2
  • 24. Minor Equipment • CCTV Camera • MATLAB Software • Raspberry Pi Board • NRF24L01 with antenna
  • 25. Proposed outcome • Save wastage of Electricity • IoT Based project • No need of Manual controlling of home appliance • Low cost • Applicable at – Home – Hospital – School – Etc • No requirement of larger area for project installation • Less maintenance is required
  • 26. Reference • Electricity Sector in India – Wikipedia (https://en.wikipedia.org/wiki/Electricity_sector_in_India ) • Image source – Google • MATLAB Help menu • Youtube – Matlab Image Processing • MATALB Reference note by Cranes Varsity