Hello Yi,
Hope you are doing well.
Could you please elaborate what your primary objective is. From my understanding on your description you would like to do face recognition from an image. This method would be contradicting the security elements of face recognition, since the main objective is to recognize a real face and not an image of the face. This approach is to be sure that it is a real person and not someone trying to breach security using an image. If this is the case, then what you may be attempting to do is not supported.
If I misunderstood, please let me know.
Best Regards,
Sabina
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------