Perfectly Clear × Fora Soft

AI photo and video correction app for Android

Published: Nov 24, 2026
Before-and-after AI correction in the Perfectly Clear camera
Perfectly Clear editor with Beautify presets and sliders
Perfectly Clear app screens: editor, video export and gallery
Perfectly Clear AI is an Android app for people who shoot on their phones and want professional-looking results without learning an editor: portraits, travel photos, family videos. It corrects exposure, color and tone in photos and videos automatically, with one slider for strength. For photos it also retouches portraits and applies film-style filters.
We built the Android app for EyeQ Imaging: the live camera with AI correction in the viewfinder, the photo editor, video enhancement and export, the gallery and the subscription flow. The AI model and the Perfectly Clear SDK are EyeQ's own technology; we built the app around them and the GPU code.
Perfectly Clear app screens: camera, editor, video export and gallery
EyeQ Imaging licenses its Perfectly Clear correction technology to printers, photo labs, and camera and phone makers. On its website, EyeQ says that Perfectly Clear corrects more than 11 billion photos a year and lists OPPO, CEWE, Hallmark and Photobox among its customers. The mobile app brings this technology to consumers and is monetized through subscriptions.

How the app works

The system works like this: EyeQ's AI model analyses a small copy of the frame, and our GPU shader applies its corrections to the full-size frame. In the photo editor, the Perfectly Clear SDK adds retouching, filters and sharpening on top.

The hardest part of the app is correcting a full-size frame when the model only has time to look at a small copy of it. The correction has to keep up with a live camera preview and a playing video on the phone itself, with no server. A 4K video frame has about 8 million pixels, and the model sees only a small fraction of them. The quality of the result depends on how the shader spreads the model's output over the full frame. We wrote that shader, and the same code runs in the camera, the video player, the export and the photo editor.

Pipeline from camera frame through the AI model and GPU shader to the corrected full-size frame
Subscription screen with annual and monthly plans next to the editor in free mode

Who uses the platform

  • Users are people who install the app. Without paying, a user can shoot with the live camera, open photos and videos from the phone, and try all editing tools on screen.
  • Subscribers are users with an active monthly or annual Google Play subscription, which starts with a 7-day free trial. Only subscribers can save an edited photo or an enhanced video.
  • EyeQ, the client, issues the license key and certificate that unlock the AI model.

Two terms are used below: Fix is the automatic AI correction, and strength is the slider value that sets how much of a correction is applied.

Highlights

  • Live AI correction in the camera viewfinder: the user sees the enhanced picture before taking the shot and controls the strength with a slider.
  • A GPU rendering pipeline that applies the AI model's local and global corrections to full-resolution photos and video frames.
  • Video enhancement end to end: corrected preview during playback and export of the corrected video with its original sound.
  • A photo editor with four tabs: AI-powered Fix, plus Beautify (6 presets, 12 fine-tuning sliders), 28 LOOKs filters and sharpening with noise removal from the Perfectly Clear SDK.
  • The license key and certificate are not shipped inside the app package: the app receives them remotely on first launch and stores them encrypted.
Before-and-after portrait in the camera with a list of the app's key features
Live camera viewfinder with AI correction and a strength slider

Real-time AI correction in the camera

The camera shows the corrected image live, so users judge the result before they press the shutter.

The app does not use a standard camera preview. It takes analysis frames from CameraX, converts each one from the camera's raw format (YUV) to RGB, rotates it (and mirrors it for the front camera), and draws it on screen through our shader. A small copy of the frame goes to the AI model, and the shader applies the model's output to the full preview frame on the GPU (section 2 explains how).

When frames arrive faster than they can be processed, CameraX is set to drop the older ones and keep the latest, so the preview shows the current scene instead of working through a queue. A slider sets the strength of the correction. The user can switch between the front and back cameras and tap to focus. After the shot, the photo opens in the editor, where Fix is applied again at its default strength, not the one set in the camera, and can be adjusted.

GPU rendering of the AI model's output

This shader is what makes a small, fast model usable on large images.

The AI model analyses a small copy of the frame and does not return a finished image. It returns a compact set of global and local correction parameters and a map of how much of each to apply in each region of the image.

The app uploads these parameters to the GPU, and the OpenGL ES 3.0 shaders we wrote apply them to every pixel of the original image. Neighboring regions are blended smoothly, so the correction never shows up as blocks and the image keeps the resolution of the source.

A full-size photo is corrected in one offscreen GPU pass and read back as a bitmap.

Full-size 4K frame and the small copy the AI model analyses
Video export screen with progress and the original audio kept

Video enhancement and export

Users open a video from the gallery and watch it already corrected. Subscribers can save the corrected copy.

Playback runs through ExoPlayer into an OpenGL surface. The app draws a small copy of the current frame, reads it back from the GPU and sends it to the AI model in the background. While the model is busy, the following frames are rendered with the latest correction parameters, so playback is not held up by the analysis. The strength slider works here as it does in the camera.

To save the result, we built a transcoder on Android's built-in video codecs (MediaCodec):

  • it decodes the source video frame by frame;
  • it sends a small copy of each decoded frame to the AI model and applies the correction to the full frame on the GPU;
  • it encodes the frames again as H.264 and writes them to an MP4 file;
  • it copies the original audio track as is, without re-encoding.

The export does not downscale the video and turns the frames upright according to the source rotation. The frame rate and bitrate are taken from the source file. If the file does not state a frame rate, the app uses 30 frames per second. If it does not state a bitrate, the app calculates one from the frame size and frame rate: about 15.6 Mbps for 1080p video at 30 frames per second. Progress is shown on screen while the export runs.

The finished file is saved to a "Perfectly Clear" folder on the phone.

Photo editor with Perfectly Clear tools

The editor puts EyeQ's correction tools into four tabs, so a user gets from an automatic fix to detailed portrait retouching without leaving the screen.

  • Fix: the automatic AI correction with an Auto button and a strength slider;
  • Beautify: 6 portrait presets, each adjustable with 12 sliders in three groups: Perfect Eyes, Perfect Skin and Perfect Face;
  • LOOKs: 28 filters in three groups (7 black-and-white film stocks, 7 color film stocks, 14 stylized color) with a strength slider;
  • Tools: sharpening with a strength slider, and noise removal that is switched on or off.

The Beautify presets are Beautify, Beautify+, Clear Skin, Healthy Glow, High Fashion and Rugged Skin. The sliders are Blemish Removal, Blush, Catchlights, Dark Circles, Eye Enhance, Eye Enlarge, Face Contouring, Lip Sharpening, Perfectly Smooth, Shine Removal, Skin Toning and Teeth Whitening.

Fix runs first as a separate AI pass. Its result is kept for the current strength, so moving a Beautify or LOOKs slider does not run the AI model again. The Beautify, LOOKs and Tools settings are then merged into one set of parameters and applied in one pass instead of three.

A native C++ routine we wrote converts the color channel order of each pixel between Android bitmaps and the format the Perfectly Clear SDK expects.

While the user edits, the app works on a copy reduced to the screen size, which keeps the editor responsive. The original full-resolution photo is processed once, when the user saves. Users can hold the photo to compare with the original, and small badges on the tabs show which corrections are active. Tapping the selected Beautify preset again opens its fine-tuning sliders, and a hint explains this the first time the tab is opened.

Photo editor Beautify tab with presets and fine-tuning sliders
Subscription screen with plans and prices from Google Play

Subscriptions through Google Play

We integrated Google Play Billing, so EyeQ sells the two plans through the store and manages prices and the trial there.

  • The subscription screen shows prices from the store, the current plan and the option to upgrade or downgrade.
  • The app acknowledges purchases automatically and checks the purchase signature on the device.
  • If the connection to the billing service drops, the app reconnects with increasing delays: 1 second at first, doubling each time, up to 15 minutes.
  • When a non-subscriber taps Save, the app opens the subscription screen.

Remote license delivery

EyeQ's license key and certificate are not shipped inside the app package, so EyeQ can change them for new installs without an app update.

The AI model only works with a valid key and certificate from EyeQ. On first launch the app receives them remotely and caches them in encrypted storage on the device. Later launches use the cached copy. If the phone is offline on first launch, the app shows a "no internet" screen with a retry button.

No internet screen shown when the license can't be downloaded
Gallery with photos and videos from the phone in one feed

Gallery and saving

The home screen shows the photos and videos from the phone in one feed, with an album picker. The first 112 items are loaded ahead of the rest, so the feed appears quickly on phones with large libraries.

Edited photos are saved as full-quality JPEG files to a separate "Perfectly Clear" album. The app copies the original EXIF data (date, camera, location) to the new file.

Onboarding

A six-step introduction explains automatic correction, Beautify, LOOKs and sharpening with animated examples and a before-and-after slider, then asks for camera and storage permissions.

Onboarding screen explaining automatic correction
Architecture cards: Android 5.0+, MVVM and Hilt, Firebase Analytics, App Center builds

Architecture and delivery

The app runs on Android 5.0 and later, on 32-bit and 64-bit ARM devices. The code follows MVVM with Hilt dependency injection, and rendering, AI processing and common utilities are separate modules.

Firebase Analytics records 26 user actions, from opening the camera and moving the Fix slider to starting a trial, and Crashlytics collects crash reports. Each commit to the development branch is built in GitLab CI and uploaded to App Center for testers.

Integrations

  • EyeQ AI model library: analyses frames and returns correction parameters.
  • Perfectly Clear SDK: Beautify retouching, LOOKs filters, sharpening and noise removal.
  • Firebase: analytics and crash reports.
  • Google Play Billing: subscriptions and plan changes.
  • GitLab CI and App Center: test builds.
Integrations: EyeQ AI model library, Perfectly Clear SDK, Firebase, Google Play Billing, GitLab CI

Technical Implementation

📱 Platforms
Android
🧩 App
Kotlin, Kotlin Coroutines, MVVM, Hilt, Android Navigation Component, Glide, AndroidX Security (encrypted storage), MediaStore, ExifInterface
🧠 AI and graphics
C++ (JNI, Android NDK), TensorFlow Lite with GPU delegate, OpenGL ES 3.0 (GLSL shaders, EGL), RenderScript, Perfectly Clear SDK
🎥 Camera and video
CameraX, ExoPlayer, MediaCodec, MediaExtractor, MediaMuxer
🔗 Services
Firebase (Analytics, Crashlytics), Google Play Billing
🚀 CI/CD
GitLab CI, App Center
Perfectly Clear: Android