Home / Docs Center / Face Recognition API / Video Stream Recognition Completion Callback

Video Stream Recognition Completion Callback

Face Recognition API · General

Project: Face Recognition API | page_id: 67

Brief Description:

  • Video stream recognition completion callback, detected face image

Request URL:
- Configured base address + upload path url/uploadPath

Request Method:
- POST

Parameters:

Parameter Required Type Description
id No string Recognized face ID
rate No int32 Similarity (face)
motorNum No int32 Number of electric bicycles
num No int32 Number of gas cylinders
type Yes string Event type (see the configuration page)
serial Yes string Device serial number
time Yes int64 Recognition time (in seconds)
images Yes string Recognized image Base64 string

Request Example
- Face

  {
    "id": "12456",
    "rate": 100,
    "serial": "abcdefg",
    "time": "15732222222",
    "images": "aHR0cDovLzE5Mi4xNjguMC4xOTA6MzAwMw=="
  }
  • Electric bicycle
  {
    "motorNum": 1,
    "type": "tram",
    "serial": "abcdefg",
    "time": "15732222222",
    "images": "aHR0cDovLzE5Mi4xNjguMC4xOTA6MzAwMw=="
  }
  • Garbage
  {
    "rate": 80,
    "type": "garbage",
    "serial": "abcdefg",
    "time": "15732222222",
    "images": "aHR0cDovLzE5Mi4xNjguMC4xOTA6MzAwMw=="
  }
  • Gas cylinder
  {
    "num": 1,
    "type": "gasTank",
    "serial": "abcdefg",
    "time": "15732222222",
    "images": "aHR0cDovLzE5Mi4xNjguMC4xOTA6MzAwMw=="
  }

Response Example

  {
    "code": 0,
    "msg": "",
  }

Response Parameter Description

Parameter Type Description
code int >0 error code on failure, otherwise success
msg string Error message, present when code>0

Notes

  • None
Didn't find what you need?Contact us,Talk to our engineers directly.

Request a Quote

Fill in the form and we will get back with a quote and proposal within 1 business day.

Click "Generate inquiry email" to open your mail client with the body pre-filled. If no mail client is configured, click "Copy" and paste it into webmail — recipient: sunshiyang@xstrive.com.