raisim::CocoImage
struct · #include <raisim/sensors/GroundTruthIo.hpp>
One image of a COCO detection file with its annotations.
Public attributes
id
cpp
int64_t idImage id.
fileName
cpp
std::string fileNameImage file name.
width
cpp
int widthImage width in pixels.
height
cpp
int heightImage height in pixels.
boxes
cpp
std::vector<BoundingBox2D> boxesOne annotation per box: bbox [xMin, yMin, xMax - xMin, yMax - yMin], area = visiblePixels, category_id = label, iscrowd 0, plus raisim_object_id and raisim_body_id.
masks
cpp
std::vector<CocoRle> masksInstance masks, one per box (the annotation's segmentation), or empty for none.