napari widget that performs image segmentation with yapic model in the napari window. Install TENSORFLOW to use this plugin.

License PyPI Python Version tests codecov

A napari widget plugin to perform YAPiC model segmentation prediction in the napari window.

This napari plugin was generated with Cookiecutter using with @napari's cookiecutter-napari-plugin template.


This napari plugin provides a widget to upload a YAPiC trained model and perform segmentation over all the present images in the napari window. The segmentation results are uploaded as napari layers into the viewer automatically with the name structure of imgename_prediction.


  1. Please install either GPU or CPU version of tensorflow that is compatible with your cuda and cudnn libraries before installing the plugin depending on your system. One of the plugin dependency is yapic that currently has sensitivity to tensorflow versions.

  2. You can install napari-yapic-prediction via pip:

    pip install napari-yapic-prediction


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


Distributed under the terms of the GNU GPL v3.0 license, "napari-yapic-prediction" is free and open source software


If you encounter any problems, please file an issue along with a detailed description.


  • 0.2.0

Last updated:

  • 04 February 2022

First released:

  • 19 April 2021


Supported data:

  • Information not submitted

Plugin type:

GitHub activity:

  • Stars: 0
  • Forks: 4
  • Issues + PRs: 2

Python versions supported:

Operating system:


  • napari-plugin-engine (>=0.1.4)
  • numpy
  • napari[all]
  • yapic
  • scikit-image

Sign up to receive updates