iMovie can recognise people, but it’s a two-step process.

First, select an Event in the Event Library, then open the File menu and choose Analyse Video, then People. Make a cup of tea. When it’s finished you’ll see a new, purple, person button at the bottom of the Event Library’s main window.