MIVisionX toolkit is a set of comprehensive computer vision and machine intelligence libraries, utilities, and applications bundled into a single toolkit. AMD MIVisionX also delivers a highly optimized open-source implementation of the Khronos OpenVX™ and OpenVX™ Extensions.

AMD WinML Extension

The AMD WinML (vx_winml) is an OpenVX module that implements a mechanism to access WinML functionality as OpenVX kernels. These kernels can be accessed from within OpenVX framework using OpenVX API call vxLoadKernels(context, “vx_winml”).

The WinML extension will allow developers to import a pre-trained ONNX model into an OpenVX graph and add hundreds of different pre & post-processing vision / generic / user-defined functions, available in OpenVX and OpenCV interop, to the input and output of the neural net model. This will allow developers to build an end to end application for inference.

List of WinML-interop kernels

The following is a list of WinML functions that have been included in the vx_winml module.

 onnxToMivisionX com.winml.onnx_to_mivisionx
 convertImageToTensor com.winml.convert_image_to_tensor
 getTopKLabels com.winml.get_top_k_labels

NOTE: For the list of OpenVX API calls for WinML-interop refer include/vx_ext_winml.h

Build Instructions


Build using Visual Studio 2019 on 64-bit Windows 10 / 11


MIVisionX WinML Validate

This utility can be used to test and verify the ONNX model on the Windows platform. If the ONNX model is supported by this utility, the amd_winml extension can import the ONNX model and add other OpenVX nodes for pre & post-processing in a single OpenVX graph to run efficient inference.

NOTE: Samples are available


Samples to run inference on a single image and a live camera is provided in the samples folder.