Again I'm uploading my homework...
This is a GUI which enables to load images and train a Hopfield network according to the image.
You can run the network on other images (or add noise to the same image) and see how well it recognize the patterns.
Hopfield neural networks simulate how a neural network can have memories.