Giter Site home page Giter Site logo

bharath5673 / face-recognition-ip-camera Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sachaarbonel/face-recognition-ip-camera

0.0 1.0 0.0 10.73 MB

Face Recognition using Haar-Cascade Classifier, OpenCV, Python and an Ip Camera for a project class "Smart Home"

Python 100.00%

face-recognition-ip-camera's Introduction

Face Recognition using Haar-Cascade Classifier, OpenCV, Python and an Ip Camera

Requirement

  • Python 3.4+
  • OpenCV 3.1.0
  • Numpy
  • Ip Camera (I'm using the android app "IP Webcam")

Install OpenCV 3.1 on Ubuntu Pyton 3.4+

pip install opencv-contrib-python

Outline

This project consist of 3 parts, which are:

  1. Creating datasets (face_datasets.py)
  2. Train the model (training.py)
  3. Face Recognition (face_recognition.py)

How to run ?

  1. Please make sure that you have folders called 'dataset' and 'trainer' in the same directory
  2. Run in the command line the face_datasets.py for taking your face image as datasets. Don't forget to set each person's face to unique ID (You need to edit the code everytime, or maybe just change the id variable to raw_input[OPTIONAL])
  3. If you have more face to be include, change the ID and run the program again
  4. Train your datasets by running training.py
  5. Lastly, run face_recognition.py

Reading materials

  1. Object Detection using Haar-like features, link: http://www.cs.utexas.edu/~grauman/courses/spring2008/slides/Faces_demo.pdf
  2. Face Detection using Haar Cascades, link: http://docs.opencv.org/trunk/d7/d8b/tutorial_py_face_detection.html
  3. Haar-like Features, link: https://en.wikipedia.org/wiki/Haar-like_features
  4. Object Detection using Haar-cascades Classifier, link: http://ds.cs.ut.ee/Members/artjom85/2014dss-course-media/Object%20detection%20using%20Haar-final.pdf
  5. OpenCV Documentation, link: http://docs.opencv.org/3.0-beta/doc/py_tutorials/py_tutorials.html

Tips

  • If you don't understand what the code do, I already comments it line by line.
  • You also can Google the syntax, and read the explanation from OpenCV Documentation.
  • Feel free to ask me through my email: [email protected]

Credit to:

Anirban from TheCodacus. Link: http://thecodacus.com/

All rights reserved to the respective owner

face-recognition-ip-camera's People

Contributors

nazmiasri95 avatar sachaarbonel avatar

Watchers

James Cloos avatar

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.