Files
chenqianhe 0daae559d6 [Other] Update ocr package (#428)
* Refactor js submodule

* Remove change-log

* Update ocr module

* Update ocr-detection module

* Update ocr-detection module

* Remove change-log

* Update ocr package

* Update package.json

* Update package.json
2022-10-25 11:18:16 +08:00
..
2022-10-23 14:05:13 +08:00
2022-10-23 14:05:13 +08:00
2022-10-23 14:05:13 +08:00
2022-10-23 14:05:13 +08:00
2022-10-25 11:18:16 +08:00

中文版

ocr_detection

ocr_detection model is used to detect the text area in the image.

version size downloads downloads

The ocr_detection model is compressed from PP-OCRv3 which released by PaddleOCR, which greatly improves the running speed on js at a small loss of accuracy.

Usage

import * as ocr from '@paddle-js-models/ocrdet';
// Load ocr_detect model
await ocr.load();
// Get text area points
const res = await ocr.detect(img);

Online experience

https://paddlejs.baidu.com/ocrdet

Performance

image