Utilities

General utilities

registry.Registry

The registry that provides name -> object mapping.

image.CPUImage

image.GPUImage

Image data container.

artist.Position

Start position of the element drawing relative to the box.

artist.Artist

alias of ArtistGPUMat

logging.LoggerMixin

Mixes logger in GStreamer element.

DeepStream utilities

get_nvds_buf_surface

This function returns the frame in NumPy format.

OpenCV utilities

nvds_to_gpu_mat

Build GpuMat header for allocated CUDA-memory of the frame.

alpha_comp

In place composition of two images using alpha opacity values contained in each image.

apply_cuda_filter

Apply CUDA filter to a frame in place.

draw_rect

Draw rectangle on a frame.