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

OpenCV4 bindings for Flutter, using dart:ffi.

130/ 160
pub points
2.23k
downloads

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

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

Failed check 0/10 points: Provide a valid pubspec.yaml

The package description is too short.

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

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
0 / 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 162871 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 32.2 seconds ERR: warning: unresolved doc reference [-squareLength / 2, squareLength / 2, 0] from cv.SOLVEPNP_IPPE_SQUARE: (file:///tmp/analyzerWSXAVI/pub-cache/hosted/20250904t074800-dot-dartlang-pub.appspot.com/dartcv4-1.1.6/lib/src/calib3d/calib3d.dart:1661:11) in documentation inherited from cv.SOLVEPNP_IPPE_SQUARE: (file:///tmp/analyzerWSXAVI/pub-cache/hosted/20250904t074800-dot-dartlang-pub.appspot.com/dartcv4-1.1.6/lib/src/calib3d/calib3d.dart:1[...] warning: unresolved doc reference [ squareLength / 2, squareLength / 2, 0] from cv.SOLVEPNP_IPPE_SQUARE: (file:///tmp/analyzerWSXAVI/pub-cache/hosted/20250904t074800-dot-dartlang-pub.appspot.com/dartcv4-1.1.6/lib/src/calib3d/calib3d.dart:1661:11) in documentation inherited from cv.SOLVEPNP_IPPE_SQUARE: (file:///tmp/analyzerWSXAVI/pub-cache/hosted/20250904t074800-dot-dartlang-pub.appspot.com/dartcv4-1.1.6/lib/src/calib3d/calib3d.dart:1[...] warning: unresolved doc reference [ squareLength / 2, -squareLength / 2, 0] from cv.SOLVEPNP_IPPE_SQUARE: (file:///tmp/analyzerWSXAVI/pub-cache/hosted/20250904t074800-dot-dartlang-pub.appspot.com/dartcv4-1.1.6/lib/src/calib3d/calib3d.dart:1661:11) in documentation inherited from cv.SOLVEPNP_IPPE_SQUARE: (file:///tmp/analyzerWSXAVI/pub-cache/hosted/20250904t074800-dot-dartlang-pub.appspot.com/dartcv4-1.1.6/lib/src/calib3d/calib3d.dart:1[...] warning: unresolved doc reference [-squareLength / 2, -squareLength / 2, 0] [26 more lines]

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add 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

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

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

Package Constraint Compatible Latest Notes
dartcv4 1.1.6 1.1.6 1.1.8
Transitive dependencies
Package Constraint Compatible Latest Notes
characters - 1.4.0 1.4.1
collection - 1.19.1 1.19.1
ffi - 2.1.4 2.1.4
material_color_utilities - 0.11.1 0.13.0
meta - 1.16.0 1.17.0
path - 1.9.1 1.9.1
source_span - 1.10.1 1.10.1
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
vector_math - 2.2.0 2.2.0
yaml - 3.1.3 3.1.3

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

The constraint `1.1.6` on dartcv4 does not support the stable version `1.1.7`, that was published 20 days ago.

When dartcv4 is 30 days old, this package will no longer be awarded points in this category.

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.22, Flutter 3.35.2, Dart 3.9.0.

Check the analysis log for details.

Weekly downloads

Display as:
By versions: