Skip to content

Namespace mediapipe::anonymous_namespace{ssd_anchors_calculator.cc}

Namespace List > mediapipe > anonymous_namespace{ssd_anchors_calculator.cc}

Classes

Type Name
struct FeatureMapDim
struct MultiScaleAnchorInfo

Public Functions

Type Name
Anchor CalculateAnchorBox (const int y_center, const int x_center, const float scale, const float aspect_ratio, const std::pair< float, float > base_anchor_size, const std::pair< float, float > anchor_stride, const std::pair< float, float > anchor_offset)
float CalculateScale (float min_scale, float max_scale, int stride_index, int num_strides)
FeatureMapDim GetFeatureMapDimensions (const SsdAnchorsCalculatorOptions & options, int index)
std::pair< float, float > GetMultiScaleAnchorOffset (const SsdAnchorsCalculatorOptions & options, const float stride, const int level)
int GetNumLayers (const SsdAnchorsCalculatorOptions & options)
void NormalizeAnchor (const int input_height, const int input_width, Anchor * anchor)

Public Functions Documentation

function CalculateAnchorBox

Anchor mediapipe::anonymous_namespace{ssd_anchors_calculator.cc}::CalculateAnchorBox (
    const int y_center,
    const int x_center,
    const float scale,
    const float aspect_ratio,
    const std::pair< float, float > base_anchor_size,
    const std::pair< float, float > anchor_stride,
    const std::pair< float, float > anchor_offset
) 

function CalculateScale

float mediapipe::anonymous_namespace{ssd_anchors_calculator.cc}::CalculateScale (
    float min_scale,
    float max_scale,
    int stride_index,
    int num_strides
) 

function GetFeatureMapDimensions

FeatureMapDim mediapipe::anonymous_namespace{ssd_anchors_calculator.cc}::GetFeatureMapDimensions (
    const SsdAnchorsCalculatorOptions & options,
    int index
) 

function GetMultiScaleAnchorOffset

std::pair< float, float > mediapipe::anonymous_namespace{ssd_anchors_calculator.cc}::GetMultiScaleAnchorOffset (
    const SsdAnchorsCalculatorOptions & options,
    const float stride,
    const int level
) 

function GetNumLayers

int mediapipe::anonymous_namespace{ssd_anchors_calculator.cc}::GetNumLayers (
    const SsdAnchorsCalculatorOptions & options
) 

function NormalizeAnchor

void mediapipe::anonymous_namespace{ssd_anchors_calculator.cc}::NormalizeAnchor (
    const int input_height,
    const int input_width,
    Anchor * anchor
) 


The documentation for this class was generated from the following file /home/friedel/devel/ILLIXR-plugins/hand_tracking/mediapipe/calculators/tflite/ssd_anchors_calculator.cc