NVIDIA DeepStream SDK API Reference

9.2 Release
AnchorHandler Class Referenceabstract

Detailed Description

Interface class for anchor projection operations.

This abstract class defines the interface for anchor projection operations that transform anchors based on time and coordinate transformations.

Definition at line 32 of file sources/gst-plugins/gst-nvdsvideotemplate/ds-sparse4d/postprocess/instance_bank.h.

Inheritance diagram for AnchorHandler:

Public Member Functions

virtual ~AnchorHandler ()=default
 
virtual std::vector< torch::Tensor > anchor_projection (const torch::Tensor &anchors, const std::vector< torch::Tensor > &transforms, const std::vector< torch::Tensor > &time_intervals)=0
 Project anchors using transformation matrices and time intervals. More...
 
virtual ~AnchorHandler ()=default
 
virtual std::vector< torch::Tensor > anchor_projection (const torch::Tensor &anchors, const std::vector< torch::Tensor > &transforms, const std::vector< torch::Tensor > &time_intervals)=0
 Project anchors using transformation matrices and time intervals. More...
 

Constructor & Destructor Documentation

◆ ~AnchorHandler() [1/2]

virtual AnchorHandler::~AnchorHandler ( )
virtualdefault

◆ ~AnchorHandler() [2/2]

virtual AnchorHandler::~AnchorHandler ( )
virtualdefault

Member Function Documentation

◆ anchor_projection() [1/2]

virtual std::vector<torch::Tensor> AnchorHandler::anchor_projection ( const torch::Tensor &  anchors,
const std::vector< torch::Tensor > &  transforms,
const std::vector< torch::Tensor > &  time_intervals 
)
pure virtual

Project anchors using transformation matrices and time intervals.

Parameters
anchorsInput anchors to project
transformsTransformation matrices for coordinate transforms
time_intervalsTime intervals for temporal projection
Returns
Vector of projected anchor tensors

Implemented in SparseBox3DKeyPointsGenerator, and SparseBox3DKeyPointsGenerator.

◆ anchor_projection() [2/2]

virtual std::vector<torch::Tensor> AnchorHandler::anchor_projection ( const torch::Tensor &  anchors,
const std::vector< torch::Tensor > &  transforms,
const std::vector< torch::Tensor > &  time_intervals 
)
pure virtual

Project anchors using transformation matrices and time intervals.

Parameters
anchorsInput anchors to project
transformsTransformation matrices for coordinate transforms
time_intervalsTime intervals for temporal projection
Returns
Vector of projected anchor tensors

Implemented in SparseBox3DKeyPointsGenerator, and SparseBox3DKeyPointsGenerator.


The documentation for this class was generated from the following file: