Auto image namer

give me any image file and see if my script can figure out what it is

Attached: automatic image namer meme.png (1018x1330, 1.41M)

Other urls found in this thread:

github.com/vivithemage/mrisa
instagram.com/p/BzqoZAxo4h2/
pastebin.com/vkcxcD7T
pastebin.com/BFfP8aJR
twitter.com/NSFWRedditVideo

DEVIL BE GONE

Attached: 20190704_201744.jpg (2560x1212, 651K)

this is actually really cool, can I have the scrip desu?

Attached: 55b42222c2dbd98f5f85528defc6f430.png (940x1330, 2.37M)

Attached: photo_2019-04-23_18-58-42.jpg (1280x900, 94K)

give me your script now

>using google reverse image search
>uploading all your images to google.

Attached: 7c794436c627353038e80533503a16228a9488a8d86278dea9e97a0a8cdcb5e6.png (1920x1080, 1.79M)

you can, it's sort of a mess because it's my very first script but i will find a way to get it to Jow Forums

you will need to be running a MRISA server on your localhost, so go get that and get it working.

github.com/vivithemage/mrisa

pic related: identifying wood

Attached: identifying wood.png (497x253, 54K)

>in-b4 script just names everything 'richard stallman'

yeah, this is a bit of a problem, but I use a separate imagehost and only give them a tiny thumbnail. (pic related)

Attached: imagehost curl.png (621x74, 9K)

you first because trips. was this right?

Attached: results1.png (596x162, 25K)

go back

it's usually very good at identifying meme types (this is why I wrote it in the first place) but it didn't really recognize this one.

Attached: results2.png (492x161, 33K)

filename slightly better than before but very non-specific

Attached: bad result.png (462x215, 41K)

feed me more images! i'll do a big batch and you can see how well it works. Will deliver code soon (it's 2 separate bash files and other stuff too)

forgot attachment

Attached: lol.png (496x124, 20K)

I wouldn't like to use google apis myself but this is really nice.

In my next project I want to make the renaming process easier to handle with some kind of GUI program with completion but I might as well contribute to your repo

but that's wrong

i looked for something, anything, that would give me something comparable to google's reverse image search without using google. The closest thing was Yandex, which is capable of reading text off an image, but it won't guess an image's contents.

test code does this work ?

is a repo a github, or a more generic term? Should I upload this to github or or just put it here?

Attached: more results.png (585x572, 83K)

lol sorry bud, it got the shrug right though.

facebook and instagram also analyze the contents of images after upload

let's see if it recognize this

translation: chicken noodle soup

Attached: serveimage.jpg (800x800, 93K)

I actually wrote a script for the opposite.

I've made voice chat bot with soundboard. I use gnome-pie to play sounds but they only have names, so I've wrote a script to find an image for every sound/category.

Attached: Untitled.png (635x639, 238K)

that's really useful information, I would like to grab all sources of image analysis for the final result and be able to choose the best one, or all 3.

>that 2012 meme
drink your monster

images are not your pets to play with. stop naming them.

Warning: Very tricky

Attached: 1551906882580.gif (452x523, 4K)

> is a repo a github, or a more generic term? Should I upload this to github or or just put it here?
It's short for repository, so in this context I was talking about your remote (Github) repository yes

for example it says
>one or more people, people standing and outdoor
for this pic instagram.com/p/BzqoZAxo4h2/

ok, here is the code. I'm sure it can be massively improved because it's my first program that's actually worth sharing.

pastebin.com/vkcxcD7T

it requires a MRISA server to be running, which I call with this script from Nautilus. This script is somewhat optional, it's mainly used to spawn the MRISA server if it's not already running.

pastebin.com/BFfP8aJR

A bunch of this code is gnome specific, so if you want to use it, just substitute in your own terminal.

Don't want to use Nautilus? too bad I guess because that's the only filebrowser I could find that supports custom scripts that operate on selected file. 1/2

*sip*
that was the first time I tried the script on a gif. It turned out very well, almost too well.
mine just returned "skirt" - I wonder if it would figure out more if I sent it a bigger file than 320px wide.

ONE NOTE ABOUT MY CODE: I know that it won't work if the query returns a result with a slash in it such as "Jow Forums" for instance. I will sanitize this in a future iteration.

It also only works on one file at a time right now, although this should be easy to fix with a loop. You can spawn lots of instances if you want to do a bunch at once, but it's still 2 clicks for each item.

Attached: oy vey results.png (531x428, 98K)

i tried to use as much standard libraries and stuff as possible, but MRISA requires a bunch of python stuff. My code requires (((jq))) for the JSON fields and imagemagick for the thumbnails it makes. Other than that I think everything else is standard.

OY GEVALT IT KNOWS!
SHUT IT DOWN!!!

Those results are scarily good.

Attached: 1552489584825.png (1654x1252, 2.55M)

sorry I forgot yours, here is the result mi amigo.

Attached: sopa result.png (493x209, 45K)

Attached: [HA/ss/] Sunohara-sou no Kanrinin-san - 02 [2C68E84C].mkv_snapshot_11.54_[2018.08.03_14.42.23].p (1280x1575, 1.97M)

like I said, it is very good at identifying memes. And the more popular the meme is (lots of instances of it on the internet) - the better at identifying the meme it is.

It's also eerily good at identifying the jew memes. I wonder if google puts extra effort into that sort of thing.....

Attached: identifying memes - yep its a meme.png (1038x546, 204K)

Hmm, I wonder who could be behind this program....

Attached: iceberg.jpg (879x603, 126K)

did it get the anime one right this time?

Attached: results3.png (528x440, 143K)

Attached: JODELLE.jpg (1080x1350, 417K)

Hmmm.

Attached: 1517803073574.jpg (501x585, 81K)

in b4
>thot.jpg

I mean it's pretty cool but the only thing you've actually written is the thing to rename the files, the identification is still done by someone else.

that's actually akari from yuru yuri, youres script is right

of course, but it still took me 1 full day (10 hours or so) to write this code. it would have been a whole lot easier if google didn't hide all their results behind a javascript layer.
pic related

Attached: results4.png (497x424, 151K)

I'm curious.
Post script please.

Attached: romania hungary sex.jpg (985x889, 187K)

script is here f-a-m

code tags didnt work so it's a pastebin

is this Python?

Attached: do you get the bingo.png (1080x1080, 312K)

Literally where? Retard.

I mean yes, She is a girl.

Pls

Attached: 1562542947312.png (500x414, 113K)

I am so fuckibg curious about this one.

Attached: albanians.jpg (320x240, 23K)

Alright let's see it.

Attached: the S.jpg (650x786, 19K)

Attached: dogposter.jpg (1920x1080, 456K)

isn't the file name kindof redundant?

no, it's a bash script. But the required MRISA code is Python. I tried getting it work in my default python 2, but everything kept failing. I got it work by getting python3 stuff and calling the script in python3 though. Sorry if it's all spaghetti coded, this is literally my first real coding project so I probably made all kinds of shitty decisions.

If anyone gets it working, let me know.

Attached: results5.png (555x432, 132K)

a-user?

Attached: 01d911a873553ce96ca408b75c50846e4fc76d27e84dae887e13c401df285fdf.png (823x720, 333K)

neat

Attached: 1556307761546.jpg (371x371, 20K)

>another blank image
Retard alert.

Attached: BRAT.jpg (843x720, 81K)

Attached: Autopilot.jpg (251x275, 15K)

Attached: DSCF1265.jpg (600x800, 75K)

I refuse to believe this works.

Attached: taigs btfo.png (1676x796, 133K)

>bash
Cute.

Attached: 1556846985859.jpg (2048x1820, 138K)

you'd best start believing in renaming scripts
>criticising working code
write one better then, faggot

Attached: big results batch.png (769x833, 213K)

YOU'RE GOD DAMN RIGHT I WANT TO

Attached: spinning brat.gif (348x501, 138K)

Attached: 1556673835080.jpg (750x728, 270K)

>wanna sniff bratass
wait what how?

Attached: ixtb1vpva1y21.jpg (427x448, 29K)

OP's "script" is obviously just him typing the filenames.

Attached: 1474485918718.png (450x300, 104K)

You will never get this one

Attached: z.jpg (474x329, 16K)

me on the picture

am i even close?
i posted the code but ok
wait what? I think google is trying to tell us something...
first animated gif i have tried, it worked but didn't identify the anime for once

Attached: identifying garbage from a and one faggot.png (677x549, 110K)

Attached: gravitron.jpg (584x433, 30K)

Attached: 1556695984831.jpg (320x422, 22K)

>am i even close?

Nope, that's what google says too but it's wrong. It's a robot called zippy from an old tv show

I'll also need this.
you missed

Attached: july 1999.jpg (320x240, 29K)

I'll be very surprised.

Attached: 1505354866400.jpg (1280x720, 203K)

Post script otherwise you are just memeing and naming them yourself.

71
read the thread

Attached: Nx7nLdBZmtCdJhtJ.jpg (1280x720, 97K)

He did, its doing a reverse image search and returning google’s label.

oh well fuck that noise. i'm not giving google my fucking data.
fuck this thread is really interesting though. I never thought about that but google and other big data corps are analyzing images and audio with AI and cataloging them.

would be cool to have standalone AI software to do something similar.

once again, I posted it here: i'm really surprised it didn't get this one

Attached: results7.png (650x519, 109K)

Test dis one.

Attached: pepegas-zyklone2.png (1098x1008, 40K)

>i'm not giving google my fucking data.
i agree with this, I plan to only use it to rename memes that I got off Jow Forums. I have a 3gb folder and going through manually and renaming would take a really long time. It can identify "new" images as well like my wood image here: but the more instances of the image google has online, the better job it does.

i have to leave for an hour or two but if you fags keep the thread alive I'll answer more questions and test more images twhen I get back.

Attached: la pepe do froggo.png (528x217, 23K)

I have suspicion.
Source?

Attached: s.png (879x592, 366K)

Is this real?

>feed me more images! i'll do a big batch
Are you sure?

Attached: 1554362131834.png (886x106, 40K)

Do this

Attached: 1554409929822.png (932x1200, 264K)

so now images are in two botnets

I have to firm up the code a bit more before attempting a batch that big. I need to find out if Google Images will shut me out if I send too many requests, and make a loop to batch process, etc etc. Just send a handful of images not 300gb of them lol.

ok i'm really leaving now

give google images more time and it will probably be able to identify this one.

>he missed the hottest new meme
it's real.

Attached: not identifying gamer pee yet.png (535x505, 50K)

yes

is that termux?

It's tmux in iTerm.
Sadly Alacrity doesn't want to play nice with tmux.

op stop scraping google i will call the police

consider adding support for saucenow, iqdb or yandex if you intend to label anime related images. google will almost always return either "anime" or "cartoon" in image searches. though you probably should at least donate to saucenow and iqdb if you would intend to scrape a large amount of data from them.

>memes on speed dial

>standing on gravitron
holy shit that's creepy how accurate it is
>donkey
...

Attached: villain from cod.jpg (854x480, 132K)

sopa de fideos, uma delicia