Java project to evaluate the depth of field of a shot