Tensorflow lite in ionic

Hi. I am working on a capacitor ionic project. I need to recognize faces by comparing them with a photo preloaded by the cell phone user. Is this possible? Do I need to use tensorflow lite? Thank you very much.

I think you do need to use TF Lite since it is a lighter version, but it cannot train models. It will work if you can use a pre-trained model.

TensorFlow.js can be used if you need to train or re-train the model in the Ionic project.