EClassificationDataset::AddImageObject

Adds an object to the image.

Namespace: Euresys::Open_eVision::EasyDeepLearning

[C++]

void AddImageObject(
   int imageIndex,
   const ELocatorObject& obj
)

void AddImageObject(
   int imageIndex,
   const std::string& label,
   const ERectangleRegion& box
)

Parameters

imageIndex

Index of the image

obj

Object

label

Label of the object

box

Axis-aligned rectangle

Remarks

The image will be marked as labelled for object detection (EClassificationDataset::HasObjectLabeling equals to true) after a call to this method.
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.AddImageObject

Adds an object to the image.

Namespace: Euresys.Open_eVision.EasyDeepLearning

[C#]

void AddImageObject(
   int imageIndex,
   Euresys.Open_eVision.EasyDeepLearning.ELocatorObject obj
)

void AddImageObject(
   int imageIndex,
   string label,
   Euresys.Open_eVision.ERectangleRegion box
)

Parameters

imageIndex

Index of the image

obj

Object

label

Label of the object

box

Axis-aligned rectangle

Remarks

The image will be marked as labelled for object detection (EClassificationDataset::HasObjectLabeling equals to true) after a call to this method.
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.