Dear Developers,
We are happy to announce that 1.2.0-beta01 is released today! There are some exciting features you can enjoy:
New library camera-mlkit-vision enters the first beta version. You can integrate CameraX with many MLKit features, including barcode scanning, face detection, text detection and so on. Please find the sample code here.
New experimental Zero-Shutter Lag API. Optimizes capture pipeline to have better latency while keeping good image quality. When the capture mode is set to CAPTURE_MODE_ZERO_SHUTTER_LAG, the latency between the shutter button is clicked and the picture is taken is expected to be minimized, compared with other capture modes. On devices that don’t support ZERO_SHUTTER_LAG, it’ll fallback to CAPTURE_MODE_MINIMIZE_LATENCY.
Made ImageAnalysis.Analyzer and MLKitAnalyzer as official APIs.
Exposed API for setting location metadata to the saved video.
Rename ImageAnalysis.Analyzer#getTargetResolutionOverride() to ImageAnalysis.Analyzer#getDefaultTargetResolution().
We have more introductions in the blogpost. Please check out the CameraX release note page for detailed changes built into this release. Try it out and report bugs here. Feel free to contact us or file feature requests here.
Thank you for continuing to support CameraX!
CameraX development team