/accimage

high performance image loading and augmenting routines mimicking PIL.Image interface

Primary LanguageCBSD 2-Clause "Simplified" LicenseBSD-2-Clause

accimage

Build status Anaconda badge

An accelerated Image loader and preprocessor leveraging Intel IPP.

accimage mimics the PIL API and can be used as a backend for torchvision.

Operations implemented:

  • Image.resize((width, height))
  • Image.crop((left, upper, right, lower))
  • Image.transpose(PIL.Image.FLIP_LEFT_RIGHT)

Enable the torchvision accimage backend with:

torchvision.set_image_backend('accimage')

Installation

accimage is available on conda-forge, simply run the following to install

$ conda install -c conda-forge accimage