flutter_ocr_identity_extractor 1.2.0 copy "flutter_ocr_identity_extractor: ^1.2.0" to clipboard
flutter_ocr_identity_extractor: ^1.2.0 copied to clipboard

A Flutter package for extracting text from images and parsing Saudi ID card data using Google ML Kit Text Recognition. Supports OCR operations and comprehensive ID card data extraction.

120/ 160
pub points
270
downloads

We analyzed this package 2 days ago, and awarded it 120 pub points (of a possible 160):

Failed report section
Follow Dart file conventions
20 / 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/yourusername/flutter_ocr_identity_extractor was unreachable. Make sure that the website is reachable via HEAD requests.

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

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

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

Detected license: MIT.

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

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

57 out of 109 API elements (52.3 %) have documentation comments.

Some symbols that are missing documentation: flutter_ocr_identity_extractor, flutter_ocr_identity_extractor.AiIdExtractor.instance, flutter_ocr_identity_extractor.AiImageAnalyzer.instance, flutter_ocr_identity_extractor.ArabicTransliterator, flutter_ocr_identity_extractor.BaseExtractor.BaseExtractor.new.

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:flutter_ocr_identity_extractor/flutter_ocr_identity_extractor.dart that imports:
  • package:flutter_ocr_identity_extractor/src/extractors/enhanced_id_extractor.dart that imports:
  • package:flutter_ocr_identity_extractor/src/services/image_gender_analyzer.dart that imports:
  • package:google_mlkit_image_labeling/google_mlkit_image_labeling.dart that declares support for platforms: Android, iOS.
Package does not support platform `Linux`.

Because:

  • package:flutter_ocr_identity_extractor/flutter_ocr_identity_extractor.dart that imports:
  • package:flutter_ocr_identity_extractor/src/extractors/enhanced_id_extractor.dart that imports:
  • package:flutter_ocr_identity_extractor/src/services/image_gender_analyzer.dart that imports:
  • package:google_mlkit_image_labeling/google_mlkit_image_labeling.dart that declares support for platforms: Android, iOS.
Package does not support platform `macOS`.

Because:

  • package:flutter_ocr_identity_extractor/flutter_ocr_identity_extractor.dart that imports:
  • package:flutter_ocr_identity_extractor/src/extractors/enhanced_id_extractor.dart that imports:
  • package:flutter_ocr_identity_extractor/src/services/image_gender_analyzer.dart that imports:
  • package:google_mlkit_image_labeling/google_mlkit_image_labeling.dart that declares support for platforms: Android, iOS.
Package does not support platform `Web`.

Because:

  • package:flutter_ocr_identity_extractor/flutter_ocr_identity_extractor.dart that imports:
  • package:flutter_ocr_identity_extractor/src/extractors/enhanced_id_extractor.dart that imports:
  • package:flutter_ocr_identity_extractor/src/services/image_gender_analyzer.dart that imports:
  • package:google_mlkit_image_labeling/google_mlkit_image_labeling.dart that declares support for platforms: Android, iOS.
Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

Partially passed check 40/50 points: code has no errors, warnings, lints, or formatting issues

INFO: The import of 'package:google_mlkit_text_recognition/google_mlkit_text_recognition.dart' is unnecessary because all of the used elements are also provided by the import of 'package:google_mlkit_image_labeling/google_mlkit_image_labeling.dart'.

lib/src/services/ai_image_analyzer.dart:5:8

  ╷
5 │ import 'package:google_mlkit_text_recognition/google_mlkit_text_recognition.dart';
  │        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

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

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
arabic_name_transliterator ^0.5.0 0.5.0 0.6.0
google_mlkit_barcode_scanning ^0.11.0 0.11.1 0.14.1
google_mlkit_face_detection ^0.10.0 0.10.1 0.13.1
google_mlkit_image_labeling ^0.11.0 0.11.1 0.14.1
google_mlkit_text_recognition ^0.12.0 0.12.1 0.15.0
image ^4.1.7 4.7.2 4.7.2
logger ^2.6.1 2.6.2 2.6.2
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.5 2.1.5
google_mlkit_commons - 0.7.1 0.11.0
material_color_utilities - 0.11.1 0.13.0
meta - 1.17.0 1.17.0
path - 1.9.1 1.9.1
petitparser - 7.0.1 7.0.1
posix - 6.0.3 6.0.3
typed_data - 1.4.0 1.4.0
vector_math - 2.2.0 2.2.0
xml - 6.6.1 6.6.1

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

Found 5 issues. Showing the first 2:

The constraint `^0.5.0` on arabic_name_transliterator does not support the stable version `0.6.0`, that was published 14 days ago.

When arabic_name_transliterator is 30 days old, this package will no longer be awarded points in this category.

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

The constraint `^0.11.0` on google_mlkit_barcode_scanning does not support the stable version `0.12.0`.

Try running dart pub upgrade --major-versions google_mlkit_barcode_scanning 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.5, Flutter 3.38.5, Dart 3.10.4.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
1
likes
120
points
270
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter package for extracting text from images and parsing Saudi ID card data using Google ML Kit Text Recognition. Supports OCR operations and comprehensive ID card data extraction.

Homepage

Documentation

API reference

License

MIT (license)

Dependencies

arabic_name_transliterator, flutter, google_mlkit_barcode_scanning, google_mlkit_face_detection, google_mlkit_image_labeling, google_mlkit_text_recognition, image, logger

More

Packages that depend on flutter_ocr_identity_extractor