Detect and scan a PDF417
Some documents, like the Colombian or the Peruvian ones, include a PDF417 code with extra information that can be extracted. For these cases, you can choose to read this code separately from the rest of the document data in order increase accuracy.
PDF417 scan
You just need to use the following method to add the PDF417 step in the scan process:
MobbScanAPI.getInstance().configurePDF417DetectionStep(true)
[[MobbScanAPI getInstance] configurePDF417DetectionStep:true];
Modify timeout
By default, MobbScan
tries to detect the PDF417 for 15 seconds (maximum) and if it does not succeed, then the document regular detection starts. You can setup your own timeout by calling:
MobbScanAPI.getInstance().configurePDF417DetectionStep(true, andTimeoutInSeconds: 20)
[[MobbScanAPI getInstance] configurePDF417DetectionStep:true andTimeoutInSeconds:20];