Avoid cv::clone() at Device::getCurrentImage(). Use directly the image provided as an argument in the method