Function

VNNormalizedRectIsIdentityRect

Returns YES if the rectangle has origin (0,0) and unit length and width.

Declaration

bool VNNormalizedRectIsIdentityRect(CGRect normalizedRect);

Parameters

normalizedRect

Normalized input rect to test for identity.

Return Value

A Boolean value that indicates whether the input normalized rect is the identity rect.

See Also

Coordinate Conversion

VNImagePointForNormalizedPoint

Projects a point from normalized coordinate space into image coordinates.

VNImageRectForNormalizedRect

Projects a rectangle from normalized coordinate space into image coordinates.

VNNormalizedRectForImageRect

Normalizes a rectangle from image coordinates.

VNNormalizedIdentityRect

The normalized identity rectangle with origin (0,0) and unit length and width.

VNImagePointForFaceLandmarkPoint

Returns the image coordinates of a given face landmark point.

VNNormalizedFaceBoundingBoxPointForLandmarkPoint

Returns the coordinates of a given face landmark point, in bounding box coordinates.