mirror of
https://github.com/azaion/annotations.git
synced 2026-04-22 13:06:31 +00:00
added better logging to python
add day / winter / night switcher
This commit is contained in:
@@ -11,8 +11,6 @@ public class AnnotationConfig
|
||||
[JsonIgnore]
|
||||
public Dictionary<int, DetectionClass> DetectionClassesDict => _detectionClassesDict ??= AnnotationClasses.ToDictionary(x => x.Id);
|
||||
|
||||
public int? LastSelectedExplorerClass { get; set; }
|
||||
|
||||
public List<string> VideoFormats { get; set; } = null!;
|
||||
public List<string> ImageFormats { get; set; } = null!;
|
||||
|
||||
|
||||
@@ -11,12 +11,21 @@ public class DetectionClass
|
||||
public string Name { get; set; } = null!;
|
||||
public string ShortName { get; set; } = null!;
|
||||
|
||||
public PhotoMode PhotoMode { get; set; }
|
||||
|
||||
[JsonIgnore]
|
||||
public Color Color => Id.ToColor();
|
||||
|
||||
[JsonIgnore]
|
||||
[JsonIgnore] //For UI
|
||||
public int ClassNumber => Id + 1;
|
||||
|
||||
[JsonIgnore]
|
||||
public SolidColorBrush ColorBrush => new(Color);
|
||||
}
|
||||
|
||||
public enum PhotoMode
|
||||
{
|
||||
Regular = 0,
|
||||
Winter = 20,
|
||||
Night = 40
|
||||
}
|
||||
Reference in New Issue
Block a user