mirror of
https://github.com/macaodha/batdetect2.git
synced 2026-01-10 17:19:34 +01:00
Add get_default_preprocessor function
This commit is contained in:
parent
3cfceb76b4
commit
a485ea4f79
@ -86,6 +86,7 @@ __all__ = [
|
||||
"build_spectrogram_builder",
|
||||
"get_spectrogram_resolution",
|
||||
"load_preprocessing_config",
|
||||
"get_default_preprocessor",
|
||||
]
|
||||
|
||||
|
||||
@ -451,3 +452,7 @@ def build_preprocessor(
|
||||
min_freq=min_freq,
|
||||
max_freq=max_freq,
|
||||
)
|
||||
|
||||
|
||||
def get_default_preprocessor():
|
||||
return build_preprocessor()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user