A method of gesture recognition, the method comprising: using a processor to detect a motion artifact from an output signal of a biosignal sensor included in a wrist-worn wearable device worn by a user at a first hand of the user; and generating a control signal to control a function of a target device, wherein the generating of the control signal comprises: determining a type of a gesture performed by a user by a second hand of the user different from the first hand by comparing a signal pattern of the motion artifact to at least one reference signal pattern stored in a memory; and generating the control signal to operate the target device based on the determined type of the gesture, wherein the motion artifact occurs by a physical pressure or a movement applied by the second hand of a user to the biosignal sensor, and wherein the detecting of the motion artifact comprises: sampling output signals of the biosignal sensor based on a time interval, determining a mean value of the values of the sampled output signals, and determining that the motion artifact occurs if a value of a deviation of the output signal from the determined mean value is greater than a preset threshold. using a processor to detect a motion artifact from an output signal of a biosignal sensor included in a wrist-worn wearable device worn by a user at a first hand of the user; and generating a control signal to control a function of a target device, wherein the generating of the control signal comprises: determining a type of a gesture performed by a user by a second hand of the user different from the first hand by comparing a signal pattern of the motion artifact to at least one reference signal pattern stored in a memory; and generating the control signal to operate the target device based on the determined type of the gesture, wherein the motion artifact occurs by a physical pressure or a movement applied by the second hand of a user to the biosignal sensor, and wherein the detecting of the motion artifact comprises: sampling output signals of the biosignal sensor based on a time interval, determining a mean value of the values of the sampled output signals, and determining that the motion artifact occurs if a value of a deviation of the output signal from the determined mean value is greater than a preset threshold. determining a type of a gesture performed by a user by a second hand of the user different from the first hand by comparing a signal pattern of the motion artifact to at least one reference signal pattern stored in a memory; and generating the control signal to operate the target device based on the determined type of the gesture, wherein the motion artifact occurs by a physical pressure or a movement applied by the second hand of a user to the biosignal sensor, and wherein the detecting of the motion artifact comprises: sampling output signals of the biosignal sensor based on a time interval, determining a mean value of the values of the sampled output signals, and determining that the motion artifact occurs if a value of a deviation of the output signal from the determined mean value is greater than a preset threshold. sampling output signals of the biosignal sensor based on a time interval, determining a mean value of the values of the sampled output signals, and determining that the motion artifact occurs if a value of a deviation of the output signal from the determined mean value is greater than a preset threshold.