23 lines
481 B
C#
23 lines
481 B
C#
|
using System.Drawing;
|
|||
|
|
|||
|
namespace yolov5_onnx.Mod
|
|||
|
{
|
|||
|
/// <summary>
|
|||
|
/// Label of detected object.
|
|||
|
/// </summary>
|
|||
|
public class YoloLabel
|
|||
|
{
|
|||
|
public int Id { get; set; }
|
|||
|
public string Name { get; set; }
|
|||
|
public YoloLabelKind Kind { get; set; }
|
|||
|
public Color Color { get; set; }
|
|||
|
public float PenWidth { get; set; }
|
|||
|
|
|||
|
public YoloLabel()
|
|||
|
{
|
|||
|
Color = Color.Red;
|
|||
|
PenWidth = 4;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|