portrait_validator_and_enhancer 1.0.3
portrait_validator_and_enhancer: ^1.0.3 copied to clipboard
A comprehensive Flutter package for portrait quality validation, face analysis, and image enhancement.
We analyzed this package 19 hours ago, and awarded it 130 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
Repository URL doesn't exist.
At the time of the analysis https://github.com/devmukul/portrait_validator_and_enhancer was unreachable. Make sure that the website is reachable via HEAD requests.
Issue tracker URL doesn't exist.
At the time of the analysis https://github.com/devmukul/portrait_validator_and_enhancer/issues 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: MIT.
10/10 points: 20% or more of the public API has dartdoc comments
77 out of 85 API elements (90.6 %) have documentation comments.
Some symbols that are missing documentation: portrait_validator_and_enhancer, portrait_validator_and_enhancer.BackgroundRemovalService.BackgroundRemovalService.new, portrait_validator_and_enhancer.BlurDetectionService.BlurDetectionService.new, portrait_validator_and_enhancer.ColorPreservingEnhancementService.ColorPreservingEnhancementService.new, portrait_validator_and_enhancer.FaceRecenterService.FaceRecenterService.new.
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:portrait_validator_and_enhancer/portrait_validator_and_enhancer.dartthat imports:package:portrait_validator_and_enhancer/src/models/image_processing_result.dartthat imports:package:portrait_validator_and_enhancer/src/models/face_analysis_result.dartthat imports:package:portrait_validator_and_enhancer/src/models/face_analysis.dartthat imports:package:google_mlkit_face_detection/google_mlkit_face_detection.dartthat declares support for platforms:Android,iOS.
Package does not support platform `Linux`.
Because:
package:portrait_validator_and_enhancer/portrait_validator_and_enhancer.dartthat imports:package:portrait_validator_and_enhancer/src/models/image_processing_result.dartthat imports:package:portrait_validator_and_enhancer/src/models/face_analysis_result.dartthat imports:package:portrait_validator_and_enhancer/src/models/face_analysis.dartthat imports:package:google_mlkit_face_detection/google_mlkit_face_detection.dartthat declares support for platforms:Android,iOS.
Package does not support platform `macOS`.
Because:
package:portrait_validator_and_enhancer/portrait_validator_and_enhancer.dartthat imports:package:portrait_validator_and_enhancer/src/models/image_processing_result.dartthat imports:package:portrait_validator_and_enhancer/src/models/face_analysis_result.dartthat imports:package:portrait_validator_and_enhancer/src/models/face_analysis.dartthat imports:package:google_mlkit_face_detection/google_mlkit_face_detection.dartthat declares support for platforms:Android,iOS.
Package does not support platform `Web`.
Because:
package:portrait_validator_and_enhancer/portrait_validator_and_enhancer.dartthat imports:package:portrait_validator_and_enhancer/src/models/image_processing_result.dartthat imports:package:portrait_validator_and_enhancer/src/models/face_analysis_result.dartthat imports:package:portrait_validator_and_enhancer/src/models/face_analysis.dartthat imports:package:google_mlkit_face_detection/google_mlkit_face_detection.dartthat declares support for platforms:Android,iOS.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 5 issues. Showing the first 2:
WARNING: Returning a 'Future' without 'await' inside a try block.
lib/src/face_recenter_service.dart:52:26
╷
52 │ if (faces.isEmpty) return _fallbackProcess(originalImage);
│ ^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/face_recenter_service.dart
WARNING: Returning a 'Future' without 'await' inside a try block.
lib/src/face_recenter_service.dart:58:7
╷
58 │ return _step3_PlaceOnCanvas(zoomedImage);
│ ^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/face_recenter_service.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
exif |
^3.1.5 |
3.3.0 | 3.3.0 | |
google_mlkit_face_detection |
^0.13.2 |
0.13.2 | 0.15.1 | |
google_mlkit_selfie_segmentation |
^0.10.1 |
0.10.1 | 0.12.1 | |
image |
^4.1.3 |
4.10.1 | 4.10.1 | |
path_provider |
^2.1.2 |
2.1.6 | 2.1.6 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
archive |
- | 4.3.0 | 4.3.0 | |
args |
- | 2.7.0 | 2.7.0 | |
characters |
- | 1.4.1 | 1.4.1 | |
code_assets |
- | 2.0.0 | 2.0.0 | |
collection |
- | 1.19.1 | 1.19.1 | |
convert |
- | 3.1.2 | 3.1.2 | |
crypto |
- | 3.0.7 | 3.0.7 | |
ffi |
- | 2.2.0 | 2.2.0 | |
google_mlkit_commons |
- | 0.11.1 | 0.13.0 | |
hooks |
- | 2.2.0 | 2.2.0 | |
jni |
- | 1.0.3 | 1.0.3 | |
jni_flutter |
- | 1.0.3 | 1.0.3 | |
jni_util |
- | 1.0.0 | 1.0.0 | |
json_annotation |
- | 4.12.0 | 4.12.0 | |
logging |
- | 1.3.0 | 1.3.0 | |
material_color_utilities |
- | 0.13.0 | 0.13.1 | |
meta |
- | 1.19.0 | 1.19.0 | |
objective_c |
- | 9.6.0 | 9.6.0 | |
package_config |
- | 3.0.0 | 3.0.0 | |
path |
- | 1.9.1 | 1.9.1 | |
path_provider_android |
- | 2.3.1 | 2.3.1 | |
path_provider_foundation |
- | 2.6.0 | 2.6.0 | |
path_provider_linux |
- | 2.2.2 | 2.2.2 | |
path_provider_platform_interface |
- | 2.1.3 | 2.1.3 | |
path_provider_windows |
- | 2.3.0 | 2.3.0 | |
platform |
- | 3.2.0 | 3.2.0 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
posix |
- | 6.5.2 | 6.5.2 | |
pub_semver |
- | 2.2.1 | 2.2.1 | |
record_use |
- | 1.1.1 | 1.1.1 | |
source_span |
- | 1.10.2 | 1.10.2 | |
sprintf |
- | 7.0.0 | 7.0.0 | |
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.4.2 | 2.4.2 | |
xdg_directories |
- | 1.1.0 | 1.1.0 | |
yaml |
- | 3.1.4 | 3.1.4 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^0.13.2` on google_mlkit_face_detection does not support the stable version `0.14.0`.
Try running dart pub upgrade --major-versions google_mlkit_face_detection to update the constraint.
The constraint `^0.10.1` on google_mlkit_selfie_segmentation does not support the stable version `0.11.0`.
Try running dart pub upgrade --major-versions google_mlkit_selfie_segmentation 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.0, Dart 3.13.0.
Check the analysis log for details.