I suspect the answer is in facial recognition. Its clear the Instagram company is about social networking using photos and I suspect facial recognition is a larger part of that
FB already have strong abilities in that direction. Buying the company stops rival technology going to Google or Microsoft, and adds a new arm to the FB empire