libeblearntools
|
A class describing all attributes of a groundtruth object. More...
#include <dataset.h>
Public Member Functions | |
object (uint id) | |
Initialize this object by its bounding box. | |
virtual | ~object () |
Destructor. | |
virtual void | set_rect (int xmin, int ymin, int xmax, int ymax) |
Set rect attributes given these coordinates. | |
virtual void | set_visible (int xmin, int ymin, int xmax, int ymax) |
Set visible rect attributes given these coordinates. | |
virtual void | set_centroid (int x, int y) |
Set centroid coordinates. | |
Public Attributes | |
uint | id |
Object id. | |
rect< int > * | visible |
The visible part of the object. | |
pair< int, int > * | centroid |
Centroid of object. | |
string | name |
The name of this object. | |
bool | difficult |
Difficulty flag. | |
bool | truncated |
Truncated flag. | |
bool | occluded |
Occlusion flag. | |
string | pose |
Pose description string. | |
std::vector< object * > | parts |
Parts of this object. | |
bool | ignored |
The object exists but not used as sample. |
A class describing all attributes of a groundtruth object.