|
RealSense Cross Platform API
RealSense Cross-platform API
|
Object detection result from algorithm. More...
#include <rs_types.h>
Public Attributes | |
| int | class_id |
| int | score |
| int | top_left_x |
| int | top_left_y |
| int | bottom_right_x |
| int | bottom_right_y |
| float | depth |
| rs2_vector | world_position |
| float | center_of_mass_x |
| float | center_of_mass_y |
| int | center_of_mass_valid |
Object detection result from algorithm.
| int rs2_object_detection::bottom_right_x |
Bottom-right corner pixel X coordinate
| int rs2_object_detection::bottom_right_y |
Bottom-right corner pixel Y coordinate
| int rs2_object_detection::center_of_mass_valid |
Nonzero when world_position, center_of_mass_x and center_of_mass_y are valid
| float rs2_object_detection::center_of_mass_x |
COM column in source-image pixels. Valid only when center_of_mass_valid is nonzero
| float rs2_object_detection::center_of_mass_y |
COM row in source-image pixels. Valid only when center_of_mass_valid is nonzero
| int rs2_object_detection::class_id |
Object class/category identifier
| float rs2_object_detection::depth |
Distance to detected object in meters, as computed by firmware
| int rs2_object_detection::score |
Detection confidence score 0-100
| int rs2_object_detection::top_left_x |
Top-left corner pixel X coordinate
| int rs2_object_detection::top_left_y |
Top-left corner pixel Y coordinate
| rs2_vector rs2_object_detection::world_position |
COM X, Y, Z in camera coordinates, meters. Valid only when center_of_mass_valid is nonzero
1.8.14