Running multiple cameras on jetson TK1

Hi all,

I had been trying to run 4 cameras at 640*480 resolution with output format YUV/MPEG simultaneously on TK1 for sometime and found that two cameras are working but the remaining two are not, does the board support running 4 cameras in one shot?

I’m connecting all the 4 cameras through an external USB-3.0 hub.
The board is running UBUNTU 14.04 and I tried with v4l2.

The camera model is ELP-USBFHD01M-L21.

Regards,
Nalamolu Siva

How do you try it. And any error message? Have you try the those 2 of 4 combination like video0 video2 in one shot or video2 video3 in one shot.

Thankyou for the reply,

I have tried with opencv, gstreamer and v4l2 codes. On connecting more than 2 cameras to the USB-3.0 hub, i am getting this error “libv4l2: no space left on device”. I have checked 2 of 4 combinations and it is working.

The camera mentioned is a FishEye camera.

Regards,
Sivakrishna.N

How does the USB-3.0 bub connect to the TK1. If you connect to the TK1 USB port i think that should be the bandwidth not enough to handle that case.

I used external power USB-3.0 hub for connecting 4 cameras, 1 keyboad and 1 mouse.I think so bandwidth is not sufficient to run multiple cameras, So Is there any solution to run multiple cameras in one shot ?

Regards,
Nalamolu Siva

I know it’s external usb hub, but tk1 USB is 2.0

A couple of things:

  1. The Jetson TK1 is capable of running USB 3.0, but must be configured to do so. Does your Jetson have USB 3.0 configured correctly?
  2. The way the most USB camera drivers work is that they reserve the maximum amount of bandwidth that the camera can deliver. For example, even though the camera resolution may be set by the user for 640x480 @ 30 fps, if the camera is more capable, say 1920x1080 @ 30 fps, the USB driver will allocate the maximum frame rate bandwidth. This usually takes into account any compression being used also. You have to examine the different raw modes that the camera provides, it could very well be that there is a relatively large frame uncompressed high frame rate which reserves a large chunk of USB bandwidth for the camera.

Another couple of notes, you probably have to turn USB autosuspend off to have the cams work correctly. You may be able to save a wee bit of bandwidth by placing the keyboard and mouse into the USB 2.0 port. My guess is that it may be difficult to get another two cameras on the USB 3.0 port, but you’d have to do some maths to figure it out. Also note that the maximum USB 3.0 speeds are theoretical, and may not be delivered out in the wilds.

Thank you Kangalow, giving a valuable information,I agreed your context.

I have tried with my camera, I can able to set 30fps for 640480 resolution with uncompressed format (YUYV) but I can’t able to set same fps for 640480 resolution with compressed format (MJPEG) default it is taking 120fps.

Regards,
Nalamolu Siva

Hi,

I am planning to interface Small size spy camera(Mini size cameras) to the TK1 Board (Any interface USB,CSI etc.)

Is that possible to interface spy cameras on TK1 Board? which spy camera would be suitable for the TK1 Board.

Hoping for the earnest reply.

Regards,
Saurabh Pahune

spahune
TK1 can support any UVC type usb camera. So you can use any spy usb UVC camera on TK1.

Thanks for the reply ShaneCCC

Is that possible to connect multiple camera (Spy usb UVC Camera) on TK1 so it can capture 360-degree view.

I am looking for Mini spy camera size (same like mobile camera size).Is that Spy usb UVC Camera products available in market?

Is that possible to connect more than two USB UVC camera products on Jetson TK1?

Yes, it’s possible.

Thanks for the reply.
How can I connect four UVC USB cameras two TK1 board for capturing 360-degree view?

spahune

Thanks for the reply.
How can I connect four UVC USB cameras to TK1 board for capturing 360-degree view?

You need a USB hub to connect the usb camera and connect to TK1.

Is that Possible to connect six UVC USB spy camera ON tk1 board?

Shall i need to use USB HUB 3.0 VERSION?

I don’t know what bandwidth is required by each camera, but even at low resolution you may be better off with USB3. If your cameras are USB2, then a USB3 HUB may still be of benefit. There is a “transaction translator” associated with ports downgrading to USB2 compatibility such that the port between the HUB and the Jetson would still run at USB3 speeds. No individual camera would benefit, but I suspect having several devices on a USB2 HUB would bottleneck badly.

To measure current settings of USB use the tree view of lsusb: “lsusb -t”. If it is 480M speed, then it is USB2; if it is 5000M speed, then it is USB3.

Note that the JTK1 does not have USB3 enabled by default on the full-sized connector. There is a simple edit to enable this as USB3. In file “/boot/extlinux/extlinux.conf” you will find this kernel parameter:

usb_port_owner_info=0

…to switch the full-sized USB port to USB3 change the “0” to “2”:

usb_port_owner_info=2

If your cameras consume enough bandwidth then even USB3 won’t be enough. A single camera designed for USB3 could in fact consume most available bandwidth if it is high enough resolution or frame rate.

Hello Shanne,

I have chosen MD-B3105/6L SPY UVC Camera Model,is it works on TK1 for interfacing?

Please go through this below link:

http://www.misumi.com.tw/PLIST.ASP?PC_ID=57

It’s uvc camera then it should be supported. However I can’t give you any promise.