OpenPnpCaptureCamera is an OpenPnP camera driver based on the openpnp-capture library by Niels Moseley. It is the most advanced OpenPnP camera driver available, making it possible to use multiple USB cameras on a single host, and allowing you to specify configuration parameters such as exposure, brightness, focus, etc.
When using multiple USB cameras on the same USB host, there are some limitations to consider. Primarily, it is important to use a compressed format when selecting the Format in OpenPnP. Compressed formats have a number of names. The most common are 1bmd, dmb1, mjpg, and mjpeg. Uncompressed formats such as yuv, vuy, yuv2, etc. cannot be used when using multiple cameras on the same host.
For more information on the limitations of multiple USB cameras, see the USB Camera Troubleshooting FAQ.
To configure the format for a camera:
- Go to Machine Setup -> Cameras or Machine Setup -> Heads -> Cameras and select the camera to configure.
- Select the Camera Specific tab.
- Scroll down to the General section and click the Format dropdown.
- In the list of Formats, find a compressed format that meets you resolution and FPS needs. If there are no compressed formats in the dropdown you will either need to change to a different camera (see What Should I Build for recommendations) or put each camera on it's own USB host port.
Note that not all cameras behave as well as others. If you want to be sure of reliable operation of two cameras on a single USB host it is recommended that you use the ELP Model USB100W03M, 720p USB Cameras. See the Build FAQ for more camera recommendations.