> ## Documentation Index
> Fetch the complete documentation index at: https://dragonwingdocs.qualcomm.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Experience AI Applications with Qdemo UI

> Run AI use cases on Qualcomm Dragonwing IOT platform using Qdemo

<Note>
  Currently, the Qdemo application isn’t supported through the GUI launcher icon. Launch the Qdemo application using the device terminal. QDemo is available only for server builds.
</Note>

Qualcomm Dragonwing™ platform come preinstalled with Qdemo, a graphical user interface (GUI) application designed to run AI use cases. Use the Qdemo application to explore the AI capabilities of the development kit.

The following table lists the AI sample applications that you can run using Qdemo.

**Sample applications supported in Qdemo**

| Application        | Description                                                                                                                                |
| ------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ |
| Daisychain Pose    | Performs cascaded object detection and pose detection streamed from a camera.                                                              |
| FaceDetection      | Processes inputs from a camera and uses the Qualcomm® AI Hub detection model for face                                                      |
| Multistream        | Shows AI inference (object detection) on input streams from a camera or a file.                                                            |
| ObjectDetection    | Performs object detection on streams from a camera.                                                                                        |
| Parallel-AI-Fusion | Performs object detection, image classification, pose detection, and image segmentation on an input stream from a camera.                  |
| DashCamera         | Displays two simultaneous camera feeds side by side.                                                                                       |
| Record live video  | Records live video from a camera source, simultaneously displaying the stream and saving it as an H.264-encoded MP4 file (video\_out.mp4). |
| VideoTestSrc       | Renders a GStreamer test pattern using videotestsrc, useful for verifying the display pipeline without a physical camera.                  |
| VideoWall          | Plays a previously recorded MP4 file using the Record live video application across a 2×2 tile grid for a 4-up video wall display.         |

For the complete list of available applications, see [Qualcomm IM SDK sample applications](https://imsdkdocs.qualcomm.com/sample-application/ai-sample-applications).

## Prerequisites

* **Ubuntu multimedia image**: The device must be flashed with the prebuilt ubuntu image, which includes Qdemo and the Qualcomm IM SDK.
* **HDMI monitor**: Connect to the device to view Qdemo output.
* **Mouse and keyboard**: Required to interact with the Weston desktop and the Qdemo application.
* **Wi-Fi connection**: Required for AI sample applications to download models and labels from GitHub. Not required for multimedia applications.
* **USB camera (optional)**: Required for camera-based sample applications. If connected, select it from the `Source` list in Qdemo.

## Run sample applications using Qdemo

<Steps>
  <Step title="Connect the mouse, keyboard, and HDMI monitor, then power on the device">
    Connect the mouse, keyboard, and HDMI monitor to the device, then power it on.
  </Step>

  <Step title="Open the target device shell">
    ```shell theme={null}
    ssh ubuntu@<IP address of the target device>
    ```
  </Step>

  <Step title="Install the required dependencies">
    ```shell theme={null}
    sudo apt-get install -y libgstreamer1.0-dev gstreamer1.0-libav gstreamer1.0-alsa gstreamer1.0-gtk3
    ```

    ```shell theme={null}
    sudo apt-get install -y python3-gi-cairo gir1.2-gtk-3.0
    ```
  </Step>

  <Step title="Create the required folders and set ownership">
    Create media, labels, models, and a data folder, and change owner to ubuntu:ubuntu:

    ```shell theme={null}
    sudo mkdir -p /etc/media/ /etc/labels/ /etc/models/ /etc/data/
    ```

    ```shell theme={null}
    sudo chown -R ubuntu:ubuntu /etc/media/ /etc/labels/ /etc/models/ /etc/data/
    ```
  </Step>

  <Step title="Download the required artifacts">
    ```shell theme={null}
    wget -P /etc/media/ https://raw.githubusercontent.com/qualcomm/sample-apps-for-qualcomm-linux/refs/heads/main/scripts/download_artifacts.sh
    ```

    ```shell theme={null}
    wget -P /etc/media/ https://raw.githubusercontent.com/qualcomm/sample-apps-for-qualcomm-linux/refs/heads/main/qualcomm-linux/artifacts/qdemo/Qdemo.gif
    ```

    ```shell theme={null}
    wget -P /etc/media/ https://raw.githubusercontent.com/qualcomm/sample-apps-for-qualcomm-linux/refs/heads/main/qualcomm-linux/artifacts/qdemo/Qdemo.png
    ```
  </Step>

  <Step title="Launch the Qdemo application from the device terminal">
    ```shell theme={null}
    gst-gui-launcher-app.py
    ```

    The **Experience Application Demo** window will pop-up.
  </Step>

  <Step title="Select Wi-Fi to connect to a network">
    Only AI sample applications require a Wi-Fi connection. For multimedia applications, skip this step.

    <img src="https://mintcdn.com/qualcomm-prod/PpKFrrqBJ7iBLtKw/AI-Developer-Workflow-Ubuntu/_images/qdemo-wifi.png?fit=max&auto=format&n=PpKFrrqBJ7iBLtKw&q=85&s=a5757e3a56a5cfb09ac80b5aa41ff55c" alt="Wi-Fi selection in the Qdemo application" width="871" height="555" data-path="AI-Developer-Workflow-Ubuntu/_images/qdemo-wifi.png" />
  </Step>

  <Step title="Select the required camera in the Source list">
    Not all applications require a camera. If a USB camera is connected, select it from the list.
    The default selection is **On-Device-Camera**.
  </Step>

  <Step title="Select an application and click Start">
    In the **Applications** list, select an application and click **Start**.

    The application launches and displays output on the screen.

    <Note>
      During the first run, the application may take more than a minute to start, as it downloads AI models and labels from GitHub.
    </Note>

    The following is the sample output of the ObjectDetection application:

    <img src="https://mintcdn.com/qualcomm-prod/PpKFrrqBJ7iBLtKw/AI-Developer-Workflow-Ubuntu/_images/rb3-sample-output-object-detection_app.png?fit=max&auto=format&n=PpKFrrqBJ7iBLtKw&q=85&s=fd34c6f709afc6d9c637c0d99eb873e5" alt="Sample output of the ObjectDetection application in Qdemo" width="975" height="548" data-path="AI-Developer-Workflow-Ubuntu/_images/rb3-sample-output-object-detection_app.png" />
  </Step>

  <Step title="Close the output window to stop the sample application">
    Close the output window to stop the sample application.
  </Step>

  <Step title="Select Exit to close the Qdemo application">
    Select **Exit** to close the Qdemo application.
  </Step>
</Steps>
