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.
ARM and x86 Linux: run Basler Pylon GUI live viewer:
For Linux, Basler Pylon is in the system menu under “Sound & Video/pylon Viewer” and “other/pylon IP Configurator”.
RuntimeError: Payload data has been discarded. Payload data can be discarded by the camera device if the available bandwidth is insufficient.
Basler says root is needed for Pylon to work in some systems.