2016-09-03

I am trying to load a mat file ( has position coordinates of object whichis tracked) and load a video file. To load a video file I am using opencv. I made a GUI to load both of them. As soon as someone presses start button the video starts playing and Pause stops it.

Here is the gui for that:



Here are the two issues I am encountering:

the video gets loaded in a different window. I want it to appear the main window which has Start and Pause button

I want to add 2 buttons ('Next Frame' and 'Previous Frame') which allow me to go through the video frame by frame. Next Frame Button moves to the next frame and Previous Frame moves the video to previous frame.

Here is the code :

How should I go about doing that? Thanks for the help!

Show more