I need a sensor which can count a fast moving object. I am thinking to use IR beam break sensor. But, I think there will be a problem with the sunlight as the Tx-Rx will be 4-5 meters apart.
I also need to consider the fast response time. IR sensor has better response time than LDR. Am I right?
EDIT:
Consider, the fast moving object is like a soccer ball (a bit smaller than a soccer ball, though). Its speed is between 15ft/s - 60ft/s.