VNNormalizedRectIsIdentityRect(_:)
Returns a Boolean value that indicates whether the rectangle has an origin of zero and unit length and width.
Declaration
func VNNormalizedRectIsIdentityRect(_ normalizedRect: CGRect) -> BoolParameters
- normalizedRect:
Normalized input rect to test for identity.
Return Value
true if the rectangle is the identity rectangle, otherwise false.
See Also
Coordinate conversion
VNImagePointForNormalizedPoint(_:_:_:)VNNormalizedPointForImagePoint(_:_:_:)VNImagePointForNormalizedPointUsingRegionOfInterest(_:_:_:_:)VNNormalizedPointForImagePointUsingRegionOfInterest(_:_:_:_:)VNImageRectForNormalizedRect(_:_:_:)VNNormalizedRectForImageRect(_:_:_:)VNImageRectForNormalizedRectUsingRegionOfInterest(_:_:_:_:)VNNormalizedRectForImageRectUsingRegionOfInterest(_:_:_:_:)VNNormalizedIdentityRectVNImagePointForFaceLandmarkPoint(_:_:_:_:)VNNormalizedFaceBoundingBoxPointForLandmarkPoint(_:_:_:_:)