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.HomographyTransform2D

Define a homography 2D transform.

vpi.BoundingBox

Define a bounding box.

vpi.KLTTrackedBoundingBox

Define a tracked bounding box.

vpi.KeypointF32

Define a keypoint with float32 coordinates.

vpi.RectangleI

Create a rectangle.

vpi.WarpGrid

Create a warp grid.