TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

AnimeGANv2: Convert Face Portraits into Anime

180 pointsby aliabdover 3 years ago

27 comments

ksecover 3 years ago
May be those examples should have instant results? I guess most people are just clicking them to see what it looks likes instead of waiting 100s.<p>Most of them look like photoshop filter as per other comments, but IU and Billie Eilish definitely looks good.
评论 #29167267 未加载
评论 #29169194 未加载
评论 #29170238 未加载
webmavenover 3 years ago
Like many other comments, I don&#x27;t see much resemblance to anime styles, but dismissing the results as a Photoshop filter is nuts.<p>The animation style this does look like is that of 2006&#x27;s A Scanner Darkly, or 2019&#x27;s Undone.
评论 #29165192 未加载
评论 #29170730 未加载
aliabdover 3 years ago
This was built on top of the Pytorch implementation [0] of AnimeGANv2, using gradio [1] and HuggingFace Spaces [2]. See the 100s of examples [3] posted by users.<p>[0]: <a href="https:&#x2F;&#x2F;github.com&#x2F;bryandlee&#x2F;animegan2-pytorch" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;bryandlee&#x2F;animegan2-pytorch</a> [1]: <a href="https:&#x2F;&#x2F;gradio.app" rel="nofollow">https:&#x2F;&#x2F;gradio.app</a> [2]: <a href="https:&#x2F;&#x2F;huggingface.co&#x2F;spaces" rel="nofollow">https:&#x2F;&#x2F;huggingface.co&#x2F;spaces</a> [3]: <a href="https:&#x2F;&#x2F;twitter.com&#x2F;ak92501&#x2F;status&#x2F;1457033482115420160&#x2F;retweets&#x2F;with_comments" rel="nofollow">https:&#x2F;&#x2F;twitter.com&#x2F;ak92501&#x2F;status&#x2F;1457033482115420160&#x2F;retwe...</a>
评论 #29163603 未加载
coldacidover 3 years ago
Tried a headshot of myself framed like the example pictures and all I got was something that looked like it was bombed by effects out of Paint.NET. Definitely looked nothing like an anime character.
评论 #29166190 未加载
snvzzover 3 years ago
A gallery of examples would be nice.<p>Else, it&#x27;s too much effort. People are gonna just close the browser tab, like I did.
评论 #29163404 未加载
评论 #29165009 未加载
ameliusover 3 years ago
Nice, but the problem I have with this and similar techniques is that if you zoom out sufficiently far, then you don&#x27;t see a difference with the original image. This is not how &quot;anime&quot; is supposed to work.
评论 #29164151 未加载
kroltanover 3 years ago
Great, now I can generate random cartoon portraits by combining this with <a href="https:&#x2F;&#x2F;www.thispersondoesnotexist.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.thispersondoesnotexist.com&#x2F;</a><p>I do second the observation that this isn&#x27;t nearly &quot;Anime&quot; style by any definition or sample of the style I&#x27;ve ever seen. I would expect to see these results in a GTA 5 loading screen.
DrSiemerover 3 years ago
Excellent, I was hoping something as accessible as this would appear to play around with this type of model!<p>Those that dismiss this as nothing more than a few filters are missing the finer details of what it actually does. There is a lot of targeted tweaking, like removing double chins and other old age artefacts. There are small embellishments, like adding a twinkle to the eyes or lip gloss where none was present before. The direction of a gaze is fixed towards the camera. And of course, although it&#x27;s more cartoon style than anime, the eyes do become bigger.<p>The quality of your results depends on how appropriate your input is. Try something that has the potential to be Disney and you will get great results.<p>Sure, you could (with enough practice) get similar results by manually editing a photo. But the beauty of this type of conversion is that it allows for near instant effortless experimentation and (after some other improvements) application to sequenced frames.<p>The active model does lean towards feminizing and westernizing the subject. Mustaches are removed and an Asian subject will receive wide open blue eyes every now and then.
grammarnazzziover 3 years ago
Viewing these images remind me a lot of caricature portraiture.<p>As with real artwork, the eye is drawn to embelishments, exagerations, and simplification and directed by composition.<p>In pieces by a competant artist, these add a new level of interest and dimension to the piece.<p>With these images, following what makes each image is always a dead end. There is no composition and the embelishments are mechanical, random and uninteresting.<p>For example, I find myself wondering why the the artist chose to paint the mouth so asymetrical. Is the artist trying to express an emotion? Who is the subject, and why have the been rendered as they have. It&#x27;s confusing and a challenge to critique the artwork... until I realize its just bit of randomness generated by algorithm incapable of any creativity beyond how the programmer applied generic and randomizing programming methods.<p>There isn&#x27;t and cannot be anything unique to any of the images. Once you&#x27;ve studied any one of them, you&#x27;ve really experienced most of what the programmer&#x2F;artist has contributed.
esjeonover 3 years ago
One big mistake is that this is not anime. This is obviously comic-style, which is more realistic, and, in turn, closer to automated filtering.<p>Note that Japanese anime normally uses a much simplified style to increase the production speed. This naturally results in a highly distorted(?!) depictions that even humans often find disturbing. This makes anime-style difficult to mimic.
bj-rnover 3 years ago
Remided me of &quot;Waifu Synthesis- real time generative anime&quot;: <a href="http:&#x2F;&#x2F;everyoneishappy.com&#x2F;portfolio&#x2F;waifu-synthesis-real-time-generative-anime&#x2F;" rel="nofollow">http:&#x2F;&#x2F;everyoneishappy.com&#x2F;portfolio&#x2F;waifu-synthesis-real-ti...</a>
Pxtlover 3 years ago
Ugh, it doesn&#x27;t properly respect EXIF rotation tags so if I try to post from my phone it gets mangled. EXIF rotation has got to be the most absurdly poorly supported feature of a common file type like jpeg.
messoover 3 years ago
The example with Bill Gates at the bottom is wild! The &quot;teardrop&quot; under one of his eyes makes it slightly gangster, and the smooth face and awkward smile reminds me of a much younger Bill. Fascinating.
ur-whaleover 3 years ago
I&#x27;d be curious to see how well &#x2F; stable this behaves under animation.
评论 #29164674 未加载
drystover 3 years ago
Lol @ the Bill Gates to middle aged woman with teardrop tattoo.
评论 #29169272 未加载
chillingeffectover 3 years ago
at first the result disappointed me (emotionally, not technically), but after a few minutes I went back to it and was struck by the feel the image brought out. It really reflected some of the wistfulness and sadness I feel with a tiny touch of optimism. I&#x27;m not well-versed in anime, but that does seem to be a little bit of the feel that I get from it. bravo.
Mumpsover 3 years ago
Not anime _per se_, but the toon-me [0] project gives much more stylistic outputs. I&#x27;ve really enjoyed making some home art with it (and the prior ArtLine).<p>[0] <a href="https:&#x2F;&#x2F;github.com&#x2F;vijishmadhavan&#x2F;Toon-Me" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;vijishmadhavan&#x2F;Toon-Me</a>
wintermutestwinover 3 years ago
I found that it did an awesome job on some photos and messed up some. When it messed up, it generally made mouths look way too distorted. I also thought it was funny that it turned obviously green eyes blue. Overall, I think it is a fun implementation, but it would be much better to have a larger output file.
remramover 3 years ago
Waited 10min then got an error.
评论 #29164714 未加载
评论 #29164579 未加载
wodenokotoover 3 years ago
I thought the selfie to waifu generator created much more interesting and anime like results.<p>It does look like it doesn’t work anymore though.<p><a href="https:&#x2F;&#x2F;waifu.lofiu.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;waifu.lofiu.com&#x2F;</a>
rbobbyover 3 years ago
I did my &quot;corporate&quot; picture and it came out looking like I had been badly beaten and with really bad teeth (100 years of coffee and cigarettes). Bit of a blow to the self-esteem.<p>Just not anime material I guess.
peterthehackerover 3 years ago
Tried with Elon and Gates, but both threw this error<p><pre><code> Error occured while trying to proxy: hf.space&#x2F;</code></pre>
评论 #29164696 未加载
GhettoComputersover 3 years ago
Who decided this was anime? It doesn&#x27;t look like any anime I have ever seen, it just looks like a smoothing filter. It looks more like a toonme but not as good and maybe more private? For referece look at this waifu generator, nobody would call these portrait conversions anime. <a href="http:&#x2F;&#x2F;thiswaifudoesnotexist.com&#x2F;" rel="nofollow">http:&#x2F;&#x2F;thiswaifudoesnotexist.com&#x2F;</a>
rbobbyover 3 years ago
Bill Gates comes out looking a bit like Ellen DeGeneres.
codeinover 3 years ago
Did not manage to get any result. Is the service down?
bobobob420over 3 years ago
Unless this is open source and I can run all of the code locally with no internet connection I am not doing this. Am I too paranoid?
评论 #29167254 未加载
TulliusCiceroover 3 years ago
Interesting, you can see how it feminizes faces quite clearly in the examples of Bill Gates and Elon Musk. Gates looks kind of like Ellen DeGeneres to me in the anime version.
评论 #29170650 未加载