OpenCV code in Java