September 2019
Intermediate to advanced
420 pages
10h 29m
English
It's a good idea to double-check our installation. While our terminal is still open, we start IPython, which is an interactive shell to run Python commands:
$ ipython
Next, make sure that you are running (at least) Python 3.6 and not Python 2.7. You might see the version number displayed in IPython's welcome message. If not, you can run the following commands:
In [1]: import sys... print(sys.version) 3.6.0 | packaged by conda-forge | (default, Feb 9 2017, 14:36:55) [GCC 4.8.2 20140120 (Red Hat 4.8.2-15)]
Now try to import OpenCV as follows:
In [2]: import cv2
You should get no error messages. Then, try to find out the version number like so:
In [3]: cv2.__version__Out[3]: '4.0.0'
Make sure that OpenCV's version ...
Read now
Unlock full access