This guide will get you all set up for Python-based image processing on any x64 mashine!
This guide will get you all set up for Python-based image processing on any x64 mashine! You should also be familiar with basic usage of your system's terminal. Let's get started!
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 grabbedOn a x64 Windows mashine it's quite easy to get OpenCV up and running. The easiest way is using Miniconda for the installation.
conda install -c menpo opencv3*_
4. Check your fresh installation of OpenCV by typing:
*_python
import cv2_**
The only missing part is connecting Python to your camera now. PyPylon takes care of this task. This step is compatible with any Basler camera. If you are using other cameras check if it offers a Python interface.
cv
virtualenv you created while installing OpenCVpython --version
from within your virtualenv (e.g. Python 3.5 → ..pypylon-1.0.7+pylon5.0.5.8999-cp35-none-win_amd64.whl
)
4. Install the whl
file with pip via pip install *path-to-whl*
5. Check the installation by typing:
**_python
import pypylon.pylon_**
Done! 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