ocr_data_extractor 0.0.28-dev
ocr_data_extractor: ^0.0.28-dev copied to clipboard
A Flutter package uses ocrkit mapped output to process and extract values. Image texts extracted and processed to return the special data wanted. Just pass the image path to the chosen function.
We analyzed this package 7 days ago, and awarded it 130 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
The package description is too long.
Search engines display only the first part of the description. Try to keep the value of the description field in your package's pubspec.yaml file between 60 and 180 characters.
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: MIT.
10/10 points: 20% or more of the public API has dartdoc comments
28 out of 63 API elements (44.4 %) have documentation comments.
Some symbols that are missing documentation: classes, classes.OCRPassenger, classes.OCRPassenger.OCRPassenger.new, classes.OCRPassenger.bag, classes.OCRPassenger.name.
10/10 points: Package has an example
20/20 points: Supports 2 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
These platforms are not supported:
Package does not support platform `Windows`.
Because:
package:ocr_data_extractor/ocr_data_extractor.dartthat imports:package:artemis_camera_kit/artemis_camera_kit_platform_interface.dartthat declares support for platforms:Android,iOS.
Package does not support platform `Linux`.
Because:
package:ocr_data_extractor/ocr_data_extractor.dartthat imports:package:artemis_camera_kit/artemis_camera_kit_platform_interface.dartthat declares support for platforms:Android,iOS.
Package does not support platform `macOS`.
Because:
package:ocr_data_extractor/ocr_data_extractor.dartthat imports:package:artemis_camera_kit/artemis_camera_kit_platform_interface.dartthat declares support for platforms:Android,iOS.
Package does not support platform `Web`.
Because:
package:ocr_data_extractor/ocr_data_extractor.dartthat imports:package:artemis_camera_kit/artemis_camera_kit_platform_interface.dartthat declares support for platforms:Android,iOS.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:ocr_data_extractor/ocr_data_extractor.dartthat imports:package:artemis_camera_kit/artemis_camera_kit_platform_interface.dartthat imports:package:artemis_camera_kit/artemis_camera_kit_method_channel.dartthat imports:dart:io
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.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 24 issues. Showing the first 2:
INFO: Don't invoke 'print' in production code.
lib/ocr_data_extractor.dart:82:5
╷
82 │ print("orientation: " + ocrData.orientation.toString());
│ ^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/ocr_data_extractor.dart
INFO: Don't invoke 'print' in production code.
lib/ocr_data_extractor.dart:83:5
╷
83 │ print("data: " + ocrData.toJson().toString());
│ ^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/ocr_data_extractor.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
artemis_camera_kit |
^0.0.2 |
0.0.13 | 0.0.13 | |
string_similarity |
^2.0.0 |
2.1.1 | 2.1.1 | |
string_validator |
^0.3.0 |
0.3.0 | 1.2.0 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
archive |
- | 4.0.7 | 4.0.7 | |
characters |
- | 1.4.0 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
crypto |
- | 3.0.7 | 3.0.7 | |
ffi |
- | 2.1.4 | 2.1.4 | |
image |
- | 4.5.4 | 4.5.4 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.16.0 | 1.17.0 | |
path |
- | 1.9.1 | 1.9.1 | |
petitparser |
- | 7.0.1 | 7.0.1 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
posix |
- | 6.0.3 | 6.0.3 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
visibility_detector |
- | 0.4.0+2 | 0.4.0+2 | |
xml |
- | 6.6.1 | 6.6.1 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^0.3.0` on string_validator does not support the stable version `1.0.0`.
Try running dart pub upgrade --major-versions string_validator 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.23.1, Flutter 3.35.7, Dart 3.9.2.
Check the analysis log for details.