EClassificationDataset::SetImageLabel

Sets the label of images in the dataset.

Namespace: Euresys::Open_eVision::EasyDeepLearning

[C++]

void SetImageLabel(
   int index,
   const std::string& label
)

void SetImageLabel(
   const std::string& filter,
   const std::string& label
)

Parameters

index

The index of the image for which to set the label.

label

The label

filter

A glob filter

Remarks

The filter is a glob pattern. This means the wildcard characters "*" and "?" correspond to "zero or more character" and "a single character" respectively. For example, the filter "*_good_*.png" will match any filename that contains the string "_good_" and has a png extension.

EClassificationDataset.SetImageLabel

Sets the label of images in the dataset.

Namespace: Euresys.Open_eVision.EasyDeepLearning

[C#]

void SetImageLabel(
   int index,
   string label
)

void SetImageLabel(
   string filter,
   string label
)

Parameters

index

The index of the image for which to set the label.

label

The label

filter

A glob filter

Remarks

The filter is a glob pattern. This means the wildcard characters "*" and "?" correspond to "zero or more character" and "a single character" respectively. For example, the filter "*_good_*.png" will match any filename that contains the string "_good_" and has a png extension.