Given an image (with a subject in the foreground, mostly humans), I would like to detect the direction of major light source. something like
https://en.wikipedia.org/wiki/Photographic_lighting#/media/File:Model_in_Field_during_Sunset.jpg
description : The model was lit on the left with a strobe (great if i can detect rough coordinates of the light source, else just “left” is a good start)
Are there any opencv algorithms to do something like this or is there any model supported in tensorflow that help me do something like this ?
I searched in Google and GPT and got some high level pointers, but wondering if anyone has any library or model that they can recommend or any tips on how to train my own model.
Idea Zen is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
2