method comprises detecting that the barcode is present in a first image having a first image
quality and cap turing a first region, acquiring, 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 …