Posted in Python

Python Post #4 Python OpenCV (≖͞_≖̥)



So then, as mentioned earlier there are various possibilities in Python and it is just a library away! In this post, I will let you know how to install a randomly selected library and then go about on the basis of its functionalities … Maybe 
*Fingers Crossed*
Okay so the winner of today’s lot picking is 

OpenCV… Well, it could be worse (in the sense, not much to discuss on !)…

Okay , so before going about OpenCV basics along with its installation, let me give a basic overview on OpenCV …

OpenCV-Python is a library of Python bindings designed to solve computer vision problems.
Python is a general purpose programming language started by Guido van Rossum that became very popular very quickly, mainly because of its simplicity and code readability. It enables the programmer to express ideas in fewer lines of code without reducing readability.
Compared to languages like C/C++, Python is slower. That said, Python can be easily extended with C/C++, which allows us to write computationally intensive code in C/C++ and create Python wrappers that can be used as Python modules. This gives us two advantages: first, the code is as fast as the original C/C++ code (since it is the actual C++ code working in the background) and second, it easier to code in Python than C/C++. OpenCV-Python is a Python wrapper for the original OpenCV C++ implementation.
OpenCV-Python makes use of Numpy, which is a highly optimized library for numerical operations . All the OpenCV array structures are converted to and from Numpy arrays. This also makes it easier to integrate with other libraries that use Numpy such as SciPy .
To Install:
Depending on your version of Python Download and the type of computer you use these are the corresponding downloads, Hopefully, they work properly…

(ノ^◡^)ノ︵ ʌɔuǝdo
PS. If you are as confused as I was when I first went around figuring out how to go about fixing the numerous bugs that just rose exponentially when I tried to rectify some others, well  trust me when I say this , Its easier to uninstall everything and start it from scratch. This would include uninstalling all Python related .msi or .exe file installations that you can find in your control panel, and installing the fool proof module list which I will provide shortly,and change the path settings(refer the previous Blogpost please.)

If there is anyone with other OS,I am sorry for not being considerate , If you tell me about it,maybe , I might help you.And if any of the links are nonfunctional please let me know.

If everything is functional, it will import cv2 module, otherwise, an error message will be shown.


Iff the above setup is done you can proceed further and be sure to understand what I have shared.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s