OpenCv:
Check python version:
>>python –version
Check PIP version:
>>pip –version
>>pip install opencv-python
Check opencv installation:
Create a new file and type the following code: import cv2 print(cv2.__version__)
If you get no errors, the installation is successful
matplotlib:
open your terminal and type the command:
>pip install matplotlib
To check the installation use this command:
(venv)
C:\Users\Jubayer\PycharmProjects\OpenCVExample>python
Python 3.7.6 (tags/v3.7.6:43364a7ae0, Dec 19 2019, 00:42:30)
[MSC v.1916 64 bit (AMD64)] on win32
Type "help", "copyright",
"credits" or "license" for more information.
>>> from matplotlib import pyplot as plt
If no error popups then the installation is
successful
No comments:
Post a Comment