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

The continuing search for ethical AI

6 Digital Transformation Trends That are Going to Shape 2020

The Future of Artificial Intelligence & Machine Learning

A picture is worth a thousand words….what are two billion messages worth?

Forecasting The Future of Robotic Process Automation

How I built Wheretoeat — A Facebook Chatbot: Part 1

AI-Powered Data Centers: A Technological Romance to Behold

The fears of the AI era. Where Ethics is Needed?

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

Bear Classification: From Data Collection to GUI for Model Inference


Posterizing Images using KMeans Clustering (color compression)

Dog Breed Classification using CNN

Neural Network From Scratch in Python pt-5 (softmax function) + code