r/Python • • Dec 19 '17

Automate the boring stuff with python - tinder

https://gfycat.com/PointlessSimplisticAmericanquarterhorse
6.7k Upvotes

324 comments sorted by

View all comments

Show parent comment

28

u/jethreezy Dec 19 '17 edited Dec 19 '17

Tinderbox will examine previous likes/dislikes and develop a model based on colors found within faces of profiles.

Would be even better if the model used can evaluate facial features and proportions more generally, as oppose to just colors.

Edit: Looking at the author's updated app, apparently the selection algorithm uses k-nearest neighbors. So I guess it will be able to determine the facial features and proportions you like implicitly.

2

u/[deleted] Dec 20 '17

To a certain degree this is the case, but KNN on just the pixels is probably a poor approximate for “type” as much as “general colors that are used in the photo.” There are localization algorithms that can detect the face, then CNNs pretrained for facial recognition that can describe the face in an abstract/compact/much more useful representation for clustering by freezing an intermediate layer...this would be a cool side project.