take a photo of vs take someone's photo

take a photo of

take someone's photo

How often have the words take a photo of and take someone's photo occurred in a corpus of books? (source: Google Ngram Viewer )