0.0.5 • Published 2 years ago
ocrdettest v0.0.5
ocr_detect
ocr_detect model is used to detect the text area in the image.
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