Skip to main content

BEEhaviourLab provides tools for detecting, tracking, and analysing bee behaviour from video data.

Project description

BEEhaviourLab

tests

BEEhaviourLab provides tools for detecting, tracking, and analysing bee behaviour from video data.

Documentation

Full documentation is published on GitHub Pages: https://beehaviourlab.github.io/BEEhaviourLab/

Installation

Install from PyPI:

pip install beehaviourlab

Install with docs or test extras:

pip install "beehaviourlab[docs]"
pip install "beehaviourlab[test]"

Install with dev extras (docs + tests):

pip install "beehaviourlab[dev]"

Install from source (recommended for development):

pip install -e .

For docs tooling:

pip install -e ".[docs]"

Tracking module

All tracking commands are available under the bee track group.

Common commands:

bee track run-pipeline --input /path/to/video.mp4 --output /path/to/output_dir
bee track run-yolo --model-path /path/to/model.pt --source-video /path/to/video.mp4 --output-path /path/to/out.csv
bee track fix-ids /path/to/tracking.csv --output /path/to/fixed.csv --num-objects 5
bee track extract-flow /path/to/fixed.csv --output /path/to/flow.csv
bee track speed-analysis /path/to/flow.csv --output-dir /path/to/output_dir
bee track visualise-tracking --video /path/to/video.mp4 --csv /path/to/fixed.csv --out /path/to/annotated.mp4

Batch processing

There is also a batch-processing command for running the tracking pipeline over all videos in a directory tree and writing outputs into a per-video subdirectory.

Usage:

bee track batch-process --input-dir /path/to/videos
bee track batch-process --input-dir /path/to/videos --filter hiveA
bee track batch-process --input-dir /path/to/videos --output-dir-name tracking_outputs

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

beehaviourlab-0.1.0.tar.gz (25.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

beehaviourlab-0.1.0-py3-none-any.whl (24.2 kB view details)

Uploaded Python 3

File details

Details for the file beehaviourlab-0.1.0.tar.gz.

File metadata

  • Download URL: beehaviourlab-0.1.0.tar.gz
  • Upload date:
  • Size: 25.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for beehaviourlab-0.1.0.tar.gz
Algorithm Hash digest
SHA256 3b3b007cd46caaedef6836ad0db6567f97703d5e7e5d1a80731287456e3d144c
MD5 b2fdcf628f9147818dd453d529b2439b
BLAKE2b-256 3bd00dc6d2410f63bf295ff96d5792b4408cd9516a67f70fd128a0478ccb4c0d

See more details on using hashes here.

Provenance

The following attestation bundles were made for beehaviourlab-0.1.0.tar.gz:

Publisher: publish.yml on BEEhaviourLab/BEEhaviourLab

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file beehaviourlab-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: beehaviourlab-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 24.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for beehaviourlab-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5dafa6d469f2ecf0c42fbb91b060d4925f3453a95d9b0cb08b0f8b7dd3ca50e0
MD5 d90b4c7490bdd7cc379d3bf342eba041
BLAKE2b-256 2a7835a5be611d4447aaf9fb4b5aed72d8888bc37093068e99038165bce4898c

See more details on using hashes here.

Provenance

The following attestation bundles were made for beehaviourlab-0.1.0-py3-none-any.whl:

Publisher: publish.yml on BEEhaviourLab/BEEhaviourLab

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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