Robust counting of engine blades in aircraft engine video endoscopy