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"
    },
}, function (m) { }, function (e) { console.log(e); });
  • Change the content mode of the hologram animation image:
DocumentReader.setConfig({
    customization: {
        hologramAnimationImageContentMode: DocumentReader.Enum.UIViewContentMode.ScaleAspectFit
    },
}, function (m) { }, function (e) { console.log(e); });
  • Change the vertical position of the hologram animation image:
DocumentReader.setConfig({
    customization: {
        hologramAnimationPositionMultiplier: 0.5
    },
}, function (m) { }, function (e) { console.log(e); });

Next Steps