Skip to main content

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.

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

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded CPython 3.7mWindows x86-64

File details

Details for the file mscviplib-2.0.130828-cp37-cp37m-win_amd64.whl.

File metadata

  • Download URL: mscviplib-2.0.130828-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 104.8 MB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.8

File hashes

Hashes for mscviplib-2.0.130828-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 3e4a2d28f32f59ffc7ff0e7de888c3d52ffcbcfbf5121ae80d799707a4eea153
MD5 d26f236833b91598e11f124049758a45
BLAKE2b-256 9d4e6ca69e57ae8333dcf3199cb299d7d53ca6eb74b38f38f045a8f3a47531fc

See more details on using hashes here.

Release history Release notifications | RSS feed

2.211201.122

1 file

2.201116.83

1 file

2.200731.16

1 file

This release

2.0.130828 This release

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page