|
MoveIt Pro API
Core Behaviors for MoveIt Pro
|
#include <moveit_pro_behavior/behaviors/vision/sam2_automasking.hpp>#include <fmt/format.h>#include <fmt/ranges.h>#include <algorithm>#include <moveit_pro_behavior/behaviors/vision/ml_cpu_fallback_warning.hpp>#include <moveit_pro_behavior_interface/get_required_ports.hpp>#include <moveit_pro_behavior_interface/metadata_fields.hpp>#include <moveit_pro_common/utils/filesystem_utils.hpp>#include <moveit_pro_ml/mask_utils.hpp>#include <moveit_pro_ml_ros/onnx_utils.hpp>#include <opencv2/opencv.hpp>
Namespaces | |
| namespace | moveit_pro |
| namespace | moveit_pro::behaviors |
Functions | |
| tl::expected< std::vector< cv::Mat >, std::string > | moveit_pro::behaviors::refineAndSplit (const moveit_pro_ml::SAM2Automask::Result &logits, int original_width, int original_height, float nms_threshold, int min_component_area) |
| Refine and split SAM2 masks with NMS, component splitting, and upscaling. | |