Bee annotator
Napari plugin for the annotation of bee entering and leaving the hive.
Developed by the EPFL Center for Imaging for the Mobile Robotic Systems Group in Dec 2023. This napari plugin provides an easy way for the researches to annotate honey bees leaving/entering the hive. The annotations will serve as ground truth for the validation of various automated animal tracking approaches.
Installation¶
You can install napari-bee-annotator
via pip:
pip install napari-bee-annotator
To install latest development version :
pip install git+https://github.com/EPFL-Center-for-Imaging/napari-bee-annotator.git
Getting started¶
-
Open napari with the plugin and your video using the following command
napari -w napari-bee-annotator --plugin video path/to/video.mp4
. Note that you need to have napari_video installed to readmp4
files. -
Select the orientation of your video: horizontal/vertical refers to the direction of the bee's leaving/entering the hive.
-
Start annotating: A simple left click indicates a bee moving up or to the left depending on the orientation selected. You can hold down the shift key to annotate a bee moving down or to the right. Annotations can be deleted with a right click on the annotation you want to delete. To move to the next frame, you can either hold down
ctrl
and scroll with the mouse wheel or click on the play button. Playback parameters, such as the playback speed, can be changed by right clicking on the play button. -
Saving and loading tracks: To save a tracks layer selected from the list of layers and click on
File > Save selected layers
. Choose a name and the csv extension. If you want to continue to work on the annotations for a specific video, you first have to load the corresponding csv file by clicking onOpen with Plugin > Open file(s)...
. Select the file you want to load and click on open. A dialog should pop up that asks you to select the reader to use for loading the csv file. SelectBee annotator
. Lastly, you have to tell the plugin to interact with the layer you just loaded by selecting it in theTracks layer
drop down menu.
Contributing¶
Contributions are very welcome. Tests can be run with tox, please ensure the coverage at least stays the same before you submit a pull request.
License¶
Distributed under the terms of the BSD-3 license, "napari-bee-annotator" is free and open source software
Issues¶
If you encounter any problems, please file an issue along with a detailed description.
Supported data:
- Information not submitted
Plugin type:
Open extension:
Save extension:
Save layers:
GitHub activity:
- Stars: 1
- Forks: 0
- Issues + PRs: 0