Skip to content

Class mediapipe::api2::ImagePropertiesCalculator

ClassList > mediapipe > api2 > ImagePropertiesCalculator

Inherits the following classes: mediapipe::api2::Node

Public Static Attributes

Type Name
constexpr Input< OneOf< mediapipe::Image, mediapipe::ImageFrame > >::Optional kIn = {"IMAGE"}
constexpr Input< mediapipe::ImageFrame >::Optional kInCpu = {"IMAGE\_CPU"}
constexpr Input< GpuBuffer >::Optional kInGpu = {"IMAGE\_GPU"}
constexpr Output< std::pair< int, int > > kOut = {"SIZE"}

Public Functions

Type Name
MEDIAPIPE_NODE_CONTRACT (kIn, kInCpu, kInGpu, kOut)
absl::Status Process (CalculatorContext * cc) override

Public Static Functions

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

Public Static Attributes Documentation

variable kIn

constexpr Input<OneOf<mediapipe::Image,mediapipe::ImageFrame>>::Optional mediapipe::api2::ImagePropertiesCalculator::kIn;

variable kInCpu

constexpr Input<mediapipe::ImageFrame>::Optional mediapipe::api2::ImagePropertiesCalculator::kInCpu;

variable kInGpu

constexpr Input<GpuBuffer>::Optional mediapipe::api2::ImagePropertiesCalculator::kInGpu;

variable kOut

constexpr Output<std::pair<int, int> > mediapipe::api2::ImagePropertiesCalculator::kOut;

Public Functions Documentation

function MEDIAPIPE_NODE_CONTRACT

mediapipe::api2::ImagePropertiesCalculator::MEDIAPIPE_NODE_CONTRACT (
    kIn,
    kInCpu,
    kInGpu,
    kOut
) 

function Process

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

Public Static Functions Documentation

function UpdateContract

static inline absl::Status mediapipe::api2::ImagePropertiesCalculator::UpdateContract (
    CalculatorContract * cc
) 


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