Configuration
The configuration JSON specifies parameters used during the classification process. You can provide a custom configuration in Settings.
The configuration can contain a subset of all available fields:
{ "threshold": { "safe": 0.1, "high": 0.9 }}Full configuration
Section titled “Full configuration”{ "threshold": { "safe": 0.1, "high": 0.9 }, "max_height": 320, "target_fps": 3, "use_sws": false, "model": { "px_act_thresh": 1, "px_act_thresh_by_frame": 1 }, "highlight_info": true}Thresholds
Section titled “Thresholds”| Field | Type | Description |
|---|---|---|
safe | float | Threshold below which a classification is considered safe. Default: 0.1. |
high | float | Threshold above which a classification is considered high risk. Default: 0.9. |
See Risk, labels, and scores for how thresholds determine risk levels.
General settings
Section titled “General settings”| Field | Type | Description |
|---|---|---|
max_height | int | Maximum height of video frames. |
target_fps | int | Target frames per second for video processing. |
use_sws | boolean | Whether to use software scaling. |
Model settings
Section titled “Model settings”| Field | Type | Description |
|---|---|---|
px_act_thresh | int | Pixel activation threshold. |
px_act_thresh_by_frame | int | Pixel activation threshold per frame. |
Highlighter settings
Section titled “Highlighter settings”| Field | Type | Description |
|---|---|---|
highlight_info | boolean | Whether to include highlight information in the output. |