Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

My little pony blocker

Name: Anonymous 2012-04-17 9:05

I'm working on a script for greasemonkey to identify pony images by color palette and automatically cull them.
Currently it's incomplete but the color matching works ok. Needs a lot of work on the color palettes and the code itself to increase identification rates and reduce false positives.

If you're interested it's at:
http://pastebin.com/g8xKQb7k

There's a warning at the top which you MUST read if you want to install it on Greasemonkey.
Which you shouldn't do. Because I'M JUST SOME RANDOM GUY POSTING A SCRIPT IT COULD BE MALICIOUS.
There are potential security holes which you should be aware of.
I also advise you to review the code if you're capable of doing so, to ensure I'm not asking you to install some malicious shit.

Anyway if you're brave or stupid enough to try it, it currently doesn't cull threads. It just shows what palettes get matched for each OP image. Gets a whole bunch of false positives, but identifies some pony images ok. Promising results. Feel free to take this script and do whatever with it.
It might be useful for identifying other types of images.
And I already know my code sucks.

Name: Anonymous 2012-04-17 9:31

Why would we care about your shitty pony script that only works on imageboards.

Are you a dense motherfucker or something? DO YOU REALIZE WHERE YOU ARE AT?

Name: Anonymous 2012-04-17 9:33

>>2
You can study that software and potentially include parts of it into your own work. Such is the nature of free software.

Name: Anonymous 2012-04-17 9:38

>>3
Why would i even care about some shitty JS script that does absolutely nothing

Go back to /g/ you stupid ass mental midget

Name: Anonymous 2012-04-17 9:49

>>2,4-kun is upset you're trying to block his imageboard shitposts, >>1-san.

Name: Anonymous 2012-04-17 9:51

>>5
ikr

Name: Anonymous 2012-04-17 9:54

>>5
>>6
Keep telling yourself that. At the end of the day you're still a toilet scrubbing mental midget that's so dense that you're advertising scripts to people who have absolutely no use because were on a fucking text board.

Now go galloping back to /g/.

Name: Anonymous 2012-04-17 10:08

>>4
It's fine if you don't care about it. Perhaps other people may benefit from his work.

Name: Anonymous 2012-04-17 10:16

>>8
Fuck off kid

Name: Anonymous 2012-04-17 10:26

>>7
Enema failed to work?
Drink more coffee.

Name: Anonymous 2012-04-17 10:29

My little pony thread? Awesome ill invite /mlp/.

Name: Anonymous 2012-04-17 10:33

Enjoy your exploits. If you think 4chan is safe then you deserve whatever happens to you.

Name: Anonymous 2012-04-17 10:39

I don't care because I'm not some kind of ``faggot" who goes on the imageboards.

Name: Anonymous 2012-04-17 10:56

>>13
But you're still the kind of benighted dipshit who thinks code only does exactly what it's written for, and can't be taken apart for its concepts to be reused in other domains.

Name: Anonymous 2012-04-17 11:03

>>14
Tell me :
a) why would I want to use shitty JS
B) why would I want to build off code that's easily exploited

Fuck off kid

Name: Anonymous 2012-04-17 11:13

                                                                                                                            
                             :////////:.`                                                                                   
                         ````.:++++++++/++o....                                                                             
                   .::---/////:-ssoo////ss+/+++/-                                                                           
              ``-+//+++/////////+++oo+//hy+o+/:/++-.`                                                                       
            .:+////++++/////////////////hy//sy.-:/oo+-                                                                      
         `//++/+++//++////////////++++++ss//+o:--:/++s+-                                                                    
        .:o+////////////////////o+oyyyyso+/+++s++yyoooo/-                                                                   
       /++//////////////////////sss++++/++/so+s+////odyso/.                                                                 
     -o+/////////////////////+++o+ossso/yhhdyo+///oss++++oo/                                                                
    -/o///////////////////++/++////+ssssssydhyssss+:-/////o+                                                                
   `oo///////:////////++/+++////++ohoos++oyoss+hs:...:////+++`                                                              
  `/oo+---:```--..-:/+++////++/:/-/d+ossssoso+/o+/...://///+s`                                                              
  .o-..     ``:...-:+o+++//:--..--/hho///:./os++++..-//////+s`                                                              
   `        .-......-----/o+   `soooy+./-...-:syo...-//////+s`                                                              
            .:........-:/:..++++++oy-/s+-....../:..-://////+s`                                                              
            .:........o+.`/shhddsssos+:/-..........:///////+s`                                                              
            .:......-s.  +syhmNN    +/-s:.......-/////////++/`                                                              
            .:......:m- `syhNMMN    ``........./oo///////+o+`                                                               
            .:.......-`-ooydMmmN    `.......--/++////////o/-                                                                
            ``-......` -oodMM/+sh+:.....---+//+////////+o.`                                                                 
              :....../`-ssmMMNNNMNmy-..:///++++////+++++/                                                                   
          ....-......-`-o/oyMMMMMNh......../+o++//+++oo:                               `````...`````                        
         `:...........``.-:+mmmmm+-.......-+++++++/++o.`                          ..../+++++++++++++:...                    
         `.--.....-.......-----.........:/s++++///+o+`                          .:so++///////////////+oo:.                  
           `.-----......................+o+o++//+o+o+                        `++++++///////////////////+++++.`              
              ``` `...................-s+/+o+//++o/o+                       -/o+///////////////////////////oo+-             
               ```--..............--.--s++o////oo//o+        ++++++++/-``  /++///////////////////////////////+o/-           
                  .-----...--///yyyyysss++s////oo///+o---:oo-yyyyysssyyosyys+++/++++//////////+++//////////////+o+          
                             +osssyhhysooos////oo////++oyys+-syysssssyy:syhyso/+/--`          .:o+//////////////++/.        
                             `:sssyhhysosss+///ooo++///++ssoo/::ossssyyssyyhyy+.                `/++//////////////++:       
                              :sssyhhysssyyo+///+sy+////+/osy:---/oyyhyssssyys:`                  -s///////////////o+-      
                              :sssyyhyysyyhsso++++s/-.....+yy:--:+ssyyysssssssy.                  -o///////////////++s      
                              -+syyyyhysyy+++////////..../shh:/+sssssyy+yys+:/h.         -`       .:////////////////+s      
                              -ossyyyyyyyo...............yyyhssssssssys.:::::/o:.      -/.`       -o////////////////+o      
                              :yyyyyyyyyyo...............hyyhhyyssssoss........:.      :o        .:o//////+/////////+o      
                              :hyyyyyyyyyo...............yyyhhhyyo//-/+........-.      :o/`    `-+o+////++//////////+s      
                              :hhhhhhhhhho.............-:ssyhhyyy+:----.........`      -+++++++oo+/////+o+//////////+s      
                              :yyyyhhhhhho............./y+syhyyssso+/:-.........`       .s+///////////+o+//////////++:      
                              :sssssssssyo-............/y:sysssssssss+-........-.        ./+o+++++++ooo+///////////o/       
                              :sssssssssso:............/yoyy+ssssssyy+-........:.          `.://////+++///////////o-`       
                              :yyyyssssssss............/ssyo-:+ssyyhh/.........:.                   s+//////////++o.        
                              :ysyyyyyyyys+-.......--.-/sy+:-:+syyhhh+.........:-````               ++/////++///+o.`        
                              :ysyysyyyyyyy:-........-ossy/:+sssyyyhho:-.......-------              ///////s+///oo          
                              `..:+oyysso+/:-........-yyy+syyyyyyyyyh+:/---...........-.`           ///////s+///++          
                                    oooo+/:::-........+o+:/+yyyyyyyyo/:/``.-...........--           ++/////s+///+/          
                                    //::::::::........-.`  `.++++///::::`  `.-...........-`         s+/////so+//+o`   ``./` 
                                    //::::::::..........-    .-::::::::::-   `.-...........`        /++////s::o++++:--//:`  
                                    //::::::::.........-:     ./::::::::/-     `..........--`        :++///s-`.++++ooo-`    
                                    ::::::::::..........-.`   -/::::::::/-      `--........--        `.o+//+/: ```````      
                                    -:::::::::...........:`   .:::::::::/-        :-..........`       `-/++/+/-`            
                                    .-::::::::...........:`  `.:::::::::::.       .-.........-.`        `-+++++/-`.`        
                                    .-::::::::...........:`  //:::::::::::/        --.........--            -::::::.`       
                                    -::::::::-...........:` `/::::::::::::/        --..........-.                           
                                    //::::::-............-.-/:::::::::::::/        --...........:`                          
                                    //::::::-.............-:::::::::::::::/        --...........-`                          
                                    //:::::--.............-:::::::::::::::.        --............-.                         
                                   .:::::::...............-:::::::::::::/-         --............-.                         
                                   `:::::::..............-::::::::::::::-.`````    --.............--                        
                        ````````````--::::-..............:://////////:::--------..---.............-:                        
                   `....----------------:-...............::-----------------------:-.............-::...                     
                    `.......----------------....-----...-:---------------------------.....------.....``                     
                            ```````````````....----------------------------....````````````````

Name: Anonymous 2012-04-17 11:13


                                                                                                                            
                             :////////:.`                                                                                   
                         ````.:++++++++/++o....                                                                             
                   .::---/////:-ssoo////ss+/+++/-                                                                           
              ``-+//+++/////////+++oo+//hy+o+/:/++-.`                                                                       
            .:+////++++/////////////////hy//sy.-:/oo+-                                                                      
         `//++/+++//++////////////++++++ss//+o:--:/++s+-                                                                    
        .:o+////////////////////o+oyyyyso+/+++s++yyoooo/-                                                                   
       /++//////////////////////sss++++/++/so+s+////odyso/.                                                                 
     -o+/////////////////////+++o+ossso/yhhdyo+///oss++++oo/                                                                
    -/o///////////////////++/++////+ssssssydhyssss+:-/////o+                                                                
   `oo///////:////////++/+++////++ohoos++oyoss+hs:...:////+++`                                                              
  `/oo+---:```--..-:/+++////++/:/-/d+ossssoso+/o+/...://///+s`                                                              
  .o-..     ``:...-:+o+++//:--..--/hho///:./os++++..-//////+s`                                                              
   `        .-......-----/o+   `soooy+./-...-:syo...-//////+s`                                                              
            .:........-:/:..++++++oy-/s+-....../:..-://////+s`                                                              
            .:........o+.`/shhddsssos+:/-..........:///////+s`                                                              
            .:......-s.  +syhmNN    +/-s:.......-/////////++/`                                                              
            .:......:m- `syhNMMN    ``........./oo///////+o+`                                                               
            .:.......-`-ooydMmmN    `.......--/++////////o/-                                                                
            ``-......` -oodMM/+sh+:.....---+//+////////+o.`                                                                 
              :....../`-ssmMMNNNMNmy-..:///++++////+++++/                                                                   
          ....-......-`-o/oyMMMMMNh......../+o++//+++oo:                               `````...`````                        
         `:...........``.-:+mmmmm+-.......-+++++++/++o.`                          ..../+++++++++++++:...                    
         `.--.....-.......-----.........:/s++++///+o+`                          .:so++///////////////+oo:.                  
           `.-----......................+o+o++//+o+o+                        `++++++///////////////////+++++.`              
              ``` `...................-s+/+o+//++o/o+                       -/o+///////////////////////////oo+-             
               ```--..............--.--s++o////oo//o+        ++++++++/-``  /++///////////////////////////////+o/-           
                  .-----...--///yyyyysss++s////oo///+o---:oo-yyyyysssyyosyys+++/++++//////////+++//////////////+o+          
                             +osssyhhysooos////oo////++oyys+-syysssssyy:syhyso/+/--`          .:o+//////////////++/.        
                             `:sssyhhysosss+///ooo++///++ssoo/::ossssyyssyyhyy+.                `/++//////////////++:       
                              :sssyhhysssyyo+///+sy+////+/osy:---/oyyhyssssyys:`                  -s///////////////o+-      
                              :sssyyhyysyyhsso++++s/-.....+yy:--:+ssyyysssssssy.                  -o///////////////++s      
                              -+syyyyhysyy+++////////..../shh:/+sssssyy+yys+:/h.         -`       .:////////////////+s      
                              -ossyyyyyyyo...............yyyhssssssssys.:::::/o:.      -/.`       -o////////////////+o      
                              :yyyyyyyyyyo...............hyyhhyyssssoss........:.      :o        .:o//////+/////////+o      
                              :hyyyyyyyyyo...............yyyhhhyyo//-/+........-.      :o/`    `-+o+////++//////////+s      
                              :hhhhhhhhhho.............-:ssyhhyyy+:----.........`      -+++++++oo+/////+o+//////////+s      
                              :yyyyhhhhhho............./y+syhyyssso+/:-.........`       .s+///////////+o+//////////++:      
                              :sssssssssyo-............/y:sysssssssss+-........-.        ./+o+++++++ooo+///////////o/       
                              :sssssssssso:............/yoyy+ssssssyy+-........:.          `.://////+++///////////o-`       
                              :yyyyssssssss............/ssyo-:+ssyyhh/.........:.                   s+//////////++o.        
                              :ysyyyyyyyys+-.......--.-/sy+:-:+syyhhh+.........:-````               ++/////++///+o.`        
                              :ysyysyyyyyyy:-........-ossy/:+sssyyyhho:-.......-------              ///////s+///oo          
                              `..:+oyysso+/:-........-yyy+syyyyyyyyyh+:/---...........-.`           ///////s+///++          
                                    oooo+/:::-........+o+:/+yyyyyyyyo/:/``.-...........--           ++/////s+///+/          
                                    //::::::::........-.`  `.++++///::::`  `.-...........-`         s+/////so+//+o`   ``./` 
                                    //::::::::..........-    .-::::::::::-   `.-...........`        /++////s::o++++:--//:`  
                                    //::::::::.........-:     ./::::::::/-     `..........--`        :++///s-`.++++ooo-`    
                                    ::::::::::..........-.`   -/::::::::/-      `--........--        `.o+//+/: ```````      
                                    -:::::::::...........:`   .:::::::::/-        :-..........`       `-/++/+/-`            
                                    .-::::::::...........:`  `.:::::::::::.       .-.........-.`        `-+++++/-`.`        
                                    .-::::::::...........:`  //:::::::::::/        --.........--            -::::::.`       
                                    -::::::::-...........:` `/::::::::::::/        --..........-.                           
                                    //::::::-............-.-/:::::::::::::/        --...........:`                          
                                    //::::::-.............-:::::::::::::::/        --...........-`                          
                                    //:::::--.............-:::::::::::::::.        --............-.                         
                                   .:::::::...............-:::::::::::::/-         --............-.                         
                                   `:::::::..............-::::::::::::::-.`````    --.............--                        
                        ````````````--::::-..............:://////////:::--------..---.............-:                        
                   `....----------------:-...............::-----------------------:-.............-::...                     
                    `.......----------------....-----...-:---------------------------.....------.....``                     
                            ```````````````....----------------------------....````````````````                             

Name: Anonymous 2012-04-17 12:49

>>17
She needs her horn

Name: Anonymous 2012-04-17 13:12

gureisukeiru dasshu ga daisuki

Name: Anonymous 2012-04-17 13:26

use javascript

Name: Anonymous 2012-04-17 14:47

Cool

Name: Anonymous 2012-04-17 14:49

As a professional javascript programmer I advise against running this code. I also advise against learning from this code (because it is shit). If you're wondering how it works, basically he starts with the colors for each pony:


var celestia = [ //
  [111, 157, 234],   // Hair
  [90, 87, 174],   // Skin
  // Alternate
  [72, 80, 142]   // Skin
];

etc... fifteen more ponies


then he tries to match images if they contain enough of these colours

Name: Anonymous 2012-04-17 15:30

>>22
Sure sounds shit, must be shit.

Name: Anonymous 2012-04-17 15:43

If you can create a pony detector, can you also create a ReCAPTCHA solver?

Name: Anonymous 2012-04-17 16:00

Pointless script. I'm sure most 4chan users know how to use a basic image editor.

Name: Anonymous 2012-04-17 16:22

>>22
That's actually probably good enough, given MLP's art style. There isn't much point in writing a neural network image classifier and spend hours training it when something simple will do just as well.
I'm not sure a professional web monkey can afford to look down on anyone, anyway.

Name: Anonymous 2012-04-17 17:31

My little KONY2012 blocker

Name: Anonymous 2012-04-17 20:35

>>24
I'm working on one. See my post on AnonTalk about it.

Name: Anonymous 2012-04-17 22:29

>>26
lets do it!

Unfortunately, javascript OpenCV turned up nothing useful on google.

Name: Anonymous 2012-04-18 8:55

>>15
JS is fast, functional, lisplike and has things called clojure (But I don't think uou know what that means)

>>22
I already acknowledged it was shit in the OP. Why don't you try and improve it instead of moaning?

>>24
You know these already exist right?

>>26
Exactly

Name: Anonymous 2012-04-18 9:03

>>30
clojure

Name: Anonymous 2012-04-18 9:18

>>30
>js
>fast
>lislike
No, it's not.

I already acknowledged it was shit in the OP. Why don't you try and improve it instead of moaning?

it's a worthless product and no one cares. Has it ever occurred to your mental midget mind that you're on a TEXT BOARD. We don't give a fuck about Image boards.

Name: Anonymous 2012-04-18 9:21

>>32
You still haven't learned.

Name: Anonymous 2012-04-18 9:38

>>33
neither have you, now get back to /g/ you stupid mental midget

Name: Anonymous 2012-04-18 13:12

>>34
BUTT DOCTOR VERDICT: BUTTFRUSTRATED  WITH A TOUCH OF EXTREME BUTTHURT

Name: Anonymous 2012-04-19 3:26

>>32,34

( ≖‿≖)

Name: bampu pantsu 2012-05-29 4:28

bampu pantsu

Don't change these.
Name: Email:
Entire Thread Thread List