1 Star 0 Fork 16

Paddles / Paddle.js

forked from PaddlePaddle / Paddle.js 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
README_cn.md 926 Bytes
一键复制 编辑 原始数据 按行查看 历史

English

ocr_detect

ocr_detect模型用于检测图像中文字区域。

version size downloads downloads

运行 Demo

  1. 在当前目录下执行
npm install
npm run dev
  1. 访问 http://0.0.0.0:8870

使用

import * as ocr from '@paddlejs-models/ocrdet';

// ocr_detect模型加载
await ocr.load();

// 获取文字区域坐标
const res = await ocr.detect(img);

在线体验

https://paddlejs.baidu.com/ocrdet

效果

image
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
TypeScript
1
https://gitee.com/paddles/Paddle.js.git
git@gitee.com:paddles/Paddle.js.git
paddles
Paddle.js
Paddle.js
release/v2.2.5

搜索帮助

344bd9b3 5694891 D2dac590 5694891