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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Hashes for mscviplib-2.200731.16-cp37-cp37m-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bdfe8e083f95a83a0efd27405649f916def5b5bd8907ef43fbde1efd95502f0d |
|
MD5 | 664b98f02e381cad42b24c3317064e27 |
|
BLAKE2b-256 | 5bacf6e005bc21b372b08650e75955d5c126fcbccb750724b30f2e011f5e8e7d |