openCV—Python(1)——初始化环境

本系列博客主要參考自——Adrian Rosebrock:《Practical Python and OpenCV: An Introductory,Example Driven Guide toImage Processing and Computer Vision》

一、 分步配置

分别安装下面工具

1、python2.7.x

2、NumpyScipy

3、Matplotlib

4、下载OpenCV后解压,提取路径 “opencvuildpython2.7”下,目录x64(64位)或x86(32位)中的“cv2.pyd”放到”Python27Lib”下。

5、Mathotas

二、安装Python(x,y)

“一”中的安装步骤比較繁琐,并且easy出错。只是,本人在学习过程中发现Python(x,y)包括了上述的全部插件(包)。直接安装就可以。

下面是Python(x,y)的三个下载链接:

1、Python(x,y):provided by NTUA

2、Python(x,y):provided by University of Kent

3、Python(x,y):provided by ConnectMV

用迅雷直接下载就可以。

来源:https://code.google.com

三、Python(x,y)简单介绍

下面是“二”中Python(x,y)的简单介绍。

1、版本号:

2.7.10.0 (06/30/2015)

2、添加的包

libnacl - A ctypes wrapper around libsodium.
yappi - Yet Another Python Profiler.

3、更新的包

fabric 1.10.2-9
paramiko 1.15.2-13
setuptools 18.0.1-41
Pyreadline 2.0.6-4
PyICU 1.9.2-6
Base Python 1.12.0-35
grin 1.2.1-2
Cython 0.22.1-16
mahotas 1.3.0-16
pyOpenSSL 0.15.1-9
pytest 2.7.2-18
pygments 2.0.2-3
Mako 1.0.1-3
pylint 1.4.3-18
openpyxl 2.2.4-25
cvxpy 0.2.24-8
psutil 3.0.1-15
cx_Freeze 4.3.4-4
pyvisa 1.7-6
scikits-learn 0.16.1-9
h5py 2.5.0-9
Sphinx 1.3.2-10
netcdf4 1.1.8-12
Base Libraries 1.7.0-15
Pillow 2.8.2-16
pyhdf 0.8.3-4
blosc-python 1.2.7-7
PyTables 3.2.0-8
SWIG 3.0.5-7
ffnet 0.8.0-2
rst2pdf 0.93-7
SQLAlchemy 1.0.6-23
astropy 1.0.3-11
PycURL 7.19.5.1-9
ReportLab 3.2.0-5
Tornado 4.2-11
virtualenv 13.0.3-14
lxml 3.4.4-19
Matplotlib 1.4.3-7
IPython 2.4.1-10
Spyder 2.3.5.2-17
libnacl 1.4.3-2
NumPy 1.9.2-8
cffi 1.1.2-15
Bottleneck 1.0.0-4
pyzmq 14.7.0-14
urllib3 1.10.4-3
SciPy 0.15.1-8
requests 2.7.0-9
scikits.image 0.11.3-9
PyQt 4.11.3-5
QtHelp 4.8.6-4
PyQwt 5.2.1-6
Console 1.14.0.15129-13
Veusz 1.23.1-15
GDAL 1.11.2-8
OpenCV 2.4.11-7
pandas 0.16.2-15
nose 1.3.7-9
Pip 7.0.3-14
VTK 6.2.0-5
numexpr 2.4.3-10
pycares 0.7.0-5
ETS 4.4.4-15
xlwt 1.0.0-2
pycparser 2.14-6
ply 3.6-2
pyodbc 3.0.11-2
gevent 1.0.2-9
html5lib 0.99999-4
vitables 2.2-1
simplejson 3.7.3-19
ITK 4.7.2-9
yappi 0.94-1
pyasn1 0.1.8-2

4、删除的包

FreeImage downgraded to additional plugin. Has become redundant.

原文地址:https://www.cnblogs.com/mthoutai/p/7225606.html