A method of producing barcode locations within a document comprising providing an original digital image of the document; using a processor for producing a normalized image from the original digital image; producing a gradient image from the normalized image; producing a plurality of bounding boxes from the gradient image; and producing bounding box test results by testing each bounding box for the presence of a barcode; and producing barcode locations within the document from the bounding box test results.