Open javaCR7 opened 1 year ago
can Use
var pen =Pens.DashDot(prediction.Label.Color, 1);
image.Mutate(a => a.DrawPolygon(pen,
new PointF(prediction.Rectangle.Left, prediction.Rectangle.Top),
new PointF(prediction.Rectangle.Right, prediction.Rectangle.Top),
new PointF(prediction.Rectangle.Right, prediction.Rectangle.Bottom),
new PointF(prediction.Rectangle.Left, prediction.Rectangle.Bottom)
));