1 | initial version |
I suggest you to carefully read all the existing python samples: http://code.opencv.org/projects/opencv/repository/revisions/master/show/samples/python2. There are a lot of interesting use cases.
You could also study all the questions with the python tag here.
@Abid Rahman K has very interesting blog on the subject: http://www.opencvpython.blogspot.com/