mirror of
https://github.com/azaion/annotations.git
synced 2026-04-22 18:26:31 +00:00
bump ImageSharp version vulnerability fix
decouple Loader from Common dll fix current user url in api
This commit is contained in:
@@ -9,8 +9,9 @@ public class Detection : YoloLabel
|
||||
{
|
||||
[JsonProperty(PropertyName = "an")][Key("an")] public string AnnotationName { get; set; } = null!;
|
||||
[JsonProperty(PropertyName = "p")][Key("p")] public double Confidence { get; set; }
|
||||
[JsonProperty(PropertyName = "dn")][Key("dn")] public string Description { get; set; }
|
||||
[JsonProperty(PropertyName = "af")][Key("af")] public AffiliationEnum Affiliation { get; set; }
|
||||
|
||||
[JsonProperty(PropertyName = "dn")] [Key("dn")] public string Description { get; set; } = null!;
|
||||
[JsonProperty(PropertyName = "af")] [Key("af")] public AffiliationEnum Affiliation { get; set; }
|
||||
|
||||
//For db & serialization
|
||||
public Detection(){}
|
||||
|
||||
@@ -3,16 +3,18 @@ namespace Azaion.Common.Database;
|
||||
public class MediaFile
|
||||
{
|
||||
public string Name { get; set; } = null!;
|
||||
public string LocalPath { get; set; } = null!;
|
||||
public DateTime? ProcessedDate { get; set; }
|
||||
public MediaDetectionStatus MediaDetectionStatus { get; set; } = MediaDetectionStatus.New;
|
||||
public string MediaUrl { get; set; } = null!;
|
||||
public DateTime? LastProcessedDate { get; set; }
|
||||
public MediaStatus Status { get; set; } = MediaStatus.New;
|
||||
public int? RecognisedObjects { get; set; }
|
||||
}
|
||||
|
||||
public enum MediaDetectionStatus
|
||||
public enum MediaStatus
|
||||
{
|
||||
None,
|
||||
New,
|
||||
Processing,
|
||||
Processed,
|
||||
AIProcessing,
|
||||
AIProcessed,
|
||||
ManualConfirmed,
|
||||
Error
|
||||
}
|
||||
Reference in New Issue
Block a user