Panasonic AW-SF100/SF200 AW-SF100 API Documentation - Page 22

Edit Face Recognition

Page 22 highlights

Auto Tracking System Web API Specifications Version 1.6 3.13 Edit Face Recognition The Edit Face Recognition command is used to edit the face recognition information (the m_face_recognition table on the database) that exists in the system. The list of transmission parameters is as shown below. Name method id target_name face_contents Table 3.13-1 List of Transmission Parameters Usage Type Description Mandatory Mandatory Mandatory Mandatory String Integer value String String The following values are saved depending on the contents of the editing operation: - Add: add - Update: edit - Delete: remove This parameter is mandatory for Update and Delete. Set the identification ID of the target record. This parameter is mandatory for Add and Update. Set the target name of the target record. This parameter is mandatory for Add and Update. Set the information obtained by converting the JPEG binary of the face image data of the target record into a BASE 64 string. The reception response is saved as either "ack", which indicates a positive acknowledgment, or "nack", which indicates a negative acknowledgment. The reception response parameters are specified as below. message:[1] The list information is saved in the below-mentioned format at the locations corresponding to the numbers enclosed within "[ ]". No. Name 1 message Table 3.13-2 Reception Response Data Configuration Type Description String When the process is successful (ack), "OK" is saved and when the process fails (nack), the cause of failure of the process is saved as a string. Confidential © 2014-2015 Panasonic. All Rights Reserved. 22 of 24

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24

Auto Tracking System Web API Specifications
Version 1.6
Confidential
© 2014-2015 Panasonic. All Rights Reserved.
22 of 24
3.13 Edit Face Recognition
The Edit Face Recognition command is used to edit the face recognition information (the
m_face_recognition table on the database) that exists in the system. The list of transmission
parameters is as shown below.
Table 3.13-1 List of Transmission Parameters
Name
Usage
Type
Description
method
Mandatory
String
The following values are saved depending on the
contents of the editing operation:
- Add: add
- Update: edit
- Delete: remove
id
Mandatory
Integer value
This parameter is mandatory for Update and Delete. Set
the identification ID of the target record.
target_name
Mandatory
String
This parameter is mandatory for Add and Update. Set
the target name of the target record.
face_contents
Mandatory
String
This parameter is mandatory for Add and Update. Set
the information obtained by converting the JPEG binary
of the face image data of the target record into a BASE
64 string.
The reception response is saved as either "ack", which indicates a positive acknowledgment, or "nack",
which indicates a negative acknowledgment.
The reception response parameters are specified as below.
message:[1]
The list information is saved in the below-mentioned format at the locations corresponding to the
numbers enclosed within "[ ]".
Table 3.13-2 Reception Response Data Configuration
No.
Name
Type
Description
1
message
String
When the process is successful (ack), "OK" is saved and when
the process fails (nack), the cause of failure of the process is
saved as a string.