我創建直方圖 pylab.hist(data,weights,histtype='step',normed=False,bins=150,cumulative=True)
得到(還有其他的地塊,現在是無關緊要的)紫線 爲什麼直方圖再次下降到零?累積函數應該一般不減少。有沒有辦法解決這個問題,無論是錯誤還是功能? 編輯:溶液(黑客): # histtype=step returns a sing
這裏是鏈接,我覺得 How do I find an image contained within an image 而我得到的代碼在上面的鏈接。 這裏是我的代碼 import re
import os
import time
import cv2
from cv2 import cv
METHOD = cv.CV_TM_SQDIFF_NORMED
ROOTDIR = 'Gener