Skip to contents

This function initializes the BirdNET model (v2.4). It is kept for backward compatibility and is deprecated. Use birdnet_model_tflite() instead for model initialization.

Usage

init_model(tflite_num_threads = NULL, language = "en_us")

Arguments

tflite_num_threads

integer. The number of threads to use for TensorFlow Lite operations. If NULL (default), the default threading behavior will be used. Will be coerced to an integer if possible.

language

Character string specifying the language code to use for the model's text processing. The language must be one of the available languages supported by the BirdNET model.

Value

An instance of the BirdNET model.

Note

The language parameter must be one of the available languages returned by available_languages().

This function is kept for backward compatibility. Please use birdnet_model_tflite() instead.