Simple face alignment library by using face_recognition and opencv
if there's any problem in environment setting, please check my another repository
https://github.com/cftang0827/python-computer-vision-env_install
img2_r = io.imread('test2.jpg')
t1 = timeit.default_timer()
img2_a = api.face_alignment(img2_r, scale = 1.05)
print('Time elapsed: {}'.format(timeit.default_timer() - t1))
Time elapsed: 0.200452