New solver subsystem with independent models: - GapDetectorCNN (1x128x256 grayscale → sigmoid) for slide gap detection - RotationRegressor (3x128x128 RGB → sin/cos via tanh) for rotation angle prediction - SlideSolver with 3-tier strategy: template match → edge detect → CNN fallback - RotateSolver with ONNX sin/cos → atan2 inference - Generators, training scripts, CLI commands, and slide track utility Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
29 lines
572 B
TOML
29 lines
572 B
TOML
[project]
|
|
name = "captchbreaker"
|
|
version = "0.1.0"
|
|
description = "验证码识别多模型系统 - 调度模型 + 多专家模型两级架构"
|
|
requires-python = ">=3.10"
|
|
dependencies = [
|
|
"torch>=2.0.0",
|
|
"torchvision>=0.15.0",
|
|
"onnx>=1.14.0",
|
|
"onnxscript>=0.6.0",
|
|
"onnxruntime>=1.15.0",
|
|
"pillow>=10.0.0",
|
|
"numpy>=1.24.0",
|
|
"tqdm>=4.65.0",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
server = [
|
|
"fastapi>=0.100.0",
|
|
"uvicorn>=0.23.0",
|
|
"python-multipart>=0.0.6",
|
|
]
|
|
cv = [
|
|
"opencv-python>=4.8.0",
|
|
]
|
|
|
|
[project.scripts]
|
|
captcha = "cli:main"
|