Inspecting the exterior surface of cylindrical bodies or wires