You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Issue when trying to get frame from camera with 'YUV422_8' pixel format #17
The camera model I´m using is "Teledyne DALSA-Nano-C1280" and its available pixel formats are 'Mono8', 'BGR8', 'BGRA8', 'YUV422_8', 'YUV422_8_UYVY' and'YUV422Packed'.
I´m trying to get frames from the camera using a example script of this repository and setting pixel format of the camera to 'YUV422_8'. However, when I save the frame as a jpg or png file it seems to have a wrong format because it is completely gray (if I save it as .png) or completely white (if I save it as .jpg). If I use aravis viewer and I select 'YUV422_8' format, the viewer shows camera image correctly (in color).
Moreover, if I execute same python script setting pixel format to 'Mono8' it works fine and the image is correctly saves in grayscale.
Does anybody know why 'YUV422_8' pixel format is causing this issue?
Activity