2023-06-28 18:42:37 -07:00

36 lines
1.4 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

namespace View_by_Distance.Shared.Models.Stateless.Methods;
public interface IFace
{ // ...
string TestStatic_GetJson(string jsonFileFullName) =>
GetJson(jsonFileFullName);
static string GetJson(string jsonFileFullName) =>
Face.GetJson(jsonFileFullName);
double TestStatic_Getα(int x1, int x2, int y1, int y2) =>
Getα(x1, x2, y1, y2);
static double Getα(int x1, int x2, int y1, int y2) =>
Face.Getα(x1, x2, y1, y2);
Models.Face TestStatic_GetFace(string jsonFileFullName) =>
GetFace(jsonFileFullName);
static Models.Face GetFace(string jsonFileFullName) =>
Face.GetFace(jsonFileFullName);
Models.Face[] TestStatic_GetFaces(string jsonFileFullName) =>
GetFaces(jsonFileFullName);
static Models.Face[] GetFaces(string jsonFileFullName) =>
Face.GetFaces(jsonFileFullName);
(bool?, double?) TestStatic_Getα(Dictionary<FacePart, Models.FacePoint[]> faceParts) =>
GetEyeα(faceParts);
static (bool?, double?) GetEyeα(Dictionary<FacePart, Models.FacePoint[]> faceParts) =>
Face.GetEyeα(faceParts);
(bool, int[]) TestStatic_GetEyeCollection(int threshold, List<Models.Face> faces) =>
GetEyeCollection(threshold, faces);
static (bool, int[]) GetEyeCollection(int threshold, List<Models.Face> faces) =>
Face.GetEyeCollection(threshold, faces);
}