#include <sam2_segmentation.hpp>
◆ GetMasks2DFromPointQueryInterface()
| moveit_pro::behaviors::GetMasks2DFromPointQueryInterface::GetMasks2DFromPointQueryInterface |
( |
| ) |
|
|
default |
◆ ~GetMasks2DFromPointQueryInterface()
| virtual moveit_pro::behaviors::GetMasks2DFromPointQueryInterface::~GetMasks2DFromPointQueryInterface |
( |
| ) |
|
|
virtualdefault |
◆ init()
| void moveit_pro::behaviors::GetMasks2DFromPointQueryInterface::init |
( |
const std::filesystem::path & |
encoder_onnx_file, |
|
|
const std::filesystem::path & |
decoder_onnx_file |
|
) |
| |
|
virtual |
◆ isUsingCpuFallback()
| bool moveit_pro::behaviors::GetMasks2DFromPointQueryInterface::isUsingCpuFallback |
( |
| ) |
const |
|
virtual |
Returns true if either the SAM2 encoder or decoder fell back to CPU execution.
◆ segment_image()
| const moveit_pro_ml::ONNXImage & moveit_pro::behaviors::GetMasks2DFromPointQueryInterface::segment_image |
( |
const moveit_pro_ml::ONNXImage & |
image, |
|
|
const std::vector< moveit_pro_ml::PointPrompt > & |
point_prompts, |
|
|
const std::optional< moveit_pro_ml::ONNXImage > & |
mask_prompt = std::nullopt |
|
) |
| const |
|
virtual |
◆ is_initialized
| bool moveit_pro::behaviors::GetMasks2DFromPointQueryInterface::is_initialized = false |
The documentation for this class was generated from the following files: