feat: 优化 image_io.rs 模块
- 新增 base64_to_image等工具函数。
This commit is contained in:
@@ -102,7 +102,7 @@ fn test_real_slide_match() {
|
||||
// 2. 执行匹配
|
||||
// 如果是那种带有明显阴影边缘的复杂滑块,建议 simple_target 传 false
|
||||
let start = std::time::Instant::now();
|
||||
let result = engine.slide_match(&target_img, &bg_img, false)
|
||||
let result = engine.slide_match(&target_img, &bg_img, true)
|
||||
.expect("Slide match 执行失败");
|
||||
let duration = start.elapsed();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user