Real-time facial recognition with emotion detection powered by TensorFlow.js
- Install dependencies:
npm install
-
Download the face-api.js models
Create a folder called
models
inside thepublic
directory and download the required models from: https://github.com/justadudewhohacks/face-api.js/tree/master/weights -
Run the development server:
npm run dev
- Real-time face detection through webcam
- Upload and analyze images
- Detect gender, age, and emotions
- Multiple face detection support
- Responsive design for mobile and desktop
- React
- TypeScript
- TensorFlow.js (face-api.js)
- Tailwind CSS
- shadcn/ui components