opencv_dart 1.4.1 copy "opencv_dart: ^1.4.1" to clipboard
opencv_dart: ^1.4.1 copied to clipboard

OpenCV4 bindings for Flutter, using dart:ffi. This plugin include `videoio` module, if you don't need it, please use `opencv_core` instead.

91
likes
150/ 160
pub points
2.27k
downloads

We analyzed this package 2 days ago, and awarded it 150 pub points (of a possible 160):

Passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Passed check 10/10 points: Provide a valid pubspec.yaml

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: Apache-2.0.

Failed report section
Provide documentation
10 / 20trigger folding of the section

Failed check 0/10 points: 20% or more of the public API has dartdoc comments

OUT: Documenting opencv_dart... Discovering libraries... Linking elements... Precaching local docs for 160493 elements... Initialized dartdoc with 152 libraries Generating docs for library opencv.dart from package:opencv_dart/opencv.dart... Generating docs for library opencv_dart.dart from package:opencv_dart/opencv_dart.dart... Documented 2 public libraries in 39.2 seconds ERR: warning: unresolved doc reference [-squareLength / 2, squareLength / 2, 0] from cv.SOLVEPNP_IPPE_SQUARE: (file:///tmp/analyzerNVPLKS/pub-cache/hosted/20250327t095100-dot-dartlang-pub.appspot.com/dartcv4-1.1.3/lib/src/calib3d/calib3d.dart:1747:11) in documentation inherited from cv.SOLVEPNP_IPPE_SQUARE: (file:///tmp/analyzerNVPLKS/pub-cache/hosted/20250327t095100-dot-dartlang-pub.appspot.com/dartcv4-1.1.3/lib/src/calib3d/calib3d.dart:1[...] warning: unresolved doc reference [ squareLength / 2, squareLength / 2, 0] from cv.SOLVEPNP_IPPE_SQUARE: (file:///tmp/analyzerNVPLKS/pub-cache/hosted/20250327t095100-dot-dartlang-pub.appspot.com/dartcv4-1.1.3/lib/src/calib3d/calib3d.dart:1747:11) in documentation inherited from cv.SOLVEPNP_IPPE_SQUARE: (file:///tmp/analyzerNVPLKS/pub-cache/hosted/20250327t095100-dot-dartlang-pub.appspot.com/dartcv4-1.1.3/lib/src/calib3d/calib3d.dart:1[...] warning: unresolved doc reference [ squareLength / 2, -squareLength / 2, 0] from cv.SOLVEPNP_IPPE_SQUARE: (file:///tmp/analyzerNVPLKS/pub-cache/hosted/20250327t095100-dot-dartlang-pub.appspot.com/dartcv4-1.1.3/lib/src/calib3d/calib3d.dart:1747:11) in documentation inherited from cv.SOLVEPNP_IPPE_SQUARE: (file:///tmp/analyzerNVPLKS/pub-cache/hosted/20250327t095100-dot-dartlang-pub.appspot.com/dartcv4-1.1.3/lib/src/calib3d/calib3d.dart:1[...] warning: unresolved doc reference [-squareLength / 2, -squareLength / 2, 0] [26 more lines]

Passed check 10/10 points: Package has an example

Failed report section
Platform support
20 / 20trigger folding of the section

Passed check 20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

These platforms are not supported:

Package does not support platform `Web`.

Because:

  • package:opencv_dart/opencv_dart.dart that declares support for platforms: Android, iOS, Windows, Linux, macOS.

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:opencv_dart/opencv_dart.dart that imports:
  • package:opencv_dart/opencv.dart that imports:
  • package:dartcv4/videoio.dart that imports:
  • package:dartcv4/src/videoio/videoio_async.dart that imports:
  • package:dartcv4/src/videoio/videoio.dart that imports:
  • package:dartcv4/src/native_lib.dart that imports:
  • package:dartcv4/src/g/videoio.g.dart that imports:
  • package:dartcv4/src/g/types.g.dart that imports:
  • dart:ffi

This package is not compatible with runtime wasm, and will not be rewarded full points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

Passed report section
Pass static analysis
50 / 50trigger folding of the section

Passed check 50/50 points: code has no errors, warnings, lints, or formatting issues

Passed report section
Support up-to-date dependencies
40 / 40trigger folding of the section

Passed check 10/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest Notes
dartcv4 1.1.3 1.1.3 1.1.3
Transitive dependencies
Package Constraint Compatible Latest Notes
characters - 1.4.0 1.4.0
collection - 1.19.1 1.19.1
ffi - 2.1.4 2.1.4
material_color_utilities - 0.11.1 0.12.0
meta - 1.16.0 1.16.0
vector_math - 2.1.4 2.1.4

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.20, Flutter 3.29.2, Dart 3.7.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
Jun 28Jul 26Aug 23Sep 20Oct 18Nov 15Dec 13Jan 10Feb 7Mar 70100200300400500600>=0.0.0-0 <1.0.0>=1.0.0-0 <2.0.0>=2.0.0-0 <3.0.0
91
likes
150
points
2.27k
downloads

Publisher

verified publisherrainyl.dev

Weekly Downloads

2024.09.13 - 2025.03.28

OpenCV4 bindings for Flutter, using dart:ffi. This plugin include `videoio` module, if you don't need it, please use `opencv_core` instead.

Homepage
Repository (GitHub)
Contributing

Topics

#opencv #image #ffi #flutter

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

dartcv4, flutter

More

Packages that depend on opencv_dart