TI Logo
Processor SDK Linux for AM62Ax
09_02_00
  • 1. Overview
  • 2. Release Specific
  • 3. Foundational Components
  • 4. Edge AI user guide
  • 5. RTOS/NO-RTOS [MCU+ SDK]
  • 6. How to Guides
  • 7. Applications
    • 7.1. Edge AI Gallery - User Guide
      • 7.1.1. Overview
      • 7.1.2. Hardware Prerequisites
      • 7.1.3. Launching and Using the edge AI gallery
      • 7.1.4. Building the edge AI gallery
Processor SDK Linux for AM62Ax
  • »
  • 7. Applications »
  • 7.1. Edge AI Gallery - User Guide

7.1. Edge AI Gallery - User Guide¶

7.1.1. Overview¶

The AM62Ax SK board has a QT based Out of Box application setup so that user can test the prepackaged models, with sample images, videos and optionally with a connected camera. The Demo also allows users to add their custom models, images, and videos to extend the functionality.

All of the necessary equipment requirement and instructions are provided here.

7.1.2. Hardware Prerequisites¶

  • TI AM62Ax SK

  • PC (Windows or Linux, to use serial terminal console)

  • HDMI Monitor (to view the Demo on Display)

  • IMX219 Camera

  • USB Mouse

  • SD card (minimum 16GB)

  • Ethernet connection (if serial terminal console is not accessible)

7.1.3. Launching and Using the edge AI gallery¶

The edge AI gallery launches on Linux startup. Follow the below instructions to use it.

  1. Connect the Display, IMX219 Camera, Mouse, Ethernet and Power on the board. The application will launch when the Device is fully booted.

../../_images/am62a_edge_ai_gallery_home.jpg

  1. Once started, You can click on one of the Image Classification, Object Detection or Semantic Segmentation to validate the models with a fixed GStreamer pipeline.

../../_images/am62a_edge_ai_gallery_cl.jpg ../../_images/am62a_edge_ai_gallery_od.jpg ../../_images/am62a_edge_ai_gallery_ss.jpg

  1. To switch to a new pipeline, click on the same button again to stop the currently running pipeline.

  2. To create and run a custom pipeline, click on Custom button. You’ll be provided with a popup menu to choose the below options.

    • Input Type: Image, Video or Camera

    • Input: Image/Video file or Camera Device (For Image or Video files, the path displayed next to the dropdown heading is where you can add your custom files)

    • Model: Models available in the file system (The path displayed next to the dropdown heading is where you can add your custom models)

../../_images/am62a_edge_ai_gallery_popup.jpg

  1. Select the 4 options as described above and click on Start to generate and start the pipeline.

    Note

    As the note suggests, it might take a while for custom pipeline to start.

../../_images/am62a_edge_ai_gallery_custom.jpg

  1. Click on Custom button again to stop the custom pipeline.

  2. For ease of use, the IP addr of the device is displayed at the bottom right when Network is connected.

    Note

    The IP addr is polled only for the first 100 seconds after the application has started.

  3. To close the application and go to the Wallpaper screen, use the close button on the top right corner.

../../_images/am62a_edge_ai_gallery_wallpaper.jpg

  1. To add new images, videos and models, you should add them in the below directories respectively

    • Images - /opt/edgeai-test-data/images/

    • Videos - /opt/edgeai-test-data/videos/

    • Models - /opt/model_zoo/

  2. To change the videos in the prebuilt pipelines used for Image Classification, Object Detection, Semantic Segmentation & Multi Channel, you can replace the video files oob-gui-video*.h264 under /opt/oob-demo-assets/.

  3. To relaunch the application, you should run

/etc/init.d/edgeai-launcher.sh start
  1. And to stop the application again, you should run

/etc/init.d/edgeai-launcher.sh stop
  1. To add new models to the Model dropdown list in Custom popup menu, Add the names of the models in /opt/oob-demo-assets/allowedModels.txt.

Note

For the above changes to take affect, close and relaunch the application.

  1. For more information on edge AI software stack, refer Edge AI Documentation

7.1.4. Building the edge AI gallery¶

The edge AI gallery application is enabled by default in yocto for AM62Ax Linux and RT-Linux.

The source code is available at edgeai-gui-app and can be recompiled with the following steps

  1. To setup the environment, from the root of the SDK installation directory, source environment-setup script.

    $ source linux-devkit/environment-setup
    
  2. Go to the root of edgeai-gui-app repository and run the following command to build the application.

    $ qmake; make
    
  3. Copy the compiled binary to /usr/bin directory of the device

    $ scp edgeai-gui-app root@<ip-addr-of-device>:/usr/bin/
    
Previous

© Copyright 1995-2023, Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy policy | Terms of use | Terms of sale