JSON_HBDLibCap

JSON message about configuration capability of human body picture library

{
  "HBDLibCap":{
    "CreateHBDLib":{
/*required, capability of creating human body picture library*/
      "HBDMaxSize": ,
/*required, integer32, the maximum number of supported human body picture libraries*/
      "HBDID":{
/*required, string, ID of human body picture library, the maximum length is 64; for cameras, only the default HBDID will be returned*/
        "@min":"1", 
        "@max":"64"
      }, 
      "HBDLibName":{
/*required, string, name of human body picture library, the maximum length is 64*/
        "@min":"1", 
        "@max":"64"
      }, 
      "HBDLibThreshold":{
/*required, integer32, similarity threshold for human body picture comparison, the higher the threshold, the more accurate the comparison is; range: [0,100]*/
        "@min":0, 
        "@max":100
      }, 
      "HBPMaxSize":{
/*required, integer32, the maximum size of pictures in human body picture library*/
        "@max":15000
      }, 
      "customHBDID":{
/*optional, string, ID of custom human body picture library, the maximum length is 128*/
        "@min":"0", 
        "@max":"128"
      }, 
      "customInfo":{
/*optional, string, additional information of human body picture library, the maximum length is 32*/
        "@min":"0", 
        "@max":"32"
      }
    }, 
    "HumanAppendData":{
/*optional, additional information of person in human body picture*/
      "name":{
/*required, string, name, the maximum length is 64*/
        "@min":"0", 
        "@max":"64"
      }, 
      "gender":{
/*optional, string, gender: "male", "female", "unknown", the maximum length is 10*/
        "@opt":["male", "female", "unknown"]
      }, 
      "bornTime":"", 
/*required, string, date of birth, ISO8601 time format, the maximum length is 32*/
      "province":{
/*optional, string, province of birth, the maximum length is 32*/
        "@min":"0", 
        "@max":"32"
      }, 
      "city":{
/*optional, string, city of birth, the maximum length is 32*/
        "@min":"0", 
        "@max":"32"
      }, 
      "certificateType ":{
/*optional, string, certificate type: "officerID"-officer ID, "ID"-identity card, "other"-other; the maximum length is 10*/
        "@opt":["officerID", "ID", "other"]
      }, 
      "certificateNumber":{
/*optional, string, certificate No., the maximum length is 32*/
        "@min":"0", 
        "@max":"32"
      }, 
      "PersonInfoExtend":{
/*optional, custom extension information of person*/
        "MaxSize": ,
/*required,  integer32, the maximum size of supported custom extension information*/
        "id":{
/*optional, integer32, serial No. of person custom extension information, starts from 1*/
          "@min":1, 
          "@max":4
        }, 
        "enable":{
/*optional, boolean, whether to enable person custom extension information*/
          "@opt":[false, true]
        }, 
        "name":{
/*optional, string, name of person extension information tag*/
          "@min":"", 
          "@max":""
        }, 
        "value":{
/*optional, string, extension information details*/
          "@min":"", 
          "@max":""
        }
      }
    }, 
    "searchID":{
/*optional, string, search ID, which is used to check whether the current search requester is the same; if they are the same, the search record will be stored in the device to speed up the next search*/
      "@min":"1", 
      "@max":"64"
    }, 
    "searchResultPosition": , 
/*required, integer32, the end position of search result in result list; in a single search, if you cannot get all the records in the result list, you can mark the end position and get the following records after the marked position in the next search*/
    "maxResults": ,
/*required, integer32, maximum number of search results obtained this time, up to 500 records can be obtained per search; if the value of maxResults reaches the device supported limit, the device will return the maximum number of search results supported by the device*/ 
    "isSuportHBDSearch": ,
/*optional, boolean, whether the device supports searching for human body picture of human body picture library*/
    "ModelingStatus":{
/*optional, modeling related information*/
      "status":{
/*optional, string, modeling status: "modeling"-modeled, "unmodeled", "modelingFailed"-modeling failed*/
        "@opt":["modeling", "unmodeled", "modelingFailed"]
      }, 
      "reason":{
/*optional, string, modeling failure reason, it is valid when the value of status is "modelingFailed": "noHuman"-no human body, "humanSizeSmall"-picture size is too small, "shadeHuman"-human body is tempered, "unknow"-unknown error, "imageURLDownloadFailed"-picture download failed, "noJpgPicture"-the picture is not in JPEG format, "errorPictureResolution"-invalid resolution, "humanSizeBig"-picture size is too large, "diskError"-disk error, "diskFull"-disk is full, "analysisFailed"-analysis failed, "multipleHumans"-there are multiple human bodies*/
        "@opt":["noHuman", "humanSizeSmall", "shadeHuman", "unknow","imageURLDownloadFailed","noJpgPicture","errorPictureResolution","humanSizeBig","diskError","diskFull","analysisFailed","multipleHumans"]
      }
    }, 
    "isSuportHBDManualModeling": ,
/*optional, boolean, whether the device supports manual modeling of human body picture library*/ 
    "isSupportCapacity":
/*optional, boolean, whether the device supports getting storage capacity of human body picture library (related URI: /ISAPI/Intelligent/HBDLib/<HBDID>/capacity?format=json)*/
  }
}