Hi,
I am currently doing a project that involves 3D reconstruction using a camera array.
I have 16 Microsoft HD-3000 webcams, Matlab R2017a on Windows 7 (64bit) OS.
I need the pictures to be taken simultaneously, which I found out is impossible with those webcams. Therefore I am recording short 'overlapping videos', measuring time difference between individual cameras triggering and ultimately extracting specific frames from the videos.
So far I have wrote a matlab code which detects how many cameras are plugged to the computer, then set camera parameters, records videos, saves them into the folder and measures time differences.
The code works fine when the cameras are plugged directly via computer's USB ports (tested on max. 8 cameras at a time since that is how many USB ports my computer has). However when I try plugging in the cameras via USB hub (StarTech), it won't work. It detects the cameras, sets parameters for each of them and 'tries' to take a video (it even gives me time difference), but the videos never appear on the drive. I am also getting following warning at the very beginning of running the code:
"Warning: An object in OBJ could not be started, was already started, or is invalid. "
All cameras are accessible and available for the preview in Image Acquisition Toolbox.
FYI, the USB Hub was supposed to be socket-powered, however it doesn't seem to work and I was testing it while powered from the computer.
Do you have any idea how to make it work? I have been struggling with this for the last couple of days.
Thanks in advance for your reply. Wojciech
Best Answer