I am implementing an algorithm for finger detection using OpenNI and OpenCv 2.4 and Kinect. The problem is I don't know how to get started, I found a piece of code and trying to run it. But the problem is imgproc_c.h has alot of errors as (undeclared CvMoments,CvDistanceFunction) and many others of this type.
I checked and made sure of the header files, I even compared it with the code online of imgproc_c.h and it's exactly the same.
I have a feeling that openCV 2.4 is not functioning correctly in my case, Any clue ?