Skip to main content

cccd_card_detector 0.1.3 copy "cccd_card_detector: ^0.1.3" to clipboard
cccd_card_detector: ^0.1.3 copied to clipboard

PlatformAndroid

Flutter package for CCCD detection with camera preview, realtime quad overlay, and frame emission.

130/ 160
pub points
349
downloads

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

Partially passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Partially passed check 10/10 points: Provide a valid pubspec.yaml

Homepage URL doesn't exist.

At the time of the analysis https://github.com/TuanVuuuu/ocr-id-card-vi 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/TuanVuuuu/ocr-id-card-vi/tree/main/packages/cccd_card_detector 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/TuanVuuuu/ocr-id-card-vi/issues 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: BSD-3-Clause.

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

112 out of 166 API elements (67.5 %) have documentation comments.

Some symbols that are missing documentation: cccd_card_detector, cccd_card_detector.CardQuad.CardQuad.new, cccd_card_detector.CardQuad.bottomLeft, cccd_card_detector.CardQuad.bottomRight, cccd_card_detector.CardQuad.clampToImage.

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 1 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

These platforms are not supported:

Package does not support platform `iOS`.

Because:

  • package:cccd_card_detector/cccd_card_detector.dart that declares support for platforms: Android.
Package does not support platform `Windows`.

Because:

  • package:cccd_card_detector/cccd_card_detector.dart that declares support for platforms: Android.
Package does not support platform `Linux`.

Because:

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

Because:

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

Because:

  • package:cccd_card_detector/cccd_card_detector.dart that declares support for platforms: Android.

Built-in Kotlin-ready: This Android plugin supports built-in Kotlin. See https://docs.flutter.dev/release/breaking-changes/migrate-to-built-in-kotlin/for-plugin-authors for details.

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 'dart:typed_data' is unnecessary because all of the used elements are also provided by the import of 'package:flutter/foundation.dart'.

lib/src/detection/camera_still_writer.dart:2:8

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

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/detection/camera_still_writer.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
camera >=0.10.6 <0.12.0 0.11.4 0.12.2
google_mlkit_barcode_scanning ^0.14.1 0.14.2 0.16.1
google_mlkit_commons ^0.11.0 0.11.1 0.13.0
google_mlkit_text_recognition ^0.15.0 0.15.1 0.17.1
mrz_parser ^2.0.1 2.0.1 2.0.1
opencv_core ^1.4.5 1.4.5 1.4.5 Discontinued
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.1 2.13.1
camera_android_camerax - 0.6.30 0.7.6+1
camera_avfoundation - 0.9.23+2 0.11.1
camera_platform_interface - 2.15.0 2.15.0
camera_web - 0.3.5+7 0.3.5+7
characters - 1.4.1 1.4.1
collection - 1.19.1 1.19.1
cross_file - 0.3.5+5 0.4.0
dartcv4 - 1.1.8 2.3.1
ffi - 2.2.0 2.2.0
flutter_plugin_android_lifecycle - 2.0.35 2.0.35
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
source_span - 1.10.2 1.10.2
stream_transform - 2.1.2 2.1.2
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
vector_math - 2.4.4 2.4.4
web - 1.1.2 1.1.2
yaml - 3.1.4 3.1.4

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.10.6 <0.12.0` on camera does not support the stable version `0.12.0`.

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

The constraint `^0.14.1` on google_mlkit_barcode_scanning does not support the stable version `0.15.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.19, Flutter 3.47.7, Dart 3.13.5.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
130
points
349
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Flutter package for CCCD detection with camera preview, realtime quad overlay, and frame emission.

Homepage
Repository (GitHub)
View/report issues

License

BSD-3-Clause (license)

Dependencies

camera, flutter, google_mlkit_barcode_scanning, google_mlkit_commons, google_mlkit_text_recognition, mrz_parser, opencv_core

More

Packages that depend on cccd_card_detector

Packages that implement cccd_card_detector