Scientists hope it could be used to reconstruct a person’s inner thoughts, mental images or even their dreams.