Model#
BatDetect2 Model#
acoupi_batdetect2.model
#
Acoupi detection and classification Models.
Classes:
Name | Description |
---|---|
BatDetect2 |
BatDetect2 Model to analyse the audio recording. |
Classes#
BatDetect2()
#
Bases: Model
BatDetect2 Model to analyse the audio recording.
This model uses the BatDetect2 library to detect bat calls in audio recordings and classify them into one of the 18 UK bat species.
Attributes:
Name | Type | Description |
---|---|---|
name |
str
|
The name of the model, by default "BatDetect2". |
Methods:
Name | Description |
---|---|
load_api |
|
run |
Run the model on the recording. |
Attributes:
Name | Type | Description |
---|---|---|
api |
|
|
name |
str
|
|
Attributes#
api
property
#
name: str = 'BatDetect2'
class-attribute
instance-attribute
#
Functions#
load_api()
#
run(recording)
#
Run the model on the recording.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
recording
|
Recording
|
The audio recording to process. |
required |
Returns:
Type | Description |
---|---|
ModelOutput
|
The model output containing the detections. |