Interface IEventRecognizer
This interface specializes IAnalyser2 to be a species recognizer.
Inherited Members
Namespace: AnalysisPrograms.Recognizers.Base
Assembly: AnalysisPrograms.dll
Syntax
public interface IEventRecognizer : IAnalyser2, ICiteable, IHasStatus
Methods
| Improve this Doc View SourceRecognize(AudioRecording, Config, TimeSpan, Lazy<IndexCalculateResult[]>, DirectoryInfo, Nullable<Int32>)
Do your analysis. This method is called once per segment (typically one-minute segments).
Declaration
RecognizerResults Recognize(AudioRecording audioRecording, Config configuration, TimeSpan segmentStartOffset, Lazy<IndexCalculateResult[]> getSpectralIndexes, DirectoryInfo outputDirectory, int? imageWidth)
Parameters
Type | Name | Description |
---|---|---|
AudioRecording | audioRecording | The audio recording to process - it should be a minute or two long. |
Config | configuration | The configuration to use for this analysis. |
TimeSpan | segmentStartOffset | In analyze long recording scenarios this is the time from the start of the original audio recording for this segment. |
Lazy<IndexCalculateResult[]> | getSpectralIndexes | Invoke this lazy function to get indices for the current segment. |
DirectoryInfo | outputDirectory | The current output directory. |
Nullable<Int32> | imageWidth | The expected width of output images. |
Returns
Type | Description |
---|---|
RecognizerResults | A recognizer results object. |