The ability to read a person's thoughts may not be science fiction for much longer.