A hand gesture detection electrical device for detecting hand gestures, comprising: an integrated circuit, IC, electronically integrating the following: a first interface configured to connect to at least one imaging device; a second interface configured to connect to a controlled unit; a data storage configured to store a plurality of sequential logic models each representing one of a plurality of hand gestures, each of said sequential logic models comprising a pre-defined sequence of at least one of a plurality of pre-defined hand poses and of a least one of a plurality of pre-defined hand motions, wherein each of said plurality of pre-defined hand poses and of said plurality of pre-defined hand motions being represented by one of a plurality of pre-defined hand features records; a memory configured to store a code; and at least one processor coupled to the first interface, said second interface, said data storage and said memory configured to execute said stored code, said code comprising: code instructions to receive at least one of a plurality of timed images depicting a moving hand of a user; code instructions to generate a runtime sequence of at least one of a plurality of runtime hand datasets, said runtime sequence representing the moving hand; code instructions to match each of said at least one of said plurality of runtime hand datasets with a respective one of said plurality of pre-defined hand features records in a respective position in a sequence of each of said plurality of sequential logic models; code instructions to estimate which one of said plurality of hand gestures best matches the runtime sequence through an optimization of said matching, using at least one structured support vector machine, SSVM, function; code instructions to initiate at least one action to said controlled unit, said at least one action being associated with a selected at least one of said plurality of hand gestures, said selection being based on said estimation; and wherein each of said plurality of pre-defined hand poses represents a position of a reference hand and wherein each of said plurality of pre-defined hand motions represents a movement of said reference hand. a first interface configured to connect to at least one imaging device; a second interface configured to connect to a controlled unit; a data storage configured to store a plurality of sequential logic models each representing one of a plurality of hand gestures, each of said sequential logic models comprising a pre-defined sequence of at least one of a plurality of pre-defined hand poses and of a least one of a plurality of pre-defined hand motions, wherein each of said plurality of pre-defined hand poses and of said plurality of pre-defined hand motions being represented by one of a plurality of pre-defined hand features records; a memory configured to store a code; and at least one processor coupled to the first interface, said second interface, said data storage and said memory configured to execute said stored code, said code comprising: code instructions to receive at least one of a plurality of timed images depicting a moving hand of a user; code instructions to generate a runtime sequence of at least one of a plurality of runtime hand datasets, said runtime sequence representing the moving hand; code instructions to match each of said at least one of said plurality of runtime hand datasets with a respective one of said plurality of pre-defined hand features records in a respective position in a sequence of each of said plurality of sequential logic models; code instructions to estimate which one of said plurality of hand gestures best matches the runtime sequence through an optimization of said matching, using at least one structured support vector machine, SSVM, function; code instructions to initiate at least one action to said controlled unit, said at least one action being associated with a selected at least one of said plurality of hand gestures, said selection being based on said estimation; and wherein each of said plurality of pre-defined hand poses represents a position of a reference hand and wherein each of said plurality of pre-defined hand motions represents a movement of said reference hand. code instructions to receive at least one of a plurality of timed images depicting a moving hand of a user; code instructions to generate a runtime sequence of at least one of a plurality of runtime hand datasets, said runtime sequence representing the moving hand; code instructions to match each of said at least one of said plurality of runtime hand datasets with a respective one of said plurality of pre-defined hand features records in a respective position in a sequence of each of said plurality of sequential logic models; code instructions to estimate which one of said plurality of hand gestures best matches the runtime sequence through an optimization of said matching, using at least one structured support vector machine, SSVM, function; code instructions to initiate at least one action to said controlled unit, said at least one action being associated with a selected at least one of said plurality of hand gestures, said selection being based on said estimation; and wherein each of said plurality of pre-defined hand poses represents a position of a reference hand and wherein each of said plurality of pre-defined hand motions represents a movement of said reference hand.