Show HN: Face Maker AI. Sketch to create photorealistic faces
massless.io
massless.io
This generator expects realistic proportions, in a big way. If you try to create giant anime eyes you're liable to find they have become mouths, even though you colorcoded them to be eyes. Auxiliary eyes seem more do-able. Mouths that are too small and eye-shaped become eyes: ambiguous shapes become who knows what. Fun ensues :)
The generator's doing interesting things with the overall contour of the face. It'll shade pretty realistically for whatever you make; the thing is, you have to be a good artist to understand what the REAL shape of, say, a nose is. If you think 'triangle' or any sort of abstraction you get monster creations: if you go for a roughed-in representation of ALL the real features of a nose covering the real areas you get something pretty realistic. That shape will look very strange to a non-artist because we don't think of a nose as having all those features.
It seems like the colors aren't nearly as important as the shapes and sizes and positionings are. That might be a useful observation. Right now, it's monster fuel but there's also an interesting 'can you REALLY draw a nose, or do you only think you know what a nose is shaped like?' factor. Again, I can't tell if the colors even mean anything but you've got to get REAL close to the actual dimensions of facial features (and scale!) to get remotely photoreal results.
Of course the monstrosities are perhaps even more fun… because the generator will try its best to contextualise them against the background of what a real face would be shaped like to account for those departures. I would enjoy a slower and more painstaking version of this along the same lines.
Thanks for the nightmares… and insights! I'll take my very creditable photoreal nose and be off now :)
I am still trying to get the production servers back, however, our unstable ones do seem to be holding for now.
1. Clear to background button
2. Brush sizes
3. Don't regenerate while the mouse is down, wait for mouse up
This works by using a “segmentation map”. Deep Learning models are really good at performing per pixel labelling.
You’ve probably seen the Remove Background tools that classify parts of the image either as background or foreground to make an alpha mask. But we don’t have to stop at two classes. We can classify an image with much more detail such as what parts contain an Eye, Ear, Nose, Mouth… etc. Passing an image of a face to a ML classification model can return a so-called “Segmentation Map”, which assigns a unique color to each class of facial feature. This kind of object detection is commonly used in computer vision for manufacturing assembly lines, but we want to use it for art...
Now this is where it gets interesting, we can play this in reverse, give the ML model a segmentation map, and use a GAN to generate the most convincing image of a face that it can (given the dataset it was trained on).
The really cool thing is that this isn’t limited to just faces, you can do this with landscapes, buildings, cars, cats you name it. Anything where you can train a model by classifying the segments or "features" of an image.
Now seeing "redirectUri: "https://massless.io/app/auth" in console and spinner.
You should prob just always show the same image and cache the result, so the site can always load. Or randomize in a fixed set of 10 if you really like the randomization part.
Basically the user paints where they want a feature to be using a colour. The AI replaces the colour with a feature and makes sure that any features touching eachother blend together beautifully to create a believable human face.
- on which dataset was it trained?
- how big is the model?
and finally: can one compare the result to just picking the closest faces from the training set?
The model is learning the features that make a convincing face, and generating a synthetic face from those (controlled by the segment map), similar to Nvidia's GauGAN.