~/talk

Building Camera Features in a Snap

Talkat droidcon NYC 2017 · 2017-09-25..09-26· [computer-vision, android]
links:none on file
slides:none on file

Targets Camera2-only apps and shows code that reads YUV_420_888 previews (1920×1080 ≈ 3 MB) instead of RGB888 (6 MB), implements kernel convolution and a Sobel-based edge detector, then runs a Hough transform to find four card edges and confirm a debit card on screen. Performance wins come from no copying of byte arrays, reusing buffers, inlining hot kernels (Kotlin inline), and splitting camera code into a library plus a small sample app for fast iteration and visual unit tests.

AI-written summary · about

  1. 0:00Introduction to camera features
  2. 1:12Camera intent approach
  3. 2:38Building camera from scratch
  4. 3:20How camera hardware works
  5. 4:46Understanding color formats
  6. 9:20YUV color format explained
  7. 12:34Camera APIs overview
  8. 16:28Image processing basics
  9. 18:56Kernels and edge detection
  10. 22:03Hough transform for line detection
  11. 25:14Optimizing frame processing
  12. 28:12Quick iteration techniques
  13. 29:56Testing and debugging tips
~/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.