[pdf417.embeddedframework] fixed bug in decoding some barcodes; more stable barcode detection