Real-time FPGA-based template matching module for visual inspection application | IEEE Conference Publication | IEEE Xplore