Skip to content

AnuragNagare/smile-selfie-capture

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Smile-Selfie-Capture

This repository contains a Python script that uses OpenCV to perform Smile-Selfie-Capture detection using Haar cascades.

Prerequisites

Before running the code, make sure you have the following dependencies installed:

  • Python 3
  • OpenCV (pip install opencv-python)

Usage

  1. Clone the repository to your local machine:
  2. git clone https://github.com/AnuragNagare/smile-selfie-capture.git
  3. Navigate to the project directory:
  4. Download the Haar cascade files and place them in the dataset directory:
  1. Run the script:

The script will open the webcam feed and start detecting faces and smiles in real-time. Press 'q' to exit the program.

Detected images with smiles will be saved in the D:/Photos/Photo shoot/ (replace the path to directory to save the images) directory with filenames starting from "DSC_0207.JPG1.jpg" and incrementing for each detected smile.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages