smart_liveliness_detection 0.1.4 copy "smart_liveliness_detection: ^0.1.4" to clipboard
smart_liveliness_detection: ^0.1.4 copied to clipboard

This package helps you verify that a real person is present in front of the camera, not a photo, video, or mask.

125/ 160
pub points
98
downloads

We analyzed this package 13 hours ago, and awarded it 125 pub points (of a possible 160):

Failed report section
Follow Dart file conventions
25 / 30trigger folding of the section

Passed check 10/10 points: Provide a valid pubspec.yaml

Passed check 5/5 points: Provide a valid README.md

Failed check 0/5 points: Provide a valid CHANGELOG.md

`CHANGELOG.md` does not contain reference to the current version ("0.1.4").

Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Passed report section
Provide documentation
20 / 20trigger folding of the section

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

135 out of 166 API elements (81.3 %) have documentation comments.

Some symbols that are missing documentation: smart_liveliness_detection, smart_liveliness_detection.Challenge.Challenge.new, smart_liveliness_detection.ChallengeCompletedCallback, smart_liveliness_detection.FinalImageCapturedCallback, smart_liveliness_detection.LivenessCompletedCallback.

Passed check 10/10 points: Package has an example

Failed report section
Platform support
20 / 20trigger folding of the section

Passed check 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:smart_liveliness_detection/smart_liveliness_detection.dart that declares support for platforms: Android, iOS.
Package does not support platform `Linux`.

Because:

  • package:smart_liveliness_detection/smart_liveliness_detection.dart that declares support for platforms: Android, iOS.
Package does not support platform `macOS`.

Because:

  • package:smart_liveliness_detection/smart_liveliness_detection.dart that declares support for platforms: Android, iOS.
Package does not support platform `Web`.

Because:

  • package:smart_liveliness_detection/smart_liveliness_detection.dart that declares support for platforms: Android, iOS.

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:smart_liveliness_detection/smart_liveliness_detection.dart that imports:
  • package:smart_liveliness_detection/src/widgets/liveliness_detection_screen.dart that 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.

Failed report section
Pass static analysis
30 / 50trigger folding of the section

Failed check 30/50 points: code has no errors, warnings, lints, or formatting issues

Found 4 issues. Showing the first 2:

WARNING: Unused import: 'dart:typed_data'.

lib/src/services/face_detection_service.dart:2:8

  ╷
2 │ import 'dart:typed_data';
  │        ^^^^^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/services/face_detection_service.dart

/tmp/pana_TTZCDD/lib/src/config/app_config.dart doesn't match the Dart formatter.

To format your files run: dart format .

Failed report section
Support up-to-date dependencies
30 / 40trigger folding of the section

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

Package Constraint Compatible Latest Notes
camera ^0.11.2 0.11.2 0.11.2
cupertino_icons ^1.0.8 1.0.8 1.0.8
google_mlkit_face_detection ^0.13.1 0.13.1 0.13.1
provider ^6.1.2 6.1.5+1 6.1.5+1
sensors_plus ^6.1.1 6.1.2 7.0.0
uuid ^4.5.1 4.5.1 4.5.1
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.0 2.13.0
camera_android_camerax - 0.6.23+2 0.6.23+2
camera_avfoundation - 0.9.22+1 0.9.22+1
camera_platform_interface - 2.11.0 2.11.0
camera_web - 0.3.5 0.3.5
characters - 1.4.0 1.4.1
collection - 1.19.1 1.19.1
cross_file - 0.3.4+2 0.3.4+2
crypto - 3.0.6 3.0.6
fixnum - 1.1.1 1.1.1
flutter_plugin_android_lifecycle - 2.0.32 2.0.32
google_mlkit_commons - 0.11.0 0.11.0
logging - 1.3.0 1.3.0
material_color_utilities - 0.11.1 0.13.0
meta - 1.16.0 1.17.0
nested - 1.0.0 1.0.0
plugin_platform_interface - 2.1.8 2.1.8
sensors_plus_platform_interface - 2.0.1 2.0.1
sprintf - 7.0.0 7.0.0
stream_transform - 2.1.1 2.1.1
typed_data - 1.4.0 1.4.0
vector_math - 2.2.0 2.2.0
web - 1.1.1 1.1.1

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

The constraint `^6.1.1` on sensors_plus does not support the stable version `7.0.0`.

Try running dart pub upgrade --major-versions sensors_plus to update the constraint.

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.22.24, Flutter 3.35.5, Dart 3.9.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
9
likes
125
points
98
downloads

Publisher

verified publisherdemola.dev

Weekly Downloads

This package helps you verify that a real person is present in front of the camera, not a photo, video, or mask.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

camera, cupertino_icons, flutter, google_mlkit_face_detection, provider, sensors_plus, uuid

More

Packages that depend on smart_liveliness_detection