AI Sorting Hat’s 16 houses by frontal face, inspired by Harry Potter’s Sorting Hat(

Remember this ”Sorting Hat” from Harry Potter? I wanted to make this kinda magic by TensorFlow and somehow… It worked or Azure free tier is on for my non-commercial personal toy project, so the throughput might not be fast

e.g. If you upload any frontal face included image(straight face is better), returns proportion of 16 houses that I classified from data collected from web. for example result link:) you can share this link too

I pre-proccessed and trained till I get the house of ‘elec’(electronic) with Satya Nadella’s test input image, because it interestingly worked without training his images.

Besides any controversy, I just collected and trained the “AI sorting hat” with no interest of collecting personal data; only collected the face images and the majors(texts) from web. The only intriguing question was if the transfer-learned model can guess the majors by faces well, that human can’t do. Nothing else was needed.

If feedback of “actual house” piles up, I’ll train again the model with augmented images for solving another question; Model can guess better with more images? Let’s see about that :)




NAVER & LINE Software Engineer

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

8 Dimensions of High-performing AI Organizations

Envisioning Tesla like driverless automation for loan origination

Of Values, Robots and Trains — Five Souvenirs from Japan

The Top 5 Reasons Every Business Needs a CHATBOT

Honda invests in’s $30M Series B

Arize AI Is Growing!

Bias In Algorithms

How Is TikTok Advancing In The Field Of AI Faster Than Other Companies?

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Juhyeon Kim

Juhyeon Kim

NAVER & LINE Software Engineer

More from Medium

PyTorch basics: The only guide you need to get started — Part-1

Hyper-Parameter CNN:A Curse

Deploying AI Models on Edge using OpenVino

Getting Started PyTorch