Skip to main content

Napari plugin for the annotation of bee entering and leaving the hive.

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

napari-bee-annotator-0.0.1.tar.gz (15.2 kB view details)

Uploaded Source

Built Distribution

napari_bee_annotator-0.0.1-py3-none-any.whl (12.3 kB view details)

Uploaded Python 3

File details

Details for the file napari-bee-annotator-0.0.1.tar.gz.

File metadata

  • Download URL: napari-bee-annotator-0.0.1.tar.gz
  • Upload date:
  • Size: 15.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.12.1

File hashes

Hashes for napari-bee-annotator-0.0.1.tar.gz
Algorithm Hash digest
SHA256 e58a68a57df6c7ac2462be55f07f379e36637e9e0738b2b6c19eac6731bcfa46
MD5 3254014766d2a418125f78ccbec705c2
BLAKE2b-256 d1727a42b1d2b262aaf6cef78faeddc67e3da716232b0e1b0480a5e8f55ad142

See more details on using hashes here.

File details

Details for the file napari_bee_annotator-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for napari_bee_annotator-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3270a46d58ba0d45062915f06a3470f2ac76a86c2fc967b1c412f02f118c535e
MD5 2bff5a8217e67aef2c72924df78ab998
BLAKE2b-256 d5c9fc20d6fa33411b012de9119e940234647b743429504c44104044b619fd3f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page