~/talk

Snapchat Filters with Flutter's CustomPainter and MLKit

Talkat Flutter Vikings 2022 · 2022-08-31..09-01· [flutter, computer-vision]
linkedin:poojab26
slides:none on file

Builds a Flutter camera app that uses ML Kit face contours to get eyes, nose and forehead points, then paints props with Flutter Canvas/CustomPainter. Uses the ML Kit sample for detection, computes a tilt angle with basic trigonometry and applies canvas.translate + rotate so a PNG hat follows head rotation; scale by distance is not implemented and placement jitters a bit but is functional. Adds color overlays via canvas.drawColor and exports selfies for sharing.

AI-written summary · about

  1. 0:00Introduction
  2. 2:43Project overview
  3. 6:27Understanding canvas
  4. 11:44Custom painter basics
  5. 22:04Implementing the filter
~/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.