Scientists at Israel’s Technion Institute have developed a program and algorithm for estimating the fruit content of an apple tree. The program searches nighttime photographs of illuminated apple trees, counting glints in the foliage from light reflecting off the shiny fruit.
http://www.sciencedirect.com/science/article/pii/S016816991500112X