ocr_data_extractor 0.0.28-dev ocr_data_extractor: ^0.0.28-dev copied to clipboard
A Flutter package uses ocrkit mapped output to process and extract values. Image texts extracted and processed to return the special data wanted. Just pass the image path to the chosen function.
A Flutter package uses ocrkit for processing its output.
Features #
This package uses artemis_camera_kit library to gain OCR data and process its information. Just pass the OcrData to the chosen function. You can also use this package's useful functions and the special sort.
Getting started #
add the following code to your podfile
platform :ios, '10.0'
add artemis_camera_kit package to pubspec.yaml file.
Usage #
The code below extracts all numbers of an image which have 6 or more digits and removes time and date.
OcrData? ocrData = await ArtemisCameraKitController().processImageFromPath(imagePath ?? '');
List<String> numbers = await OCRController().getNumberList(ocrData!);
The code below extracts all names of an image in a flight list and extracts details of it. Takes a List
OcrData? ocrData = await ArtemisCameraKitController().processImageFromPath(imagePath ?? '');
dynamic passengers = await OCRController().getNamesList(ocrData!, names, 0);
Additional information #
This package is most used for personal operations