root user and load the environment variables required for Edge AI.
Edge AI GStreamer Apps
This project is a collection of open-source reference applications provided by Texas Instruments that can be used to rapidly develop AI applications on devices like the T3 Gemstone O1. It primarily operates on a GStreamer-based architecture and offers ready-made solutions for performing image processing, object detection, streaming, and other AI workflows on Texas Instruments processors and SoC hardware. Once you have completed the Edge AI installation in the Installation section, you can access this project from the/opt/edgeai-gst-apps directory.
The configs folder contains examples for multiple applications. It allows you to run the project in both Python and C++ languages.
For example, the configuration found in configs/image_classification.yaml is as follows:
The title of the application. Used as a reference in log outputs and the interface.
Determines the log detail level. 0: minimal, 5: debug
Input data sources to be processed.
The path to the input source.
The format of the input data. For example: jpeg, h264
Input image width (pixels)
Input image height (pixels)
Input frame rate (FPS)
Whether to repeat in a loop.
Models to be used
The file path of the model.
The number of top-N predictions to take from the model.
Output destinations
Output path
Streaming resolution width (pixels)
Streaming resolution height (pixels)
Host IP for streaming
Streaming port number
Streaming image format
Performance graph overlay type
Defines the data flow.
Defines the data flow: input → model → output. Optionally, you can specify an ROI (x, y, width, height).
CTRL + C once.
If you have not modified the output file in the YAML file, you can access the output at /opt/edgeai-test-data/output/output_video.mkv.
Integrating into Your Existing Python Code
By default, TensorFlow Lite runs models on the device’s CPU (Central Processing Unit). A “Delegate” is a mechanism that “delegates” some or all of the computations in your TFLite model from the CPU to more specialized hardware. To use these specialized hardware accelerators (such as the image processing accelerators on the T3 Gemstone O1 Development Board), you need to load the required shared library file (.so, .dll, etc.).Python

