hi,
i have three USB-3 cameras Point Grey type cm3-u3-50s5m. Actually, i try to input video for camera calibration (opencv-python).
Example code:
## import opencv for computer vision
import cv2
## import matplotlib to visualize an image
from matplotlib import pyplot as plt
print('opencv version: ', cv2.__version__)
for i in range(10):
cap = cv2.VideoCapture(i)
## Get a frame from the capture device
ret, frame = cap.read()
print(ret)
print(frame)
This dosn’t work because the industrial cameras don’t use the standard video interfaces of the OS. They using USB-3 Protocol.
This is because, thise cameras are quite complex and they are generally used in more complex situations,
where i need a full control over the camera. With the cameras SDK from Point Grey works very well.
Im using somethin else, the software from Stemmer imagining the CVB Box, works perfect.
I need to make a stero calibration and i want to use opencv for this purpose.
Is it possible to interface the cameras with opencv directly?
Can you give me some advice or some documentation about this problem.
Thanks!