Giter Club home page Giter Club logo

face-recognition-opencv's Introduction

Face-Recognition-OpenCV

Introduction:

This is a face recognition webapp and a python program. The webapp gets the video from 
the webcam however you can input any video file manually. When the face is recognised 
the frame of video gets saved into the local database.

Installation :

	1. Install Python
	2. Install OpenCV
	3. Install Flask
	 Then Run Main.py through Cmd.

Methodology

	I used Opencv and HaarCascading for face detection.Here we will work with face 
	detection. In Haar-cascading the algorithm needs a lot of positive
	images (images of faces) and negative images (images without faces) to train 
	the classifier. Then we need to extract features from it. For
	this, Haar features are used. They are just like our 
	convolutional kernel.Each feature is a single value obtained by subtracting 
	sum of pixels under the white rectangle from sum of 
	pixels under the black rectangle.

Resources:

	- docs.opencv.org
	- http://flask.pocoo.org/docs/1.0/
	- www.pythonprogramming.net
	- https://github.com/log0/video_streaming_with_flask_example

Step-by-Step Guide

> I created a simple html page for the video stream.

> Then I used flask and python for the scripting of the page, how it will capture the live video 
  from webcam.
  
> With flask I used render_teamplate to render the html page and for some other functions as well.

> After creating the simple webcam stream, I used opneCV to produce the results.

> I used haarcasacading and cascadeclassifier class for face detection and functios of opencv 
to save the image fom video dtream with detected face.

face-recognition-opencv's People

Contributors

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