In a medium saucepan, whisk the egg yolks with the flour and vanilla seeds until smooth. Gradually whisk in the milk. Cook over moderate heat, whisking constantly, until thickened, about 5 minutes. Scrape the custard into a medium bowl. Press a piece of plastic wrap directly onto the surface of the custard and let cool.