All Projects → Clarifai → clarifai-ios

Clarifai / clarifai-ios

Licence: other
DEPRECATED: please use https://github.com/Clarifai/clarifai-swift-grpc

Programming Languages

objective c
16641 projects - #2 most used programming language
swift
15916 projects
ruby
36898 projects - #4 most used programming language

Projects that are alternatives of or similar to clarifai-ios

Fovea
A CLI for the Google, Clarifai, Rekognition (AWS), Imagga, Watson, SightHound, and Microsoft Computer Vision APIs.
Stars: ✭ 37 (-32.73%)
Mutual labels:  clarifai
clarifai
Clarifai PHP library for image recognition.
Stars: ✭ 15 (-72.73%)
Mutual labels:  clarifai
clarifai-php
Clarifai API client for PHP
Stars: ✭ 24 (-56.36%)
Mutual labels:  clarifai
javascript-starter
A few simple examples to help you get started using the Clarifai Javascript client and API
Stars: ✭ 18 (-67.27%)
Mutual labels:  clarifai
InstaPy
📷 Instagram Bot - Tool for automated Instagram interactions
Stars: ✭ 14,719 (+26661.82%)
Mutual labels:  clarifai
denoised-smoothing
Provably defending pretrained classifiers including the Azure, Google, AWS, and Clarifai APIs
Stars: ✭ 82 (+49.09%)
Mutual labels:  clarifai

DEPRECATION NOTICE

This library is being deprecated in favor of the Clarifai Apple SDK.

Clarifai Objective-C Client

A client for iOS apps using the Clarifai V2 API.

Installation

CocoaPods

The Clarifai API client can be easily installed with CocoaPods. For more details on setting up CocoaPods, go here. To integrate Clarifai into your project, simply add the following to your Podfile:

pod 'Clarifai'

Getting Started

  1. Create a new XCode project, or use a current one.

  2. Add Clarifai to your Podfile and generate workspace.

    pod 'Clarifai'
    
    pod install
    
  3. Import ClarifaiApp.h and any other classes you need.

    #import ClarifaiApp.h
    
  4. Go to developer.clarifai.com/applications, click on your application, then copy your app's API Key (if you don't already have an account or application, you'll need to sign up first).

  5. Create your Clarifai application in your project.

    ClarifaiApp *app = [[ClarifaiApp alloc] initWithApiKey:@""];
    
  6. That's it! Explore the API docs and guide.

NOTE- to use Clarifai in Swift, make sure to add use_frameworks! to your podfile and import into any swift file using: import Clarifai

Documentation

The most recent docs can be found here on Cocoadocs.

Example Project

There is a simple demo included in the repo to help you get started. To build this project, you need Xcode 8 and CocoaPods. To build and run:

  1. Install dependencies and generate workspace from inside the Example folder.

    pod install
    
  2. Open the workspace in Xcode

    open Clarifai.xcworkspace
    
  3. Go to developer.clarifai.com/applications, click on your application, then copy your app's API Key (if you don't already have an account or application, you'll need to sign up first).

    Add your API Key to the recognizeImage method in RecognitionViewController.m.

  4. Press the "Play" button in the toolbar to build, install, and run the app.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].