# Deploy PeopleNet into existing Python Application

**URL:** <https://forums.developer.nvidia.com/t/deploy-peoplenet-into-existing-python-application/153882>\
**Category:** Jetson Xavier NX\
**Created:** [September 8, 2020, 8:47am UTC](https://forums.developer.nvidia.com/t/deploy-peoplenet-into-existing-python-application/153882 "2020-09-08T08:47:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![bschr9uwb](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@bschr9uwb](https://forums.developer.nvidia.com/u/bschr9uwb)\
**Post date:** [September 8, 2020, 8:47am UTC](https://forums.developer.nvidia.com/t/deploy-peoplenet-into-existing-python-application/153882/1 "2020-09-08T08:47:44Z")

</div>

Hey there!

I want to use PeopleNet for detecting People on a Camera Stream. The Problem is that i have to integrate it into an existing Python Application and I only get the current frame as an opencv-image. Thats why I can’t use the “full” Deepstream Pipeline, i only need the part for inferencing.

What Code do I need to get the PeopleNet Predictions for a camera frame in an existing application?

Thank you so much for your help, I love the Jetson Devices and the prebuilt models you guys are providing.

---

<div class="post-metadata">

**Author:** ![AastaLLL](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/aastalll/32/14043_2.png) [@AastaLLL](https://forums.developer.nvidia.com/u/AastaLLL)\
**Post date:** [September 9, 2020, 2:43am UTC](https://forums.developer.nvidia.com/t/deploy-peoplenet-into-existing-python-application/153882/3 "2020-09-09T02:43:38Z")

</div>

Hi,

You can run the PeopleNet with TensorRT API directly.  
For example: [Developer Guide :: NVIDIA Deep Learning TensorRT Documentation](https://docs.nvidia.com/deeplearning/tensorrt/developer-guide/index.html#create_network_python)

So you can feed the OpenCV image to the input buffer.  
Thanks.

---

<div class="post-metadata">

**Author:** ![nadeemm](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/nadeemm/32/367020_2.png) [@nadeemm](https://forums.developer.nvidia.com/u/nadeemm)\
**Post date:** [October 18, 2021, 6:43pm UTC](https://forums.developer.nvidia.com/t/deploy-peoplenet-into-existing-python-application/153882/5 "2021-10-18T18:43:24Z")

</div>

Closed on October 18, 2021, 6:43pm UTC


