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

**URL:** <https://forums.developer.nvidia.com/t/deepstream-app-ds4-0-saving-frame-with-without-bounding-boxes-xavier/113005>\
**Category:** DeepStream SDK\
**Created:** [March 3, 2020, 10:02am UTC](https://forums.developer.nvidia.com/t/deepstream-app-ds4-0-saving-frame-with-without-bounding-boxes-xavier/113005 "2020-03-03T10:02:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![paulvf269](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@paulvf269](https://forums.developer.nvidia.com/u/paulvf269)\
**Post date:** [March 3, 2020, 10:02am UTC](https://forums.developer.nvidia.com/t/deepstream-app-ds4-0-saving-frame-with-without-bounding-boxes-xavier/113005/1 "2020-03-03T10:02:57Z")

</div>

Hi  
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

[https://devtalk.nvidia.com/default/topic/1060956/deepstream-sdk/access-frame-pointer-in-deepstream-app/post/5400321/#5400321](https://devtalk.nvidia.com/default/topic/1060956/deepstream-sdk/access-frame-pointer-in-deepstream-app/post/5400321/#5400321)

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

Many thanks

---

<div class="post-metadata">

**Author:** ![Amycao](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/amycao/32/11342_2.png) [@Amycao](https://forums.developer.nvidia.com/u/Amycao)\
**Post date:** [March 5, 2020, 4:16am UTC](https://forums.developer.nvidia.com/t/deepstream-app-ds4-0-saving-frame-with-without-bounding-boxes-xavier/113005/2 "2020-03-05T04:16:57Z")

</div>

dsexample plugin should be the better way to access frame data, you can refer to source code of it,  
sources/gst-plugins/gst-dsexample/,  
here is topics about this,  
[https://devtalk.nvidia.com/default/topic/1061205/deepstream-sdk/rtsp-camera-access-frame-issue/post/5377678/#5377678](https://devtalk.nvidia.com/default/topic/1061205/deepstream-sdk/rtsp-camera-access-frame-issue/post/5377678/#5377678)  
[https://devtalk.nvidia.com/default/topic/1061422/deepstream-sdk/how-to-crop-the-image-and-save/post/5375174/#5375174](https://devtalk.nvidia.com/default/topic/1061422/deepstream-sdk/how-to-crop-the-image-and-save/post/5375174/#5375174)

---

<div class="post-metadata">

**Author:** ![TomNVIDIA](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/tomnvidia/32/14181_2.png) [@TomNVIDIA](https://forums.developer.nvidia.com/u/TomNVIDIA)\
**Post date:** [October 12, 2021, 4:18pm UTC](https://forums.developer.nvidia.com/t/deepstream-app-ds4-0-saving-frame-with-without-bounding-boxes-xavier/113005/3 "2021-10-12T16:18:19Z")

</div>

Closed on October 12, 2021, 4:18pm UTC


