This library is designed to enable Computer Vision in a Flutter application by means of a Rust back-end native library.
This package is, for now, under heavy development and highly unstable.
- Convert Flutter camera images to RGB or grayscale.
- Perform optic flow calculations to estimate trajectory.
- This package assumes use of the camera plugin.
import 'package:flutter_vision/flutter_vision.dart';
dependencies:
flutter_vision:
git: https://github.com/gjf2a/flutter_vision- Copy the Android Native Libraries to
android/app/src/main/jniLibs. - So far, I have built
aarch64-linux-androidandarmv7-linux-androideabi. I will build others as the need arises. - The ultimate goal is to find a way to package these automatically, but I haven't figured out how to do that as of yet.
So far, I have not yet compiled the Rust code for iOS, so this is a work-in-progress.
TODO: Include short and useful examples for package users. Add longer examples
to /example folder.
const like = 'sample';TODO: Tell users more about the package: where to find more information, how to contribute to the package, how to file issues, what response they can expect from the package authors, and more.