資源簡(jiǎn)介
具體使用,請(qǐng)參看博文10,里面有詳細(xì)的使用介紹。
代碼片段和文件信息
#!/usr/bin/env?python
#?-*-?coding:utf-8?-*-
‘Image?process?module‘
from?PIL?import?Image
from?pylab?import?*
from?PCV.localdescriptors?import?sift
from?PCV.localdescriptors?import?harris
imname?=?(‘/Python-PCV/Test/test.jpg‘)
im?=?array(Image.open(imname).convert(‘L‘))
sift.process_image(imname‘test.sift‘)
l1d1?=?sift.read_features_from_file(‘test.sift‘)
figure()
gray()
subplot
- 上一篇:SIFT的Python 代碼
- 下一篇:python 視頻學(xué)習(xí)
評(píng)論
共有 條評(píng)論