eduardolundgren / tracking.js

A modern approach for Computer Vision on the web
http://trackingjs.com
Other
9.43k stars 1.44k forks source link

How to get the depth of the face coordinates #300

Open vijaysagi1 opened 6 years ago

vijaysagi1 commented 6 years ago

Hi,

While face detection how can i extract the depth of the face coordinates(x,y,z) so that i undergo face recognition.

Pls suggest

Thanks vijay

murat-aka commented 6 years ago

Can you explain what you mean by depth , can you draw a picture of what you looking for? Thanks

vijaysagi1 commented 6 years ago

my requirement is i need to verify fake person while LIVE face detection.

While face detection three dimensional geometry of the human face need to be extracted. Ex: like the depth of the nose which should be compared with the nose in the photo based on the difference fake photo can be identified.

Pls suggest how can we verify the same.

murat-aka commented 6 years ago

To get depth like that you would need a 3D camera which means min 2 cameras.

In your case you need to compare backgrounds to decide whether its a fake picture.