face-api.js is a JavaScript and TypeScript library for face analysis in web browsers and Node.js. It runs neural networks through TensorFlow.js and accepts images, videos, canvases, or tensors as input. The API can locate one or many faces using several detector models with configurable accuracy and performance settings. It can identify facial landmarks, compute recognition descriptors, classify expressions, and estimate age and gender. High-level chained methods let developers combine detection and analysis tasks in a compact workflow. Browser applications can draw boxes, labels, landmarks, and results on overlay canvases. Node.js support is available through image and canvas polyfills, with native TensorFlow bindings recommended for faster processing.

Features

  • Browser and Node.js support
  • Multiple face detection neural networks
  • 68-point and lightweight landmark models
  • Face descriptor matching and recognition
  • Expression, age, and gender analysis
  • Canvas overlays for boxes and landmarks

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow face-api.js

face-api.js Web Site

Other Useful Business Software
$300 Free Credits for Your Google Cloud Projects Icon
$300 Free Credits for Your Google Cloud Projects

Start building on Google Cloud with $300 in free credits. No commitment, no credit card required until you're ready to scale.

Launch your next project with $300 in free Google Cloud credits—no strings attached. Test, build, and deploy without risk. Use your credits across the entire Google Cloud platform to find what works best for your needs. After your credits are used, continue with always-free tier services. Only pay when you're ready to scale. Sign up in minutes and start exploring.
Start Free Trial
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of face-api.js!

Additional Project Details

Programming Language

TypeScript

Related Categories

TypeScript Facial Recognition Software

Registered

1 day ago