generate an image coffee counter using the source image as a reference