Rename-isWrongYear
EyeThreshold
This commit is contained in:
@ -19,6 +19,7 @@ public class Configuration
|
||||
[Display(Name = "Distance Move Unable to Match by 1 Tick"), Required] public bool? DistanceMoveUnableToMatch { get; set; }
|
||||
[Display(Name = "Distance Pixel Distance Tolerance"), Required] public int? DistancePixelDistanceTolerance { get; set; }
|
||||
[Display(Name = "Distance Rename to Match"), Required] public bool? DistanceRenameToMatch { get; set; }
|
||||
[Display(Name = "Eye Threshold"), Required] public int? EyeThreshold { get; set; }
|
||||
[Display(Name = "Face Area Permille"), Required] public int? FaceAreaPermyriad { get; set; }
|
||||
[Display(Name = "Face Distance Hidden Image Factor"), Required] public int? FaceDistanceHiddenImageFactor { get; set; }
|
||||
[Display(Name = "Face Confidence Percent"), Required] public int? FaceConfidencePercent { get; set; }
|
||||
@ -121,6 +122,8 @@ public class Configuration
|
||||
throw new NullReferenceException(nameof(configuration.DistancePixelDistanceTolerance));
|
||||
if (configuration.DistanceRenameToMatch is null)
|
||||
throw new NullReferenceException(nameof(configuration.DistanceRenameToMatch));
|
||||
if (configuration.EyeThreshold is null)
|
||||
throw new NullReferenceException(nameof(configuration.EyeThreshold));
|
||||
if (configuration.FaceAreaPermyriad is null)
|
||||
throw new NullReferenceException(nameof(configuration.FaceAreaPermyriad));
|
||||
if (configuration.FaceDistanceHiddenImageFactor is null)
|
||||
@ -249,6 +252,7 @@ public class Configuration
|
||||
configuration.DistanceMoveUnableToMatch.Value,
|
||||
configuration.DistancePixelDistanceTolerance.Value,
|
||||
configuration.DistanceRenameToMatch.Value,
|
||||
configuration.EyeThreshold.Value,
|
||||
configuration.FaceAreaPermyriad.Value,
|
||||
configuration.FaceConfidencePercent.Value,
|
||||
configuration.FaceDistanceHiddenImageFactor.Value,
|
||||
|
@ -7,6 +7,7 @@ public class Configuration
|
||||
{
|
||||
|
||||
protected Property.Models.Configuration _PropertyConfiguration;
|
||||
|
||||
public Property.Models.Configuration PropertyConfiguration => _PropertyConfiguration;
|
||||
|
||||
public bool CheckDFaceAndUpWriteDates { init; get; }
|
||||
@ -18,6 +19,7 @@ public class Configuration
|
||||
public bool DistanceMoveUnableToMatch { init; get; }
|
||||
public int DistancePixelDistanceTolerance { init; get; }
|
||||
public bool DistanceRenameToMatch { init; get; }
|
||||
public int EyeThreshold { init; get; }
|
||||
public int FaceAreaPermyriad { init; get; }
|
||||
public int FaceDistanceHiddenImageFactor { init; get; }
|
||||
public int FaceConfidencePercent { init; get; }
|
||||
@ -98,6 +100,7 @@ public class Configuration
|
||||
bool distanceMoveUnableToMatch,
|
||||
int distancePixelDistanceTolerance,
|
||||
bool distanceRenameToMatch,
|
||||
int eyeThreshold,
|
||||
int faceAreaPermyriad,
|
||||
int faceConfidencePercent,
|
||||
int faceDistanceHiddenImageFactor,
|
||||
@ -177,6 +180,7 @@ public class Configuration
|
||||
DistanceMoveUnableToMatch = distanceMoveUnableToMatch;
|
||||
DistancePixelDistanceTolerance = distancePixelDistanceTolerance;
|
||||
DistanceRenameToMatch = distanceRenameToMatch;
|
||||
EyeThreshold = eyeThreshold;
|
||||
FaceAreaPermyriad = faceAreaPermyriad;
|
||||
FaceDistanceHiddenImageFactor = faceDistanceHiddenImageFactor;
|
||||
FaceConfidencePercent = faceConfidencePercent;
|
||||
|
Reference in New Issue
Block a user