Skip to content

varreltantio/face-detection-opencv-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Face Detection opencv.js

This project implements face detection using OpenCV.js in the browser. It captures video from the webcam, processes frames in real-time, and detects faces using Haar Cascade Classifier.

Features

  • Loads OpenCV.js dynamically.
  • Captures video from the user's webcam.
  • Converts frames to grayscale for better face detection.
  • Detects faces using the Haar Cascade Classifier.
  • Draws rectangles around detected faces.

Technologies Used

  • JavaScript: For the main face detection logic.
  • opencv.js: A JavaScript library for face detection.
  • HTML5: For video capture and display.

Steps to Run the Project

  1. Clone the repository:

    git clone https://github.com/varreltantio/face-detection-opencv-js.git
    cd face-detection-opencv-js
    
  2. Open the project in a browser:

    Open the index.html file in your browser

About

Face Detection Javascript Webcam with opencv.js

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published