A processor-implemented light source information output method includes: receiving an input image; detecting, using a trained neural network, at least one object in the input image; estimating, using the trained neural network, light source information of a light source corresponding to the at least one object; and outputting the light source information.