Skip to main content

Clarifai

Clarifai Inc. is an artificial intelligence (AI) company that specializes in computer vision and uses machine learning and deep neural networks to identify and analyze images and videos.

Prerequisite

  1. Create your account on Clarifai and create an application.

  2. Open the application go to App Setting and copy the key of your application. This will be used to configure the connection of the Clarifai connector.

AWS Lambda with configuration details.

Configuring API Connector in DronaHQ

Add a Account name. Then add the API key for the connector account. Once all details are added, click Save. Your connector configuration is now done.

Clarifai with configuration details.
Clarifai with configuration details.

After successfully configuring and saving the connector settings, you can easily access your newly connected account by navigating to the connected accounts list. You can find this option from the Connector -> Manage Account section. This centralized location allows you to conveniently monitor and manage your connected accounts.

Supported API endpoints

ActionDescription
GetModelsRetrieve a list of available models for image and video predictions.
PredictImagePerform image prediction using a specific model and input image data.
PredictVideoPerform video prediction using a specific model and input video data.

Using Clarifai Connector

Predicting image

You can predict various features and attributes of objects present in an image URL by the means of different existing models of Clarifai used for image prediction.

Simply integrate the server-side action or the data-bind option of the Clarifai connector and select the PredictImage endpoint. Provide the required details such as Model and image URL.

We have selected Image Recognition (General Image recognition) as the model and used a cat image URL.

Predicting Image
Predicting Image

In this way, you can perform various analyses and predictions on image/video URLs using various models.