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!

0
likes
130/ 160
pub points
41
downloads

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

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

0/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.

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.

failed
Provide documentation
10 / 20trigger folding of the section

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

900 out of 3812 API elements (23.6 %) 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.

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

failed
Platform support
20 / 20trigger folding of the section

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

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.

partial
Pass static analysis
40 / 50trigger folding of the section

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

Found 60 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

OK
Support up-to-date dependencies
40 / 40trigger folding of the section

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

Package Constraint Compatible Latest
ffi ^2.1.3 2.1.3 2.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.22.17, Dart 3.6.0.

Check the analysis log for details.

0
likes
130
points
41
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
Repository (GitHub)
View/report issues

Topics

#opencv #image #ffi #flutter

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

ffi

More

Packages that depend on dartcv_core