Files
annotations/Azaion.Common/Services/Inference/InferenceServiceEvents.cs
T
Oleksandr Bezdieniezhnykh fde9a9f418 add altitude + camera spec component and calc tile size by this
also restrict detections to be no bigger than in classes.json
2025-09-23 01:48:10 +03:00

22 lines
516 B
C#

using Azaion.Common.Database;
using MediatR;
using MessagePack;
namespace Azaion.Common.Services.Inference;
public class InferenceDataEvent(AnnotationImage annotationImage) : INotification
{
public AnnotationImage AnnotationImage { get; set; } = annotationImage;
}
[MessagePackObject]
public class InferenceStatusEvent : INotification
{
[Key("mn")]
public string? MediaName { get; set; }
[Key("dc")]
public int DetectionsCount { get; set; }
}
public class InferenceDoneEvent : INotification;