Created
May 8, 2015 01:25
-
-
Save agermanidis/836b0dd4e9c43224967e to your computer and use it in GitHub Desktop.
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
import multiprocessing | |
from hac import Humanity | |
from moviepy.editor import ImageSequenceClip | |
everyone = Humanity.find_people() | |
def take_photo(human): | |
human.assume_control(timeout = 30) | |
other_human = human.vision.search_for_human() | |
photo = human.smartphone.take_photo(subject = other_human) | |
photo.show() | |
pool = multiprocessing.Pool(5) | |
pool.map(take_photo, everyone) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment