How to install OpenCV
来源:互联网 发布:java if 缩写 编辑:程序博客网 时间:2024/06/07 18:56
Install OpenCV-Python in Windows
Goals
- In this tutorial
- We will learn to setup OpenCV-Python in your Windows system.
Below steps are tested in a Windows 7-64 bit machine with Visual Studio 2010 and Visual Studio 2012. The screenshots shows VS2012.
Installing OpenCV from prebuilt binaries
Below Python packages are to be downloaded and installed to their default locations.
1.1. Python-2.7.x.
1.2. Numpy.
1.3. Matplotlib (Matplotlib is optional, but recommended since we use it a lot in our tutorials).
Install all packages into their default locations. Python will be installed to C:/Python27/.
After installation, open Python IDLE. Enter
import numpy
and make sure Numpy is working fine.Download latest OpenCV release from sourceforge site and double-click to extract it.
Goto opencv/build/python/2.7 folder.
Copy cv2.pyd to C:/Python27/lib/site-packeges.
Open Python IDLE and type following codes in Python terminal.
>>> import cv2>>> print cv2.__version__
If the results are printed out without any errors, congratulations !!! You have installed OpenCV-Python successfully.
Link:http://opencv-python-tutroals.readthedocs.io/en/latest/py_tutorials/py_setup/py_setup_in_windows/py_setup_in_windows.html
- How to install OpenCV
- How to install opencv in Ubuntu
- how to install opencv in ubuntu
- [OpenCV] How to install opencv by compiling source code
- How to Install OpenCV 3.0 and Python 3.4+ on Ubuntu
- How to install OpenCV 3.x in Linux
- How to Install OpenCV (3.3.0) on Jetson TX2
- How to Install Orabm
- How to Install Cygwin
- how to install CYGWIN
- how to install curl
- how to install mplayer
- HOW TO INSTALL subtitleeditor
- How to TWiki install
- How to install Redmine
- How to install opennebula
- How to install repo
- how to install eclipse
- Java---(SpringBlade框架)后台从数据库读取所有点的经度和纬度,传输到前端显示在地图上
- [LeetCode]563. Binary Tree Tilt
- Zookeeper集群的搭建
- 封装$(id)函数
- Java表达式的陷阱——多线程的陷阱
- How to install OpenCV
- vue环境搭建
- G Divideing Jewels(多重背包)
- Spring声明式事务处理
- 程序员成长必杀技,怎么找到想要的资源?
- 2017.4.25 解方程 思考记录
- IIC总线时序(结合AT24C02)
- java.lang.reflect.MalformedParameterizedTypeException
- struts2出现Error setting expression解决办法