Mobbeel for developers

Mobbeel for developers

  • MobbScan
  • MobbID
  • MobbSign
  • Clients
  • FAQ

›Additional configuration

MobbScan Android SDK

  • Configure MobbScan Android SDK

Getting Started

  • Getting started with MobbScan
  • Detect and scan a document in two different calls
  • Detect and scan MRZ
  • Detect and scan a PDF417
  • Scanning documents with NFC
  • Error Handling

Additional configuration

  • Configure the detection process
  • Perform face matching with MobbScan
  • Select images returned by a scan
  • Fix scan orientation
  • Record a video while user performs a scan
  • Adding a video step
  • Configure Play Store distribution

MobbScan UI customization

  • Customize MobbScan Default Interfaces
  • Customize MobbScan document scan UI
  • Customize MobbScan MRZ scan UI
  • Customize Unattended Process UI
  • Customize feedback messages

MobbScan-Agent configurations

  • Getting the verification result

Migration Guides

  • Migration 2.25.x to 2.26.x
  • Migration 2.24.x to 2.25.x
  • Migration to 2.24.x
  • Migration to 2.22.x
  • Migration 2.19.x to 2.21.x
  • Migration 2.18.x to 2.19.x
  • Migration 2.13.x to 2.14.x

Information

  • Changelog
  • API Reference

Configure the detection process

Use Take Picture Mode vs Frames mode

You can choose between two different approaches to capture the document image: take picture mode or regular frames mode.

  • Take Picture mode: It uses the camera shutter to take a full resolution picture.
  • Frames mode (default): In this mode, the camera is contionously capturing lower resolution frames.

Choosing a mode

If no configuration is present, regular frames mode is chosen by default. You can enable take picture mode by creating a MobbScanConfiguration object as follows:

Kotlin
Java
val mobbScanConfiguration = MobbScanConfiguration()
mobbScanConfiguration.useTakePictureMode(true)
MobbScanConfiguration mobbScanConfiguration = new MobbScanConfiguration();
mobbScanConfiguration.useTakePictureMode(true);

Checks

Quality control

This set of checks ensures that the detected image have the necessary quality to later scan the document. The performed checks are:

  • Luminosity of the image, in order to ensure that the image is not too bright or too dark.
  • Document distance, in order to ensure that the user is holding the document close enough from the device to obtain a high quality document image. It also checks that the document is not too close, so partial images of documents cannot be detected.
  • Also ensures that no sparkles are present in the document making impossible to obtain the information from some parts of the document.

False positive control

MobbScan also performs some checks over the document so no false documents can be detected and a feedback message will be showed to the user.

Enable or disable controls.

In case you might not want to perform these controls (since they are enabled by default) you can disable them by creating a MobbScanConfiguration object and passing it to the MobbScan instance as follows:

Kotlin
Java
val mobbScanConfiguration = MobbScanConfiguration()
mobbScanConfiguration.falsePositiveControl = false
mobbScanConfiguration.qaControl = false
MobbScanConfiguration mobbScanConfiguration = new MobbScanConfiguration();
mobbScanConfiguration.setFalsePositiveControl(false);
mobbScanConfiguration.setQaControl(false);

It may be the case that you only want some of these controls, in that case you have to do it as follows:

Kotlin
Java
val mobbScanConfiguration = MobbScanConfiguration().apply {
checkDocumentPosition = false
checkDocumentSparkles = false
checkDocumentLightness = false
checkDocumentBlurring = false
checkFacialPosition = false
checkFacialFocus = false
checkFacialLightness = false
checkFacialMask = false
}
MobbScanConfiguration mobbScanConfiguration = new MobbScanConfiguration();
mobbScanConfiguration.setCheckDocumentPosition(false);
mobbScanConfiguration.getCheckDocumentSparkles(false);
mobbScanConfiguration.setCheckDocumentLightness(false);
mobbScanConfiguration.setCheckDocumentBlurring(false);
mobbScanConfiguration.setCheckFacialPosition(false);
mobbScanConfiguration.setCheckFacialFocus(false);
mobbScanConfiguration.setCheckFacialLightness(false);
mobbScanConfiguration.setCheckFacialMask(false);

Document Detection QA Checks

ParameterComment
checkDocumentLightnessCheck the ambient light is neither too dark nor too shiny.
checkDocumentPositionCheck the document is placed within the detection box, and it is neither too far nor too near.
checkDocumentSparklesCheck there are no sparkles on the document image.
checkDocumentBlurringCheck if the document is blurred.
falsePositiveCheck the document side is the one we are looking for.

Facial Detection QA Checks

ParameterComment
checkFacialLightnessCheck the ambient light is neither too dark nor too shiny.
checkFacialPositionCheck the face of the user is placed within the frame, and it is neither too far nor too near.
checkFacialMaskCheck the face is not covered by a mask.
checkFacialFocusCheck the image of the face is focused.

Once you have your MobbScanConfiguration instance with the desire configuration, you have to include this object in the initAPI method.

If you want to know more about this method please check the basic configuration.

Kotlin
Java
MobbScanAPI.getInstance().initAPI("YOUR_LICENSE_HERE", this, object : LicenseStatusListener {
override fun onLicenseStatusChecked(licenseResult: MobbScanLicenseResult?, licenseValidTo: Date?) {
// Your code for the listener here...
}
}, mobbScanConfiguration)
MobbScanAPI.getInstance().initAPI("YOUR_LICENSE_HERE", this, new LicenseStatusListener() {
@Override
public void onLicenseStatusChecked(MobbScanLicenseResult licenseResult, Date licenseValidTo) {
// Your code for the listener here...
}
}, mobbScanConfiguration);
← Error HandlingPerform face matching with MobbScan →
  • Quality control
  • False positive control
  • Enable or disable controls.
Mobbeel for developers
Product Documentation
MobbIDMobbScanMobbSign
Connect
LinkedInFacebookX
More
FAQContact Us
Mobbeel Solutions SL
Copyright © 2025 Mobbeel Solutions SL