Flutter plugin for the device cameras
open sourceBSD-3-Clausefree
camera is the Flutter team's plugin for using a device's cameras from a Flutter app on Android, iOS and the web. It shows a live camera preview in a widget, captures photos to a file, records video and streams image buffers to Dart. On Android it uses a CameraX-based implementation by default, with a Camera2 one available instead.
Problems it solves
- show a camera preview and take a photo in my Flutter app
- record video from the phone camera in Flutter
- process camera frames in Dart for scanning
Features
- live camera preview widget
- capture photos to a file
- record video
- stream image buffers to Dart
- CameraX implementation on Android by default
Alternatives
The same job
These do what camera does.
- image_picker Flutter plugin for picking photos and videos from the gallery or the camera
- Flutter Packages Flutter's first-party packages and plugins, maintained by the Flutter team
- image_cropper Flutter plugin for cropping and rotating images on Android, iOS and the web
