opencv_dart 2.1.0
opencv_dart: ^2.1.0 copied to clipboard
OpenCV4 bindings for Flutter, using dart:ffi.
We analyzed this package 2 hours ago, and awarded it 140 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 159835 elements... Initialized dartdoc with 155 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 42.4 seconds ERR: warning: unresolved doc reference [x] from package-opencv_dart: file:///tmp/pana_AACSAT warning: unresolved doc reference [ ] from package-opencv_dart: file:///tmp/pana_AACSAT warning: unresolved doc reference [-squareLength / 2, squareLength / 2, 0] from cv.SOLVEPNP_IPPE_SQUARE: (file:///tmp/analyzerFVOAPW/pub-cache/hosted/20251113t111200-dot-dartlang-pub.appspot.com/dartcv4-2.1.0+1/lib/src/calib3d/calib3d.dart:1661:11) in documentation inherited from cv.SOLVEPNP_IPPE_SQUARE: (file:///tmp/analyzerFVOAPW/pub-cache/hosted/20251113t111200-dot-dartlang-pub.appspot.com/dartcv4-2.1.0+1/lib/src/calib3d/calib3d.dart[...] warning: unresolved doc reference [ squareLength / 2, squareLength / 2, 0] from cv.SOLVEPNP_IPPE_SQUARE: (file:///tmp/analyzerFVOAPW/pub-cache/hosted/20251113t111200-dot-dartlang-pub.appspot.com/dartcv4-2.1.0+1/lib/src/calib3d/calib3d.dart:1661:11) in documentation inherited from cv.SOLVEPNP_IPPE_SQUARE: (file:///tmp/analyzerFVOAPW/pub-cache/hosted/20251113t111200-dot-dartlang-pub.appspot.com/dartcv4-2.1.0+1/lib/src/calib3d/calib3d.dart[...] [30 more lines]
10/10 points: Package has 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 not compatible with platform Web
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/g/videoio.g.dartthat imports:package:dartcv4/src/g/types.g.dartthat imports:dart:ffi
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/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.cn/web/wasm for details.
50/50 points: code has no errors, warnings, lints, or formatting issues
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
dartcv4 |
2.1.0+1 |
2.1.0+1 | 2.1.0+1 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
async |
- | 2.13.0 | 2.13.0 | |
change_case |
- | 2.2.0 | 2.2.0 | |
characters |
- | 1.4.0 | 1.4.1 | |
code_assets |
- | 1.0.0 | 1.0.0 | |
collection |
- | 1.19.1 | 1.19.1 | |
crypto |
- | 3.0.7 | 3.0.7 | |
data_assets |
- | 0.19.6 | 0.19.6 | |
ffi |
- | 2.1.4 | 2.1.4 | |
file |
- | 7.0.1 | 7.0.1 | |
glob |
- | 2.1.3 | 2.1.3 | |
hooks |
- | 1.0.0 | 1.0.0 | |
logging |
- | 1.3.0 | 1.3.0 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.17.0 | 1.17.0 | |
native_toolchain_cmake |
- | 0.2.0 | 0.2.0 | |
path |
- | 1.9.1 | 1.9.1 | |
pub_semver |
- | 2.2.0 | 2.2.0 | |
source_span |
- | 1.10.1 | 1.10.1 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
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.
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.23.1, Flutter 3.38.2, Dart 3.10.0.
Check the analysis log for details.