KleidiAI is an open-source library of optimized, performance-critical routines (micro-kernels) for AI workloads on Arm CPUs. These routines are tuned for specific Arm microarchitectures to maximize performance and are designed for straightforward integration into C/C++ 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 lightweight and simple to integrate, and computer-vision frameworks such as OpenCV can leverage KleidiCV to accelerate image processing on Arm devices.
This Learning Path provides three example applications that combine AI and computer vision (CV) techniques:
The applications:
The background blur pipeline is implemented as follows:
Background blur pipeline
The low-light enhancement pipeline is adapted from the LiveHDR+ method proposed by Google Research (2017):
Low-light enhancement pipeline
The low-resolution coefficient-prediction network (implemented with LiteRT) performs operations such as:
Every smartphone photographer has experienced it: images that look sharp in daylight but degrade in dim lighting. This is because signal-to-noise ratio (SNR) drops sharply when sensors capture fewer photons. At 1000 lux, the signal dominates and images look clean; at 1 lux, readout noise becomes visible as grain, color speckling, and loss of fine detail.
That’s why neural camera denoising is a critical, computationally-demanding, stage in modern camera pipelines. Done well, it can transform noisy frames into sharp, vibrant captures; done poorly, it leaves smudges and artifacts.
As shown below, the neural-denoising pipeline uses two algorithms:
ultralite
in the repository (uses a history of previous frames)collapsenet
in the repositoryNeural denoising pipeline
The Neural Denoising application works on frames, as emitted by a camera sensor in Bayer format: