Solar
|
Perform 2D instance segmentation. UUID: 402aae34-bbec-43e3-8f36-3f201b6ca6d2
More...
#include <IInstanceSegmentation.h>
Public Member Functions | |
IInstanceSegmentation ()=default | |
IInstanceSegmentation default constructor. | |
virtual | ~IInstanceSegmentation ()=default |
IInstanceSegmentation default destructor. | |
virtual FrameworkReturnCode | segment (const SRef< SolAR::datastructure::Image > image, std::vector< SolAR::datastructure::Rectanglei > &boxes, std::vector< SRef< SolAR::datastructure::Image > > &masks, std::vector< uint32_t > &classIds, std::vector< float > &scores)=0 |
Perform 2D instance segmentation. More... | |
Perform 2D instance segmentation. UUID: 402aae34-bbec-43e3-8f36-3f201b6ca6d2
|
pure virtual |
Perform 2D instance segmentation.
[in] | image | The input image. |
[out] | boxes | The bounding boxes of each detected object. |
[out] | masks | The binary masks corresponding to the bounding boxes. For each mask, regions with a value of 1 correspond to the object, otherwise the background. |
[out] | classIds | The id of each object in the bounding box. |
[out] | scores | The corresponding confidence scores. |