how to interface baumer camera or kinect V2 with opencv?

I have the program for opencv that works with the webcam. But I am finding it difficult to use opencv with Kinect camera or Baumer camera. I want to know how to interface Baumer camera or Kinect V2 with opencv?