~/talk

Self-Portraits in JavaScript

Talkat WebCamp Zagreb 2019 · 2019-10-11..10-12· [computer-vision, javascript]
slides:none on file

Three concrete approaches to face work in the browser: Azure/Google Cloud Vision via REST (capture canvas → blob → fetch) returns landmark coordinates plus attributes like age gender and emotion but needs network and latency; face-api.js (TensorFlow) client-side models runs entirely in-browser, detects landmarks and expressions but loads slowly and is CPU‑heavy; OpenCV via WebAssembly is very fast for classic detection; the experimental Shape Detection API in Chromium/Electron is minimal and snappy. Also demos include neural style transfer (Magenta) and a quick privacy caveat.

AI-written summary · about

  1. 0:00Introduction and about me
  2. 2:32What are self-portraits
  3. 3:33Camera obscura and camera lucida
  4. 4:37First attempts at drawing
  5. 5:42Improving the drawing tool
  6. 6:23Adding machine learning
  7. 8:11Facial recognition approaches
  8. 9:54Web-based services demo
  9. 13:53Google Cloud Vision demo
  10. 15:39Pure client-side with face-api.js
  11. 17:03face-api.js demo
  12. 19:05OpenCV.js for detection
  13. 20:50Shape Detection API
  14. 21:33Shape Detection API demo
  15. 23:02Final self-portrait tool
  16. 24:14Emotion-based music player
  17. 24:58Magenta.js neural style transfer
  18. 25:43Privacy and ethical thoughts
  19. 26:04Summary and Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.