《OpenCV3 计算机视觉--Python语言实现 第二版》源代码及纠错

1、源代码下载地址

《OpenCV3 计算机视觉--Python语言实现 第二版》由我们翻译,其英文书名《Learning OpenCV3 Computer Vision with Python second edition》,源代码的下地址为:

 https://github.com/techfort/pycv

 或

http://examples.oreilly.com/9781785283840/

中文版第15页第一段提到的接口例子程序在下面下载:

https://github.com/abidrahmank/OpenCV2-Python/tree/master/Official_Tutorial_Python_Codes

2、纠错

(1)第11页最下面的第二行代码中的“libavcodecdev”应修改为“libavcodec-dev”

 

(2)第75页将cv2.rectangle(img,(ex,ey),(ex+ew,ey+eh),(0,255,0),2)

修改为:
cv2.rectangle(img,(ex+x,ey+y),(ex+x+ew,ey+y+eh),(0,255,0),2)

感谢 河海大学 物联网工程学院 沈晓海的指正

(3) 将第7页中的xcode-select -install 修改为xcode-select --install

 重庆工商大学  计信学院  刘波

posted @ 2016-07-17 17:17  flyinsky518  阅读(6327)  评论(15编辑  收藏  举报