0. onnx模型准备以及测试图
1. c++使用onnxruntime进行推理
结果:
current image classification : French bulldog, possible : 16.17
2. c++使用opencv进行推理
对两张图片同时进行推理
current image classification : French bulldog, possible : 16.17
current image class ification : hare, possible : 8.47
3. 完整代码
https://download.csdn.net/download/qq_44747572/87810859