Background
- You can decide whether to darken the background around the document detection frame.
Show/hide the background mask:
DocumentReader.setConfig({
"customization": {"showBackgroundMask": true}
});
- Change the intensity of the background mask:
DocumentReader.setConfig({
"customization": {"backgroundMaskAlpha": 0.5}
});
- Set an image within the camera frame:
DocumentReader.setConfig({
"customization": {"borderBackgroundImage": "Base64String"}
});
- Change the content mode of an image that is located within the camera frame:
DocumentReader.setConfig({
"customization": {"borderBackgroundImageContentMode": UIViewContentMode.ScaleAspectFit}
});