https://github.com/varreltantio/face-recognition-faceapi
Face Recognition Javascript Webcam with face-api.js
https://github.com/varreltantio/face-recognition-faceapi
face-api-js face-recognition
Last synced: about 2 months ago
JSON representation
Face Recognition Javascript Webcam with face-api.js
- Host: GitHub
- URL: https://github.com/varreltantio/face-recognition-faceapi
- Owner: varreltantio
- Created: 2025-01-30T12:13:06.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2025-02-07T12:55:24.000Z (4 months ago)
- Last Synced: 2025-02-07T13:41:51.262Z (4 months ago)
- Topics: face-api-js, face-recognition
- Language: JavaScript
- Homepage:
- Size: 8.13 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Face Recognition face-api.js
This project uses face recognition with the `face-api.js` library to identify faces from images dynamically loaded from the server. The goal is to train a face recognition model with labeled images, and then match faces from a webcam stream.
## Features
- Dynamically loads labeled images from the server.
- Uses the `face-api.js` library for face detection and recognition.
- Matches faces detected in a webcam stream with the preloaded labeled face descriptors.
- Supports multiple image formats: `.png`, `.jpg`, and `.jpeg`,.## Technologies Used
- **JavaScript**: For the main face recognition logic.
- **face-api.js**: A JavaScript library for face detection and recognition.
- **Express**: For setting up the server and serving image files (if you're using Node.js).
- **HTML5**: For video capture and display.## Setup
### Prerequisites
- Node.js and npm (for the server side if you're running it locally).
- `face-api.js` library (included in the project).
### Steps to Run the Project1. **Clone the repository:**
```bash
git clone https://github.com/varreltantio/face-recognition-faceapi.git
cd face-recognition-faceapi2. **Install dependencies:**
```bash
npm install3. **Start the server:**
```bash
node server.js4. **Open the project in a browser:**
Open the index.html file in your browser or navigate to http://localhost:3000 (if the server is running).