Skip to content

Flutter - Detect(Extract) text from Turkish Republic Identity Card photo with Google ML Kit ||| Flutter - TC Kimlik Kartı fotoğrafından Google ML Kit ile bilgileri okuma/algılama

Notifications You must be signed in to change notification settings

githuseyingur/text_recognition_from_tc_identity_card

Repository files navigation

Extract Text From TC Identity Card with Flutter

Packages :

barcode_finder: ^0.0.5
permission_handler: ^10.4.3
path: ^1.8.2
path_provider: ^2.0.15
edge_detection: ^1.1.2
lottie: ^2.3.2             // for UI (optional)
get: ^4.6.5
google_mlkit_text_recognition: ^0.8.1

Get Text From Image:

  final InputImage inputImage;
    if (imagePath.value != null) {
      inputImage = InputImage.fromFilePath(imagePath.value);
      TextRecognizer textRecognizer = TextRecognizer(script: TextRecognitionScript.latin);
      final RecognizedText recognizedText = await textRecognizer.processImage(inputImage);
      String text = recognizedText.text;
      List<String> lines = text.split('\n');

Screenshots :

About

Flutter - Detect(Extract) text from Turkish Republic Identity Card photo with Google ML Kit ||| Flutter - TC Kimlik Kartı fotoğrafından Google ML Kit ile bilgileri okuma/algılama

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published