Connecting many cameras over LAN
The INFINICAM GbE-2 is a camera that connects to a PC over LAN (Gigabit Ethernet). LAN cables can be run over long distances, and a switching hub lets you gather many cameras into one PC. This page introduces setups for connecting many cameras, and some tips for doing so.
What you can do with many cameras is introduced in Tracking over a wide area with multiple cameras and Running only the cameras you need.
1. What is good about connecting over LAN
Section titled “1. What is good about connecting over LAN”| Cameras connected by USB | INFINICAM GbE-2, connected by LAN | |
|---|---|---|
| Cable length | Usually up to a few m | Up to 100 m per cable (CAT5e or better) |
| Connecting many cameras | Limited by the number of USB ports on the PC | Can be gathered with a switching hub |
| Where you can place them | Near the PC | Away from the PC, such as on the ceiling or walls of a room |
You can keep the PC in one place and put cameras all around a room, or on each machine in a factory.
2. We ran 10 cameras together
Section titled “2. We ran 10 cameras together”We have actually connected 10 GbE-2 cameras and confirmed that they run at the same time at 1,000 fps from one PC. The cameras were grouped five each on two switching hubs, and each hub was connected to a 10 Gbps LAN port on the PC. Each of the two ports kept receiving about 4.9 Gbps.
For the connection diagram, the equipment used, and detailed results on the bandwidth received, see Simultaneous Capture with 10 Cameras.
3. Reducing power wiring (PoE)
Section titled “3. Reducing power wiring (PoE)”Because the GbE-2 connects over 1 Gbps LAN, you can use a commercially available switching hub that supports PoE (a method that also sends power over the LAN cable). The camera itself does not support PoE, but if you put a PoE splitter just before the camera to split the LAN cable into “LAN for communication” and “USB Type-C (5 V) for power”, you only need to run one LAN cable to each camera. This is useful when you place many cameras where power is hard to get, such as high up on a ceiling or wall.
4. Connecting across routers
Section titled “4. Connecting across routers”The GbE-2 communicates using IP addresses, just like ordinary network equipment, so you can also connect to cameras on another network, across routers. Set a default gateway on the camera, and on the PC, search for the camera by specifying its IP address (use the method in the SDK’s PUC_DetectDevice2 that searches by a specified IP address). One possible use is to run cameras on another floor of a building, or in a distant room, from a single PC.
However, every part of the route must provide about 1 Gbps of bandwidth per camera and must pass jumbo frames. Going through routers also adds a little delay. You will also need to set up firewalls to match the route.
5. Points and limits for making it work
Section titled “5. Points and limits for making it work”- Network bandwidth: A GbE-2 at 1,000 fps uses close to 1 Gbps of bandwidth per camera. To run many cameras at the same time, you need a switching hub that supports 10 Gbps and a 10 Gbps LAN on the PC. The bandwidth you need depends not on the number of cameras connected, but on the number of cameras running at the same time (see Running only the cameras you need).
- PC processing: The PC must process each received image within 1 ms, for every camera that is running. When there are many cameras, one option is to share the work among several PCs.
Related pages
Section titled “Related pages”- Possibilities of INFINICAM (overview)
- Tracking over a wide area with multiple cameras
- Running only the cameras you need
- Features of INFINICAM: only the cameras you need, as many as you need
