I am working on a telemetry package for my AVC robot. I want to be able to do the following with the data after a run with data logged to memory cards. At some point it might be nice to do the following with live data from an Xbee or similar.
-
Provide VCR like controls to play the data forward, rewind, jump to a set point, change playback speeds, …
-
Display a map with the location of the robot (in resizeable windows)
-
Display a strip chart recorder with up to 6 parameters (in resizeable windows)
-
Display a table of parameters (in resizeable windows)
-
Display async debug messages (in resizeable windows)
-
Display video from an AVI file in sequence with the above (in resizeable windows)
I have much of this working in chunks using Python, Numpy, Matplotlib, and other modules. What I need are some suggestions for how to open an AVI/MOV file, jump to a location, and display a frame to a window from Python in Windows.
I am looking for an API like this:
OpenDisplayWindow
OpenMediaFile
Seek
DisplayFrame
Step
CloseMediaFile
ResizeDisplayWindow
CloseDisplayWindow
Is OpenCV the way to go? Would that even work? is there something simpler?