Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to get RAW image from usb camera #43

Open
divyashree123456 opened this issue Mar 17, 2023 · 1 comment
Open

Unable to get RAW image from usb camera #43

divyashree123456 opened this issue Mar 17, 2023 · 1 comment

Comments

@divyashree123456
Copy link

divyashree123456 commented Mar 17, 2023

Hi @vladimirvivien
I am using /examples/capture0 folder to capture the image from usb camera in a raw image format(as . raw file) by changing the pixel format to PixelFormat: v4l2.PixelFmtRGB24 and saving the file as .raw extension. but i am not able to get valid raw image.
so is there any necessary to change in
Colorspace : sRGB
YCbCr/HSV encoding : Default (map to ITU-R 601)
Quantization : Default (map to Full range)
Supported formats: YUyv and Motion-JPEG
Screenshot from 2023-03-17 15-47-50

@vladimirvivien
Copy link
Owner

Hi @divyashree123456
Thank you for using the project.
Based on the output above, it looks like your camera can only output in YCbCr/YUVY and MJPEG. Unfortunately, the api does not do any sort of encoding translation at this time (say from YUYV to RGB24).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants