Real-time template matching based on gradient direction vector product | IEEE Conference Publication | IEEE Xplore