This example uses config
specified the columns to be shown in the filterable/sortable list
added columns to be displayed in the “info card” when a clip is selected
changed the text on the “capture” button to “Save Spectrograms” and specifed a default director for the visualizations
enabled all 4-types of time annotation (time_select, start/end_time_select, bounding-box, multibox)
required speices labeling attacted to time annotations (so each multibox can be labeled independently)
additional form types (number-box and checkbox)
Author: Brookie Guzder-Williams (bguzder-williams@berkeley.edu)
Affiliation: The Eric and Wendy Schmidt Center for Data Science & Environment
Website: https://dse.berkeley.edu/
License: BSD 3-ClauseFor configuration options and advanced usage see the documentation and the geo-analysis example. See simpleBioacousticAnnotator.
from jupyter_bioacoustic import BioacousticAnnotator
DATA = 'data/annotate-data.csv'
AUDIO = 'https://dse-soundhub.s3.us-west-2.amazonaws.com/public/audio/dev/20230524_200000.flac'
AUDIO = 'audio/test-default.flac'
CATEGORIES = 'data/categories-small.csv'ba = BioacousticAnnotator(data_path=DATA, audio=AUDIO, config='config/data-collection-example.yaml')
ba.open()