Skip to main content

A package for bacterial image processing

Project description

BactoVision

A jupyter widget for annotating and visualizing bacterial growth data

Documentation License: MIT Python Version PyPI version Tests codecov

BactoVision

Bactovision provides a widget for jupyter notebook for fast semi-automated annotation of bacterial growth images. It is used in the following paper:

Tyrosine auxotrophy shapes Staphylococcus aureus nasal colonization and interactions with commensal communities L. Camus et al. 2025 (submitted)

Installation

Use pip to install the package:

pip install bactovision

or install from source:

git clone git@github.com:StarostinV/bactovision.git
cd bactovision
pip install .

Documentation

Please see the full documentation here.

Basic usage

Start a jupyter notebook:

jupyter notebook

In the notebook, create a widget:

from bactovision import BactoWidget

# Create a widget with an image
widget = BactoWidget('path/to/image.png')

# Display the widget
widget

BactoVision

To get the mask and the metrics after the annotation is completed, run:

annotation_mask = widget.get_annotation_mask()
metrics = widget.get_metrics()

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

bactovision-0.1.2.tar.gz (7.7 MB view details)

Uploaded Source

Built Distribution

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

bactovision-0.1.2-py3-none-any.whl (16.5 kB view details)

Uploaded Python 3

File details

Details for the file bactovision-0.1.2.tar.gz.

File metadata

  • Download URL: bactovision-0.1.2.tar.gz
  • Upload date:
  • Size: 7.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for bactovision-0.1.2.tar.gz
Algorithm Hash digest
SHA256 5148f6b8c53bd51180383413d4269e7586ed4ad50a36c77fc889e1b89f6209c2
MD5 a4a184f00935a62b3df017ad552857c3
BLAKE2b-256 ce70af123fb238f3688d85590ddb1fad2af0eab4ce2285555d67016feba1abf4

See more details on using hashes here.

File details

Details for the file bactovision-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: bactovision-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 16.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for bactovision-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 7f85bf2dc1f749c199711e1cf4d66568d600b9b2fac0dca31731ffaad455bf77
MD5 fd79375a70397b5f8f21082f0adaaf31
BLAKE2b-256 384d877330f570bdbfd365cbeb6f6e5e17bd0f4e8ddb3780e7af255a57b403ac

See more details on using hashes here.

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