node-canvas
face-api.js
node-canvas | face-api.js | |
---|---|---|
22 | 18 | |
9,908 | 16,112 | |
0.6% | - | |
5.7 | 0.0 | |
9 days ago | 3 months ago | |
JavaScript | TypeScript | |
- | 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.
node-canvas
-
2024 Web Development Wish List
Assuming SWR (stale while revalidate) is working, we could definitely use the ability to edit images in workers. We would need support for node canvas or something similar.
-
Skinny legend (2017 - 2023)
So at this point, I have all the images and the data required to align the images. I used node-canvas to do that. So here's how I aligned the images:
-
ECharts for Python
ECharts was originally a Baidu project, released under https://github.com/ecomfe/echarts (ecomfe = "E-commerce frontend"?). They still maintain some of the auxiliary libraries.
I've been using it since around ... 2018-ish[0]? ... as a replacement for Google Charts. It was my first time using a big library from one of the Chinese tech giants -- basic docs and tutorials in English, then all the advanced stuff (and comments) written in Chinese. I was impressed by how comprehensive the charts library was, and how they'd obviously invested a lot of brainwork into the configuration system. IMO it's one of the highest-quality data visualization libraries in JavaScript unless you're willing to dive deep into something like d3.js.
The blog post's author describes running echarts in a headless Chrome, though, which seems insane to me. It's JavaScript rendering to a -- can't it run in Node with https://github.com/Automattic/node-canvas ?
[0] A small publicly-accessible example: https://john-millikin.com/reddit-front-page-2018#by-domain
-
Unify Protect Homebridge Plugin
node-pre-gyp ERR! install response status 404 Not Found on https://github.com/Automattic/node-canvas/releases/download/v2.11.0/canvas-v2.11.0-node-v93-darwin-unknown-arm64.tar.gz
-
Social Media Cards with @vercel/og
Another approach is it to create a background image and insert the texts and the metadata with a canvas library like node-canvas. This approach is very well described in this Learn With Jason episode. But with a canvas library we have to specify on which coordinates we want to render our texts and it does not wrap automatically if it becomes to long.
-
Is there a simple way to draw a box on a JPG?
Never used it but probably this: https://github.com/Automattic/node-canvas
-
Lambda keeps consuming more and more memory until it kills it self
I found this issue: https://github.com/Automattic/node-canvas/issues/1974 and somebody commented with a link about node buffers. So I decided to test these parts.
-
best way to generate image on server
Some popular Node.js libraries for manipulating images are node-canvas and sharp.
-
BEGINNER PROJECT - How to parse a .txt and create .png files from each line?
node.js + imagemagick + node canvas + node canvas libraries (depends on your OS)
-
The tech behind creating your own 'Spotify Wrapped' style campaign in 2022
If you want to go the same route check out the node-canvas library from the Automattic folks. That essentially lets you use the Browser Canvas API for drawing (but server side instead of in the browser).
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
https://github.com/justadudewhohacks/face-api.js/
-
Eye tracking in Processing?
I saw something similar which used P5.js alongside the face-api.js package.
-
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.
-
Are You You? An art project that lets you experience how large scale face recognition systems could harm society
That's where the problem with your line of thought occurs. I have no relation to that algorithm or its maker(s). It's just a publicly available AI model that a lot of people use.
What are some alternatives?
canvas - High performance skia binding to Node.js. Zero system dependencies and pure npm packages without any postinstall scripts nor node-gyp.
kalidokit - Blendshape and kinematics calculator for Mediapipe/Tensorflow.js Face, Eyes, Pose, and Finger tracking models.
puppeteer - Node.js API for Chrome
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
vercel - Develop. Preview. Ship.
tfjs - A WebGL accelerated JavaScript library for training and deploying ML models.
napi-rs - A framework for building compiled Node.js add-ons in Rust via Node-API
examples - TensorFlow examples
cryptopunk-nft-generator
face-emotion-recognition - Efficient face emotion recognition in photos and videos
urix - [DEPRECATED] Makes Windows-style paths more unix and URI friendly.
react-native-vision-camera - 📸 A powerful, high-performance React Native Camera library.