Skip to content

IDLive Face Detector

By default, the component uses third-party library to detect a suitable frame

It is possible to use the IDLive Face Detector for determining the quality of the frame

  1. Import the version of the library with the IDLive Face Detector

    import 'idlive-face-capture-web/index-idlf-detector';
    
  2. Set license of the IDLive Face Detector

    const idliveFaceCapture = document.querySelector('idlive-face-capture');
    
    idliveFaceCapture.addEventListener('initialize', () => {
        idliveFaceCapture.setLicense(detectorLicense, 'faceDetector');
    });
    

Check out example