ni.com is currently undergoing scheduled maintenance.
Some services may be unavailable at this time. Please contact us for help or try again later.
To download NI software, including the products shown below, visit ni.com/downloads.
This example demonstrates how to use an ANN (artificial neural network) in LabVIEW.
It includes a wrapper over the ONNX Runtime, allowing you to:
Image processing is implemented using the following logic:
Stage 1: Detection (YOLOv8n ANN):
Stage 2: Rotation angle compensation (custom ANN):
Stage 3: Identification (ANN EfficientNet-B4):
Example using VIs
Example using Class
LabVIEW ONNX Runtime (code) on GitHub: https://github.com/IvanLisRus/LabVIEW-ONNX_Runtime
ONNX Runtime on GitHub: https://github.com/microsoft/onnxruntime/
Demo Video: https://youtu.be/AT9D4SQ7oe0 or rutube.ru
On Windows OS, you may need to install Microsoft Visual C++ Redistributable: https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist
Related-Separate-2Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.