@paddlejs-models/ocrdet
v1.1.1
Published
[中文版](./README_cn.md)
Downloads
16
Keywords
Readme
ocr_detect
ocr_detect model is used to detect the text area in the image.
Run Demo
- Execute in the current directory
npm install
npm run dev
- Visit http://0.0.0.0:8870
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