Automatic laser welding machine classification