Title: Flexible intelligent robot vision system for the confectionery industry