Tiamat’s Eye
0101010101111111111001100110100110100110011100101001110011100111010010011101001001101111100110110010011011111001100011100110000110011101001001100101100111010010011010001001100101100110100010011011111001110101100111001110011001011001101111100110011010011000101001100101100110000110011100101001101010100110010110011100111001110100100110010110011100101001110111100110100110011011101001110011100110000110011001101001110010100110010110011001011001100011100011001110011101001001101001100110001110011010111001100101100111010000000000000000000000000000000000000000000 |
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 |
#! /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