A former neurosurgery resident at OSF in Peoria has pleaded guilty after hiding a video camera in an employee bathroom.