VNUtils.GetNormalizedFaceBoundingBoxPoint Method

Definition

Gets the point, normalized in the range [0..1, 0..1] in an image of the given size, based on faceBoundingBox and faceLandmarkPoint.

public static CoreGraphics.CGPoint GetNormalizedFaceBoundingBoxPoint (OpenTK.Vector2 faceLandmarkPoint, CoreGraphics.CGRect faceBoundingBox, nuint imageWidth, nuint imageHeight);
static member GetNormalizedFaceBoundingBoxPoint : OpenTK.Vector2 * CoreGraphics.CGRect * nuint * nuint -> CoreGraphics.CGPoint

Parameters

faceLandmarkPoint
Vector2
faceBoundingBox
CGRect
imageWidth
System.System.UIntPtr System.unativeint
imageHeight
System.System.UIntPtr System.unativeint

Returns

Applies to