Skip to content

Instantly share code, notes, and snippets.

@immengineer
Created May 7, 2019 01:04
Show Gist options
  • Save immengineer/0bf30a97e0811a79b1d5b6ecf0bd81f3 to your computer and use it in GitHub Desktop.
Save immengineer/0bf30a97e0811a79b1d5b6ecf0bd81f3 to your computer and use it in GitHub Desktop.

Revisions

  1. immengineer created this gist May 7, 2019.
    8 changes: 8 additions & 0 deletions GenTLUSB3-1.py
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,8 @@
    from harvesters.core import Harvester
    h = Harvester()
    h.add_cti_file('C:/Program Files/JAI/SDK/bin/JaiUSB3vTL.cti')
    h.update_device_info_list()
    print("NumberOfCamera = {0}".format(len(h.device_info_list)))
    h.device_info_list[0]
    print(h.device_info_list[0])
    h.reset()