captchaforge 0.2.38

[DO NOT USE — UNDER ACTIVE DEVELOPMENT, NOT PRODUCTION-READY] Captcha solver scaffolding for Firefox + BiDi-driven browsers. The architecture is in place (vendor solvers, retry-loop iframe walking, VLM provider abstraction, real-WAF bench harness) but the live-vendor success rate is still 0% — Cloudflare Turnstile / hCaptcha / reCAPTCHA detect us at a TLS / BiDi fingerprint layer that no flag-based stealth has cleared. Watch the repo; do not depend on this for any real workload.
Documentation
//! Local vision backend for CAPTCHA solving — zero API cost.
//!
//! Uses ONNX Runtime (`ort`) for GPU-accelerated inference on
//! pre-trained models. Models are downloaded on first use and cached
//! in `~/.captchaforge/models/`.
//!
//! ## Architecture
//!
//! ```text
//! Challenge screenshot → YOLOv8 detection → grid tile mapping → BiDi clicks
//!                      → CRNN recognition → text answer
//! ```
//!
//! The vision backend is **feature-gated** behind `vision`:
//!
//! ```toml
//! [dependencies]
//! captchaforge = { version = "0.2", features = ["vision"] }
//! ```
//!
//! Without the feature, the solver chain falls back to VLM (Ollama)
//! and Tesseract OCR.

#[cfg(feature = "vision")]
pub mod model_hub;

#[cfg(feature = "vision")]
pub mod yolo;

#[cfg(feature = "vision")]
pub mod crnn;

#[cfg(feature = "vision")]
pub use model_hub::{ModelHub, ModelId};

#[cfg(feature = "vision")]
pub use yolo::{YoloDetector, Detection, YOLO_INPUT_SIZE};

#[cfg(feature = "vision")]
pub use crnn::{CrnnRecognizer, CRNN_INPUT_HEIGHT, CRNN_INPUT_WIDTH, default_charset};