mirror of
https://github.com/azaion/annotations.git
synced 2026-04-22 22:06:30 +00:00
5ef81fab22
put tile size to name and set it dynamically for AI recognition
22 lines
854 B
C#
22 lines
854 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; } = 4;
|
|
|
|
[Key("ov_p")] public double BigImageTileOverlapPercent { get; set; }
|
|
[Key("tile_size")] public int TileSize { get; set; }
|
|
} |