Table of Contents

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

int

ClassColors

Custom class colors (classId -> RGB).

public Dictionary<int, (byte R, byte G, byte B)>? ClassColors { get; set; }

Property Value

Dictionary<int, (byte R, byte G, byte B)>

FontScale

Font scale for text.

public double FontScale { get; set; }

Property Value

double

MaskOpacity

Opacity for mask overlays (0-1).

public double MaskOpacity { get; set; }

Property Value

double

ShowConfidence

Whether to show confidence scores.

public bool ShowConfidence { get; set; }

Property Value

bool

ShowLabels

Whether to show class labels.

public bool ShowLabels { get; set; }

Property Value

bool

ShowPolygons

Whether to show polygon contours for text regions.

public bool ShowPolygons { get; set; }

Property Value

bool