To play a video, where you select the file with a pop-up dialog:
drag and scrol. Drag seekbar, scroll in video view to zoom, and drag video view to pan.
Q/A - increase/decrease speed of playback
P/space - toggle pause
Arrow Keys (L/R) - move one frame (forward/backward)
To interactively choose a specific frame to load:
[fr, macroDat, im] = FancyFlowPlayer;
"im" is the last image viewed, "fr" is scalar, frame number when quitting, "macroDat" is a structure of information about the video.
The Player can visualize motion data saved with the FlowToolbox:
this displays further information on the saved motion. Example:
FancyFlowPlayer('Test'); % assumes a save folder "Test" in current directory
Stefan Karlsson (2021). FancyFlowPlayer (https://www.mathworks.com/matlabcentral/fileexchange/53600-fancyflowplayer), MATLAB Central File Exchange. Retrieved .
Inspired by: Tutorial and Toolbox on real-time optical flow
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!