flutter_opencv 0.0.3

  • README.md
  • CHANGELOG.md
  • Example
  • Installing
  • Versions
  • 78

OpenCV Bindings for Flutter #

Project license Pub package Dartdoc reference Travis CI build status

Compatibility #

Android only, at present.

Reference #

opencv #

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

Cross-Reference #

C++Flutter
cv::Mat_<T>cv.Mat<T>
cv::Mat1bcv.Mat1b
cv::Mat1dcv.Mat1d
cv::Mat1fcv.Mat1f
cv::Mat1icv.Mat1i
cv::Point_<T>cv.Point<T>
cv::Point2dcv.Point2d
cv::Point3_<T>cv.Point3<T>
cv::Point3dcv.Point3d
cv::Rangecv.Range
cv::Rect_<T>cv.Rect<T>
cv::Rectcv.Rect2i
cv::Rect2dcv.Rect2d
cv::Rect2icv.Rect2i
cv::Scalarcv.Scalar
cv::Size_<T>cv.Size<T>
cv::Size2dcv.Size2d
cv::getBuildInformationcv.buildInformation
cv::getVersionStringcv.versionString

Changelog #

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

example/README.md

flutter_opencv_example #

Demonstrates how to use the flutter_opencv plugin.

Getting Started #

For help getting started with Flutter, view our online documentation.

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:


dependencies:
  flutter_opencv: ^0.0.3

2. Install it

You can install packages from the command line:

with Flutter:


$ flutter packages get

Alternatively, your editor might support flutter packages get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:


import 'package:flutter_opencv/opencv.dart';
  
Version Uploaded Documentation Archive
0.0.3 Nov 21, 2018 Go to the documentation of flutter_opencv 0.0.3 Download flutter_opencv 0.0.3 archive
0.0.2 Nov 15, 2018 Go to the documentation of flutter_opencv 0.0.2 Download flutter_opencv 0.0.2 archive
0.0.1 Nov 6, 2018 Go to the documentation of flutter_opencv 0.0.1 Download flutter_opencv 0.0.1 archive
Popularity:
Describes how popular the package is relative to other packages. [more]
69
Health:
Code health derived from static analysis. [more]
100
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
70
Overall:
Weighted score of the above. [more]
78
Learn more about scoring.

We analyzed this package on Mar 6, 2019, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.2.0
  • pana: 0.12.14
  • Flutter: 1.3.3

Platforms

Detected platforms: Flutter

References Flutter, and has no conflicting libraries.

Health suggestions

Fix lib/src/core/mat.dart. (-0.50 points)

Analysis of lib/src/core/mat.dart reported 1 hint:

line 3 col 8: Unused import: 'dart:typed_data'.

Format lib/src/core/point.dart.

Run flutter format to format lib/src/core/point.dart.

Format lib/src/core/point3.dart.

Run flutter format to format lib/src/core/point3.dart.

Fix additional 4 files with analysis or formatting issues.

Additional issues in the following files:

  • lib/src/core/range.dart (Run flutter format to format lib/src/core/range.dart.)
  • lib/src/core/rect.dart (Run flutter format to format lib/src/core/rect.dart.)
  • lib/src/core/scalar.dart (Run flutter format to format lib/src/core/scalar.dart.)
  • lib/src/core/size.dart (Run flutter format to format lib/src/core/size.dart.)

Maintenance suggestions

The package description is too short. (-20 points)

Add more detail to the description field of pubspec.yaml. Use 60 to 180 characters to describe the package, what it does, and its target use case.

Package is pre-v0.1 release. (-10 points)

While nothing is inherently wrong with versions of 0.0.*, it might mean that the author is still experimenting with the general direction of the API.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.0.0 <3.0.0
flutter 0.0.0
flutter_android ^0.1.9 0.1.14 0.3.6
meta ^1.1.6 1.1.6 1.1.7
vector_math ^2.0.8 2.0.8
Transitive dependencies
collection 1.14.11
platform 2.2.0
sky_engine 0.0.99
typed_data 1.1.6
Dev dependencies
flutter_test
test >=1.3.4 <2.0.0