A method of measuring ink film thickness, comprising:
- causing the target object to be placed at a first position;
- capturing a first set of calibration images of the target object at the first position, the first set of calibration images including a first calibration image at the first position and a second calibration image at the first position, the first calibration image at the first position captured using the first light source that shines perpendicular to the target object at the first position, the second calibration image at the first position captured using the second light source that shines at the angle to the target object, wherein the second light source casts a first calibration shadow on the target object at the first position;
- comparing the first calibration image at the first position and the second calibration image at the first position to determine a magnitude of the first calibration shadow;
- causing the target object to be placed at a second position;
- capturing a second set of calibration images of the target object at the second position, the second set of calibration images including a first calibration image at the second position and a second calibration image at the second position, the first calibration image at the second position captured using the first light source that shines perpendicular to the target object, the second calibration image at the second position captured using the second light source that shines at the angle to the target object, wherein the second light source casts a second calibration shadow on the target object at the second position;
- comparing, by a processor, the first calibration image at the second position and the second calibration image at the second position to determine the magnitude of the second calibration shadow;
- determining, by the processor, a distance between the first and second calibration shadows;
- determining, by the processor, a height of the second light source and a position of the second light source based on the distance determined;
- capturing a first image of a target object using a first light source that shines a first light perpendicular to the target object, the target object being a layer of ink droplets;
- capturing a second image of the target object using a second light source that shines a second light at an angle to the target object, wherein the second light source casts a shadow on the target object;
- comparing the first image and the second image to determine a magnitude of the shadow of the target object;
- and
- determining the ink film thickness based on the magnitude of the shadow.