![]() The first part of this blog post details why I am creating a new tutorial for installing OpenCV 3 with Python bindings on the Mac Operating System. NB : Even if you are using 64-bit windows, do the same procedure. To learn how to install OpenCV with Python 2.7 bindings on your macOS system, keep reading. ![]() Try it yourself and let me know how it goes. If everything OK, it will import cv2 module, otherwise an error message will be shown. Wait until everything is extracted.Ĥ) Now copy everything in the folder C:\opencv\build\python\x86\2.7\ ( most probably, there will be only one file cv2.pyd ) and paste it in the folder C:\Python27\Lib\site-packages\ĥ) Now open your "Python IDLE" ( from Start > All Programmes > Python 2.7 > Python IDLE ) and just type following : Numpy will find Python directory and will be installed to most appropriate folder.ģ) Now double-click OpenCV.exe. In that case, Python will be installed in default folder C:\Python27\Ģ) Now install Numpy. OpenCV 2.4 : Download OpenCV for windows from here.ġ) First install Python 2.7. Numpy : Download Numpy for Python 2.7 from here. Python : Download latest version of Python 2.7 from Python site. Pre-requisites ( need to be downloaded ) : Here I will tell you how to install OpenCV 2.4x in Windows for Python 2.7.
0 Comments
Leave a Reply. |