Config: Settings

This page contains information about the configuration of LIQA settings.

Parameters

Parameters represent the upper-level settings of LIQA for different cases.

Default config

The config with default values for running strict LIQA with an optimal image format looks like this:

For version 5.6.3 and later:

const liqaConfig = {
    includeBeardArea: false, 
    includeHairsArea: false,
    facePosition: "close",
    showOverlay: true,
    showIlluminationPoints: true,
    imageFormat: 'jpeg-100',
    autoSelfieCapture: true,
    predictLandmarks: false,
    envMode: "user",
    useCountdown: true,
    countdownMaxTimeSeconds: 2.4
}
const liqaConfig = {
    includeBeardArea: false, 
    includeHairsArea: false,
    facePosition: "close",
    showOverlay: true,
    showIlluminationPoints: true,
    imageFormat: 'jpeg-100',
    autoSelfieCapture: true,
    predictLandmarks: false,
    envMode: "user"
}
const liqaConfig = {
    includeBeardArea: false, 
    includeHairsArea: false,
    facePosition: "close",
    showOverlay: true,
    showIlluminationPoints: true,
    imageFormat: 'jpeg-100',
    autoSelfieCapture: true,
    predictLandmarks: false
}
const liqaConfig = {
    includeBeardArea: false, 
    includeHairsArea: false,
    showOverlay: true,
    showIlluminationPoints: true,
    imageFormat: 'jpeg-100',
    autoSelfieCapture: true,
    predictLandmarks: false
}

Last updated