Рет қаралды 715
Tracking how many among us crewmates there are, with stats, on r/place
I wrote a simple script that butchered the existing place api code and is absolutely terrible, but here it is github.com/ctj...
To find it, it basically checks each pixel to see if it matches a filter, with a little bit of leniency, against a number of criteria including
- visor is all the same color and not the color of the body
- background and body are not the same color
- mogus body contains no more than mogusLeniency other colors
- background contains no more than bgLeniency mogus (or if it does must be part of a different mogus)
- mogus not part of another mogus