clamp detections to media borders - create, move, resize

fix inference start
fix config
fix resize rectangles show
This commit is contained in:
Oleksandr Bezdieniezhnykh
2025-08-14 04:22:55 +03:00
parent 4780e8c61c
commit 61c93e9c88
4 changed files with 102 additions and 45 deletions
+1 -1
View File
@@ -127,9 +127,9 @@ public class DetectionControl : Border
VerticalAlignment = VerticalAlignment.Stretch,
Children = { _selectionFrame }
};
_grid.Children.Add(DetectionLabelContainer);
foreach (var rect in _resizedRectangles)
_grid.Children.Add(rect);
_grid.Children.Add(DetectionLabelContainer);
Child = _grid;
Cursor = Cursors.SizeAll;