camera_android_camerax 0.5.0+17 copy "camera_android_camerax: ^0.5.0+17" to clipboard
camera_android_camerax: ^0.5.0+17 copied to clipboard

Android implementation of the camera plugin using the CameraX library.

camera_android_camerax #

An Android implementation of camera that uses the CameraX library.

Note: This package is under development, so please note the missing features and limitations, but otherwise feel free to try out the current implementation and provide any feedback by filing issues under flutter/flutter with [camerax] in the title, which will be actively triaged.

Usage #

This package is non-endorsed; the endorsed Android implementation of camera is camera_android. To use this implementation of the plugin instead of camera_android, you will need to specify it in your pubsepc.yaml file as a dependency in addition to camera:

dependencies:
  # ...along with your other dependencies
  camera: ^0.10.4
  camera_android_camerax: ^0.5.0

Missing features and limitations #

240p resolution configuration for video recording #

240p resolution configuration for video recording is unsupported by CameraX, and thus, the plugin will fall back to 480p if configured with a ResolutionPreset.

Locking/Unlocking capture orientation [Issue #125915] #

lockCaptureOrientation & unLockCaptureOrientation are unimplemented.

Torch mode [Issue #120715] #

Calling setFlashMode with mode FlashMode.torch currently does nothing.

Exposure mode, point, & offset configuration [Issue #120468] #

setExposureMode, setExposurePoint, & setExposureOffset are unimplemented.

Focus mode & point configuration [Issue #120467] #

setFocusMode & setFocusPoint are unimplemented.

Zoom configuration [Issue #125371] #

setZoomLevel is unimplemented.

Some video capture functionality [Issue #127896, Issue #126477] #

startVideoCapturing is unimplemented; use startVideoRecording instead. onVideoRecordedEvent is also unimplemented.

Contributing #

For more information on contributing to this plugin, see CONTRIBUTING.md.

49
likes
0
pub points
98%
popularity

Publisher

verified publisherflutter.dev

Android implementation of the camera plugin using the CameraX library.

Repository (GitHub)
View/report issues

Topics

#camera

License

unknown (license)

Dependencies

async, camera_platform_interface, flutter, integration_test, meta, stream_transform

More

Packages that depend on camera_android_camerax