id_ocr 0.1.2 copy "id_ocr: ^0.1.2" to clipboard
id_ocr: ^0.1.2 copied to clipboard

A robust Flutter plugin for CNIC (Computerized National Identity Card) OCR with specialized support for Urdu and Sindhi scripts using Google ML Kit and Tesseract.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'modules/cnic_viewer/screens/cnic_scanner_screen.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return GetMaterialApp(
      title: 'CNIC OCR',
      debugShowCheckedModeBanner: false,
      theme: ThemeData(
        colorScheme: ColorScheme.fromSeed(seedColor: Colors.indigo),
        useMaterial3: true,
      ),
      home: CnicScannerScreen(),
    );
  }
}
1
likes
140
points
116
downloads

Documentation

API reference

Publisher

verified publisherabulkalam.dev

Weekly Downloads

A robust Flutter plugin for CNIC (Computerized National Identity Card) OCR with specialized support for Urdu and Sindhi scripts using Google ML Kit and Tesseract.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

flutter, google_mlkit_document_scanner, google_mlkit_text_recognition, image_picker, path, path_provider, tesseract_ocr

More

Packages that depend on id_ocr