Please provide complete information as applicable to your setup.
• Hardware Platform (Jetson / GPU) :t4 • DeepStream Version 5.1 • JetPack Version (valid for Jetson only) • TensorRT Version 7.2 • NVIDIA GPU Driver Version (valid for GPU only) 440 • Issue Type( questions, new requirements, bugs) questions • How to reproduce the issue ? (This is for bugs. Including which sample app is using, the configuration files content, the command line used and other details for reproducing) ./deepstream-test5-app -c configs/test5_config_file_src_infer.txt • Requirement details( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description)
I save picture in dsexample plug-in.Because it uses OpencV to encode images, it’s much slower.
However, in any project, it is necessary to save a complete picture of the event as it occurs.
I tried to encode images using nvJPEG, but nvJPEG does not support RGBA conversion to BGR.
What should I do?
I’m sorry, but that doesn’t solve my problem.I need the original picture, not the object picture.
deepstream-image-meta-test does not suppot encode original picture.
In addition, nvds_obj_encode.h cannot see the source code and cannot be modified, which bothers me very much
You can create a new NvDsObjectMeta and set the values as you like. No need to use obj_meta->detector_bbox_info since you don’t need it.
deepstream-image-meta-test is just a sample to show how to use the APIs, nobody says you must use obj_meta->detector_bbox_info with nvds_obj_enc_process()
I have some problems.
When I encode an existing object with nvds_obj_enc_process() I get the encoded image, but when I create an object using nvds_acquire_obj_meta_from_pool() to encode image, I can’t get the result.Why?
What you fill need to match “ip_surf” and “encode_proc”. The definition of NvDsObjectMeta is defined in /opt/nvidia/deepstream/deepstream/sources/includes/nvdsmeta.h