144 questions
0
votes
1
answer
231
views
Receive error when using Clarifai API. I need advise
I am trying to develop a web application to face recognition using API from Clarifai. Everything is fine until I use fetch when I face an error message "POST https://api.clarifai.com/v2/models/...
0
votes
1
answer
114
views
Clarifai - Getting 400 error when running face-detection
When I put in a URL and run the API call, I get a 400 error specifically pointing out the fetch() function. I am unsure what I am doing wrong or if my code is wrong. My current code:
import { useState ...
0
votes
1
answer
61
views
command on virtual env. pip install clarifai.work on windows Import "clarifai.rest"could not be resolvedPylancereportMissingImports (module) clarifai
i am working in clarifai. i installed clarifai on my windows as pip install clarifai.
when i wrote from clarifai.rest import ClarifaiApp it is showing error. chatgpt even failed to solve the issues. i ...
0
votes
1
answer
96
views
clarifai FACE_DETECT_MODEL deprecated in javascript?
Could not find a declaration file for module 'clarifai'. 'd:/jagan projects/face-detection/node_modules/clarifai/dist/index.js' implicitly has an 'any' type.
Try npm i --save-dev @types/clarifai if it ...
0
votes
1
answer
106
views
Clarifai Face Detection (React White Screen Of Death)
I've gone thru the Zero To Mastery course all the way thru building the facial detection app with Clarifai using JAVASCRIPT. I've completed all of the code, updated with every update that's actually ...
0
votes
1
answer
81
views
Using Clarifai to recognise family members
I currently use Clarifai Face Detection to highlight people in photos, but I cannot see a way to teach Clarifai the faces of family members.
I would like to not only detect the faces, but also guess ...
0
votes
1
answer
82
views
Testing ClarifAI and seeing "The type or namespace name 'Clarifai' could not be found" in the Unity console
I performed the following steps to test ClarifAI image recognition in a new project and am having issues. These are the steps I took:
Created a new Unity 2020.3.8f1 project
Created a test C# script ...
0
votes
2
answers
153
views
i am getting a 400 error when trying to use the clarifai api form the back end
i am getting a 404 and another error when i try to run my app, it is a face recognition api from clarifai
TypeError: Cannot read properties of undefined (reading '0')
at App.calculateFaceLocation (App....
0
votes
1
answer
299
views
Clarifai Face Detection API model used to work but now it won't fetch and throws a 404
Here is the long story short. I am entering an image URL in a text input. The app will pop up the image and then I ask it to fetch Clarifai face-detection model to draw a box on the face. It used to ...
1
vote
0
answers
80
views
Clarifai gRPC Java client throwing RuntimeException: An error occurred while executing doInBackground()
I am building an Android app to predict objects in an image. I am using the Clarifai gRPC Java client for the purpose. However, I am getting a RuntimeException: An error occurred while executing ...
0
votes
1
answer
126
views
ClarifaiChannel.INSTANCE.getGrpcChannel() throwing IllegalStateException: Could not find TLS ALPN provider
I am trying to use Clarifai to predict images in an Android app. I am using the Clarifai gRPC Java client. However, I am getting an IllegalStateException saying 'Could not find TLS ALPN provider; no ...
0
votes
1
answer
235
views
How to integrate Clarifai Api in JS React Project?
I'm working on a Face Detection Project from Udemy Course (Zero to Mastery) with Clarifai API. Unfortunately, I get an error that I don't understand. Here is the code:
App.js:
import "./App.css&...
0
votes
1
answer
170
views
Is there a reason why my API response success block is not executing my function calls?
Relatively new to web development and I am currently taking a course which builds a face recognition application using React and Clarifai API. The application has a search box where the user pastes ...
0
votes
1
answer
141
views
Can't resolve module clarifai-nodejs-grpc in React JS
Error
Module not found
Can't resolve 'clarifai-nodejs-grpc' node module grps-js and proto-loader
I tried config-overrides.js with react-app-rewired:
module.exports = function override(config, env) {
...
0
votes
1
answer
919
views
Error "Cannot read properties of undefined (reading '0')", before was working
About one month ago I deploy react app, frontend on github, backend and database on heroku ("smartbrain" project from udemy Zero to Mastery). All was working good till now. About six days ...