Share via


VNUtils Class

Definition

A set of utility functions for working with images.

public static class VNUtils
type VNUtils = class
Inheritance
VNUtils

Properties

Name Description
NormalizedIdentityRect

Gets the normalized identity CGRect [0, 0, 1, 1].

VisionVersionNumber

Represents the value associated with the constant 'VNVisionVersionNumber'.

Methods

Name Description
GetElementTypeSize(VNElementType)
GetImagePoint(CGPoint, UIntPtr, UIntPtr, CGRect)
GetImagePoint(CGPoint, UIntPtr, UIntPtr)
GetImagePoint(Vector2, CGRect, UIntPtr, UIntPtr)
GetImageRect(CGRect, UIntPtr, UIntPtr, CGRect)
GetImageRect(CGRect, UIntPtr, UIntPtr)
GetNormalizedFaceBoundingBoxPoint(Vector2, CGRect, UIntPtr, UIntPtr)
GetNormalizedPoint(CGPoint, UIntPtr, UIntPtr, CGRect)
GetNormalizedPoint(CGPoint, UIntPtr, UIntPtr)
GetNormalizedRect(CGRect, UIntPtr, UIntPtr, CGRect)
GetNormalizedRect(CGRect, UIntPtr, UIntPtr)
IsIdentityRect(CGRect)

Returns true if the rect is [0, 0, 1, 1].

Applies to