ClassList > mediapipe > DetectionsToRectsCalculator
Inherits the following classes: mediapipe::CalculatorBase
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
Protected Functions
Type |
Name |
virtual absl::Status |
ComputeRotation (const ::mediapipe::Detection & detection, const DetectionSpec & detection_spec, float * rotation)
|
virtual absl::Status |
DetectionToNormalizedRect (const ::mediapipe::Detection & detection, const DetectionSpec & detection_spec, ::mediapipe::NormalizedRect * rect)
|
virtual absl::Status |
DetectionToRect (const ::mediapipe::Detection & detection, const DetectionSpec & detection_spec, ::mediapipe::Rect * rect)
|
virtual DetectionSpec |
GetDetectionSpec (const CalculatorContext * cc)
|
Protected Static Functions
Public Functions Documentation
function Open
absl::Status mediapipe::DetectionsToRectsCalculator::Open (
CalculatorContext * cc
) override
function Process
absl::Status mediapipe::DetectionsToRectsCalculator::Process (
CalculatorContext * cc
) override
Public Static Functions Documentation
function GetContract
static absl::Status mediapipe::DetectionsToRectsCalculator::GetContract (
CalculatorContract * cc
)
Protected Attributes Documentation
variable end_keypoint_index_
int mediapipe::DetectionsToRectsCalculator::end_keypoint_index_;
variable options_
::mediapipe::DetectionsToRectsCalculatorOptions mediapipe::DetectionsToRectsCalculator::options_;
variable output_zero_rect_for_empty_detections_
bool mediapipe::DetectionsToRectsCalculator::output_zero_rect_for_empty_detections_;
variable rotate_
bool mediapipe::DetectionsToRectsCalculator::rotate_;
variable start_keypoint_index_
int mediapipe::DetectionsToRectsCalculator::start_keypoint_index_;
variable target_angle_
float mediapipe::DetectionsToRectsCalculator::target_angle_;
Protected Functions Documentation
function ComputeRotation
virtual absl::Status mediapipe::DetectionsToRectsCalculator::ComputeRotation (
const ::mediapipe::Detection & detection,
const DetectionSpec & detection_spec,
float * rotation
)
function DetectionToNormalizedRect
virtual absl::Status mediapipe::DetectionsToRectsCalculator::DetectionToNormalizedRect (
const ::mediapipe::Detection & detection,
const DetectionSpec & detection_spec,
::mediapipe::NormalizedRect * rect
)
function DetectionToRect
virtual absl::Status mediapipe::DetectionsToRectsCalculator::DetectionToRect (
const ::mediapipe::Detection & detection,
const DetectionSpec & detection_spec,
::mediapipe::Rect * rect
)
function GetDetectionSpec
virtual DetectionSpec mediapipe::DetectionsToRectsCalculator::GetDetectionSpec (
const CalculatorContext * cc
)
Protected Static Functions Documentation
function NormalizeRadians
static inline float mediapipe::DetectionsToRectsCalculator::NormalizeRadians (
float angle
)
The documentation for this class was generated from the following file /home/friedel/devel/ILLIXR-plugins/hand_tracking/mediapipe/calculators/util/detections_to_rects_calculator.h