ddddocr
Rust OCR server and library for captcha recognition, detection, and slider matching
Install
See the repository for setupWhat it does
This is a Rust implementation of a general-purpose captcha recognition toolkit, packaged both as a reusable library and as a standalone API server with compiled binaries available. It handles single-line text recognition for things like alphanumeric captchas, including Chinese characters and some special symbols, and it can target specific character sets or filter by color. Beyond plain text reading, it offers object detection for multi-target images, two slider-matching algorithms for aligning puzzle pieces with cutouts, and probability output with confidence values so callers can tighten result ranges. Custom models trained with dddd_trainer can be imported.
The server exposes HTTP endpoints for OCR, detection, slide-match and slide-comparison, with Swagger docs and a status route. It also speaks the Model Context Protocol at a POST /mcp endpoint, supporting initialize, tools/list and tools/call, so AI agents can invoke it as a tool; startup flags let you enable individual features or run MCP-only mode.
Deployment requires the ONNX runtime; the library links statically by default, downloads native libraries at build time, and offers dynamic loading and CUDA options. Platform support varies: Linux 32-bit is unsupported, and some systems need newer glibc, MSVC, or macOS versions. GPU acceleration is undocumented, Markdown-image-focused examples aside.
Compatibility and authentication
- Connection
- Local
- Transports
- Unspecified
- Authentication
- Unknown
Security and permissions
- When you run the server locally, it runs with your user permissions.
- Authentication type: Unknown.
Repository data
- Stars
- 349
- Last push
- Apr 30, 2026
- License
- —
- Archived
- No
FAQ
- Does ddddocr run locally or remotely?
- It runs locally.
- Is ddddocr an official server?
- It is listed as a community server.
Embed a listing badge
<a href="https://aiagentsmarketplace.dev/mcp/ddddocr"><img src="https://aiagentsmarketplace.dev/badges/featured.svg" alt="Featured on AI Agents Marketplace" width="262" height="36"></a>
Comments
No comments yet.