EyeQ Docs

Using the SDK

Architecture, core objects, and API patterns for integrating Perfectly Clear

The Perfectly Clear SDK provides two API options for integrating image correction into your applications. Choose the API that best fits your development environment and requirements.

Available APIs

The SDK includes a native C API and a .NET wrapper for C# applications. Both APIs provide access to the same underlying correction engine and produce identical results.

APILanguagesPlatformsUse case
C APIC, C++Linux, macOS, WindowsNative applications, server-side processing, maximum performance
.NET APIC#, VB.NETWindowsWindows desktop applications, .NET services

Processing workflow

Both APIs follow the same general workflow for image correction:

  1. Initialize — Set up license protection and create an engine instance
  2. Load AI models — Load scene detection and AI correction models (optional but recommended)
  3. Load image — Read image data into memory
  4. Analyze — Calculate correction profile for the image
  5. Apply — Apply corrections using the profile and parameters
  6. Save — Write the corrected image to disk or memory

The SDK supports two approaches: a simplified single-function call (AutoCorrect) or a two-step process (Calc + Apply) that allows inspection and modification of parameters between analysis and correction.

Choosing an approach

For most batch processing scenarios, use AutoCorrect with AI scene detection enabled. This provides optimal corrections with minimal code.

For interactive applications where users adjust parameters, use the two-step Calc + Apply approach. This lets you analyze the image once, then apply corrections multiple times with different settings without re-analyzing.

Next steps

Explore more on the architecture, core objects and API patterns:

PFC-SDK Version 10.7.2.1269 built from 4fa849d8101945eea725a08dd0dae5101f090fa0 on 11-10-2025.

Copyright © 2026 EyeQ Imaging Inc. All rights reserved.

On this page