Skip to main content

Contrib package for the Basler pylon Camera Software Suite 'pypylon'

Project description

pypylon

Sample applications and jupyter notebooks using the official python wrapper for the Basler pylon Camera Software Suite.

This is a companion repository to pypylon

Please Note: This project is offered with no technical support by Basler AG. You are welcome to post any questions or issues on GitHub or on ImagingHub.

Overview

  • Some of the content was part of the Basler webinar about pypylon. You can watch this to get more in depth information about pylon SDK and pypylon. Please check for the recording at Basler PyPylon Webinar
  • As the feature names of basler cameras differ slightly between e.g. Basler ace USB and Basler ace GEV, it is noted at the samples or notebooks for which camera family the sample applies.
  • The python requirements to run the jupyter notebooks and samples are listed in requirements.txt

Basic Examples (pypylon only)

These examples use only the basic pypylon library and can be run without additional dependencies.

Notebooks

  1. Device enumeration and configuration basics deviceenumeration_and_configuration

  2. Demonstration of different grab strategies grabstrategies

  3. How to handle multicamera setups in pypylon multicamera

  4. Using hardware trigger and access image chunks ( USB ) hw_trigger_and_chunks

  5. Low overhead image capturing in a virtual line scan setup and display in notebook ( USB ) USB_linescan_performance_demo_opencv_notebook

  6. Exposure bracketing using the sequencer feature of ace devices ( USB) USB_HDR_exposure_sequencer

  7. Exposure bracketing using the sequencer feature of ace2/boost-R devices ( USB) USB_Ace2_BoostR_HDR_exposure_sequencer

  8. Full HDR multi-exposure example full_HDR_multiexposure_example

Contrib Examples (pypylon-contrib required)

These examples require the pypylon-contrib library which provides additional utilities and helper functions. Install it using:

pip install pypylon-contrib

Notebooks

  1. Sequencer utilities - Simplified interface for camera sequencer configuration sequencer

    Demonstrates how to use the SequencerUtils from pypylon-contrib to easily configure camera sequences with the CameraSequence, SinglePathSet, and SequencerTransition classes.

  2. Serial communication - Communication with serial devices connected to Basler cameras serial_communication

    Shows how to use the BaslerSerial class to communicate with serial devices connected to a Basler camera, enabling control of external hardware through the camera's serial interface.

Development

Pull requests to pypylon-samples are very welcome. e.g. generic samples that demonstrate interaction with GUI toolkits, as we typically only use Qt.

Known Issues

  • info table missing that clearly identifies which samples work for which camera model

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pypylon_contrib-0.1.1-py3-none-any.whl (13.3 kB view details)

Uploaded Python 3

File details

Details for the file pypylon_contrib-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for pypylon_contrib-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 81fbe38b37f3f8168c2602d6b8d5263cc0a8976c39c49fba6f4e63380bb5b68f
MD5 74ce6e90b53a92cc4375c170e0cfe33c
BLAKE2b-256 d5890119e1e18e9d3769f55eb9b3cf19c262b8eece16e2df1883abc2bbbdbfd0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page