Lines Matching refs:rect
70 for rect in [face['bounds'] for face in faces]:
71 top_left = (int(round(rect['left']*W/aw)),
72 int(round(rect['top']*H/ah)))
73 bot_rght = (int(round(rect['right']*W/aw)),
74 int(round(rect['bottom']*H/ah)))
92 for rect in face_rectangles:
93 assert rect['top'] < rect['bottom']
94 assert rect['left'] < rect['right']
95 assert 0 <= rect['top'] <= ah
96 assert 0 <= rect['bottom'] <= ah
97 assert 0 <= rect['left'] <= aw
98 assert 0 <= rect['right'] <= aw