필터 지우기
필터 지우기

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

조회 수: 2 (최근 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 CenterFile Exchange에서 Code Generation, GPU, and Third-Party Support에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by