This is an old code that I created sometime in 2010. While working on video shot detection, I needed a tool to perform frame-by-frame visual analysis. However, I wasn’t aware of any that existed at that time and created one with Matlab. To sharpen my skills with C and OpenCV, I re-created the same, taking lessons from the best available book on these topics.
The control panel, buttons, text fields, slider, video screen, etc. which are all sub-regions of a big image, are implemented in C using the OpenCV library. The comments included in the code were useful to automatically generate this page using Doxygen
g++ video_player.c -o video_player `pkg-config --cflags --libs opencv`
./video_player some_video.avi
unzip opencv-2.4.13.zip
cd opencv-2.4.13
mkdir build && cd build
cmake -DWITH_CUDA=OFF ..
make
make install