Unsolved QCamera with UVC Y16 camera
-
Hi,
I'd like to use the QCamera to access the raw data stream from Y16 camera over UVC.
I dont need to display those data in Y16, I just need to access them in the RAW Y16 form - for example to save them to a file or to convert them to RGB and then display them.
The problem is when I set the camera UVC descriptor to Y16, the QCamera wont even connect, with the UVC descriptor set to YUY2 everything is working just fine.
Testing on Win10
Thanks for your help
-
Hi and welcome to devnet,
How are you setting that descriptor ?
-
Hi,
thanks for your answer. I set the device guidFromat to 20363159-0000-0010-8000-00AA00389B71
USBview log:
****************************************************************** guidFormat: {20363159-0000-0010-8000-00AA00389B71} bBitsPerPixel: 0x10 bDefaultFrameIndex: 0x01 *!*WARNING: guidFormat is an unknown format ***************************************************
-
How are you doing that ?
-
@SGaist I use the FTDI ft602 UVC chip and it has configurable USB descriptor. There is a predefined guidFormats list.
The YUY2 works, but Y16 won't even connect. I've also tested an option Qt + openCV and that works with both YUY2 and Y16. Qt for display and openCV for connecting and processing. But the thing is I'd like to get rid of the openCV as it is redundant.
-
AFAIK, the Y16 image format is currently not support in Qt at all. If you have to mandatory work with, I'd recommend putting OpenCV in the mix (that's not unusual at all).
-
@SGaist Ok good to know, thanks.