Fixed issue when OpenCV library is not available.