1. A method of retrieving information comprised in a barcode comprising: detecting whether or not the barcode is present in a first image, the first image being acquired by an image-acquiring device, having a first image quality and capturing a first region, wherein the detecting step is iterated continuously; acquiring by the image-acquiring device, when it is detected that the barcode is present, a second image having a second image quality and capturing a second region, wherein the second image quality is higher than the first image quality, and wherein the second region at least partly overlaps the first region; and decoding the barcode based on the second image to retrieve the information.