AVFoundation Barcode Scanning Resilience

Hi There

We are scanning PDF417 barcodes using AVFoundation, but are finding that it cannot scan barcodes that contain artefacts. Particularly vertical lines from the printer.

Other libraries and terminal scanners can pick up these barcodes.

Is there a way to improve this with AVFoundation? Or do we need to use a different library?

Many Thanks