content
MicrosoftFaceApi
  Last updated: 16/12/2017
  • Installs:
  • Today: 0
  • This Week: 60
  • This Month: 225
  • All Time: 121259
Developer:userdimas

MicrosoftFaceApi.addFaceToFaceList

Add a face to a face list.

Configuration

Step 2: Click 'Create'
Step 3: Sign up or log in when prompted
Step 4: Choose 'Computer Vision - Preview' to create new subscription
Step 5: In Key section choose Key1 or Key2. Copy one of these keys
Step 6: Make sure that you provide region from your endpoint URL, e.g in https://westcentralus.api.cognitive.microsoft.com/face/v1.0 region is westcentralus

Test This Block

  • subscriptionKey
    Body parameter
    The api key obtained from Microsoft Cognitive Servisces.

  • gear
    Required Parameters

    • image
      Body parameter
      cloud upload
      Upload file
      Image file. Image file size should between 1KB to 4MB. Only one face is allowed per image.
    • faceListId
      Body parameter
      Valid character is letter in lower case or digit or '-' or '_', maximum length is 64.
    • region
      Body parameter
      Region for your apiKey. Defaults to `westus`
    optional
    Optional Parameters
    • userData
      Body parameter
      User-specified data about the face list for any purpose. The maximum length is 1KB.
    • targetFace
      Body parameter
      A face rectangle to specify the target face to be added into the face list, in the format of "targetFace=left,top,width,height". E.g. "targetFace=10,10,100,100". If there is more than one face in the image, targetFace is required to specify which face to add. No targetFace means there is only one face detected in the entire image.
    Show Optional Parameters
    TEST Function
    CODE (NodeJS)
    Response

    Nice try, But you still have to Log in.
    Meanwhile, you can enjoy this limerick:

    "A programming genius called HEAP
    Had trouble in getting to sleep
    So he made his lambs troup
    through a huge FOR-NEXT loop
    FOR 1 TO 10000: NEXT sheep."

    Sign in to get the snippet
    Sign In
    x
    circle
    MicrosoftFaceApi
    $ / m
    We will charge your card every month for the plan amount, as well as any overages incurred in the previous month.
    ?

    Oops, we are missing some details

    Looks like there are a few missing details that you haven't filled in yet.
    These details are important and will help us protect you and let you know about anything new.

    x

    Connect your app to APIs via RapidAPI

    Consume and monitor multiple APIs through the RapidAPI SDK.
    Click start to set up your app and connect to your first API.

    START

    Give your app a name

    This app will be used in RapidAPI to collect and connect all the APIs you need.

    NEXT

    Connect your project

    Choose your backend language and then install & require the RapidAPI SDK.

    • node
      NodeJS
    • php
      PHP
    • python
      Python
    • objc
      Obj-C
    • android
      Android
    • go
      GO
    • ruby
      Ruby
    • csharp
      C#

    Install SDK

    Run the following command to install the SDK:

    npm install rapidapi-connect --save

    Require SDK

    In your code, add the following code to require the RapidAPI SDK:

    NEXT

    Hooray! You are connected

    Use the following code to try it out by getting all the APIs that are on RapidAPI.

    rapid.call('RapidAPI', 'getAll', {'{}'});
    FINISH
    esccloses this view
    x

    Login to RapidAPI

    Create endpoints based on popular APIs and share with others.
    Follow popular APIs and get updated. Stand out in the community of developers.

    LOG INSIGN UP
    Login with Github
    Login with Facebook
    Login with Google
    Or
    Remember Me

  • We're not going to post anything on your wall.
  • We're not planning to spam you.
  • esccloses this view
    x

    Why sign up to RapidAPI?

    • integrate
      Integrate APIs into your app
      Ruby, Java, Elixir, Node.js, Phyton, Objective C, Swift, PHP and MORE
    • keys
      Save all API keys in one place
    • notifications
      Get notifications about API changes
    • stats
      Get stats and monitor API connections
    Sign up with Github
    Sign up with Facebook
    Sign up with Google
  • We're not going to post anything on your wall.
  • We're not planning to spam you.
  • esccloses this view
    x

    Authentication

    Authenticate
    esccloses this view