# Daisy chain detection and pose detection using Python Source: [https://docs.qualcomm.com/doc/80-70017-50/topic/daisy-chain-detection-and-pose-detection-using-python.html](https://docs.qualcomm.com/doc/80-70017-50/topic/daisy-chain-detection-and-pose-detection-using-python.html) The **gst-ai-daisychain-detection-pose.py** application enables you to perform cascaded object detection and pose detection with input from a camera, file source, or an RTSP stream. Figure : gst-ai-daisychain-detection-pose.py pipeline  For information on the plugins used in this pipeline, see [Pipeline flow](https://docs.qualcomm.com/doc/80-70017-50/topic/daisy-chain-detection-and-pose-detection-using-python.html#daisy-chain-detection-and-pose-detection-using-python__section_pqq_1ny_kbc). ## Run the application 1. Ensure that you complete the [Prerequisites](https://docs.qualcomm.com/doc/80-70017-50/topic/python-sample-applications.html#python-sample-applications__section_gm5_s5j_bdc). 2. Rename the label files on the Linux host: cp /opt/yolonas.labels /opt/yolov8.labelsCopy to clipboard 3. Run the use cases: - Input from a camera: python3 /usr/bin/gst-daisychain-detection-pose.py --cameraCopy to clipboard - Input from a file: python3 /usr/bin/gst-daisychain-detection-pose.py --file /opt/video.mp4Copy to clipboard - Input from an RTSP stream: python3 /usr/bin/gst-daisychain-detection-pose.py --rtsp rtsp://192.168.1.3:8554/1.mkvCopy to clipboard - Input from a camera with detection constants: python3 /usr/bin/gst-daisychain-detection-pose.py --camera --constants_detection "YOLOv8,q-offsets=<21.0, 0.0, 0.0>,q-scales=<3.093529462814331, 0.00390625, 1.0>;"Copy to clipboard - Input from a camera with pose constants: python3 /usr/bin/gst-daisychain-detection-pose.py --camera --constants_pose "hrnet,q-offsets=<8.0>,q-scales=<0.0040499246679246426>;"Copy to clipboard To display the available help options, run the following command: python3 /usr/bin/gst-daisychain-detection-pose.py -hCopy to clipboard ## Expected output Figure : Expected output for gst-ai-daisychain-detection-pose.py application  ## Pipeline flow The table lists the plugins used in the daisy chain detection and pose estimation pipeline:| Plugin | Description | | --- | --- | | Camera source:[qtiqmmfsrc](https://docs.qualcomm.com/doc/80-70017-50/topic/qtiqmmfsrc.html) |
In the use case described in this section,
qtimlvpose does the following: