https://github.com/akronae/windows-media-ocr
🔎 Nodejs OCR lib with structured data with bounding rects using local Windows OCR API
https://github.com/akronae/windows-media-ocr
Last synced: about 1 year ago
JSON representation
🔎 Nodejs OCR lib with structured data with bounding rects using local Windows OCR API
- Host: GitHub
- URL: https://github.com/akronae/windows-media-ocr
- Owner: Akronae
- Created: 2025-03-23T15:45:21.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-23T17:11:33.000Z (about 1 year ago)
- Last Synced: 2025-03-30T23:52:29.444Z (about 1 year ago)
- Language: TypeScript
- Size: 822 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# windows-media-ocr
> 🔎 OCR lib for Windows & WSL that outputs structured data with bounding rects

This library is a wrapper around [akronae/windows_media_ocr_cli](https://github.com/Akronae/windows_media_ocr_cli)
## How to install
```bash
yarn add windows-media-ocr
```
```bash
npm i windows-media-ocr
```
## How to use
```ts
import { ocr } from 'windows-media-ocr';
const res = await ocr('image.png');
console.log(res.Text, 'has', res.Lines.length, 'lines');
```