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
sudo raspi-update
Pylon contains all the software we need for interacting with Basler cameras. Builds are provided for multiple platforms.
INSTALL
file. Do not attempt to run the pylon viewer as it is not bundled with ARM releasesSamples/Grab
directory and execute make
, then run ./Grab
, you should see some text scrolling with information about pictures being grabbedIn 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.
cv
virtualenv you created while installing OpenCVpython --version
from within your virtualenv..cp34-cp34m-linux_armv7l.whl
)whl
file with pip via pip3 install *path-to-whl*
python
and check that running import pypylon.pylon
does not yield any errorsDone! You can either try out our example projects now or create some cool stuff of your own. Have fun!
Want to comment this ... Show more