Functions | |
| def | Distance (p1, p2) |
| def | ScaleRotateTranslate (image, angle, center=None, new_center=None, scale=None, resample=Image.BICUBIC) |
| def | CropFace (image, eye_left=(0, 0), eye_right=(0, 0), offset_pct=(0.2, 0.2), dest_sz=(70, 70)) |
Variables | |
| image = Image.open("arnie.jpg") | |
| eye_left | |
| eye_right | |
| offset_pct | |
| dest_sz | |
| def crop_face.CropFace | ( | image, | |
eye_left = (0,0), |
|||
eye_right = (0,0), |
|||
offset_pct = (0.2,0.2), |
|||
dest_sz = (70,70) |
|||
| ) |
| def crop_face.Distance | ( | p1, | |
| p2 | |||
| ) |
| def crop_face.ScaleRotateTranslate | ( | image, | |
| angle, | |||
center = None, |
|||
new_center = None, |
|||
scale = None, |
|||
resample = Image.BICUBIC |
|||
| ) |
| crop_face.dest_sz |
| crop_face.eye_left |
| crop_face.eye_right |
| crop_face.image = Image.open("arnie.jpg") |
| crop_face.offset_pct |