How to save the complete frame with bounding boxes in deepstream-image-meta-test

Please provide complete information as applicable to your setup.

**• Hardware Platform (Jetson )**Jetson
• DeepStream Version6.0
• JetPack Version (valid for Jetson only)
• TensorRT Version
• NVIDIA GPU Driver Version (valid for GPU only)
**• Issue Type( questions, new requirements, bugs)**questions and bugs
I am not able to run deepstream-image-meta-test.
Now when I run the deepstream_image_meta_test file, another problem appears, as follows:

mec@mec-desktop:/opt/nvidia/deepstream/deepstream-6.0/sources/apps/sample_apps/deepstream-image-meta-test$ ./deepstream-image-meta-test file:///opt/nvidia/deepstream/deepstream-6.0/samples/streams/sample_1080p_h264.mp4
WARNING: Overriding infer-config batch-size (2) with number of sources (1)
Now playing: file:///opt/nvidia/deepstream/deepstream-6.0/samples/streams/sample_1080p_h264.mp4,

Using winsys: x11
0:00:00.212847689   743   0x559ccc5720 WARN                 nvinfer gstnvinfer.cpp:635:gst_nvinfer_logger:<primary-nvinference-engine> NvDsInferContext[UID 1]: Warning from NvDsInferContextImpl::initialize() <nvdsinfer_context_impl.cpp:1161> [UID = 1]: Warning, OpenCV has been deprecated. Using NMS for clustering instead of cv::groupRectangles with topK = 20 and NMS Threshold = 0.5
0:00:00.213693841   743   0x559ccc5720 INFO                 nvinfer gstnvinfer.cpp:638:gst_nvinfer_logger:<primary-nvinference-engine> NvDsInferContext[UID 1]: Info from NvDsInferContextImpl::buildModel() <nvdsinfer_context_impl.cpp:1914> [UID = 1]: Trying to create engine from model files
WARNING: [TRT]: Detected invalid timing cache, setup a local cache instead
0:00:33.845820484   743   0x559ccc5720 INFO                 nvinfer gstnvinfer.cpp:638:gst_nvinfer_logger:<primary-nvinference-engine> NvDsInferContext[UID 1]: Info from NvDsInferContextImpl::buildModel() <nvdsinfer_context_impl.cpp:1947> [UID = 1]: serialize cuda engine to file: /opt/nvidia/deepstream/deepstream-6.0/samples/models/Primary_Detector/resnet10.caffemodel_b1_gpu0_int8.engine successfully
INFO: [Implicit Engine Info]: layers num: 3
0   INPUT  kFLOAT input_1         3x368x640
1   OUTPUT kFLOAT conv2d_bbox     16x23x40
2   OUTPUT kFLOAT conv2d_cov/Sigmoid 4x23x40

0:00:33.863330061   743   0x559ccc5720 INFO                 nvinfer gstnvinfer_impl.cpp:313:notifyLoadModelStatus:<primary-nvinference-engine> [UID 1]: Load new model:ds_image_meta_pgie_config.txt sucessfully
Running...
Opening in BLOCKING MODE
NvMMLiteOpen : Block : BlockType = 261
NVMEDIA: Reading vendor.tegra.display-size : status: 6
NvMMLiteBlockCreate : Block : BlockType = 261
Segmentation fault (core dumped)

I suspect there is an error in the program,please help me.

Can you have a try with /opt/nvidia/deepstream/deepstream-6.0/samples/streams/sample_1080p_h264.mp4?

Thank you.
I found out that the program does not have permission to save images, and now I can run this example.
But the screenshot is an image of each target. I want to save a frame of image with a detection frame. How should I modify the program?

There is no update from you for a period, assuming this is not an issue any more.
Hence we are closing this topic. If need further support, please open a new one.
Thanks

Can you make a meta for the frame instead of obj meta for encoder?

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.