@paddlejs-models/ocrdet

1.1.1 • Public • Published

中文版

ocr_detect

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

version size downloads downloads

Run Demo

  1. Execute in the current directory
npm install
npm run dev
  1. 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

Performance

image

/@paddlejs-models/ocrdet/

    Package Sidebar

    Install

    npm i @paddlejs-models/ocrdet

    Weekly Downloads

    3

    Version

    1.1.1

    License

    ISC

    Unpacked Size

    2.47 MB

    Total Files

    4

    Last publish

    Collaborators

    • leoqh
    • changying01
    • sukkee
    • fanzhongkai
    • yueshuangyan