Coder Social home page Coder Social logo

sumitjhaleriya / autoselfie Goto Github PK

View Code? Open in Web Editor NEW
5.0 1.0 2.0 12 KB

This Python script utilizes OpenCV and Pyttsx3 to create a real-time selfie capture application with facial recognition features. It captures a selfie when a smile is detected on a recognized face, and the user is notified through spoken feedback.

License: MIT License

Python 100.00%
opencv python3 collaborate selfie

autoselfie's Introduction

AutoSelfie

It is a python program which takes selfie automatically on smiling

Real-Time Selfie Capture with Facial Recognition

This Python script utilizes OpenCV and Pyttsx3 to create a real-time selfie capture application with facial recognition features. It captures a selfie when a smile is detected on a recognized face, and the user is notified through spoken feedback.

Features

  • Real-time camera feed using OpenCV.
  • Face detection using Haar Cascade classifiers.
  • Smile detection on recognized faces.
  • Selfie capture with timestamp.
  • Spoken feedback using Pyttsx3.

Prerequisites

  • Python 3
  • OpenCV (cv2) library
  • Pyttsx3 library

How to Run

  1. Install the required libraries:

    pip install opencv-python pyttsx3
  2. Download Haar Cascade XML Files: Download the Haar Cascade XML files for face, smile, and eye detection from OpenCV's official repository or other sources.

  3. Save XML Files: Save the downloaded XML files in the same directory as the script.

  4. Run the Script:

    python autoselfie.py
  5. Capture Selfies:

The webcam will start, and the script will detect smiles on recognized faces, capturing selfies automatically.

  1. Quit the Application:

Press the 'q' key to quit the application.

autoselfie's People

Contributors

sumitjhaleriya avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

autoselfie's Issues

Add Front-End

add a front end website to the project using flask

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.