opencv_dart 1.4.0 copy "opencv_dart: ^1.4.0" to clipboard
opencv_dart: ^1.4.0 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.

96
likes
140/ 160
pub points
1.85k
downloads

We analyzed this package 2 days ago, and awarded it 140 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 160423 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 44.2 seconds ERR: warning: unresolved doc reference [-squareLength / 2, squareLength / 2, 0] from cv.SOLVEPNP_IPPE_SQUARE: (file:///tmp/analyzerYHYTKL/pub-cache/hosted/20250403t085600-dot-dartlang-pub.appspot.com/dartcv4-1.1.2/lib/src/calib3d/calib3d.dart:1747:11) in documentation inherited from cv.SOLVEPNP_IPPE_SQUARE: (file:///tmp/analyzerYHYTKL/pub-cache/hosted/20250403t085600-dot-dartlang-pub.appspot.com/dartcv4-1.1.2/lib/src/calib3d/calib3d.dart:1[...] warning: unresolved doc reference [ squareLength / 2, squareLength / 2, 0] from cv.SOLVEPNP_IPPE_SQUARE: (file:///tmp/analyzerYHYTKL/pub-cache/hosted/20250403t085600-dot-dartlang-pub.appspot.com/dartcv4-1.1.2/lib/src/calib3d/calib3d.dart:1747:11) in documentation inherited from cv.SOLVEPNP_IPPE_SQUARE: (file:///tmp/analyzerYHYTKL/pub-cache/hosted/20250403t085600-dot-dartlang-pub.appspot.com/dartcv4-1.1.2/lib/src/calib3d/calib3d.dart:1[...] warning: unresolved doc reference [ squareLength / 2, -squareLength / 2, 0] from cv.SOLVEPNP_IPPE_SQUARE: (file:///tmp/analyzerYHYTKL/pub-cache/hosted/20250403t085600-dot-dartlang-pub.appspot.com/dartcv4-1.1.2/lib/src/calib3d/calib3d.dart:1747:11) in documentation inherited from cv.SOLVEPNP_IPPE_SQUARE: (file:///tmp/analyzerYHYTKL/pub-cache/hosted/20250403t085600-dot-dartlang-pub.appspot.com/dartcv4-1.1.2/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

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

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

Package Constraint Compatible Latest Notes
dartcv4 1.1.2 1.1.2 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.5

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

The constraint `1.1.2` on dartcv4 does not support the stable version `1.1.3`.

Try running dart pub upgrade --major-versions dartcv4 to update the constraint.

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:
96
likes
140
points
1.85k
downloads

Publisher

verified publisherrainyl.dev

Weekly Downloads

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)
View/report issues
Contributing

Topics

#opencv #image #ffi #flutter

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

dartcv4, flutter

More

Packages that depend on opencv_dart