Does the word "gather" have the same definition in the next two sentences?

I gather from Aunty May that you had a good day at the match.

I gather you have not done your homework.
the same meaning