Skip to content

About

FaceDetectionApp is a JavaFX-based desktop application that performs real-time face detection using OpenCV’s Haar Cascade classifier.

Topics

Resources

Stars

4 stars

Watchers

0 watching

Forks

Latest commit

 

History

65 Commits

Folders and files

Repository files navigation

Face Detection App

Repo Size Contributors Stars Forks Issues License

FaceDetectionApp is a JavaFX desktop application that performs real-time face detection using OpenCV’s Haar Cascade classifier. It provides a user-friendly GUI for capturing video or images and detecting human faces instantly. Ideal for learning, prototyping, or building advanced face recognition systems.

🚀 Key Features

  • Real-Time Detection: Detect faces from webcam or video input instantly.
  • Intuitive GUI: Built with JavaFX (UI.fxml & UIController.java) for smooth interaction.
  • Modular Architecture: Clean code structure with FaceDetector, Main, and UIController.
  • Customizable Design: Interface styled via styles.css.
  • Extensible: Expandable for face recognition, tracking, or AI applications.

🛠️ Technology Stack

Component Technology
Programming Language Java
GUI Framework JavaFX
Computer Vision Library OpenCV (Haar Cascade)
IDE Eclipse
Styling CSS (styles.css)

⚙️ Installation & Setup

  1. Clone the repository:
git clone https://github.com/aadityaguptaaa/FaceDetectionApp.git
  1. Open the project in Eclipse IDE.

  2. Add OpenCV library to the build path:

  3. Run the project:

    • Execute Main.java as a Java Application
    • GUI window opens to start real-time face detection

🎮 Usage Guide

  1. Launch the application from Eclipse.
  2. Click Start Webcam to begin video capture.
  3. Detected faces will be highlighted in real-time.

Tip: Adjust Haar Cascade parameters in FaceDetector.java for better accuracy.


🤝 Contributing

We welcome contributions!

  1. Fork the repository
  2. Create a branch (git checkout -b feature-name)
  3. Commit changes (git commit -m "Add feature")
  4. Push branch (git push origin feature-name)
  5. Open a Pull Request

📄 License

This project is open-source under the MIT License


✨ Future Enhancements

  • Face recognition using deep learning models
  • Export detected faces as images
  • Multi-face tracking
  • Standalone executable for distribution

Developed by aadityaguptaaa | JavaFX & OpenCV Enthusiast

About

FaceDetectionApp is a JavaFX-based desktop application that performs real-time face detection using OpenCV’s Haar Cascade classifier.

Topics

Resources

Stars

4 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages