opencv_dart 1.4.3
opencv_dart: ^1.4.3 copied to clipboard
OpenCV4 bindings for Flutter, using dart:ffi.
We analyzed this package 2 days ago, and awarded it 120 pub points (of a possible 160):
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.
5/5 points: Provide a valid README.md
5/5 points: Provide a valid CHANGELOG.md
10/10 points: Use an OSI-approved license
Detected license: Apache-2.0.
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 162872 elements... Initialized dartdoc with 152 libraries Generating docs for library opencv_dart.dart from package:opencv_dart/opencv_dart.dart... Generating docs for library opencv.dart from package:opencv_dart/opencv.dart... Documented 2 public libraries in 43.6 seconds ERR: warning: unresolved doc reference [-squareLength / 2, squareLength / 2, 0] from cv.SOLVEPNP_IPPE_SQUARE: (file:///tmp/analyzerLYSTJL/pub-cache/hosted/20251017t101000-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/analyzerLYSTJL/pub-cache/hosted/20251017t101000-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/analyzerLYSTJL/pub-cache/hosted/20251017t101000-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/analyzerLYSTJL/pub-cache/hosted/20251017t101000-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/analyzerLYSTJL/pub-cache/hosted/20251017t101000-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/analyzerLYSTJL/pub-cache/hosted/20251017t101000-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]
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
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.dartthat declares support for platforms:Android,iOS,Windows,Linux,macOS.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:opencv_dart/opencv_dart.dartthat imports:package:opencv_dart/opencv.dartthat imports:package:dartcv4/videoio.dartthat imports:package:dartcv4/src/videoio/videoio_async.dartthat imports:package:dartcv4/src/videoio/videoio.dartthat imports:package:dartcv4/src/native_lib.dartthat imports:package:dartcv4/src/g/videoio.g.dartthat imports:package:dartcv4/src/g/types.g.dartthat 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.
50/50 points: code has no errors, warnings, lints, or formatting issues
0/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`.
Try running dart pub upgrade --major-versions dartcv4 to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade does not expose any static analysis error.
Analyzed with Pana 0.22.24, Flutter 3.35.5, Dart 3.9.2.
Check the analysis log for details.