Code Yarns ‍👨‍💻
Tech BlogPersonal Blog

How to use Basler camera

📅 2014-Aug-05 ⬩ ✍️ Ashwin Nanjappa ⬩ 🏷️ basler, pylon ⬩ 📚 Archive

Basler makes industrial cameras. Setting up and using this camera with your own code is quite easy:

$ sudo tar -C /opt -xzf pylonSDK*.tar.gz

It was installed to /opt/pylon4 on my computer.

$ sudo ./
$ /opt/pylon4/bin/PylonViewerApp

You should be able to capture images from your camera using this app and also configure its various settings.

$ cd Samples
$ source /opt/pylon4/bin/ /opt/pylon4
$ make
$ cd Grab
$ ./Grab

The shell script to set environment variables did not work under the Fish shell, so I used a Bash shell for this purpose.

Tried with: Basler acA1600-20uc camera, Pylon 4 for Linux x86 64-bit and Ubuntu 14.04

© 2022 Ashwin Nanjappa • All writing under CC BY-SA license • 🐘📧