This repository is sample program of inference using OpenCV DNN module with Azure Custom Vision model written in native C++.
This sample program inference on local using model that trained on cloud.
- Visual Studio 2017/2019 / GCC 4.9 (or later)
- OpenCV 4.2.0 (or later)
- CMake 3.7.2 (latest release is preferred)
Please train your model using Custom Vision of Azure Cognitive Services.
After trained, You can export your trained model (ONNX format).
Please unzip, and copy these files (model.onnx
, labels.txt
) to source code directory.
Copyright © 2020 Tsukasa SUGIURA
Distributed under the MIT License.
- Tsukasa Sugiura
-
Azure Cognitive Services - Custom Vision | Microsoft
https://azure.microsoft.com/en-us/services/cognitive-services/custom-vision-service/
https://www.customvision.ai/ -
OpenCV API Reference | OpenCV
https://docs.opencv.org/master/ -
UnaNancyOwen/OpenCVDNNSample | GitHub
https://github.com/UnaNancyOwen/OpenCVDNNSample