from PIL import Image

SRC = '/root/.hermes/webui/attachments/9710c799d486/'
man_src = Image.open(SRC + '707f2402-9eb3-4aa0-a58b-fbb46d61815f.jpg')
woman_src = Image.open(SRC + 'e461f313-7e7d-4183-93b2-f3d0e9756d73.jpg')

man_photo = man_src.crop((0, 250, 946, 1180))
woman_photo = woman_src.crop((0, 250, 946, 1180))

# Adjust crops to include full face
# Man: expand y range and center x better
m_fc = man_photo.crop((430, 240, 946, 830))
# Woman: expand y range significantly for forehead+chin
w_fc = woman_photo.crop((110, 60, 870, 740))

m_fc.save('/root/workspace/fc_man.jpg', quality=95)
w_fc.save('/root/workspace/fc_woman.jpg', quality=95)
print('fc_man:', m_fc.size)
print('fc_woman:', w_fc.size)