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
File details
Details for the file mscviplib-2.211201.122-cp37-cp37m-manylinux2014_x86_64.whl
.
File metadata
- Download URL: mscviplib-2.211201.122-cp37-cp37m-manylinux2014_x86_64.whl
- Upload date:
- Size: 14.4 MB
- Tags: CPython 3.7m
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.0 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a401594c5aaf2d7fb4daa5396ab6da88d810bb01b6d2f6d5a2ffab5bf3a6315f |
|
MD5 | f5cf92bfe2538a3c384ca3f3b4802be9 |
|
BLAKE2b-256 | 68af91c3eed30445383f319e4138c38990235ce346ca1c4e0892438cc7a25c32 |