0

I am currently working on an image processing project using Java OpenIMAJ library. I need to grab frames from multiple cameras (using Logitech C270 USB Webcams right now) to perform manipulations on the grabbed frames.

I have hit a snag right now. I am able to add 2 cameras when both are running at 640X480 resolution and 3 cameras when the resolution is reduced to 320X240 for all three.

But I need to read the outputs from at least 5 cameras at reasonably good resolution to correctly perform my operations. Is this a limitation on the part of the hardware I am using or a software limitation?.. I have listed some details that I believe could help. Do let me know if you need any further information.

Windows 7 Professional 64bit
JDK 1.7
OpenIMAJ v1.1

Pentium Dual-Core E5700 @ 3.00GHz
4GB RAM
No dedicated Graphics
Webcams are connected to USB 2.0 ports
(Windows Experience Index 4.1)

Exception thrown for 3rd camera at 640x480 resolution is

org.openimaj.video.capture.VideoCaptureException: An error occured opening the capture device

Any comments on why I am getting this limitation would be very helpful.

Thanks in advance

Devanand
  • 3
  • 1

1 Answers1

1

In all likelihood this is down to a hardware limitation; streaming from multiple cameras tends to saturate the USB bus. We managed 6 cameras on two separate busses at 320x240 resolution on a single laptop before: http://blog.soton.ac.uk/multimedia/2011/08/01/goggles/

Jon
  • 841
  • 4
  • 5
  • Thank you for your answer. It was exactly why I was having the issue with multiple cameras. It is now solved. I actually modified the code such that each camera connected to the PC is accessed sequentially (one at a time). So, I can run them at a higher resolution and get the required input from multiple cameras. – Devanand Jul 21 '14 at 08:41