VisualizationOptions
Options & Configuration · AiDotNet.ComputerVision.Visualization
Options for visualization.
Constructors
| Constructor | Summary |
|---|---|
VisualizationOptions() |
Properties
| Property | Summary |
|---|---|
Dictionary<int, ValueTuple<byte, byte, byte>> ClassColors { get; set; } |
Custom class colors (classId -> RGB). |
bool ShowConfidence { get; set; } |
Whether to show confidence scores. |
bool ShowLabels { get; set; } |
Whether to show class labels. |
bool ShowPolygons { get; set; } |
Whether to show polygon contours for text regions. |
double FontScale { get; set; } |
Font scale for text. |
double MaskOpacity { get; set; } |
Opacity for mask overlays (0-1). |
int BoxThickness { get; set; } |
Thickness of bounding boxes in pixels. |