How to display image that I already edit with "cv::Line" in Gui?
I have a program to simply draw line in mat image. I draw a line in it and when I display it error. This my algorithm that I already try:
- Load image use mat.read
- Draw line in image
- Convert image from bgr2rgb
- Convert mat image to Qimage
- Display qimage with Format_RGB888
And it is not work. How I fix it?
Hi and welcome to devnet,
Can you show the code you are using ?
What exactly do you expect ?
What exactly do you get ?