opencv versions available code example
Example: check version for opencv
Checking your OpenCV version using Python
$ python #for python3 use python3
>>> import cv2
>>> cv2.__version__
'3.0.0'
Checking your OpenCV version using Python
$ python #for python3 use python3
>>> import cv2
>>> cv2.__version__
'3.0.0'