Create Human Body Picture Library

Human body picture library is used to store modeled human body pictures and information for management and comparison.

Figure 1 API Calling Flow of Creating Human Body Picture Library
Note:

For integration via Device Network SDK, the related text protocol data should be transmitted by the specific API (i.e., NET_DVR_STDXMLConfig) to realize the applications. Refer to Integrate by Transmitting Text Protocol for details.

  1. Call /ISAPI/System/capabilities by GET method to get the device capability to check whether the device supports configuration of human body picture library.
    • If the node <isSupportHBDLib> exists in the returned device capability XML_DeviceCap, and its value is true, perform the following steps to continue.

    • Otherwise, end this task as the human body picture library is not supported.

  2. Call /ISAPI/Intelligent/HBDLib/capabilities?format=json by GET method to get the configuration capability of human body picture library.

    The configuration capability is returned in the message JSON_HBDLibCap.

  3. Call /ISAPI/Intelligent/HBDLib?format=json by POST method to create human body picture libraries.
  4. Optional: Perform the following operation(s) after creating human body library.
    Option Description

    Get, Set, or Delete Human Body Picture Libraries in a Batch

    GET, PUT, or DELETE /ISAPI/Intelligent/HBDLib?format=json

    Get, Set, or Delete a Human Body Picture Library

    GET, PUT, or DELETE /ISAPI/Intelligent/HBDLib/<HBDID>?format=json

    Get or Set Custom Information of Human Body Picture Library

    GET or PUT /ISAPI/Intelligent/HBDLib/extend?format=json