How to get the specified picture shape through canvas?

knowing the coordinates of the face contour of a picture, how to extract the face part separately?

Mar.07,2021
Menu