Class SceneClassifierOptions
- Namespace
- AiDotNet.Audio.Classification
- Assembly
- AiDotNet.dll
Options for acoustic scene classification.
public class SceneClassifierOptions
- Inheritance
-
SceneClassifierOptions
- Inherited Members
Properties
CustomScenes
Custom scene labels (optional).
public string[]? CustomScenes { get; set; }
Property Value
- string[]
FftSize
FFT size. Default: 2048.
public int FftSize { get; set; }
Property Value
HopLength
Hop length. Default: 512.
public int HopLength { get; set; }
Property Value
ModelPath
Path to ONNX model file (optional).
public string? ModelPath { get; set; }
Property Value
NumMels
Number of mel bands. Default: 128.
public int NumMels { get; set; }
Property Value
NumMfccs
Number of MFCCs. Default: 20.
public int NumMfccs { get; set; }
Property Value
OnnxOptions
ONNX model options.
public OnnxModelOptions OnnxOptions { get; set; }
Property Value
SampleRate
Audio sample rate. Default: 22050.
public int SampleRate { get; set; }
Property Value
TopK
Number of top predictions to return. Default: 3.
public int TopK { get; set; }