
import os
from photos import photos

for photo in photos:
	cmd = 'perl crop_faces.pl %d "%s"' % (photo.id,"~/web/www"+photo.url)
	print cmd
	os.system(cmd)

