githuseyingur / text_recognition_from_tc_identity_card

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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


Languages

Language:Dart 35.0%Language:C++ 32.1%Language:CMake 26.3%Language:HTML 2.6%Language:C 2.0%Language:Swift 1.8%Language:Kotlin 0.2%Language:Objective-C 0.1%