NEWs Post

see what you can see...

Setup the opencv in windows

Opencv setup in windows steps by step (With VScode editor).


Before starting the first to do is sleep..and then awake at midnight to get high focus mode.......don`t do that.


**Work with Python 3.8 and also VScode.**


First


If you already download the python, just go the next step if not..just download it from the Python website. After it, install it and make sure to click the "Add Python 3.x to PATH." to make sure you can run python at command prompt and other things.


Don`t forget about VScode, if you don't use it try to use it, very useful for make programmers easy to do coding. When you use the VScode make sure to install the python extension to work its interpreter...hmm...yeah...interpreter.


Second


Install the OpenCV with PIP in Command prompt (run in administrator). With this command will install the OpenCV library;


python -m pip install opencv-python







The NumPy will automatically install. When you see the message about update the NumPy it's your own decision to update or not because that you will know that... I think...



Third (Very useful with VScode user)

It for the VScode IntelliSense for OpenCV pop hints "hahaha".


Seriously it very useful for me...where the problem is pop hints to not or slow show if we try to type "cv2.".

So what to do is just install or reinstall the Pylint.

The commands to install it;


python -m pip install pylint


very important is to make sure the cv2 file path is the same with the Pylint file...That its...




End




No comments:

Post a Comment