86maid / ddddocr Goto Github PK
View Code? Open in Web Editor NEWddddocr rust 版本,ocr_api_server rust 版本,二进制版本,验证码识别,不依赖 opencv 库,跨平台运行,a simple OCR API server, very easy to deploy。
ddddocr rust 版本,ocr_api_server rust 版本,二进制版本,验证码识别,不依赖 opencv 库,跨平台运行,a simple OCR API server, very easy to deploy。
使用docker进行部署
在win11下启动 ddddocr --ocr然后在linux下执行
curl --location 'http://192.168.10.100:9898/ocr/file/json' --form "image=@./test.jpg"
Win11下的ddddocr.exe就自己关了。
curl --location 'http://192.168.10.100:9898/ping 返回正确结果pong
跨域处理一下 大佬
只懂易语言的苦楚
Dimensions do not match: InputsLength { inference_input: [[1, 1, 63, 54]], model_input: [[Some(1), Some(1), Some(64), None]] }
是不是classification的缩放出问题了
thread 'actix-rt|system:0|arbiter:0' panicked at 'image width must be greater than or equal to template width', C:\Users\XChuang233.cargo\registry\src\index.crates.io-6f17d22bba15001f\imageproc-0.23.0\src\template_matching.rs:46:5
note: run with RUST_BACKTRACE=1
environment variable to display a backtrace
我在python版本运行就可以,如果把两个图片的参数换一下,能运行,但是结果不对
怎么使用自定义模型?
--ocr-path <OCR_PATH> 内容识别模型以及字符集路径, 通过哈希值判断是否为自定义模型, 使用自定义模型会使 old 选项失效, 路径 model/common 对应模型 model/common.onnx 和字符集 model/common.json [default: model/common]
D:\x86_64-pc-windows-msvc>ddddocr.exe -a 127.0.0.1 -p 9999 --ocr-path D:\x86_64-pc-windows-msvc\model\common.onnx/D:\x86_64-pc-windows-msvc\model\common.json
没有开启任何服务
D:\x86_64-pc-windows-msvc>ddddocr.exe -a 127.0.0.1 -p 9999 --ocr-path model\common.onnx/model\common.json
没有开启任何服务
D:\x86_64-pc-windows-msvc>ddddocr.exe -a 127.0.0.1 -p 9999 --ocr-path common.onnx/common.json
没有开启任何服务
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.