Sample projects
Ready-to-build sample applications demonstrating SDK functionality
The SDK includes sample projects that demonstrate how to integrate Perfectly Clear into your applications. Each sample focuses on a specific capability and can be used as a starting point for your own implementation.
Sample matrix
The following table shows which samples are available for each platform and language.
| Functionality | Linux/macOS (C++) | Windows (C++) | Windows (C#) |
|---|---|---|---|
| AI scene detection | SimpleAiSample, DetailedAiSample | SimpleAiSample, DetailedAiSample | CSharp_SimpleAiSample, CSharp_DetailedAiSample |
| Preset corrections | PresetSample | PresetSample | CSharp_PresetSample, DotNetCore_PresetSample |
| Image resizing | ResizeSample | Sample-Resize | — |
| PDF processing | PDFSample | PDFSample | — |
| Standard I/O | Standard-IO | — | — |
| MemoryStream I/O | — | — | DotNetCore_MemoryStream |
| PFCImageFile usage | — | Sample-PFCImageFile | DotNetCore_PFCImageFile |
Sample locations
Samples are located in platform-specific directories within the SDK:
| Platform | Path |
|---|---|
| Linux x86_64 | Linux/ |
| Linux ARM64 | linux-arm64/ |
| macOS | OSX/ or osx-arm64/ |
| Windows | Win/ |
Getting started
Choose a sample based on what you want to accomplish:
AI scene detection
Automatically detect scenes and apply optimal corrections
Preset samples
Apply custom correction presets without scene detection
Image resizing
Resize images during correction
PDF processing
Correct images embedded in PDF files
I/O patterns
Work with streams, buffers, and the PFCImageFile class
Building samples
Compile and run samples on your platform
PFC-SDK Version 10.7.2.1269 built from 4fa849d8101945eea725a08dd0dae5101f090fa0 on 11-10-2025.
Copyright © 2026 EyeQ Imaging Inc. All rights reserved.