id_ocr 0.1.0
id_ocr: ^0.1.0 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(),
);
}
}