Vision-based Path Generation and Pattern Recognition of Shoe-upper for Adhesive Application