Real-time visual tracking based on improved perceptual hashing