C++ inference of onnx-model for YOLOv7 (PyTorch) with OpenCV

Job ID: 35027542

Budget: €30 – €250 EUR

SAMPLE DATA
===========

Model (YOLOX): best.onnx (and best.pt) -> https://sendgb.com/wieJuZUorbp

Test image: testimage.jpg (see uploaded files here)

Analysis done with YOLOv7:
!python detect.py --weights best.pt --img-size 1344 --source ... --save-txt

Results (see uploaded files here):
as text: res_testimage.txt
image: res_testimage.jpg


TASK
====

Inference with C++
------------------
Remark: Only use OpenCV via vcpkg, no other libraries are allowed. (You can ask if you want to use another library.)
1) Setup a concole C++ Visual Studio 2022 project (or Embarcadero C++ Builder 11 project). No cmake!
2) Use *.onnx trained model from above
3) Calculate images from above with CPU, show results (rectangles around objects found), save results as tab-delimited text file
4) Results have to be equal to results above
(5) Nice to have: Same in python)

-> Send source code for C++ project


Task have to be done sucessfully on my machine before payment is released.
Related categories: C++ Programming Pytorch