/flutter_opencv

OpenCV bindings plugin for Flutter apps [work in progress]

Primary LanguageDartThe UnlicenseUnlicense

OpenCV Bindings for Flutter

Project license Pub package Dartdoc reference Travis CI build status Liberapay patrons

This is a Flutter plugin that bundles and wraps the OpenCV computer-vision library for Java.

Contribute to the plugin - Getting Started

  1. Clone or fork the project, flutter_opencv.
  2. Open flutter_opencv in Android studio and wait for complete loading, from here you will modify Dart code.
  3. From the Studio window click on file -> open -> select flutter_opencv/example/android folder and open it in a new window, from here you will modify Android code.
  4. Open a terminal and cd in the base flutter_opencv folder.
    flutter clean
    flutter packages pub run build_runner clean
    flutter packages get
    flutter packages pub run build_runner build --delete-conflicting-outputs

Features

TODO

Compatibility

Android only, at present.

Reference

import 'package:flutter_opencv/opencv.dart' as cv;

Cross-Reference

C++ Flutter
cv::Mat_<T> cv.Mat<T>
cv::Mat1b cv.Mat1b
cv::Mat1d cv.Mat1d
cv::Mat1f cv.Mat1f
cv::Mat1i cv.Mat1i
cv::Point_<T> cv.Point<T>
cv::Point2d cv.Point2d
cv::Point3_<T> cv.Point3<T>
cv::Point3d cv.Point3d
cv::Range cv.Range
cv::Rect_<T> cv.Rect<T>
cv::Rect cv.Rect
cv::Rect2d cv.Rect2d
cv::Rect2i cv.Rect2i
cv::Scalar cv.Scalar
cv::Size_<T> cv.Size<T>
cv::Size2d cv.Size2d
cv::getBuildInformation cv.buildInformation
cv::getVersionString cv.versionString