Detecting robots and balls