Hello, I have a question and need your help

My system:
Ubuntu 20.04
Tesla T4
Driver: 470.47
CUDA 11.1
cuDNN 8.1
TensorRT 7.2
DeepStream SDK 5.1.0

I am currently using test5-app, but I need to send the picture in the box through kafka, I saw image-mata-test, it is not suitable for me, what should I do, I am eager for your answer

I have solved this problem in another way

Glad to know.