face-recognition-brain
face-recognition-brain copied to clipboard
import Clarifai from 'clarifai';
The above-mentioned line doesn't work as the Clarifai is depreciated. what is the other way to proceed further in this project? Later in the project if still carry on it throws an error here :
app.models.predict(Clarifai.GENERAL_MODELs, 'https://samples.clarifai.com/face-det.jpg') .then(function(response){ console.log(response) },
Im also facing the same issue.Please help
As I understand, if you use Clarifai through Node.js backend you should use their gRPC client. If you use it through frontend you should use REST endpoints. Check their documentation here.