POST api/stream/cameraframe

Request Information

URI Parameters

None.

Body Parameters

Camera
NameDescriptionTypeAdditional information
Frame

string

None.

ScoreLevel

decimal number

None.

Hand

string

None.

FileName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Frame": "sample string 1",
  "ScoreLevel": 2.0,
  "Hand": "sample string 3",
  "FileName": "sample string 4"
}

application/xml, text/xml

Sample:
<Camera xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApi.Models">
  <FileName>sample string 4</FileName>
  <Frame>sample string 1</Frame>
  <Hand>sample string 3</Hand>
  <ScoreLevel>2</ScoreLevel>
</Camera>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

PredictResults
NameDescriptionTypeAdditional information
payload

Collection of PredictResult

None.

Response Formats

application/json, text/json

Sample:
{
  "payload": [
    {
      "classification": {
        "score": 1.1
      },
      "displayName": "sample string 1"
    },
    {
      "classification": {
        "score": 1.1
      },
      "displayName": "sample string 1"
    }
  ]
}

application/xml, text/xml

Sample:
<PredictResults xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BPC.GoogleAutoMLVision">
  <payload>
    <PredictResult>
      <classification>
        <score>1.1</score>
      </classification>
      <displayName>sample string 1</displayName>
    </PredictResult>
    <PredictResult>
      <classification>
        <score>1.1</score>
      </classification>
      <displayName>sample string 1</displayName>
    </PredictResult>
  </payload>
</PredictResults>