Answers for "print opencv version"

4

how to check opencv version using python

$ python # "python3"- if you are using another version of python
>>>import cv2
>>>cv2.__version__
Posted by: Guest on July-02-2020
1

how to check opencv version

$ python -c 'import cv2; print(cv2.__version__)' # 'python3' - if you are using another version of python
Posted by: Guest on November-13-2020

Python Answers by Framework

Browse Popular Code Answers by Language