cvCompareHist error [closed]

asked 2013-03-29 15:04:38 -0600

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.

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by sturkmen
close date 2020-09-27 07:45:32.555683

Comments

"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?

berak gravatar imageberak ( 2013-03-29 17:59:17 -0600 )edit

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.

mrcclassical gravatar imagemrcclassical ( 2013-04-05 13:37:33 -0600 )edit

yes, ofc. i just got confused by the runtime behaviour, since functions get resolved at loadtime on xp.

berak gravatar imageberak ( 2013-04-05 13:59:42 -0600 )edit