Currently Browsing: Software

Display Image in Qt Creator Widget Application using OpenCV

If you haven’t set-up Qt with OpenCV yet please visit this article. After creating a new project name ‘display_image_bl’ and importing OpenCV libraries in .pro file. Open .ui file from Left Menu under Forms folder and it will show you the Qt designer as shown below:   Now inside designer pick a label from left menu under “Display Widgets” and drag it into box Type whatever you like. Now drag another label resize the box to at least size where we can display image. And change the name of the label to lets say ‘display_image’ under objectName from the...

Use OpenCV in Qt Creator Community with Microsoft Visual Studio

If you are reading this post it means you have already developed your program/software/application in OpenCV command line interface. And now you want to develop its GUI. Qt is famous for developing GUI applications using C++ forms which are no more supported in Microsoft Visual Studio. Above all Qt is cross-platform you need a very small modification and your program will have the ability to run on linux or android or any other platform. If you haven’t install Qt yet. Goto their website https://www.qt.io/download/ and download the open-source version. Before installing make sure you have already installed Microsoft Visual...