Skip to content

c++ 使用opencv 中的dnn 模块调用pb模型进行推断

Notifications You must be signed in to change notification settings

youngx123/opencv_load_pb

Repository files navigation

使用c++ opencv 中dnn 模块加载pb 文件并进行推理

python cpp_test.py 包含模型构建,训练、转为pb、以及对pb进行测试。

cv_test.py 使用Python的opencv 库调用dnn测试pb 模型

pbpred.cpp 使用c++ opencv 中dnn 模块对pb 进行调用和测试

文件名 类别 概率
file : 1.png cat : 7 score : 1.00
file : 10.png cat : 9 score : 1.00
file : 100.png cat : 9 score : 1.00
file : 101.png cat : 6 score : 1.00
file : 102.png cat : 0 score : 1.00
file : 103.png cat : 5 score : 1.00
file : 104.png cat : 4 score : 1.00
file : 105.png cat : 9 score : 1.00
file : 106.png cat : 9 score : 1.00

About

c++ 使用opencv 中的dnn 模块调用pb模型进行推断

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published