> ## 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>
  The Qdemo application is currently not supported through a GUI launcher icon. Launch the Qdemo application from the device terminal using `sudo`.
</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. |

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

## Prerequisites

* **Qualcomm Linux multimedia image**: The device must be flashed with the prebuilt Qualcomm Linux multimedia proprietary image (`qcom-multimedia-proprietary-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.

<Note>
  For camera applications, run the following command in the terminal of the target device to enable `qticamsrc`:

  ```shell theme={null}
  echo -n "camx" > /var/data
  efivar -n 882f8c2b-9646-435f-8de5-f208ff80c1bd-VendorDtbOverlays -w -f /var/data
  efivar -n 882f8c2b-9646-435f-8de5-f208ff80c1bd-VendorDtbOverlays -p
  sync
  reboot
  ```
</Note>

## Run sample applications using Qdemo

1. Connect the mouse, keyboard, and HDMI monitor to the device, then power it on.

   The **Qdemo startup screen** appears on the monitor.

   <img src="https://mintcdn.com/qualcomm-prod/WwC9kmcnKl9Ef7de/Key-Documents/AI-Developer-Workflow/_images/qdemo-screen.png?fit=max&auto=format&n=WwC9kmcnKl9Ef7de&q=85&s=dae8ab1f6b1b17cfcea39eb37fee1f60" alt="Qdemo startup screen on the monitor" width="720" height="480" data-path="Key-Documents/AI-Developer-Workflow/_images/qdemo-screen.png" />

2. Open the device shell by selecting the **Weston terminal icon** on the Qdemo screen.

   <img src="https://mintcdn.com/qualcomm-prod/WwC9kmcnKl9Ef7de/Key-Documents/AI-Developer-Workflow/_images/terminal-qdemo-screen.png?fit=max&auto=format&n=WwC9kmcnKl9Ef7de&q=85&s=a61b6fa6b8ed64994443a1c34081f075" alt="Weston terminal icon on the Qdemo screen" width="517" height="346" data-path="Key-Documents/AI-Developer-Workflow/_images/terminal-qdemo-screen.png" />

3. Sign in as a root user:

   ```shell theme={null}
   su -p
   ```

   When prompted for the password, enter `oelinux123`.

4. Launch the Qdemo application from the Weston terminal:

   ```shell theme={null}
   gst-gui-launcher-app.py
   ```

   The **Experience Application Demo** window displays.

5. 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/WwC9kmcnKl9Ef7de/Key-Documents/AI-Developer-Workflow/_images/rb3-qdemo-wi-fi.png?fit=max&auto=format&n=WwC9kmcnKl9Ef7de&q=85&s=62c1adf289b89461494438a6e7a12086" alt="Wi-Fi selection in the Qdemo application" width="605" height="525" data-path="Key-Documents/AI-Developer-Workflow/_images/rb3-qdemo-wi-fi.png" />

6. In the **Source** list, select the required camera.

   Not all applications require a camera. If a USB camera is connected, select it from the list.
   The default selection is **On-Device-Camera**.

7. 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/WwC9kmcnKl9Ef7de/Key-Documents/AI-Developer-Workflow/_images/rb3-sample-output-object-detection_app.png?fit=max&auto=format&n=WwC9kmcnKl9Ef7de&q=85&s=a9a009ac2822cdcdbf72f40ad7073d9c" alt="Sample output of the ObjectDetection application in Qdemo" width="975" height="548" data-path="Key-Documents/AI-Developer-Workflow/_images/rb3-sample-output-object-detection_app.png" />

8. Close the output window to stop the sample application.

9. Select **Exit** to close the Qdemo application.
