Automatic optical inspection based on Industry 4.0 for machine tool calibration and process