mirror of
https://github.com/azaion/annotations.git
synced 2026-04-22 09:26:31 +00:00
fix detection label
fix schema migrator for enums
This commit is contained in:
@@ -5,7 +5,7 @@ using System.Windows.Media;
|
||||
using System.Windows.Shapes;
|
||||
using Azaion.Common.DTO;
|
||||
using Azaion.Common.Extensions;
|
||||
using Label = System.Windows.Controls.Label;
|
||||
using Annotation = Azaion.Common.Database.Annotation;
|
||||
|
||||
namespace Azaion.Common.Controls;
|
||||
|
||||
@@ -94,7 +94,8 @@ public class DetectionControl : Border
|
||||
};
|
||||
_detectionLabelPanel = new DetectionLabelPanel
|
||||
{
|
||||
Confidence = canvasLabel.Confidence
|
||||
Confidence = canvasLabel.Confidence,
|
||||
DetectionClass = Annotation.DetectionClassesDict[canvasLabel.ClassNumber]
|
||||
};
|
||||
|
||||
DetectionLabelContainer.Children.Add(_detectionLabelPanel);
|
||||
|
||||
Reference in New Issue
Block a user