GB/T 38665.2-2020 English PDF (GBT38665.2-2020)
GB/T 38665.2-2020 English PDF (GBT38665.2-2020)
Regular price
$295.00 USD
Regular price
Sale price
$295.00 USD
Unit price
/
per
Delivery: 3 seconds. Download true-PDF + Invoice.
Get QUOTATION in 1-minute: Click GB/T 38665.2-2020
Historical versions: GB/T 38665.2-2020
Preview True-PDF (Reload/Scroll if blank)
GB/T 38665.2-2020: Information technology -- Gesture interaction system -- Part 2: System external interface
GB/T 38665.2-2020
NATIONAL STANDARD OF THE
PEOPLE’S REPUBLIC OF CHINA
ICS 35.240
L 60
Information Technology - Gesture Interaction System -
Part 1: System External Interface
ISSUED ON: APRIL 28, 2020
IMPLEMENTED ON: NOVEMBER 01, 2020
Issued by: State Administration for Market Regulation;
Standardization Administration of PRC.
Table of Contents
Foreword ... 3
1 Scope ... 5
2 Normative References ... 5
3 Terms and Definitions ... 5
4 General ... 6
5 Definition of Interface ... 6
5.1 Numbering format of interface ... 6
5.2 Definition form of interface ... 6
5.3 System input interface ... 7
5.4 System output interface ... 9
5.5 System service interface ... 10
6 Definition of Interface Parameters ... 15
6.1 Definition format of interface parameters ... 15
6.2 Type of gesture recognition algorithm ... 16
6.3 Gesture data ... 16
6.4 Recognition algorithm ... 17
6.5 Gesture set ... 17
6.6 Gesture template ... 17
6.7 Gesture identification ... 18
6.8 Gesture instruction set ... 18
6.9 Gesture instruction identification ... 18
6.10 Return value ... 18
7 Example of Calling Process of Gesture Recognition Interface in Gesture
Interaction System ... 19
7.1 Example of calling process of discrete gesture recognition interface ... 19
7.2 Example of calling process of continuous gesture recognition interface ... 22
Information Technology - Gesture Interaction System -
Part 1: System External Interface
1 Scope
This Part of GB/T 38665 specifies the external interface of the gesture interaction
system.
This Part is applicable to the development, application, and maintenance of gesture
interaction systems that are independent of devices, platforms, and methods.
2 Normative References
The following documents are essential to the application of this document. For the
dated documents, only the versions with the dates indicated are applicable to this
document; for the undated documents, only the latest version (including all the
amendments) are applicable to this document.
GB/T 18793 Information Technology - Extensible Markup Language (XML)1.0
GB/T 38665.1-2020 Information Technology – Gesture Interaction System – Part
1: General Technical Requirements
3 Terms and Definitions
For the purpose of this document, the terms and definitions given in GB/T 38665.1-
2020 and the following apply.
3.1 Gesture recognition algorithm
A computer program that is used in the process of converting a user's gesture signal
into a gesture recognition result.
3.2 Discrete gesture recognition algorithm
A class of gesture recognition algorithm that the recognition module recognizes a piece
of gesture data at a time, and obtains the corresponding recognition result.
EXAMPLE: For a gesture interaction system equipped with a handle, the user presses the
handle button to start a gesture, and releases the button to end the gesture. The recognition
Number: 2-2
Description: onGestureStarted(void): void
Function: This interface is used to indicate a gesture activation. When the used
recognition algorithm is a discrete gesture recognition algorithm (see 3.2), the callback
shall be triggered once when the starting instruction provided by the input device is
obtained; and then it is no longer triggered; and it may be triggered again after the
gesture completion or the gesture cancelation. When the used recognition algorithm is
a continuous gesture recognition algorithm (see 3.3), this interface shall trigger a
callback once when the input device begins to provide gesture data; and then it is no
longer triggered; and it may be triggered again after any gesture is successfully
recognized.
Main implementation process: This interface exists in the form of a callback function.
Under the condition of discrete recognition, it may be implemented based on the
hardware events provided by the operating system. Under the condition of continuous
recognition, it may be implemented based on the hardware events and gesture
recognition results provided by the operating system.
Input parameters: no definition.
Output parameters: no definition.
5.3.3 Gesture completion
Number: 2-3
Description: onGestureFinished(void): void
Function: This interface is used to indicate a gesture completion. When the used
recognition algorithm is a discrete gesture recognition algorithm (see 3.2), after the
start of the gesture, the callback is triggered when the end command provided by the
input device is obtained. When the used recognition algorithm is a continuous gesture
recognition algorithm (see 3.3), after the start of the gesture, a callback is triggered
when any gesture is successfully recognized.
Main implementation process: This interface exists in the form of a callback function.
Under discrete recognition conditions, it may be implemented based on hardware
events provided by the operating system. Under continuous recognition conditions, it
may be implemented based on gesture recognition results.
Input parameters: no definition.
Output parameters: no definition.
5.3.4 Gesture cancelation
Function: The gesture interaction system shall provide at least one feedback method
among visual, auditory, tactile, etc., and notify the user of the execution result after the
gesture input.
The main realization process: determine the gesture recognition results; and use the
hardware supported by the system to provide corresponding feedback for each
recognition result.
EXAMPLE: When gesture recognition fails (not successfully recognized any gesture in the
gesture set), the drive speaker emits a "deng" failure prompt tone.
Input parameters: gestureId, recognized gesture identification, see 6.7.
Output parameters: return value, etc., see 6.10.
5.4.3 System function prompt
Number: 9-3
Description: showSysGestureCommand(in gestureSet: GestureSet, in commandSet:
CommandSet): void
Function: The gesture interaction system shall provide at least one feedback method
among visual, auditory, tactile, etc., and prompt the user to perform operations on the
current system and corresponding gestures.
Main realization process: according to the contents of the gesture set and the
application gesture instruction set, use the hardware supported by the system to
prompt the operable application gesture instructions and the corresponding gestures.
EXAMPLE: Display the currently operable application gesture instructions in the form of an icon
in a suitable position on the software interface, and display the gesture corresponding to each
gesture instruction next to its icon.
Input parameters: gestureSet, gesture set, see 6.5; commandSet, gesture instruction
set, see 6.8.
Output parameters: no definition.
5.5 System service interface
5.5.1 Create gesture set
Number: 11-1
Description: createGestureSet(out gestureSet: GestureSet): int
Function: Create an empty gesture set.
Function: Remove the existing gesture from the gesture set. After calling this interface,
the removed gesture shall not be recognized.
Input parameters: gestureSet, gesture set, see 6.5; gestureId, identification of the
removed gesture, see 6.7.
Output parameters: return value, etc., see 6.10.
5.5.5 Initialize gesture recognition
Number: 4-1
Description: initGestureRecognizer(in recognitionType: int): int
Function: This interface is used to initialize the gesture recognition module, specify the
recognition type, and import gesture ...
Get QUOTATION in 1-minute: Click GB/T 38665.2-2020
Historical versions: GB/T 38665.2-2020
Preview True-PDF (Reload/Scroll if blank)
GB/T 38665.2-2020: Information technology -- Gesture interaction system -- Part 2: System external interface
GB/T 38665.2-2020
NATIONAL STANDARD OF THE
PEOPLE’S REPUBLIC OF CHINA
ICS 35.240
L 60
Information Technology - Gesture Interaction System -
Part 1: System External Interface
ISSUED ON: APRIL 28, 2020
IMPLEMENTED ON: NOVEMBER 01, 2020
Issued by: State Administration for Market Regulation;
Standardization Administration of PRC.
Table of Contents
Foreword ... 3
1 Scope ... 5
2 Normative References ... 5
3 Terms and Definitions ... 5
4 General ... 6
5 Definition of Interface ... 6
5.1 Numbering format of interface ... 6
5.2 Definition form of interface ... 6
5.3 System input interface ... 7
5.4 System output interface ... 9
5.5 System service interface ... 10
6 Definition of Interface Parameters ... 15
6.1 Definition format of interface parameters ... 15
6.2 Type of gesture recognition algorithm ... 16
6.3 Gesture data ... 16
6.4 Recognition algorithm ... 17
6.5 Gesture set ... 17
6.6 Gesture template ... 17
6.7 Gesture identification ... 18
6.8 Gesture instruction set ... 18
6.9 Gesture instruction identification ... 18
6.10 Return value ... 18
7 Example of Calling Process of Gesture Recognition Interface in Gesture
Interaction System ... 19
7.1 Example of calling process of discrete gesture recognition interface ... 19
7.2 Example of calling process of continuous gesture recognition interface ... 22
Information Technology - Gesture Interaction System -
Part 1: System External Interface
1 Scope
This Part of GB/T 38665 specifies the external interface of the gesture interaction
system.
This Part is applicable to the development, application, and maintenance of gesture
interaction systems that are independent of devices, platforms, and methods.
2 Normative References
The following documents are essential to the application of this document. For the
dated documents, only the versions with the dates indicated are applicable to this
document; for the undated documents, only the latest version (including all the
amendments) are applicable to this document.
GB/T 18793 Information Technology - Extensible Markup Language (XML)1.0
GB/T 38665.1-2020 Information Technology – Gesture Interaction System – Part
1: General Technical Requirements
3 Terms and Definitions
For the purpose of this document, the terms and definitions given in GB/T 38665.1-
2020 and the following apply.
3.1 Gesture recognition algorithm
A computer program that is used in the process of converting a user's gesture signal
into a gesture recognition result.
3.2 Discrete gesture recognition algorithm
A class of gesture recognition algorithm that the recognition module recognizes a piece
of gesture data at a time, and obtains the corresponding recognition result.
EXAMPLE: For a gesture interaction system equipped with a handle, the user presses the
handle button to start a gesture, and releases the button to end the gesture. The recognition
Number: 2-2
Description: onGestureStarted(void): void
Function: This interface is used to indicate a gesture activation. When the used
recognition algorithm is a discrete gesture recognition algorithm (see 3.2), the callback
shall be triggered once when the starting instruction provided by the input device is
obtained; and then it is no longer triggered; and it may be triggered again after the
gesture completion or the gesture cancelation. When the used recognition algorithm is
a continuous gesture recognition algorithm (see 3.3), this interface shall trigger a
callback once when the input device begins to provide gesture data; and then it is no
longer triggered; and it may be triggered again after any gesture is successfully
recognized.
Main implementation process: This interface exists in the form of a callback function.
Under the condition of discrete recognition, it may be implemented based on the
hardware events provided by the operating system. Under the condition of continuous
recognition, it may be implemented based on the hardware events and gesture
recognition results provided by the operating system.
Input parameters: no definition.
Output parameters: no definition.
5.3.3 Gesture completion
Number: 2-3
Description: onGestureFinished(void): void
Function: This interface is used to indicate a gesture completion. When the used
recognition algorithm is a discrete gesture recognition algorithm (see 3.2), after the
start of the gesture, the callback is triggered when the end command provided by the
input device is obtained. When the used recognition algorithm is a continuous gesture
recognition algorithm (see 3.3), after the start of the gesture, a callback is triggered
when any gesture is successfully recognized.
Main implementation process: This interface exists in the form of a callback function.
Under discrete recognition conditions, it may be implemented based on hardware
events provided by the operating system. Under continuous recognition conditions, it
may be implemented based on gesture recognition results.
Input parameters: no definition.
Output parameters: no definition.
5.3.4 Gesture cancelation
Function: The gesture interaction system shall provide at least one feedback method
among visual, auditory, tactile, etc., and notify the user of the execution result after the
gesture input.
The main realization process: determine the gesture recognition results; and use the
hardware supported by the system to provide corresponding feedback for each
recognition result.
EXAMPLE: When gesture recognition fails (not successfully recognized any gesture in the
gesture set), the drive speaker emits a "deng" failure prompt tone.
Input parameters: gestureId, recognized gesture identification, see 6.7.
Output parameters: return value, etc., see 6.10.
5.4.3 System function prompt
Number: 9-3
Description: showSysGestureCommand(in gestureSet: GestureSet, in commandSet:
CommandSet): void
Function: The gesture interaction system shall provide at least one feedback method
among visual, auditory, tactile, etc., and prompt the user to perform operations on the
current system and corresponding gestures.
Main realization process: according to the contents of the gesture set and the
application gesture instruction set, use the hardware supported by the system to
prompt the operable application gesture instructions and the corresponding gestures.
EXAMPLE: Display the currently operable application gesture instructions in the form of an icon
in a suitable position on the software interface, and display the gesture corresponding to each
gesture instruction next to its icon.
Input parameters: gestureSet, gesture set, see 6.5; commandSet, gesture instruction
set, see 6.8.
Output parameters: no definition.
5.5 System service interface
5.5.1 Create gesture set
Number: 11-1
Description: createGestureSet(out gestureSet: GestureSet): int
Function: Create an empty gesture set.
Function: Remove the existing gesture from the gesture set. After calling this interface,
the removed gesture shall not be recognized.
Input parameters: gestureSet, gesture set, see 6.5; gestureId, identification of the
removed gesture, see 6.7.
Output parameters: return value, etc., see 6.10.
5.5.5 Initialize gesture recognition
Number: 4-1
Description: initGestureRecognizer(in recognitionType: int): int
Function: This interface is used to initialize the gesture recognition module, specify the
recognition type, and import gesture ...