#!/usr/bin/env python
# -*- coding: utf-8 -*-
from __future__ import print_function
import face_recognition.api as face_recognition
import cv2






img = cv2.imread('people.jpg')


face_locations = face_recognition.face_locations(img, number_of_times_to_upsample=0, model='hog')


for loc in face_locations:
	face = img[loc[0]:loc[2],loc[3]:loc[1],:]
	print (loc)
	cv2.imshow('x',face)
	cv2.waitKey(0)
9e562bb8369f35889812d233db6fa55b3bee1561
<mask token>

<mask token>
for loc in face_locations:
    face = img[loc[0]:loc[2], loc[3]:loc[1], :]
    print(loc)
    cv2.imshow('x', face)
    cv2.waitKey(0)

<mask token>
img = cv2.imread('people.jpg')
face_locations = face_recognition.face_locations(img,
    number_of_times_to_upsample=0, model='hog')
for loc in face_locations:
    face = img[loc[0]:loc[2], loc[3]:loc[1], :]
    print(loc)
    cv2.imshow('x', face)
    cv2.waitKey(0)

from __future__ import print_function
import face_recognition.api as face_recognition
import cv2
img = cv2.imread('people.jpg')
face_locations = face_recognition.face_locations(img,
    number_of_times_to_upsample=0, model='hog')
for loc in face_locations:
    face = img[loc[0]:loc[2], loc[3]:loc[1], :]
    print(loc)
    cv2.imshow('x', face)
    cv2.waitKey(0)

#!/usr/bin/env python
# -*- coding: utf-8 -*-
from __future__ import print_function
import face_recognition.api as face_recognition
import cv2






img = cv2.imread('people.jpg')


face_locations = face_recognition.face_locations(img, number_of_times_to_upsample=0, model='hog')


for loc in face_locations:
	face = img[loc[0]:loc[2],loc[3]:loc[1],:]
	print (loc)
	cv2.imshow('x',face)
	cv2.waitKey(0)