Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/tesseract/mod.ts>recognize

Deno wrapper for Tesseract OCR engine CLI.
Latest
function recognize
import { recognize } from "https://deno.land/x/tesseract@1.0.1/mod.ts";

Execute Tesseract

Parameters

file: string | Uint8Array

File path or file string or file binary (Uint8Array)

optional
options: TesseractOptions = [UNSUPPORTED]

Options to configure Tesseract

Returns

Promise<string>