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
From web-camera API: Callback will be used to provide RGB preview image
and into samples/README.md: Run preview for few seconds. Preview callback prints information on each frame.images are rgb24
I’ll take that as "API return raw data in RGB format", but code bellow don’t work:
What image format have array RealSense ID::Image::unsigned char * buffer in void On Preview ImageReady(const RealSense ID::Image image) when preview Mode=RAW10_1080P? And how much channels in frame?
The text was updated successfully, but these errors were encountered:
ZeosBios
changed the title
How convert RealSenseID::Image RAW10_1080P to cv::Mat
How convert RealSenseID::Image RAW10_1080P to cv::Mat or What image format have array RealSense ID::Image::buffer?
Aug 16, 2022
I'm trying to convert Image
RealSenseID::RAW10
tocv::Mat
. I get an image fromPreviewImageReadyCallback
, as shown in the example: https://github.com/IntelRealSense/RealSenseID/blob/master/samples/cpp/preview.cc#L14. But in the finish, I have always gray square. The conversation I make like:From web-camera API:
Callback will be used to provide RGB preview image
and into samples/README.md:
Run preview for few seconds. Preview callback prints information on each frame.images are rgb24
I’ll take that as "API return raw data in RGB format", but code bellow don’t work:
What image format have array
RealSense ID::Image::unsigned char * buffer
invoid On Preview ImageReady(const RealSense ID::Image image)
whenpreview Mode=RAW10_1080P
? And how much channels in frame?The text was updated successfully, but these errors were encountered: