KtpExtractor class

A utility class for extracting information from KTP (Indonesian ID card) images.

Constructors

KtpExtractor()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

cropImageForKtp(File imageFile) Future<File?>
Crops the KTP area from the provided image using object detection.
extractFromOcr(RecognizedText recognizedText) KtpModel
Extracts KTP information from recognized text.
extractKtp(File imageFile) Future<KtpModel>
Extracts KTP information from the provided image file.