Skip to main content

A plugin that integrates the ROXAS AI analysis methods for quantitative wood anatomy in the napari platform

Project description

napari-roxas-ai

License GNU GPL v3.0 PyPI Python Version tests codecov napari hub

A plugin that integrates the ROXAS AI analysis methods for quantitative wood anatomy in the napari platform


This napari plugin was generated with copier using the napari-plugin-template.

Installation

Environment setup

It's recommended to create a dedicated Python environment for napari-roxas-ai:

  1. Install Miniconda if you don't have it already: Miniconda Installation Guide

  2. Create a new environment:

conda create -n roxas-ai python=3.12
conda activate roxas-ai

Installation

Install napari-roxas-ai via pip:

pip install napari-roxas-ai

Launching the plugin

Once installed, you can launch napari with the roxas-ai plugin:

napari

Verifying installation

To check if the plugin is working correctly:

  1. Go to File > Open Sample > ROXAS AI in the napari interface.
  2. The first time you open a sample, it may take some time as sample data and model weights are being downloaded. Progress will be logged in the terminal.
  3. After the downloads, a sample made of three layers should open in the viewer

GPU Support

If you want to use GPU acceleration for model inference:

  1. Ensure you have the proper GPU drivers and CUDA installed for your system:

  2. Enable GPU support in the napari-roxas-ai settings within the napari interface.

  3. You may need to reinstall PyTorch with CUDA support for your specific hardware: Visit the PyTorch Installation Guide to find the appropriate installation command for your setup.

Contributing

Contributions are very welcome. Tests are automatically run with tox, please ensure the coverage at least stays the same before you submit a pull request.

Contributor Installation

In order to contribute to the development of the plugin the installation can be done as follows:

  1. Create an environment
conda create -n roxas-ai python=3.12
conda activate roxas-ai
  1. In the cloned / forked plugin directory, install the plugin dependencies
pip install -e .
  1. Install the testing dependencies, as well as the napari plugin engine
pip install -e ".[testing]"
pip install npe2
  1. Install pre-commit for quality checks
pip install pre-commit
pre-commit install

Documentation: Plugin Template and Development

You can find more information on the plugin template on the napari-plugin-template repository. You can find more information on plugin contributions and how to create plugins on the plugins section of the napari documentation.

License

Distributed under the terms of the GNU GPL v3.0 license, "napari-roxas-ai" 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_roxas_ai-0.1.2.tar.gz (112.0 kB view details)

Uploaded Source

Built Distribution

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

napari_roxas_ai-0.1.2-py3-none-any.whl (121.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: napari_roxas_ai-0.1.2.tar.gz
  • Upload date:
  • Size: 112.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for napari_roxas_ai-0.1.2.tar.gz
Algorithm Hash digest
SHA256 0dfaf9bc2a95717befa0ace9fd2a68413eafa1108158371d2c146a0cc18ad00b
MD5 6a520a32c6ead5dc4e29a6d1f7f9ddc6
BLAKE2b-256 35b0cae8baa8c8e886c5b99a5697bcc028363a0fb24c74718e1c06af387d47dc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for napari_roxas_ai-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 015ec00144b84a1c76b69bc1522cef096e08ba0f3e9eb96214db0452a3cedd6f
MD5 0a721fbafd7bcbd03d48143ec64dffe8
BLAKE2b-256 eecea7cc0f8299673877226a68bb13f47e3de2fecde9587870ee092323a09ebf

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