編輯部的主頁:好像沒啥用
每章的代碼,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又降低了進行計算機視覺相關研究的門檻啊
效果: