Thanks a lot for your answer.
I'm pelased to know that what i want to do is possible with Qt.
For my question about the example, i mean if it is possible to see an example with a widget which have an area where you can see the images and another area where there are buttons.
I try to explain better what i'd like to do:
I have two opencv applications:
- application A: where i track an object and each time i save a frame in an image file and i control the application behavior with some commands which i write in the shell
- application B: where i have a loop which reads every time the image file and display it
I want to integrate application B in application A in order to show a window like the one which i've included in this post in order to have a loop which shows image in the first area and to use buttons in order to give commands which at the moment i write in the shell.
Do you think it's possible to display the frames in an area with Qt?
At the moment, my application B is very simple:
while(1)
{
Mat img=imread("result.jpg",1);
if(!img.empty())
imshow("HOG",img);
if(waitKey(200)==27) break;
}
while(1)
{
Mat img=imread("result.jpg",1);
if(!img.empty())
imshow("HOG",img);
if(waitKey(200)==27) break;
}
To copy to clipboard, switch view to plain text mode
I like to show frames in a Qt window (I'm using Ubuntu).
There is some example based on a template similar to what i'd like to do?
(like the jpg image which i've included in this post)
Bookmarks