Integrate Matlab deployed CNN library to C++ project in Visual Studio 2019

4 ビュー (過去 30 日間)
Kyle
Kyle 2020 年 7 月 7 日
編集済み: Kyle 2020 年 7 月 7 日
Motivation:
  1. Deply a trained CNN to a lib or dll library
  2. Integrate the lib or dll to exisiting C++ project for simple console application
  3. Final product is a .exe file that can be run from console
Aim:
  • In C++, use opencv to load an image -- done
  • call lib/dll for image classification task -- TODO
  • based on CNN prediction, use opencv for further image processing -- done
Enviroment:
  • Windows 10
  • Visual Studio 2019
  • Opencv 3.1
What I have done:
  1. Follow 'Generate a Static Library for the resnet_predict Function' here, succesfully genereated codes. Matlab shows 'Code generation successful'
  2. The genereated codes include files of .bin, .obj, .cpp, .h and a resnet_predict.lib
Question:
  • Which generated files do I need to include into my C++ project?
  • How can I configure visual studio 2019 to include these files?

回答 (0 件)

カテゴリ

Help Center および File ExchangeImage Processing and Computer Vision についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by