mirror of
https://github.com/azaion/annotations.git
synced 2026-04-22 09:06:30 +00:00
fix loader bug with _CACHED_HW_INFO
put tile size to name and set it dynamically for AI recognition
This commit is contained in:
@@ -504,11 +504,13 @@ public partial class Annotator
|
||||
if (files.Count == 0)
|
||||
return;
|
||||
|
||||
await _inferenceService.RunInference(files, DetectionCancellationSource.Token);
|
||||
//TODO: Get Tile Size from UI based on height setup
|
||||
var tileSize = 550;
|
||||
await _inferenceService.RunInference(files, tileSize, DetectionCancellationSource.Token);
|
||||
|
||||
LvFiles.Items.Refresh();
|
||||
_isInferenceNow = false;
|
||||
StatusHelp.Text = "Розпізнавання зваершено";
|
||||
StatusHelp.Text = "Розпізнавання завершено";
|
||||
AIDetectBtn.IsEnabled = true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user