Skip to content

shadil-rayyan/face-shape-detector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Face Shape Detector

This project is a Python application that detects faces in an image or video stream and analyzes their shapes using a combination of aspect ratio and facial landmarks (when available). It's designed for anyone interested in exploring face analysis or building applications that require basic face shape recognition.

Importance of Face Shape Prediction:

Personalization: Knowing your face shape allows for personalization in various aspects:

  • Cosmetics: Makeup application techniques and product recommendations can be tailored to complement your face shape (e.g., highlighting techniques for round faces, contouring for square faces).
  • Fashion: Choosing hairstyles, eyeglasses, and clothing styles that flatter your face shape can enhance your appearance.
  • Aesthetics: Understanding your face shape can help with aesthetic procedures (if considering them) by guiding decisions about what might be most harmonious with your natural features.

Demo

[Insert a short GIF or video demonstrating the face shape detection and analysis functionalities](replace with the actual link to your demo)

Features

  • Detects faces in real-time from a webcam or video file.
  • Analyzes face shape using aspect ratio and, if enabled, facial landmarks (requires additional libraries).
  • Classifies faces into various shapes like Oval, Round, Square/Rectangular, Diamond (basic), Triangle (basic), and Heart (basic).

Installation

Requirements:

  • Python 3.x
  • OpenCV (cv2)
  • NumPy (np)

Installation:

  1. Clone this repository:

    git clone https://github.com/your-username/face-shape-detector.git
  2. Navigate to the project directory:

    cd face-shape-detector
  3. Install required libraries:

    pip install opencv-python numpy

Usage

  1. Run the script:

    python app.py
  2. Press 'q' to quit the application.

Contributing

We welcome contributions to this project! Please see the contributing.md file for details on how to get started and the guidelines to follow.

License

This project is licensed under the MIT License. See the LICENSE file for details.

About

this is ml project using opencv to predict the face shape predicator

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages