Easy Android camera integration, advanced features.
output format
instead of ImageReader::class
to fetch list of supported output sizes from StreamConfigurationMap
. This was a bug as when fetching this list using ImageReader class, it only returns list for ImageFormat.PRIVATE
which might be different than actual output format.external
in xml and Modes.Facing.FACING_EXTERNAL
for in code usage. This facing open any external camera available and falls back to Modes.Facing.FACING_BACK
if there is no external cameraNew apis:
Updated apis:
Decide orientation based on aspect ratio. For eg., x:y (landscape) and y:x (portrait) now generates different preview/output orientation independent of device/screen orientation.
Improve image processing for RGBA_8888 format outputs
Use Google's exif implementation as a part of library to avoid external dependency on support ExifInterface lib
Support custom sized continuous frames and single captures different from aspect ratio and best/highest size
Bug fixes
Performance and stability improvements
android.hardware.camera2
not required in manifest to avoid device limitation on play store.