Access to CAM500A on Nanopi M1 (and NEO AIR)

How i can access to CAM500A on Nanopi M1 and use it for OpenCV?
I want use video (or in minimum images) to find and trace object. How can i
use it like webcam or camera that have on my pc?
I prefer to use it on Java language but can use C++, something like this for raspberrypi;