A method for detecting at least one analyte in at least one sample of a body fluid is disclosed. Therein, at least one test element (124) is used, the at least one test element (124) having at least one test field (162) with at least one test chemistry (154) is used, wherein the test chemistry (154) is adapted to perform at least one optically detectable detection reaction in the presence of the analyte. The method comprises acquiring an image sequence of images of the test field (162) by using at least one image detector (178). Each image comprises a plurality of pixels. The method further comprises detecting at least one characteristic feature of the test field (162) in the images of the image sequence. The method further comprises correcting a relative position change between the image detector (178) and the test field (162) in the image sequence by using the characteristic feature, thereby obtaining a sequence of corrected images.