How to save object to jpg file in Deepstream-test5-app

i am checking and modify, an i will ask for problem. thank you

To modify gstnvmsgconv like gstdsexample not easy.
Can i creat kafka producer at gstdsexample.cpp ? @Fiona.Chen

To modify gstdsexample as nvmsgconv is not easy too.

1 Like

hello, gstdsexample where are you put pgie_src_pad_buffer_probe() function

hello, in this post How to save frame as jpg and send the filename to kafka in deepstream 5.0 deepstream_test5 has an user say

dsexample is not before the msgconv by default, so you can’t receive the frame_image. You can move dsexample bin to the right position.

So how to do that @Fiona.Chen, help me

i have see deepstream_transfer_learning_app_main.cpp work on deepstream_app, and it can save image over save_image() in after_pgie_image_meta_save()
But this lid write on C++, and Deepstream-test5-app write on C, So when i try include header

#include "image_meta_consumer.h"
#include "image_meta_producer.h"

Get error while i run deepstream_transfer_learning_app is successful

image_meta_consumer.h:25:10: fatal error: condition_variable: No such file or directory
 #include <condition_variable>
          ^~~~~~~~~~~~~~~~~~~~
compilation terminated.

please help me

There are a lot of resources for resolving building errors with google.
std::condition_variable - cppreference.com

condition_variable is supported since C++11, please write correct makefile for your application.

This is DeepStream forum, let’s focus on DeepStream topics.

1 Like

i has fix it, thank you so much