1. A barcode reader, comprising: a first lens assembly having a first field of view; a targeting illumination system that projects targeting illumination into the first field of view; calibration data indicating a plurality of feature offsets of the targeting illumination, the feature offsets corresponding to a plurality of calibration distances; and instructions executable by a processor to: cause an image of a barcode to be captured while the targeting illumination system is activated; determine an offset between distinct features of the targeting illumination in the image; determine an estimated barcode distance based on the offset between the distinct features of the targeting illumination in the image and the calibration data; and use the estimated barcode distance to select at least one operating parameter of the barcode reader.