Learn how to get started with image processing on your Raspberry Pi 3!
This guide will get you all set up for Python-based image processing on your Raspberry Pi 3! You can also use this guide with other hardware if you apply some slight tweaks (e.g. pick another architecture when downloading software). You should also be familiar with basic usage of your system's terminal. Let's get started!
sudo apt-get update
sudo apt-get dist-upgrade
Pylon contains all the software we need for interacting with Basler cameras. Builds are provided for multiple platforms.
INSTALLfile. Do not attempt to run the pylon viewer as it is not bundled with ARM releases
Samples/Grabdirectory and execute
make, then run
./Grab, you should see some text scrolling with information about pictures being grabbed
In this step we'll set up Python 3 and the OpenCV image processing library. Just follow the instructions over here.
The only missing part is connecting Python to your camera now. PyPylon takes care of this task.
cvvirtualenv you created while installing OpenCV
python --versionfrom within your virtualenv
whlfile with pip via
pip3 install *path-to-whl*
pythonand check that running
import pypylon.pylondoes not yield any errors
Done! You can either try out our example projects now or create some cool stuff of your own. Have fun!