Changed acces to markerdetection from cv::Mat to string.