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.1.3.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.1.3-py3-none-any.whl (5.7 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: beehaviourlab-0.1.3.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.1.3.tar.gz
Algorithm Hash digest
SHA256 5e1037fa394abd49c45ce2e427ef6fdcc22c79e1b6faf7b99c85bda2ce23ae74
MD5 3ef4acac755b13bd3134830ae42547a2
BLAKE2b-256 ded2c4c81f440ec285491911d3276fb3b9c38593181291ff7e0bf117ebe575e0

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: beehaviourlab-0.1.3-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.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 d36dc56fa16672fb9632a422ddb294424c557b8d0a766966cd29dc0b150039b8
MD5 363c865a7cc831e0044b585bdbf4d417
BLAKE2b-256 6ef80e91fcfd391dcaed7b5f94a72a25969c674bce0601eb73fe4af5f3d8fda4

See more details on using hashes here.

Provenance

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