All Projects → netpi → Baidu Ocr Api

netpi / Baidu Ocr Api

Licence: mit
👓 Baidu OCR Api For Node.js

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Baidu Ocr Api

Millionheroassistant
百万 / 冲顶 / 芝士 / UC / 万能 答题助手(知识图谱更加专业,自动推荐答案, Android手机自动屏幕适配,模拟器支持,多开)
Stars: ✭ 524 (+66.35%)
Mutual labels:  baidu, ocr
baidu-chain-dog
百度莱茨狗爬虫。
Stars: ✭ 52 (-83.49%)
Mutual labels:  ocr, baidu
MillionHeros
Android直播答题助手,支持全部答题APP,百万英雄/百万赢家/冲顶大会/芝士超人
Stars: ✭ 23 (-92.7%)
Mutual labels:  ocr, baidu
smart-docs-parser
An OCR based document parser to extract information from identity document images
Stars: ✭ 14 (-95.56%)
Mutual labels:  ocr
meltsub
Convert hardsub to softsub
Stars: ✭ 19 (-93.97%)
Mutual labels:  ocr
Vedastr
A scene text recognition toolbox based on PyTorch
Stars: ✭ 290 (-7.94%)
Mutual labels:  ocr
Dotnet Sdk
百度AI开放平台 .Net SDK
Stars: ✭ 312 (-0.95%)
Mutual labels:  baidu
CTC-OCR
A TensorFlow implementation of hybird CNN-LSTM model with CTC loss for OCR problem
Stars: ✭ 27 (-91.43%)
Mutual labels:  ocr
Text Detection Ctpn
text detection mainly based on ctpn model in tensorflow, id card detect, connectionist text proposal network
Stars: ✭ 3,242 (+929.21%)
Mutual labels:  ocr
Python Sdk
百度AI开放平台 Python SDK
Stars: ✭ 285 (-9.52%)
Mutual labels:  baidu
Attention ocr.pytorch
This repository implements the the encoder and decoder model with attention model for OCR
Stars: ✭ 278 (-11.75%)
Mutual labels:  ocr
attentionocr
Attention OCR in Tensorflow 2.0
Stars: ✭ 45 (-85.71%)
Mutual labels:  ocr
Translators
🌏🌍🌎Translators🌎🌍🌏 is a library which aims to bring free, multiple, enjoyable translation to individuals and students in Python. Translators是一个旨在用Python为个人和学生带来免费、多样、愉快翻译的库。
Stars: ✭ 295 (-6.35%)
Mutual labels:  baidu
BasicArabicOCR
A very basic Arabic OCR based on tesseract OCR engine written in Java.
Stars: ✭ 19 (-93.97%)
Mutual labels:  ocr
Chineseaddress ocr
Photographing Chinese-Address OCR implemented using CTPN+CTC+Address Correction. 拍照文档中文地址文字识别。
Stars: ✭ 309 (-1.9%)
Mutual labels:  ocr
breach-protocol-autosolver
Solve breach protocol minigame in second(s). Windows/Linux/GeForce Now/Google Stadia. Every language.
Stars: ✭ 28 (-91.11%)
Mutual labels:  ocr
Kraken
OCR engine for all the languages
Stars: ✭ 304 (-3.49%)
Mutual labels:  ocr
Ionic Ocr Example
📷 Simple Ionic app using ocrad.js
Stars: ✭ 263 (-16.51%)
Mutual labels:  ocr
Ocr Corrector
利用语言模型,纠正OCR识别错误
Stars: ✭ 259 (-17.78%)
Mutual labels:  ocr
Pdfocr
Adds text to PDF files using the cuneiform OCR software
Stars: ✭ 287 (-8.89%)
Mutual labels:  ocr

Baidu-OCR-API For Nodejs

NPM version Build Status Coveralls Status

Downloads

Advantages

  • 支持本地图片 外部图片(速度取决图片大小)
  • 识别简单的验证码
  • 平时相机拍摄书本的文字,基本能达到 95%
  • 支持 shell/nodejs 全局安装可在控制台直接运行
  • bluebird/promise 接口操作灵活

Install & Usage

1. Global

npm install baidu-ocr-api -g

ocr --help

# 远程图片
ocr http://7pun4e.com1.z0.glb.clouddn.com/test.jpg

# 本地图片
ocr ./test.jpg

效果图

的早期世界观是建立在《魔兽争霸3:冰封王座》的基础上的,因此与现在暴雪公司的《魔兽世界》的背景设定有一定的联系,但由于版本更迭又略有不同。整个地图中地形名费伍德森林,费伍德森林是网络游戏《魔兽世界》中的游戏地图,位于卡利姆多境内的一片森林。这片由森林和草场构成的繁荣动荡的土地曾经由卡尔多雷掌管,并曾经处于半神塞纳留斯的保护下。燃烧军团的铁蹄践踏了这片土地,没有被毁灭的树木和生物则被恶魔的暴行永远的诅咒着

2. Nodejs

npm install baidu-ocr-api --save

FYI examples

/**

登陆 百度bcs控制台中心 申请access key
https://console.bce.baidu.com/iam/#/iam/accesslist

**/
var ak = 'your ak';
var sk = 'your sk';
var ocr = require('baidu-ocr-api').create(ak,sk);
// 外部图片
ocr.scan({
  url:'http://7pun4e.com1.z0.glb.clouddn.com/test.jpg', // 支持本地路径
  type:'text',
}).then(function (result) {
  return console.log(result)
}).catch(function (err) {
  console.log('err', err);
})

Test

make test
make cov # Coverage rate

License MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].