Patent ID: 8888003

Claim:
A method for decoding a two-dimensional optical code formed by a preset number of codewords, wherein decoding of said code based on a single acquired image has not been successful, comprising analysing an acquired image and at least one further acquired image of said code to obtain a respective set and further set of values of identified codewords, assigned to said code by said acquired image and by said further acquired image, each codeword being able to take on either an undefined value or a numeric value if said codeword is recognised; creating a combined set of codewords and combining said set and said further set by assigning each codeword of said combined set a value of said set and/or of said further set, wherein said combining comprises, for each codeword of said combined set, comparing corresponding codewords of said set and of said further set and if said corresponding codewords respectively have a numeric value and a further different numeric value and said codeword of said combined set is identified as unreliable, assigning an undefined value to said codeword of said combined set and checking said combined set by applying an algorithm for error detection and self-correction to have confirmation of the successful decoding of said two-dimensional code, said assigning said undefined value making more efficient said checking by said algorithm for error detection and self-correction.