ml_kit_ocr library

Classes

InputImage
InputImage is the format Google' Ml kit takes to process the image
InputImageData
Data of image required when creating image from bytes.
InputImagePlaneMetadata
Plane attributes to create the image buffer on iOS.
MlKitOcr
Detector to detect text present in the InputImage provided. It returns RecognisedText which contains the info present in the image. Create instance of MlKitOcr final ocr = MlKitOcr(); Call processImage to process the image and get results. final result = await ocr.processImage();
RecognisedText
Class that gives the detected text. Recognised text hierarchy. Recognised Text ---> List
TextBlock
Class that has a block or group of words present in part of image.
TextElement
Fundamental part of text detected.
TextLine
Class that represents sentence present in a certain block.