Class VisualizationOptions
- Namespace
- AiDotNet.ComputerVision.Visualization
- Assembly
- AiDotNet.dll
Options for visualization.
public class VisualizationOptions
- Inheritance
-
VisualizationOptions
- Inherited Members
Properties
BoxThickness
Thickness of bounding boxes in pixels.
public int BoxThickness { get; set; }
Property Value
ClassColors
Custom class colors (classId -> RGB).
public Dictionary<int, (byte R, byte G, byte B)>? ClassColors { get; set; }
Property Value
FontScale
Font scale for text.
public double FontScale { get; set; }
Property Value
MaskOpacity
Opacity for mask overlays (0-1).
public double MaskOpacity { get; set; }
Property Value
ShowConfidence
Whether to show confidence scores.
public bool ShowConfidence { get; set; }
Property Value
ShowLabels
Whether to show class labels.
public bool ShowLabels { get; set; }
Property Value
ShowPolygons
Whether to show polygon contours for text regions.
public bool ShowPolygons { get; set; }