Skip to content

Hologram Detection

  • You can add an image for the hologram animation. If not set, the default image is used:
DocumentReader.setConfig({
    customization: {
        hologramAnimationImage: "Base64String"
    },
}, (str) => { console.log(str) }, (error) => { console.log(error) });
  • Change the content mode of the hologram animation image:
DocumentReader.setConfig({
    customization: {
        hologramAnimationImageContentMode: UIViewContentMode.ScaleAspectFit
    },
}, (str) => { console.log(str) }, (error) => { console.log(error) });
  • Change the vertical position of the hologram animation image:
DocumentReader.setConfig({
    customization: {
        hologramAnimationPositionMultiplier: 0.5
    },
}, (str) => { console.log(str) }, (error) => { console.log(error) });

Next Steps