Maybe I am doing something wrong... but I am getting the following error: Candidate.hpp:197:28: error: no viable conversion from 'cv::Matx<float, 3, 1>' to 'const cv::Mat'