Skip to content

Latest commit

 

History

History
41 lines (27 loc) · 636 Bytes

File metadata and controls

41 lines (27 loc) · 636 Bytes

中文版

ocr_detect

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

Setup

npm install

Compiles and hot-reloads for development

npm run dev

Compiles and minifies for production

npm run build

Usage

import * as ocr from '@paddlejs-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