Most exporters perform random checks on their produce. Israeli fruit exporter Eshet Eilon inspects every piece of fruit for quality and ripeness. It uses spectral imaging at a rate of five tons an hour and rejects anything that contains disease or fungus.
http://www.timesofisrael.com/how-much-fat-in-that-avocado-israeli-machine-knows-for-sure/