GithubHelp home page GithubHelp logo

pkdevboxy / cognitive-face-ios Goto Github PK

View Code? Open in Web Editor NEW

This project forked from microsoft/cognitive-face-ios

0.0 2.0 0.0 5.12 MB

iOS SDK for the Microsoft Face API, part of Cognitive Services

Home Page: https://www.microsoft.com/cognitive-services/en-us/face-api

License: Other

Ruby 0.56% Objective-C 93.06% Shell 6.39%

cognitive-face-ios's Introduction

Microsoft Face API: iOS Client Library & Sample

This repo contains the iOS client library & sample for the Microsoft Face API, an offering within Microsoft Cognitive Services, formerly known as Project Oxford.

The Client Library

The easiest way to consume the iOS client library is via CocoaPods. To install via Cocoapods

  1. Install Cocoapods - Follow the getting started guide to install Cocoapods.
  2. Add the following to your Podfile : pod 'ProjectOxfordFace'
  3. Run the command pod install to install the latest ProjectOxfordFace pod.
  4. Add #import <ProjectOxfordFace/MPOFaceSDK.h> to all files that need to reference the SDK.

The Sample

The sample app demonstrates the use of the Microsoft Face API iOS client library. The sample shows scenarios such as face detection, face verification, and face grouping.

Requirements

iOS must be version 9.0 or higher.

Building and running the sample

The sample app should already have the necessary Pods shipped with it. Open the ProjectOxfordFace.xcworkspace in Xcode and build.

  1. First, you must obtain a Face API subscription key by following the instructions on our website.
  2. Once in Xcode, under the example subdirectory, navigate to the file MPODemoConstants.h and insert your subscription key for the Face API
  3. To run the sample app, ensure that the target on top left side of Xcode is selected as ProjectOxfordFace-Example and select the play button or select Product > Run on the menu bar
  4. Once the app is launched, click on the buttons to try out the different scenarios.

Microsoft will receive the images you upload and may use them to improve Face API and related services. By submitting an image, you confirm you have consent from everyone in it.

Having issues?

  1. Make sure you have selected ProjectOxfordFace-Example as the target.
  2. Make sure you have included the subscription key in MPOTestConstants.h.
  3. Make sure you have opened the .xcworkspace file and not the .xcodeproj file in Xcode.
  4. Make sure you have used the correct Deployment Team profile.
  5. Make sure you are running iOS 9.0 or higher

Running and exploring the unit tests

Unit tests that demonstrate various Microsoft Cognitive Services scenarios such as detection, identification, grouping, similarity, verification, and face lists are located at Example/Tests.

To run the unit tests, first insert your subscription key in MPOTestConstants.h and then select the test navigator pane in Xcode to display all of the tests which can be run.

Contributing

We welcome contributions. Feel free to file issues and pull requests on the repo and we'll address them as we can. Learn more about how you can help on our Contribution Rules & Guidelines.

You can reach out to us anytime with questions and suggestions using our communities below:

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.

License

All Microsoft Cognitive Services SDKs and samples are licensed with the MIT License. For more details, see LICENSE.

Sample images are licensed separately, please refer to LICENSE-IMAGE.

Developer Code of Conduct

Developers using Cognitive Services, including this client library & sample, are expected to follow the “Developer Code of Conduct for Microsoft Cognitive Services”, found at http://go.microsoft.com/fwlink/?LinkId=698895.

cognitive-face-ios's People

Contributors

delfu avatar lightfrenzy avatar msftgits avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.