• Hardware Platform : GPU
• DeepStream Version : 6.2
• Language : C++
Is there any way to get frame as image from frame_meta?
I have read NVIDIA DeepStream SDK API Reference: NvBufSurface Types and Functions | NVIDIA Docs about bufSurface but not familiar with low level terminology.
without saving as file, cannot we get the image data?
How do you want to use the image data?
transferable via kafka or uploadable to aws s3/azure blob. The purpose is to send a frame image (for example- when object enters an area) and later use it for other purposes.
OK. We currently do not have such a demo, but you can try to implement it yourself. You can refer to the topic below: https://forums.developer.nvidia.com/t/how-can-i-send-frames-though-kafka-along-with-metadata/255188/4
is there any c++ implementation of this python code?
n_frame = pyds.get_nvds_buf_surface(hash(gst_buffer), frame_meta.batch_id)
frame_copy = np.array(n_frame, copy=True, order='C')
There is no update from you for a period, assuming this is not an issue anymore. Hence we are closing this topic. If need further support, please open a new one. Thanks
About C/C++, you can refer to our open souce demo to learn how to save image: sources\apps\sample_apps\deepstream-image-meta-test\deepstream_image_meta_test.c.