Kria™ KV260 Vision AI Starter Kit NLP SmartVision Tutorial

Software Architecture of the Accelerator

Software Architecture of the Accelerator

Introduction

This document describes the software architecture of the NLP SmartVision accelerator application.

Software Platform and Dependencies

The OpenCV multi-media orchestration platform for application software development is leveraged. cv::VideoCapture is used to read from video capture pipeline. The captured buffer is sent to the data-processing unit (DPU) after the processor pre-processing. The DPU returns metadata and the processor handles post-processing to render the output buffer. cv::VideoWrite sends the buffer to KMS Sink to display it on the DP/HDMI monitor.

Arm® CMSIS for implementing keyword spotting.

AMD Vitis™ AI 2.5.0 is the core underlying component to access the AI inference capability provides by the AMD DPU.

Video Pipeline

Overall video data flow

Overall video data flow

NLP SmartVision Accelerated Application supports live audio and video inputs from USB Microphone and MIPI respectively.

MIPI source will output the frames with a NV12 format which in turn are processed to BGR frames by VPSS.

Gstreamer pipeline of the application

Gstreamer pipeline of the application

Three AI tasks are supported: Facedetect, Objectdetect, and Platedetect.

Additional GStreamer component used

References

Copyright © 2021-2024 Advanced Micro Devices, Inc

Terms and Conditions