Infer and imply have opposite meanings. The two words can describe the same event, but from different points of view.
If a speaker or writer implies something, they suggest it without saying it directly:
Ex: The article implied that the pilot was responsible for the accident.
If you infer something from what a speaker or writer says, you come to the conclusion that this is what he or she means:
Ex: I inferred from the article that the pilot was responsible for the accident.