"Processing camera input on Android"
summary
Demonstrates using CameraX + ML Kit (Firebase) to scan barcodes, recognize text and run AutoML image labeling on-device, with working code for preview, analyzer binding and model download; notes CameraX is alpha (mentions alpha-5), analyzer callbacks must be synchronous so you must use acquireLatestImage or setImageQueueDepth for parallelism, and gives a matrix-based preview transform that crops to avoid skewed viewfinder; supplies a blog post and runnable snippets that the demo shows working.
AI-written summary · about
