Snippet code to test whether ONNX model can be loaded and run with OpenCV DNN (C++)
Requirements:
- ONNX file
- OpenCV support DNN - Tested on OpenCV 4.5.5 (2022.03.29)
- Netron app to read Input Shape of ONNX models
If you find this source code helpful, pls consider to buy me a coffee. Thank a lot.