Use GUI to display the images in C++
hello dears please can use help me to display the image (after process in OpenCV v3.3) in GUI using Microsoft visual C++ language.
best regards
You and use GTK+ UI library for developing UI along with c++ core logic. see here https://www.gtk.org/development.php To show image from opencv you can use pixleBuffer in GTK or either first you write opencv image to a directory then read the same via GTK ui .
Asked: 2017-12-20 01:37:26 -0600
Seen: 1,137 times
Last updated: Dec 21 '17
OpenCV DescriptorMatcher matches
Conversion between IplImage and MxArray
Video On Label OpenCV Qt :: hide cvNamedWindows
Problems using the math.h class with OpenCV (c++, VS2012)
How to reduce false positives for face detection
Area of a single pixel object in OpenCV
build problems for android_binary_package - Eclipse Indigo, Ubuntu 12.04
Can't compile .cu file when including opencv.hpp
Using OpenCV's stitching module, strange error when compositing images
what have you already try.? Have you read tutorials ?
are you asking: "how to use winforms to draw an image" ?
(then the answer would be: please don't do that, because you would have to mix opencv code and managed c++, which is the straight road to hell, especially, if you're a noob !)
yes I was tried car counting using openCV in c++ , but i want to display the picture and the counter in windows form.
can we somehow convince you, just to use imshow() / waitKey() ? (at least for now.)
again, managed c++ uses an entirely different programming model, orthogonal to opencv's RAII concept.
there's a ton of subtle pitfalls, if you mix both,
save yourself the trouble, and build a nice car detection first. form follows function, right ?
.my friend thank for you good advice. my car detection and counting program are complete, all I need now a way to display the result and some commands buttons to open the video.