MyCaffe  1.12.2.41
Deep learning software for Windows C# programmers.
MyCaffe.basecode.LabelBBox Class Reference

The LabelBBox manages a bounding box used in SSD. More...

Public Member Functions

 LabelBBox ()
 The constructor. More...
 
List< KeyValuePair< int, List< NormalizedBBox > > > ToList ()
 Returns the internal dictionary of items as a list. More...
 
void Add (int nLabel, NormalizedBBox bbox)
 Add a new bbox to the label. More...
 
bool Contains (int nLabel)
 Returns whether or not the label is contained in the label bounding boxe set. More...
 
void Clear ()
 Remove all items from the group. More...
 

Properties

int Count [get]
 Returns the number of items. More...
 
List< NormalizedBBoxthis[int nLabel] [getset]
 Returns the list of NormalizedBBox items at the label specified. More...
 

Detailed Description

The LabelBBox manages a bounding box used in SSD.

See also
SSD: Single Shot MultiBox Detector by Wei Liu, Dragomir Anguelov, Dumitru Erhan, Christian Szegedy, Scott Reed, Cheng-Yang Fu, Alexander C. Berg, 2016.
GitHub: SSD: Single Shot MultiBox Detector, by weiliu89/caffe, 2016

Definition at line 16 of file LabelBBox.cs.

Constructor & Destructor Documentation

◆ LabelBBox()

MyCaffe.basecode.LabelBBox.LabelBBox ( )

The constructor.

Definition at line 23 of file LabelBBox.cs.

Member Function Documentation

◆ Add()

void MyCaffe.basecode.LabelBBox.Add ( int  nLabel,
NormalizedBBox  bbox 
)

Add a new bbox to the label.

Parameters
nLabel
bbox

Definition at line 41 of file LabelBBox.cs.

◆ Clear()

void MyCaffe.basecode.LabelBBox.Clear ( )

Remove all items from the group.

Definition at line 90 of file LabelBBox.cs.

◆ Contains()

bool MyCaffe.basecode.LabelBBox.Contains ( int  nLabel)

Returns whether or not the label is contained in the label bounding boxe set.

Parameters
nLabelSpecifies the label.
Returns
If the label exists, true is returned, otherwise, false is returned.

Definition at line 62 of file LabelBBox.cs.

◆ ToList()

List< KeyValuePair< int, List< NormalizedBBox > > > MyCaffe.basecode.LabelBBox.ToList ( )

Returns the internal dictionary of items as a list.

Returns

Definition at line 31 of file LabelBBox.cs.

Property Documentation

◆ Count

int MyCaffe.basecode.LabelBBox.Count
get

Returns the number of items.

Definition at line 52 of file LabelBBox.cs.

◆ this[int nLabel]

List<NormalizedBBox> MyCaffe.basecode.LabelBBox.this[int nLabel]
getset

Returns the list of NormalizedBBox items at the label specified.

Parameters
nLabelSpecifies the label.
Returns
The list of NormalizedBBox items at the label is returned.

Definition at line 72 of file LabelBBox.cs.


The documentation for this class was generated from the following file: