JSON_SearchResult

JSON message about hard hat detection search result

{
  "SearchResult":{
    "responseStatusStrg": "",
/*required, string, search status description: "OK"-search ended, "MORE"-searching, "NO_MATCHES"-no data found, the maximum size is 32 bytes, {dep if errcode == 1 && errMsg == ok}*/
    "numOfMatches": ,
/*required, integer32, number of records matched in this search, {dep if errcode == 1 && errMsg == ok}*/
    "totalMatches": ,
/*required, integer32, total number of records matched, {dep if errcode == 1 && errMsg == ok}*/
    "targets": [{
/*optional, search result*/
      "time": "",
/*required, statistics time in ISO8601 format, e.g., 2017-08-25T11:34:59+08:00*/
      "channel": ,
/*required, int, channel No.*/
      "Target":{
/*required, target information*/
        "Rect": [{
/*optional, target frame*/
          "targetID": ,
/*optional, target ID*/
          "height": ,
/*required, float, height*/
          "width": ,
/*required, float, width*/
          "x": ,
/*required, float, X-coordinate (the upper-left corner is the origin)*/
          "y": 
/*required, float, Y-coordinate (the upper-left corner is the origin)*/
        }],
        "face":[{ 
/*face picture information, this node is returned only when face picture comparison is linked to hard hat detection*/
          "FDID": "",
/*optional, string, face picture library ID, the maximum size is 63 bytes*/
          "FPID": "",
/*optional, string, face record ID, if it is inputted, it should be the unique ID consisting of letters and digits, and the maximum length is 63 bytes*/
          "name":"",
/*optional, string, name*/
          "caputureFacePicURL":"",
/*required, string, captured picture URL, the maximum size is 256 bytes, the captured picture will be returned no matter the face picture comparison is successful or not*/
          "libFacePicURL":"",
/*optional, string, URL of the matched picture in the library, the maximum size is 256 bytes*/
        }]
      },
      "backgroundImageURL": "", 
/*background picture URL*/
    }]
  }
}