Accelerate an OpenCV-based Android Application with KleidiCV
Introduction
Overview
Create a project and add OpenCV
Define the UI
Processing the Images
Summary
Next Steps
Accelerate an OpenCV-based Android Application with KleidiCV
Who is this for?
This is an introductory topic for developers who are interested in creating Computer Vision applications with OpenCV and KleidiCV on Android Devices.
What will you learn?
Upon completion of this Learning Path, you will be able to:
- Describe what KleidiCV is, and what it can offer.
- Create and configure a project to add OpenCV support.
- Process images using OpenCV functionality.
Prerequisites
Before starting, you will need the following:
- A development machine with Android Studio installed.
- Familiarity with Android development concepts.
- An Android smartphone.
Summary
This summary was drafted with an approved AI-assisted workflow and reviewed by Arm contributors before publication. Human technical review remains part of the process so the final page reflects engineering rigor, accuracy, and Arm editorial standards.
ImageOperation, ImageProcessor, and PerformanceMetrics. You’ll run operations such as blur, resize, or rotate, and inspect the processed image and performance statistics.Frequently asked questions
These FAQs were drafted with an approved AI-assisted workflow and reviewed by Arm contributors before publication. Human technical review remains part of the process so the final page reflects engineering rigor, accuracy, and Arm editorial standards.
src/main/assets and name it img.png. Any kind of image file can be used; the app converts it to the required type during processing.src/main/assets and the file name matches img.png exactly, including case. Use the Project view in Android Studio to verify the location, then rebuild.app/src/main/res/layout/activity_main.xml. When you run the app, you should see the defined layout, processed image, and performance metrics.ImageOperation enum to apply another operation. To extend functionality, add a new enum value with its implementation and have ImageProcessor apply it.