@paddle-js-models/ocrdet
TypeScript icon, indicating that this package has built-in type declarations

4.1.1 • Public • Published

中文版

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

Readme

Keywords

none

Package Sidebar

Install

npm i @paddle-js-models/ocrdet

Weekly Downloads

11

Version

4.1.1

License

ISC

Unpacked Size

2.82 MB

Total Files

10

Last publish

Collaborators

  • qianhechen