编辑部的主页:好像没啥用
每章的代码,github上面的:中文版
github上面,英文版:
项目主页:
中文在线的书:
然后下载安装
安装好了以后,点击自动的编辑器:
新建工程,插入代码:# -*- coding: utf-8 -*-
"""
Created on Mon Jun 29 21:36:11 2015
@author: season
"""
from PIL import Image;
from pylab import *;
im = array(Image.open('lena.jpg'))
imshow(im)
x = [100, 100, 400, 400]
y = [200, 500, 200, 500]
plot(x, y, 'r*')
plot(x[:2], y[:2])
#axis('off')
title('Plotting: "empire.jpg"')
show()
这个编辑器着实不错,可以下断点,单步调试啥的,完全满足日常需要,python又降低了进行计算机视觉相关研究的门槛啊
效果: