cftang0827 / face_alignment

Simple face alignment library by using face_recognition and opencv
16 stars 5 forks source link

Cant save output image #1

Open dungnt35 opened 5 years ago

dungnt35 commented 5 years ago

Hi, Thanks for amazing project. How can i save output image? When i try to save it show error: "TypeError: img is not a numpy array, neither a scalar"

Many thanks.

cftang0827 commented 5 years ago

Hi, thanks for your comment. I will check it ASAP.

cftang0827 commented 5 years ago

Hi, since the output of the function is list rather than ndarray so you need to use the index to get it. Thanks. I am not pretty sure what you are meaning, or could you provide sample code with me? Thanks.