Skip to main content

recognize

Function recognize 

Source
pub fn recognize(
    image: &RgbaImage,
    _map: &ScreenshotMap,
) -> Result<OcrResult, ComputerError>
Expand description

Run OCR on image and return per-line blocks.

macOS uses VNRecognizeTextRequest, Windows uses Windows.Media.Ocr.OcrEngine over the user’s profile languages, and Linux returns Unsupported (no engine in 0.2.0).