An intelligent automatic polishing machine