Basler Pylon API from Python

Python can control Basler cameras using the official Basler PyPylon API on Linux, macOS, and Windows. The Raspberry Pi and some other ARM systems are also covered by Basler camera drivers. The Basler PyPylon uses the Pylon software API to control Basler cameras from Python.

Live preview: run Basler Pylon GUI live viewer “PylonViewerApp” or “pylon-viewer” from command line.

If message:

RuntimeError: Payload data has been discarded. Payload data can be discarded by the camera device if the available bandwidth is insufficient.

sudo is needed for Pylon to work in some systems.