Skip to content

Latest commit

 

History

History
19 lines (11 loc) · 280 Bytes

File metadata and controls

19 lines (11 loc) · 280 Bytes

中文版

ocr_detect

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

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);