Skip to main content

Python Wrapper for Microsoft Custom Vision Image Processing Library (mscviplib)

Project description

mscviplib

An image preprocessing and augmentation module for use with CustomVision.ai machine learning models. See [Custom Vision Service](https://docs.microsoft.com/en-us/azure/cognitive-services/custom-vision-service/) for background and details.

Installation

To install:

pip install mscviplib

Note that currently, this module only works (and is only useful) on Linux.

Usage

The main functions are:
  • GetImageMetadata returns metadata object used with the subsequent preprocessing call.

  • PreprocessForInferenceAsTensor Performs image preprocessing for inference. Returns [Channel x Height x Width] normalized float tensor.

  • PreprocessForInferenceAsImage Performs image preprocessing for inference. Returns an image as RGB or BGR bytes.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

mscviplib-2.0.130828-cp37-cp37m-win_amd64.whl (104.8 MB view hashes)

Uploaded CPython 3.7m Windows x86-64

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page