Skip to content

Commit

Permalink
Merge pull request #41 from dkurt/patch-1
Browse files Browse the repository at this point in the history
Add OpenVINO reference
  • Loading branch information
petebankhead committed Mar 23, 2022
2 parents 50ce7b4 + c4a5502 commit 285a1e7
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions docs/advanced/stardist.rst
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ The two we will consider here are:
but because OpenCV is *already* included within QuPath it makes installation
much easier.

Also, available `Intel OpenVINO <https://github.com/openvinotoolkit/openvino>`_ extension.

If you still want to use TensorFlow instead, see :ref:`stardist-advanced`.


Expand Down Expand Up @@ -444,6 +446,21 @@ You will also need to give QuPath the path to the *folder* containing the model
var pathModel = '/path/to/dsb2018_heavy_augment' // A folder, not a file
Use OpenVINO
------------

OpenVINO is a library with highly optimized primitives for Intel CPUs. To optimize StarDist using OpenVINO, download `QuPath OpenVINO Extension <https://github.com/dkurt/qupath-extension-openvino>`_ and change your processing code to work with converted model:

.. code-block:: groovy
// Specify the model directory (you will need to change this!)
def pathModel = '/path/to/converted_model.xml'
var dnn = qupath.ext.openvino.OpenVINOTools.createDnnModel('/path/to/model.xml')
def stardist = StarDist2D.builder(dnn)
...
.build()
Use CUDA
--------
Expand Down

0 comments on commit 285a1e7

Please sign in to comment.