cvCompareHist error [closed]
I am trying to use cvCompareHist to monitor a video feed and alert the user when something enters the frame and stays there, but I am getting an error at run-time that states that cvCompareHist cannot be found. Any ideas why this is? There is no error prior to running the code so the method seems to be available prior to running the code.
"but I am getting an error at run-time that states that cvCompareHist cannot be found"
what ? are you using some interpreted language, like python ? why else would that happen at runtime ? please clarify
if it's python, did it lack the cv2. prefix ? maybe you meant cv2.compareHist instead?
I am running in Visual Studio so I can place break points, highlight the function, and say add to quick watch. By doing this I can find out what a method will output while having the code execution paused. I hope that is clearer.
yes, ofc. i just got confused by the runtime behaviour, since functions get resolved at loadtime on xp.