Skip to content

This is a simple web application that detects faces in real-time using the face-api.js library. It streams video from the user's webcam and overlays a canvas with rectangles indicating the detected faces.

Notifications You must be signed in to change notification settings

owaisazmal/Face-Detection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Live Face Detection Web App

This is a simple web application that detects faces in real-time using the face-api.js library. It streams video from the user's webcam and overlays a canvas with rectangles indicating the detected faces.

Features

  • Real-time face detection using the face-api.js library.
  • Streams video from the user's webcam.
  • Draws rectangles around detected faces on the video feed.

Screenshot

IMG_4001

Usage

  1. Open the index.html file in a web browser.
  2. Allow the browser to access your webcam when prompted.
  3. The web app will start detecting faces in the video feed in real-time.

File Structure

  • index.html: HTML file containing the structure of the web app.
  • face-api.min.js: Minified version of the face-api.js library for face detection.
  • script.js: JavaScript file containing the logic for accessing the webcam and performing face detection.
  • style.css: CSS file containing styling for the web app.

Setup

No special setup is required to run this web app. Simply open the index.html file in a web browser that supports webcam access (e.g., Google Chrome, Mozilla Firefox).

About

This is a simple web application that detects faces in real-time using the face-api.js library. It streams video from the user's webcam and overlays a canvas with rectangles indicating the detected faces.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published