Ask Your Question

Revision history [back]

Multiple USB camera on a hub question

I am using a powered USB 2.0 hub and I am having problems accessing more than one camera through the hub in my python script.

I don't need simultaneous video feed from each camera. I just need to cycle through each to grab a snapshot.

example: Activate Cam0 Take picture from Cam0 Disable Cam0 Activate Cam1 Take Picture from Cam1 Disable Cam1 etc.

Do you know how I can fully disconnect from Cam0 so I can access Cam1? Even though I do a release() on Cam0 and Cam1.isOpened() returns true, I get a "can't grab frame. Error: -2147483638" when I try to read() from Cam1.

Thanks in advance.

Multiple USB camera on a hub question

I am using a powered USB 2.0 hub and I am having problems accessing more than one camera through the hub in my python script.

I don't need simultaneous video feed from each camera. I just need to cycle through each to grab a snapshot.

example: Activate Cam0 Take picture from Cam0 Disable Cam0 Activate Cam1 Take Picture from Cam1 Disable Cam1 etc.

Do you know how I can fully disconnect from Cam0 so I can access Cam1? Even though I do a release() on Cam0 and Cam1.isOpened() returns true, I get a "can't grab frame. Error: -2147483638" when I try to read() from Cam1.

Thanks in advance.

Multiple USB camera on a hub question

I am using a powered USB 2.0 hub and I am having problems accessing more than one camera through the hub in my python script.

I don't need simultaneous video feed from each camera. I just need to cycle through each to grab a snapshot.

example: example:

Activate Cam0 Cam0

Take picture from Cam0 Cam0

Disable Cam0 Cam0

Activate Cam1 Cam1

Take Picture from Cam1 Cam1

Disable Cam1 Cam1

etc.

Do you know how I can fully disconnect from Cam0 so I can access Cam1? Even though I do a release() on Cam0 and Cam1.isOpened() returns true, I get a "can't grab frame. Error: -2147483638" when I try to read() from Cam1.

Thanks in advance.

Multiple USB camera on a hub question

I am using a powered USB 2.0 hub and I am having problems accessing more than one camera through the hub in my python script.

I don't need simultaneous video feed from each camera. I just need to cycle through each to grab a snapshot.

example:

Activate Cam0

Take picture from Cam0

Disable Cam0

Activate Cam1

Take Picture from Cam1

Disable Cam1

etc.

Do you know how I can fully disconnect from Cam0 so I can access Cam1? Even though I do a release() on Cam0 and Cam1.isOpened() returns true, I get a "can't grab frame. Error: -2147483638" when I try to read() from Cam1.

Thanks in advance.

Multiple USB camera on a hub question

I am using a powered USB 2.0 hub and I am having problems accessing more than one camera through the hub in my python script.

I don't need simultaneous video feed from each camera. I just need to cycle through each to grab a snapshot.

example:

Activate Cam0

Take picture from Cam0

Disable Cam0

Activate Cam1

Take Picture from Cam1

Disable Cam1

etc.

Do you know how I can fully disconnect from Cam0 so I can access Cam1? Even though I do a release() on Cam0 and Cam1.isOpened() returns true, I get a "can't grab frame. Error: -2147483638" when I try to read() from Cam1.

Thanks in advance.