Learning to Cartoonize Using White-Box Cartoon Representations
github.com
github.com
This cartoon filter still has the same issues as previous attempts, which is:
- omitting borders that are semantically important but have a low color gradient
- not collapsing small areas into lines
For the first issue, there's an example image of a picnic on white background. A human cartoonist would most likely draw a full outline around the white spoon, because it is important for conveying the type of object that this is supposed to be. With this algorithm, the spoon gets partially merged with the white background and without the reference photo I would have a hard time identifying it as a spoon.
For the second issue, kook at the photo of the Asian girl with patterned skirt. A human cartoonist would most likely observe the regular grid pattern and replace it with thin lines, thereby communicating that all of it is one same thing. This algorithm, on the other hand, treats each tile of the pattern individually, thereby making it look more like a crystal or crumbled foil.
I personally also prefer white-box algorithms, but there's no denying that creating a cartoon requires a lot of prior knowledge about which features to retain as important and which features to abstract away. As such, I see the real challenge in somehow producing good saliency training data for millions of images. I mean ideally you would want the 5 year video stream plus eye tracking data of a baby starting to grow up...
Something similar is going on with the photo of the merlion statue. The entire body is scaled, and a cartoonist would definitely represent that. But (because of lighting?), the algorithm renders the tail smooth instead of scaled.
https://onezero.medium.com/we-finally-figured-out-who-makes-...
E.g.,
https://medium.com/beyondminds/an-introduction-to-super-reso...
As for input data to models, my intuition is that they would be tainted by the copyright of the input images. It's just that nobody has a bot for scanning AI models for their photographs, so you don't see a lot of litigation or DMCA takedown requests here. It's easy when someone just uploads your photo to their website. It's hard when the photo contributes some weights to a neural network.
My main takeaway is that copyright is very imperfect. It doesn't allow for any unsolicited enhancements of someone else's work.
https://en.wikipedia.org/wiki/Barack_Obama_%22Hope%22_poster
I think human faces and bokeh could use some improvement.
The former seems especially tricky; showing or hiding certain lines might change the perceived emotion and result in a different image.
If you make an imaging effect, please make sure it works at all scales. And I'm also looking at you bokeh-folks ;)