Feature matching by Hopfield type neural networks