Java code for use OpenCV projects