1. A device for detecting at least one analyte in a bodily fluid, comprising: a test element having a two-dimensional evaluation region; and a spatially resolving optical detector having a plurality of pixels, the detector being configured to image at least part of the test element onto an image region and to image at least part of the evaluation region onto an evaluation image region; wherein: the detector is matched to the test element such that a predetermined minimum number of pixels is provided for each dimension within the evaluation image region; the pixels are arranged in a two-dimensional matrix having pixel rows and pixel columns; and the pixel rows are arranged substantially parallel to a longitudinal direction of at least one of the evaluation region or the evaluation image region.