feat: 完成 Rust 滑块匹配算法,修复透明留白导致的坐标偏移

- 实现灰度与边缘两种匹配模式
- 对齐 OpenCV NCC 算法逻辑
- 优化图像灰度化与 Alpha 通道转换
- 提升坐标计算精度至像素级
This commit is contained in:
2026-05-08 16:03:33 +08:00
parent 1a329ca273
commit 21bd1c93bf
8 changed files with 294 additions and 250 deletions

View File

@@ -8,6 +8,7 @@ mod model_loader;
mod ocr_model;
mod utils;
pub mod slide_model;
mod cv2;
use anyhow::Result;
use image::DynamicImage;