The Project: Add a running date/time stamp on each and every frame of a video. (The result of digital video camera, and my father asked me how can he add the timestamp(to the milliseconds resolution) permanently to the video.
A friend pointed me to opencv (emgucv actually) , and because of my preferences I tried my luck with opencv in python.
The documentation is lame, and I had even hard time(took me like 5 hours or so) just to install the package. Sources:
- OpenCV 2.4 (willow garage): http://sourceforge.net/projects/opencvlibrary/files/opencv-win/2.4.2/
- Numpy (I didn't even understood what does it do or why needed): http://sourceforge.net/projects/numpy/files/NumPy/1.6.2/numpy-1.6.2-win32-superpack-python2.7.exe/download
- Active Python 2.7: http://downloads.activestate.com/ActivePython/releases/2.7.2.5/ActivePython-2.7.2.5-win32-x86.msi
I am working on Windows 7 x64 , so I had to downgrade my python to work with numpy(no numpy version for win64)
Working with PyCharm IDE.
The resulting installation got me to have the file C:\Python27\Lib\site-packages\cv2.pyd
I am trying to find documentation to start working with, but I am very confused and have no clue where to start from, all the examples are confusing - ie:
- The "official" documentation is for c/c++, no python references: http://docs.opencv.org/doc/user_guide/ug_mat.html
- Example for python that seems reasonable but not close to what i need: Python OpenCV 2.4 writes half-complete PNG video frames
- Example that is close to what I need, but doesn't seem logical(cv and not cv2 ???): Writing video with OpenCV + Python + Mac
My Questions:
- Am i doing something wrong? Is this not the way to install opencv?
- Where can i find good documentation?
- Suppose i have my text ready(in a string) can somebody try to help me with a start to my application?
Thanks