Your browser is out of date. It may not display all features of this websites. Learn how to update your browser.

OK

Application Notes

Getting started with pylon and OpenCV

Document number: AW001368

OpenCV is an open source computer vision library that allows you to perform image processing on Basler Machine Vision cameras. This application note provides information on how to install and use OpenCV in combination with the Basler pylon Camera Software Suite in Microsoft Visual Studio on Windows operating systems.

The pylon Camera Software Suite offers full support for Machine Vision standards such as USB3 Vision or GigE Vision. Therefore, Basler recommends using the pylon API to grab images and convert them to OpenCV images.

In this application note, you will first learn how to install and configure OpenCV for use with pylon. Then, using a sample code, you will learn how to accomplish the following tasks with pylon and OpenCV:

  • Acquire images with pylon API functions
  • Convert the acquired pylon images to OpenCV images
  • Display and save images with OpenCV functions
  • Record video files with OpenCV functions

Download now for free

Back to Webshop