dotnet format
This commit is contained in:
parent
34a02fd8bd
commit
5996ec2a5a
@ -130,11 +130,11 @@ internal abstract class Face
|
|||||||
return (review, result);
|
return (review, result);
|
||||||
}
|
}
|
||||||
|
|
||||||
internal static (bool, int[]) GetEyeCollection(int threshold, List<Shared.Models.Face> faces)
|
internal static (bool, int[]) GetEyeCollection(int threshold, List<Models.Face> faces)
|
||||||
{
|
{
|
||||||
bool result = false;
|
bool result = false;
|
||||||
List<int> results = new();
|
List<int> results = new();
|
||||||
foreach (Shared.Models.Face face in faces)
|
foreach (Models.Face face in faces)
|
||||||
{
|
{
|
||||||
if (face.Mapping?.MappingFromLocation?.Eyeα is null || face.Mapping.MappingFromLocation.EyeReview is null)
|
if (face.Mapping?.MappingFromLocation?.Eyeα is null || face.Mapping.MappingFromLocation.EyeReview is null)
|
||||||
continue;
|
continue;
|
||||||
|
@ -28,9 +28,9 @@ public interface IFace
|
|||||||
static (bool?, double?) GetEyeα(Dictionary<FacePart, Models.FacePoint[]> faceParts) =>
|
static (bool?, double?) GetEyeα(Dictionary<FacePart, Models.FacePoint[]> faceParts) =>
|
||||||
Face.GetEyeα(faceParts);
|
Face.GetEyeα(faceParts);
|
||||||
|
|
||||||
(bool, int[]) TestStatic_GetEyeCollection(int threshold, List<Shared.Models.Face> faces) =>
|
(bool, int[]) TestStatic_GetEyeCollection(int threshold, List<Models.Face> faces) =>
|
||||||
GetEyeCollection(threshold, faces);
|
GetEyeCollection(threshold, faces);
|
||||||
static (bool, int[]) GetEyeCollection(int threshold, List<Shared.Models.Face> faces) =>
|
static (bool, int[]) GetEyeCollection(int threshold, List<Models.Face> faces) =>
|
||||||
Face.GetEyeCollection(threshold, faces);
|
Face.GetEyeCollection(threshold, faces);
|
||||||
|
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user