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

Configuration

To create editable config files in your working directory:

bee config init

This writes:

  • tracking_config.yaml
  • tracking/custom_tracker.yaml

The CLI will automatically use a tracking_config.yaml in your current working directory if present.

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.0.0.tar.gz (7.1 MB view details)

Uploaded Source

Built Distribution

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

beehaviourlab-0.0.0-py3-none-any.whl (5.7 MB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for beehaviourlab-0.0.0.tar.gz
Algorithm Hash digest
SHA256 63c9d3b5c8bd3562cad1bfdb0127de12acff50f61aa4461df53608c1d699c9f4
MD5 36fe1fddde8dd75c04a7b1e1da4a2dc3
BLAKE2b-256 64a1bb9b0947cd024369eaddbbcab8d5247ec55285b73b2d2e779a7740e7cbb6

See more details on using hashes here.

Provenance

The following attestation bundles were made for beehaviourlab-0.0.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.0.0-py3-none-any.whl.

File metadata

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

File hashes

Hashes for beehaviourlab-0.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d8b0a2de71d196636ac36df374d105ceeb46a6219e6441a406c8a28c5dfc2b84
MD5 1b5d361aea2467f661473e5fbe7cc708
BLAKE2b-256 605ea2302edbb8db83d51018ae867e2fe9783262a911b308988dd8296c704f7e

See more details on using hashes here.

Provenance

The following attestation bundles were made for beehaviourlab-0.0.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