Deepstream-app (DS4.0) - saving frame with/without bounding boxes - Xavier

I’m trying to save both the frame when initially captured by the (USB) camera, with a timestamp, as well as it with the superimposed bounding boxes…both within the deepstream-app.

Should I use the code in

and if so, which source file should it reside in?

Many thanks

dsexample plugin should be the better way to access frame data, you can refer to source code of it,
here is topics about this,