Automatic labeling system integrated with collaborative robot