get opencv version in pyhton code example
Example: how to check opencv version using python
$ python # "python3"- if you are using another version of python
>>>import cv2
>>>cv2.__version__
$ python # "python3"- if you are using another version of python
>>>import cv2
>>>cv2.__version__