Skip to content

Instantly share code, notes, and snippets.

@Mallekin
Mallekin / ueye_example.py
Created May 7, 2018 16:07
Minimal python example to capture frames with an IDS uEye camera
from pyueye import ueye
import numpy as np
import cv2
def main():
# init camera
hcam = ueye.HIDS(0)
ret = ueye.is_InitCamera(hcam, None)
print(f"initCamera returns {ret}")