An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

          

# windows-media-ocr

> 🔎 OCR lib for Windows & WSL that outputs structured data with bounding rects

![image](https://github.com/user-attachments/assets/44d3f157-241b-4a36-a0a6-bcc5742625f2)

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');
```