Last active
October 3, 2015 22:14
-
-
Save lanrat/62912c06b0a1eed5adbf to your computer and use it in GitHub Desktop.
Tiamat’s Eye
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
firsttolocatethehouseofbearjesterwinsafreec3ticket |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0101010101111111111001100110100110100110011100101001110011100111010010011101001001101111100110110010011011111001100011100110000110011101001001100101100111010010011010001001100101100110100010011011111001110101100111001110011001011001101111100110011010011000101001100101100110000110011100101001101010100110010110011100111001110100100110010110011100101001110111100110100110011011101001110011100110000110011001101001110010100110010110011001011001100011100011001110011101001001101001100110001110011010111001100101100111010000000000000000000000000000000000000000000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
01100110 | |
01101001 | |
01110010 | |
01110011 | |
01110100 | |
01110100 | |
01101111 | |
01101100 | |
01101111 | |
01100011 | |
01100001 | |
01110100 | |
01100101 | |
01110100 | |
01101000 | |
01100101 | |
01101000 | |
01101111 | |
01110101 | |
01110011 | |
01100101 | |
01101111 | |
01100110 | |
01100010 | |
01100101 | |
01100001 | |
01110010 | |
01101010 | |
01100101 | |
01110011 | |
01110100 | |
01100101 | |
01110010 | |
01110111 | |
01101001 | |
01101110 | |
01110011 | |
01100001 | |
01100110 | |
01110010 | |
01100101 | |
01100101 | |
01100011 | |
00110011 | |
01110100 | |
01101001 | |
01100011 | |
01101011 | |
01100101 | |
01110100 | |
00000000 | |
00000000 | |
00000000 | |
00000000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env python | |
import os | |
from PIL import Image | |
import sys | |
def main(): | |
i = 0 | |
# because os.walk is not sorted, and I'm lazy | |
# ls frames/* > frames.list | |
for l in open("frames.list"): | |
i+=1 | |
if i % 3 == 0: | |
im = Image.open(l.strip()) | |
# sample pixel location | |
r,g,b = im.getpixel((1357,657)) | |
if (r>250): | |
sys.stdout.write('1') | |
else: | |
sys.stdout.write('0') | |
print "" | |
if __name__ == "__main__": | |
main() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment