First time here? Check out the FAQ!
answered 2012-08-20 12:30:41 -0600
In your original code you use cv.CompareHist but cv namespace is deprecated. Try to use cv2.compareHist.
cv.CompareHist
cv
cv2.compareHist