How to save frame as jpg and send the filename to kafka in deepstream 5.0 deepstream_test5

Hi,
You need to include necessary header files and modify Makefile

Header files:

/* Open CV headers */
#include "opencv2/imgproc/imgproc.hpp"
#include "opencv2/highgui/highgui.hpp"

#include "nvbufsurface.h"
#include "nvbufsurftransform.h"

Makefile: