EyeQ Docs

Android API Reference

Complete class and method reference for the Perfectly Clear Android SDK

This page documents all public classes, methods, and constants in the Perfectly Clear Android SDK (photos.eyeq.pfcsdk.perfectlyclear package). The API is written in Kotlin with native JNI bindings.


V10

The main SDK interface class. Manages the engine lifecycle, image analysis, correction apply, scene detection, and creative look operations.

class V10

V10 is not thread-safe. Serialize all calls to a single engine instance using synchronized or a similar mechanism.

Constructor

V10()

Creates a new SDK instance and loads the native libraries.

Engine lifecycle

createEngine

Creates a new engine instance for use in the image processing pipeline. Reuse the engine across multiple images; destroy it when done.

external fun createEngine(): ByteBuffer

Returns a ByteBuffer handle representing the native engine.

destroyEngine

Destroys an engine instance and releases all associated native resources.

external fun destroyEngine(bbEngine: ByteBuffer)

loadAIEngine

Loads AI models into the engine and validates the license. Call this once after createEngine().

external fun loadAIEngine(
    engine: ByteBuffer,
    apiKey: String,
    cert: String,
    modelDynamic: ByteBuffer,
    modelSceneDetection: ByteBuffer,
    modelSkintone: ByteBuffer,
    modelAicolor: ByteBuffer,
    modelFDFront: ByteBuffer,
    modelFDBack: ByteBuffer,
    modelFaceMesh: ByteBuffer,
    modelBlendShape: ByteBuffer,
    useGpu: Boolean
): Int

Parameters:

ParameterDescription
engineEngine handle from createEngine()
apiKeyAPI key string provided by EyeQ
certCertificate string provided by EyeQ
modelDynamicByteBuffer containing dynamic.pnne model data
modelSceneDetectionByteBuffer containing the scene detection .pnn model
modelSkintoneByteBuffer containing the skin tone .pnn model
modelAicolorByteBuffer containing the AI color correction .pnn model
modelFDFrontByteBuffer containing the front face detection .pnn model
modelFDBackByteBuffer containing the back face detection .pnn model
modelFaceMeshByteBuffer containing the face mesh .pnn model
modelBlendShapeByteBuffer containing the face blend-shape .pnn model
useGputrue to use GPU acceleration where available

Returns a positive value on success (bitwise sum of loaded feature flags), or a negative error code on failure.

Scene detection and skin tone models are paired by UUID (e.g. 20211221 for Pro/Universal, 5000200 for School & Sports). Always load matching pairs.

loadScenePresets

Loads scene detection presets from a .preset file buffer.

external fun loadScenePresets(engine: ByteBuffer, scenePresets: ByteBuffer): Int

loadAddonLooks

Loads creative looks from a .looks file buffer. Use this when the filesystem is not available.

external fun loadAddonLooks(engine: ByteBuffer, addonLooks: ByteBuffer): Int

Image processing

calc

Performs initial analysis on an image and creates a profile containing detected faces, noise levels, and scene data.

external fun calc(
    width: Int,
    height: Int,
    stride: Int,
    @PixelFormat pixelFormat: Int,
    buffer: ByteBuffer,
    widthds: Int = 0,
    heightds: Int = 0,
    strideds: Int = 0,
    bufferds: ByteBuffer? = null,
    engine: ByteBuffer,
    bFastFAE: Int = 0,
    bNoTintCalc: Int = 0
): ByteBuffer

Parameters:

ParameterDescription
widthImage width in pixels
heightImage height in pixels
strideBytes per row (typically width × 4 for 32-bit formats)
pixelFormatPixel format constant (e.g. V10.PFC_PixelFormat32bppABGR)
bufferPixel data buffer
widthdsDownsampled width (0 = not used)
heightdsDownsampled height (0 = not used)
stridedsDownsampled stride (0 = not used)
bufferdsDownsampled pixel buffer (null = not used)
engineEngine handle
bFastFAESet to 1 for fast Face Aware Exposure (0 = standard)
bNoTintCalcSet to 1 to skip tint calculation (0 = calculate)

Returns a ByteBuffer profile handle. Release it with releaseProfile() when done.

apply

Applies correction parameters to an image pixel buffer in place.

external fun apply(
    width: Int,
    height: Int,
    stride: Int,
    @PixelFormat pixelFormat: Int,
    buffer: ByteBuffer,
    engine: ByteBuffer,
    profile: ByteBuffer,
    param: PFCParam
): Int

Parameters:

ParameterDescription
widthImage width in pixels
heightImage height in pixels
strideBytes per row
pixelFormatPixel format constant
bufferPixel data buffer — modified in place
engineEngine handle
profileProfile from calc()
paramCorrection parameters

Returns APPLY_SUCCESS (0) on success, or a negative APPLY_* error code.

autoCorrect

Single convenience function that performs the full correction pipeline (calc + apply) in one call. Suitable for batch processing where you do not need to inspect the profile.

external fun autoCorrect(
    width: Int, height: Int, stride: Int,
    @PixelFormat pixelFormat: Int, buffer: ByteBuffer,
    widthds: Int, heightds: Int, strideds: Int, bufferds: ByteBuffer,
    param: PFCParam, bFastFAE: Int
): Int

autoCorrectPreset

Same as autoCorrect but uses a built-in preset ID instead of a PFCParam.

external fun autoCorrectPreset(
    width: Int, height: Int, stride: Int,
    @PixelFormat pixelFormat: Int, buffer: ByteBuffer,
    widthds: Int, heightds: Int, strideds: Int, bufferds: ByteBuffer,
    @PresetId presetID: Int, bFastFAE: Int
): Int

Scene detection and presets

getDetectedScene

Returns the canonical scene label detected during calc().

external fun getDetectedScene(profile: ByteBuffer): Int

readScenePreset

Populates a PFCParam with tuned settings for a detected scene. Requires scene presets to have been loaded with loadScenePresets().

external fun readScenePreset(param: PFCParam, engine: ByteBuffer, scene: Int): Int

setParam

Initializes a PFCParam with a built-in preset.

external fun setParam(param: PFCParam, @PresetId id: Int): Int

readPresets

Loads settings from a .preset file on disk into a PFCParam. The first preset in the file is used.

external fun readPresets(param: PFCParam, filename: String): Int

readPresetsFromStream

Loads settings from a preset XML string into a PFCParam.

external fun readPresetsFromStream(param: PFCParam, s: String): Int

Strength and analysis

applyStrengthToParam

Applies an overall strength multiplier to all parameters. Range 0–200, where 100 is the default (no change).

external fun applyStrengthToParam(param: PFCParam, strength: Int): Int

getDetectedSkintoneParams

Populates PFCParam with detected skin tone values from the profile. Sets core_bSkintoneAuto = true and core_iSkintoneAutoStrength = 100.

external fun getDetectedSkintoneParams(profile: ByteBuffer, param: PFCParam): Int

abnormalTintDetected

Queries whether abnormal tint was detected at a given detection sensitivity.

external fun abnormalTintDetected(
    profile: ByteBuffer,
    @TintCorrection tintMethod: Int
): Boolean

isNoiseDetected

Queries whether noise was detected above a given preset threshold.

external fun isNoiseDetected(profile: ByteBuffer, iNoisePreset: Int): Boolean

Face detection

fbFaceCount

Returns the number of faces detected for Face Beautification.

external fun fbFaceCount(profile: ByteBuffer): Int

getFaceInfo

Fills a FaceInfo object with bounding box and eye coordinates for the face at the given index.

external fun getFaceInfo(profile: ByteBuffer, pFace: FaceInfo, index: Int): Boolean

faeFaceCount

Returns the number of faces detected for Face Aware Exposure.

external fun faeFaceCount(profile: ByteBuffer): Int

getFAEFaceRect

Fills a FaceRect object with detailed face geometry and attributes for the face at the given index.

external fun getFAEFaceRect(profile: ByteBuffer, pFace: FaceRect, index: Int): Boolean

hasFaceBeautification

Checks whether Face Beautification models are loaded and available.

external fun hasFaceBeautification(engine: ByteBuffer): Boolean

Status

profileStatus

Returns the status of the profile calculation.

external fun profileStatus(profile: ByteBuffer): Int

coreStatus

Returns the status of core correction precalculation.

external fun coreStatus(profile: ByteBuffer): Int

fbStatus

Returns the status of Face Beautification precalculation.

external fun fbStatus(profile: ByteBuffer): Int

nrStatus

Returns the status of Noise Reduction precalculation.

external fun nrStatus(profile: ByteBuffer): Int

reStatus

Returns the status of Red Eye precalculation.

external fun reStatus(profile: ByteBuffer): Int

getREStatus

Returns the status of Red Eye correction (alternate accessor).

external fun getREStatus(profile: ByteBuffer): Int

returnCodeCore

Extracts the core correction status from a combined apply result code.

fun returnCodeCore(code: Int): Int

returnCodeFB

Extracts the Face Beautification status from a combined apply result code.

fun returnCodeFB(code: Int): Int

returnCodeNR

Extracts the Noise Reduction status from a combined apply result code.

fun returnCodeNR(code: Int): Int

returnCodeRE

Extracts the Red Eye status from a combined apply result code.

fun returnCodeRE(code: Int): Int

Memory management

allocNativeBuffer

Allocates a native ByteBuffer of the given capacity. Use this for pixel data buffers.

external fun allocNativeBuffer(capacity: Int): ByteBuffer?

freeNativeBuffer

Deallocates a buffer previously allocated with allocNativeBuffer.

external fun freeNativeBuffer(b: ByteBuffer?)

getMemorySize

Returns the total native memory size in bytes.

external fun getMemorySize(): Long

getMemoryUsed

Returns the amount of native memory currently in use.

external fun getMemoryUsed(): Long

getMemoryAvailable

Returns the amount of native memory available.

external fun getMemoryAvailable(): Long

setMemoryLimit

Sets the memory limit as a fraction of total memory (e.g. 0.8f = 80%).

external fun setMemoryLimit(limit: Float)

Creative looks (LUT)

getLooks3DLut

Returns the 3D LUT data for a creative look identified by its GUID. The output is a 16×16×16 RGB lookup table written into the provided FloatArray.

external fun getLooks3DLut(
    engine: ByteBuffer,
    lookGuid: String,
    strength: Int,
    contrast: Int,
    saturation: Int,
    final3Dlut: FloatArray
): Int

setAddonPath

Sets the directory path where the SDK searches for add-on files (e.g. .looks).

external fun setAddonPath(s: String)

releaseAddonPath

Releases resources from a previous setAddonPath call.

external fun releaseAddonPath()

Utility

releaseProfile

Releases a profile handle and its associated native resources.

external fun releaseProfile(profile: ByteBuffer)

checkCertificate

Validates a license key and certificate. Returns the number of days remaining, -1 if expired, or -2 if the key/cert combination is invalid.

external fun checkCertificate(apiKey: String, certificate: String): Int

getVersion

Returns the SDK version string.

fun getVersion(): String

getGitCommitSha

Returns the git commit SHA of the SDK build.

fun getGitCommitSha(): String

PFCParam

Image processing parameters. Pass an instance to V10.apply() to control which corrections are applied and at what strength.

class PFCParam

Each correction group has an enable flag (core_bEnabled, fb_bEnabled, nr_bEnabled, re_bEnabled) that must be true for its settings to take effect.

Constructor

PFCParam()

Creates a parameter object with default values.

Methods

reset

Resets all parameters to default values.

fun reset()

read

Copies all parameter values from another PFCParam instance.

fun read(pfcParam: PFCParam)

Core correction parameters

Enable flags

PropertyTypeDescription
core_bEnabledBooleanMaster enable for all core_* parameters
core_bContrastBooleanApply contrast improvement
core_bDCFBooleanApply Digital Color Fidelity correction
core_bDynamicRangeBooleanApply dynamic range correction
core_bHighlightPreservationBooleanEnable highlight preservation
core_bInfraredBooleanApply infrared correction
core_bLightDiffusionBooleanEnable light diffusion correction
core_bLocalContrastBooleanApply local contrast
core_bSelectiveColorBooleanApply selective color correction
core_bSharpenBooleanApply sharpening
core_bVibrancyBooleanApply true color calibration
core_bAbnormalTintRemovalBooleanApply abnormal tint removal
core_bUseAutomaticStrengthSelectionBooleanUse automatic exposure strength (ignores core_iStrength)
core_bUseFAEBooleanUse Face Aware automatic exposure
core_bSkintoneAutoBooleanUse auto skin tone parameters

Enum/mode settings

PropertyTypeValuesDescription
core_eAggressivenessIntAGGRESSIVENESS_*Exposure correction aggressiveness
core_eBiasIntBIAS_*Skin depth bias method
core_eContrastIntHIGH_CONTRAST, HIGH_DEFINITIONContrast type
core_eDCFModeIntDCF_STANDARD, DCF_VIVIDDCF correction mode
core_eTintIntTINT_CORRECT_*Tint correction method

Float parameters

PropertyTypeRangeDescription
core_fBiasScaleFloat0.0–1.0Skin depth bias strength
core_fDCFFloat0.0–1.0Digital Color Fidelity level
core_fInfraredFloat0.0–1.0Infrared correction ratio
core_fLightDiffusionFloat0.0–1.0Light diffusion level
core_fSharpenScaleFloat0.0–3.0Sharpening level
core_fTintScaleFloat0.0–1.0Tint correction strength

Integer parameters

PropertyTypeRangeDescription
core_iStrengthInt0–150Exposure correction strength
core_iContrastInt0–100Contrast level
core_iHighlightPreservationInt0–100Highlight preservation level
core_iLocalContrastInt0–100Local contrast level
core_iVibrancyInt0–100True color calibration level
core_iBlackEnhancementIntBlack correction level (default 12)
core_iMinStrengthIntMinimum auto exposure strength
core_iMaxStrengthIntMaximum auto exposure strength

Skin tone parameters

PropertyTypeRangeDescription
core_iSkintoneTypeInt1–10Skin tone category
core_iSkintoneAutoStrengthInt0–100Auto skin tone strength (when core_bSkintoneAuto is true)
core_iSkintoneStrengthExposureInt0–100Skin tone exposure strength
core_iSkintoneStrengthLutInt0–100Skin tone LUT strength

Color parameters

PropertyTypeRangeDescription
core_iSplitColorWarmInt-100–100Split color warmth (0 = off)
core_iSplitColorColdInt-100–100Split color cold (0 = off)
core_oSelectiveColorArray<SelectiveColor>8 entriesPer-hue selective color adjustments

Face Beautification parameters

Enable flags

PropertyTypeDescription
fb_bEnabledBooleanMaster enable for all fb_* parameters
fb_bBlemishBooleanEnable blemish removal
fb_bBlushBooleanEnable blush
fb_bCatchLightBooleanEnable catchlight enhancement
fb_bDeFlashBooleanEnable deflash
fb_bEnhanceBooleanEnable eye enhancement
fb_bEnlargeBooleanEnable eye enlargement
fb_bEyeCircBooleanEnable eye circle removal
fb_bLipSharpenBooleanEnable lip sharpening
fb_bSkinToningBooleanEnable skin toning
fb_bSlimBooleanEnable face slimming
fb_bSmoothBooleanEnable skin smoothing
fb_bTeethBooleanEnable teeth whitening

Level parameters (all Int, range 0–100)

PropertyDescription
fb_iBlemishBlemish removal level
fb_iBlushBlush level
fb_iCatchLightCatchlight level
fb_iDeFlashDeflash level
fb_iEnhanceLevelEye enhancement level
fb_iEnlargeLevelEye enlargement level
fb_iEyeCircEye circle removal level
fb_iLipSharpenLip sharpening level
fb_iSkinToningSkin toning level
fb_iSlimFace slimming level
fb_iSmoothLevelSkin smoothing level
fb_iTeethLevelTeeth whitening level

Mode/type parameters

PropertyTypeValuesDescription
fb_iCatchLightModeIntCATCH_LIGHT_*Catchlight type
fb_iLipSharpenTypeIntLIP_SHARPEN_TYPE_*Lip sharpening type
fb_iSkinToningModeIntSKIN_MODE_*Skin toning scope (face only or body)
fb_iSkinToningTypeIntSKIN_TONING_TYPE_*Skin toning target
fb_iSmoothModeIntSKIN_MODE_*Skin smoothing scope (face only or body)
fb_iSmoothTypeIntSKIN_SMOOTH_TYPE_*Smoothing algorithm

Color parameters

PropertyTypeDescription
fb_colorBlushLongBlush color in AARRGGBB format (default 0xFFFD7171)
fb_colorSkinToningLongSkin toning color in AARRGGBB format (default 0xFFF5BCA9)

Noise Reduction parameters

PropertyTypeRangeDescription
nr_bEnabledBooleanMaster enable for noise reduction
nr_iPresetInt0–4Noise removal preset level
nr_iStrengthOffsetInt-5–5Offset to recommended strength
nr_iDetailOffsetInt-30–30Offset to detail preservation

Red Eye parameters

PropertyTypeDescription
re_bEnabledBooleanEnable red eye removal

V3 advanced parameters

Enable flags

PropertyTypeDescription
v3_bDynamicBooleanEnable dynamic correction
v3_bPortraitLightBooleanEnable portrait light
v3_bPreprocessEVBooleanEnable EV preprocessing (Image Ambulance)

Dynamic and white balance

PropertyTypeRangeDescription
v3_iDynamicInt0–100Dynamic correction strength
v3_iDynamicWBInt0–100Dynamic white balance strength

Portrait light

PropertyTypeRangeDescription
v3_iPortraitLightInt0–100Portrait light strength
v3_iPortraitLightDepthInt0–100Portrait light depth
v3_iPortraitLightFeatherInt0–100Portrait light feather

Color channels

PropertyTypeRangeDescription
v3_iDeltaRInt-255–255Red channel adjustment
v3_iDeltaGInt-255–255Green channel adjustment
v3_iDeltaBInt-255–255Blue channel adjustment

Finishing tools (all Int, range -100–100)

PropertyDescription
v3_iFinishExposureExposure adjustment
v3_iFinishContrastContrast adjustment
v3_iFinishSaturationSaturation adjustment
v3_iFinishVibrancyVibrancy adjustment
v3_iFinishTempTemperature adjustment
v3_iFinishTintTint adjustment
v3_iFinishHighlightsHighlights adjustment
v3_iFinishShadowsShadows adjustment
v3_iFinishWhitesWhites adjustment
v3_iFinishBlacksBlacks adjustment
v3_iFinishPositiveContrastPositive contrast adjustment

Color and density

PropertyTypeRangeDescription
v3_iColorVibrancyInt0–200Color vibrancy amount
v3_iDarkSkinInt0–200Dark skin output LUT amount
v3_iNeutralDensityInt0–100Neutral density filter amount
v3_iPreprocessEVInt-100–100EV correction amount (Image Ambulance)

Creative looks (LUT)

PropertyTypeRangeDescription
v3_lutOutputGUIDStringOutput 3D LUT GUID
v3_lutOutputStrengthInt0–200Output LUT strength
v3_iOutLUTcontrastInt-100–100Output LUT contrast adjustment
v3_iOutLUTsaturationInt-100–100Output LUT saturation adjustment

Input LUTs

PropertyTypeRangeDescription
v3_lutInputCorrectiveGUIDStringCorrective input LUT GUID
v3_lutInputCorrectiveStrengthInt0–200Corrective input LUT strength
v3_lutInputFoliageBrownGUIDStringFoliage brown input LUT GUID
v3_lutInputFoliageBrownStrengthInt0–200Foliage brown input LUT strength
v3_lutInputFoliageGreenGUIDStringFoliage green input LUT GUID
v3_lutInputFoliageGreenStrengthInt0–200Foliage green input LUT strength
v3_lutInputSkyGUIDStringSky input LUT GUID
v3_lutInputSkyStrengthInt0–200Sky input LUT strength

FaceInfo

Face geometry data returned by V10.getFaceInfo() for Face Beautification.

class FaceInfo

Properties

PropertyTypeDescription
faceLeftIntLeft edge of face bounding box
faceTopIntTop edge of face bounding box
faceWidthIntWidth of face bounding box
faceHeightIntHeight of face bounding box
leftEyeXIntX coordinate of left eye center
leftEyeYIntY coordinate of left eye center
rightEyeXIntX coordinate of right eye center
rightEyeYIntY coordinate of right eye center

FaceRect

Detailed face geometry with attributes, returned by V10.getFAEFaceRect() for Face Aware Exposure.

class FaceRect

Properties

Face bounding box

PropertyTypeDescription
faceLeftIntLeft edge of face bounding box
faceTopIntTop edge of face bounding box
faceWidthIntWidth of face bounding box
faceHeightIntHeight of face bounding box

Left eye

PropertyTypeDescription
eyeLLeftIntLeft edge of left eye bounding box
eyeLTopIntTop edge of left eye bounding box
eyeLWidthIntWidth of left eye bounding box
eyeLHeightIntHeight of left eye bounding box
eyeLXIntX coordinate of left eye center
eyeLYIntY coordinate of left eye center

Right eye

PropertyTypeDescription
eyeRLeftIntLeft edge of right eye bounding box
eyeRTopIntTop edge of right eye bounding box
eyeRWidthIntWidth of right eye bounding box
eyeRHeightIntHeight of right eye bounding box
eyeRXIntX coordinate of right eye center
eyeRYIntY coordinate of right eye center

Image dimensions

PropertyTypeDescription
widthImageIntWidth of the analyzed image
heightImageIntHeight of the analyzed image

Attributes

PropertyTypeDescription
angleFloatFace rotation angle
confidenceFloatDetection confidence score
blinkLevelFloatOverall blink level
blinkLevelLFloatLeft eye blink level
blinkLevelRFloatRight eye blink level
smileLevelFloatSmile intensity level

SelectiveColor

Per-hue-range color adjustment model. Eight instances are stored in PFCParam.core_oSelectiveColor.

class SelectiveColor

Properties

PropertyTypeDescription
HIntTarget hue
SIntTarget saturation
LIntTarget lightness
rIntRed/Cyan adjustment
aIntYellow adjustment
mIntMagenta adjustment
pIntBlack adjustment

Constants

All constants are defined as properties on V10.Companion and accessed via V10.CONSTANT_NAME.

Pixel formats

ConstantValueDescription
PFC_PixelFormat24bppRGB024-bit RGB
PFC_PixelFormat24bppBGR124-bit BGR
PFC_PixelFormat32bppABGR232-bit ABGR (Android ARGB_8888 native byte order)
PFC_PixelFormat48bppRGB348-bit RGB (16-bit per channel)
PFC_PixelFormat64bppARGB464-bit ARGB (16-bit per channel)
PFC_PixelFormat32bppARGB532-bit ARGB
PFC_PixelFormat48bppBGR648-bit BGR (16-bit per channel)
PFC_PixelFormat64bppABGR764-bit ABGR (16-bit per channel)

Preset IDs

ConstantValueDescription
PRESET_BEAUTIFY0Good defaults for portraits
PRESET_BEAUTIFY_PLUS1Stronger portrait beautification
PRESET_DETAILS2Legacy — iAuto Details
PRESET_VIVID3Landscapes and general photography
PRESET_INTELLIGENT_AUTO4Legacy — superseded by iAuto 2019
PRESET_I_AUTO_20195iAuto 2019
PRESET_I_AUTO_2019_RE6iAuto 2019 with Red Eye correction
PRESET_I_AUTO_217iAuto 2021 — sharper images, skin correction
PRESET_I_AUTO_21_ASIA8iAuto 2021 tuned for Asian skin tones
PRESET_I_AUTO_PEOPLE9Default (2023) — best for people and general
PRESET_NONE-1All corrections off

Apply status codes

ConstantValueDescription
APPLY_SUCCESS0Success
APPLY_ERROR_PROFILE_MISSING-1Profile pointer is null
APPLY_ERROR_ENGINE_MISSING-2Engine pointer is null
APPLY_CANCELLED-3Operation cancelled
APPLY_NO_SOURCE-4Source image missing
APPLY_BAD_FORMAT-5Pixel format not supported
APPLY_INVALID_LICENSE-6Invalid license or validation failed
APPLY_LOOKS_MISSING-12LUT file not found
APPLY_ERROR_AI_CORRECTION_MISSING-13AI correction not available

Aggressiveness

ConstantValueDescription
AGGRESSIVENESS_CONSERVATIVE0Less aggressive exposure correction
AGGRESSIVENESS_MODERATE1Moderate exposure correction
AGGRESSIVENESS_AGGRESSIVE2More aggressive exposure correction

Bias modes

ConstantValueDescription
BIAS_NONE0No bias correction
BIAS_ASIAN_PREFERENCE1Tuned for Asian skin tone
BIAS_AVERAGE_PREFERENCE2Average usage
BIAS_BRIGHTER_PREFERENCE3Average with brighter tone

Contrast types

ConstantValueDescription
HIGH_CONTRAST0Higher contrast
HIGH_DEFINITION1More shadow/highlight detail and pleasing skin tones

DCF modes

ConstantValueDescription
DCF_STANDARD0Standard Digital Color Fidelity
DCF_VIVID1More color vibrancy

Catchlight types

ConstantValueDescription
CATCH_LIGHT_UMBRELLA1Umbrella
CATCH_LIGHT_RING_LIGHT2Ring light
CATCH_LIGHT_SOFT_BOX3Soft box
CATCH_LIGHT_BEAUTY_DISH4Beauty dish
CATCH_LIGHT_OUTDOORS5Outdoors

Skin modes

ConstantValueDescription
SKIN_MODE_FACE1Apply only to skin regions within detected faces
SKIN_MODE_BODY2Apply to all detected skin regions

Skin smooth types

ConstantValueDescription
SKIN_SMOOTH_TYPE_SUBTLE1Removes wrinkles and spots, keeps texture
SKIN_SMOOTH_TYPE_DEFAULT2Balanced smoothing with natural appearance
SKIN_SMOOTH_TYPE_SUPER_SMOOTH3Aggressive smoothing of entire skin surface

Skin toning types

ConstantValueDescription
SKIN_TONING_TYPE_WHITE1Whitens/bleaches face (for darker skin)
SKIN_TONING_TYPE_PALE2Lighter, more pale appearance
SKIN_TONING_TYPE_WARM3Warmer skin tone
SKIN_TONING_TYPE_TAN4Natural tanned appearance
SKIN_TONING_TYPE_FOUNDATION5User-defined foundation color

Lip sharpen types

ConstantValueDescription
LIP_SHARPEN_TYPE_FINE1Fine touch of sharpening
LIP_SHARPEN_TYPE_MEDIUM2Stronger, more pronounced details
LIP_SHARPEN_TYPE_COARSE3Coarsely pronounced lip details

Tint correction modes

ConstantValueDescription
TINT_CORRECT_AGGRESSIVE0Aggressive tint detection
TINT_CORRECT_DEFAULT1Moderate tint detection
TINT_CORRECT_CONSERVATIVE2Minimum false positive detection
TINT_CORRECT_STRONGEST3Highest sensitivity tint detection

On this page