clippy
This commit is contained in:
parent
25edcfe316
commit
70ad975866
|
@ -260,15 +260,15 @@ fn open_debug_lap(
|
|||
) {
|
||||
if let Some(screenshot) = &lap.screenshot {
|
||||
let ocr_results = ocr::ocr_all_regions(
|
||||
&screenshot,
|
||||
screenshot,
|
||||
config.clone(),
|
||||
learned.clone(),
|
||||
ocr_cache.clone(),
|
||||
learned,
|
||||
ocr_cache,
|
||||
);
|
||||
let debug_lap = DebugLap {
|
||||
screenshot: RetainedImage::from_image_bytes("debug-lap", &to_png_bytes(screenshot))
|
||||
.unwrap(),
|
||||
debug_regions: save_frames_from(&screenshot, &*config, &ocr_results),
|
||||
debug_regions: save_frames_from(screenshot, &*config, &ocr_results),
|
||||
};
|
||||
|
||||
ui_state.debug_lap = Some(debug_lap);
|
||||
|
|
Loading…
Reference in New Issue