Skip to content

Class mediapipe::AssociationCalculator

template <typename T>

ClassList > mediapipe > AssociationCalculator

Inherits the following classes: mediapipe::CalculatorBase

Inherited by the following classes: mediapipe::AssociationNormRectCalculator

Public Functions

Type Name
absl::Status Open (CalculatorContext * cc) override
absl::Status Process (CalculatorContext * cc) override

Public Static Functions

Type Name
absl::Status GetContract (CalculatorContract * cc)

Protected Attributes

Type Name
bool has_prev_input_stream_
::mediapipe::AssociationCalculatorOptions options_
CollectionItemId prev_input_stream_id_

Protected Functions

Type Name
virtual std::pair< bool, int > GetId (const T & input)
virtual absl::StatusOr< Rectangle_f > GetRectangle (const T & input)
virtual void SetId (T * input, int id)

Public Functions Documentation

function Open

inline absl::Status mediapipe::AssociationCalculator::Open (
    CalculatorContext * cc
) override

function Process

inline absl::Status mediapipe::AssociationCalculator::Process (
    CalculatorContext * cc
) override

Public Static Functions Documentation

function GetContract

static inline absl::Status mediapipe::AssociationCalculator::GetContract (
    CalculatorContract * cc
) 

Protected Attributes Documentation

variable has_prev_input_stream_

bool mediapipe::AssociationCalculator< T >::has_prev_input_stream_;

variable options_

::mediapipe::AssociationCalculatorOptions mediapipe::AssociationCalculator< T >::options_;

variable prev_input_stream_id_

CollectionItemId mediapipe::AssociationCalculator< T >::prev_input_stream_id_;

Protected Functions Documentation

function GetId

inline virtual std::pair< bool, int > mediapipe::AssociationCalculator::GetId (
    const T & input
) 

function GetRectangle

inline virtual absl::StatusOr< Rectangle_f > mediapipe::AssociationCalculator::GetRectangle (
    const T & input
) 

function SetId

inline virtual void mediapipe::AssociationCalculator::SetId (
    T * input,
    int id
) 


The documentation for this class was generated from the following file /home/friedel/devel/ILLIXR-plugins/hand_tracking/mediapipe/calculators/util/association_calculator.h