Determine which version of OpenCV
Question: I want to write to short code snippet in python, to determine which version of
OpenCV has been installed in my System. How do i do it ? Thank you.


Answer: 
    >>> from cv2 import __version__
    >>> __version__
    '$Rev: 4557 $'
    

If that doesn't work then, use `cv` instead of `cv2`.

