A method for barcode identification, the method comprising: determining, based on an extraction policy and a predetermined character rule, an identification result of a barcode image, wherein the extraction policy defines an initial row of pixels in the barcode image and a rule for selecting a next row of pixels after a current row of pixels in the barcode image, wherein the determining comprises: selecting, as a current row, the initial row of pixels defined by the extraction policy; extracting the current row of pixels from the barcode image; parsing the current row of pixels to obtain a current character string corresponding to the current row of pixels; and determining whether the current character string satisfies the predetermined character rule and (i) if so, determining the current character string as the identification result of a barcode in the barcode image, and (ii) if not, performing an iteration of: selecting as the current row of pixels a next row of pixels according to the extraction policy; extracting the current row of pixels from the barcode image; parsing the current row of pixels to obtain a current character string corresponding to the current row of pixels; and determining first whether (i) the current character string satisfies the predetermined character rule and if not whether (ii) the current character string is the same as the immediately previous current character string, and if either is true, determining the current character string as the identification result of a barcode in the barcode image, and otherwise continuing the iteration of selecting, extracting, parsing, and determining (S206, S207). selecting, as a current row, the initial row of pixels defined by the extraction policy; extracting the current row of pixels from the barcode image; parsing the current row of pixels to obtain a current character string corresponding to the current row of pixels; and determining whether the current character string satisfies the predetermined character rule and (i) if so, determining the current character string as the identification result of a barcode in the barcode image, and (ii) if not, performing an iteration of: selecting as the current row of pixels a next row of pixels according to the extraction policy; extracting the current row of pixels from the barcode image; parsing the current row of pixels to obtain a current character string corresponding to the current row of pixels; and determining first whether (i) the current character string satisfies the predetermined character rule and if not whether (ii) the current character string is the same as the immediately previous current character string, and if either is true, determining the current character string as the identification result of a barcode in the barcode image, and otherwise continuing the iteration of selecting, extracting, parsing, and determining (S206, S207). selecting as the current row of pixels a next row of pixels according to the extraction policy; extracting the current row of pixels from the barcode image; parsing the current row of pixels to obtain a current character string corresponding to the current row of pixels; and determining first whether (i) the current character string satisfies the predetermined character rule and if not whether (ii) the current character string is the same as the immediately previous current character string, and if either is true, determining the current character string as the identification result of a barcode in the barcode image, and otherwise continuing the iteration of selecting, extracting, parsing, and determining (S206, S207).