I have VIDEOHDR
data (detail for VIDEOHDR) which is got from camera by using capSetCallbackOnVideoStream
and capCaptureSequenceNoFile
function with C++
Now, I want to take VIDEOHDR
data display as video on screen. How can I do it?
I have VIDEOHDR
data (detail for VIDEOHDR) which is got from camera by using capSetCallbackOnVideoStream
and capCaptureSequenceNoFile
function with C++
Now, I want to take VIDEOHDR
data display as video on screen. How can I do it?
I suppose you got the video resolution Width x Height and image format (RGB24, YUYV, or ...) from another way as it'snt in the VIDEOHDR struct.
The VIDEOHDR struct you receive in the callback contain : lpData and dwBufferLength
to display/render image you may need of an additional lib like SDL, OpenGL, OpenCV UI, MFC, QT
using 1 of those lib You can : - create a window of Width x Height - configure the window rendering to interpret data correctly depending of your capture format, RGB24 or another. - anytime you get a new HDR in the callback, pass LpData to the render
but first choose your rendering framework and come back if you need help.