Hello!
I have been trying to get images from the Genie nano C4900 using python with cvb, but they show up with muted colors when compared to the capture taken from Sapera own viewer:
At first i thought it was a situation of changing R and B channels but it does not seem like it, as the blue from the corner of the painting is right on. Still, the issue seems to be specifically on the red channel, as the chair should be red.
I did try to configure the node maps to have the same exposure, balance ratio and image format to no improvement from that of the Sapera configuration. The same problem happens with the cvb viewer program.
EDIT: Forgot to include the code sample used for image aquisition with cvb:
import cvb
if __name__ == "__main__":
path = cvb.install_path() + "/Drivers/GenICam.vin"
with cvb.DeviceFactory.open(path) as device:
stream = device.stream
stream.start()
image, status = stream.wait_for(1000)
if status != cvb.WaitStatus.Ok:
raise RuntimeError("timeout during wait"
if status == cvb.WaitStatus.Timeout else
"acquisition aborted")
image.save("img.bmp")
stream.abort()
Python environment is with Anaconda on Windows