dartcv_core 0.0.1-dev.2 copy "dartcv_core: ^0.0.1-dev.2" to clipboard
dartcv_core: ^0.0.1-dev.2 copied to clipboard

[core] OpenCV4 bindings for Dart language and Flutter, using dart:ffi. The most complete OpenCV bindings for Dart! With asynchronous support now!

140/ 160
pub points
29
downloads

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

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

Partially passed check 10/10 points: Provide a valid pubspec.yaml

Homepage URL doesn't exist.

At the time of the analysis https://github.com/rainyl/opencv_dart/pkgs/dartcv_core was unreachable. Make sure that the website is reachable via HEAD requests.

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

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

900 out of 3844 API elements (23.4 %) have documentation comments.

Some symbols that are missing documentation: cv.core, cv.core.ADAPTIVE_THRESH_GAUSSIAN_C, cv.core.ADAPTIVE_THRESH_MEAN_C, cv.core.AKAZE.AKAZE.fromPointer, cv.core.AKAZE.dispose.

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 not compatible with platform Web

Because:

  • package:dartcv_core/dartcv_core.dart that imports:
  • package:dartcv_core/src/video/video_async.dart that imports:
  • package:dartcv_core/src/video/video.dart that imports:
  • package:dartcv_core/src/native_lib.dart that imports:
  • package:dartcv_core/src/g/core.g.dart that imports:
  • package:dartcv_core/src/g/types.g.dart that imports:
  • dart:ffi

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:dartcv_core/dartcv_core.dart that imports:
  • package:dartcv_core/src/video/video_async.dart that imports:
  • package:dartcv_core/src/video/video.dart that imports:
  • package:dartcv_core/src/native_lib.dart that imports:
  • package:dartcv_core/src/g/core.g.dart that imports:
  • package:dartcv_core/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.

Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

Partially passed check 40/50 points: code has no errors, warnings, lints, or formatting issues

Found 61 issues. Showing the first 2:

INFO: 'asPoint' is deprecated and shouldn't be used. use toPoint() instead.

lib/src/contrib/ximgproc.dart:741:76

    ╷
741 │     cvRun(() => cffi.ximgproc_rl_dilate(rlSrc.ref, p, rlKernel.ref, anchor.asPoint.ref));
    │                                                                            ^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/contrib/ximgproc.dart

INFO: 'asPoint' is deprecated and shouldn't be used. use toPoint() instead.

lib/src/contrib/ximgproc.dart:751:75

    ╷
751 │             cffi.ximgproc_rl_dilate_Async(rlSrc.ref, rlKernel.ref, anchor.asPoint.ref, callback),
    │                                                                           ^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/contrib/ximgproc.dart

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
ffi ^2.1.3 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.23.0, Dart 3.9.4.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
140
points
29
downloads

Publisher

unverified uploader

Weekly Downloads

[core] OpenCV4 bindings for Dart language and Flutter, using dart:ffi. The most complete OpenCV bindings for Dart! With asynchronous support now!

Homepage

Topics

#opencv #image #ffi #flutter

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

ffi

More

Packages that depend on dartcv_core