Interface picamera2 with java

you should ask the people responsible for “picamera2”. OpenCV is not responsible.