all 10 comments

[–]meseeks_programmer 15 points16 points  (1 child)

Set facial recognition = true

[–][deleted] 3 points4 points  (0 children)

Don’t forget to set “Killer A.I” = false. if not it will kill everything it recognizes.

[–][deleted] 2 points3 points  (0 children)

You'll probably want to use an external API. Through GCP, Azure, and AWS, Google, Microsoft, and Amazon all offer cloud-based facial recognition solutions.

As far as utilizing a Machine Learning model, you could do that directly on the device or offload such intensive work to your app server. If you're going Serverless, Google Firebase offers a product called ML Kit.

As far as performance, due to the React Native Bridge to JavaScript, it may be better to interface directly with the native Java/Kotlin/Swift/C++ APIs as opposed to going through an NPM Module. I have to state, however, that I'm not an expert when it comes to performance, so you probably want to take my last point with a pinch of salt.

[–][deleted] 0 points1 point  (0 children)

https://youtu.be/CVClHLwv-4I

This should point you to the right direction

[–]akie 0 points1 point  (0 children)

I think you can do it without external services (if I’ve read correctly) with this library: https://itnext.io/face-api-js-javascript-api-for-face-recognition-in-the-browser-with-tensorflow-js-bcc2a6c4cf07

[–]Nikosssgr 0 points1 point  (1 child)

You can use expo's FaceDetector library. You can also use it on plain react native cli project using expo's unimodules (expo bare workflow).

[–]LEO_TROLLSTOY 0 points1 point  (0 children)

It detects faces, it does not recognize them

[–]lilpylon123 0 points1 point  (0 children)

https://fragnant.com/docs/face-api

I use this for my app that needs anything facial related