mirror of
https://github.com/azaion/annotations.git
synced 2026-04-22 11:06:30 +00:00
refactor external clients
put model batch size as parameter in config
This commit is contained in:
@@ -5,14 +5,15 @@ namespace Azaion.Common.DTO.Config;
|
||||
[MessagePackObject]
|
||||
public class AIRecognitionConfig
|
||||
{
|
||||
[Key(nameof(FramePeriodRecognition))] public int FramePeriodRecognition { get; set; }
|
||||
[Key(nameof(FrameRecognitionSeconds))] public double FrameRecognitionSeconds { get; set; }
|
||||
[Key(nameof(ProbabilityThreshold))] public double ProbabilityThreshold { get; set; }
|
||||
[Key("f_pr")] public int FramePeriodRecognition { get; set; }
|
||||
[Key("f_rs")] public double FrameRecognitionSeconds { get; set; }
|
||||
[Key("pt")] public double ProbabilityThreshold { get; set; }
|
||||
|
||||
[Key(nameof(TrackingDistanceConfidence))] public double TrackingDistanceConfidence { get; set; }
|
||||
[Key(nameof(TrackingProbabilityIncrease))] public double TrackingProbabilityIncrease { get; set; }
|
||||
[Key(nameof(TrackingIntersectionThreshold))] public double TrackingIntersectionThreshold { get; set; }
|
||||
[Key("t_dc")] public double TrackingDistanceConfidence { get; set; }
|
||||
[Key("t_pi")] public double TrackingProbabilityIncrease { get; set; }
|
||||
[Key("t_it")] public double TrackingIntersectionThreshold { get; set; }
|
||||
|
||||
[Key(nameof(Data))] public byte[] Data { get; set; } = null!;
|
||||
[Key(nameof(Paths))] public List<string> Paths { get; set; } = null!;
|
||||
[Key("d")] public byte[] Data { get; set; } = null!;
|
||||
[Key("p")] public List<string> Paths { get; set; } = null!;
|
||||
[Key("m_bs")] public int ModelBatchSize { get; set; } = 2;
|
||||
}
|
||||
Reference in New Issue
Block a user