Table of Contents
Converting the inferance stage from python code to c++ one
Here will see:
- Loading Onnex File and preparing the tensor input output shape
- Preprocessing steps on image using Opencv
- Prediction Phase with pretrainde loaded model
- Postprocessing the result
This section should list any major frameworks/libraries used to bootstrap your project. Leave any add-ons/plugins for the acknowledgements section. Here are a few examples.
To run the source code
- Clone the repo
git clone https://github.com/Mohamed-Ahmed-Abo-El-Enen/CVOperationTask.git
- Install Opencv
- Install Onnxruntime
- Make sure the previous packages on our root / IDE local variable
- Run the Cmakelist.txt to create the project
Code was build on Visual Studio and generated the exutable file On Windows
Followed given python code no need for parsing any parameters to it just simple run