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

Food and non-food image on Clarifai API

I want to classify food and non-food image by using Clarifai API. It seems that the API is trying to assume that all images are food images, by default. For example, U pushed an image of people or animals to Clarifai and return back to us the…
xtiger
  • 1,446
  • 2
  • 15
  • 33
0
votes
1 answer

I cannot assign my result of my api request to the view in AngularJS

This is only a portion of my code. For some reason I can assign vm.print to my response, it does not show. However, when I console.log() the response, it appears in the console. Please help. I can assign vm.print to any string outside of the…
Ellipse
  • 27
  • 2
  • 9
0
votes
2 answers

Clarifai: Tag extraction from video

Does clarifai has the mechanism to extract tags from YouTube video? If it is possible, Kindly let me know how to do so?
Yo Yo Saty Singh
  • 539
  • 1
  • 6
  • 15
0
votes
4 answers

Python Clarifai confusion over setup

I'm trying to use clarifai with python and it tells me to run: $ clarifai config CLARIFAI_APP_ID: []: ************************************YQEd CLARIFAI_APP_SECRET: []: ************************************gCqT But where do I run this from? I have a…
Runner Bean
  • 4,895
  • 12
  • 40
  • 60
0
votes
1 answer

Is clarifai capable of logo recognition

Is clarifai's approach to image detection capable / suitable for recognizing brand logos in images or will I have to use different approaches for that purpose?
ManuKaracho
  • 1,180
  • 1
  • 14
  • 32
0
votes
1 answer

Environment Variables in Clarifai - clarifai_sample.js

I put Client ID and Client Secret in environment variables CLIENT_ID and CLIENT_SECRET respectively. They are for the same application. I also generated a token. I am getting the following error message: TAG request encountered an unexpected error:…
-1
votes
1 answer

clarifai- ValueError: too many values to unpack (expected 2)

I am trying to upload an food image and trying to detect the picture using clarifai food detection model which is in JSON format and display results in my html page I am taking sample code from here from flask import…
Safee987
  • 39
  • 4
-1
votes
2 answers

When clicking on detect a face even witout entering url the numbers are still moving up

i am currenty using the Clarifai API to detect faces, i also created that whenever i detect a face the numbers are moving up see below imageurl image however, when i click on detect, even without entering any url, the number still moves up, how can…
Tomas
  • 1
  • 3
-1
votes
1 answer

How does one delete a concept using its ID (node gRCP client)

I using Clarifai to simplifai custom model training for a client. I want to expose the CRUD API for inputs, annotations and concepts. I am unable to find how to delete concepts using the gRCP node client (V7.4) Please help me figure out how to…
eliastouil
  • 500
  • 3
  • 11
-1
votes
1 answer

KeyError: 'type' Clarifai

I'm starting on a project using Clarifai. However, when I define the app, I'm getting a key error: from clarifai.rest import ClarifaiApp from clarifai.rest import Image as ClImage import os from glob import glob api_key = 'my api key' app =…
throw
  • 1
  • 1
-1
votes
1 answer

Features in Clarifai

Does Clarifai provides explainability (feature) for the model? I am researching on the best ML platform for images and videos hence I came through Clarifai but in my top features I want the platform to have explainability feature as well.
-1
votes
1 answer

How does one access the Clarifai API for local file uploads in React?

This is my first question in Stack Overflow in my developer journey. In my project, I have implemented a file upload system which on clicking the button would trigger the Clarifai API recognition. Below is a snippet of my code where the thing is…
-1
votes
2 answers

Face detection not showing in correct position

my face Detection app doesnt work correctly even though I have added the correct math. The borders are shown in different areas. I'm using react as frontend and Clarifai as the API The Predict API returns probability scores on the likelihood that…
-1
votes
1 answer

400 Bad Request API CALL when using Clarifai's API with react's useState and useEffect

Trying to build an app that recognizes faces and objects in an image using clarifai's Api through react-dropzone which is a drag and drop package that i installed. when i use a static image i get a response from Clarifai with out any errors but when…
-1
votes
1 answer

faild to detect faces

I working on an app that can detect images using Clarifai api. I created all the components but anytime i post it will display api.clarifai.com/v2/models/a403429f2ddf4b49b307e318f00e528b/outputs:1 POST…
Guy Sher
  • 1
  • 1
1 2 3
9
10