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

# Super Resolution

> QIM SDK supported models for Super Resolution

***

<Tabs>
  <Tab title="TFLite Runtime">
    <div style={{overflowX:"auto",borderRadius:"10px",boxShadow:"0 2px 12px rgba(50,83,220,0.10)",overflow:"hidden"}}>
      <table style={{width:"100%",borderCollapse:"collapse",fontSize:"0.85rem",border:"2px solid #3253DC"}}>
        <colgroup>
          <col style={{width:"40px"}} />

          <col style={{width:"220px"}} />

          <col style={{width:"100%"}} />
        </colgroup>

        <thead>
          <tr>
            <th style={{backgroundColor:"#3253DC",color:"#ffffff",border:"1px solid #000000",padding:"10px 8px",textAlign:"center",letterSpacing:"0.05em",width:"40px"}}>No.</th>
            <th style={{backgroundColor:"#3253DC",color:"#ffffff",border:"1px solid #000000",padding:"10px 8px",textAlign:"center",letterSpacing:"0.05em",width:"220px"}}>Model Name</th>
            <th style={{backgroundColor:"#3253DC",color:"#ffffff",border:"1px solid #000000",padding:"10px 8px",textAlign:"center",letterSpacing:"0.05em"}}>Description</th>
          </tr>
        </thead>

        <tbody>
          <tr>
            <td rowSpan={2} style={{border:"1px solid #e2e8f0",padding:"8px",textAlign:"center",verticalAlign:"middle",width:"40px"}}>1</td>
            <td style={{border:"1px solid #e2e8f0",padding:"8px",textAlign:"left",verticalAlign:"middle",width:"180px"}}><a href="https://aihub.qualcomm.com/iot/models/quicksrnetlarge?searchTerm=SR" target="_blank" style={{color:"#3253DC",fontWeight:600}}>QuickSRNetLarge</a></td>
            <td style={{border:"1px solid #e2e8f0",padding:"8px",color:"#555",fontSize:"0.82rem",verticalAlign:"middle"}}>Fast super-resolution network (large) for video upscaling.</td>
          </tr>

          <tr>
            <td colSpan={2} style={{border:"1px solid #e2e8f0",padding:"4px",verticalAlign:"top",width:"100%"}}>
              {/* yaml_id: 103 */}

              <Accordion title="Steps to Run on QIMSDK">
                <Accordion title="🟡 Float32 - Model Precision">
                  <Steps>
                    <Step title="Download Required Files">
                      | File                                                                                                                                                   | Save as                       |
                      | ------------------------------------------------------------------------------------------------------------------------------------------------------ | ----------------------------- |
                      | [Model](https://aihub.qualcomm.com/iot/models/quicksrnetlarge)                                                                                         | quicksrnetlarge\_float.tflite |
                      | <a href="https://github.com/qualcomm/sample-apps-for-qualcomm-linux/tree/refs/heads/main/qualcomm-linux/artifacts/videos/demo_samples">Input video</a> | ai\_demo\_sample.mp4          |

                      <Note>
                        If any downloaded file is a `.zip` archive, extract it on your host machine before copying:
                        `unzip filename.zip`
                      </Note>
                    </Step>

                    <Step title="Copy Files to Device">
                      <CodeGroup>
                        ```bash SCP (SSH) theme={null}
                        # Replace $HOME to the appropriate device path before running the commands.
                        # For QLI:    /root
                        # For Ubuntu: /home/ubuntu
                        # Modify this based on your platform and ensure files are copied to the correct location on the device.

                        ssh <user>@<device-ip> "mkdir -p $HOME/{models,media,media/output}"
                        scp quicksrnetlarge_float.tflite     <user>@<device-ip>:$HOME/models/
                        scp ai_demo_sample.mp4  <user>@<device-ip>:$HOME/media/
                        ```
                      </CodeGroup>
                    </Step>

                    <Step title="Connect to device">
                      <CodeGroup>
                        ```bash SCP (SSH) theme={null}
                        # Run from your host machine — replace <user> and <device-ip>
                        ssh <user>@<device-ip>
                        ```
                      </CodeGroup>
                    </Step>

                    <Step title="Set Environment Variables">
                      ```bash Qualcomm Linux theme={null}
                      export MODEL_NAME=quicksrnetlarge_float.tflite
                      export SRC_VIDEO_NAME=ai_demo_sample.mp4
                      ```
                    </Step>

                    <Step title="Run the Pipeline">
                      ```bash theme={null}
                      gst-launch-1.0 -e --gst-debug=2 \
                      filesrc location=$HOME/media/$SRC_VIDEO_NAME ! qtdemux ! h264parse ! \
                      v4l2h264dec capture-io-mode=4 output-io-mode=4 ! video/x-raw,format=NV12 ! queue ! \
                      tee name=t \
                      t. ! queue ! qtivcomposer name=mixer sink_0::position="<0, 0>" sink_0::dimensions="<960, 1080>" sink_1::position="<960, 0>" sink_1::dimensions="<960, 1080>" ! queue ! waylandsink fullscreen=true sync=true \
                      t. ! qtimlvconverter ! queue ! \
                      qtimltflite model=$HOME/models/$MODEL_NAME delegate=gpu ! queue ! \
                      qtimlpostprocess module=srnet ! video/x-raw,format=RGB ! queue ! mixer.
                      ```
                    </Step>
                  </Steps>
                </Accordion>

                <Accordion title="🟢 W8A8 — Model Precision">
                  <Steps>
                    <Step title="Download Required Files">
                      | File                                                                                                                                                   | Save as                      |
                      | ------------------------------------------------------------------------------------------------------------------------------------------------------ | ---------------------------- |
                      | [Model](https://aihub.qualcomm.com/iot/models/quicksrnetlarge)                                                                                         | quicksrnetlarge\_w8a8.tflite |
                      | <a href="https://github.com/qualcomm/sample-apps-for-qualcomm-linux/tree/refs/heads/main/qualcomm-linux/artifacts/videos/demo_samples">Input video</a> | ai\_demo\_sample.mp4         |

                      <Note>
                        If any downloaded file is a `.zip` archive, extract it on your host machine before copying:
                        `unzip filename.zip`
                      </Note>
                    </Step>

                    <Step title="Copy Files to Device">
                      <CodeGroup>
                        ```bash SCP (SSH) theme={null}
                        # Replace $HOME to the appropriate device path before running the commands.
                        # For QLI:    /root
                        # For Ubuntu: /home/ubuntu
                        # Modify this based on your platform and ensure files are copied to the correct location on the device.

                        ssh <user>@<device-ip> "mkdir -p $HOME/{models,media,media/output}"
                        scp quicksrnetlarge_w8a8.tflite      <user>@<device-ip>:$HOME/models/
                        scp ai_demo_sample.mp4  <user>@<device-ip>:$HOME/media/
                        ```
                      </CodeGroup>
                    </Step>

                    <Step title="Connect to device">
                      <CodeGroup>
                        ```bash SCP (SSH) theme={null}
                        # Run from your host machine — replace <user> and <device-ip>
                        ssh <user>@<device-ip>
                        ```
                      </CodeGroup>
                    </Step>

                    <Step title="Set Environment Variables">
                      ```bash Qualcomm Linux theme={null}
                      export MODEL_NAME=quicksrnetlarge_w8a8.tflite
                      export SRC_VIDEO_NAME=ai_demo_sample.mp4
                      ```
                    </Step>

                    <Step title="Run the Pipeline">
                      ```bash theme={null}
                      gst-launch-1.0 -e --gst-debug=2 \
                      filesrc location=$HOME/media/$SRC_VIDEO_NAME ! qtdemux ! h264parse ! \
                      v4l2h264dec capture-io-mode=4 output-io-mode=4 ! video/x-raw,format=NV12 ! queue ! \
                      tee name=t \
                      t. ! queue ! qtivcomposer name=mixer sink_0::position="<0, 0>" sink_0::dimensions="<960, 1080>" sink_1::position="<960, 0>" sink_1::dimensions="<960, 1080>" ! queue ! waylandsink fullscreen=true sync=true \
                      t. ! qtimlvconverter ! queue ! \
                      qtimltflite model=$HOME/models/$MODEL_NAME delegate=external external-delegate-path=libQnnTFLiteDelegate.so external-delegate-options="QNNExternalDelegate,backend_type=htp,log_level=(string)1;" ! queue ! \
                      qtimlpostprocess module=srnet ! video/x-raw,format=RGB ! queue ! mixer.
                      ```
                    </Step>
                  </Steps>
                </Accordion>
              </Accordion>
            </td>
          </tr>

          <tr>
            <td rowSpan={2} style={{border:"1px solid #e2e8f0",padding:"8px",textAlign:"center",verticalAlign:"middle",width:"40px"}}>2</td>
            <td style={{border:"1px solid #e2e8f0",padding:"8px",textAlign:"left",verticalAlign:"middle",width:"180px"}}><a href="https://aihub.qualcomm.com/iot/models/quicksrnetmedium?searchTerm=SR" target="_blank" style={{color:"#3253DC",fontWeight:600}}>QuickSRNetMedium</a></td>
            <td style={{border:"1px solid #e2e8f0",padding:"8px",color:"#555",fontSize:"0.82rem",verticalAlign:"middle"}}>Fast super-resolution network (medium) balanced speed/quality.</td>
          </tr>

          <tr>
            <td colSpan={2} style={{border:"1px solid #e2e8f0",padding:"4px",verticalAlign:"top",width:"100%"}}>
              {/* yaml_id: 105 */}

              <Accordion title="Steps to Run on QIMSDK">
                <Accordion title="🟡 Float32 - Model Precision">
                  <Steps>
                    <Step title="Download Required Files">
                      | File                                                                                                                                                   | Save as                        |
                      | ------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------ |
                      | [Model](https://aihub.qualcomm.com/iot/models/quicksrnetmedium)                                                                                        | quicksrnetmedium\_float.tflite |
                      | <a href="https://github.com/qualcomm/sample-apps-for-qualcomm-linux/tree/refs/heads/main/qualcomm-linux/artifacts/videos/demo_samples">Input video</a> | ai\_demo\_sample.mp4           |

                      <Note>
                        If any downloaded file is a `.zip` archive, extract it on your host machine before copying:
                        `unzip filename.zip`
                      </Note>
                    </Step>

                    <Step title="Copy Files to Device">
                      <CodeGroup>
                        ```bash SCP (SSH) theme={null}
                        # Replace $HOME to the appropriate device path before running the commands.
                        # For QLI:    /root
                        # For Ubuntu: /home/ubuntu
                        # Modify this based on your platform and ensure files are copied to the correct location on the device.

                        ssh <user>@<device-ip> "mkdir -p $HOME/{models,media,media/output}"
                        scp quicksrnetmedium_float.tflite    <user>@<device-ip>:$HOME/models/
                        scp ai_demo_sample.mp4  <user>@<device-ip>:$HOME/media/
                        ```
                      </CodeGroup>
                    </Step>

                    <Step title="Connect to device">
                      <CodeGroup>
                        ```bash SCP (SSH) theme={null}
                        # Run from your host machine — replace <user> and <device-ip>
                        ssh <user>@<device-ip>
                        ```
                      </CodeGroup>
                    </Step>

                    <Step title="Set Environment Variables">
                      ```bash Qualcomm Linux theme={null}
                      export MODEL_NAME=quicksrnetmedium_float.tflite
                      export SRC_VIDEO_NAME=ai_demo_sample.mp4
                      ```
                    </Step>

                    <Step title="Run the Pipeline">
                      ```bash theme={null}
                      gst-launch-1.0 -e --gst-debug=2 \
                      filesrc location=$HOME/media/$SRC_VIDEO_NAME ! qtdemux ! h264parse ! \
                      v4l2h264dec capture-io-mode=4 output-io-mode=4 ! video/x-raw,format=NV12 ! queue ! \
                      tee name=t \
                      t. ! queue ! qtivcomposer name=mixer sink_0::position="<0, 0>" sink_0::dimensions="<960, 1080>" sink_1::position="<960, 0>" sink_1::dimensions="<960, 1080>" ! queue ! waylandsink fullscreen=true sync=true \
                      t. ! qtimlvconverter ! queue ! \
                      qtimltflite model=$HOME/models/$MODEL_NAME delegate=gpu ! queue ! \
                      qtimlpostprocess module=srnet ! video/x-raw,format=RGB ! queue ! mixer.
                      ```
                    </Step>
                  </Steps>
                </Accordion>

                <Accordion title="🟢 W8A8 — Model Precision">
                  <Steps>
                    <Step title="Download Required Files">
                      | File                                                                                                                                                   | Save as                       |
                      | ------------------------------------------------------------------------------------------------------------------------------------------------------ | ----------------------------- |
                      | [Model](https://aihub.qualcomm.com/iot/models/quicksrnetmedium)                                                                                        | quicksrnetmedium\_w8a8.tflite |
                      | <a href="https://github.com/qualcomm/sample-apps-for-qualcomm-linux/tree/refs/heads/main/qualcomm-linux/artifacts/videos/demo_samples">Input video</a> | ai\_demo\_sample.mp4          |

                      <Note>
                        If any downloaded file is a `.zip` archive, extract it on your host machine before copying:
                        `unzip filename.zip`
                      </Note>
                    </Step>

                    <Step title="Copy Files to Device">
                      <CodeGroup>
                        ```bash SCP (SSH) theme={null}
                        # Replace $HOME to the appropriate device path before running the commands.
                        # For QLI:    /root
                        # For Ubuntu: /home/ubuntu
                        # Modify this based on your platform and ensure files are copied to the correct location on the device.

                        ssh <user>@<device-ip> "mkdir -p $HOME/{models,media,media/output}"
                        scp quicksrnetmedium_w8a8.tflite     <user>@<device-ip>:$HOME/models/
                        scp ai_demo_sample.mp4  <user>@<device-ip>:$HOME/media/
                        ```
                      </CodeGroup>
                    </Step>

                    <Step title="Connect to device">
                      <CodeGroup>
                        ```bash SCP (SSH) theme={null}
                        # Run from your host machine — replace <user> and <device-ip>
                        ssh <user>@<device-ip>
                        ```
                      </CodeGroup>
                    </Step>

                    <Step title="Set Environment Variables">
                      ```bash Qualcomm Linux theme={null}
                      export MODEL_NAME=quicksrnetmedium_w8a8.tflite
                      export SRC_VIDEO_NAME=ai_demo_sample.mp4
                      ```
                    </Step>

                    <Step title="Run the Pipeline">
                      ```bash theme={null}
                      gst-launch-1.0 -e --gst-debug=2 \
                      filesrc location=$HOME/media/$SRC_VIDEO_NAME ! qtdemux ! h264parse ! \
                      v4l2h264dec capture-io-mode=4 output-io-mode=4 ! video/x-raw,format=NV12 ! queue ! \
                      tee name=t \
                      t. ! queue ! qtivcomposer name=mixer sink_0::position="<0, 0>" sink_0::dimensions="<960, 1080>" sink_1::position="<960, 0>" sink_1::dimensions="<960, 1080>" ! queue ! waylandsink fullscreen=true sync=true \
                      t. ! qtimlvconverter ! queue ! \
                      qtimltflite model=$HOME/models/$MODEL_NAME delegate=external external-delegate-path=libQnnTFLiteDelegate.so external-delegate-options="QNNExternalDelegate,backend_type=htp,log_level=(string)1;" ! queue ! \
                      qtimlpostprocess module=srnet ! video/x-raw,format=RGB ! queue ! mixer.
                      ```
                    </Step>
                  </Steps>
                </Accordion>
              </Accordion>
            </td>
          </tr>

          <tr>
            <td rowSpan={2} style={{border:"1px solid #e2e8f0",padding:"8px",textAlign:"center",verticalAlign:"middle",width:"40px"}}>3</td>
            <td style={{border:"1px solid #e2e8f0",padding:"8px",textAlign:"left",verticalAlign:"middle",width:"180px"}}><a href="https://aihub.qualcomm.com/iot/models/quicksrnetsmall?searchTerm=SR" target="_blank" style={{color:"#3253DC",fontWeight:600}}>QuickSRNetSmall</a></td>
            <td style={{border:"1px solid #e2e8f0",padding:"8px",color:"#555",fontSize:"0.82rem",verticalAlign:"middle"}}>Lightweight super-resolution for real-time edge deployment.</td>
          </tr>

          <tr>
            <td colSpan={2} style={{border:"1px solid #e2e8f0",padding:"4px",verticalAlign:"top",width:"100%"}}>
              {/* yaml_id: 107 */}

              <Accordion title="Steps to Run on QIMSDK">
                <Accordion title="🟡 Float32 - Model Precision">
                  <Steps>
                    <Step title="Download Required Files">
                      | File                                                                                                                                                   | Save as                       |
                      | ------------------------------------------------------------------------------------------------------------------------------------------------------ | ----------------------------- |
                      | [Model](https://aihub.qualcomm.com/iot/models/quicksrnetsmall)                                                                                         | quicksrnetsmall\_float.tflite |
                      | <a href="https://github.com/qualcomm/sample-apps-for-qualcomm-linux/tree/refs/heads/main/qualcomm-linux/artifacts/videos/demo_samples">Input video</a> | ai\_demo\_sample.mp4          |

                      <Note>
                        If any downloaded file is a `.zip` archive, extract it on your host machine before copying:
                        `unzip filename.zip`
                      </Note>
                    </Step>

                    <Step title="Copy Files to Device">
                      <CodeGroup>
                        ```bash SCP (SSH) theme={null}
                        # Replace $HOME to the appropriate device path before running the commands.
                        # For QLI:    /root
                        # For Ubuntu: /home/ubuntu
                        # Modify this based on your platform and ensure files are copied to the correct location on the device.

                        ssh <user>@<device-ip> "mkdir -p $HOME/{models,media,media/output}"
                        scp quicksrnetsmall_float.tflite     <user>@<device-ip>:$HOME/models/
                        scp ai_demo_sample.mp4  <user>@<device-ip>:$HOME/media/
                        ```
                      </CodeGroup>
                    </Step>

                    <Step title="Connect to device">
                      <CodeGroup>
                        ```bash SCP (SSH) theme={null}
                        # Run from your host machine — replace <user> and <device-ip>
                        ssh <user>@<device-ip>
                        ```
                      </CodeGroup>
                    </Step>

                    <Step title="Set Environment Variables">
                      ```bash Qualcomm Linux theme={null}
                      export MODEL_NAME=quicksrnetsmall_float.tflite
                      export SRC_VIDEO_NAME=ai_demo_sample.mp4
                      ```
                    </Step>

                    <Step title="Run the Pipeline">
                      ```bash theme={null}
                      gst-launch-1.0 -e --gst-debug=2 \
                      filesrc location=$HOME/media/$SRC_VIDEO_NAME ! qtdemux ! h264parse ! \
                      v4l2h264dec capture-io-mode=4 output-io-mode=4 ! video/x-raw,format=NV12 ! queue ! \
                      tee name=t \
                      t. ! queue ! qtivcomposer name=mixer sink_0::position="<0, 0>" sink_0::dimensions="<960, 1080>" sink_1::position="<960, 0>" sink_1::dimensions="<960, 1080>" ! queue ! waylandsink fullscreen=true sync=true \
                      t. ! qtimlvconverter ! queue ! \
                      qtimltflite model=$HOME/models/$MODEL_NAME delegate=gpu ! queue ! \
                      qtimlpostprocess module=srnet ! video/x-raw,format=RGB ! queue ! mixer.
                      ```
                    </Step>
                  </Steps>
                </Accordion>

                <Accordion title="🟢 W8A8 — Model Precision">
                  <Steps>
                    <Step title="Download Required Files">
                      | File                                                                                                                                                   | Save as                      |
                      | ------------------------------------------------------------------------------------------------------------------------------------------------------ | ---------------------------- |
                      | [Model](https://aihub.qualcomm.com/iot/models/quicksrnetsmall)                                                                                         | quicksrnetsmall\_w8a8.tflite |
                      | <a href="https://github.com/qualcomm/sample-apps-for-qualcomm-linux/tree/refs/heads/main/qualcomm-linux/artifacts/videos/demo_samples">Input video</a> | ai\_demo\_sample.mp4         |

                      <Note>
                        If any downloaded file is a `.zip` archive, extract it on your host machine before copying:
                        `unzip filename.zip`
                      </Note>
                    </Step>

                    <Step title="Copy Files to Device">
                      <CodeGroup>
                        ```bash SCP (SSH) theme={null}
                        # Replace $HOME to the appropriate device path before running the commands.
                        # For QLI:    /root
                        # For Ubuntu: /home/ubuntu
                        # Modify this based on your platform and ensure files are copied to the correct location on the device.

                        ssh <user>@<device-ip> "mkdir -p $HOME/{models,media,media/output}"
                        scp quicksrnetsmall_w8a8.tflite      <user>@<device-ip>:$HOME/models/
                        scp ai_demo_sample.mp4  <user>@<device-ip>:$HOME/media/
                        ```
                      </CodeGroup>
                    </Step>

                    <Step title="Connect to device">
                      <CodeGroup>
                        ```bash SCP (SSH) theme={null}
                        # Run from your host machine — replace <user> and <device-ip>
                        ssh <user>@<device-ip>
                        ```
                      </CodeGroup>
                    </Step>

                    <Step title="Set Environment Variables">
                      ```bash Qualcomm Linux theme={null}
                      export MODEL_NAME=quicksrnetsmall_w8a8.tflite
                      export SRC_VIDEO_NAME=ai_demo_sample.mp4
                      ```
                    </Step>

                    <Step title="Run the Pipeline">
                      ```bash theme={null}
                      gst-launch-1.0 -e --gst-debug=2 \
                      filesrc location=$HOME/media/$SRC_VIDEO_NAME ! qtdemux ! h264parse ! \
                      v4l2h264dec capture-io-mode=4 output-io-mode=4 ! video/x-raw,format=NV12 ! queue ! \
                      tee name=t \
                      t. ! queue ! qtivcomposer name=mixer sink_0::position="<0, 0>" sink_0::dimensions="<960, 1080>" sink_1::position="<960, 0>" sink_1::dimensions="<960, 1080>" ! queue ! waylandsink fullscreen=true sync=true \
                      t. ! qtimlvconverter ! queue ! \
                      qtimltflite model=$HOME/models/$MODEL_NAME delegate=external external-delegate-path=libQnnTFLiteDelegate.so external-delegate-options="QNNExternalDelegate,backend_type=htp,log_level=(string)1;" ! queue ! \
                      qtimlpostprocess module=srnet ! video/x-raw,format=RGB ! queue ! mixer.
                      ```
                    </Step>
                  </Steps>
                </Accordion>
              </Accordion>
            </td>
          </tr>

          <tr>
            <td rowSpan={2} style={{border:"1px solid #e2e8f0",padding:"8px",textAlign:"center",verticalAlign:"middle",width:"40px"}}>4</td>
            <td style={{border:"1px solid #e2e8f0",padding:"8px",textAlign:"left",verticalAlign:"middle",width:"180px"}}><a href="https://aihub.qualcomm.com/iot/models/xlsr?searchTerm=XLSR" target="_blank" style={{color:"#3253DC",fontWeight:600}}>XLSR</a></td>
            <td style={{border:"1px solid #e2e8f0",padding:"8px",color:"#555",fontSize:"0.82rem",verticalAlign:"middle"}}>Extreme lightweight super-resolution for mobile devices.</td>
          </tr>

          <tr>
            <td colSpan={2} style={{border:"1px solid #e2e8f0",padding:"4px",verticalAlign:"top",width:"100%"}}>
              {/* yaml_id: 109 */}

              <Accordion title="Steps to Run on QIMSDK">
                <Accordion title="🟡 Float32 - Model Precision">
                  <Steps>
                    <Step title="Download Required Files">
                      | File                                                                                                                                                   | Save as              |
                      | ------------------------------------------------------------------------------------------------------------------------------------------------------ | -------------------- |
                      | [Model](https://aihub.qualcomm.com/iot/models/xlsr)                                                                                                    | xlsr\_float.tflite   |
                      | <a href="https://github.com/qualcomm/sample-apps-for-qualcomm-linux/tree/refs/heads/main/qualcomm-linux/artifacts/videos/demo_samples">Input video</a> | ai\_demo\_sample.mp4 |

                      <Note>
                        If any downloaded file is a `.zip` archive, extract it on your host machine before copying:
                        `unzip filename.zip`
                      </Note>
                    </Step>

                    <Step title="Copy Files to Device">
                      <CodeGroup>
                        ```bash SCP (SSH) theme={null}
                        # Replace $HOME to the appropriate device path before running the commands.
                        # For QLI:    /root
                        # For Ubuntu: /home/ubuntu
                        # Modify this based on your platform and ensure files are copied to the correct location on the device.

                        ssh <user>@<device-ip> "mkdir -p $HOME/{models,media,media/output}"
                        scp xlsr_float.tflite                <user>@<device-ip>:$HOME/models/
                        scp ai_demo_sample.mp4  <user>@<device-ip>:$HOME/media/
                        ```
                      </CodeGroup>
                    </Step>

                    <Step title="Connect to device">
                      <CodeGroup>
                        ```bash SCP (SSH) theme={null}
                        # Run from your host machine — replace <user> and <device-ip>
                        ssh <user>@<device-ip>
                        ```
                      </CodeGroup>
                    </Step>

                    <Step title="Set Environment Variables">
                      ```bash Qualcomm Linux theme={null}
                      export MODEL_NAME=xlsr_float.tflite
                      export SRC_VIDEO_NAME=ai_demo_sample.mp4
                      ```
                    </Step>

                    <Step title="Run the Pipeline">
                      ```bash theme={null}
                      gst-launch-1.0 -e --gst-debug=2 \
                      filesrc location=$HOME/media/$SRC_VIDEO_NAME ! qtdemux ! h264parse ! \
                      v4l2h264dec capture-io-mode=4 output-io-mode=4 ! video/x-raw,format=NV12 ! queue ! \
                      tee name=t \
                      t. ! queue ! qtivcomposer name=mixer sink_0::position="<0, 0>" sink_0::dimensions="<960, 1080>" sink_1::position="<960, 0>" sink_1::dimensions="<960, 1080>" ! queue ! waylandsink fullscreen=true sync=true \
                      t. ! qtimlvconverter ! queue ! \
                      qtimltflite model=$HOME/models/$MODEL_NAME delegate=gpu ! queue ! \
                      qtimlpostprocess module=srnet ! video/x-raw,format=RGB ! queue ! mixer.
                      ```
                    </Step>
                  </Steps>
                </Accordion>

                <Accordion title="🟢 W8A8 — Model Precision">
                  <Steps>
                    <Step title="Download Required Files">
                      | File                                                                                                                                                   | Save as              |
                      | ------------------------------------------------------------------------------------------------------------------------------------------------------ | -------------------- |
                      | [Model](https://aihub.qualcomm.com/iot/models/xlsr)                                                                                                    | xlsr\_w8a8.tflite    |
                      | <a href="https://github.com/qualcomm/sample-apps-for-qualcomm-linux/tree/refs/heads/main/qualcomm-linux/artifacts/videos/demo_samples">Input video</a> | ai\_demo\_sample.mp4 |

                      <Note>
                        If any downloaded file is a `.zip` archive, extract it on your host machine before copying:
                        `unzip filename.zip`
                      </Note>
                    </Step>

                    <Step title="Copy Files to Device">
                      <CodeGroup>
                        ```bash SCP (SSH) theme={null}
                        # Replace $HOME to the appropriate device path before running the commands.
                        # For QLI:    /root
                        # For Ubuntu: /home/ubuntu
                        # Modify this based on your platform and ensure files are copied to the correct location on the device.

                        ssh <user>@<device-ip> "mkdir -p $HOME/{models,media,media/output}"
                        scp xlsr_w8a8.tflite                 <user>@<device-ip>:$HOME/models/
                        scp ai_demo_sample.mp4  <user>@<device-ip>:$HOME/media/
                        ```
                      </CodeGroup>
                    </Step>

                    <Step title="Connect to device">
                      <CodeGroup>
                        ```bash SCP (SSH) theme={null}
                        # Run from your host machine — replace <user> and <device-ip>
                        ssh <user>@<device-ip>
                        ```
                      </CodeGroup>
                    </Step>

                    <Step title="Set Environment Variables">
                      ```bash Qualcomm Linux theme={null}
                      export MODEL_NAME=xlsr_w8a8.tflite
                      export SRC_VIDEO_NAME=ai_demo_sample.mp4
                      ```
                    </Step>

                    <Step title="Run the Pipeline">
                      ```bash theme={null}
                      gst-launch-1.0 -e --gst-debug=2 \
                      filesrc location=$HOME/media/$SRC_VIDEO_NAME ! qtdemux ! h264parse ! \
                      v4l2h264dec capture-io-mode=4 output-io-mode=4 ! video/x-raw,format=NV12 ! queue ! \
                      tee name=t \
                      t. ! queue ! qtivcomposer name=mixer sink_0::position="<0, 0>" sink_0::dimensions="<960, 1080>" sink_1::position="<960, 0>" sink_1::dimensions="<960, 1080>" ! queue ! waylandsink fullscreen=true sync=true \
                      t. ! qtimlvconverter ! queue ! \
                      qtimltflite model=$HOME/models/$MODEL_NAME delegate=external external-delegate-path=libQnnTFLiteDelegate.so external-delegate-options="QNNExternalDelegate,backend_type=htp,log_level=(string)1;" ! queue ! \
                      qtimlpostprocess module=srnet ! video/x-raw,format=RGB ! queue ! mixer.
                      ```
                    </Step>
                  </Steps>
                </Accordion>
              </Accordion>
            </td>
          </tr>

          <tr>
            <td rowSpan={2} style={{border:"1px solid #e2e8f0",padding:"8px",textAlign:"center",verticalAlign:"middle",width:"40px"}}>5</td>
            <td style={{border:"1px solid #e2e8f0",padding:"8px",textAlign:"left",verticalAlign:"middle",width:"180px"}}><a href="https://aihub.qualcomm.com/iot/models/sesr_m5?searchTerm=SESR" target="_blank" style={{color:"#3253DC",fontWeight:600}}>SESR-M5</a></td>
            <td style={{border:"1px solid #e2e8f0",padding:"8px",color:"#555",fontSize:"0.82rem",verticalAlign:"middle"}}>Single-image efficient super-resolution, 5-block variant.</td>
          </tr>

          <tr>
            <td colSpan={2} style={{border:"1px solid #e2e8f0",padding:"4px",verticalAlign:"top",width:"100%"}}>
              {/* yaml_id: 111 */}

              <Accordion title="Steps to Run on QIMSDK">
                <Accordion title="🟡 Float32 - Model Precision">
                  <Steps>
                    <Step title="Download Required Files">
                      | File                                                                                                                                                   | Save as                |
                      | ------------------------------------------------------------------------------------------------------------------------------------------------------ | ---------------------- |
                      | [Model](https://aihub.qualcomm.com/iot/models/sesr_m5)                                                                                                 | sesr\_m5\_float.tflite |
                      | <a href="https://github.com/qualcomm/sample-apps-for-qualcomm-linux/tree/refs/heads/main/qualcomm-linux/artifacts/videos/demo_samples">Input video</a> | ai\_demo\_sample.mp4   |

                      <Note>
                        If any downloaded file is a `.zip` archive, extract it on your host machine before copying:
                        `unzip filename.zip`
                      </Note>
                    </Step>

                    <Step title="Copy Files to Device">
                      <CodeGroup>
                        ```bash SCP (SSH) theme={null}
                        # Replace $HOME to the appropriate device path before running the commands.
                        # For QLI:    /root
                        # For Ubuntu: /home/ubuntu
                        # Modify this based on your platform and ensure files are copied to the correct location on the device.

                        ssh <user>@<device-ip> "mkdir -p $HOME/{models,media,media/output}"
                        scp sesr_m5_float.tflite             <user>@<device-ip>:$HOME/models/
                        scp ai_demo_sample.mp4  <user>@<device-ip>:$HOME/media/
                        ```
                      </CodeGroup>
                    </Step>

                    <Step title="Connect to device">
                      <CodeGroup>
                        ```bash SCP (SSH) theme={null}
                        # Run from your host machine — replace <user> and <device-ip>
                        ssh <user>@<device-ip>
                        ```
                      </CodeGroup>
                    </Step>

                    <Step title="Set Environment Variables">
                      ```bash Qualcomm Linux theme={null}
                      export MODEL_NAME=sesr_m5_float.tflite
                      export SRC_VIDEO_NAME=ai_demo_sample.mp4
                      ```
                    </Step>

                    <Step title="Run the Pipeline">
                      ```bash theme={null}
                      gst-launch-1.0 -e --gst-debug=2 \
                      filesrc location=$HOME/media/$SRC_VIDEO_NAME ! qtdemux ! h264parse ! \
                      v4l2h264dec capture-io-mode=4 output-io-mode=4 ! video/x-raw,format=NV12 ! queue ! \
                      tee name=t \
                      t. ! queue ! qtivcomposer name=mixer sink_0::position="<0, 0>" sink_0::dimensions="<960, 1080>" sink_1::position="<960, 0>" sink_1::dimensions="<960, 1080>" ! queue ! waylandsink fullscreen=true sync=true \
                      t. ! qtimlvconverter ! queue ! \
                      qtimltflite model=$HOME/models/$MODEL_NAME delegate=gpu ! queue ! \
                      qtimlpostprocess module=srnet ! video/x-raw,format=RGB ! queue ! mixer.
                      ```
                    </Step>
                  </Steps>
                </Accordion>

                <Accordion title="🟢 W8A8 — Model Precision">
                  <Steps>
                    <Step title="Download Required Files">
                      | File                                                                                                                                                   | Save as               |
                      | ------------------------------------------------------------------------------------------------------------------------------------------------------ | --------------------- |
                      | [Model](https://aihub.qualcomm.com/iot/models/sesr_m5)                                                                                                 | sesr\_m5\_w8a8.tflite |
                      | <a href="https://github.com/qualcomm/sample-apps-for-qualcomm-linux/tree/refs/heads/main/qualcomm-linux/artifacts/videos/demo_samples">Input video</a> | ai\_demo\_sample.mp4  |

                      <Note>
                        If any downloaded file is a `.zip` archive, extract it on your host machine before copying:
                        `unzip filename.zip`
                      </Note>
                    </Step>

                    <Step title="Copy Files to Device">
                      <CodeGroup>
                        ```bash SCP (SSH) theme={null}
                        # Replace $HOME to the appropriate device path before running the commands.
                        # For QLI:    /root
                        # For Ubuntu: /home/ubuntu
                        # Modify this based on your platform and ensure files are copied to the correct location on the device.

                        ssh <user>@<device-ip> "mkdir -p $HOME/{models,media,media/output}"
                        scp sesr_m5_w8a8.tflite              <user>@<device-ip>:$HOME/models/
                        scp ai_demo_sample.mp4  <user>@<device-ip>:$HOME/media/
                        ```
                      </CodeGroup>
                    </Step>

                    <Step title="Connect to device">
                      <CodeGroup>
                        ```bash SCP (SSH) theme={null}
                        # Run from your host machine — replace <user> and <device-ip>
                        ssh <user>@<device-ip>
                        ```
                      </CodeGroup>
                    </Step>

                    <Step title="Set Environment Variables">
                      ```bash Qualcomm Linux theme={null}
                      export MODEL_NAME=sesr_m5_w8a8.tflite
                      export SRC_VIDEO_NAME=ai_demo_sample.mp4
                      ```
                    </Step>

                    <Step title="Run the Pipeline">
                      ```bash theme={null}
                      gst-launch-1.0 -e --gst-debug=2 \
                      filesrc location=$HOME/media/$SRC_VIDEO_NAME ! qtdemux ! h264parse ! \
                      v4l2h264dec capture-io-mode=4 output-io-mode=4 ! video/x-raw,format=NV12 ! queue ! \
                      tee name=t \
                      t. ! queue ! qtivcomposer name=mixer sink_0::position="<0, 0>" sink_0::dimensions="<960, 1080>" sink_1::position="<960, 0>" sink_1::dimensions="<960, 1080>" ! queue ! waylandsink fullscreen=true sync=true \
                      t. ! qtimlvconverter ! queue ! \
                      qtimltflite model=$HOME/models/$MODEL_NAME delegate=external external-delegate-path=libQnnTFLiteDelegate.so external-delegate-options="QNNExternalDelegate,backend_type=htp,log_level=(string)1;" ! queue ! \
                      qtimlpostprocess module=srnet ! video/x-raw,format=RGB ! queue ! mixer.
                      ```
                    </Step>
                  </Steps>
                </Accordion>
              </Accordion>
            </td>
          </tr>

          <tr>
            <td rowSpan={2} style={{border:"1px solid #e2e8f0",padding:"8px",textAlign:"center",verticalAlign:"middle",width:"40px"}}>6</td>
            <td style={{border:"1px solid #e2e8f0",padding:"8px",textAlign:"left",verticalAlign:"middle",width:"180px"}}><a href="https://aihub.qualcomm.com/iot/models/real_esrgan_general_x4v3" target="_blank" style={{color:"#3253DC",fontWeight:600}}>Real-ESRGAN-General-x4v3</a></td>
            <td style={{border:"1px solid #e2e8f0",padding:"8px",color:"#555",fontSize:"0.82rem",verticalAlign:"middle"}}>General-purpose 4x upscaling with enhanced ESRGAN training.</td>
          </tr>

          <tr>
            <td colSpan={2} style={{border:"1px solid #e2e8f0",padding:"4px",verticalAlign:"top",width:"100%"}}>
              {/* yaml_id: 131 */}

              <Accordion title="Steps to Run on QIMSDK">
                <Accordion title="🟢 W8A8 — Model Precision">
                  <Steps>
                    <Step title="Download Required Files">
                      | File                                                                                                                                                   | Save as                                  |
                      | ------------------------------------------------------------------------------------------------------------------------------------------------------ | ---------------------------------------- |
                      | [Model](https://aihub.qualcomm.com/iot/models/real_esrgan_general_x4v3)                                                                                | real\_esrgan\_general\_x4v3\_w8a8.tflite |
                      | <a href="https://github.com/qualcomm/sample-apps-for-qualcomm-linux/tree/refs/heads/main/qualcomm-linux/artifacts/videos/demo_samples">Input video</a> | ai\_demo\_sample.mp4                     |

                      <Note>
                        If any downloaded file is a `.zip` archive, extract it on your host machine before copying:
                        `unzip filename.zip`
                      </Note>
                    </Step>

                    <Step title="Copy Files to Device">
                      <CodeGroup>
                        ```bash SCP (SSH) theme={null}
                        # Replace $HOME to the appropriate device path before running the commands.
                        # For QLI:    /root
                        # For Ubuntu: /home/ubuntu
                        # Modify this based on your platform and ensure files are copied to the correct location on the device.

                        ssh <user>@<device-ip> "mkdir -p $HOME/{models,media,media/output}"
                        scp real_esrgan_general_x4v3_w8a8.tflite  <user>@<device-ip>:$HOME/models/
                        scp ai_demo_sample.mp4       <user>@<device-ip>:$HOME/media/
                        ```
                      </CodeGroup>
                    </Step>

                    <Step title="Connect to device">
                      <CodeGroup>
                        ```bash SCP (SSH) theme={null}
                        # Run from your host machine — replace <user> and <device-ip>
                        ssh <user>@<device-ip>
                        ```
                      </CodeGroup>
                    </Step>

                    <Step title="Set Environment Variables">
                      ```bash Qualcomm Linux theme={null}
                      export MODEL_NAME=real_esrgan_general_x4v3_w8a8.tflite
                      export SRC_VIDEO_NAME=ai_demo_sample.mp4
                      ```
                    </Step>

                    <Step title="Run the Pipeline">
                      ```bash theme={null}
                      gst-launch-1.0 -e --gst-debug=2 \
                      filesrc location=$HOME/media/$SRC_VIDEO_NAME ! qtdemux ! h264parse ! \
                      v4l2h264dec capture-io-mode=4 output-io-mode=4 ! video/x-raw,format=NV12 ! queue ! \
                      tee name=t \
                      t. ! queue ! qtivcomposer name=mixer sink_0::position="<0, 0>" sink_0::dimensions="<960, 1080>" sink_1::position="<960, 0>" sink_1::dimensions="<960, 1080>" ! queue ! waylandsink fullscreen=true sync=true \
                      t. ! qtimlvconverter ! queue ! \
                      qtimltflite model=$HOME/models/$MODEL_NAME delegate=external external-delegate-path=libQnnTFLiteDelegate.so external-delegate-options="QNNExternalDelegate,backend_type=htp,log_level=(string)1;" ! queue ! \
                      qtimlpostprocess module=srnet ! video/x-raw,format=RGB ! queue ! mixer.
                      ```
                    </Step>
                  </Steps>
                </Accordion>

                <Accordion title="🟡 Float32 - Model Precision">
                  <Steps>
                    <Step title="Download Required Files">
                      | File                                                                                                                                                   | Save as                                   |
                      | ------------------------------------------------------------------------------------------------------------------------------------------------------ | ----------------------------------------- |
                      | [Model](https://aihub.qualcomm.com/iot/models/real_esrgan_general_x4v3)                                                                                | real\_esrgan\_general\_x4v3\_float.tflite |
                      | <a href="https://github.com/qualcomm/sample-apps-for-qualcomm-linux/tree/refs/heads/main/qualcomm-linux/artifacts/videos/demo_samples">Input video</a> | ai\_demo\_sample.mp4                      |

                      <Note>
                        If any downloaded file is a `.zip` archive, extract it on your host machine before copying:
                        `unzip filename.zip`
                      </Note>
                    </Step>

                    <Step title="Copy Files to Device">
                      <CodeGroup>
                        ```bash SCP (SSH) theme={null}
                        # Replace $HOME to the appropriate device path before running the commands.
                        # For QLI:    /root
                        # For Ubuntu: /home/ubuntu
                        # Modify this based on your platform and ensure files are copied to the correct location on the device.

                        ssh <user>@<device-ip> "mkdir -p $HOME/{models,media,media/output}"
                        scp real_esrgan_general_x4v3_float.tflite  <user>@<device-ip>:$HOME/models/
                        scp ai_demo_sample.mp4        <user>@<device-ip>:$HOME/media/
                        ```
                      </CodeGroup>
                    </Step>

                    <Step title="Connect to device">
                      <CodeGroup>
                        ```bash SCP (SSH) theme={null}
                        # Run from your host machine — replace <user> and <device-ip>
                        ssh <user>@<device-ip>
                        ```
                      </CodeGroup>
                    </Step>

                    <Step title="Set Environment Variables">
                      ```bash Qualcomm Linux theme={null}
                      export MODEL_NAME=real_esrgan_general_x4v3_float.tflite
                      export SRC_VIDEO_NAME=ai_demo_sample.mp4
                      ```
                    </Step>

                    <Step title="Run the Pipeline">
                      ```bash theme={null}
                      gst-launch-1.0 -e --gst-debug=2 \
                      filesrc location=$HOME/media/$SRC_VIDEO_NAME ! qtdemux ! h264parse ! \
                      v4l2h264dec capture-io-mode=4 output-io-mode=4 ! video/x-raw,format=NV12 ! queue ! \
                      tee name=t \
                      t. ! queue ! qtivcomposer name=mixer sink_0::position="<0, 0>" sink_0::dimensions="<960, 1080>" sink_1::position="<960, 0>" sink_1::dimensions="<960, 1080>" ! queue ! waylandsink fullscreen=true sync=true \
                      t. ! qtimlvconverter ! queue ! \
                      qtimltflite model=$HOME/models/$MODEL_NAME delegate=gpu ! queue ! \
                      qtimlpostprocess module=srnet ! video/x-raw,format=RGB ! queue ! mixer.
                      ```
                    </Step>
                  </Steps>
                </Accordion>
              </Accordion>
            </td>
          </tr>

          <tr>
            <td rowSpan={2} style={{border:"1px solid #e2e8f0",padding:"8px",textAlign:"center",verticalAlign:"middle",width:"40px"}}>7</td>
            <td style={{border:"1px solid #e2e8f0",padding:"8px",textAlign:"left",verticalAlign:"middle",width:"180px"}}><a href="https://aihub.qualcomm.com/iot/models/real_esrgan_x4plus" target="_blank" style={{color:"#3253DC",fontWeight:600}}>Real-ESRGAN-x4plus</a></td>
            <td style={{border:"1px solid #e2e8f0",padding:"8px",color:"#555",fontSize:"0.82rem",verticalAlign:"middle"}}>Photo-realistic 4x super-resolution for natural images.</td>
          </tr>

          <tr>
            <td colSpan={2} style={{border:"1px solid #e2e8f0",padding:"4px",verticalAlign:"top",width:"100%"}}>
              {/* yaml_id: 133 */}

              <Accordion title="Steps to Run on QIMSDK">
                <Accordion title="🟢 W8A8 — Model Precision">
                  <Steps>
                    <Step title="Download Required Files">
                      | File                                                                                                                                                   | Save as                           |
                      | ------------------------------------------------------------------------------------------------------------------------------------------------------ | --------------------------------- |
                      | [Model](https://aihub.qualcomm.com/iot/models/real_esrgan_x4plus)                                                                                      | real\_esrgan\_x4plus\_w8a8.tflite |
                      | <a href="https://github.com/qualcomm/sample-apps-for-qualcomm-linux/tree/refs/heads/main/qualcomm-linux/artifacts/videos/demo_samples">Input video</a> | ai\_demo\_sample.mp4              |

                      <Note>
                        If any downloaded file is a `.zip` archive, extract it on your host machine before copying:
                        `unzip filename.zip`
                      </Note>
                    </Step>

                    <Step title="Copy Files to Device">
                      <CodeGroup>
                        ```bash SCP (SSH) theme={null}
                        # Replace $HOME to the appropriate device path before running the commands.
                        # For QLI:    /root
                        # For Ubuntu: /home/ubuntu
                        # Modify this based on your platform and ensure files are copied to the correct location on the device.

                        ssh <user>@<device-ip> "mkdir -p $HOME/{models,media,media/output}"
                        scp real_esrgan_x4plus_w8a8.tflite   <user>@<device-ip>:$HOME/models/
                        scp ai_demo_sample.mp4  <user>@<device-ip>:$HOME/media/
                        ```
                      </CodeGroup>
                    </Step>

                    <Step title="Connect to device">
                      <CodeGroup>
                        ```bash SCP (SSH) theme={null}
                        # Run from your host machine — replace <user> and <device-ip>
                        ssh <user>@<device-ip>
                        ```
                      </CodeGroup>
                    </Step>

                    <Step title="Set Environment Variables">
                      ```bash Qualcomm Linux theme={null}
                      export MODEL_NAME=real_esrgan_x4plus_w8a8.tflite
                      export SRC_VIDEO_NAME=ai_demo_sample.mp4
                      ```
                    </Step>

                    <Step title="Run the Pipeline">
                      ```bash theme={null}
                      gst-launch-1.0 -e --gst-debug=2 \
                      filesrc location=$HOME/media/$SRC_VIDEO_NAME ! qtdemux ! h264parse ! \
                      v4l2h264dec capture-io-mode=4 output-io-mode=4 ! video/x-raw,format=NV12 ! queue ! \
                      tee name=t \
                      t. ! queue ! qtivcomposer name=mixer sink_0::position="<0, 0>" sink_0::dimensions="<960, 1080>" sink_1::position="<960, 0>" sink_1::dimensions="<960, 1080>" ! queue ! waylandsink fullscreen=true sync=true \
                      t. ! qtimlvconverter ! queue ! \
                      qtimltflite model=$HOME/models/$MODEL_NAME delegate=external external-delegate-path=libQnnTFLiteDelegate.so external-delegate-options="QNNExternalDelegate,backend_type=htp,log_level=(string)1;" ! queue ! \
                      qtimlpostprocess module=srnet ! video/x-raw,format=RGB ! queue ! mixer.
                      ```
                    </Step>
                  </Steps>
                </Accordion>

                <Accordion title="🟡 Float32 - Model Precision">
                  <Steps>
                    <Step title="Download Required Files">
                      | File                                                                                                                                                   | Save as                            |
                      | ------------------------------------------------------------------------------------------------------------------------------------------------------ | ---------------------------------- |
                      | [Model](https://aihub.qualcomm.com/iot/models/real_esrgan_x4plus)                                                                                      | real\_esrgan\_x4plus\_float.tflite |
                      | <a href="https://github.com/qualcomm/sample-apps-for-qualcomm-linux/tree/refs/heads/main/qualcomm-linux/artifacts/videos/demo_samples">Input video</a> | ai\_demo\_sample.mp4               |

                      <Note>
                        If any downloaded file is a `.zip` archive, extract it on your host machine before copying:
                        `unzip filename.zip`
                      </Note>
                    </Step>

                    <Step title="Copy Files to Device">
                      <CodeGroup>
                        ```bash SCP (SSH) theme={null}
                        # Replace $HOME to the appropriate device path before running the commands.
                        # For QLI:    /root
                        # For Ubuntu: /home/ubuntu
                        # Modify this based on your platform and ensure files are copied to the correct location on the device.

                        ssh <user>@<device-ip> "mkdir -p $HOME/{models,media,media/output}"
                        scp real_esrgan_x4plus_float.tflite  <user>@<device-ip>:$HOME/models/
                        scp ai_demo_sample.mp4  <user>@<device-ip>:$HOME/media/
                        ```
                      </CodeGroup>
                    </Step>

                    <Step title="Connect to device">
                      <CodeGroup>
                        ```bash SCP (SSH) theme={null}
                        # Run from your host machine — replace <user> and <device-ip>
                        ssh <user>@<device-ip>
                        ```
                      </CodeGroup>
                    </Step>

                    <Step title="Set Environment Variables">
                      ```bash Qualcomm Linux theme={null}
                      export MODEL_NAME=real_esrgan_x4plus_float.tflite
                      export SRC_VIDEO_NAME=ai_demo_sample.mp4
                      ```
                    </Step>

                    <Step title="Run the Pipeline">
                      ```bash theme={null}
                      gst-launch-1.0 -e --gst-debug=2 \
                      filesrc location=$HOME/media/$SRC_VIDEO_NAME ! qtdemux ! h264parse ! \
                      v4l2h264dec capture-io-mode=4 output-io-mode=4 ! video/x-raw,format=NV12 ! queue ! \
                      tee name=t \
                      t. ! queue ! qtivcomposer name=mixer sink_0::position="<0, 0>" sink_0::dimensions="<960, 1080>" sink_1::position="<960, 0>" sink_1::dimensions="<960, 1080>" ! queue ! waylandsink fullscreen=true sync=true \
                      t. ! qtimlvconverter ! queue ! \
                      qtimltflite model=$HOME/models/$MODEL_NAME delegate=gpu ! queue ! \
                      qtimlpostprocess module=srnet ! video/x-raw,format=RGB ! queue ! mixer.
                      ```
                    </Step>
                  </Steps>
                </Accordion>
              </Accordion>
            </td>
          </tr>

          <tr>
            <td rowSpan={2} style={{border:"1px solid #e2e8f0",padding:"8px",textAlign:"center",verticalAlign:"middle",width:"40px"}}>8</td>
            <td style={{border:"1px solid #e2e8f0",padding:"8px",textAlign:"left",verticalAlign:"middle",width:"180px"}}><a href="https://aihub.qualcomm.com/iot/models/esrgan" target="_blank" style={{color:"#3253DC",fontWeight:600}}>ESRGAN</a></td>
            <td style={{border:"1px solid #e2e8f0",padding:"8px",color:"#555",fontSize:"0.82rem",verticalAlign:"middle"}}>Enhanced super-resolution GAN for high-perceptual quality output.</td>
          </tr>

          <tr>
            <td colSpan={2} style={{border:"1px solid #e2e8f0",padding:"4px",verticalAlign:"top",width:"100%"}}>
              <Accordion title="Steps to Run on QIMSDK">
                <Accordion title="🟡 Float32 - Model Precision">
                  <Steps>
                    <Step title="Download Required Files">
                      | File                                                                                                                                                   | Save as              |
                      | ------------------------------------------------------------------------------------------------------------------------------------------------------ | -------------------- |
                      | [Model](https://aihub.qualcomm.com/iot/models/esrgan)                                                                                                  | esrgan\_float.tflite |
                      | <a href="https://github.com/qualcomm/sample-apps-for-qualcomm-linux/tree/refs/heads/main/qualcomm-linux/artifacts/videos/demo_samples">Input video</a> | ai\_demo\_sample.mp4 |

                      <Note>
                        If any downloaded file is a `.zip` archive, extract it on your host machine before copying:
                        `unzip filename.zip`
                      </Note>
                    </Step>

                    <Step title="Copy Files to Device">
                      <CodeGroup>
                        ```bash SCP (SSH) theme={null}
                        # Replace $HOME to the appropriate device path before running the commands.
                        # For QLI:    /root
                        # For Ubuntu: /home/ubuntu
                        # Modify this based on your platform and ensure files are copied to the correct location on the device.

                        ssh <user>@<device-ip> "mkdir -p $HOME/{models,media,media/output}"
                        scp esrgan_float.tflite              <user>@<device-ip>:$HOME/models/
                        scp ai_demo_sample.mp4  <user>@<device-ip>:$HOME/media/
                        ```
                      </CodeGroup>
                    </Step>

                    <Step title="Connect to device">
                      <CodeGroup>
                        ```bash SCP (SSH) theme={null}
                        # Run from your host machine — replace <user> and <device-ip>
                        ssh <user>@<device-ip>
                        ```
                      </CodeGroup>
                    </Step>

                    <Step title="Set Environment Variables">
                      ```bash Qualcomm Linux theme={null}
                      export MODEL_NAME=esrgan_float.tflite
                      export SRC_VIDEO_NAME=ai_demo_sample.mp4
                      ```
                    </Step>

                    <Step title="Run the Pipeline">
                      ```bash theme={null}
                      gst-launch-1.0 -e --gst-debug=2 \
                      filesrc location=$HOME/media/$SRC_VIDEO_NAME ! qtdemux ! h264parse ! \
                      v4l2h264dec capture-io-mode=4 output-io-mode=4 ! video/x-raw,format=NV12 ! queue ! \
                      tee name=t \
                      t. ! queue ! qtivcomposer name=mixer sink_0::position="<0, 0>" sink_0::dimensions="<960, 1080>" sink_1::position="<960, 0>" sink_1::dimensions="<960, 1080>" ! queue ! waylandsink fullscreen=true sync=true \
                      t. ! qtimlvconverter ! queue ! \
                      qtimltflite model=$HOME/models/$MODEL_NAME delegate=gpu ! queue ! \
                      qtimlpostprocess module=srnet ! video/x-raw,format=RGB ! queue ! mixer.
                      ```
                    </Step>
                  </Steps>
                </Accordion>
              </Accordion>
            </td>
          </tr>
        </tbody>
      </table>
    </div>
  </Tab>
</Tabs>
