1. A method of detecting a barcode in an image, comprising: partitioning an image captured by an image capture device into a plurality of subimages; determining the plurality of subimages that contain at least a portion of the barcode, comprising: filtering the plurality of subimages using a parallel line filter, comprising: quantizing edge pixels contained in a subimage into one of a predetermined number of bins corresponding to an angular direction of an edge pixel gradient; and selecting a region of the image containing the barcode, comprising the plurality of subimages that contain at least a portion of the barcode.