Example Programs

A selection of example programs is maintained at TheImagingSource/ic4-examples (github.com).

The repository contains both simple examples showcasing a single feature of the IC Imaging Control 4 Python Library as well as more complete applications that can prove useful when using the camera. The most notable applications are described below:

Downloading the Example Programs

The example programs are available on github and can be downloaded multiple ways:
  • By running the git command line tool

    $ git clone https://github.com/TheImagingSource/ic4-examples.git
    
  • By using git integration from a IDE, e.g. Visual Studio, using the link https://github.com/TheImagingSource/ic4-examples.git

  • By downloading the example code in a .zip file:

ic4-ctrl

A cross-platform console application that can be used to perform basic tasks, such as

  • Device enumeration

  • Device configuration

  • Display live video

  • Save image

  • Save video file