flutter_tflite_image_classification_engine 0.0.2
flutter_tflite_image_classification_engine: ^0.0.2 copied to clipboard
A lightweight Flutter package for running **TensorFlow Lite image classification** with custom `.tflite` models and label files.
We analyzed this package 20 hours ago, and awarded it 130 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
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.
0/10 points: 20% or more of the public API has dartdoc comments
32 out of 202 API elements (15.8 %) have documentation comments.
Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.
To highlight public API members missing documentation consider enabling the public_member_api_docs lint.
Some symbols that are missing documentation: flutter_tflite_image_classification_engine, flutter_tflite_image_classification_engine.BytesImageInput, flutter_tflite_image_classification_engine.BytesImageInput.BytesImageInput.new, flutter_tflite_image_classification_engine.BytesImageInput.bytes, flutter_tflite_image_classification_engine.BytesImageInput.readBytes.
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 does not support platform `Web`.
Because:
package:flutter_tflite_image_classification_engine/flutter_tflite_image_classification_engine.dartthat imports:package:tflite_flutter/tflite_flutter.dartthat declares support for platforms:Android,iOS,Windows,Linux,macOS.
40/50 points: code has no errors, warnings, lints, or formatting issues
INFO: Library names are not necessary.
lib/flutter_tflite_image_classification_engine.dart:1560:9
╷
1560 │ library flutter_tflite_image_classification_engine;
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/flutter_tflite_image_classification_engine.dart
INFO: The import of 'dart:typed_data' is unnecessary because all of the used elements are also provided by the import of 'package:flutter/foundation.dart'.
lib/flutter_tflite_image_classification_engine.dart:1565:8
╷
1565 │ import 'dart:typed_data';
│ ^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/flutter_tflite_image_classification_engine.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
image |
^4.5.4 |
4.10.1 | 4.10.1 | |
tflite_flutter |
^0.11.0 |
0.11.0 | 0.12.1 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
archive |
- | 4.3.0 | 4.3.0 | |
async |
- | 2.13.1 | 2.13.1 | |
boolean_selector |
- | 2.1.2 | 2.1.2 | |
characters |
- | 1.4.1 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
ffi |
- | 2.2.0 | 2.2.0 | |
matcher |
- | 0.12.20 | 0.12.20 | |
material_color_utilities |
- | 0.13.0 | 0.13.1 | |
meta |
- | 1.19.0 | 1.19.0 | |
path |
- | 1.9.1 | 1.9.1 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
posix |
- | 6.5.2 | 6.5.2 | |
quiver |
- | 3.2.2 | 3.2.2 | |
source_span |
- | 1.10.2 | 1.10.2 | |
stack_trace |
- | 1.12.2 | 1.12.2 | |
stream_channel |
- | 2.1.4 | 2.1.4 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
test_api |
- | 0.7.14 | 0.7.14 | |
vector_math |
- | 2.4.3 | 2.4.3 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^0.11.0` on tflite_flutter does not support the stable version `0.12.0`.
Try running dart pub upgrade --major-versions tflite_flutter 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.19, Flutter 3.47.4, Dart 3.13.3.
Check the analysis log for details.