I am developing some code in OpenCV 2.4 and I want to test the FREAK detector but I get compilation errors. I am including the feature2d.h, what can I do to fix this?
FREAK is included in the OpenCV version 2.4.2, so you cannot use it in your current version as it is not implemented. Download and install OpenCV2.4.2.