mirror of
https://github.com/azaion/annotations.git
synced 2026-04-22 21:36:30 +00:00
c314268d1e
add day / winter / night switcher
21 lines
685 B
C#
21 lines
685 B
C#
using Newtonsoft.Json;
|
|
|
|
namespace Azaion.Common.DTO.Config;
|
|
|
|
public class AnnotationConfig
|
|
{
|
|
public List<DetectionClass> AnnotationClasses { get; set; } = null!;
|
|
|
|
[JsonIgnore]
|
|
private Dictionary<int, DetectionClass>? _detectionClassesDict;
|
|
[JsonIgnore]
|
|
public Dictionary<int, DetectionClass> DetectionClassesDict => _detectionClassesDict ??= AnnotationClasses.ToDictionary(x => x.Id);
|
|
|
|
public List<string> VideoFormats { get; set; } = null!;
|
|
public List<string> ImageFormats { get; set; } = null!;
|
|
|
|
public string AnnotationsDbFile { get; set; } = null!;
|
|
|
|
public double LeftPanelWidth { get; set; }
|
|
public double RightPanelWidth { get; set; }
|
|
} |