Self-Portraits in JavaScript
summary
A browser app captures webcam frames, freezes them to canvas, and either sends the image blob to cloud endpoints that return rich landmark and attribute JSON or processes them locally with pre-trained models; using TensorFlow.js & face-api.js requires downloading models and taxes the CPU but runs offline, while calling AWS Google Cloud & Azure returns detailed age/gender/smile confidences instantly. The native Shape Detection API is fastest but experimental and buggy behind flags. Neural style transfer via magenta can paint convincing results. The tool works with occasional landmark errors and clear privacy tradeoffs.
AI-written summary · about
chapters (6)
- 0:00Start
- 10:36Web-based Services
- 11:27Shape Detection API (Native)
- 14:39Azure Face API Google Cloud Vision
- 20:41Pure Client-side Approaches
- 30:14Hong Kong Protests
related talks
49mReal Time Face Detection through a Webcam Using AI
39mAI + JavaScript Rocks
51mRealTime Exoskeleton-Mapping and Body Segmentation on the Browser with Tensorflow.js
31mNon-traditional usage of Cloud for Science Art
48mThe Future of Machine Learning & JavaScript
11mAI-powered JavaScript applications
54mDeep Learning in JS
35mHow to AI in JS?
