Q:

how to check opencv version

# in terminal type python3 then the following,
import cv2
cv2.__version__
1
$ python # "python3"- if you are using another version of python
>>>import cv2
>>>cv2.__version__
2
$ python -c 'import cv2; print(cv2.__version__)' # 'python3' - if you are using another version of python
1
Checking your OpenCV version using Python
$ python					#for python3 use python3
>>> import cv2
>>> cv2.__version__
'3.0.0'
0

New to Communities?

Join the community