Skip to content

Instantly share code, notes, and snippets.


Block or report user

Report or block KainokiKaede

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
from PIL import Image, ImageDraw
import photos
from objc_util import *
CIImage, CIDetector = map(ObjCClass, ['CIImage', 'CIDetector'])
#imagebuffer = photos.capture_image()
imagebuffer = photos.pick_image()'.temp.jpg')
data = NSData.dataWithContentsOfFile_('.temp.jpg')
toritori0318 /
Last active Oct 2, 2015
#! /usr/bin/env python
# ptags
# Create a tags file for Python programs, usable with vi.
# Tagged are:
# - functions (even inside other defs or classes)
# - classes
# - filenames
# Warns about files it cannot open.
You can’t perform that action at this time.