Giter Club home page Giter Club logo

skanipakala / machine-learning-face-recognition-using-opencv Goto Github PK

View Code? Open in Web Editor NEW
14.0 2.0 6.0 182 KB

Using python OpenCV module to train and recognize up to 7 faces, generate automated voice feedback for each user, and click on smart home appliance trigger buttons through the windows ALEXA app.

Python 100.00%
machine-learning opencv-python face-recognition face-detection internet-of-things smart-home security home-automation home-security

machine-learning-face-recognition-using-opencv's Introduction

Machine-Learning-Face-Recognition-using-openCV

Using python OpenCV module to train and recognize up to 5 faces and generate automated voice feedback

Project contains 3 python files:

Creator.py --> Uses your webcam to take multiple pictures of your face and crops it and turns to grayscale to be analyzed later

Trainer.py --> Uses the saved pictures to start analyzing trends and picks up on differentiating features of each face to generate a .YML file

Detector.py --> Will Use the .YML file to run the actual face detection program. It will provide AUDIO FEEDBACK based on who it recognizes. It will also print the percent confidence of each of the detection. (You can change this in the detector.py prgram { variable called conf })

REQUIRED:

  • All 3 python files

  • 2 folders with "dataSet" and trainer" name

  • A webcam set to default and good lighting conditions

STEPS:

STEP 1: Run creator.py and wait until picture taking process is completed

STEP 2: Run the trainer.py to analyze the JPG pictures and create YML file. IT will ask for a number, which is the ID of each of the 5 possible faces. Choose 1-5 accordingly and hit enter.

STEP 3 (OPTIONAL): save .MP3 files to the same folder with audio that you want to play for each unique face detected successfully

STEP 4: Edit detector.py to change the mouse click location to the trigger button in the alexa app to automate any smart home appliance!

STEP 5: Run the detector.py to begin facial analysis/detection

ENJOY!

SRI KANIPAKLA

machine-learning-face-recognition-using-opencv's People

Contributors

skanipakala avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

machine-learning-face-recognition-using-opencv's Issues

mp3 files

Hello, Could you please upload START.mp3 and this demo needed flies like "haarcascade_frontalface_default " etc.Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.