WholePercentages
This commit is contained in:
Distance/Models
Face/Models
Instance
Map/Models
PhotoPrism/Models
Shared/Models
@ -10,10 +10,10 @@ public interface ILocation
|
||||
static Models.Location? GetLocation(int height, Rectangle rectangle, int width) =>
|
||||
Location.GetLocation(height, rectangle, width);
|
||||
|
||||
List<Models.Face> TestStatic_FilterByIntersect(Models.Face[] faces, int normalizedRectangle, float rectangleIntersectMinimum) =>
|
||||
FilterByIntersect(faces, normalizedRectangle, rectangleIntersectMinimum);
|
||||
static List<Models.Face> FilterByIntersect(Models.Face[] faces, int normalizedRectangle, float rectangleIntersectMinimum) =>
|
||||
Location.FilterByIntersect(faces, normalizedRectangle, rectangleIntersectMinimum);
|
||||
List<Models.Face> TestStatic_FilterByIntersect(Models.Face[] faces, float rectangleIntersectMinimum, int wholePercentages) =>
|
||||
FilterByIntersect(faces, rectangleIntersectMinimum, wholePercentages);
|
||||
static List<Models.Face> FilterByIntersect(Models.Face[] faces, float rectangleIntersectMinimum, int wholePercentages) =>
|
||||
Location.FilterByIntersect(faces, rectangleIntersectMinimum, wholePercentages);
|
||||
|
||||
Rectangle? TestStatic_GetRectangle(DatabaseFile databaseFile, Marker marker, Models.OutputResolution outputResolution) =>
|
||||
GetRectangle(databaseFile, marker, outputResolution);
|
||||
@ -30,15 +30,15 @@ public interface ILocation
|
||||
static List<Models.Location> GetLocations<T>(List<MappingFromPhotoPrism> mappingFromPhotoPrismCollection, List<Models.Face> faces, List<LocationContainer<T>> containers) =>
|
||||
Location.GetLocations(mappingFromPhotoPrismCollection, faces, containers);
|
||||
|
||||
Rectangle? TestStatic_GetNormalizedRectangle(int locationDigits, int normalizedRectangle) =>
|
||||
GetNormalizedRectangle(locationDigits, normalizedRectangle);
|
||||
static Rectangle? GetNormalizedRectangle(int locationDigits, int normalizedRectangle) =>
|
||||
Location.GetNormalizedRectangle(locationDigits, normalizedRectangle.ToString());
|
||||
Rectangle? TestStatic_GetWholePercentages(int locationDigits, int wholePercentages) =>
|
||||
GetWholePercentages(locationDigits, wholePercentages);
|
||||
static Rectangle? GetWholePercentages(int locationDigits, int wholePercentages) =>
|
||||
Location.GetWholePercentages(locationDigits, wholePercentages.ToString());
|
||||
|
||||
Rectangle? TestStatic_GetRectangle(int locationDigits, int normalizedRectangle, Models.OutputResolution outputResolution) =>
|
||||
GetRectangle(locationDigits, normalizedRectangle, outputResolution);
|
||||
static Rectangle? GetRectangle(int locationDigits, int normalizedRectangle, Models.OutputResolution outputResolution) =>
|
||||
Location.GetRectangle(locationDigits, normalizedRectangle.ToString(), outputResolution);
|
||||
Rectangle? TestStatic_GetRectangle(int locationDigits, Models.OutputResolution outputResolution, int wholePercentages) =>
|
||||
GetRectangle(locationDigits, outputResolution, wholePercentages);
|
||||
static Rectangle? GetRectangle(int locationDigits, Models.OutputResolution outputResolution, int wholePercentages) =>
|
||||
Location.GetRectangle(locationDigits, outputResolution, wholePercentages.ToString());
|
||||
|
||||
string TestStatic_GetLeftPadded(int locationDigits, string value) =>
|
||||
GetLeftPadded(locationDigits, value);
|
||||
@ -80,20 +80,20 @@ public interface ILocation
|
||||
static (decimal?, decimal?, decimal?, decimal?) GetHeightLeftTopWidth(Models.Location location, Models.OutputResolution outputResolution) =>
|
||||
Location.GetHeightLeftTopWidth(location.Bottom, OutputResolution.Get(outputResolution).Height, location.Left, location.Right, location.Top, OutputResolution.Get(outputResolution).Width, zCount: 1);
|
||||
|
||||
int TestStatic_GetNormalizedRectangle(Models.Location location, int locationDigits, Models.OutputResolution outputResolution) =>
|
||||
GetNormalizedRectangle(location, locationDigits, outputResolution);
|
||||
static int GetNormalizedRectangle(Models.Location location, int locationDigits, Models.OutputResolution outputResolution) =>
|
||||
Location.GetNormalizedRectangle(location.Bottom, OutputResolution.Get(outputResolution).Height, location.Left, locationDigits, location.Right, location.Top, OutputResolution.Get(outputResolution).Width, zCount: 1);
|
||||
int TestStatic_GetWholePercentages(Models.Location location, int locationDigits, Models.OutputResolution outputResolution) =>
|
||||
GetWholePercentages(location, locationDigits, outputResolution);
|
||||
static int GetWholePercentages(Models.Location location, int locationDigits, Models.OutputResolution outputResolution) =>
|
||||
Location.GetWholePercentages(location.Bottom, OutputResolution.Get(outputResolution).Height, location.Left, locationDigits, location.Right, location.Top, OutputResolution.Get(outputResolution).Width, zCount: 1);
|
||||
|
||||
int TestStatic_GetNormalizedRectangle(int locationDigits) =>
|
||||
GetNormalizedRectangle(locationDigits);
|
||||
static int GetNormalizedRectangle(int locationDigits) =>
|
||||
Location.GetNormalizedRectangle(1, 1, 0, locationDigits, 1, 0, 1, zCount: 1);
|
||||
int TestStatic_GetWholePercentages(int locationDigits) =>
|
||||
GetWholePercentages(locationDigits);
|
||||
static int GetWholePercentages(int locationDigits) =>
|
||||
Location.GetWholePercentages(1, 1, 0, locationDigits, 1, 0, 1, zCount: 1);
|
||||
|
||||
int TestStatic_GetNormalizedRectangle(int bottom, int height, int left, int locationDigits, int right, int top, int width) =>
|
||||
GetNormalizedRectangle(bottom, height, left, locationDigits, right, top, width);
|
||||
static int GetNormalizedRectangle(int bottom, int height, int left, int locationDigits, int right, int top, int width) =>
|
||||
Location.GetNormalizedRectangle(bottom, height, left, locationDigits, right, top, width, zCount: 1);
|
||||
int TestStatic_GetWholePercentages(int bottom, int height, int left, int locationDigits, int right, int top, int width) =>
|
||||
GetWholePercentages(bottom, height, left, locationDigits, right, top, width);
|
||||
static int GetWholePercentages(int bottom, int height, int left, int locationDigits, int right, int top, int width) =>
|
||||
Location.GetWholePercentages(bottom, height, left, locationDigits, right, top, width, zCount: 1);
|
||||
|
||||
Models.Location TestStatic_GetTrimBound(double detectionConfidence, Rectangle rectangle, int width, int height, int facesCount) =>
|
||||
TrimBound(detectionConfidence, rectangle, width, height, facesCount);
|
||||
|
Reference in New Issue
Block a user