The invention relates to a testing device for optically checking objects for authenticity, in particular for checking whether objects have a predetermined,
machine-readable code-encompassing security marking with known
fluorescence properties. The test device includes a lighting unit designed and arranged to illuminate an object to be tested with
electromagnetic radiation - preferably light visible to the
human eye - in a first,
fluorescence-stimulating
wavelength range. The test device comprises an area sensor with a plurality of light-sensitive sensor elements and an imaging optic which is designed and arranged to project an image of an object onto the area sensor, wherein the area sensor is designed to output an
image signal representing an image projected onto the area sensor. The imaging
optics comprise an
optical filter in the form of a high-pass or low-pass filter, in particular an
edge filter, which is configured to block
electromagnetic radiation in the first,
fluorescence-exciting
wavelength range, in particular to absorb it, and to transmit light in a second
wavelength range, wherein the second
wavelength range comprises wavelengths corresponding to expected fluorescence and wherein the second
wavelength range does not overlap with the first
wavelength range. The test device is designed to detect the
insertion of an object, to check images of the object represented by image signals from the area sensor, and to reject an object if one or more test criteria are not met, or to accept it if the test criterion(s) are not met. The testing device is further designed to identify a security marking on an object and to test a found security marking with regard to its fluorescence properties.