The BaslerCamera transport handler allows receiving videos and images from Basler cameras using the Basler Pylon SDK. The operator can both operate in pull and push mode and can be used with the Command operator.
serialnumber:The serial number of the camera to use. If no serial number is specified, the first free camera will be used. (optional)
pull:Odysseus polls the camera repeatedly to grab images as fast as possible.
push:The camera pushes images into Odysseus. This is required if the camera is set to send images automatically or if a Command operator is used. (see below)
- Triggers the camera to grab an image. Requires push operation mode.
- No parameters required
The output of the handler provides the following attributes as a schema. Attributes can be in arbitrary order and will be identified by the type.
|image||IMAGEJCV||The current frame of the video stream|
|starttimestamp||STARTTIMESTAMP||The start time stamp of the frame|
This example shows how to grab a video from a basler camera and display it in a window: