using System.Collections.ObjectModel;
using System.Text.Json.Serialization;
namespace Jellyfin.Plugin.JRay.Models;
///
/// One presence window.
///
///
/// A window is a claim about scene membership, not a recognition event
/// (SR-002). An actor who turns away, is occluded, or is off-camera while the
/// shot cuts to whoever they are speaking to is still present — so a consumer
/// must never read a window boundary as "the face was detected here", and must
/// not merge, split or trim windows.
///
public class JmanifestScene
{
/// Gets or sets the window start, in seconds.
[JsonPropertyName("start")]
public double Start { get; set; }
/// Gets or sets the window end, in seconds, inclusive.
[JsonPropertyName("end")]
public double End { get; set; }
///
/// Gets or sets the accumulated posterior that justified this claim, in [0, 1].
///
[JsonPropertyName("belief")]
public double? Belief { get; set; }
///
/// Gets or sets how the actor was identified: live, deferred
/// or pooled.
///
[JsonPropertyName("route")]
public string? Route { get; set; }
}