- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I try to use EZ USB Suite with GUI, with RAW12 MIPI input and 16 bit video-output then try to get data from Host PC.
The data I get with OpenCV VideoCapture tool seems incorrect.
Check the GUID format within cyc3_uvcdscr.c file
0X55,0X59,0X56,0X59,
0X00,0X00,0X10,0X00,
0X80,0X00,0X00,0XAA,
0X00,0X38,0X9B,0X71,
It seems to a UYVY format data will be received on PC side. Is it possible to change the setting that I can get RAW12 data in PC side, without any (or less) computing.
We have to get exact same data (or only byte shift is allow) to make sure our depth sensor algorithm can be implemented without out any problem during data exchange in different bus.
Thanks
Angus
- Tags:
- cx3 raw12
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Please note that you are using 16 bit bus width hence I suspect that you are getting RAW 12 bits + 4 extra zeros. Kindly remove those extra zeros in the OpenCV application then check again.
If you are still facing issue do let me know.
Thanks & Regards
Abhinav
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Abhinav,
Because window camera application(and OpenCV on Win) use directshow to capture video, which will force camera input converted to RGB format (although my usb description set as UYVY as described within previous discussion). Can I just change the GUID format within cyc3_uvcdscr.c file to
0x7B, 0xEB, 0x36, 0xE4, /*MEDIASUBTYPE_RGB565 e436eb7b-524f-11ce-9f53-0020af0ba770 */
0x4F, 0x52, 0xCE, 0x11,
0x9F, 0x53, 0x00, 0x20,
0xAF, 0x0B, 0xA7, 0x70,
in order to get RGB565 RAW data directly on PC application?
Thanks
Angus
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I do the test. Change UYVY format to RGB565 in usb description, data(RGB format) I get with PC OpenCV can be converted to RGB565 correctly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Angus,
Could you please elaborate what changes you had made and what are there consequences. Apologies I didn't understand your question.
Thanks & Regards
Abhinav