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.
Harvester DetectUSB3Camera
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()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment