Find sun in the panorama image
Hi, Is there any approach I can follow to find sun in panorama image or lets say segmented sky. I tried to find largest connected component in the sky but it doesn't work always if sun in behind some hill or it is not in picture. Thanks!
You want to find sun when sun is not in the picture?
Isn't the sun always the same colour (pure white)? Find the largest region that consists of all white pixels (or at least close to all white pixels).
It's cheap and effective, but not prone to errors.
If you want to get fancy, from there you can make a rectangle around the all white region and pass it as input to a trained neural network, to classify between sunny pictures, partially sunny pictures, and no sun pictures.
It's not perfect... there could be false classifications.
Lets assume, Sun is in the picture. It's a panorama image. But think about the scenarios like
Etc. etc. I want to predict it accurately in all the cases
Currently, I am thinking to apply yolo for this. But I need to prepare a lot more data for this task. So checking if any computer vision approach exists!
Yes the more pictures you have for training, the better, usually. YOLO looks cool, no pun intended. Best of luck.