Powering a Raspberry Pi from 12 V DC
Your schematic is wrong and will not work, because there is no DC current path through the capacitor into the 5V rail. Confusingly the Fritzing diagram seems to be different and gets it right.

Stylistic criticism: normally you would put the positive power rails at the top and ground at the bottom, with the regulator as a T-shape in the middle.