8 ms·
What Anime CLI?
- irevenko 6y agoFind the anime scene by image using your terminal This application is basically a wrapper around trace.moe
- paule89 6y agohad to dig into the repo to come to the same conclusion. My first thought was, wow for your first go app you really implemented image recognition for all ever available anime? And soon realised it must just link to a web service which already does this or he has his own webservice somewhere with much more cpu power than a tiny cli app.
- irevenko 6y agoyes
- Blikkentrekker 6y agoI was going to say that I find it oddly specific to limit such a search technology on an image on so-called “anime” only, and now I will say that of this “trace.moe”. I don't understand why so many websites and services do this; it's really silly. On 4chan, various trolls love to make topics that test the definition to see if they are removed by being very technical with it. I also tried trace.moe on The Wonderful Adventures of Nils, which is one of the most commercially successful “anime” of all time and it produced no results. So as the title suggests, perhaps it's one of those websites that says “anime”, where it actually simply means “moe art”.
- Xi_Bprime 6y agoIs it really silly though? The author of trace.moe has to label and store each anime episode somewhere, and use CPU power provided for free to search through these indexes. Adding regular TV series and movies to this dataset could really dirty what gets returned when the service is just about letting someone find out what anime some screenshot is from. The FAQ says they've indexed most of post-2000 anime and very little of 80s and 90s anime. It mentions you can even use a similar drawing of the scene to get a match, due to the method they're using!
- Blikkentrekker 6y ago> Is it really silly though? The author of trace.moe has to label and store each anime episode somewhere, and use CPU power provided for free to search through these indexes. Adding regular TV series and movies to this dataset could really dirty what gets returned when the service is just about letting someone find out what anime some screenshot is from. I simply quæstion the sanity of delimiting the search to animated works from a single country, and as I pointed out since it can't find something from Nils, it isn't really about that. > The FAQ says they've indexed most of post-2000 anime and very little of 80s and 90s anime. It mentions you can even use a similar drawing of the scene to get a match, due to the method they're using! It also couldn't find anything from The Spirits Within and Advent Children, so it's really not about “animation from Japan” but about specific art styles, it seems.
- yreg 6y ago>so it's really not about “animation from Japan” but about specific art styles, it seems. Yes, the one colloquially known as anime.
- Blikkentrekker 6y agoIf only the reality weren't that most sources using that ridiculous term are highly inconsistent about the meaning and use it with two different meanings in the same paragraph. If “moe art” be what one means, then simply use that word; — there is already a perfectly good word for it.
- naniwaduni 6y agoA phrase that essentially nobody else uses to mean what you want it to mean is hardly a perfectly good word for a concept. Feel free to popularize it on its merits first, then we can talk.
- numpad0 6y agoThe truth is there’s no single concrete word exist for the category. Some suggest “moe art”, some say “anime”, some say “hentai”, etc. but each is interpreted differently and not inclusive nor popular.
- hokumguru 6y agoThis is insane tech
- xcambar 6y agoI used to think that about Shazam. I had no reasonable idea about how it worked, so much so it really felt like magic (there's a quote to be put here, which I can't find the author here. HN help me). My 2c of an advice: uncover the magic, learn the innerworkings of such methods. It is a much stronger and more powerful feeling than the "wow" effect you're having right now.
- malikolivier 6y ago> so much so it really felt like magic (there's a quote to be put here, which I can't find the author here. HN help me). "Any sufficiently advanced technology is indistinguishable from magic." Arthur C. Clarke :)
- xcambar 6y agoha ha, thanks, I knew the HN crew couldn't disappoint on this :)
- soruly 6y agoThis presentation briefly describes how it works https://go-talks.appspot.com/github.com/soruly/slides/2018-06-whatanime.ga.slide#5 https://go-talks.appspot.com/github.com/soruly/slides/2018-0...
- Hamuko 6y agoI'm surprised that trace.moe only needs 430 GB of data to work as well as it does.
- soruly 6y agoBy default, it only requires the colorLayout database to work (which is just 133GB). You can see my presentation here: https://github.com/soruly/slides/blob/master/2020-12-trace.moe.md#data https://github.com/soruly/slides/blob/master/2020-12-trace.m...
- kornbattery 6y agoThe message >NOTE: MAKE SURE THAT YOUR LINKS ENDS WITH .IMAGE_FORMAT AND DOESN'T HAVE ANY & CHARS AFTER BECAUSE THIS SYMBOL IS RESERVED BY GOLANG Makes me a bit uncomfortable with it. Shouldn't input sanitization be one of the first things to consider when doing user-facing applications?
- laumars 6y agoThe file names are ingested as a string so there is no way they’re being interpreted by the Go runtime (and in fact, Go being a AOT compiles language rather than a dynamic one means it wouldn’t be possible for file names to conflict like described in the readme). This suggests to me that the author is misunderstanding why ‘&’ causes POSIX shells to do weird things. I think what’s happening is the author tried a web URI that had an ampersand in, Bash then background the process and the author panicked thinking the Go runtime was parsing the ampersand rather than his or her $SHELL.
- bawolff 6y agoSo in other words, OP's gut "Makes me a bit uncomfortable" is an understatement.
- guessmyname 6y ago> I think what’s happening is the author tried a web URI that had an ampersand in, Bash then background the process and the author panicked thinking the Go runtime was parsing the ampersand rather than his or her $SHELL. Yes, this is exactly what happened. The author says this is one of their first Go projects, which explains their misunderstanding. They still have a lot to learn, not only about Go but Bash as well. That being said, I am happy to see new programmers learn new things, especially in one of my favourite programming languages.
- laumars 6y agoI remember a couple of years ago, one project also took file paths as a parameter and supported multiple parameters. In the readme the author stated that they hadn't yet written support for wildcards (globing) so each file needed to be included manually. There were surprised and pleased when I raised an "issue" pointing out that actually they get globing for free with their $SHELL. That experience really made me appreciate just how varied developers experiences were with the command line and also appreciative that people are still writing tools and happy to share them with the community even when they're not 40+ year old UNIX grey beards. It's good to see fresh folk adopt TUIs.
- tcmb 6y agoNow use it on https://news.ycombinator.com/item?id=25836085 https://news.ycombinator.com/item?id=25836085
- irevenko 6y agoIs there an API?
- sentaku 6y agoamazing!! this is what i; looking for thank you.
- beyondcompute 6y agoYes! One of the most relevant and useful projects!
- irevenko 6y agosarcasm
- sudosteph 6y agoCool! A few of my friends have dragged me back into watching anime, so anime related side projects are fresh on my mind. This seems like a great use case for a discord bot too. My big want is a fluff eliminator API. Like a service where people can define timestamps of where the actual good stuff is on a per-episode basis. Then a wrapper service that displays just the slimmed down episode portions chained together. But I don't know if the YouTube API or others even support stuff like that.
- chaorace 6y agoI suspect you could make some progress on a "fluff eliminator" by leveraging the existing "sakuga" database[1]. "Sakuga", in this context, meaning the well animated parts. After all, there's a fairly strong correlation between high-importance scenes and overall framecount, which makes sense when you consider that frames are the main currency animation studios work with. [1]: https://www.sakugabooru.com/post https://www.sakugabooru.com/post
- karatinversion 6y agoI don't think this approach would work. It's quite common to have long-ish dialogue scenes with lower-grade animation, and save the high-quality work on scenes with interesting things to look at happening on the screen. As an example, the final conversation between Okabe and FB in Steins;Gate is really not good animation, but it is crucial to the plot, and the dialogue and voice acting still make it a very impactful scene.
- chaorace 6y agoYou are, of course, correct. It's not exactly a bulletproof heuristic. At best, you'd probably only be able to identify likely filler episodes, as opposed to filler scenes. A truly sophisticated approach capable of identifying filler scenes would probably involve machine learning using data that's not (to my knowledge) actually available to the public, like engagement/watchtime statistics.
- aidenn0 6y ago
- nudpiedo 6y agoPlease change title to "Show HN:"
- irevenko 6y agowhy
- chaorace 6y agoIf you're posting your own pet projects, rules[1] state you are supposed to use the "Show HN" moniker. This is mostly a matter of consistent tagging and algorithmic binning, IIUC. [1]: https://news.ycombinator.com/showhn.html https://news.ycombinator.com/showhn.html
- irevenko 6y agomy bad
- mzs 6y agoI'm surprised how bad trace.moe is, I supplied a screen cap from "Toward the Terra" and it completely failed at finding anything similar even, same for "Future Boy Conan."
- wodenokoto 6y agoThe impressive part here is the trace.moe service, which powers the whole thing. https://github.com/soruly/trace.moe https://github.com/soruly/trace.moe
- app4soft 6y agoMessage to Mods: Add "Show HN" to the title as it is dev's post.