https://github.com/djdeveloperr/tesseract-deno
Deno wrapper for Tesseract OCR engine CLI.
https://github.com/djdeveloperr/tesseract-deno
Last synced: 9 months ago
JSON representation
Deno wrapper for Tesseract OCR engine CLI.
- Host: GitHub
- URL: https://github.com/djdeveloperr/tesseract-deno
- Owner: DjDeveloperr
- License: mit
- Created: 2021-02-14T14:46:36.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2024-05-12T17:32:59.000Z (almost 2 years ago)
- Last Synced: 2025-03-14T19:37:29.877Z (11 months ago)
- Language: TypeScript
- Size: 14.6 KB
- Stars: 8
- Watchers: 1
- Forks: 5
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Tesseract Deno
Deno wrapper for Tesseract OCR Engine CLI.
## Usage
You can import from either:
- Main:
https://raw.githubusercontent.com/DjDeveloperr/Tesseract-Deno/main/mod.ts
- Stable: https://deno.land/x/tesseract/mod.ts
You can configure default path for Tesseract using `setPath` function or
`TESSERACT_PATH` env var.
## Docs
Documentation is available
[here](https://doc.deno.land/https/deno.land/x/tesseract/mod.ts).
## Example
```ts
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](LICENSE) for more info.
Copyright 2021 @ DjDeveloperr