gr_recognition_to_map

Syntax:

gr_recognition_to_map(result);
Argument name Type Description
result Result The recognition result object

Returns: (ds_map) A ds_map

Description:

Creates and returns a new ds_map where each key is the name of the template gesture and the value is the accuracy score of that gesture template.

Example:

var map = gr_recognition_to_map(result);
var s = map[? "triangle"];
show_debug_message("The accuracy score for the triangle gesture is " + string(s));