Skip to content

Instantly share code, notes, and snippets.

@truh
Created July 16, 2019 09:02
Show Gist options
  • Save truh/ab909ae82ebf97c77d8564795437695c to your computer and use it in GitHub Desktop.
Save truh/ab909ae82ebf97c77d8564795437695c to your computer and use it in GitHub Desktop.
docker run -it --rm --privileged -v /dev/bus/usb:/dev/bus/usb \
moonvision/moonbox:vendor-tag \
python -c "from harvesters.core import Harvester; \
h = Harvester(); \
h.add_cti_file('/opt/pylon5/lib64/gentlproducer/gtl/ProducerU3V-1.4.0.cti'); \
h.update_device_info_list(); \
print('Devices: ', h.device_info_list)"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment