KleidiAI is an open-source library that provides optimized, performance-critical routines - also known as micro-kernels - for artificial intelligence (AI) workloads on Arm CPUs.
These routines are tuned to take full advantage of specific Arm hardware architectures to maximize performance. The KleidiAI library is designed for easy integration into C or C++ machine learning (ML) and AI frameworks.
Several popular AI frameworks already take advantage of KleidiAI to improve performance on Arm platforms.
KleidiCV is an open-source library that provides high-performance image processing functions for AArch64.
It is designed to be lightweight and simple to integrate into a wide variety of projects. Some computer vision frameworks, such as OpenCV, leverage KleidiCV to accelerate image processing on Arm devices.
This Learning Path provides two example applications that combine AI and computer vision (CV) techniques:
Both applications:
ppm
(Portable Pixmap format), with three RGB channels (Red, Green, and Blue). Each channel supports 256 intensity levels (0-255) commonly referred to as RGB8
.YUV420
color space for processing.RGB8
and save them as ppm
files.The background blur pipeline is implemented as follows:
Background Blur Pipeline Diagram
The low-light enhancement pipeline is adapted from the LiveHDR+ method originally proposed by Google Research in 2017:
Low-Light Enhancement Pipeline Diagram
The Low-Resolution Coefficient Prediction Network (implemented with TFLite) performs computations such as: