Run python requests if person is detect

I am running sample code source4_1080p_dec_infer-resnet_tracker_sgie_tiled_display_int8.txt I would like to modified that if person is detect send a python http requests (requests.get(“”))

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU)
• DeepStream Version
• JetPack Version (valid for Jetson only)
• TensorRT Version
• NVIDIA GPU Driver Version (valid for GPU only)
• Issue Type( questions, new requirements, bugs)
• How to reproduce the issue ? (This is for bugs. Including which sample app is using, the configuration files content, the command line used and other details for reproducing)
• Requirement details( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description)

I’m interested too!
Would like to send http request to Node Red.

I figure it out…I am using deepstream_test_3. py example

import requests

    if obj_counter[PGIE_CLASS_ID_PERSON]>0: