Search code examples
c++opencvvisual-c++clryolo

How to build a GUI interface for C++ and OpenCV ( Dnn, yolov3) project (using Visual Studio )


I am using a C++ car counting project ( using OpenCV and YoloV3 ) , and it runs perfectly well in a native C++ project but I wanted to add a window to the project (in which i will then display a video, forms, etc..) I searched how to implement a GUI for C++ and found about CLR . So I tried to integrate my C++ project files into a new CLR project and when i run it I have this error: enter image description here

Is there another way to create a GUI? If not, can anyone help me solve that error? ( Note that I am new to using C++ )


Solution

  • Your options are limited due to the C++ ecosystem.

    The easiest to learn probably QT.

    If you wanted to be a little more hardcore you could use imgui with OpenGL but that is likely overkill.