def init(self):
     ret = ueye.is_InitCamera(self.h_cam, None)
     if ret != ueye.IS_SUCCESS:
         self.h_cam = None
         raise uEyeException(ret)
     #
     return ret
Beispiel #2
0
    def init(self):
        ret = ueye.is_InitCamera(self.h_cam, self.h_wnd)
        if ret != ueye.IS_SUCCESS:
            self.h_cam = None
            raise uEyeException(ret)

        self.enable_message(self.h_wnd)
        return ret