Changed line 140 because there were namespace ambiguities between cv::Mutex and yarp::os::Mutex. It's now using yarp::os::Mutex