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 (S201) the current row of pixels from the barcode image; parsing (S202) the current row of pixels to obtain a current character string corresponding to the current row of pixels; and determining (S203) whether the current character string satisfies the predetermined character rule and (i) if so, determining (S208) the current character string as the identification result of a barcode in the barcode image, and (ii) if not, performing an iteration of: selecting (S204) as the current row of pixels a next row of pixels according to the extraction policy; extracting (S204) the current row of pixels from the barcode image; parsing (S205) the current row of pixels to obtain a current character string corresponding to the current row of pixels; and determining first whether (i) (S206) the current character string satisfies the predetermined character rule and if not whether (ii) (S207) the current character string is the same as the immediately previous current character string, and if either is true, determining (S208) the current character string as the identification result of a barcode in the barcode image, and otherwise continuing the iteration of selecting (S204), extracting (S204), parsing (S205), and determining (S206, S207). selecting, as a current row, the initial row of pixels defined by the extraction policy; extracting (S201) the current row of pixels from the barcode image; parsing (S202) the current row of pixels to obtain a current character string corresponding to the current row of pixels; and determining (S203) whether the current character string satisfies the predetermined character rule and (i) if so, determining (S208) the current character string as the identification result of a barcode in the barcode image, and (ii) if not, performing an iteration of: selecting (S204) as the current row of pixels a next row of pixels according to the extraction policy; extracting (S204) the current row of pixels from the barcode image; parsing (S205) the current row of pixels to obtain a current character string corresponding to the current row of pixels; and determining first whether (i) (S206) the current character string satisfies the predetermined character rule and if not whether (ii) (S207) the current character string is the same as the immediately previous current character string, and if either is true, determining (S208) the current character string as the identification result of a barcode in the barcode image, and otherwise continuing the iteration of selecting (S204), extracting (S204), parsing (S205), and determining (S206, S207). selecting (S204) as the current row of pixels a next row of pixels according to the extraction policy; extracting (S204) the current row of pixels from the barcode image; parsing (S205) the current row of pixels to obtain a current character string corresponding to the current row of pixels; and determining first whether (i) (S206) the current character string satisfies the predetermined character rule and if not whether (ii) (S207) the current character string is the same as the immediately previous current character string, and if either is true, determining (S208) the current character string as the identification result of a barcode in the barcode image, and otherwise continuing the iteration of selecting (S204), extracting (S204), parsing (S205), and determining (S206, S207). <EOS>