Questions tagged [clarifai]

Image & Video Recognition API

The Clarifai API offers image and video recognition as a service. Whether you have one image or billions, you are only steps away from using artificial intelligence to recognize your visual content.

The API is built around a simple idea. You send inputs (an image or video) to the service and it returns predictions.

The type of prediction is based on what model you run the input through. For example, if you run your input through the 'food' model, the predictions it returns will contain concepts that the 'food' model knows about. If you run your input through the 'color' model, it will return predictions about the dominant colors in your image.

inputs outputs

Before you get started, if you haven't created an account and received your free API key, please do so before proceeding with this guide. You can begin making API calls for free, a credit card is not required.

Please note that your account will be limited to 100 API calls until you verify your email address. After verification, you will receive the full amount of API calls under your plan.

All API access is over HTTPS, and accessed via the https://api.clarifai.com domain. The relative path prefix /v2/ indicates that we are currently using version 2 of the API.

In the below examples, we use single brackets {variable} to indicate that this is a variable you should replace with a real value.

141 questions
1
vote
0 answers

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 doInBackground(). My code: public class ClarifaiTask…
Dinux
  • 644
  • 1
  • 6
  • 19
1
vote
1 answer

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 working netty-tcnative, Conscrypt, or Jetty…
Dinux
  • 644
  • 1
  • 6
  • 19
1
vote
1 answer

Clarifai API not detecting the image URL in React.js

I am using Clarifai API face detection and it is unable to fetch the URL which is provided from the constructor, rather than a variable which Clarifai provides in the default code class App extends Component{ constructor(){ super(); …
1
vote
1 answer

405 POST method not allowed (clarifai)

am trying to use the clarify face detection api on my react app but i keep getting an error POST: 405 method not allowed i have tried going through some solutions here on stack overflow but it seems am using the updated version of clarifai api…
1
vote
1 answer

Is it possible to put the trained model on other servers for use. Because accessing www.clarifai.com from our server has a serious delay

Is it possible to put the trained model on other servers for use. Because accessing www.clarifai.com from our server has a serious delay
1
vote
1 answer

_InactiveRpcError while using workflow

Hi I tried to copy the clarifai doc to create a workflow Below is my error code --------------------------------------------------------------------------- _InactiveRpcError Traceback (most recent call…
Gary Leung
  • 11
  • 2
1
vote
2 answers

Error when attempting to create new model

This is the error: Something went wrong. Your request was blocked. Missing feature flags: [TrainingDeepTraining].
1
vote
1 answer

Posting a image taken by ESP32 CAM to Clarifai not working

I have the following ESP32CAM sketch that should take a picture and post it to Clarify: #include "Arduino.h" #include "esp_camera.h" #include #include #include #include #include…
Paulo Borges
  • 45
  • 1
  • 7
1
vote
1 answer

status code 400 when using Clarifai's FACE_DETECT_MODEL

i am using Clarifai's Api to detect faces in an image it was working fine and i deployed it to github pages. after some time it stopped working and started giving me status code 400 and status code 10020 at the network tab although i am using the…
1
vote
1 answer

Clarifai - Face Detect - Method Not Allowed

I'd be really greatful if someone could assist me in this error while using Clarifai Face Detection API This is the code for the model that I used : app.models.predict( { id: "a403429f2ddf4b49b307e318f00e528b", version:…
Just.a.tech
  • 41
  • 1
  • 5
1
vote
1 answer

API Authentication issues from bubble to claifai

I have built a Bubble App and need to integrate it with a application custom model I am building in Clarifai but when I use the Bubble API plugin to connect to do an image predict it says I have an authentication issue 10002 Bubble API header…
ngittins
  • 11
  • 1
1
vote
1 answer

How to upload local image file to Clarifai API

I am trying to use the food categorization API from clarifai but the example uses a publically hosted image. Is there any way to use the API using an image from a local folder? I am using nodejs. const Clarifai = require('clarifai'); const app = new…
Andy Chen
  • 85
  • 1
  • 7
1
vote
4 answers

'Malformed or invalid request' with clarifai api

what is wrong with the following request for clarifai api- import requests image_url='https://samples.clarifai.com/food.jpg' api='Key cb03ceba3c8842aeadd55dcb2f0be152' headers = { 'Authorization': api, 'Content-Type':…
1
vote
0 answers

CLARIFAI No module named clarifai.client error

I am trying out the ReCaptcha v2 solver but it throws me an ImportError however i have clarifai-python installed. I have tried to change clarifai.client to clarifai.rest but did not work out.
1
vote
1 answer

Implementing Clarifai API

I need some help with connecting hte Clarifai API into my android app. It's for a uni project where we tests different image recognition softwares. All it needs to do is take a picture on the phone and then run recognition on the pituces (which will…
1
2
3
9 10