AI visual inspection system for valve bag making machine