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.

Metadata

Release files for mscviplib 2.0.130828

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for mscviplib 2.0.130828
File Interpreter ABI Platform Actions
mscviplib-2.0.130828-cp37-cp37m-win_amd64.whl CPython 3.7 CPython 3.7 pymalloc Windows x86-64 Details for mscviplib-2.0.130828-cp37-cp37m-win_amd64.whl

Release files / mscviplib-2.0.130828-cp37-cp37m-win_amd64.whl

Download URL mscviplib-2.0.130828-cp37-cp37m-win_amd64.whl
Size 104.8 MB
Tags CPython 3.7 CPython 3.7 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
3e4a2d28f32f59ffc7ff0e7de888c3d52ffcbcfbf5121ae80d799707a4eea153
BLAKE2b-256 checksum
How to use checksums
9d4e6ca69e57ae8333dcf3199cb299d7d53ca6eb74b38f38f045a8f3a47531fc
Upload date
Uploaded using Trusted Publishing?
What is 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

Security for mscviplib 2.0.130828

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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