![]() |
MyCaffe
1.12.2.41
Deep learning software for Windows C# programmers.
|
The Annotation class is used by annotations attached to SimpleDatum's and used in SSD. More...
Public Member Functions | |
| Annotation (NormalizedBBox bbox, int nInstanceId=0) | |
| The constructor. More... | |
| Annotation | Clone () |
| Returns a copy of the Annotation. More... | |
| void | Normalize (Rectangle rc) |
| Normalize all annotations to the given rectangle. More... | |
| void | Save (BinaryWriter bw) |
| Save the annotation data using the binary writer. More... | |
Static Public Member Functions | |
| static Annotation | Load (BinaryReader br) |
| Load the annotation using a binary reader. More... | |
Properties | |
| int | instance_id [getset] |
| Get/set the instance ID. More... | |
| NormalizedBBox | bbox [getset] |
| Get/set the bounding box. More... | |
The Annotation class is used by annotations attached to SimpleDatum's and used in SSD.
Definition at line 21 of file Annotation.cs.
| MyCaffe.basecode.Annotation.Annotation | ( | NormalizedBBox | bbox, |
| int | nInstanceId = 0 |
||
| ) |
The constructor.
| bbox | Specifies the bounding box. |
| nInstanceId | Specifies the instance ID. |
Definition at line 31 of file Annotation.cs.
| Annotation MyCaffe.basecode.Annotation.Clone | ( | ) |
Returns a copy of the Annotation.
Definition at line 41 of file Annotation.cs.
|
static |
Load the annotation using a binary reader.
| br | Specifies the binary reader used to load the data. |
Definition at line 110 of file Annotation.cs.
| void MyCaffe.basecode.Annotation.Normalize | ( | Rectangle | rc | ) |
Normalize all annotations to the given rectangle.
| rc | Specifies the rectangle used to normalize all annotations. |
Definition at line 73 of file Annotation.cs.
| void MyCaffe.basecode.Annotation.Save | ( | BinaryWriter | bw | ) |
Save the annotation data using the binary writer.
| bw | Specifies the binary writer used to save the data. |
Definition at line 99 of file Annotation.cs.
|
getset |
Get/set the bounding box.
Definition at line 63 of file Annotation.cs.
|
getset |
Get/set the instance ID.
Definition at line 54 of file Annotation.cs.