Skip to content

Flutter Google ML Kit - Text recognition from TC identity card photo | TC Kimlik kartı fotoğrafından bilgileri okuma (metin 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 using Google ML Kit Text Recognition

Packages :

permission_handler: ^10.4.3
path: ^1.8.2
path_provider: ^2.0.14
edge_detection_plus: ^1.0.2
lottie: ^2.3.2             // for UI (optional)
get: ^4.6.5
google_mlkit_text_recognition: ^0.11.0

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 Google ML Kit - Text recognition from TC identity card photo | TC Kimlik kartı fotoğrafından bilgileri okuma (metin algılama)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published