Detect and scan a PDF417
Some documents, like Colombian or Peruvian ID cards, include a PDF417 code with extra information that can be extracted. For those cases, you can choose reading this code separately from the rest of the document data in order to achieve better accuracy.
Extra configuration
When using the MobbScan SDK from Mobbeel's Maven repository, Gradle resolves the ZXing dependency transitively. No additional dependency is required. For legacy ZIP/AAR distributions, follow the dependency instructions included with that SDK package.
PDF417 scan
To enable the PDF417 step in the scan process, use the following method:
MobbScanAPI.getInstance().configurePDF417DetectionStep(true);
Modify timeout
By default, PDF417 detection tries the detection for 10 seconds (maximum) and then passes to the document detection step even if PDF417 decoding was not successful. You can set up your own timeout (in seconds) by calling:
MobbScanAPI.getInstance().configurePDF417DetectionStep(true, 20);
