added a constraint on the OpenCV version (3.0)