Hi I am working on python application test 1. I want to save bounding box region in memory. I am trying to access frame using below code inside
def osd_sink_pad_buffer_probe(pad,info,u_data):
n_frame=pyds.get_nvds_buf_surface(hash(gst_buffer), frame_meta.batch_id)
#convert python array into numy array format. frame_image=np.array(n_frame,copy=True,order=‘C’)
#covert the array into cv2 default color format
frame_image=cv2.cvtColor(frame_image,cv2.COLOR_RGBA2BGRA)
But I am facing segmentation fault error after processing of few frames. The same configuration and app file is working fine if I am not accesing frames.
• Hardware Platform (GPU)–> Tesla k40m
• DeepStream Version 5.0
• NVIDIA GPU Driver Version (valid for GPU only) -->440.100
• Issue Type( bugs)