A method of detection of an interaction-error derived from an incorrect decision of a human and including an erroneous interaction-command of the human to their body part interacting with a human-machine interaction device of a machine by directly contacting this device or by a gesture based touch-less interface of this device , and thereby performing an erroneous interaction-action for controlling the machine , where the interaction-command is a motor-command to a muscular system of the human to cause a physical reaction of the body part, the method comprising using a computer processor in real-time operation for: during progression of the human-machine interaction-action, obtaining from a sensor command related data values which are to characterize a motor reaction of the human to the interaction-error, wherein the motor reaction comprises a command to the muscular system of the human to perform a compensation process attempting to cancel or correct the interaction-action, and the sensor is configured to measure an acceleration at the body part; analyzing said obtained command-related data values to determine a command-related data values pattern indicating the acceleration values along the progression of the interaction-action, comparing the command-related data values pattern with a command-related reference data values pattern, characterizing respective expected acceleration values along a progression of the interaction-action if the interaction-action were correct, for identifying the interaction-error; wherein said obtaining from the sensor the command related data values which are to characterize the motor reaction of the human to the interaction-error comprises: obtaining from the sensor a first command related data value measured at a first instant along the executed interaction-action; based on the first command related data value, estimating an expected command related data value at a later instant along the executed interaction-action; and obtaining from the sensor a command related data value at the later instant; said identifying the interaction-error is performed by checking if data indicative of a difference between the expected command related data value and the measured command related data value complies with a predefined criterion. during progression of the human-machine interaction-action, obtaining from a sensor command related data values which are to characterize a motor reaction of the human to the interaction-error, wherein the motor reaction comprises a command to the muscular system of the human to perform a compensation process attempting to cancel or correct the interaction-action, and the sensor is configured to measure an acceleration at the body part; analyzing said obtained command-related data values to determine a command-related data values pattern indicating the acceleration values along the progression of the interaction-action, comparing the command-related data values pattern with a command-related reference data values pattern, characterizing respective expected acceleration values along a progression of the interaction-action if the interaction-action were correct, for identifying the interaction-error; wherein said obtaining from the sensor the command related data values which are to characterize the motor reaction of the human to the interaction-error comprises: obtaining from the sensor a first command related data value measured at a first instant along the executed interaction-action; based on the first command related data value, estimating an expected command related data value at a later instant along the executed interaction-action; and obtaining from the sensor a command related data value at the later instant; said identifying the interaction-error is performed by checking if data indicative of a difference between the expected command related data value and the measured command related data value complies with a predefined criterion. <EOS>