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

Tesseract Deno

Deno wrapper for Tesseract OCR Engine CLI.

Usage

You can import from either:

You can configure default path for Tesseract using setPath function or TESSERACT_PATH env var.

Example

import { recognize } from "https://deno.land/x/tesseract/mod.ts";

const output = await recognize("path/to/image.png");
console.log("Output:", output);

Contributing

You’re always welcome to contribute!

  • We use deno fmt to format out files.

License

Check LICENSE for more info.

Copyright 2021 @ DjDeveloperr