Face Recognition from WebCam and Video Sources using Javascript, NodeJS and face-api.js which is a wrapper around TensorFlowJS.
Some of the Major technologies used:
Prerequisites to run the app in local environment
- Installed NodeJS
Step 1: Initialize npm and get all the reuired npm packages for the project.
Congratulations! You are good to GO now.
For WebCam: Just comment out line number 18 and 64 inside public/js/script.js and uncomment from line 12 to 16 and 65.
For Video Source: Just uncomment line number 18 and 64 inside public/js/script.js and comment out line 12 to 16 and 65.
Note: For best performance, if you have a dedicated graphic card on your system enable that to be used by your browser. By defualt browser uses the internal graphic of the system which might not work best for this app.
Ping me at https://www.linkedin.com/in/prashant-kumar-2124b3b4/ if any of you have any questions, suggestions, feedback or just want to say Hi:) Instagram: @prashant_cn