Skip to content

Installation

Installation of wai-annotations#

To install wai-annotations issue the following commands using pip:

pip install "numpy<1.23.0"
pip install wai.pycocotools
pip install wai.annotations.core

wai.annotations.core does not come with any input/output formats installed. You will need to install a plugin for each format that you want to convert between. For a description of the plugin system, see the plugin guide.

For installing all available plugins, use these commands:

pip install "numpy<1.23.0"
pip install wai.pycocotools
pip install wai.annotations[tf]

Or, if you don't need TensorFlow support, then you can save some space using:

pip install "numpy<1.23.0"
pip install wai.pycocotools
pip install wai.annotations

Notes

  • You need to install ffmpeg if you want to have mp3 conversion support.

Available modules#

Image classification

Object detection

Image segmentation

Audio

Miscellaneous