Open-Q 610 µSOM AI Demo

The Qualcomm® QCS610 SoC is designed with powerful capabilities for running on-device AI, and a comprehensive AI SW stack that covers each layer of application development. (see OnQ blog post).

Lantronix Open-Q 610 Dev Kit

Lantronix's Open-Q 610 µSOM Dev Kit allows developers to get started quickly and easily with vision AI applications. The development kit comes with SW and camera accessories to demonstrate the built-in AI framework and fast-track new product development.

The main objective of this project is to demonstrate the ease with which users can get started on vision AI projects with the QCS610 SoC and Linux AI software stack, with the Lantronix Open-Q 610 µSOM Dev Kit and accessories.

Part nameLink to Purchase
Open-Q 610 µSOM Dev Kit
Open-Q 13MP IMX258 Camera (2)
Open-Q LCD – Dev Kit Mount
USB Type-C to Type-A cableFor ADB Connection to PC
Demo shell scripts Kit purchase and registration required)
Resource TitleLink or File Name (and provide file)
Open-Q 610 µSOM Dev Kit docs Kit purchase and registration required)
QCS610/QCS410 Linux Platform Development Kit Quick Start Guide

Lantronix recently introduced the Open-Q 610 µSOM and Development Kit, based on the QCS610 system-on-chip (SoC), and this project provides detailed instructions on how to install and run a couple of demos to show off the powerful capabilities of the platform out of the box. The QCS610 is built specifically for advanced IoT vision intelligence applications, with exceptional power and thermal efficiency, advanced image signal processors, digital signal processor, connectivity, and security. The QCS610 platform is designed to support the following key capabilities:

  • Multiple options for AI inference engines
  • Heterogeneous computing (CPU/GPU/DSP) for on-device machine learning
  • Dual ISPs and 4K ultra-HD video
  • RTSP streaming and effortless connectivity using Wi-Fi or native Ethernet interface.

The platform SW is a Linux release based on Yocto Thud (v2.6) with built-in support for the GStreamer multimedia framework, including GStreamer elements for control of QCS610 specific features, such as camera source, HW encoders and decoders, Wayland display sink, and various AI-specific elements.

As described in the blog post, On-device AI with Developer-ready SW Stacks, the QCS610 includes powerful AI capabilities, right out the box. Combining this full-featured SW with the Lantronix Open-Q 610 µSOM Dev Kit and available camera and display accessories allows for the demonstration of the AI framework with minimal effort.

This project explains how to set up the Open-Q 610 µSOM Dev Kit with camera and LCD accessories, how to connect it to your network, and how to run a couple of GStreamer demos to show how easy it is to get started with multimedia and AI use-cases on the Open-Q 610 µSOM Dev Kit.

Setup and Demo Instructions

1. Prerequisites

  • Lantronix Open-Q 610 µSOM Development Kit with the OpenQ-610_Linux-v1.1 software release installed.
  • A PC with ADB utilities installed (either Windows or Linux)
  • A PC, phone, or other device with VLC video player installed (
2. HW Setup:
  • Connect the two camera accessories to the dev kit CAM1 and CAM2 connectors
  • Connect the USB cable between the Type-C connector on the dev kit to your PC
  • Connect the 12V power adapter to the dev kit

See Figure 1 below for a picture of the setup with Dev Kit, LCD, two cameras, and a Linux PC for the ADB connection.

Figure 1: Demo Setup with Two Cameras Attached

3. Connect with ADB and prepare target filesystem:

Assuming you are starting with a new Open-Q 610 dev kit with freshly installed OS SW (either fresh from the factory or if you have reinstalled it), a few steps are required before we can copy files to it or make other changes:

  • Confirm that you can connect to the Open-Q 610 dev kit with ADB – should list the serial number of the SOM on your dev kit:
  • $ adb devices
    List of devices attached
    085300001 device
  • Next, a few steps are required to disable DM-Verity security (this must be done only once on a freshly installed OS):
  • $ adb root
    $ adb disable-verity
    Slot is _a
    Verity disabled on /
    Now reboot your device for settings to take effect
    $ adb reboot
  • After it has rebooted, remount the target filesystem as read-write so that you can copy files to it:
  • $ adb shell
    / # mount -o rw,remount /
    / # exit
  • Now it’s ready to copy files from your PC onto the target device.
4. Copy required scripts to target device

Four shell scripts are used for this project and they are available online from the Lantronix Open-Q 610 Tech Portal at:

  • After downloading and unzipping these scripts, you should see the following files:
  • Copy these four files onto the Open-Q 610 dev kit:
  • $ adb push /home/root/
    $ adb …
  • Do the same for all four files.
  • Now make these files executable on the target device:
  • $ adb shell
    / # cd /home/root
    / # chmod 755
    / # chmod 755 …

Do the same for all four files.
Once you have copied over the required scripts to the target device, you are ready to setup Wi-Fi, LCD and run the sample apps.

5. Wi-Fi Setup:
  • Open an adb shell on your PC:
  • $ adb shell
    / #
  • Edit the wpa_supplicant.conf file to correspond to your Wi-Fi access point SSID and passphrase, then save it.
  • / # vi /etc/misc/wifi/wpa_supplicant.conf

  • Next, run the Wi-Fi initialization script to connect to your access point and start the dhcp client:
  • / # cd /home/root
    ~ # ./
  • You should see something like this (details will depend on your specific Wi-Fi access point):
  • Successfully initialized wpa_supplicant
    udhcpc: started v1.29.3
    udhcpc: sending discover
    udhcpc: sending discover
    udhcpc: sending select for
    udhcpc: lease of obtained, lease time 86400
    /etc/udhcpc.d/50default: Adding DNS
    ~ #
6. Display Initialization:
  • To start the LCD display run the script to initialize the Weston display server
  • ~ # ./
  • After a lot of messages in the terminal you should finally see this message at the bottom and see the LCD panel change from black to a gray pattern.
  • Create output successful
    Disable tool bar
    ~ #
7. Dual Camera Preview on LCD:

Now that the basics are initialized, we can demonstrate a dual concurrent camera use-case that uses a gstreamer pipeline to stream video from each camera, combine them into one stream using the qtivcomposer gstreamer plugin, and then display the combined video on the LCD panel.

Figure below shows a flow chart of the gstreamer pipeline created by this script.

Figure 2: Dual Camera Preview Flowchart

  • Start the demo by running the script:
  • ~ # ./
  • After a few seconds and a bunch of messages in the terminal you should see two images (one from each camera) side-by-side on the LCD.
  • Stop the script with Control-C
  • See 3 below for the expected result.

Figure 3: Dual Camera Preview Display on LCD

8. Dual Camera TensorFlow Lite Streaming Demo:

Taking things a few steps further, the next demo is designed to take the video streams from the two cameras, runs them through a TensorFlow Lite live camera inferencing model, adds object boxes and labels, combines the two video streams into one, and streams the result over the network via rtsp. The resulting stream can be viewed using the VLC video player on another device connected to the network.

Figure below shows a flow chart of the gstreamer pipeline created by this script.

Figure 4: Dual Cam TF-Lite Flowchart

  • This demo uses an example TF-Lite model from Google ( First, download the model files and copy them onto the Qpen-Q 610 dev kit.
  • Download the coco ssd mobilenet model onto your PC from here:
  • Unzip
  • Copy the model and labels files onto the target device:
  • adb push detect.tflite /data/misc/camera/.
    adb push labelmap.txt /data/misc/camera/.
  • Now start the demo script to set up the gstreamer pipeline and start streaming. It will stream at the IP address of your Wi-Fi interface on port 8900.
  • $ adb shell
    / # cd /home/root
    ~ # ./
    Ctl-C to stop
    Gbm_create_device(156): Info:backend name is: msm_drm
    Stream ready at rtsp:// :8900/live

    Gbm_create_device(156): Info: backend name is: msm_drm
  • Note the address output above that you will need to receive the stream in the next step.
  • Now you can connect to the stream from a PC, phone, or tablet connected to the same network as your Open-Q 610 dev kit, using the VLC video player.
  • Select “Open Network Stream” from the “Media” menu and enter the following:
  • rtsp://:8900/live
  • You should now see something like the below image from the VLC player – two separate video streams with objects detected and labeled.
  • Figure 5: Dual Camera TensorFlow Lite Demo Output

9. Summary

This project has shown how quick and easy it is to get started with embedded on-device AI applications using the Lantronix Open-Q 610 µSOM Dev Kit and accessories running on the QCS610 SoC. We have seen how multimedia and AI use-cases can be prototyped quickly using a few lines to set up a gstreamer pipeline. Many different configurations can be set up similarly with different example TensorFlow Lite models from Google, such as image classification, pose estimation, segmentation and more. The QCS610 also supports executing ML models using the Qualcomm® Neural Processing SDK to provide the flexibility of developing your models on a variety of industry standard frameworks such as TensorFlow, TensorFlow Lite, ONNX, and Caffe2.

If you do not yet have an Open-Q 610 µSOM Development Kit you can get yours here:

Qualcomm QCS610 and Qualcomm Neural Processing are products of Qualcomm Technologies, Inc. and/or its subsidiaries.

NameTitle Company
Russell Fretenburg
[email protected]
Technical Product Manager, Lantronix, Inc.