Programs for object recognition with variable lighting condition