pupil-labs / pyuvc

python binding to libuvc

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Could not get image reading from The Image Source camera

H-Y-Zhu opened this issue · comments

commented

Hi,

I am working on a project to build a stereo camera using two USB industrial cameras (Model DFK 33UX252, The Imaging Source). And I want to use the pyuvc to get the image from camera. However, I have some problems to read the image.

When I run "cap = uvc.Capture(dev_list[0]['uid'])", it appears the error:
ERROR:uvc:Could not init 'White Balance temperature red'! Error: range() arg 3 must not be zero
and the cap.avaible_modes is none. So can not get the image.

I have also tried a webcam from logitech, and it works well.

Thanks so much!

I bet this is your camera not being uvc compliant. You will have to make changes to the source.