EClassificationDataset::SetImageObject
Sets the specified object for the given image.
Namespace: Euresys::Open_eVision::EasyDeepLearning
[C++]
void SetImageObject(
int imageIndex,
int objectIndex,
const ELocatorObject& obj
)
void SetImageObject(
int imageIndex,
int objectIndex,
const std::string& label
)
void SetImageObject(
int imageIndex,
int objectIndex,
const ERectangleRegion& region
)
Parameters
imageIndex
Index of the image
objectIndex
Index of the object between 0 and EClassificationDataset::GetImageNumObjects
obj
Object
label
New label for the object
region
New region for the object
Remarks
If the label of the object does not exist in the object labels of the dataset, the label will be added to the object labels of the dataset.
EClassificationDataset.SetImageObject
Sets the specified object for the given image.
Namespace: Euresys.Open_eVision.EasyDeepLearning
[C#]
void SetImageObject(
int imageIndex,
int objectIndex,
Euresys.Open_eVision.EasyDeepLearning.ELocatorObject obj
)
void SetImageObject(
int imageIndex,
int objectIndex,
string label
)
void SetImageObject(
int imageIndex,
int objectIndex,
Euresys.Open_eVision.ERectangleRegion region
)
Parameters
imageIndex
Index of the image
objectIndex
Index of the object between 0 and EClassificationDataset::GetImageNumObjects
obj
Object
label
New label for the object
region
New region for the object
Remarks
If the label of the object does not exist in the object labels of the dataset, the label will be added to the object labels of the dataset.