remove code that is in OpenCV