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
1 answer

Clarifai installation error : Visual C++ Build Tools + access denied

Hye guys , I kinda got stucked when i tried to install the clarifai library py -m pip install clarifai --upgrade when I enter that command into cmd i get this error: reading manifest file 'Pillow.egg-info\SOURCES.txt' reading manifest…
StyleZ
  • 1,276
  • 3
  • 11
  • 27
1
vote
1 answer

How to create a sentence out of my Clarifai Extracted Features?

I am working on Clarifai API to extract features of an image which is done successfully. But I want to the extracted the features to be adjusted in a sentence. for example if from a picture the extracted words are furniture, room, bed the sentence…
1
vote
1 answer

Cant Convert Clarifai response to Json

I have just started using clarifai for image analysis but I can't actually convert the output I am getting as a List into Json. The List is not the normal list, I have tried the normal Gson().toJson but not to any effect. My request code is : …
Rakesh Vasal
  • 266
  • 5
  • 13
1
vote
2 answers

PHP Include - error in opening the stream

I am using an application that I downloaded using Composer. The package has many classes that can be called and utilized. However, when I run the below code, I am getting the following error.
tony9099
  • 4,567
  • 9
  • 44
  • 73
1
vote
1 answer

Android Clarifai API com.clarifai.api.exception.ClarifaiThrottledException: TOO MANY REQUESTS

I am new to Android and having networking issues with an application that I'm making. When I make a request to Android (return client.recognize(new RecognitionRequest(jpeg)).get(0);) in the doInBackground of AsyncTask. However, I am getting the…
KevinWang
  • 11
  • 1
1
vote
1 answer

Problems using NetBeans 8.2 and Gradle to compile clarifai-java-master

I am trying to compile clarifai-java-master with Gradle and NetBeans 8.2 (JDK 1.8), but it fails. The log is below. Could anyone help me, please?! Thanks! ------------- Executing: gradle clean build Arguments: [-c,…
Romualdo Alves
  • 271
  • 1
  • 2
  • 8
1
vote
0 answers

Clarifai GUI. How to view the predictions for a specific file id

I cannot find a way to find a specific file in a custom model via the online GUI. I have uploaded the file via the api along with several hundred images used for training. How can I filter the files displayed using the image id only. From there can…
bogflap
  • 121
  • 2
  • 5
1
vote
1 answer

How to display the Clarifai API Search Python Image Object

I am following the API tutorial on the Clarifai site specifically working with the search tutorial(https://developer-preview.clarifai.com/quick-start/) from clarifai.rest import ClarifaiApp app = ClarifaiApp("{clientId}", "{clientSecret}") #…
Justin C.
  • 372
  • 3
  • 12
1
vote
1 answer

Trying to get predictions from Clarifai, but getting an exception

I'm trying to use the following code to get suggestions for tags for an image from Clarifai: final ClarifaiClient client = new ClarifaiBuilder(CLIENT_ID, CLIENT_SECRET).buildSync(); final ClarifaiResponse>> response =…
user3429010
  • 365
  • 1
  • 3
  • 8
1
vote
0 answers

clarifai iOS demo not working on Xcode 8 and iOS 10

I'm trying to get this demo to work on the simulator using Xcode 8 but I get stuck at "Recognizing" when I upload the image. Can anyone help with debugging this ? I have also reached out to Clarifai for comments. Code downloaded from…
1
vote
1 answer

Clarifai API error while decoding base64 (nodejs)

I am using the npm package clarifai to access the Clarifai API. I need to use the getTagsByImageBytes function, but I get this answer: {"status_code":"ALL_ERROR","status_msg":"All images in request have failed. Please review the error messages per…
nakurai
  • 155
  • 1
  • 9
0
votes
1 answer

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 accessible on Clarifai's site pertaining to the…
0
votes
1 answer

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 at the names of the people, hopefully getting…
Pete Harrison
  • 95
  • 1
  • 6
0
votes
1 answer

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 called AItest and opened it in Visual Studio…
Lee
  • 149
  • 2
  • 11
0
votes
2 answers

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.js:82:1) at App.js:128:1 this is the second…
1 2
3
9 10