Mathematical Proof That Your Senator Is Miserable

Illustration for article titled Mathematical Proof That Your Senator Is Miserable

If you've ever thought your senator was a crotchety old curmudgeon, well, they might be: hey, it's a stressful job. But now, thanks to facial recognition software, a collection of senator photographs and some coding, you can tell exactly how smiley they are.

Dan Nguyen, a developer and journalist at ProPublica, has hacked together some software tools with a database of all our current senators' mugshots to see who's the smiliest, and who's the most miserable.

He used Sunlight Labs' Congress API and The New York Times' Congress API to gather the images, and then used Face.com's facial detection to break them down according to "face coordinates". Those face coordinates were then used to measure how smiley each senator was. Aww.

Advertisement

So, what do the result looks like? Check through the gallery above, where Nguyen has complied the smiliest, frowniest and, perhaps most amusingly, the most ambiguous smilers.

In terms of interpretation, Hutchison looks startled, Coons looks like I just told him I slept with his daughter, Bingaman looks confused, and McCain, well, McCain still looks creepy. All extremely valuable civic insight.

But silliness aside, it's a neat example of what can be done with a few APIs, a little bid of coding and a fun idea. You can even download the code, here. Good work, Dan. [Dan Ngyuen via The Atlantic; Images: Dan Nguyen, using images provided by Sunlight Labs' Congress API, and Arkansas Senate.]

Illustration for article titled Mathematical Proof That Your Senator Is Miserable
Advertisement
Illustration for article titled Mathematical Proof That Your Senator Is Miserable
Illustration for article titled Mathematical Proof That Your Senator Is Miserable
Advertisement

Share This Story

Get our `newsletter`

DISCUSSION

StarControl

Miserable huh? Those fat paychecks, contributions, free travel, car, security, big ol' houses, cushy jobs, amazing medical, and so on and so on sure can make someone miserable.

People with 3 jobs so they can maybe make their rent payment and feed their kids, with no medical care, and unable to remember the last time they took a vacation are what then? Happy?

You know what those smiles say to me? - "I'm a smug son-of-a-bitch and I don't really give a rat's ass about the general population as long as I'm well off".

Sadly that's not just in the states but pretty much all over the world.