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

Get Face Recognition

Page 21 highlights

Auto Tracking System Web API Specifications Version 1.6 3.12 Get Face Recognition The Get Face Recognition command is used to acquire the list of face recognition information corresponding to the page no., search string, and number of elements per page. The list of transmission parameters is as shown below. Name page query data_num Table 3.12-1 List of Transmission Parameters Usage Type Description Mandatory Integer value This is the specified page no. Optional String This is the search string. Mandatory Integer value This is the specified number of elements per page. 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. data_list:[1],page_num:[2] The list information is saved in the below-mentioned format at the locations corresponding to the numbers enclosed within "[ ]". Note that when the specified parameter is invalid, "nack", which indicates a negative acknowledgment, is saved, and the response parameter described above is not saved. No. Name 1 data_list 2 page_num Table 3.12-2 Reception Response Data Configuration Type Description The face recognition information corresponding to the specifie d parameters is saved in the list format shown below. (Enclose the entire list between "[" and "]", each record between "{" and "}", and express the information of each field of the record as [Field name]:[Field value]".) List information Example: data_list:[{id:1,target_name:"Target001",face_contents:"[*]"},{i d:2,target_name:"Target002",face_contents:"[*]"},{id:3,target_n ame:"Target003",face_contents:"[*]"}] * This information is obtained by converting the JPEG binary of the face image data that is the source of the face recognition i nformation into a BASE 64 string. Integer value This is the total number of pages of list information. Confidential © 2014-2015 Panasonic. All Rights Reserved. 21 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.
21 of 24
3.12
Get Face Recognition
The Get Face Recognition command is used to acquire the list of face recognition information
corresponding to the page no., search string, and number of elements per page. The list of transmission
parameters is as shown below.
Table 3.12-1 List of Transmission Parameters
Name
Usage
Type
Description
page
Mandatory
Integer value
This is the specified page no.
query
Optional
String
This is the search string.
data_num
Mandatory
Integer value
This is the specified number of elements per page.
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.
data_list:[1],page_num:[2]
The list information is saved in the below-mentioned format at the locations corresponding to the
numbers enclosed within "[ ]". Note that when the specified parameter is invalid, "nack", which indicates
a negative acknowledgment, is saved, and the response parameter described above is not saved.
Table 3.12-2 Reception Response Data Configuration
No.
Name
Type
Description
1
data_list
List information
The face recognition information corresponding to the specifie
d parameters is saved in the list format shown below. (Enclose
the entire list between "[" and "]", each record between "{" and
"}", and express the information of each field of the record as
[Field name]:[Field value]".)
Example:
data_list:[{id:1,target_name:"Target001",face_contents:”[*]”},{i
d:2,target_name:"Target002",face_contents:”[*]”},{id:3,target_n
ame:"Target003",face_contents:”[*]”}]
* This information is obtained by converting the JPEG binary of
the face image data that is the source of the face recognition i
nformation into a BASE 64 string.
2
page_num
Integer value
This is the total number of pages of list information.