Hello there
Just to let you know I got not much experience in programming. I try to set up a JAI Camera for image aquiring. Now I am stuck in the Tutorial
This works fine:
image = cvb.Image("C:/Program Files/STEMMER IMAGING/Common Vision Blox/tutorial/Clara.png")
image.save("Clara.bmp")
m = cvb.as_array(image)
plt.imshow(m.transpose(), cmap="gray")
#Stream
emu_device = cvb.DeviceFactory.open("C:/Program Files/STEMMER IMAGING/Common Vision Blox/tutorial\\ClassicSwitch.emu")
stream = emu_device.stream
device_image = emu_device.device_image
print("Emu:")
print("Resolution: " + str(device_image.width) + " x " + str(device_image.height))
print("Frames: " + str(stream.image_count))
But here I can’t start the Image aquisition:
vin_device = cvb.DeviceFactory.open("C:/Program Files/STEMMER IMAGING/Common Vision Blox/drivers/GenICam.vin")
It always returns:
File "<ipython-input-16-ef46b32b4d05>", line 1, in <module>
vin_device = cvb.DeviceFactory.open("C:/Program Files/STEMMER IMAGING/Common Vision Blox/drivers/GenICam.vin")
RuntimeError: {C-API call failed} ({LoadImageFileW})
Thanks for some input