Dynamic textoverlay using nvivafilter

I use nvivafilter with nvsample_cudaprocess.cu to overlay fixed text on jetson nano camera frames. But How can I do it for dynamic textoverlay which is readen from a text file?
I can’t use gstreamer textoverlay plugin because of high resource cpu.

In fact I wanna read a sensor data by uart and show data on every frame of camera. for reading uart data from serial port I need a while loop in nvsample_cudaprocess.cu file But it makes the camera image stoped and after showing first frame it stops and This is shown in jetson terminal :

‘’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’

Setting pipeline to PAUSED …
Pipeline is live and does not need PREROLL …
Setting pipeline to PLAYING …
New clock: GstSystemClock
GST_ARGUS: Creating output stream
CONSUMER: Waiting until producer is connected…
GST_ARGUS: Available Sensor modes :
GST_ARGUS: 3264 x 2464 FR = 21.000000 fps Duration = 47619048 ; Analog Gain range min 1.000000, max 10.625000; Exposure Range min 13000, max 683709000;

GST_ARGUS: 3264 x 1848 FR = 28.000001 fps Duration = 35714284 ; Analog Gain range min 1.000000, max 10.625000; Exposure Range min 13000, max 683709000;

GST_ARGUS: 1920 x 1080 FR = 29.999999 fps Duration = 33333334 ; Analog Gain range min 1.000000, max 10.625000; Exposure Range min 13000, max 683709000;

GST_ARGUS: 1640 x 1232 FR = 29.999999 fps Duration = 33333334 ; Analog Gain range min 1.000000, max 10.625000; Exposure Range min 13000, max 683709000;

GST_ARGUS: 1280 x 720 FR = 59.999999 fps Duration = 16666667 ; Analog Gain range min 1.000000, max 10.625000; Exposure Range min 13000, max 683709000;

GST_ARGUS: 1280 x 720 FR = 120.000005 fps Duration = 8333333 ; Analog Gain range min 1.000000, max 10.625000; Exposure Range min 13000, max 683709000;

GST_ARGUS: Running with following settings:
Camera index = 0
Camera mode = 2
Output Stream W = 1920 H = 1080
seconds to Run = 0
Frame Rate = 29.999999
GST_ARGUS: Setup Complete, Starting captures for 0 seconds
GST_ARGUS: Starting repeat capture requests.
CONSUMER: Producer has connected; continuing.
Caught SIGSEGV
#0 0x0000007fb5cb9e28 in _GI__poll (fds=0x558e7bcf20, nfds=548511970184, timeout=) at …/sysdeps/unix/sysv/linux/poll.c:41
#1 0x0000007fb5dc6f58 in () at /usr/lib/aarch64-linux-gnu/libglib-2.0.so.0
#2 0x000000558e5ef320 in ()
Spinning. Please run ‘gdb gst-launch-1.0 23080’ to continue debugging, Ctrl-C to quit, or Ctrl-\ to dump core

‘’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’

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

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU)
• DeepStream Version
• JetPack Version (valid for Jetson only)
• TensorRT Version
• NVIDIA GPU Driver Version (valid for GPU only)
• Issue Type( questions, new requirements, bugs)
• 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)
• Requirement details( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description)

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