justadudewhohacks / face-recognition.js

Simple Node.js package for robust face detection and face recognition. JavaScript and TypeScript API.
MIT License
1.9k stars 277 forks source link

Pose detection #109

Open Sudeepa14 opened 6 years ago

Sudeepa14 commented 6 years ago

Hi this seems a cool library. I'm just wondering whether pose estimation is possible or not using this. Thanks. Again , nice work.

justadudewhohacks commented 6 years ago

There is nothing implemented for pose estimation. You can get the 68 point face landmarks with this package, from there on you would have to figure out the head pose with other tools.

Chuiantw1212 commented 5 years ago

Try this one. https://github.com/tensorflow/tfjs-models/tree/master/posenet

Sudeepa14 commented 5 years ago

@Chuiantw1212 Thanks a lot. I checked that out. Thanks again. But I guess posenet focusing on body pose estimation rather than head pose. Right?

Chuiantw1212 commented 5 years ago

@Sudeepa14 Actually it locates your head first, so that it can tell where the rest of your body are. Head pose you mean like rotation of the head?

justadudewhohacks commented 5 years ago

Does posenet really return head pose specific information like angle? Looks like posenet also just gives you 5 facial landmark points, you can get the same with face-recognition.js.

Chuiantw1212 commented 5 years ago

No it does not. All it gives you is the position of each part of the body and the confidence score of the part.