Upgrade to v11
How to upgrade from v10 to v11
The V11 SDK is very similar in structure and architecture to the V10 SDK, so upgrading is straightforward. In most cases, you can simply replace the V10 SDK files with the V11 SDK files and update any references in your project to point to the new version. The following are specific coding changes to be aware of:
- The Retouching 2.0 correction suite now requires the
AI_FACEMESHmodel, so ensure your project includes theskinsegm.pnnfile and loads the AI engine with the appropriate features. - The PFCFBPARAM struct has been updated with new Retouching parameters, including Depth & Volume correction fields.
- The SDK now requires the AVX2 instruction set (AVX1 was required in v10). You'll see an
illegal instructionerror if your CPU does not support AVX2. If you need to support older CPUs, please contact us.
License keys from previous SDK versions will continue to work with the v11 SDK.
In a bit more detail:
-
An additional AI model is required for the new Retouching 2.0 correction suite:
AI_FACEMESH. This is needed to enable the facial mesh detection used by the Retouching 2.0 engine, with code like this:unsigned int aifeatures = AI_SCENE_DETECTION | AI_CORRECTIONS | AI_COLOR | AI_FACEMESH; int aistatus = PFC_LoadAIEngine(pAiEngine, aifeatures, binPath.c_str());or
int aiStatus = Pfc.LoadAiEngine( PFCAIFEATURE.AI_SCENE_DETECTION | PFCAIFEATURE.AI_CORRECTIONS | PFCAIFEATURE.AI_COLOR | PFCAIFEATURE.AI_FACEMESH, binPath); -
AI_Facemeshis provided by theskinsegm.pnnfile, so add this file to your project or ensure it is available in the appropriate location for the SDK to load. -
The list of Retouching parameters in the PFCFBPARAM struct has been updated:
- added to the struct
bDepthVolume- bool to enable Depth & Volume correctioniDepthVolume- int specifying the Depth & Volume correction intensity
And the following fields continue to exist for backwards compatibility, but these corrections are no longer applied:
eSmoothTypeandeSmoothMode- Skin Smoothing type and mode controlsbSlimandiSlim- Face Slimming or contouring controlsbCatchLight,iCatchLight, andiCatchLightMode- Catch Light controlseSkinToningModeandeSkinToningType- Skin Toning controlsbLipSharpen,iLipSharpen, andiLipSharpenType- Lip SharpeningbBlushandiBlush- Blush controlscolorSkinToningandcolorBlush- Color controls for Skin Toning and Blush
- added to the struct
PFC-SDK Version 11.0.0.1389 built from cc658dab3c675a529b3df2fa6421d4550810d77d on 06-29-2026.
Copyright © 2026 EyeQ Imaging Inc. All rights reserved.