Utilities

Utilities help define general VPI functionalities in Python.

vpi.Lock

Set a lock mode for container access.

vpi.MemType

Set a memory type for container access.

vpi.Border

Set a border extension for an algorithm.

vpi.Conversion

Set a conversion policy when converting image formats.

vpi.Interp

Set an interpolation type for an algorithm.

vpi.FisheyeMapping

Define the fisheye lens mapping types.

vpi.OptFlowQuality

Set a quality for the optical flow algorithm.

vpi.Flip

Set a mode for the image flip algorithm.

vpi.KLTType

Define the type of the KLT algorithm.

vpi.KLTTrackStatus

Define the track status in the KLT algorithm.

vpi.KLTTemplateStatus

Define the template status in the KLT algorithm.

vpi.TNRPreset

Define the preset in the TNR algorithm.

vpi.TNRVersion

Define the version of the TNR algorithm.

vpi.TerminationCriteria

Set the termination criteria for an algorithm.

vpi.ImageStatistics

Set the image statistics flags for the algorithm.

vpi.BruteForceMatcherFlags

Set the Brute force matcher flags for the algorithm.

vpi.ConfidenceType

Defines the way the confidence values are computed.

vpi.CornerScore

Defines different types of corner scores.

vpi.Norm

Define the method to measure the magnitude of vectors.

vpi.GradientMethod

Define the method to generate gradients.

vpi.HomographyTransform2D

Define a homography 2D transform.

vpi.BoundingBox

Define a bounding box.

vpi.KLTTrackedBoundingBox

Define a tracked bounding box.

vpi.Stats

Image statistics information.

vpi.KeypointF32

Define a keypoint with float32 coordinates.

vpi.RectangleI

Create a rectangle.

vpi.WarpGrid

Create a warp grid.