2using System.Collections.Generic;
5using System.Threading.Tasks;
27 public LabelDescriptor(
int nLabel,
int nActiveLabel,
string strName,
int nImageCount)
30 m_nActiveLabel = nActiveLabel;
32 m_nImageCount = nImageCount;
49 get {
return m_nLabel; }
57 get {
return m_nActiveLabel; }
65 get {
return m_strName; }
73 get {
return m_nImageCount; }
74 set { m_nActiveLabel = value; }
83 return m_nActiveLabel.ToString() +
" -> " + m_strName;
The LabelDescriptor class describes a single label.
int ImageCount
Specifies the number of images under this label.
int ActiveLabel
Specifies the active label (used during training).
LabelDescriptor(int nLabel, int nActiveLabel, string strName, int nImageCount)
The LabelDescriptor constructor.
int Label
Specifies the original label
string Name
Specifies the label name.
override string ToString()
Creates the string representation of the descriptor.
LabelDescriptor(LabelDescriptor l)
The LabelDescriptor constructor.
The descriptors namespace contains all descriptor used to describe various items stored within the da...