mirror of
https://github.com/azaion/annotations.git
synced 2026-04-22 17:06:30 +00:00
use nms in the model itself, simplify and make postprocess faster.
make inference in batches, fix c# handling, add overlap handling
This commit is contained in:
@@ -139,6 +139,7 @@ public class AnnotatorEventHandler(
|
||||
}
|
||||
break;
|
||||
case PlaybackControlEnum.Stop:
|
||||
await mainWindow.DetectionCancellationSource.CancelAsync();
|
||||
mediaPlayer.Stop();
|
||||
break;
|
||||
case PlaybackControlEnum.PreviousFrame:
|
||||
@@ -294,7 +295,7 @@ public class AnnotatorEventHandler(
|
||||
media.HasAnnotations = false;
|
||||
mainWindow.LvFiles.Items.Refresh();
|
||||
}
|
||||
|
||||
}
|
||||
await Task.CompletedTask;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user