Skip to main content

napari-bee-annotator

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.

License BSD-3 PyPI Python Version tests codecov napari hub

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

  1. 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 read mp4 files.

  2. Select the orientation of your video: horizontal/vertical refers to the direction of the bee's leaving/entering the hive.

  3. 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.

  4. 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 on Open 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. Select Bee annotator. Lastly, you have to tell the plugin to interact with the layer you just loaded by selecting it in the Tracks 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.

Metadata

Release files for napari-bee-annotator 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for napari-bee-annotator 0.0.1
File Size Uploaded
napari-bee-annotator-0.0.1.tar.gz 15.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for napari-bee-annotator 0.0.1
File Interpreter ABI Platform
napari_bee_annotator-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 27.4 kB

Release files / napari-bee-annotator-0.0.1.tar.gz

Download URL napari-bee-annotator-0.0.1.tar.gz
Size 15.2 kB
Tags Source
SHA-256 checksum
How to use checksums
e58a68a57df6c7ac2462be55f07f379e36637e9e0738b2b6c19eac6731bcfa46
BLAKE2b-256 checksum
How to use checksums
d1727a42b1d2b262aaf6cef78faeddc67e3da716232b0e1b0480a5e8f55ad142
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.12.1

Release files / napari_bee_annotator-0.0.1-py3-none-any.whl

Download URL napari_bee_annotator-0.0.1-py3-none-any.whl
Size 12.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3270a46d58ba0d45062915f06a3470f2ac76a86c2fc967b1c412f02f118c535e
BLAKE2b-256 checksum
How to use checksums
d5c9fc20d6fa33411b012de9119e940234647b743429504c44104044b619fd3f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.12.1

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page