Better algorithm for PDF417 detection