added OPENCV support