Closed orangecoding closed 1 year ago
locateFaces
is a reduced version of detectAllFaces
, so in your cases just use locateFaces
, you shouldn't need anything before
for resizing, there are tons of options, but since you already have a canvas you've created, you can simply resize it fore writing it to file
closing due to inactivity, but can be reopened if additional information is needed
Thanks :)
Hi,
Thanks for this awesome lib!
I'm using it to extract faces from photos, check if they are tilted, if they are, rotate the canvas to straighten the face and then store it as a new image.
I'm basically doing it like this:
I'm having 2 questions.
faceapi.locateFaces(c)
to get the locations to extract the face?My endgoal is to have all faces the same size (e.g 800x600) later on