ImageSafetyConfig

Options & Configuration · AiDotNet.Safety.Image

Configuration for image safety classification modules.

For Beginners

Use this to configure which types of harmful image content to detect and how strict the detection should be.

Constructors

Constructor Summary
ImageSafetyConfig()

Properties

Property Summary
ImageClassifierType? ClassifierType { get; set; } Classifier type to use.
bool? CsamDetection { get; set; } Whether to detect CSAM content.
double? NsfwThreshold { get; set; } NSFW detection threshold (0.0-1.0).
double? ViolenceThreshold { get; set; } Violence detection threshold (0.0-1.0).