mirror of
https://github.com/azaion/annotations.git
synced 2026-04-22 21:36:30 +00:00
6429ad62c2
put model batch size as parameter in config
19 lines
723 B
C#
19 lines
723 B
C#
using MessagePack;
|
|
|
|
namespace Azaion.Common.DTO.Config;
|
|
|
|
[MessagePackObject]
|
|
public class AIRecognitionConfig
|
|
{
|
|
[Key("f_pr")] public int FramePeriodRecognition { get; set; }
|
|
[Key("f_rs")] public double FrameRecognitionSeconds { get; set; }
|
|
[Key("pt")] public double ProbabilityThreshold { 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("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;
|
|
} |