Also not that feasible to implement.
Take a photo of the Road in front of you
Search for the empty area in the photo
If the top portion of the Photo is not heavily populated( still has the color of road), it means that the road is not heavy on traffic.
Based on this decide when to sitch on/off a signal