getDetectionInfo

This method returns useful information about the mental command training or the facial expression training.

Parameters

Name

Type

Required

Description

detection

string

yes

Must be "mentalCommand" or "facialExpression".

Result

The result is an object containing information about the detection you specified in the parameters.

Name

Type

Description

actions

array of strings

The actions that this detection can detect.

controls

array of strings

The list of the status you can use when you call the training method.

events

array of strings

The events you can receive in the "sys" data stream when you train this detection.

signature

array of strings

The different types of signature that you can get or set with facialExpressionSignatureType.

Examples

Mental command

{
    "id": 1,
    "jsonrpc": "2.0",
    "method": "getDetectionInfo",
    "params": {
        "detection": "mentalCommand"
    }
}

Facial expression

{
    "id": 1,
    "jsonrpc": "2.0",
    "method": "getDetectionInfo",
    "params": {
        "detection": "facialExpression"
    }
}

Last updated