摘要 |
A robot and a method thereof are provided to put motion of the robot into data form, detects motion of a user by processing motion picture input through a camera in a motion detection system, and permit the robot to express emotion by moving its body. A method of permitting a robot to detects motion of a user and express emotion by moving its body includes a step(S10) of taking, as an input, motion picture of a user with a camera of a robot, a step(S11) of making each frame of motion picture into blocks of 8x8 so as to obtain differential picture data from the motion picture, a step(S12) of comparing the blocked motion picture frame with the previous motion picture frame and defining differential picture data based on the color variation, a step(S13) of defining user motion by analyzing the differential picture data on the basis of the database defined for the user motion, a step(S14) of judging whether the defined user motion is the one expected by the program executed in the robot, and a step(S15) of expressing positive emotion if the user motion is the expected one and expressing negative emotion if the user motion is not the expected one.
|