tfjs
face-api.js
Our great sponsors
tfjs | face-api.js | |
---|---|---|
27 | 18 | |
18,041 | 15,995 | |
0.6% | - | |
8.8 | 0.0 | |
5 days ago | 2 months ago | |
TypeScript | TypeScript | |
Apache License 2.0 | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
tfjs
-
Machine Learning in NodeJS || Part 1: TensorflowJS Basics
TensorflowJS GitHub Repository
- PyTorch Primitives in WebGPU for the Browser
-
I want to talk about WebGPU
Also, Tensorflow.js WebGPU backend has been in the works for quite some time: https://github.com/tensorflow/tfjs/tree/master/tfjs-backend-...
-
WebGPU Fundamentals
It's a pity that tfjs never truly developed any decent ops. E.g. you need lgamma to implement the cap for zero-inflated poisson regression and tfjs simply doesn't have that: https://github.com/tensorflow/tfjs/issues/2011
-
Chrome Ships WebGPU
People have been doing it for long with WebGL, see eg https://github.com/tensorflow/tfjs and https://cloudblogs.microsoft.com/opensource/2021/09/02/onnx-...
-
How to get rotation (yaw/pitch/roll) from face detection keypoints?
thanks, no not unity, going to show it as a demo with threejs + tensorflow on the web. I found a github request to add face orientation https://github.com/tensorflow/tfjs/issues/3835 looks like they assigned someone to add it but doesn't look like its available yet, but there's some posts about the math I can use to get rotations based on some of the landmarks
-
[P] Supporting neural network inference in web browsers
There already exist a wide variety of neural network inference engines that run in web browsers (e.g. TensorFlow.js and, my personal favorite for use with PyTorch models, ONNX Runtime Web), but pre- and post-processing has always required imperative manipulations on flat buffers rather than a clean ndarray interface.
-
Tensorflow JS model crashing on mobile
Full docs and code: https://github.com/tensorflow/tfjs/tree/master/e2e/benchmarks/local-benchmark
-
I built a react native app to recognize if a food is a hot dog or a "not hot dog", inspired by Mr. Jian-Yang (not Mr. Jian, and not Mr. Yang) from Silicon Valley
In this app I used this dataset and trained a custom image classification model using teachable machine. Then I used expo, tfjs, and tfjs-react-native to build the react native app that feeds the camera stream to the model and renders the inference results.
-
Export as tfjs layers model
I haven't looked deeply in how the tfjs layers model is exported, but from Lobe we make a TensorFlow SavedModel and use that as the basis for conversion for the other formats (I believe we use the official tfjs converter for this: https://github.com/tensorflow/tfjs/tree/master/tfjs-converter).
face-api.js
-
Skinny legend (2017 - 2023)
Then I used face-api.js to find the coordinates of each eye.
-
Desktop app for facial recognition
I already use recognize in my home NAS. It works fine but it's a NextCloud app (it uses tensorflow through face-api.js). I want something portable and easy to use similar to Google Picasa.
-
Sentiment analysis in react native
https://github.com/justadudewhohacks/face-api.js/ This is what used in web, can't find similar for react native.
-
Pico.js, a face-detection library in 200 lines of JavaScript
For those looking to not only detect, but also vectorize faces (for later comparison against other faces) -- face recognition, try out: face-api.js
-
Add Live Speech Bubbles To YouTube Videos with Autobubble
Meanwhile, Lochlann started to work on facial recognition with face-api.js, which was a challenge. Still, the moment he overcame the hurdle and got it working, the team knew it provided many cool opportunities for this project.
-
I wrote a program that sends cats to my phone when I'm sad at the computer
For the record - the author considered these two libraries for face detection: https://github.com/vladmandic/human & https://github.com/justadudewhohacks/face-api.js, he chose "vladmandic/human".
-
How to detect dick pics without relying 3rd party services?
I have used https://github.com/justadudewhohacks/face-api.js/ for facial recognition and it works quite well for a self hosted free option.
-
Do not laugh — A simple AI powered game using TensorFlow.js and Electron
While I was writing some initial code I found that Vincent Mühler had already created a high-level API called face-api.js built upon TensorFlow.js which wraps all the low-level operations and provides a convenient API for common tasks like face recognition and emotion detection. He also provides lots of example code on his GitHub repository so I was able to build my first emotion recognizer within a matter of minutes.
-
[Help Request] Applying a patch to tfjs-core.
I have been using the face-api.js script for a face recognition app, but I have run into a error because of the device we are using to test. A patch supposedly fixes this problem, but I am unsure how to apply it to my webapp.
-
[Help Request] Implementing face recognition on KaiOS
When asking KaiOS developer support, they said that devices use experimental-WebGL instead of WebGL - I'm not sure if this plays a part in the problem. The device I am using can be found here, the github for face-api.js can be found here, and my (currently not working) barebones app can be found here if you want to test it yourself.
What are some alternatives?
kalidokit - Blendshape and kinematics calculator for Mediapipe/Tensorflow.js Face, Eyes, Pose, and Finger tracking models.
human - Human: AI-powered 3D Face Detection & Rotation Tracking, Face Description & Recognition, Body Pose Tracking, 3D Hand & Finger Tracking, Iris Analysis, Age & Gender & Emotion Prediction, Gaze Tracking, Gesture Recognition
webhl - WebHL is a fork of hlviewer.js that uses the File System Access API to load game assets direct from your computer rather than from a server.
lightweight-human-pose-estimation.pytorch - Fast and accurate human pose estimation in PyTorch. Contains implementation of "Real-time 2D Multi-Person Pose Estimation on CPU: Lightweight OpenPose" paper.
examples - TensorFlow examples
face-emotion-recognition - Efficient face emotion recognition in photos and videos
BlazePose-tensorflow - A third-party Tensorflow Implementation for paper "BlazePose: On-device Real-time Body Pose tracking".
openpose - OpenPose: Real-time multi-person keypoint detection library for body, face, hands, and foot estimation
react-native-vision-camera - 📸 A powerful, high-performance React Native Camera library.
firecracker - Secure and fast microVMs for serverless computing.
nexe - 🎉 create a single executable out of your node.js apps
AlphaPose - Real-Time and Accurate Full-Body Multi-Person Pose Estimation&Tracking System