Socket
Book a DemoInstallSign in
Socket

@paddlejs-models/ocrdet

Package Overview
Dependencies
Maintainers
5
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@paddlejs-models/ocrdet

[中文版](./README_cn.md)

latest
npmnpm
Version
1.1.1
Version published
Maintainers
5
Created
Source

中文版

ocr_detect

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

version size downloads downloads

Run Demo

  • Execute in the current directory
npm install
npm run dev

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

FAQs

Package last updated on 09 Mar 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts