face_detector_new 0.0.7 copy "face_detector_new: ^0.0.7" to clipboard
face_detector_new: ^0.0.7 copied to clipboard

FaceDetector is a powerful Flutter package that enables real-time face detection using the device camera. It leverages the latest AI models to accurately detect faces in images and live video streams.

95/ 160
pub points
86
downloads

We analyzed this package 1 hour ago, and awarded it 95 pub points (of a possible 160):

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

Failed check 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.

Homepage URL doesn't exist.

At the time of the analysis https://github.com/Veere6/face_detector_package.git was unreachable. Make sure that the website is reachable via HEAD requests.

Repository URL doesn't exist.

At the time of the analysis https://github.com/Veere6/face_detector_package.git was unreachable. Make sure that the website is reachable via HEAD requests.

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.0.7").

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: Apache-2.0.

Failed report section
Provide documentation
0 / 20trigger folding of the section

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

35 out of 202 API elements (17.3 %) 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: auth_button, auth_button.AuthButton, auth_button.AuthButton.AuthButton.new, auth_button.AuthButton.onTap, camera.service.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Passed 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:face_detector_new/controller/dependencyinjection.dart that imports:
  • package:face_detector_new/services/face_detector_service.dart that imports:
  • package:google_mlkit_face_detection/google_mlkit_face_detection.dart that declares support for platforms: Android, iOS.
Package does not support platform `Linux`.

Because:

  • package:face_detector_new/controller/dependencyinjection.dart that imports:
  • package:face_detector_new/services/face_detector_service.dart that imports:
  • package:google_mlkit_face_detection/google_mlkit_face_detection.dart that declares support for platforms: Android, iOS.
Package does not support platform `macOS`.

Because:

  • package:face_detector_new/controller/dependencyinjection.dart that imports:
  • package:face_detector_new/services/face_detector_service.dart that imports:
  • package:google_mlkit_face_detection/google_mlkit_face_detection.dart that declares support for platforms: Android, iOS.
Package does not support platform `Web`.

Because:

  • package:face_detector_new/controller/dependencyinjection.dart that imports:
  • package:face_detector_new/services/face_detector_service.dart that imports:
  • package:google_mlkit_face_detection/google_mlkit_face_detection.dart that declares support for platforms: Android, iOS.

These issues are present but do not affect the score, because they may not originate in your package:

Package does not support platform `Android`.

Because:

  • package:face_detector_new/controller/dependencyinjection.dart that imports:
  • package:face_detector_new/services/face_detector_service.dart that imports:
  • package:face_detector_new/services/camera.service.dart that imports:
  • package:device_info_plus/device_info_plus.dart that imports:
  • package:device_info_plus/src/device_info_plus_windows.dart that imports:
  • package:win32_registry/win32_registry.dart that declares support for platforms: Windows.
Package does not support platform `iOS`.

Because:

  • package:face_detector_new/controller/dependencyinjection.dart that imports:
  • package:face_detector_new/services/face_detector_service.dart that imports:
  • package:face_detector_new/services/camera.service.dart that imports:
  • package:device_info_plus/device_info_plus.dart that imports:
  • package:device_info_plus/src/device_info_plus_windows.dart that imports:
  • package:win32_registry/win32_registry.dart that declares support for platforms: Windows.
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 11 issues. Showing the first 2:

WARNING: The value of the local variable 'token' isn't used.

lib/controller/initcontroller.dart:160:13

    ╷
160 │     String? token = await storage.read(key: 'token');
    │             ^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/controller/initcontroller.dart

/tmp/pana_EVNSLG/lib/controller/initcontroller.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
asn1lib ^1.6.4 1.6.5 1.6.5
camera ^0.10.0 0.10.6 0.11.3
device_info_plus ^11.3.0 11.5.0 12.3.0
encrypt ^5.0.3 5.0.3 5.0.3
flutter_secure_storage ^9.2.4 9.2.4 10.0.0
fluttertoast ^8.2.12 8.2.14 9.0.0
get ^4.6.6 4.7.3 4.7.3
get_it ^8.0.3 8.3.0 9.2.0
google_mlkit_face_detection ^0.12.0 0.12.0 0.13.1
http ^1.3.0 1.6.0 1.6.0
image ^4.5.2 4.5.4 4.5.4
pointycastle ^3.9.1 3.9.1 4.0.0
processing_camera_image ^0.0.12 0.0.12 0.0.12
tflite_flutter ^0.11.0 0.11.0 0.12.1
Transitive dependencies
Package Constraint Compatible Latest Notes
archive - 4.0.7 4.0.7
args - 2.7.0 2.7.0
async - 2.13.0 2.13.0
boolean_selector - 2.1.2 2.1.2
camera_android - 0.10.10+14 0.10.10+14
camera_avfoundation - 0.9.22+6 0.9.22+6
camera_platform_interface - 2.12.0 2.12.0
camera_web - 0.3.5+2 0.3.5+2
characters - 1.4.0 1.4.1
clock - 1.1.2 1.1.2
collection - 1.19.1 1.19.1
convert - 3.1.2 3.1.2
cross_file - 0.3.5+1 0.3.5+1
crypto - 3.0.7 3.0.7
device_info_plus_platform_interface - 7.0.3 7.0.3
ffi - 2.1.4 2.1.4
file - 7.0.1 7.0.1
flutter_plugin_android_lifecycle - 2.0.33 2.0.33
flutter_secure_storage_linux - 1.2.3 3.0.0
flutter_secure_storage_macos - 3.1.3 4.0.0
flutter_secure_storage_platform_interface - 1.1.2 2.0.1
flutter_secure_storage_web - 1.2.1 2.1.0
flutter_secure_storage_windows - 3.1.2 4.1.0
google_mlkit_commons - 0.9.0 0.11.0
http_parser - 4.1.2 4.1.2
js - 0.6.7 0.7.2 Discontinued
matcher - 0.12.18 0.12.18
material_color_utilities - 0.11.1 0.13.0
meta - 1.17.0 1.17.0
path - 1.9.1 1.9.1
path_provider - 2.1.5 2.1.5
path_provider_android - 2.2.22 2.2.22
path_provider_foundation - 2.5.1 2.5.1
path_provider_linux - 2.2.1 2.2.1
path_provider_platform_interface - 2.1.2 2.1.2
path_provider_windows - 2.3.0 2.3.0
petitparser - 7.0.1 7.0.1
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
posix - 6.0.3 6.0.3
quiver - 3.2.2 3.2.2
source_span - 1.10.1 1.10.1
stack_trace - 1.12.1 1.12.1
stream_channel - 2.1.4 2.1.4
stream_transform - 2.1.1 2.1.1
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
test_api - 0.7.8 0.7.8
typed_data - 1.4.0 1.4.0
vector_math - 2.2.0 2.2.0
web - 1.1.1 1.1.1
win32 - 5.15.0 5.15.0
win32_registry - 2.1.0 2.1.0
xdg_directories - 1.1.0 1.1.0
xml - 6.6.1 6.6.1

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

Found 8 issues. Showing the first 2:

The constraint `^0.10.0` on camera does not support the stable version `0.11.0`.

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

The constraint `^11.3.0` on device_info_plus does not support the stable version `12.0.0`.

Try running dart pub upgrade --major-versions device_info_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.23.3, Flutter 3.38.4, Dart 3.10.3.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
1
likes
95
points
86
downloads

Publisher

unverified uploader

Weekly Downloads

FaceDetector is a powerful Flutter package that enables real-time face detection using the device camera. It leverages the latest AI models to accurately detect faces in images and live video streams.

Repository (GitHub)

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

asn1lib, camera, device_info_plus, encrypt, flutter, flutter_secure_storage, fluttertoast, get, get_it, google_mlkit_face_detection, http, image, pointycastle, processing_camera_image, tflite_flutter

More

Packages that depend on face_detector_new