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

Image

Page 16 highlights

Auto Tracking System Web API Specifications Version 1.6 3.8 Image The Image command is used to acquire a frame image of camera images. The command format is set as binary data configured by a header including the tracking process information, and a data part in which Jpeg-format binary data is saved. The list of transmission parameters is as shown below. Name id Table 3.8-1 List of Transmission Parameters Usage Type Description Mandatory Integer value This is the camera ID. The reception response during a positive acknowledgment is set as binary data having the contents specified below. Note that when the camera ID is invalid, "nack", which indicates a negative acknowledgment is saved for a request corresponding to a camera ID with which either no communication is being performed, or the communication has been disrupted, and binary data is not saved. Name Command information Camera ID Display magnification Tracking target rectangle information Tracking region rectangle information Facial detection rectangle information Upper body detection rectangle information Table 3.8-2 Reception Response Data Configuration Byte Type Description The type of command data and the command 32 ASCII name are saved as "response,GetImage". "0" is saved in the region in which no string is saved. 2 ASCII The information of IDs from "01" to "99" is saved. 3 ASCII The magnification information [%] is saved as "000" to "100". The rectangle information (X, Y coordinates, width, height) of the tracking target is saved in the format described below. "0" is saved in the 32 ASCII region in which no string is saved. Example: 100,200,300,600 Note that when the rectangle information does not exist on the process, "0" is saved for each parameter. The rectangle information (X, Y coordinates, width, height) of the tracking region is saved in the format described below. "0" is saved in the 32 ASCII region in which no string is saved. Example: 1000,250,800,600 Note that when the rectangle information does not exist on the process, "0" is saved for each parameter. The rectangle information (X, Y coordinates, width, height) of the detected face is saved in 32 ASCII the format described below. "0" is saved in the region in which no string is saved. Example: 100,200,80,80 The rectangle information (X, Y coordinates, 32 ASCII width, height) of the detected upper body is saved in the format described below. "0" is Confidential © 2014-2015 Panasonic. All Rights Reserved. 16 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.
16 of 24
3.8
Image
The Image command is used to acquire a frame image of camera images. The command format is set
as binary data configured by a header including the tracking process information, and a data part in
which Jpeg-format binary data is saved. The list of transmission parameters is as shown below.
Table 3.8-1 List of Transmission Parameters
Name
Usage
Type
Description
id
Mandatory
Integer value
This is the camera ID.
The reception response during a positive acknowledgment is set as binary data having the contents
specified below. Note that when the camera ID is invalid, "nack", which indicates a negative
acknowledgment is saved for a request corresponding to a camera ID with which either no
communication is being performed, or the communication has been disrupted, and binary data is not
saved.
Table 3.8-2 Reception Response Data Configuration
Name
Byte
Type
Description
Command information
32
ASCII
The type of command data and the command
name are saved as
"
response,GetImage". "0" is
saved in the region in which no string is saved.
Camera ID
2
ASCII
The information of IDs from "01" to "99" is saved.
Display magnification
3
ASCII
The magnification information [%] is saved
as "000" to "100".
Tracking target
rectangle information
32
ASCII
The rectangle information (X, Y coordinates,
width, height) of the tracking target is saved in
the format described below. "0" is saved in the
region in which no string is saved.
Example:
100,200,300,600
Note that when the rectangle information does not
exist on the process, "0" is saved for each parameter.
Tracking region
rectangle information
32
ASCII
The rectangle information (X, Y coordinates,
width, height) of the tracking region is saved in
the format described below. "0" is saved in the
region in which no string is saved.
Example:
1000,250,800,600
Note that when the rectangle information does not
exist on the process, "0" is saved for each parameter.
Facial detection
rectangle information
32
ASCII
The rectangle information (X, Y coordinates,
width, height) of the detected face is saved in
the format described below. "0" is saved in the
region in which no string is saved.
Example:
100,200,80,80
Upper body detection
rectangle information
32
ASCII
The rectangle information (X, Y coordinates,
width, height) of the detected upper body is
saved in the format described below. "0" is