face-recognition-brain icon indicating copy to clipboard operation
face-recognition-brain copied to clipboard

import Clarifai from 'clarifai';

Open ntikoo opened this issue 2 years ago • 2 comments

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) },

ntikoo avatar Dec 07 '22 08:12 ntikoo

Im also facing the same issue.Please help

AmarKaur08 avatar Jan 04 '23 21:01 AmarKaur08

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.

dominoto avatar Aug 14 '23 15:08 dominoto