qmetrics.net

DdddOcr

Offline Python SDK for captcha OCR and slider matching

DdddOcr is a Python library for recognizing text captchas, detecting targets, and locating slider puzzle gaps locally. It uses ONNX runtime models with optional GPU acceleration and a built-in HTTP API mode.

Overview

DdddOcr packages lightweight neural models trained on large synthetic captcha datasets so scripts can solve common verification images without calling third-party recognition services. The design emphasizes minimal dependencies and a small set of initialization flags for OCR, detection-only, or slider workflows.

Text mode handles numeric, alphanumeric, Chinese, and special-character challenges, with optional beta models, probability output, character set limits, and color filtering to suppress background noise. Detection mode returns bounding boxes for likely captcha regions. Slider helpers offer edge matching for transparent cutouts and image-difference comparison for gap finding.

Custom ONNX models and charset JSON files from the ddddtrainer toolchain can replace the built-in weights. Operators may run recognition in process or start a FastAPI service via python -m ddddocr api, including Docker and Docker Compose examples for networked use. Inputs are validated for size, format, and byte limits with structured errors.

Supported platforms include 64-bit Linux and ARM64, macOS x64 with Apple silicon notes, and GPU paths where CUDA and onnxruntime-gpu are installed.

Key features

  • Built-in OCR captcha models
  • Target detection bounding boxes
  • Slider edge and diff algorithms
  • Custom ONNX model import
  • Optional GPU via onnxruntime-gpu
  • Character range and color filters
  • REST API and Docker deployment
  • Batch-friendly reusable instances

Use cases

  • Automating login captcha fields
  • Slider puzzle gap detection
  • Scraping flows with verification images
  • Self-hosted captcha microservice
  • Testing with custom trained models

Tags

Similar software

PaddleOCR

OCR toolkit for documents and scene text

PaddleOCR parses PDFs and images into structured Markdown or JSON with multilingual text and layout models.

★ 93.4k⟳ 2 months agoApache-2.0

Firecrawl

Web scrape crawl and search infrastructure for AI agents

Firecrawl turns websites into LLM-ready markdown and structured data via API, CLI, and MCP. It supports scrape, crawl, map, batch jobs, optional cloud scale, and self-hosted server deployment.

★ 211.5k⟳ todayAGPL-3.0
Open Source Alternative to:TavilyZyte

TensorFlow

End-to-end machine learning platform and tooling ecosystem

TensorFlow is a machine learning platform with Python and C++ APIs, optional GPU packages, and companion libraries for data, training, deployment, and visualization.

★ 201.8k⟳ todayApache-2.0

Ollama

Run open AI models locally or in the cloud

Ollama runs open language models such as Gemma, Qwen, DeepSeek and gpt-oss on macOS, Windows and Linux, locally or in the cloud. It offers a CLI, a REST API, and Python and JavaScript libraries.

★ 188.3k⟳ 2 days agoMIT
Open Source Alternative to:OpenAI API

Transformers

Shared model definitions for multimodal ML workloads

Transformers is a Python library that defines pretrained text, vision, audio, and multimodal models once in PyTorch for shared inference and training across the ecosystem.

★ 169.4k⟳ todayApache-2.0

llama.cpp

LLM inference engine in C/C++ for local and cloud hardware

llama.cpp runs large language models and multimodal models locally or in the cloud with minimal setup. It includes a CLI, an OpenAI-compatible server with a built-in chat app, and a C library API.

★ 136.5k⟳ todayMIT
Open Source Alternative to:OpenAI API