Android SDK
Use the Perfectly Clear SDK in Android applications with the PFC Android AAR package
The Perfectly Clear Android SDK is an AI-powered image correction engine delivered as an .aar package that bundles native binaries, AI models, and Kotlin source. It provides automatic photo enhancement with scene detection, face beautification, noise reduction, exposure correction, and creative looks — all running on-device.
Requirements
- Android API 24 (Android 7.0) or later
- Java 17
- Kotlin 1.9+
- Supported architectures:
arm64-v8a,armeabi-v7a,x86_64 - API key and certificate string provided by EyeQ
- Model files (
.pnn,.pnne) and preset files (.preset) distributed with the SDK
What's in the SDK
The AAR ships a Kotlin/JNI interface backed by native C++ libraries. The core types you will use in every integration are:
| Class | Purpose |
|---|---|
V10 | Main SDK interface — engine lifecycle, image analysis, correction, scene detection, creative looks |
PFCParam | All correction parameters (core exposure, face beautification, noise reduction, color, LUTs) |
FaceInfo | Face bounding box and eye positions from Face Beautification detection |
FaceRect | Detailed face geometry with attributes (blink, smile, confidence) from Face Aware Exposure |
SelectiveColor | Per-hue-range color adjustment (red/cyan, yellow, magenta, black channels) |