WO2018148951A1 - Robot control method and device based on gesture recognition, and robot - Google Patents

Robot control method and device based on gesture recognition, and robot Download PDF

Info

Publication number
WO2018148951A1
WO2018148951A1 PCT/CN2017/074019 CN2017074019W WO2018148951A1 WO 2018148951 A1 WO2018148951 A1 WO 2018148951A1 CN 2017074019 W CN2017074019 W CN 2017074019W WO 2018148951 A1 WO2018148951 A1 WO 2018148951A1
Authority
WO
WIPO (PCT)
Prior art keywords
robot
gesture recognition
range
camera
preset
Prior art date
Application number
PCT/CN2017/074019
Other languages
French (fr)
Chinese (zh)
Inventor
李北辰
Original Assignee
广州艾若博机器人科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 广州艾若博机器人科技有限公司 filed Critical 广州艾若博机器人科技有限公司
Priority to PCT/CN2017/074019 priority Critical patent/WO2018148951A1/en
Priority to CN201780017026.9A priority patent/CN109313485B/en
Publication of WO2018148951A1 publication Critical patent/WO2018148951A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]

Definitions

  • the invention relates to the technical field of smart home appliances, in particular to a robot control method, a control device and a robot based on gesture recognition.
  • the currently used home robots usually require the user to bend over to press a button or use a mobile phone or a remote control to control. These modes of operation are not very convenient for the user to use, and the user experience of the product cannot be improved.
  • An object of the embodiments of the present invention is to provide a robot control method, a control device, and a robot based on gesture recognition, which can perform corresponding operations on the robot based on the gesture recognition of the user, facilitate user use, improve user experience of the product, and have low cost. .
  • an embodiment of the present invention provides a robot control method based on gesture recognition, including the steps of:
  • the waving gesture recognition operation is initiated;
  • the ranging sensor After the wave gesture recognition operation is initiated, if the ranging sensor currently detects that the duration of the object within the preset range of the robot is within a preset value range, recording is a one-shot operation; if the ranging sensor is currently Detecting that the duration of the object exists within the preset range of the robot is not within a preset value range, or the ranging sensor currently detects that an object exists within the preset range of the robot to the next time the ranging sensor is detected Stopping the waving gesture recognition operation when the time interval of the object exists in the preset range of the robot is greater than a threshold;
  • mapping table records the correspondence between the number of wave operations and the execution operation.
  • the method further includes the steps of:
  • the user is prompted to perform a wave operation by controlling the robot to illuminate and/or vocalize.
  • the preset range is 50 cm to 120 cm.
  • the ranging sensor is a laser ranging sensor, an ultrasonic ranging sensor, or an infrared ranging sensor.
  • the ranging sensor currently detects that an object exists in the preset range of the robot to the ranging sensor, and the next preset of the robot is detected by the following method.
  • the time interval between objects in the range is greater than the threshold:
  • the first control signal is sent to start the first timer to start timing
  • the timing time when the first timer receives the second control signal is greater than a threshold, determining that the ranging sensor currently detects that an object exists in the preset range of the robot to the ranging sensor next time It is detected that the time interval in which the object exists within the preset range of the robot is greater than the threshold.
  • the ranging sensor currently detects whether the duration of the object existing in the preset range of the robot is within a preset value range:
  • a third control signal is issued to start the second timer to start timing
  • the fourth control signal is issued to stop the second timer timing
  • the timing time when the second timer receives the fourth control signal falls within the preset value range, determining that the ranging sensor currently detects the presence of an object within a preset range of the robot The time is within the preset value range; otherwise, it is judged that the ranging sensor currently detects that the duration of the object existing in the preset range of the robot is not within the preset value range.
  • the preset value range is greater than the threshold.
  • the ranging sensor is located at the top of the robot.
  • performing the corresponding operation on the robot includes starting work or stopping work.
  • the waving gesture recognition operation is started/stopped by a timing command, a control command, or a switch command.
  • the embodiment of the invention provides a robot control device based on gesture recognition, which comprises:
  • a waving gesture recognition operation starting module configured to initiate a waving gesture recognition operation when detecting that an object exists within a preset range of the robot by the ranging sensor;
  • a wave operation judgment module configured to record a wave operation if the distance sensor currently detects that the duration of the object within the preset range of the robot is within a preset value range after the wave gesture recognition operation is initiated; If the ranging sensor currently detects that the duration of the object existing in the preset range of the robot is not within the preset value range, or the ranging sensor currently detects that an object exists in the preset range of the robot to the measurement Stopping the waving gesture recognition operation when the distance sensor detects that the time interval of the object existing in the preset range of the robot is greater than the threshold value;
  • An execution module configured to perform a corresponding operation on the robot according to the recorded number of wave operations and a preset mapping table when the waving gesture recognition operation is stopped; wherein the mapping table records the number of wave operations and the operation Correspondence relationship.
  • the waving gesture recognition operation starting module is further configured to: when the wave gesture recognition operation is initiated by detecting that an object exists within a preset range of the robot by the ranging sensor, by controlling the robot to emit light and/or sound To prompt the user to wave.
  • the preset range is 50 cm to 120 cm.
  • the ranging sensor is a laser ranging sensor, an ultrasonic ranging sensor, or an infrared ranging sensor.
  • the wave operation judgment module includes:
  • a first control signal generating unit configured to detect the first time in the machine when the range sensor is activated after the wave gesture recognition operation is initiated When there is an object in the preset range of the person, the first control signal is sent to start the first timer to start timing;
  • a second control signal generating unit configured to send a second control signal to control each time the ranging sensor detects an object within a preset range of the robot, except for the first time after the wave gesture recognition operation is initiated.
  • the first timer is retimed;
  • a first determining unit when the time when the first timer receives the second control signal is greater than a threshold, determining that the ranging sensor currently detects that an object exists in the preset range of the robot to the The next time the ranging sensor detects that there is an object within the preset range of the robot, the time interval is greater than the threshold.
  • the wave operation judgment module further includes:
  • a third control signal generating unit configured to: after the triggering gesture recognition operation is started, when the ranging sensor detects that an object exists within a preset range of the robot, issue a third control signal to start the second timer to start timing ;
  • a fourth control signal generating unit configured to: after the start of the second timer starts timing, when the ranging sensor does not detect that an object exists in the preset range of the robot, the fourth control signal is sent to stop the first Two timers;
  • a second determining unit configured to: when the timing time when the second timer receives the fourth control signal falls within the preset value range, determine that the ranging sensor currently detects a pre-mouse in the robot It is assumed that the duration of the object exists within the preset value range; otherwise, it is determined that the ranging sensor currently detects that the duration of the object exists within the preset range of the robot is not within the preset value range.
  • the preset value range is greater than the threshold.
  • the ranging sensor is located at the top of the robot.
  • performing the corresponding operation on the robot includes starting work or stopping work.
  • the wave operation judgment module starts/stops the wave gesture recognition operation by issuing a timing command, a control command, or a switch command.
  • the gesture recognition-based robot control method and the control device disclosed by the present invention detect that an object exists within a preset range of the robot by the ranging sensor, and then initiate a wave gesture recognition operation, and start waving After the gesture recognition operation, if the ranging sensor currently detects that the duration of the object existing in the preset range of the robot is within a preset value range, recording is a one-wave operation; if the ranging sensor is currently detected The duration of the object in the preset range of the robot is not within the preset value range, or the ranging sensor currently detects that an object exists in the preset range of the robot to the next time the ranging sensor detects the robot in advance When the time interval in which the object exists in the range is greater than the threshold, the waving gesture recognition operation is stopped; and when the waving gesture recognition operation is stopped, the corresponding execution is performed on the robot according to the recorded number of the wave operation and the preset mapping table.
  • mapping table records a correspondence between the number of wave operations and the execution of the operation.
  • the embodiment of the invention further provides a robot control method based on gesture recognition, comprising the steps of:
  • the wave gesture recognition operation After the wave gesture recognition operation is initiated, if the camera currently recognizes that the duration of the object within the shooting range of the robot is within a preset value range, recording is a one-shot operation; if the camera is currently recognized in the robot There is something in the shooting range The duration of the body is not within the preset value range, or the camera currently recognizes that there is an object within the shooting range of the robot until the next time the camera recognizes that the time interval exists within the shooting range of the robot is greater than a threshold, stopping The waving gesture recognition operation;
  • mapping table records the correspondence between the number of wave operations and the execution operation.
  • the method further includes the steps of:
  • the user is prompted to perform a wave operation by controlling the robot to illuminate and/or vocalize.
  • the wave gesture recognition operation After the wave gesture recognition operation is started, it is determined by the following method that the camera currently recognizes that the object exists within the shooting range of the robot and the time when the camera next recognizes that the object exists within the shooting range of the robot.
  • the interval is greater than the threshold:
  • the camera Based on the photographing frequency of the camera, by judging that the camera recognizes an instant from the presence or absence of an object in the shooting range of the robot, the camera recognizes that the object is present from nothing in the shooting range of the robot.
  • the camera When the time interval is greater than the threshold, it is determined that the camera currently recognizes that the time interval between the object in the shooting range of the robot and the next time the camera recognizes that the object exists in the shooting range of the robot is greater than a threshold.
  • the camera Based on the shooting frequency of the camera, by determining that the camera recognizes that there is an instant of existence of the object within the preset range of the robot, the camera recognizes that there is an instant from the presence or absence of the object within the preset range of the robot.
  • the camera takes a picture according to the preset frequency, and compares the two photos before and after the camera is continuously shot. If the matching degree of the two photos before and after is greater than the set value, it is recognized that there is no object in the shooting range of the robot; If the matching degree of the two photos before and after is less than the set value, it is recognized that there is an object in the shooting range of the robot;
  • the camera takes a picture according to the preset frequency, and compares the two photos before and after the continuous shooting of the camera. If the two photos are only slightly different from each other, it is recognized that there is no object in the shooting range of the robot; If there are not only translational differences between the two front and back, but also there is an instantaneous difference between the objects, it is recognized that there is an object in the shooting range of the robot.
  • the camera has a shooting frequency of 10 to 50 frames/second.
  • the camera has a shooting frequency of 20 to 30 frames/second.
  • the preset value range is greater than the threshold.
  • the camera is located at the top of the robot.
  • performing the corresponding operation on the robot includes starting work or stopping work.
  • the waving gesture recognition operation is started/stopped by a timing command, a control command, or a switch command.
  • the embodiment of the invention provides a robot control device based on gesture recognition, which comprises:
  • a waving gesture recognition operation starting module configured to activate a waving gesture recognition operation when it is recognized by the camera that an object exists within a shooting range of the robot
  • a wave operation judgment module configured to record a wave operation if the camera currently recognizes that the duration of the object within the shooting range of the robot is within a preset value range after the wave gesture recognition operation is initiated; The camera currently recognizes that the duration of the object within the shooting range of the robot is not within the preset value range, or the camera currently recognizes that an object exists within the shooting range of the robot until the camera next recognizes the shooting range of the robot Stopping the waving gesture recognition operation when the time interval of the object in the object is greater than a threshold;
  • An execution module configured to perform a corresponding operation on the robot according to the recorded number of wave operations and a preset mapping table when the waving gesture recognition operation is stopped; wherein the mapping table records the number of wave operations and the operation Correspondence relationship.
  • the waving gesture recognition operation starting module is further configured to: when the gesture recognition operation is started by the camera to recognize that an object exists in the shooting range of the robot, prompting the user by controlling the robot to emit light and/or sounding Wave the operation.
  • the wave operation judgment module includes:
  • a first frame number counting unit based on the shooting frequency of the camera, by determining that the camera recognizes that there is no object in the shooting range of the robot, and the camera recognizes that the camera is within the shooting range of the robot Calculate the time interval by the number of frames through which the object exists;
  • a first determining unit configured to: when the time interval is greater than a threshold, determine that the camera currently recognizes that an object exists in the shooting range of the robot until the camera next recognizes that an object exists in the shooting range of the robot The interval is greater than the threshold.
  • the wave operation judgment module further includes:
  • a second frame number counting unit based on the photographing frequency of the camera, by determining that the camera recognizes that there is an existing object in the shooting range of the robot, and the camera recognizes that the camera is within the shooting range of the robot Calculate the duration without the number of frames passed by the existing object;
  • a second determining unit when the duration falls within the preset value range, determining that the ranging sensor currently detects that the duration of the object existing in the shooting range of the robot is within a preset value range; otherwise, determining The ranging sensor currently detects that the duration of the object within the shooting range of the robot is not within a preset value range.
  • the waving gesture recognition operation starting module identifies whether an object exists in the shooting range of the camera by:
  • the camera takes a picture according to the preset frequency, and compares the two photos before and after the camera is continuously shot. If the matching degree of the two photos before and after is greater than the set value, it is recognized that there is no object in the shooting range of the robot; If the matching degree of the two photos before and after is less than the set value, it is recognized that there is an object in the shooting range of the robot;
  • the camera takes a picture according to the preset frequency, and compares the two photos before and after the continuous shooting of the camera. If the two photos are only slightly different from each other, it is recognized that there is no object in the shooting range of the robot; If there are not only translational differences between the two front and back, but also there is an instantaneous difference between the objects, it is recognized that there is an object in the shooting range of the robot.
  • the camera has a shooting frequency of 10 to 50 frames/second.
  • the camera has a shooting frequency of 20 to 30 frames/second.
  • the preset value range is greater than the threshold.
  • the camera is located at the top of the robot.
  • performing the corresponding operation on the robot includes starting work or stopping work.
  • the wave operation judgment module starts/stops the wave gesture recognition operation by issuing a timing command, a control command, or a switch command.
  • the gesture recognition-based robot control method and the control device disclosed by the present invention recognizes that there is an object in the shooting range of the robot through the camera, and then initiates a wave gesture recognition operation, and initiates a wave gesture recognition operation. Thereafter, if the camera currently recognizes that the duration of the object within the shooting range of the robot is within a preset value range, recording is a one-shot operation; if the camera currently recognizes that an object exists within the shooting range of the robot The duration is not within the preset value range, or the camera currently recognizes that there is an object within the shooting range of the robot until the next time the camera recognizes that the time interval exists within the shooting range of the robot is greater than a threshold, stopping the a wave gesture recognition operation; and when the wave gesture recognition operation is stopped, performing a corresponding operation on the robot according to the recorded number of wave operation operations and a preset mapping table; wherein the mapping table records the number of wave operations and performs an operation Correspondence.
  • the corresponding operation (for example, starting work or stopping the work operation) can be performed on the robot based on the gesture recognition of the user, without the user bending over the button or using the mobile phone or the remote controller to control, facilitating the user to use, and improving the user to the product.
  • the corresponding operation for example, starting work or stopping the work operation
  • Embodiments of the present invention also provide a robot including the gesture recognition based robot control device as described above.
  • Embodiment 1 is a schematic flow chart of a robot control method based on gesture recognition in Embodiment 1 of the present invention.
  • FIG. 2 is a flow chart showing a specific implementation of a robot control method based on gesture recognition in Embodiment 1 of the present invention.
  • FIG. 3 is a flowchart of a specific implementation of a robot control method based on gesture recognition in Embodiment 1 of the present invention.
  • FIG. 4 is a schematic flow chart of a robot control method based on gesture recognition in Embodiment 2 of the present invention.
  • FIG. 5 is a flowchart of a specific implementation of a robot control method based on gesture recognition in Embodiment 2 of the present invention.
  • FIG. 6 is a flowchart of a specific implementation of a robot control method based on gesture recognition in Embodiment 2 of the present invention.
  • FIGS. 7a-7b are schematic diagrams of gesture swinging of a robot control method based on gesture recognition in Embodiment 2 of the present invention.
  • FIG. 8 is a structural block diagram of a robot control apparatus based on gesture recognition in Embodiment 3 of the present invention.
  • FIG. 9 is a block diagram showing the structure of a wave operation judgment module of a gesture recognition-based robot control device according to Embodiment 3 of the present invention.
  • FIG. 10 is a block diagram showing the structure of a robot control apparatus based on gesture recognition in Embodiment 4 of the present invention.
  • FIG. 11 is a block diagram showing the structure of a wave operation judgment module of a gesture recognition-based robot control device according to Embodiment 4 of the present invention.
  • FIG. 1 is a flowchart of a gesture recognition-based robot control method according to Embodiment 1 of the present invention.
  • the control method includes steps S11-S13:
  • the ranging sensor After the trigger gesture recognition operation is started, if the ranging sensor currently detects that the duration of the object existing in the preset range of the robot is within a preset value range, recording is a one-wave operation; if the ranging is The sensor currently detects that the duration of the object within the preset range of the robot is not within a preset value range, or the ranging sensor currently detects that an object exists within the preset range of the robot to the next detection of the ranging sensor Stopping the waving gesture recognition operation when a time interval in which an object exists within a preset range of the robot is greater than a threshold;
  • step S11 when the detection of the presence of an object within the preset range of the robot by the ranging sensor initiates the waving gesture recognition operation, the method further includes the steps of:
  • the user is prompted to perform a wave operation by controlling the robot to illuminate and/or vocalize.
  • the indicator light on the robot is off when there is no user operation, and only when an object (for example, a user's hand) is detected in the preset range by the ranging sensor, the control indicator lights up and can be accompanied by There is a voice prompting the user to perform a gesture operation on it.
  • the preset range is 50 cm to 120 cm, preferably 60 cm to 100 cm.
  • the ranging sensor is a laser ranging sensor, an ultrasonic ranging sensor or an infrared ranging sensor.
  • the detecting by the ranging sensor that the object exists in the preset range of the robot means that the object passes through the detection area of the ranging sensor.
  • the preset range is set according to a range in which the sensor can be effectively detected. Taking the user's wave operation as an example, the hand is regarded as an object, and the preset range is a relative preset between the hand and the distance measuring sensor by an experiment. A reasonable distance, this range determines the detection range of the device. When the distance value is within the range, it is determined that the hand is detected, and when the distance value exceeds the range, it is determined that the hand is not detected.
  • the preset range should be within the range of the sensor's ranging, and should be set with reference to the specific detection characteristics of the sensor, and the appropriate detection range should be set.
  • the algorithm determines that no object has passed; it is counted as valid detection only when there is a hand in the preset range.
  • the ranging sensor is disposed on the top of the robot to facilitate detecting whether an object exists within a preset range.
  • the waving gesture recognition operation when it is detected by the ranging sensor that an object exists in a preset range of the robot, the waving gesture recognition operation may be started/stopped by transmitting a timing instruction, a control instruction, or a switching instruction.
  • step S12 after the wave gesture recognition operation is started, it is determined by the following method that the ranging sensor currently detects that an object exists in the preset range of the robot to the next time the ranging sensor detects The time interval between objects in the preset range of the robot is greater than the threshold:
  • the threshold is smaller than the preset value range.
  • step S12 after the wave gesture recognition operation is started, it is determined by the following method whether the duration of the object currently detected by the ranging sensor in the preset range of the robot is at a preset value.
  • step S13 performing the corresponding operation on the robot includes starting a work or stopping a work operation.
  • a range sensor is mounted on the top of the robot.
  • a range sensor is used to scan the top of the robot for reflected signals. If there is a reflected signal at the top, the robot gives an acousto-optic indication, and the operator can perform the operation of the robot while waving the gesture.
  • the ranging sensor includes but is not limited to a laser ranging sensor/infrared ranging sensor/ultrasonic ranging sensor/TOF ranging sensor).
  • a single ranging sensor is used to realize user gesture recognition, and a single ranging sensor is disposed on the top of the robot.
  • the ranging sensor After the robot is powered on, the ranging sensor always detects whether there is an object above the robot, and when the object is sensed to be in a certain range (for example, 60 cm-100 cm) When the sound and light indication signal is emitted and the detection continues. If the top is the operator waving the hand directly above the sensor, the range sensor will detect the hand - the hand is not detected, so cycle until the wave is stopped.
  • the present embodiment uses the distance measured by the distance measuring sensor (preferably 60 cm - 100 cm) as an anti-interference measure to avoid robot recognition errors.
  • an anti-interference measure is added, as follows: monitoring the dwell time of the hand (object) above the ranging sensor (because the hand can swing faster on the upper side, so the dwell time is less than a certain value and greater than another specific value, ie The duration of the object is within the preset range, and the hand is swiping above). If the interval is greater than a certain defined time (threshold), it is considered to be other interference, not a gesture.
  • the switching time between the detected object and the undetected object is short (ie, the time interval is less than the threshold), and the number of waved times is a specified number of times, it is considered to be a normal operation (ie, the number of wave hands reaches the corresponding executable operation in the preset mapping table) .
  • the content of the user's operation (for example, starting work, stopping work, etc.) can be judged by detecting the number of wave times.
  • the gesture control-based robot control method disclosed in this embodiment detects that an object exists within a preset range of the robot by the ranging sensor, and then initiates a wave gesture recognition operation, after starting the wave gesture recognition operation, If the ranging sensor currently detects that the duration of the object existing within the preset range of the robot is within a preset value range, recording is a one-shot operation; if the ranging sensor currently detects the preset range of the robot The duration of the in-vivo object is not within the preset value range, or the ranging sensor currently detects that an object exists within the preset range of the robot to the ranging sensor, and the next time an object is detected within the preset range of the robot When the time interval is greater than the threshold, the waving gesture recognition operation is stopped; and when the waving gesture recognition operation is stopped, the corresponding operation is performed on the robot according to the recorded number of the wave operation and the preset mapping table; The mapping table records the correspondence between the number of wave operations and the execution of the operation.
  • the corresponding operation (for example, starting work or stopping the work operation) can be performed on the robot based on the gesture recognition of the user, without the user bending over the button or using the mobile phone and the remote controller to control, facilitating the user to use, and improving the user's product.
  • the corresponding operation for example, starting work or stopping the work operation
  • control method includes steps S21 to S23:
  • the camera recognizes that an object is present in the shooting range of the robot, and an object passes through the imaging area of the camera. Specifically, it is possible to identify whether an object (for example, a hand) exists in the shooting range of the camera:
  • Mode A The robot is in a stopped state, and the camera takes a picture according to the preset frequency, and the two photos before and after the camera are continuously shot. For comparison, if the matching degree between the two photos is relatively high (greater than the set value), it is recognized that there is no object in the shooting range of the robot; if there are obvious differences between the two front and back (the matching degree is less than the set value) ), identified as an object within the shooting range of the robot.
  • Mode B The robot is in motion, the camera takes a picture according to the preset frequency, and compares the two photos before and after the camera is continuously shot. If the two photos are only slightly shifted, the recognition is not in the shooting range of the robot. Object; if there are not only translational differences between the two front and back, but also there is a momentary difference between the objects, it is recognized that there is an object in the shooting range of the robot. It can be understood that the weak translation difference can be a preset translation reference value.
  • step S21 when the waving gesture recognition operation is initiated by the camera recognizing that an object exists within the shooting range of the robot, the method further includes the steps of:
  • the user is prompted to perform a wave operation by controlling the robot to illuminate and/or vocalize.
  • the indicator light on the robot is off when there is no user operation, and only when an object (for example, a user's hand) is detected in the preset range by the ranging sensor, the control indicator lights up and can be accompanied by There is a voice prompting the user to perform a gesture operation on it.
  • the camera is disposed on the top of the robot to facilitate detecting whether an object exists in the shooting range.
  • the waving gesture recognition operation can be started/stopped by transmitting a timing command, a control command, or a switch command.
  • step S22 as shown in FIG. 5, after the wave gesture recognition operation is started, it is determined by the following method that the camera currently recognizes that an object exists in the shooting range of the robot and the camera recognizes the shooting range of the robot next time.
  • the time interval between objects in the object is greater than the threshold:
  • step S22 as shown in FIG. 6, after the wave gesture recognition operation is started, it is determined by the following method that the camera currently recognizes whether the duration of the object existing in the shooting range of the robot is within a preset value range:
  • the shooting frequency of the camera is 10 to 50 frames/second, preferably 20 to 30 frames/second.
  • the preset value range is greater than the threshold.
  • the hand is regarded as an object.
  • a series of pictures will be formed, which is achieved by comparing the multiple photos of consecutive shots.
  • the CCD/CMOS continuously captures 5 photos (or 5 frames captured in the video stream). It can be understood that 5 photos are only examples, It can be 3 or 8 sheets.
  • the CCD/CMOS will move an object inside when it is static. It can be judged that there is an object moving fast by comparing with the picture taken at the time of static.
  • the five photos shown in Figures 7a to 7b are a series of photos of the hand moving from left to right.
  • the object (hand) can be judged from left to right in CCD/CMOS, and can be judged from right to left. Once. This allows you to record the number of swings.
  • the camera photographing frequency is known (software setting), assuming that 24 photos are taken in 1 second (corresponding to the video stream is 24 frames/second), then two consecutive photos are taken.
  • the time interval is 1/24 second, which is 0.042 seconds. That can be calculated by judging the number of photos taken by the object (hand) in the CCD/CMOS to disappear.
  • the example is as follows: Suppose the hand enters the CCD from the left. From the middle to the right to take 5 photos, then the hand stays in the CCD for 0.21 seconds, then the duration is 0.21 seconds.
  • the time interval it can be calculated as follows: the camera photographing frequency is known (software setting), assuming that 24 photos are taken in 1 second (corresponding to the video stream is 24 frames/second), then two consecutive photos are taken. The time interval is 1/24 second, which is 0.042 seconds. Then, the time interval can be calculated by judging the number of photographs taken by the object (hand) in the CCD/CMOS from disappearing to appearing.
  • the recognition method of the gesture recognition by the camera effectively solves the problem of gesture recognition (because the shape of the hand is many, such as fingers close together, fingers open, fists, etc.), this method identifies the hand as an object, therefore, It is not the hand that is continuously waving on the top, and it is also possible to recognize the gesture.
  • the duration, interval time and number of waves are introduced to prevent interference. Usually, if it is interference, it will not form a continuous projection and there will be multiple wave times in the segment time interval.
  • the gesture control-based robot control method disclosed in the embodiment detects that an object exists within the shooting range of the robot by the camera, and then initiates a wave gesture recognition operation, after the wave gesture recognition operation is started, if the camera is currently It is recognized that the duration of the object existing in the shooting range of the robot is within a preset value range, and is recorded as a wave operation; if the camera currently recognizes that the duration of the object exists in the shooting range of the robot is not in the preset value range Inside, or the camera currently recognizes Stopping the waving gesture recognition operation when an object exists within the shooting range of the robot until the camera recognizes that the time interval in which the object exists within the shooting range of the robot is greater than the threshold; and when the waving gesture recognition operation is stopped Corresponding operations are performed on the robot according to the recorded number of wave operations and the preset mapping table; wherein the mapping table records the correspondence between the number of wave operations and the execution operation.
  • the corresponding operation (for example, starting work or stopping the work operation) can be performed on the robot based on the gesture recognition of the user, without the user bending over the button or using the mobile phone or the remote controller to control, facilitating the user to use, and improving the user to the product.
  • the corresponding operation for example, starting work or stopping the work operation
  • FIG. 8 is a structural block diagram of a gesture control-based robot control apparatus according to Embodiment 3 of the present invention, the control apparatus including:
  • the waving gesture recognition operation starting module 31 is configured to initiate a wave gesture recognition operation when detecting that an object exists within a preset range of the robot by the ranging sensor;
  • the wave operation determination module 32 is configured to record a wave operation if the distance sensor currently detects that the duration of the object within the preset range of the robot is within a preset value range after the wave gesture recognition operation is initiated. If the ranging sensor currently detects that the duration of the object exists within the preset range of the robot is not within a preset value range, or the ranging sensor currently detects that an object exists within the preset range of the robot to the The next time the ranging sensor detects that the time interval of the object exists in the preset range of the robot is greater than a threshold, the waving gesture recognition operation is stopped;
  • the execution module 33 is configured to perform a corresponding operation on the robot according to the recorded number of the wave operation and the preset mapping table when the wave gesture recognition operation is stopped; wherein the mapping table records the number of wave operations and performs an operation Correspondence.
  • the waving gesture recognition operation starting module is further configured to: when the detection of the presence of an object in the preset range of the robot by the ranging sensor, initiate the wave gesture recognition operation, prompt the user to perform the illumination by controlling the robot to emit light and/or sound. Waved.
  • the wave operation determining module 32 specifically includes:
  • the first control signal generating unit 321 is configured to: after the triggering gesture recognition operation is started, when the ranging sensor detects that an object exists in the preset range of the robot for the first time, issue a first control signal to start the first timer.
  • the second control signal generating unit 322 is configured to: after the triggering gesture recognition operation is started, when the ranging sensor detects that there is an object in the preset range of the robot every time before the first time, the second control signal is sent to Controlling the first timer to re-time;
  • the time interval sensor detects that the time interval of the object existing in the preset range of the robot is greater than a threshold
  • the third control signal generating unit 324 is configured to: after the triggering gesture recognition operation is started, when the ranging sensor instantaneously detects that an object exists in the preset range of the robot, issue a third control signal to start the second timer. Timing
  • a fourth control signal generating unit 325 configured to: after the start of the second timer starts timing, when the ranging sensor does not detect that an object exists in the preset range of the robot, the fourth control signal is sent to stop the Second timer timing;
  • the second determining unit 326 is configured to determine that the time measuring time when the second timer receives the fourth control signal falls within the preset value range, and determine that the ranging sensor is currently detected in the robot The duration of the object within the preset range is within a preset value range; otherwise, it is determined that the ranging sensor currently detects that the duration of the object within the preset range of the robot is not within the preset value range.
  • the wave operation judgment module starts/stops the wave gesture recognition operation by issuing a timing command, a control command, or a switch command.
  • the preset value range is greater than the threshold.
  • the ranging sensor is located at the top of the robot. The above-described operations performed on the robot include starting work or stopping work.
  • control device 10 is a structural block diagram of a robot control device based on gesture recognition in Embodiment 4 of the present invention, the control device includes:
  • the waving gesture recognition operation starting module 41 is configured to initiate a waving gesture recognition operation when it is recognized by the camera that an object exists within the shooting range of the robot;
  • the wave operation determining module 42 is configured to record, as a wave-handling operation, if the camera currently recognizes that the duration of the object within the shooting range of the robot is within a preset value range after the wave gesture recognition operation is initiated; The camera currently recognizes that the duration of the object within the shooting range of the robot is not within the preset value range, or the camera currently recognizes that an object exists within the shooting range of the robot until the camera next recognizes that the robot is photographed Stopping the waving gesture recognition operation when the time interval of the object exists in the range is greater than the threshold;
  • the execution module 43 is configured to perform a corresponding operation on the robot according to the recorded number of the wave operation and the preset mapping table when the wave gesture recognition operation is stopped; wherein the mapping table records the number of wave operations and performs an operation Correspondence.
  • the waving gesture recognition operation starting module 41 it is recognized by the camera that an object is present in the shooting range of the robot, and an object that has passed the imaging area of the camera instantaneously. Specifically, it is possible to identify whether an object (for example, a hand) exists in the shooting range of the camera:
  • Mode A The robot is in a stopped state, and the camera takes a picture according to the preset frequency, and compares the two photos before and after the camera is continuously shot. If the matching degree of the two photos is relatively high (greater than the set value), it is recognized as being in the robot. There is no object in the shooting range; if there is a significant difference between the two front and back (the matching degree is less than the set value), it is recognized that there is an object in the shooting range of the robot.
  • Mode B The robot is in motion, the camera takes a picture according to the preset frequency, and compares the two photos before and after the camera is continuously shot. If the two photos are only slightly shifted, the recognition is not in the shooting range of the robot. Object; if there are not only translational differences between the two front and back, but also there is a momentary difference between the objects, it is recognized that there is an object in the shooting range of the robot.
  • the waving gesture recognition operation starting module 41 is further configured to prompt the user to perform a wave operation by controlling the robot to emit light and/or vocalize when the gesture of recognizing the presence of an object within the shooting range of the robot is detected by the camera. .
  • the wave operation determining module 42 specifically includes:
  • the first frame number counting unit 421 determines, based on the photographing frequency of the camera, that the camera recognizes that there is no object in the shooting range of the robot, and the camera recognizes that the camera has never been within the shooting range of the robot. Calculate the time interval by the number of frames that have passed through the existing object;
  • the first determining unit 422 is configured to: when the time interval is greater than the threshold, determine that the camera currently recognizes that an object exists in the shooting range of the robot, and the next time the camera recognizes that an object exists in the shooting range of the robot The time interval is greater than the threshold;
  • the second frame number counting unit 423 determines, based on the photographing frequency of the camera, that the camera recognizes that there is an existing object in the shooting range of the robot, and the camera recognizes that there is a target within the shooting range of the robot. Calculate the duration by the number of frames passed by no object;
  • a second determining unit 424 when the duration falls within the preset value range, determining that the ranging sensor currently detects that the duration of the object exists in the shooting range of the robot is within a preset value range; otherwise It is judged that the ranging sensor currently detects that the duration of the object existing in the shooting range of the robot is not within the preset value range.
  • the shooting frequency of the camera is 10 to 50 frames/second, preferably 20 to 30 frames/second.
  • the wave operation judgment module starts/stops the wave gesture recognition operation by issuing a timing command, a control command, or a switch command.
  • the preset value range is greater than the threshold.
  • the camera is located on top of the robot. The above-described operations performed on the robot include starting work or stopping work.
  • Another embodiment of the present invention also discloses a robot comprising the gesture recognition based robot control device as described in the above embodiments.
  • the device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical. Units can be located in one place or distributed to multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • the connection relationship between the modules indicates that there is a communication connection between them, and specifically, one or more communication buses or signal lines can be realized.
  • the present invention can be added by software.
  • the implementation of the general hardware means, of course, can also be realized by dedicated hardware including an application specific integrated circuit, a dedicated CPU, a dedicated memory, a dedicated component, and the like.
  • functions performed by computer programs can be easily implemented with the corresponding hardware, and the specific hardware structure used to implement the same function can also be various, such as analog circuits, digital circuits, or dedicated circuits. Circuits, etc.
  • software program implementation is a better implementation in more cases.
  • the technical solution of the present invention which is essential or contributes to the prior art, can be embodied in the form of a software product stored in a readable storage medium, such as a floppy disk of a computer.
  • a readable storage medium such as a floppy disk of a computer.
  • U disk mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc., including a number of instructions to make a computer device (may be A personal computer, server, or network device, etc.) performs the methods described in various embodiments of the present invention.

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Manipulator (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

Disclosed is a robot control method based on gesture recognition, comprising: when a distance measurement sensor detects that there is an object within a pre-set range of a robot, starting a hand-waving gesture recognition operation; after the hand-waving gesture recognition operation is started, if the distance measurement sensor currently detects that the duration for which the object is within the pre-set range of the robot is within a pre-set value range, recording one instance of a hand-waving operation; if the distance measurement sensor currently detects that the duration for which the object is within the pre-set range of the robot is not within the pre-set value range, or a time interval between the time when the distance measurement sensor currently detects that there is an object within the pre-set range of the robot and the time when the distance measurement sensor next detects that there is an object within the pre-set range of the robot is greater than a threshold value, stopping the hand-waving gesture recognition operation; and when the hand-waving gesture recognition operation is stopped, executing a corresponding operation on the robot according to the recorded number of hand-waving operations and a pre-set mapping table.

Description

基于手势识别的机器人控制方法、装置及机器人Robot control method, device and robot based on gesture recognition 技术领域Technical field
本发明涉及智能家电技术技术领域,尤其涉及一种基于手势识别的机器人控制方法、控制装置以及机器人。The invention relates to the technical field of smart home appliances, in particular to a robot control method, a control device and a robot based on gesture recognition.
背景技术Background technique
目前使用的家庭机器人在操控的时候通常需要用户弯腰去按键或者是使用手机、遥控器来控制,这些操作方式都不是很方便用户使用,无法提高用户对产品的使用体验。The currently used home robots usually require the user to bend over to press a button or use a mobile phone or a remote control to control. These modes of operation are not very convenient for the user to use, and the user experience of the product cannot be improved.
发明内容Summary of the invention
本发明实施例的目的是提供一种基于手势识别的机器人控制方法、控制装置以及机器人,能够基于用户的手势识别对机器人执行对应的操作,方便用户使用,提高用户对产品的体验,且成本低。An object of the embodiments of the present invention is to provide a robot control method, a control device, and a robot based on gesture recognition, which can perform corresponding operations on the robot based on the gesture recognition of the user, facilitate user use, improve user experience of the product, and have low cost. .
为实现上述目的,本发明实施例提供了一种基于手势识别的机器人控制方法,包括步骤:To achieve the above objective, an embodiment of the present invention provides a robot control method based on gesture recognition, including the steps of:
当通过测距传感器检测到在机器人的预设范围内存在物体时,则启动挥手手势识别操作;When it is detected by the ranging sensor that an object exists within a preset range of the robot, the waving gesture recognition operation is initiated;
在启动挥手手势识别操作后,若所述测距传感器当前检测到在机器人的预设范围内存在物体的持续时间在预设值范围内,则记录为一次挥手操作;若所述测距传感器当前检测到在机器人的预设范围内存在物体的持续时间不在预设值范围内,或者所述测距传感器当前检测到在机器人的预设范围内存在物体到所述测距传感器下一次检测到在机器人的预设范围内存在物体的时间间隔大于阈值时,停止所述挥手手势识别操作;After the wave gesture recognition operation is initiated, if the ranging sensor currently detects that the duration of the object within the preset range of the robot is within a preset value range, recording is a one-shot operation; if the ranging sensor is currently Detecting that the duration of the object exists within the preset range of the robot is not within a preset value range, or the ranging sensor currently detects that an object exists within the preset range of the robot to the next time the ranging sensor is detected Stopping the waving gesture recognition operation when the time interval of the object exists in the preset range of the robot is greater than a threshold;
在停止所述挥手手势识别操作时,根据记录的所述挥手操作次数和预设的映射表对机器人执行对应的操作;其中,所述映射表记录挥手操作次数和执行操作的对应关系。When the waving gesture recognition operation is stopped, a corresponding operation is performed on the robot according to the recorded number of the wave operation and the preset mapping table; wherein the mapping table records the correspondence between the number of wave operations and the execution operation.
作为上述方案的改进,当通过测距传感器检测到在机器人的预设范围内存在物体而启动挥手手势识别操作时,还包括步骤:As an improvement of the above solution, when the detection of the presence of an object within the preset range of the robot by the ranging sensor initiates the waving gesture recognition operation, the method further includes the steps of:
通过控制机器人发光和/或发声来提示用户进行挥手操作。The user is prompted to perform a wave operation by controlling the robot to illuminate and/or vocalize.
作为上述方案的改进,所述预设范围为50cm~120cm。As an improvement of the above scheme, the preset range is 50 cm to 120 cm.
作为上述方案的改进,所述测距传感器为激光测距传感器、超声波测距传感器或红外测距传感器。As a modification of the above solution, the ranging sensor is a laser ranging sensor, an ultrasonic ranging sensor, or an infrared ranging sensor.
作为上述方案的改进,在启动挥手手势识别操作后,通过以下方法判断所述测距传感器当前检测到在机器人的预设范围内存在物体到所述测距传感器下一次检测到在机器人的预设范围内存在物体的时间间隔大于阈值:As an improvement of the above solution, after the wave gesture recognition operation is started, it is determined that the ranging sensor currently detects that an object exists in the preset range of the robot to the ranging sensor, and the next preset of the robot is detected by the following method. The time interval between objects in the range is greater than the threshold:
在启动挥手手势识别操作后,当所述测距传感器首次检测到在机器人的预设范围内存在物体时,发出第一控制信号以启动第一计时器开始计时;After the wave gesture recognition operation is started, when the ranging sensor detects for the first time that an object exists in the preset range of the robot, the first control signal is sent to start the first timer to start timing;
在启动挥手手势识别操作后,当所述测距传感器除首次外的每一次检测到在机器人的预设范围内 存在物体时,均发出第二控制信号以控制所述第一计时器重新计时;After the wave gesture recognition operation is initiated, each time the range sensor is detected within the preset range of the robot except for the first time When an object exists, a second control signal is issued to control the first timer to re-time;
当所述第一计时器接收到所述第二控制信号时的计时时间大于阈值时,则判断所述测距传感器当前检测到在机器人的预设范围内存在物体到所述测距传感器下一次检测到在机器人的预设范围内存在物体的时间间隔大于阈值。When the timing time when the first timer receives the second control signal is greater than a threshold, determining that the ranging sensor currently detects that an object exists in the preset range of the robot to the ranging sensor next time It is detected that the time interval in which the object exists within the preset range of the robot is greater than the threshold.
作为上述方案的改进,在启动挥手手势识别操作后,通过以下方法判断所述测距传感器当前检测到在机器人的预设范围内存在物体的持续时间是否在预设值范围内:As an improvement of the above solution, after the wave gesture recognition operation is started, it is determined by the following method that the ranging sensor currently detects whether the duration of the object existing in the preset range of the robot is within a preset value range:
在启动挥手手势识别操作后,当所述测距传感器瞬间检测到在机器人的预设范围内存在物体时,发出第三控制信号以启动第二计时器开始计时;After the wave gesture recognition operation is initiated, when the ranging sensor instantaneously detects that an object exists within the preset range of the robot, a third control signal is issued to start the second timer to start timing;
在启动第二计时器开始计时后,当所述测距传感器瞬间没有检测到在机器人的预设范围内存在物体时,发出第四控制信号以停止所述第二计时器计时;After starting the second timer to start timing, when the ranging sensor does not detect that an object exists within the preset range of the robot, the fourth control signal is issued to stop the second timer timing;
当所述第二计时器接收到所述第四控制信号时的计时时间落入所述预设值范围内,则判断所述测距传感器当前检测到在机器人的预设范围内存在物体的持续时间在预设值范围内;否则判断所述测距传感器当前检测到在机器人的预设范围内存在物体的持续时间不在预设值范围内。When the timing time when the second timer receives the fourth control signal falls within the preset value range, determining that the ranging sensor currently detects the presence of an object within a preset range of the robot The time is within the preset value range; otherwise, it is judged that the ranging sensor currently detects that the duration of the object existing in the preset range of the robot is not within the preset value range.
作为上述方案的改进,所述预设值范围大于所述阈值。As an improvement of the above solution, the preset value range is greater than the threshold.
作为上述方案的改进,所述测距传感器位于所述机器人顶部。As a modification of the above solution, the ranging sensor is located at the top of the robot.
作为上述方案的改进,对机器人执行对应的所述操作包括开始工作或停止工作。As an improvement of the above scheme, performing the corresponding operation on the robot includes starting work or stopping work.
作为上述方案的改进,通过一计时指令、控制指令或开关指令来启动/停止所述挥手手势识别操作。As an improvement of the above scheme, the waving gesture recognition operation is started/stopped by a timing command, a control command, or a switch command.
本发明实施例对应提供了一种基于手势识别的机器人控制装置,包括:The embodiment of the invention provides a robot control device based on gesture recognition, which comprises:
挥手手势识别操作启动模块,用于当通过测距传感器检测到在机器人的预设范围内存在物体时,则启动挥手手势识别操作;a waving gesture recognition operation starting module, configured to initiate a waving gesture recognition operation when detecting that an object exists within a preset range of the robot by the ranging sensor;
挥手操作判断模块,用于在启动挥手手势识别操作后,若所述测距传感器当前检测到在机器人的预设范围内存在物体的持续时间在预设值范围内,则记录为一次挥手操作;若所述测距传感器当前检测到在机器人的预设范围内存在物体的持续时间不在预设值范围内,或者所述测距传感器当前检测到在机器人的预设范围内存在物体到所述测距传感器下一次检测到在机器人的预设范围内存在物体的时间间隔大于阈值时,停止所述挥手手势识别操作;a wave operation judgment module, configured to record a wave operation if the distance sensor currently detects that the duration of the object within the preset range of the robot is within a preset value range after the wave gesture recognition operation is initiated; If the ranging sensor currently detects that the duration of the object existing in the preset range of the robot is not within the preset value range, or the ranging sensor currently detects that an object exists in the preset range of the robot to the measurement Stopping the waving gesture recognition operation when the distance sensor detects that the time interval of the object existing in the preset range of the robot is greater than the threshold value;
执行模块,用于在停止所述挥手手势识别操作时,根据记录的所述挥手操作次数和预设的映射表对机器人执行对应的操作;其中,所述映射表记录挥手操作次数和执行操作的对应关系。An execution module, configured to perform a corresponding operation on the robot according to the recorded number of wave operations and a preset mapping table when the waving gesture recognition operation is stopped; wherein the mapping table records the number of wave operations and the operation Correspondence relationship.
作为上述方案的改进,所述挥手手势识别操作启动模块还用于:当通过测距传感器检测到在机器人的预设范围内存在物体而启动挥手手势识别操作时,通过控制机器人发光和/或发声来提示用户进行挥手操作。As an improvement of the above solution, the waving gesture recognition operation starting module is further configured to: when the wave gesture recognition operation is initiated by detecting that an object exists within a preset range of the robot by the ranging sensor, by controlling the robot to emit light and/or sound To prompt the user to wave.
作为上述方案的改进,所述预设范围为50cm~120cm。As an improvement of the above scheme, the preset range is 50 cm to 120 cm.
作为上述方案的改进,所述测距传感器为激光测距传感器、超声波测距传感器或红外测距传感器。As a modification of the above solution, the ranging sensor is a laser ranging sensor, an ultrasonic ranging sensor, or an infrared ranging sensor.
作为上述方案的改进,所述挥手操作判断模块包括:As an improvement of the above solution, the wave operation judgment module includes:
第一控制信号生成单元,用于在启动挥手手势识别操作后,当所述测距传感器首次检测到在机器 人的预设范围内存在物体时,发出第一控制信号以启动第一计时器开始计时;a first control signal generating unit, configured to detect the first time in the machine when the range sensor is activated after the wave gesture recognition operation is initiated When there is an object in the preset range of the person, the first control signal is sent to start the first timer to start timing;
第二控制信号生成单元,用于在启动挥手手势识别操作后,当所述测距传感器除首次外的每一次检测到在机器人的预设范围内存在物体时,均发出第二控制信号以控制所述第一计时器重新计时;a second control signal generating unit, configured to send a second control signal to control each time the ranging sensor detects an object within a preset range of the robot, except for the first time after the wave gesture recognition operation is initiated. The first timer is retimed;
第一判断单元,当所述第一计时器接收到所述第二控制信号时的计时时间大于阈值时,则判断所述测距传感器当前检测到在机器人的预设范围内存在物体到所述测距传感器下一次检测到在机器人的预设范围内存在物体的时间间隔大于阈值。a first determining unit, when the time when the first timer receives the second control signal is greater than a threshold, determining that the ranging sensor currently detects that an object exists in the preset range of the robot to the The next time the ranging sensor detects that there is an object within the preset range of the robot, the time interval is greater than the threshold.
作为上述方案的改进,所述挥手操作判断模块进一步包括:As an improvement of the above solution, the wave operation judgment module further includes:
第三控制信号生成单元,用于在启动挥手手势识别操作后,当所述测距传感器瞬间检测到在机器人的预设范围内存在物体时,发出第三控制信号以启动第二计时器开始计时;a third control signal generating unit, configured to: after the triggering gesture recognition operation is started, when the ranging sensor detects that an object exists within a preset range of the robot, issue a third control signal to start the second timer to start timing ;
第四控制信号生成单元,用于在启动第二计时器开始计时后,当所述测距传感器瞬间没有检测到在机器人的预设范围内存在物体时,发出第四控制信号以停止所述第二计时器计时;a fourth control signal generating unit, configured to: after the start of the second timer starts timing, when the ranging sensor does not detect that an object exists in the preset range of the robot, the fourth control signal is sent to stop the first Two timers;
第二判断单元,用于当所述第二计时器接收到所述第四控制信号时的计时时间落入所述预设值范围内,则判断所述测距传感器当前检测到在机器人的预设范围内存在物体的持续时间在预设值范围内;否则判断所述测距传感器当前检测到在机器人的预设范围内存在物体的持续时间不在预设值范围内。a second determining unit, configured to: when the timing time when the second timer receives the fourth control signal falls within the preset value range, determine that the ranging sensor currently detects a pre-mouse in the robot It is assumed that the duration of the object exists within the preset value range; otherwise, it is determined that the ranging sensor currently detects that the duration of the object exists within the preset range of the robot is not within the preset value range.
作为上述方案的改进,所述预设值范围大于所述阈值。As an improvement of the above solution, the preset value range is greater than the threshold.
作为上述方案的改进,所述测距传感器位于所述机器人顶部。As a modification of the above solution, the ranging sensor is located at the top of the robot.
作为上述方案的改进,对机器人执行对应的所述操作包括开始工作或停止工作。As an improvement of the above scheme, performing the corresponding operation on the robot includes starting work or stopping work.
作为上述方案的改进,所述挥手操作判断模块通过发出一计时指令、控制指令或开关指令来启动/停止所述挥手手势识别操作。As an improvement of the above aspect, the wave operation judgment module starts/stops the wave gesture recognition operation by issuing a timing command, a control command, or a switch command.
与现有技术相比,本发明公开的一种基于手势识别的机器人控制方法及控制装置通过测距传感器检测到在机器人的预设范围内存在物体时,则启动挥手手势识别操作,在启动挥手手势识别操作后,若所述测距传感器当前检测到在机器人的预设范围内存在物体的持续时间在预设值范围内,则记录为一次挥手操作;若所述测距传感器当前检测到在机器人的预设范围内存在物体的持续时间不在预设值范围内,或者所述测距传感器当前检测到在机器人的预设范围内存在物体到所述测距传感器下一次检测到在机器人的预设范围内存在物体的时间间隔大于阈值时,停止所述挥手手势识别操作;并在停止所述挥手手势识别操作时,根据记录的所述挥手操作次数和预设的映射表对机器人执行对应的操作;其中,所述映射表记录挥手操作次数和执行操作的对应关系。从而实现了能够基于用户的手势识别对机器人执行对应的操作(例如开始工作或者停止工作操作),无需用户弯腰去按键或者是使用手机、遥控器来控制,方便用户使用,提高用户对产品的体验。Compared with the prior art, the gesture recognition-based robot control method and the control device disclosed by the present invention detect that an object exists within a preset range of the robot by the ranging sensor, and then initiate a wave gesture recognition operation, and start waving After the gesture recognition operation, if the ranging sensor currently detects that the duration of the object existing in the preset range of the robot is within a preset value range, recording is a one-wave operation; if the ranging sensor is currently detected The duration of the object in the preset range of the robot is not within the preset value range, or the ranging sensor currently detects that an object exists in the preset range of the robot to the next time the ranging sensor detects the robot in advance When the time interval in which the object exists in the range is greater than the threshold, the waving gesture recognition operation is stopped; and when the waving gesture recognition operation is stopped, the corresponding execution is performed on the robot according to the recorded number of the wave operation and the preset mapping table. An operation; wherein the mapping table records a correspondence between the number of wave operations and the execution of the operation. Thereby, the corresponding operation (for example, starting work or stopping the work operation) can be performed on the robot based on the gesture recognition of the user, without the user bending over the button or using the mobile phone and the remote controller to control, facilitating the user to use, and improving the user's product. Experience.
本发明实施例还提供了一种基于手势识别的机器人控制方法,包括步骤:The embodiment of the invention further provides a robot control method based on gesture recognition, comprising the steps of:
当通过摄像头识别到在机器人的拍摄范围内存在物体时,则启动挥手手势识别操作;When it is recognized by the camera that there is an object within the shooting range of the robot, the waving gesture recognition operation is initiated;
在启动挥手手势识别操作后,若所述摄像头当前识别到在机器人的拍摄范围内存在物体的持续时间在预设值范围内,则记录为一次挥手操作;若所述摄像头当前识别到在机器人的拍摄范围内存在物 体的持续时间不在预设值范围内,或者所述摄像头当前识别到在机器人的拍摄范围内存在物体到所述摄像头下一次识别到在机器人的拍摄范围内存在物体的时间间隔大于阈值时,停止所述挥手手势识别操作;After the wave gesture recognition operation is initiated, if the camera currently recognizes that the duration of the object within the shooting range of the robot is within a preset value range, recording is a one-shot operation; if the camera is currently recognized in the robot There is something in the shooting range The duration of the body is not within the preset value range, or the camera currently recognizes that there is an object within the shooting range of the robot until the next time the camera recognizes that the time interval exists within the shooting range of the robot is greater than a threshold, stopping The waving gesture recognition operation;
在停止所述挥手手势识别操作时,根据记录的所述挥手操作次数和预设的映射表对机器人执行对应的操作;其中,所述映射表记录挥手操作次数和执行操作的对应关系。When the waving gesture recognition operation is stopped, a corresponding operation is performed on the robot according to the recorded number of the wave operation and the preset mapping table; wherein the mapping table records the correspondence between the number of wave operations and the execution operation.
作为上述方案的改进,当通过摄像头识别到在机器人的拍摄范围内存在物体而启动挥手手势识别操作时,还包括步骤:As an improvement of the above solution, when the waving gesture recognition operation is initiated by the camera recognizing that an object exists within the shooting range of the robot, the method further includes the steps of:
通过控制机器人发光和/或发声来提示用户进行挥手操作。The user is prompted to perform a wave operation by controlling the robot to illuminate and/or vocalize.
作为上述方案的改进,在启动挥手手势识别操作后,通过以下方法判断所述摄像头当前识别到在机器人的拍摄范围内存在物体与所述摄像头下一次识别到在机器人的拍摄范围内存在物体的时间间隔大于阈值:As an improvement of the above solution, after the wave gesture recognition operation is started, it is determined by the following method that the camera currently recognizes that the object exists within the shooting range of the robot and the time when the camera next recognizes that the object exists within the shooting range of the robot. The interval is greater than the threshold:
基于所述摄像头的拍摄频率,通过判断所述摄像头识别到在机器人的拍摄范围内从有到无存在物体瞬间,到所述摄像头识别到在机器人的拍摄范围内从无到有存在物体瞬间所经过的帧数来计算得到时间间隔;Based on the photographing frequency of the camera, by judging that the camera recognizes an instant from the presence or absence of an object in the shooting range of the robot, the camera recognizes that the object is present from nothing in the shooting range of the robot. The number of frames to calculate the time interval;
当所述时间间隔大于阈值时,则判断所述摄像头当前识别到在机器人的拍摄范围内存在物体到所述摄像头下一次识别到在机器人的拍摄范围内存在物体的时间间隔大于阈值。When the time interval is greater than the threshold, it is determined that the camera currently recognizes that the time interval between the object in the shooting range of the robot and the next time the camera recognizes that the object exists in the shooting range of the robot is greater than a threshold.
作为上述方案的改进,在启动挥手手势识别操作后,通过以下方法判断所述摄像头当前识别到在机器人的拍摄范围内存在物体的持续时间是否在预设值范围内:As an improvement of the above solution, after the wave gesture recognition operation is started, it is determined by the following method that the camera currently recognizes whether the duration of the object existing in the shooting range of the robot is within a preset value range:
基于所述摄像头的拍摄频率,通过判断所述摄像头识别到在机器人的预设范围内从无到有存在物体瞬间,到所述摄像头识别到在机器人的预设范围内从有到无存在物体瞬间所经过的帧数来计算得到持续时间;Based on the shooting frequency of the camera, by determining that the camera recognizes that there is an instant of existence of the object within the preset range of the robot, the camera recognizes that there is an instant from the presence or absence of the object within the preset range of the robot. The number of frames passed to calculate the duration;
当所述持续时间落入所述预设值范围内,则判断所述测距传感器当前检测到在机器人的预设范围内存在物体的持续时间在预设值范围内;否则判断所述测距传感器当前检测到在机器人的预设范围内存在物体的持续时间不在预设值范围内。When the duration falls within the preset value range, determining that the ranging sensor currently detects that the duration of the object exists within the preset range of the robot is within a preset value range; otherwise determining the ranging The sensor currently detects that the duration of the object within the preset range of the robot is not within the preset range.
作为上述方案的改进,可通过以下方式识别摄像头的拍摄范围内是否存在物体:As an improvement of the above solution, it is possible to identify whether an object exists within the shooting range of the camera by:
当机器人处于停止状态,摄像头根据预设频率拍照,将摄像头连续拍摄的前后两张照片进行对比,如果前后两张照片的匹配度大于设定值,识别为在机器人的拍摄范围内不存在物体;如果前后两张照片的匹配度小于设定值,识别为在机器人的拍摄范围内存在物体;When the robot is in a stopped state, the camera takes a picture according to the preset frequency, and compares the two photos before and after the camera is continuously shot. If the matching degree of the two photos before and after is greater than the set value, it is recognized that there is no object in the shooting range of the robot; If the matching degree of the two photos before and after is less than the set value, it is recognized that there is an object in the shooting range of the robot;
当机器人处于运动状态,摄像头根据预设频率拍照,将摄像头连续拍摄的前后两张照片进行对比,如果前后拍摄两张照片只有微小的平移区别,则识别为在机器人的拍摄范围内不存在物体;如果前后两张不光有平移差异,而且还有有无物体的瞬间差异,则识别为在机器人的拍摄范围内存在物体。When the robot is in motion, the camera takes a picture according to the preset frequency, and compares the two photos before and after the continuous shooting of the camera. If the two photos are only slightly different from each other, it is recognized that there is no object in the shooting range of the robot; If there are not only translational differences between the two front and back, but also there is an instantaneous difference between the objects, it is recognized that there is an object in the shooting range of the robot.
作为上述方案的改进,所述摄像头的拍摄频率为10~50帧/秒。As an improvement of the above scheme, the camera has a shooting frequency of 10 to 50 frames/second.
作为上述方案的改进,所述摄像头的拍摄频率为20~30帧/秒。As an improvement of the above scheme, the camera has a shooting frequency of 20 to 30 frames/second.
作为上述方案的改进,所述预设值范围大于所述阈值。 As an improvement of the above solution, the preset value range is greater than the threshold.
作为上述方案的改进,所述摄像头位于所述机器人顶部。As an improvement of the above solution, the camera is located at the top of the robot.
作为上述方案的改进,对机器人执行对应的所述操作包括开始工作或停止工作。As an improvement of the above scheme, performing the corresponding operation on the robot includes starting work or stopping work.
作为上述方案的改进,通过一计时指令、控制指令或开关指令来启动/停止所述挥手手势识别操作。As an improvement of the above scheme, the waving gesture recognition operation is started/stopped by a timing command, a control command, or a switch command.
本发明实施例对应提供了一种基于手势识别的机器人控制装置,包括:The embodiment of the invention provides a robot control device based on gesture recognition, which comprises:
挥手手势识别操作启动模块,用于当通过摄像头识别到在机器人的拍摄范围内存在物体时,则启动挥手手势识别操作;a waving gesture recognition operation starting module, configured to activate a waving gesture recognition operation when it is recognized by the camera that an object exists within a shooting range of the robot;
挥手操作判断模块,用于在启动挥手手势识别操作后,若所述摄像头当前识别到在机器人的拍摄范围内存在物体的持续时间在预设值范围内,则记录为一次挥手操作;若所述摄像头当前识别到在机器人的拍摄范围内存在物体的持续时间不在预设值范围内,或者所述摄像头当前识别到在机器人的拍摄范围内存在物体到所述摄像头下一次识别到在机器人的拍摄范围内存在物体的时间间隔大于阈值时,停止所述挥手手势识别操作;a wave operation judgment module, configured to record a wave operation if the camera currently recognizes that the duration of the object within the shooting range of the robot is within a preset value range after the wave gesture recognition operation is initiated; The camera currently recognizes that the duration of the object within the shooting range of the robot is not within the preset value range, or the camera currently recognizes that an object exists within the shooting range of the robot until the camera next recognizes the shooting range of the robot Stopping the waving gesture recognition operation when the time interval of the object in the object is greater than a threshold;
执行模块,用于在停止所述挥手手势识别操作时,根据记录的所述挥手操作次数和预设的映射表对机器人执行对应的操作;其中,所述映射表记录挥手操作次数和执行操作的对应关系。An execution module, configured to perform a corresponding operation on the robot according to the recorded number of wave operations and a preset mapping table when the waving gesture recognition operation is stopped; wherein the mapping table records the number of wave operations and the operation Correspondence relationship.
作为上述方案的改进,所述挥手手势识别操作启动模块还用于:当通过摄像头识别到在机器人的拍摄范围内存在物体而启动挥手手势识别操作时,通过控制机器人发光和/或发声来提示用户进行挥手操作。As an improvement of the above solution, the waving gesture recognition operation starting module is further configured to: when the gesture recognition operation is started by the camera to recognize that an object exists in the shooting range of the robot, prompting the user by controlling the robot to emit light and/or sounding Wave the operation.
作为上述方案的改进,所述挥手操作判断模块包括:As an improvement of the above solution, the wave operation judgment module includes:
第一帧数计数单元,基于所述摄像头的拍摄频率,通过判断所述摄像头识别到在机器人的拍摄范围内从有到无存在物体,到所述摄像头识别到在机器人的拍摄范围内从无到有存在物体所经过的帧数来计算得到时间间隔;a first frame number counting unit, based on the shooting frequency of the camera, by determining that the camera recognizes that there is no object in the shooting range of the robot, and the camera recognizes that the camera is within the shooting range of the robot Calculate the time interval by the number of frames through which the object exists;
第一判断单元,用于当所述时间间隔大于阈值时,则判断所述摄像头当前识别到在机器人的拍摄范围内存在物体到所述摄像头下一次识别到在机器人的拍摄范围内存在物体的时间间隔大于阈值。a first determining unit, configured to: when the time interval is greater than a threshold, determine that the camera currently recognizes that an object exists in the shooting range of the robot until the camera next recognizes that an object exists in the shooting range of the robot The interval is greater than the threshold.
作为上述方案的改进,所述挥手操作判断模块进一步包括:As an improvement of the above solution, the wave operation judgment module further includes:
第二帧数计数单元,基于所述摄像头的拍摄频率,通过判断所述摄像头识别到在机器人的拍摄范围内从无到有存在物体,到所述摄像头识别到在机器人的拍摄范围内从有到无存在物体所经过的帧数来计算得到持续时间;a second frame number counting unit, based on the photographing frequency of the camera, by determining that the camera recognizes that there is an existing object in the shooting range of the robot, and the camera recognizes that the camera is within the shooting range of the robot Calculate the duration without the number of frames passed by the existing object;
第二判断单元,当所述持续时间落入所述预设值范围内,则判断所述测距传感器当前检测到在机器人的拍摄范围内存在物体的持续时间在预设值范围内;否则判断所述测距传感器当前检测到在机器人的拍摄范围内存在物体的持续时间不在预设值范围内。a second determining unit, when the duration falls within the preset value range, determining that the ranging sensor currently detects that the duration of the object existing in the shooting range of the robot is within a preset value range; otherwise, determining The ranging sensor currently detects that the duration of the object within the shooting range of the robot is not within a preset value range.
作为上述方案的改进,所述挥手手势识别操作启动模块通过以下方式识别摄像头的拍摄范围内是否存在物体:As an improvement of the above solution, the waving gesture recognition operation starting module identifies whether an object exists in the shooting range of the camera by:
当机器人处于停止状态,摄像头根据预设频率拍照,将摄像头连续拍摄的前后两张照片进行对比,如果前后两张照片的匹配度大于设定值,识别为在机器人的拍摄范围内不存在物体;如果前后两张照片的匹配度小于设定值,识别为在机器人的拍摄范围内存在物体; When the robot is in a stopped state, the camera takes a picture according to the preset frequency, and compares the two photos before and after the camera is continuously shot. If the matching degree of the two photos before and after is greater than the set value, it is recognized that there is no object in the shooting range of the robot; If the matching degree of the two photos before and after is less than the set value, it is recognized that there is an object in the shooting range of the robot;
当机器人处于运动状态,摄像头根据预设频率拍照,将摄像头连续拍摄的前后两张照片进行对比,如果前后拍摄两张照片只有微小的平移区别,则识别为在机器人的拍摄范围内不存在物体;如果前后两张不光有平移差异,而且还有有无物体的瞬间差异,则识别为在机器人的拍摄范围内存在物体。When the robot is in motion, the camera takes a picture according to the preset frequency, and compares the two photos before and after the continuous shooting of the camera. If the two photos are only slightly different from each other, it is recognized that there is no object in the shooting range of the robot; If there are not only translational differences between the two front and back, but also there is an instantaneous difference between the objects, it is recognized that there is an object in the shooting range of the robot.
作为上述方案的改进,所述摄像头的拍摄频率为10~50帧/秒。As an improvement of the above scheme, the camera has a shooting frequency of 10 to 50 frames/second.
作为上述方案的改进,所述摄像头的拍摄频率为20~30帧/秒。As an improvement of the above scheme, the camera has a shooting frequency of 20 to 30 frames/second.
作为上述方案的改进,所述预设值范围大于所述阈值。As an improvement of the above solution, the preset value range is greater than the threshold.
作为上述方案的改进,所述摄像头位于所述机器人顶部。As an improvement of the above solution, the camera is located at the top of the robot.
作为上述方案的改进,对机器人执行对应的所述操作包括开始工作或停止工作。As an improvement of the above scheme, performing the corresponding operation on the robot includes starting work or stopping work.
作为上述方案的改进,所述挥手操作判断模块通过发出一计时指令、控制指令或开关指令来启动/停止所述挥手手势识别操作。As an improvement of the above aspect, the wave operation judgment module starts/stops the wave gesture recognition operation by issuing a timing command, a control command, or a switch command.
与现有技术相比,本发明公开的一种基于手势识别的机器人控制方法及控制装置通过摄像头识别到在机器人的拍摄范围内存在物体时,则启动挥手手势识别操作,在启动挥手手势识别操作后,若所述摄像头当前识别到在机器人的拍摄范围内存在物体的持续时间在预设值范围内,则记录为一次挥手操作;若所述摄像头当前识别到在机器人的拍摄范围内存在物体的持续时间不在预设值范围内,或者所述摄像头当前识别到在机器人的拍摄范围内存在物体到所述摄像头下一次识别到在机器人的拍摄范围内存在物体的时间间隔大于阈值时,停止所述挥手手势识别操作;并在停止所述挥手手势识别操作时,根据记录的所述挥手操作次数和预设的映射表对机器人执行对应的操作;其中,所述映射表记录挥手操作次数和执行操作的对应关系。因此,实现了能够基于用户的手势识别对机器人执行对应的操作(例如开始工作或者停止工作操作),无需用户弯腰去按键或者是使用手机、遥控器来控制,方便用户使用,提高用户对产品的体验。Compared with the prior art, the gesture recognition-based robot control method and the control device disclosed by the present invention recognizes that there is an object in the shooting range of the robot through the camera, and then initiates a wave gesture recognition operation, and initiates a wave gesture recognition operation. Thereafter, if the camera currently recognizes that the duration of the object within the shooting range of the robot is within a preset value range, recording is a one-shot operation; if the camera currently recognizes that an object exists within the shooting range of the robot The duration is not within the preset value range, or the camera currently recognizes that there is an object within the shooting range of the robot until the next time the camera recognizes that the time interval exists within the shooting range of the robot is greater than a threshold, stopping the a wave gesture recognition operation; and when the wave gesture recognition operation is stopped, performing a corresponding operation on the robot according to the recorded number of wave operation operations and a preset mapping table; wherein the mapping table records the number of wave operations and performs an operation Correspondence. Therefore, it is realized that the corresponding operation (for example, starting work or stopping the work operation) can be performed on the robot based on the gesture recognition of the user, without the user bending over the button or using the mobile phone or the remote controller to control, facilitating the user to use, and improving the user to the product. Experience.
本发明实施例还提供了一种机器人,包括如上所述的基于手势识别的机器人控制装置。Embodiments of the present invention also provide a robot including the gesture recognition based robot control device as described above.
附图说明DRAWINGS
图1是本发明实施例1中一种基于手势识别的机器人控制方法的流程示意图。1 is a schematic flow chart of a robot control method based on gesture recognition in Embodiment 1 of the present invention.
图2是本发明实施例1中一种基于手势识别的机器人控制方法的具体实施流程图。2 is a flow chart showing a specific implementation of a robot control method based on gesture recognition in Embodiment 1 of the present invention.
图3是本发明实施例1中一种基于手势识别的机器人控制方法的具体实施流程图。FIG. 3 is a flowchart of a specific implementation of a robot control method based on gesture recognition in Embodiment 1 of the present invention.
图4是本发明实施例2中一种基于手势识别的机器人控制方法的流程示意图。4 is a schematic flow chart of a robot control method based on gesture recognition in Embodiment 2 of the present invention.
图5是本发明实施例2中一种基于手势识别的机器人控制方法的具体实施流程图。FIG. 5 is a flowchart of a specific implementation of a robot control method based on gesture recognition in Embodiment 2 of the present invention.
图6是本发明实施例2中一种基于手势识别的机器人控制方法的具体实施流程图。FIG. 6 is a flowchart of a specific implementation of a robot control method based on gesture recognition in Embodiment 2 of the present invention.
图7a~图7b是是本发明实施例2中一种基于手势识别的机器人控制方法的手势挥动示意图。7a-7b are schematic diagrams of gesture swinging of a robot control method based on gesture recognition in Embodiment 2 of the present invention.
图8是本发明实施例3中一种基于手势识别的机器人控制装置的结构框图。FIG. 8 is a structural block diagram of a robot control apparatus based on gesture recognition in Embodiment 3 of the present invention.
图9是本发明实施例3中一种基于手势识别的机器人控制装置的挥手操作判断模块的结构框图。9 is a block diagram showing the structure of a wave operation judgment module of a gesture recognition-based robot control device according to Embodiment 3 of the present invention.
图10是本发明实施例4中一种基于手势识别的机器人控制装置的结构框图。FIG. 10 is a block diagram showing the structure of a robot control apparatus based on gesture recognition in Embodiment 4 of the present invention.
图11是本发明实施例4中一种基于手势识别的机器人控制装置的挥手操作判断模块的结构框图。 11 is a block diagram showing the structure of a wave operation judgment module of a gesture recognition-based robot control device according to Embodiment 4 of the present invention.
具体实施方式detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, but not all embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
参见图1,是本发明实施例1提供的一种基于手势识别的机器人控制方法的流程图,该控制方法包括步骤S11~S13:1 is a flowchart of a gesture recognition-based robot control method according to Embodiment 1 of the present invention. The control method includes steps S11-S13:
S11、当通过测距传感器检测到在机器人的预设范围内存在物体时,则启动挥手手势识别操作;S11. When it is detected by the ranging sensor that an object exists in a preset range of the robot, the waving gesture recognition operation is started;
S12、在启动挥手手势识别操作后,若所述测距传感器当前检测到在机器人的预设范围内存在物体的持续时间在预设值范围内,则记录为一次挥手操作;若所述测距传感器当前检测到在机器人的预设范围内存在物体的持续时间不在预设值范围内,或者所述测距传感器当前检测到在机器人的预设范围内存在物体到所述测距传感器下一次检测到在机器人的预设范围内存在物体的时间间隔大于阈值时,停止所述挥手手势识别操作;S12. After the trigger gesture recognition operation is started, if the ranging sensor currently detects that the duration of the object existing in the preset range of the robot is within a preset value range, recording is a one-wave operation; if the ranging is The sensor currently detects that the duration of the object within the preset range of the robot is not within a preset value range, or the ranging sensor currently detects that an object exists within the preset range of the robot to the next detection of the ranging sensor Stopping the waving gesture recognition operation when a time interval in which an object exists within a preset range of the robot is greater than a threshold;
S13、在停止所述挥手手势识别操作时,根据记录的所述挥手操作次数和预设的映射表对机器人执行对应的操作;其中,所述映射表记录挥手操作次数和执行操作的对应关系。S13. When the waving gesture recognition operation is stopped, performing a corresponding operation on the robot according to the recorded number of wave operation operations and a preset mapping table; wherein the mapping table records the correspondence between the number of wave operation operations and the execution operation.
在步骤S11中,当通过测距传感器检测到在机器人的预设范围内存在物体而启动挥手手势识别操作时,还包括步骤:In step S11, when the detection of the presence of an object within the preset range of the robot by the ranging sensor initiates the waving gesture recognition operation, the method further includes the steps of:
通过控制机器人发光和/或发声来提示用户进行挥手操作。The user is prompted to perform a wave operation by controlling the robot to illuminate and/or vocalize.
可以理解的,在没有用户操作时机器人上的指示灯是灭的,仅当通过测距传感器感应到预设范围内有物体(例如,用户的手)时,才控制指示灯亮起,同时可以伴有语音提示用户在上面进行手势操作。It can be understood that the indicator light on the robot is off when there is no user operation, and only when an object (for example, a user's hand) is detected in the preset range by the ranging sensor, the control indicator lights up and can be accompanied by There is a voice prompting the user to perform a gesture operation on it.
其中,所述预设范围为50cm~120cm,优选为60cm~100cm。所述测距传感器为激光测距传感器、超声波测距传感器或红外测距传感器。Wherein, the preset range is 50 cm to 120 cm, preferably 60 cm to 100 cm. The ranging sensor is a laser ranging sensor, an ultrasonic ranging sensor or an infrared ranging sensor.
其中,所述通过测距传感器检测到在机器人的预设范围内存在物体是指,有物体经过了测距传感器的检测区域。所述预设范围根据传感器能够有效检测的范围设定,以用户挥手操作为例,即将手当做是一个物体,所述预设范围为手到测距传感器之间人为通过实验预先设定的相对合理距离,这个范围确定了本装置的检测范围。距离值处于该范围内时被判定为检测到手,距离值超出该范围时被判定为未检测到手。选取合理的范围有以下一些判定标准,但不局限于此:预设范围应在传感器测距范围内,需参照传感器的具体检测特性而设定,并且设置适当的检测范围,当有物体被传感器检测到但距离超出该范围时,算法判定为无物体经过;只有在预设范围内有手经过时才算作有效的检测。Wherein, the detecting by the ranging sensor that the object exists in the preset range of the robot means that the object passes through the detection area of the ranging sensor. The preset range is set according to a range in which the sensor can be effectively detected. Taking the user's wave operation as an example, the hand is regarded as an object, and the preset range is a relative preset between the hand and the distance measuring sensor by an experiment. A reasonable distance, this range determines the detection range of the device. When the distance value is within the range, it is determined that the hand is detected, and when the distance value exceeds the range, it is determined that the hand is not detected. There are some criteria for determining the reasonable range, but it is not limited to this: the preset range should be within the range of the sensor's ranging, and should be set with reference to the specific detection characteristics of the sensor, and the appropriate detection range should be set. When the detected distance is beyond the range, the algorithm determines that no object has passed; it is counted as valid detection only when there is a hand in the preset range.
在本实施例中,将所述测距传感器设于所述机器人顶部,以利于检测预设范围内是否存在物体。 In this embodiment, the ranging sensor is disposed on the top of the robot to facilitate detecting whether an object exists within a preset range.
具体实施时,当通过测距传感器检测到在机器人的预设范围内存在物体时,可通过发送一计时指令、控制指令或开关指令来启动/停止所述挥手手势识别操作。In a specific implementation, when it is detected by the ranging sensor that an object exists in a preset range of the robot, the waving gesture recognition operation may be started/stopped by transmitting a timing instruction, a control instruction, or a switching instruction.
在步骤S12中,如图2所示,在启动挥手手势识别操作后,通过以下方法判断所述测距传感器当前检测到在机器人的预设范围内存在物体到所述测距传感器下一次检测到在机器人的预设范围内存在物体的时间间隔大于阈值:In step S12, as shown in FIG. 2, after the wave gesture recognition operation is started, it is determined by the following method that the ranging sensor currently detects that an object exists in the preset range of the robot to the next time the ranging sensor detects The time interval between objects in the preset range of the robot is greater than the threshold:
S1211、在启动挥手手势识别操作后,当所述测距传感器首次检测到在机器人的预设范围内存在物体时,发出第一控制信号以启动第一计时器开始计时;S1211: After the wave gesture recognition operation is started, when the ranging sensor detects for the first time that an object exists in a preset range of the robot, the first control signal is sent to start the first timer to start timing;
S1212、在启动挥手手势识别操作后,当所述测距传感器除首次外的每一次检测到在机器人的预设范围内存在物体时,均发出第二控制信号以控制所述第一计时器重新计时;S1212: After the wave gesture recognition operation is started, when the ranging sensor detects that there is an object in the preset range of the robot every time before the first time, the second control signal is sent to control the first timer to be restarted. Timing
S1213、当所述第一计时器接收到所述第二控制信号时的计时时间大于阈值时,则判断所述测距传感器当前检测到在机器人的预设范围内存在物体到所述测距传感器下一次检测到在机器人的预设范围内存在物体的时间间隔大于阈值。S1213. When the timing of receiving the second control signal by the first timer is greater than a threshold, determining that the ranging sensor currently detects that an object exists in the preset range of the robot to the ranging sensor. The next time it is detected that the time interval between objects in the preset range of the robot is greater than the threshold.
其中,所述阈值小于所述预设值范围。The threshold is smaller than the preset value range.
如图3所示,在所述步骤S12中,在启动挥手手势识别操作后,通过以下方法判断所述测距传感器当前检测到在机器人的预设范围内存在物体的持续时间是否在预设值范围内:As shown in FIG. 3, in the step S12, after the wave gesture recognition operation is started, it is determined by the following method whether the duration of the object currently detected by the ranging sensor in the preset range of the robot is at a preset value. Within the scope:
S1221、在启动挥手手势识别操作后,当所述测距传感器瞬间检测到在机器人的预设范围内存在物体时,发出第三控制信号以启动第二计时器开始计时;S1221. After the wave gesture recognition operation is started, when the ranging sensor detects that an object exists in the preset range of the robot, the third control signal is sent to start the second timer to start timing;
S1222、在启动第二计时器开始计时后,当所述测距传感器瞬间没有检测到在机器人的预设范围内存在物体时,发出第四控制信号以停止所述第二计时器计时;S1222: After starting the second timer to start timing, when the ranging sensor does not detect that an object exists in the preset range of the robot, the fourth control signal is sent to stop the second timer timing;
S1223、当所述第二计时器接收到所述第四控制信号时的计时时间落入所述预设值范围内,则判断所述测距传感器当前检测到在机器人的预设范围内存在物体的持续时间在预设值范围内;否则判断所述测距传感器当前检测到在机器人的预设范围内存在物体的持续时间不在预设值范围内。S1223, when the timing time when the second timer receives the fourth control signal falls within the preset value range, it is determined that the ranging sensor currently detects that an object exists in a preset range of the robot. The duration of the object is within a preset range; otherwise, it is determined that the ranging sensor currently detects that the duration of the object within the preset range of the robot is not within a preset value range.
在步骤S13中,对机器人执行对应的所述操作包括开始工作或停止工作操作。In step S13, performing the corresponding operation on the robot includes starting a work or stopping a work operation.
机器人人顶部安装有测距传感器。采用测距传感器扫描机器人顶部是否有反射信号。如果顶部有反射信号,则机器人发出声光指示,这时操作者在挥动手势,即可实现机器人的操作。其中,测距传感器包括但不限于激光测距传感器/红外测距传感器/超声波测距传感器/TOF测距传感器)。A range sensor is mounted on the top of the robot. A range sensor is used to scan the top of the robot for reflected signals. If there is a reflected signal at the top, the robot gives an acousto-optic indication, and the operator can perform the operation of the robot while waving the gesture. Wherein, the ranging sensor includes but is not limited to a laser ranging sensor/infrared ranging sensor/ultrasonic ranging sensor/TOF ranging sensor).
本实施通过单个测距传感器来实现用户手势识别,将单个测距传感器设于机器人顶部,机器人通电后,测距传感器一直探测机器人上方是否有物体,当感应到物体处于一定范围(例如60cm-100cm)时,发出声光指示信号并继续探测。如果上方是操作者在传感器正上方左右挥手,测距传感器会检测到手的——检测不到手,如此循环,直到停止挥手。 In this implementation, a single ranging sensor is used to realize user gesture recognition, and a single ranging sensor is disposed on the top of the robot. After the robot is powered on, the ranging sensor always detects whether there is an object above the robot, and when the object is sensed to be in a certain range (for example, 60 cm-100 cm) When the sound and light indication signal is emitted and the detection continues. If the top is the operator waving the hand directly above the sensor, the range sensor will detect the hand - the hand is not detected, so cycle until the wave is stopped.
另外,本实施例通过加入测距传感器所测距离(优选为60cm-100cm)作为防干扰措施,避免机器人识别错误。In addition, the present embodiment uses the distance measured by the distance measuring sensor (preferably 60 cm - 100 cm) as an anti-interference measure to avoid robot recognition errors.
另外,机器人在运行时顶部会有家具等其他物体,为了避免机器人识别错误(不是手势,而是其他物体)。本实施例加入防干扰措施,具体如下:监测手(物体)在测距传感器上方停留时间(因为手在上面挥动速度可以比较快,因此停留时间小于某一特定值且大于另外一个特定值,即物体的持续时间在预设值范围内,才算是手在上面挥动)。如果间隔时间大于某一定义时间(阈值)则认为是其他干扰,并不是手势。如果检测到物体与未检测到物体的切换时间较短(即,时间间隔小于阈值),且挥手次数为指定次数则认为是正常操作(即挥手次数达到预设的映射表中对应可执行操作)。可以通过检测挥手次数来判断用户操作内容(例如开始工作,停止工作等)。In addition, the robot will have other objects such as furniture at the top of the running, in order to avoid the robot recognition error (not gestures, but other objects). In this embodiment, an anti-interference measure is added, as follows: monitoring the dwell time of the hand (object) above the ranging sensor (because the hand can swing faster on the upper side, so the dwell time is less than a certain value and greater than another specific value, ie The duration of the object is within the preset range, and the hand is swiping above). If the interval is greater than a certain defined time (threshold), it is considered to be other interference, not a gesture. If the switching time between the detected object and the undetected object is short (ie, the time interval is less than the threshold), and the number of waved times is a specified number of times, it is considered to be a normal operation (ie, the number of wave hands reaches the corresponding executable operation in the preset mapping table) . The content of the user's operation (for example, starting work, stopping work, etc.) can be judged by detecting the number of wave times.
可见,本实施例公开的公开的一种基于手势识别的机器人控制方法通过测距传感器检测到在机器人的预设范围内存在物体时,则启动挥手手势识别操作,在启动挥手手势识别操作后,若所述测距传感器当前检测到在机器人的预设范围内存在物体的持续时间在预设值范围内,则记录为一次挥手操作;若所述测距传感器当前检测到在机器人的预设范围内存在物体的持续时间不在预设值范围内,或者所述测距传感器当前检测到在机器人的预设范围内存在物体到所述测距传感器下一次检测到在机器人的预设范围内存在物体的时间间隔大于阈值时,停止所述挥手手势识别操作;并在停止所述挥手手势识别操作时,根据记录的所述挥手操作次数和预设的映射表对机器人执行对应的操作;其中,所述映射表记录挥手操作次数和执行操作的对应关系。从而实现了能够基于用户的手势识别对机器人执行对应的操作(例如开始工作或者停止工作操作),无需用户弯腰去按键或者是使用手机、遥控器来控制,方便用户使用,提高用户对产品的体验。It can be seen that the gesture control-based robot control method disclosed in this embodiment detects that an object exists within a preset range of the robot by the ranging sensor, and then initiates a wave gesture recognition operation, after starting the wave gesture recognition operation, If the ranging sensor currently detects that the duration of the object existing within the preset range of the robot is within a preset value range, recording is a one-shot operation; if the ranging sensor currently detects the preset range of the robot The duration of the in-vivo object is not within the preset value range, or the ranging sensor currently detects that an object exists within the preset range of the robot to the ranging sensor, and the next time an object is detected within the preset range of the robot When the time interval is greater than the threshold, the waving gesture recognition operation is stopped; and when the waving gesture recognition operation is stopped, the corresponding operation is performed on the robot according to the recorded number of the wave operation and the preset mapping table; The mapping table records the correspondence between the number of wave operations and the execution of the operation. Thereby, the corresponding operation (for example, starting work or stopping the work operation) can be performed on the robot based on the gesture recognition of the user, without the user bending over the button or using the mobile phone and the remote controller to control, facilitating the user to use, and improving the user's product. Experience.
参见图4,是本发明实施例2提供的一种基于手势识别的机器人控制方法的流程示意图,该控制方法包括步骤S21~S23:4 is a schematic flowchart of a robot control method based on gesture recognition according to Embodiment 2 of the present invention. The control method includes steps S21 to S23:
S21、当通过摄像头识别到在机器人的拍摄范围内存在物体时,则启动挥手手势识别操作;S21. When it is recognized by the camera that an object exists in the shooting range of the robot, the waving gesture recognition operation is started;
S22、在启动挥手手势识别操作后,若所述摄像头当前识别到在机器人的拍摄范围内存在物体的持续时间在预设值范围内,则记录为一次挥手操作;若所述摄像头当前识别到在机器人的拍摄范围内存在物体的持续时间不在预设值范围内,或者所述摄像头当前识别到在机器人的拍摄范围内存在物体到所述摄像头下一次识别到在机器人的拍摄范围内存在物体的时间间隔大于阈值时,停止所述挥手手势识别操作;S22. After the wave gesture recognition operation is started, if the camera currently recognizes that the duration of the object existing in the shooting range of the robot is within a preset value range, recording is a wave operation; if the camera currently recognizes The duration of the object in the shooting range of the robot is not within the preset value range, or the camera currently recognizes that there is an object in the shooting range of the robot until the next time the camera recognizes that there is an object in the shooting range of the robot Stopping the waving gesture recognition operation when the interval is greater than the threshold;
S23、在停止所述挥手手势识别操作时,根据记录的所述挥手操作次数和预设的映射表对机器人执行对应的操作;其中,所述映射表记录挥手操作次数和执行操作的对应关系。S23. When the waving gesture recognition operation is stopped, performing a corresponding operation on the robot according to the recorded number of wave operation operations and a preset mapping table; wherein the mapping table records the correspondence between the number of wave operation operations and the execution operation.
其中,在步骤S21中,所述通过摄像头识别到在机器人的拍摄范围内存在物体是指,瞬间有物体经过了摄像头的拍摄区域。具体可通过方式来识别摄像头的拍摄范围内是否存在物体(例如,手):In the step S21, the camera recognizes that an object is present in the shooting range of the robot, and an object passes through the imaging area of the camera. Specifically, it is possible to identify whether an object (for example, a hand) exists in the shooting range of the camera:
方式A:机器人处于停止状态,摄像头根据预设频率拍照,将摄像头连续拍摄的前后两张照片 进行对比,如果前后两张照片的匹配度是比较高(大于设定值),则识别为在机器人的拍摄范围内不存在物体;如果前后两张会有明显的差异(匹配度小于设定值),识别为在机器人的拍摄范围内存在物体。Mode A: The robot is in a stopped state, and the camera takes a picture according to the preset frequency, and the two photos before and after the camera are continuously shot. For comparison, if the matching degree between the two photos is relatively high (greater than the set value), it is recognized that there is no object in the shooting range of the robot; if there are obvious differences between the two front and back (the matching degree is less than the set value) ), identified as an object within the shooting range of the robot.
方式B:机器人处于运动状态,摄像头根据预设频率拍照,将摄像头连续拍摄的前后两张照片进行对比,如果前后拍摄两张照片只有微弱的平移区别,则识别为在机器人的拍摄范围内不存在物体;如果前后两张不光有平移差异,而且还有有无物体的瞬间差异,则识别为在机器人的拍摄范围内存在物体。可以理解的,所述微弱的平移区别可以是预先设置的一个平移参考值。Mode B: The robot is in motion, the camera takes a picture according to the preset frequency, and compares the two photos before and after the camera is continuously shot. If the two photos are only slightly shifted, the recognition is not in the shooting range of the robot. Object; if there are not only translational differences between the two front and back, but also there is a momentary difference between the objects, it is recognized that there is an object in the shooting range of the robot. It can be understood that the weak translation difference can be a preset translation reference value.
在步骤S21中,当通过摄像头识别到在机器人的拍摄范围内存在物体而启动挥手手势识别操作时,还包括步骤:In step S21, when the waving gesture recognition operation is initiated by the camera recognizing that an object exists within the shooting range of the robot, the method further includes the steps of:
通过控制机器人发光和/或发声来提示用户进行挥手操作。The user is prompted to perform a wave operation by controlling the robot to illuminate and/or vocalize.
可以理解的,在没有用户操作时机器人上的指示灯是灭的,仅当通过测距传感器感应到预设范围内有物体(例如,用户的手)时,才控制指示灯亮起,同时可以伴有语音提示用户在上面进行手势操作。It can be understood that the indicator light on the robot is off when there is no user operation, and only when an object (for example, a user's hand) is detected in the preset range by the ranging sensor, the control indicator lights up and can be accompanied by There is a voice prompting the user to perform a gesture operation on it.
在本实施例中,所述摄像头设于所述机器人顶部,以利于检测拍摄范围内是否存在物体。具体实施时,当通过摄像头识别到在机器人的拍摄范围内存在物体时,可通过发送一计时指令、控制指令或开关指令来启动/停止所述挥手手势识别操作。In this embodiment, the camera is disposed on the top of the robot to facilitate detecting whether an object exists in the shooting range. In a specific implementation, when it is recognized by the camera that an object exists in the shooting range of the robot, the waving gesture recognition operation can be started/stopped by transmitting a timing command, a control command, or a switch command.
在步骤S22中,如图5所示,在启动挥手手势识别操作后,通过以下方法判断所述摄像头当前识别到在机器人的拍摄范围内存在物体与所述摄像头下一次识别到在机器人的拍摄范围内存在物体的时间间隔大于阈值:In step S22, as shown in FIG. 5, after the wave gesture recognition operation is started, it is determined by the following method that the camera currently recognizes that an object exists in the shooting range of the robot and the camera recognizes the shooting range of the robot next time. The time interval between objects in the object is greater than the threshold:
S2211、基于所述摄像头的拍摄频率,通过判断所述摄像头识别到在机器人的拍摄范围内从有到无存在物体瞬间,到所述摄像头识别到在机器人的拍摄范围内从无到有存在物体瞬间所经过的帧数来计算得到时间间隔;S2211, based on the imaging frequency of the camera, by determining that the camera recognizes an instant from the presence or absence of an object in the shooting range of the robot, and the camera recognizes that the object is present from nothing in the shooting range of the robot. The number of frames passed to calculate the time interval;
S2212、当所述时间间隔大于阈值时,则判断所述摄像头当前识别到在机器人的拍摄范围内存在物体到所述摄像头下一次识别到在机器人的拍摄范围内存在物体的时间间隔大于阈值。S2212: When the time interval is greater than the threshold, it is determined that the camera currently recognizes that the time interval between the object existing in the shooting range of the robot and the next time the camera recognizes that the object exists in the shooting range of the robot is greater than a threshold.
在步骤S22中,如图6所示,在启动挥手手势识别操作后,通过以下方法判断所述摄像头当前识别到在机器人的拍摄范围内存在物体的持续时间是否在预设值范围内:In step S22, as shown in FIG. 6, after the wave gesture recognition operation is started, it is determined by the following method that the camera currently recognizes whether the duration of the object existing in the shooting range of the robot is within a preset value range:
S2221、基于所述摄像头的拍摄频率,通过判断所述摄像头识别到在机器人的预设范围内从无到有存在物体瞬间,到所述摄像头识别到在机器人的预设范围内从有到无存在物体瞬间所经过的帧数来计算得到持续时间;S2221, based on the shooting frequency of the camera, by determining that the camera recognizes that there is an instantaneous moment in the preset range of the robot, and the camera recognizes that there is no presence in the preset range of the robot. Calculating the duration of the number of frames that the object passes in an instant;
S2222、当所述持续时间落入所述预设值范围内,则判断所述测距传感器当前检测到在机器人的预设范围内存在物体的持续时间在预设值范围内;否则判断所述测距传感器当前检测到在机器人的预 设范围内存在物体的持续时间不在预设值范围内。S2222, when the duration falls within the preset value range, determining that the ranging sensor currently detects that the duration of the object exists within the preset range of the robot is within a preset value range; otherwise determining the The range sensor is currently detected in the robot's pre- The duration of the object within the range is not within the preset range.
其中,所述摄像头的拍摄频率为10~50帧/秒,优选为20~30帧/秒。所述预设值范围大于所述阈值。The shooting frequency of the camera is 10 to 50 frames/second, preferably 20 to 30 frames/second. The preset value range is greater than the threshold.
下面,结合图7a~图7b对本实施例进行详细的说明。以用户挥手为例,将手当做是一个物体,只要物体在摄像头上挥动,就会形成一系列的图片,通过对比连续拍的多张照片对比来实现。如图7a~图7b所示为手在摄像头上方运动时,CCD/CMOS连续拍到的5张照片(或者是视频流里面截取的5帧图像),可以理解的,5张照片只是举例,也可以是3张或者8张,当手在摄像头上挥动时,CCD/CMOS相对于静态的时候会有一个物体在里面移动,通过与静态时拍的照片对比可以判断上面有物体在快速运动。Hereinafter, the present embodiment will be described in detail with reference to Figs. 7a to 7b. Taking the user's wave as an example, the hand is regarded as an object. As long as the object is swung on the camera, a series of pictures will be formed, which is achieved by comparing the multiple photos of consecutive shots. As shown in Fig. 7a to Fig. 7b, when the hand moves over the camera, the CCD/CMOS continuously captures 5 photos (or 5 frames captured in the video stream). It can be understood that 5 photos are only examples, It can be 3 or 8 sheets. When the hand is waving on the camera, the CCD/CMOS will move an object inside when it is static. It can be judged that there is an object moving fast by comparing with the picture taken at the time of static.
图7a~图7b所示的5张照片是手从左运动到右边的一系列照片,通过物体(手)在CCD/CMOS中从左到右可以判断挥手一次,从右到左又可以判断挥手了一次。如此便可以记录挥手次数。The five photos shown in Figures 7a to 7b are a series of photos of the hand moving from left to right. The object (hand) can be judged from left to right in CCD/CMOS, and can be judged from right to left. Once. This allows you to record the number of swings.
对于上述提及的持续时间,可以采用如下方式计算:摄像头拍照频率是已知的(软件设定),假设1秒钟拍照24照片(对应视频流是24帧/秒)那么拍两张连续照片的时间间隔为1/24秒,也就是0.042秒,那可以通过判断物体(手)在CCD/CMOS中出现到消失所拍到的照片数量来计算持续时间:举例如下:假设手从左进入CCD中到从右边出去拍了5张照片,那么手在CCD中停留的时间为0.21秒,那么持续时间为0.21秒。For the duration mentioned above, it can be calculated as follows: the camera photographing frequency is known (software setting), assuming that 24 photos are taken in 1 second (corresponding to the video stream is 24 frames/second), then two consecutive photos are taken. The time interval is 1/24 second, which is 0.042 seconds. That can be calculated by judging the number of photos taken by the object (hand) in the CCD/CMOS to disappear. The example is as follows: Suppose the hand enters the CCD from the left. From the middle to the right to take 5 photos, then the hand stays in the CCD for 0.21 seconds, then the duration is 0.21 seconds.
对于上述提及的时间间隔,可以采用如下方式计算:摄像头拍照频率是已知的(软件设定),假设1秒钟拍照24照片(对应视频流是24帧/秒)那么拍两张连续照片的时间间隔为1/24秒,也就是0.042秒,那么可以通过判断物体(手)在CCD/CMOS中从消失到出现所拍到的照片数量来计算时间间隔。举例如下:假设手从左进入CCD中到从右边出去拍了5张照片,那么手在CCD中停留的时间为0.21秒,手挥舞到右边不会刚好出CCD视野就停下来,有可能还会继续向右运动,假设又拍了3张照片,那么时间为0.126秒,从右边回来到进入右边CCD视野又拍了3张照片,时间为0.126秒,从右边进入到从左边出去拍5张照片,时间为0.21秒。那么可以按照两个3张照片(也就是手不在CCD上的时间计算),也就是0.126*2=0.252秒。For the above-mentioned time interval, it can be calculated as follows: the camera photographing frequency is known (software setting), assuming that 24 photos are taken in 1 second (corresponding to the video stream is 24 frames/second), then two consecutive photos are taken. The time interval is 1/24 second, which is 0.042 seconds. Then, the time interval can be calculated by judging the number of photographs taken by the object (hand) in the CCD/CMOS from disappearing to appearing. For example: Assume that the hand enters the CCD from the left to take 5 photos from the right, then the time spent in the CCD is 0.21 seconds, and the hand waving to the right will not stop just out of the CCD field of view, and may still Continue to move to the right, assuming another 3 photos, then the time is 0.126 seconds, from the right back to the right CCD field of view and took 3 more photos, the time is 0.126 seconds, from the right to go out to take 5 photos from the left The time is 0.21 seconds. Then you can follow two 3 photos (that is, the time when the hand is not on the CCD), which is 0.126*2=0.252 seconds.
本实施例通过摄像头进行手势识别的识别方法有效解决了手势识别的难题(因为手的形状很多例如手指并拢,手指打开,握拳等都要识别),这种方法将手当做物体来识别,因此,在上面连续挥动的不是手也有可能会识别从手势。为了防止干扰,引入持续时间、间隔时间以及挥手次数来抗干扰。通常情况如果是干扰的话,一般不会形成连续投影以及段时间间隔有多次挥手。In this embodiment, the recognition method of the gesture recognition by the camera effectively solves the problem of gesture recognition (because the shape of the hand is many, such as fingers close together, fingers open, fists, etc.), this method identifies the hand as an object, therefore, It is not the hand that is continuously waving on the top, and it is also possible to recognize the gesture. In order to prevent interference, the duration, interval time and number of waves are introduced to prevent interference. Usually, if it is interference, it will not form a continuous projection and there will be multiple wave times in the segment time interval.
可见,本实施例公开的一种基于手势识别的机器人控制方法通过摄像头识别到在机器人的拍摄范围内存在物体时,则启动挥手手势识别操作,在启动挥手手势识别操作后,若所述摄像头当前识别到在机器人的拍摄范围内存在物体的持续时间在预设值范围内,则记录为一次挥手操作;若所述摄像头当前识别到在机器人的拍摄范围内存在物体的持续时间不在预设值范围内,或者所述摄像头当前识别 到在机器人的拍摄范围内存在物体到所述摄像头下一次识别到在机器人的拍摄范围内存在物体的时间间隔大于阈值时,停止所述挥手手势识别操作;并在停止所述挥手手势识别操作时,根据记录的所述挥手操作次数和预设的映射表对机器人执行对应的操作;其中,所述映射表记录挥手操作次数和执行操作的对应关系。因此,实现了能够基于用户的手势识别对机器人执行对应的操作(例如开始工作或者停止工作操作),无需用户弯腰去按键或者是使用手机、遥控器来控制,方便用户使用,提高用户对产品的体验。It can be seen that the gesture control-based robot control method disclosed in the embodiment detects that an object exists within the shooting range of the robot by the camera, and then initiates a wave gesture recognition operation, after the wave gesture recognition operation is started, if the camera is currently It is recognized that the duration of the object existing in the shooting range of the robot is within a preset value range, and is recorded as a wave operation; if the camera currently recognizes that the duration of the object exists in the shooting range of the robot is not in the preset value range Inside, or the camera currently recognizes Stopping the waving gesture recognition operation when an object exists within the shooting range of the robot until the camera recognizes that the time interval in which the object exists within the shooting range of the robot is greater than the threshold; and when the waving gesture recognition operation is stopped Corresponding operations are performed on the robot according to the recorded number of wave operations and the preset mapping table; wherein the mapping table records the correspondence between the number of wave operations and the execution operation. Therefore, it is realized that the corresponding operation (for example, starting work or stopping the work operation) can be performed on the robot based on the gesture recognition of the user, without the user bending over the button or using the mobile phone or the remote controller to control, facilitating the user to use, and improving the user to the product. Experience.
参考图8,是本发明实施例3中一种基于手势识别的机器人控制装置的结构框图,该控制装置包括:FIG. 8 is a structural block diagram of a gesture control-based robot control apparatus according to Embodiment 3 of the present invention, the control apparatus including:
挥手手势识别操作启动模块31,用于当通过测距传感器检测到在机器人的预设范围内存在物体时,则启动挥手手势识别操作;The waving gesture recognition operation starting module 31 is configured to initiate a wave gesture recognition operation when detecting that an object exists within a preset range of the robot by the ranging sensor;
挥手操作判断模块32,用于在启动挥手手势识别操作后,若所述测距传感器当前检测到在机器人的预设范围内存在物体的持续时间在预设值范围内,则记录为一次挥手操作;若所述测距传感器当前检测到在机器人的预设范围内存在物体的持续时间不在预设值范围内,或者所述测距传感器当前检测到在机器人的预设范围内存在物体到所述测距传感器下一次检测到在机器人的预设范围内存在物体的时间间隔大于阈值时,停止所述挥手手势识别操作;The wave operation determination module 32 is configured to record a wave operation if the distance sensor currently detects that the duration of the object within the preset range of the robot is within a preset value range after the wave gesture recognition operation is initiated. If the ranging sensor currently detects that the duration of the object exists within the preset range of the robot is not within a preset value range, or the ranging sensor currently detects that an object exists within the preset range of the robot to the The next time the ranging sensor detects that the time interval of the object exists in the preset range of the robot is greater than a threshold, the waving gesture recognition operation is stopped;
执行模块33,用于在停止所述挥手手势识别操作时,根据记录的所述挥手操作次数和预设的映射表对机器人执行对应的操作;其中,所述映射表记录挥手操作次数和执行操作的对应关系。The execution module 33 is configured to perform a corresponding operation on the robot according to the recorded number of the wave operation and the preset mapping table when the wave gesture recognition operation is stopped; wherein the mapping table records the number of wave operations and performs an operation Correspondence.
其中,所述挥手手势识别操作启动模块还用于:当通过测距传感器检测到在机器人的预设范围内存在物体而启动挥手手势识别操作时,通过控制机器人发光和/或发声来提示用户进行挥手操作。The waving gesture recognition operation starting module is further configured to: when the detection of the presence of an object in the preset range of the robot by the ranging sensor, initiate the wave gesture recognition operation, prompt the user to perform the illumination by controlling the robot to emit light and/or sound. Waved.
如图9所示,所述挥手操作判断模块32具体包括:As shown in FIG. 9, the wave operation determining module 32 specifically includes:
第一控制信号生成单元321,用于在启动挥手手势识别操作后,当所述测距传感器首次检测到在机器人的预设范围内存在物体时,发出第一控制信号以启动第一计时器开始计时;The first control signal generating unit 321 is configured to: after the triggering gesture recognition operation is started, when the ranging sensor detects that an object exists in the preset range of the robot for the first time, issue a first control signal to start the first timer. Timing
第二控制信号生成单元322,用于在启动挥手手势识别操作后,当所述测距传感器除首次外的每一次检测到在机器人的预设范围内存在物体时,均发出第二控制信号以控制所述第一计时器重新计时;The second control signal generating unit 322 is configured to: after the triggering gesture recognition operation is started, when the ranging sensor detects that there is an object in the preset range of the robot every time before the first time, the second control signal is sent to Controlling the first timer to re-time;
第一判断单元323,当所述第一计时器接收到所述第二控制信号时的计时时间大于阈值时,则判断所述测距传感器当前检测到在机器人的预设范围内存在物体到所述测距传感器下一次检测到在机器人的预设范围内存在物体的时间间隔大于阈值;The first determining unit 323, when the timing when the first timer receives the second control signal is greater than the threshold, determining that the ranging sensor currently detects that an object exists in the preset range of the robot The time interval sensor detects that the time interval of the object existing in the preset range of the robot is greater than a threshold;
第三控制信号生成单元324,用于在启动挥手手势识别操作后,当所述测距传感器瞬间检测到在机器人的预设范围内存在物体时,发出第三控制信号以启动第二计时器开始计时;The third control signal generating unit 324 is configured to: after the triggering gesture recognition operation is started, when the ranging sensor instantaneously detects that an object exists in the preset range of the robot, issue a third control signal to start the second timer. Timing
第四控制信号生成单元325,用于在启动第二计时器开始计时后,当所述测距传感器瞬间没有检测到在机器人的预设范围内存在物体时,发出第四控制信号以停止所述第二计时器计时;以及 a fourth control signal generating unit 325, configured to: after the start of the second timer starts timing, when the ranging sensor does not detect that an object exists in the preset range of the robot, the fourth control signal is sent to stop the Second timer timing;
第二判断单元326,用于当所述第二计时器接收到所述第四控制信号时的计时时间落入所述预设值范围内,则判断所述测距传感器当前检测到在机器人的预设范围内存在物体的持续时间在预设值范围内;否则判断所述测距传感器当前检测到在机器人的预设范围内存在物体的持续时间不在预设值范围内。The second determining unit 326 is configured to determine that the time measuring time when the second timer receives the fourth control signal falls within the preset value range, and determine that the ranging sensor is currently detected in the robot The duration of the object within the preset range is within a preset value range; otherwise, it is determined that the ranging sensor currently detects that the duration of the object within the preset range of the robot is not within the preset value range.
具体实施时,所述挥手操作判断模块通过发出一计时指令、控制指令或开关指令来启动/停止所述挥手手势识别操作。In a specific implementation, the wave operation judgment module starts/stops the wave gesture recognition operation by issuing a timing command, a control command, or a switch command.
优选的,所述预设值范围大于所述阈值。所述测距传感器位于所述机器人顶部。上述对机器人执行对应的所述操作包括开始工作或停止工作。Preferably, the preset value range is greater than the threshold. The ranging sensor is located at the top of the robot. The above-described operations performed on the robot include starting work or stopping work.
本实施公开的基于手势识别的机器人控制装置的工作原理及工作过程与上述实施例1一致,详细过程请参考上述实施例1,在此不再赘述。The working principle and the working process of the gesture recognition-based robot control device disclosed in this embodiment are the same as those in the first embodiment. For details, refer to the first embodiment, and no further details are provided herein.
参考图10,是本发明实施例4中一种基于手势识别的机器人控制装置的结构框图,该控制装置包括:10 is a structural block diagram of a robot control device based on gesture recognition in Embodiment 4 of the present invention, the control device includes:
挥手手势识别操作启动模块41,用于当通过摄像头识别到在机器人的拍摄范围内存在物体时,则启动挥手手势识别操作;The waving gesture recognition operation starting module 41 is configured to initiate a waving gesture recognition operation when it is recognized by the camera that an object exists within the shooting range of the robot;
挥手操作判断模块42,用于在启动挥手手势识别操作后,若所述摄像头当前识别到在机器人的拍摄范围内存在物体的持续时间在预设值范围内,则记录为一次挥手操作;若所述摄像头当前识别到在机器人的拍摄范围内存在物体的持续时间不在预设值范围内,或者所述摄像头当前识别到在机器人的拍摄范围内存在物体到所述摄像头下一次识别到在机器人的拍摄范围内存在物体的时间间隔大于阈值时,停止所述挥手手势识别操作;以及The wave operation determining module 42 is configured to record, as a wave-handling operation, if the camera currently recognizes that the duration of the object within the shooting range of the robot is within a preset value range after the wave gesture recognition operation is initiated; The camera currently recognizes that the duration of the object within the shooting range of the robot is not within the preset value range, or the camera currently recognizes that an object exists within the shooting range of the robot until the camera next recognizes that the robot is photographed Stopping the waving gesture recognition operation when the time interval of the object exists in the range is greater than the threshold;
执行模块43,用于在停止所述挥手手势识别操作时,根据记录的所述挥手操作次数和预设的映射表对机器人执行对应的操作;其中,所述映射表记录挥手操作次数和执行操作的对应关系。The execution module 43 is configured to perform a corresponding operation on the robot according to the recorded number of the wave operation and the preset mapping table when the wave gesture recognition operation is stopped; wherein the mapping table records the number of wave operations and performs an operation Correspondence.
其中,在挥手手势识别操作启动模块41中,通过摄像头识别到在机器人的拍摄范围内存在物体是指,瞬间有物体经过了摄像头的拍摄区域。具体可通过方式来识别摄像头的拍摄范围内是否存在物体(例如,手):In the waving gesture recognition operation starting module 41, it is recognized by the camera that an object is present in the shooting range of the robot, and an object that has passed the imaging area of the camera instantaneously. Specifically, it is possible to identify whether an object (for example, a hand) exists in the shooting range of the camera:
方式A:机器人处于停止状态,摄像头根据预设频率拍照,将摄像头连续拍摄的前后两张照片进行对比,如果前后两张照片的匹配度是比较高(大于设定值),则识别为在机器人的拍摄范围内不存在物体;如果前后两张会有明显的差异(匹配度小于设定值),识别为在机器人的拍摄范围内存在物体。Mode A: The robot is in a stopped state, and the camera takes a picture according to the preset frequency, and compares the two photos before and after the camera is continuously shot. If the matching degree of the two photos is relatively high (greater than the set value), it is recognized as being in the robot. There is no object in the shooting range; if there is a significant difference between the two front and back (the matching degree is less than the set value), it is recognized that there is an object in the shooting range of the robot.
方式B:机器人处于运动状态,摄像头根据预设频率拍照,将摄像头连续拍摄的前后两张照片进行对比,如果前后拍摄两张照片只有微弱的平移区别,则识别为在机器人的拍摄范围内不存在物体;如果前后两张不光有平移差异,而且还有有无物体的瞬间差异,则识别为在机器人的拍摄范围内存在物体。 Mode B: The robot is in motion, the camera takes a picture according to the preset frequency, and compares the two photos before and after the camera is continuously shot. If the two photos are only slightly shifted, the recognition is not in the shooting range of the robot. Object; if there are not only translational differences between the two front and back, but also there is a momentary difference between the objects, it is recognized that there is an object in the shooting range of the robot.
其中,所述挥手手势识别操作启动模块41还用于:当通过摄像头识别到在机器人的拍摄范围内存在物体而启动挥手手势识别操作时,通过控制机器人发光和/或发声来提示用户进行挥手操作。The waving gesture recognition operation starting module 41 is further configured to prompt the user to perform a wave operation by controlling the robot to emit light and/or vocalize when the gesture of recognizing the presence of an object within the shooting range of the robot is detected by the camera. .
如图11所示,所述挥手操作判断模块42具体包括:As shown in FIG. 11, the wave operation determining module 42 specifically includes:
第一帧数计数单元421,基于所述摄像头的拍摄频率,通过判断所述摄像头识别到在机器人的拍摄范围内从有到无存在物体,到所述摄像头识别到在机器人的拍摄范围内从无到有存在物体所经过的帧数来计算得到时间间隔;The first frame number counting unit 421 determines, based on the photographing frequency of the camera, that the camera recognizes that there is no object in the shooting range of the robot, and the camera recognizes that the camera has never been within the shooting range of the robot. Calculate the time interval by the number of frames that have passed through the existing object;
第一判断单元422,用于当所述时间间隔大于阈值时,则判断所述摄像头当前识别到在机器人的拍摄范围内存在物体到所述摄像头下一次识别到在机器人的拍摄范围内存在物体的时间间隔大于阈值;The first determining unit 422 is configured to: when the time interval is greater than the threshold, determine that the camera currently recognizes that an object exists in the shooting range of the robot, and the next time the camera recognizes that an object exists in the shooting range of the robot The time interval is greater than the threshold;
第二帧数计数单元423,基于所述摄像头的拍摄频率,通过判断所述摄像头识别到在机器人的拍摄范围内从无到有存在物体,到所述摄像头识别到在机器人的拍摄范围内从有到无存在物体所经过的帧数来计算得到持续时间;以及The second frame number counting unit 423 determines, based on the photographing frequency of the camera, that the camera recognizes that there is an existing object in the shooting range of the robot, and the camera recognizes that there is a target within the shooting range of the robot. Calculate the duration by the number of frames passed by no object; and
第二判断单元424,当所述持续时间落入所述预设值范围内,则判断所述测距传感器当前检测到在机器人的拍摄范围内存在物体的持续时间在预设值范围内;否则判断所述测距传感器当前检测到在机器人的拍摄范围内存在物体的持续时间不在预设值范围内。a second determining unit 424, when the duration falls within the preset value range, determining that the ranging sensor currently detects that the duration of the object exists in the shooting range of the robot is within a preset value range; otherwise It is judged that the ranging sensor currently detects that the duration of the object existing in the shooting range of the robot is not within the preset value range.
其中,所述摄像头的拍摄频率为10~50帧/秒,优选为20~30帧/秒。The shooting frequency of the camera is 10 to 50 frames/second, preferably 20 to 30 frames/second.
具体实施时,所述挥手操作判断模块通过发出一计时指令、控制指令或开关指令来启动/停止所述挥手手势识别操作。In a specific implementation, the wave operation judgment module starts/stops the wave gesture recognition operation by issuing a timing command, a control command, or a switch command.
作为本实施例的改进,所述预设值范围大于所述阈值。所述摄像头位于所述机器人顶部。上述对机器人执行对应的所述操作包括开始工作或停止工作。As a modification of the embodiment, the preset value range is greater than the threshold. The camera is located on top of the robot. The above-described operations performed on the robot include starting work or stopping work.
本实施公开的基于手势识别的机器人控制装置的工作原理及工作过程与上述实施例2一致,详细过程请参考上述实施例2,在此不再赘述。The working principle and working process of the gesture recognition-based robot control device disclosed in this embodiment are the same as those in the above-mentioned Embodiment 2. For details, refer to the foregoing Embodiment 2, and details are not described herein again.
本发明另一实施例还公开了一种机器人,包括如上实施例所述的基于手势识别的机器人控制装置。Another embodiment of the present invention also discloses a robot comprising the gesture recognition based robot control device as described in the above embodiments.
需说明的是,以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。另外,本发明提供的装置实施例附图中,模块之间的连接关系表示它们之间具有通信连接,具体可以实现为一条或多条通信总线或信号线。本领域普通技术人员在不付出创造性劳动的情况下,即可以理解并实施。It should be noted that the device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical. Units can be located in one place or distributed to multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the embodiment. In addition, in the drawings of the device embodiments provided by the present invention, the connection relationship between the modules indicates that there is a communication connection between them, and specifically, one or more communication buses or signal lines can be realized. Those of ordinary skill in the art can understand and implement without any creative effort.
通过以上的实施方式的描述,所属领域的技术人员可以清楚地了解到本发明可借助软件加必需的 通用硬件的方式来实现,当然也可以通过专用硬件包括专用集成电路、专用CPU、专用存储器、专用元器件等来实现。一般情况下,几由计算机程序完成的功能都可以很容易地用相应的硬件来实现,而且,用来实现同一功能的具体硬件结构也可以是多种多样的,例如模拟电路、数字电路或专用电路等。但是,对本发明而言更多情况下软件程序实现是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在可读取的存储介质中,如计算机的软盘,U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the present invention can be added by software. The implementation of the general hardware means, of course, can also be realized by dedicated hardware including an application specific integrated circuit, a dedicated CPU, a dedicated memory, a dedicated component, and the like. In general, functions performed by computer programs can be easily implemented with the corresponding hardware, and the specific hardware structure used to implement the same function can also be various, such as analog circuits, digital circuits, or dedicated circuits. Circuits, etc. However, for the purposes of the present invention, software program implementation is a better implementation in more cases. Based on the understanding, the technical solution of the present invention, which is essential or contributes to the prior art, can be embodied in the form of a software product stored in a readable storage medium, such as a floppy disk of a computer. , U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc., including a number of instructions to make a computer device (may be A personal computer, server, or network device, etc.) performs the methods described in various embodiments of the present invention.
以上所述是本发明的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也视为本发明的保护范围。 The above is a preferred embodiment of the present invention, and it should be noted that those skilled in the art can also make several improvements and retouchings without departing from the principles of the present invention. It is the scope of protection of the present invention.

Claims (41)

  1. 一种基于手势识别的机器人控制方法,其特征在于,包括步骤:A robot control method based on gesture recognition, comprising the steps of:
    当通过测距传感器检测到在机器人的预设范围内存在物体时,则启动挥手手势识别操作;When it is detected by the ranging sensor that an object exists within a preset range of the robot, the waving gesture recognition operation is initiated;
    在启动挥手手势识别操作后,若所述测距传感器当前检测到在机器人的预设范围内存在物体的持续时间在预设值范围内,则记录为一次挥手操作;若所述测距传感器当前检测到在机器人的预设范围内存在物体的持续时间不在预设值范围内,或者所述测距传感器当前检测到在机器人的预设范围内存在物体到所述测距传感器下一次检测到在机器人的预设范围内存在物体的时间间隔大于阈值时,停止所述挥手手势识别操作;After the wave gesture recognition operation is initiated, if the ranging sensor currently detects that the duration of the object within the preset range of the robot is within a preset value range, recording is a one-shot operation; if the ranging sensor is currently Detecting that the duration of the object exists within the preset range of the robot is not within a preset value range, or the ranging sensor currently detects that an object exists within the preset range of the robot to the next time the ranging sensor is detected Stopping the waving gesture recognition operation when the time interval of the object exists in the preset range of the robot is greater than a threshold;
    在停止所述挥手手势识别操作时,根据记录的所述挥手操作次数和预设的映射表对机器人执行对应的操作;其中,所述映射表记录挥手操作次数和执行操作的对应关系。When the waving gesture recognition operation is stopped, a corresponding operation is performed on the robot according to the recorded number of the wave operation and the preset mapping table; wherein the mapping table records the correspondence between the number of wave operations and the execution operation.
  2. 如权利要求1所述的基于手势识别的机器人控制方法,其特征在于,当通过测距传感器检测到在机器人的预设范围内存在物体而启动挥手手势识别操作时,还包括步骤:The gesture recognition-based robot control method according to claim 1, wherein when the range sensor detects that an object exists within a preset range of the robot and initiates a wave gesture recognition operation, the method further includes the steps of:
    通过控制机器人发光和/或发声来提示用户进行挥手操作。The user is prompted to perform a wave operation by controlling the robot to illuminate and/or vocalize.
  3. 如权利要求1所述基于手势识别的机器人控制方法,其特征在于,所述预设范围为50cm~120cm。The gesture recognition-based robot control method according to claim 1, wherein the preset range is 50 cm to 120 cm.
  4. 如权利要求1所述基于手势识别的机器人控制方法,其特征在于,所述测距传感器为激光测距传感器、超声波测距传感器、TOF测距传感器或红外测距传感器。The gesture recognition-based robot control method according to claim 1, wherein the ranging sensor is a laser ranging sensor, an ultrasonic ranging sensor, a TOF ranging sensor, or an infrared ranging sensor.
  5. 如权利要求1所述基于手势识别的机器人控制方法,其特征在于,在启动挥手手势识别操作后,通过以下方法判断所述测距传感器当前检测到在机器人的预设范围内存在物体到所述测距传感器下一次检测到在机器人的预设范围内存在物体的时间间隔大于阈值:The gesture recognition-based robot control method according to claim 1, wherein after the triggering gesture recognition operation is started, it is determined that the ranging sensor currently detects that an object exists in the preset range of the robot to the The next time the ranging sensor detects that there is an object within the preset range of the robot, the time interval is greater than the threshold:
    在启动挥手手势识别操作后,当所述测距传感器首次检测到在机器人的预设范围内存在物体时,发出第一控制信号以启动第一计时器开始计时;After the wave gesture recognition operation is started, when the ranging sensor detects for the first time that an object exists in the preset range of the robot, the first control signal is sent to start the first timer to start timing;
    在启动挥手手势识别操作后,当所述测距传感器除首次外的每一次检测到在机器人的预设范围内存在物体时,均发出第二控制信号以控制所述第一计时器重新计时; After the wave gesture recognition operation is started, when the ranging sensor detects that there is an object in the preset range of the robot every time before the first time, the second control signal is sent to control the first timer to re-time;
    当所述第一计时器接收到所述第二控制信号时的计时时间大于阈值时,则判断所述测距传感器当前检测到在机器人的预设范围内存在物体到所述测距传感器下一次检测到在机器人的预设范围内存在物体的时间间隔大于阈值。When the timing time when the first timer receives the second control signal is greater than a threshold, determining that the ranging sensor currently detects that an object exists in the preset range of the robot to the ranging sensor next time It is detected that the time interval in which the object exists within the preset range of the robot is greater than the threshold.
  6. 如权利要求1所述基于手势识别的机器人控制方法,其特征在于,在启动挥手手势识别操作后,通过以下方法判断所述测距传感器当前检测到在机器人的预设范围内存在物体的持续时间是否在预设值范围内:The gesture recognition-based robot control method according to claim 1, wherein after the wave gesture recognition operation is started, it is determined by the following method that the ranging sensor currently detects the duration of the object existing in the preset range of the robot. Whether it is within the preset range:
    在启动挥手手势识别操作后,当所述测距传感器瞬间检测到在机器人的预设范围内存在物体时,发出第三控制信号以启动第二计时器开始计时;After the wave gesture recognition operation is initiated, when the ranging sensor instantaneously detects that an object exists within the preset range of the robot, a third control signal is issued to start the second timer to start timing;
    在启动第二计时器开始计时后,当所述测距传感器瞬间没有检测到在机器人的预设范围内存在物体时,发出第四控制信号以停止所述第二计时器计时;After starting the second timer to start timing, when the ranging sensor does not detect that an object exists within the preset range of the robot, the fourth control signal is issued to stop the second timer timing;
    当所述第二计时器接收到所述第四控制信号时的计时时间落入所述预设值范围内,则判断所述测距传感器当前检测到在机器人的预设范围内存在物体的持续时间在预设值范围内;否则判断所述测距传感器当前检测到在机器人的预设范围内存在物体的持续时间不在预设值范围内。When the timing time when the second timer receives the fourth control signal falls within the preset value range, determining that the ranging sensor currently detects the presence of an object within a preset range of the robot The time is within the preset value range; otherwise, it is judged that the ranging sensor currently detects that the duration of the object existing in the preset range of the robot is not within the preset value range.
  7. 如权利要求1所述基于手势识别的机器人控制方法,其特征在于,所述预设值范围大于所述阈值。The gesture recognition based robot control method according to claim 1, wherein the preset value range is greater than the threshold.
  8. 如权利要求1所述基于手势识别的机器人控制方法,其特征在于,所述测距传感器位于所述机器人顶部。A gesture recognition based robot control method according to claim 1, wherein said ranging sensor is located at the top of said robot.
  9. 如权利要求1所述基于手势识别的机器人控制方法,其特征在于,对机器人执行对应的所述操作包括开始工作或停止工作。The gesture recognition-based robot control method according to claim 1, wherein the performing the corresponding operation on the robot comprises starting a work or stopping the work.
  10. 如权利要求1所述基于手势识别的机器人控制方法,其特征在于,通过一计时指令、控制指令或开关指令来启动/停止所述挥手手势识别操作。The gesture recognition-based robot control method according to claim 1, wherein the waving gesture recognition operation is started/stopped by a timing command, a control command, or a switch command.
  11. 一种基于手势识别的机器人控制装置,其特征在于,包括:A robot control device based on gesture recognition, comprising:
    挥手手势识别操作启动模块,用于当通过测距传感器检测到在机器人的预设范围内存在物体时,则启动挥手手势识别操作; a waving gesture recognition operation starting module, configured to initiate a waving gesture recognition operation when detecting that an object exists within a preset range of the robot by the ranging sensor;
    挥手操作判断模块,用于在启动挥手手势识别操作后,若所述测距传感器当前检测到在机器人的预设范围内存在物体的持续时间在预设值范围内,则记录为一次挥手操作;若所述测距传感器当前检测到在机器人的预设范围内存在物体的持续时间不在预设值范围内,或者所述测距传感器当前检测到在机器人的预设范围内存在物体到所述测距传感器下一次检测到在机器人的预设范围内存在物体的时间间隔大于阈值时,停止所述挥手手势识别操作;a wave operation judgment module, configured to record a wave operation if the distance sensor currently detects that the duration of the object within the preset range of the robot is within a preset value range after the wave gesture recognition operation is initiated; If the ranging sensor currently detects that the duration of the object existing in the preset range of the robot is not within the preset value range, or the ranging sensor currently detects that an object exists in the preset range of the robot to the measurement Stopping the waving gesture recognition operation when the distance sensor detects that the time interval of the object existing in the preset range of the robot is greater than the threshold value;
    执行模块,用于在停止所述挥手手势识别操作时,根据记录的所述挥手操作次数和预设的映射表对机器人执行对应的操作;其中,所述映射表记录挥手操作次数和执行操作的对应关系。An execution module, configured to perform a corresponding operation on the robot according to the recorded number of wave operations and a preset mapping table when the waving gesture recognition operation is stopped; wherein the mapping table records the number of wave operations and the operation Correspondence relationship.
  12. 如权利要求11所述的基于手势识别的机器人控制装置,其特征在于,所述挥手手势识别操作启动模块还用于:当通过测距传感器检测到在机器人的预设范围内存在物体而启动挥手手势识别操作时,通过控制机器人发光和/或发声来提示用户进行挥手操作。The gesture recognition-based robot control apparatus according to claim 11, wherein the waving gesture recognition operation starting module is further configured to: when the distance measuring sensor detects that an object exists in a preset range of the robot, start waving In the gesture recognition operation, the user is prompted to perform a wave operation by controlling the robot to emit light and/or sound.
  13. 如权利要求11所述基于手势识别的机器人控制装置,其特征在于,所述预设范围为50cm~120cm。A gesture recognition-based robot control apparatus according to claim 11, wherein said preset range is 50 cm to 120 cm.
  14. 如权利要求11所述基于手势识别的机器人控制装置,其特征在于,所述测距传感器为激光测距传感器、超声波测距传感器、TOF测距传感器或红外测距传感器。The gesture recognition-based robot control device according to claim 11, wherein the ranging sensor is a laser ranging sensor, an ultrasonic ranging sensor, a TOF ranging sensor, or an infrared ranging sensor.
  15. 如权利要求11所述基于手势识别的机器人控制装置,其特征在于,所述挥手操作判断模块包括:The gesture recognition-based robot control apparatus according to claim 11, wherein the wave operation determination module comprises:
    第一控制信号生成单元,用于在启动挥手手势识别操作后,当所述测距传感器首次检测到在机器人的预设范围内存在物体时,发出第一控制信号以启动第一计时器开始计时;a first control signal generating unit, configured to: after the triggering gesture recognition operation is started, when the ranging sensor detects that an object exists within a preset range of the robot for the first time, issue a first control signal to start the first timer to start timing ;
    第二控制信号生成单元,用于在启动挥手手势识别操作后,当所述测距传感器除首次外的每一次检测到在机器人的预设范围内存在物体时,均发出第二控制信号以控制所述第一计时器重新计时;a second control signal generating unit, configured to send a second control signal to control each time the ranging sensor detects an object within a preset range of the robot, except for the first time after the wave gesture recognition operation is initiated. The first timer is retimed;
    第一判断单元,当所述第一计时器接收到所述第二控制信号时的计时时间大于阈值时,则判断所述测距传感器当前检测到在机器人的预设范围内存在物体到所述测距传感器下一次检测到在机器人的预设范围内存在物体的时间间隔大于阈值。a first determining unit, when the time when the first timer receives the second control signal is greater than a threshold, determining that the ranging sensor currently detects that an object exists in the preset range of the robot to the The next time the ranging sensor detects that there is an object within the preset range of the robot, the time interval is greater than the threshold.
  16. 如权利要求11所述基于手势识别的机器人控制装置,其特征在于,所述挥手操作判断模块进一步包括: The gesture recognition-based robot control apparatus according to claim 11, wherein the wave operation determination module further comprises:
    第三控制信号生成单元,用于在启动挥手手势识别操作后,当所述测距传感器瞬间检测到在机器人的预设范围内存在物体时,发出第三控制信号以启动第二计时器开始计时;a third control signal generating unit, configured to: after the triggering gesture recognition operation is started, when the ranging sensor detects that an object exists within a preset range of the robot, issue a third control signal to start the second timer to start timing ;
    第四控制信号生成单元,用于在启动第二计时器开始计时后,当所述测距传感器瞬间没有检测到在机器人的预设范围内存在物体时,发出第四控制信号以停止所述第二计时器计时;a fourth control signal generating unit, configured to: after the start of the second timer starts timing, when the ranging sensor does not detect that an object exists in the preset range of the robot, the fourth control signal is sent to stop the first Two timers;
    第二判断单元,用于当所述第二计时器接收到所述第四控制信号时的计时时间落入所述预设值范围内,则判断所述测距传感器当前检测到在机器人的预设范围内存在物体的持续时间在预设值范围内;否则判断所述测距传感器当前检测到在机器人的预设范围内存在物体的持续时间不在预设值范围内。a second determining unit, configured to: when the timing time when the second timer receives the fourth control signal falls within the preset value range, determine that the ranging sensor currently detects a pre-mouse in the robot It is assumed that the duration of the object exists within the preset value range; otherwise, it is determined that the ranging sensor currently detects that the duration of the object exists within the preset range of the robot is not within the preset value range.
  17. 如权利要求11所述基于手势识别的机器人控制装置,其特征在于,所述预设值范围大于所述阈值。The gesture recognition-based robot control apparatus according to claim 11, wherein the preset value range is greater than the threshold.
  18. 如权利要求11所述基于手势识别的机器人控制装置,其特征在于,所述测距传感器位于所述机器人顶部。A gesture recognition based robot control apparatus according to claim 11, wherein said ranging sensor is located at the top of said robot.
  19. 如权利要求11所述基于手势识别的机器人控制装置,其特征在于,对机器人执行对应的所述操作包括开始工作或停止工作。The gesture recognition-based robot control apparatus according to claim 11, wherein the performing the corresponding operation on the robot comprises starting a work or stopping the work.
  20. 如权利要求11所述基于手势识别的机器人控制装置,其特征在于,所述挥手操作判断模块通过发出一计时指令、控制指令或开关指令来启动/停止所述挥手手势识别操作。The gesture recognition-based robot control apparatus according to claim 11, wherein said waving operation judgment module starts/stops said waving gesture recognition operation by issuing a timing command, a control command, or a switch command.
  21. 一种基于手势识别的机器人控制方法,其特征在于,包括步骤:A robot control method based on gesture recognition, comprising the steps of:
    当通过摄像头识别到在机器人的拍摄范围内存在物体时,则启动挥手手势识别操作;When it is recognized by the camera that there is an object within the shooting range of the robot, the waving gesture recognition operation is initiated;
    在启动挥手手势识别操作后,若所述摄像头当前识别到在机器人的拍摄范围内存在物体的持续时间在预设值范围内,则记录为一次挥手操作;若所述摄像头当前识别到在机器人的拍摄范围内存在物体的持续时间不在预设值范围内,或者所述摄像头当前识别到在机器人的拍摄范围内存在物体到所述摄像头下一次识别到在机器人的拍摄范围内存在物体的时间间隔大于阈值时,停止所述挥手手势识别操作;After the wave gesture recognition operation is initiated, if the camera currently recognizes that the duration of the object within the shooting range of the robot is within a preset value range, recording is a one-shot operation; if the camera is currently recognized in the robot The duration of the object within the shooting range is not within the preset value range, or the camera currently recognizes that there is an object within the shooting range of the robot until the next time the camera recognizes that the object exists within the shooting range of the robot is greater than At the threshold, the waving gesture recognition operation is stopped;
    在停止所述挥手手势识别操作时,根据记录的所述挥手操作次数和预设的映射表对机器人执行对应的操作;其中,所述映射表记录挥手操作次数和执行操作的对应关系。 When the waving gesture recognition operation is stopped, a corresponding operation is performed on the robot according to the recorded number of the wave operation and the preset mapping table; wherein the mapping table records the correspondence between the number of wave operations and the execution operation.
  22. 如权利要求1所述的基于手势识别的机器人控制方法,其特征在于,当通过摄像头识别到在机器人的拍摄范围内存在物体而启动挥手手势识别操作时,还包括步骤:The gesture recognition-based robot control method according to claim 1, wherein when the gesture of recognizing the presence of an object within the shooting range of the robot by the camera is initiated, the method further comprises the steps of:
    通过控制机器人发光和/或发声来提示用户进行挥手操作。The user is prompted to perform a wave operation by controlling the robot to illuminate and/or vocalize.
  23. 如权利要求21所述基于手势识别的机器人控制方法,其特征在于,在启动挥手手势识别操作后,通过以下方法判断所述摄像头当前识别到在机器人的拍摄范围内存在物体与所述摄像头下一次识别到在机器人的拍摄范围内存在物体的时间间隔大于阈值:The gesture recognition-based robot control method according to claim 21, wherein after the wave gesture recognition operation is activated, it is determined by the following method that the camera currently recognizes that an object exists in the shooting range of the robot and the camera next time It is recognized that the time interval between objects in the shooting range of the robot is greater than the threshold:
    基于所述摄像头的拍摄频率,通过判断所述摄像头识别到在机器人的拍摄范围内从有到无存在物体瞬间,到所述摄像头识别到在机器人的拍摄范围内从无到有存在物体瞬间所经过的帧数来计算得到时间间隔;Based on the photographing frequency of the camera, by judging that the camera recognizes an instant from the presence or absence of an object in the shooting range of the robot, the camera recognizes that the object is present from nothing in the shooting range of the robot. The number of frames to calculate the time interval;
    当所述时间间隔大于阈值时,则判断所述摄像头当前识别到在机器人的拍摄范围内存在物体到所述摄像头下一次识别到在机器人的拍摄范围内存在物体的时间间隔大于阈值。When the time interval is greater than the threshold, it is determined that the camera currently recognizes that the time interval between the object in the shooting range of the robot and the next time the camera recognizes that the object exists in the shooting range of the robot is greater than a threshold.
  24. 如权利要求21所述基于手势识别的机器人控制方法,其特征在于,在启动挥手手势识别操作后,通过以下方法判断所述摄像头当前识别到在机器人的拍摄范围内存在物体的持续时间是否在预设值范围内:The gesture recognition-based robot control method according to claim 21, wherein after the wave gesture recognition operation is activated, it is determined by the following method whether the duration of the object existing in the shooting range of the robot is currently recognized by the camera. Within the set value range:
    基于所述摄像头的拍摄频率,通过判断所述摄像头识别到在机器人的预设范围内从无到有存在物体瞬间,到所述摄像头识别到在机器人的预设范围内从有到无存在物体瞬间所经过的帧数来计算得到持续时间;Based on the shooting frequency of the camera, by determining that the camera recognizes that there is an instant of existence of the object within the preset range of the robot, the camera recognizes that there is an instant from the presence or absence of the object within the preset range of the robot. The number of frames passed to calculate the duration;
    当所述持续时间落入所述预设值范围内,则判断所述测距传感器当前检测到在机器人的预设范围内存在物体的持续时间在预设值范围内;否则判断所述测距传感器当前检测到在机器人的预设范围内存在物体的持续时间不在预设值范围内。When the duration falls within the preset value range, determining that the ranging sensor currently detects that the duration of the object exists within the preset range of the robot is within a preset value range; otherwise determining the ranging The sensor currently detects that the duration of the object within the preset range of the robot is not within the preset range.
  25. 如权利要求21所述基于手势识别的机器人控制方法,其特征在于,可通过以下方式识别摄像头的拍摄范围内是否存在物体:The gesture recognition-based robot control method according to claim 21, wherein the object is recognized in the shooting range of the camera by:
    当机器人处于停止状态,摄像头根据预设频率拍照,将摄像头连续拍摄的前后两张照片进行对比,如果前后两张照片的匹配度大于设定值,识别为在机器人的拍摄范围内不存在物体;如果前后两张照片的匹配度小于设定值,识别为在机器人的拍摄范围内存在物体;When the robot is in a stopped state, the camera takes a picture according to the preset frequency, and compares the two photos before and after the camera is continuously shot. If the matching degree of the two photos before and after is greater than the set value, it is recognized that there is no object in the shooting range of the robot; If the matching degree of the two photos before and after is less than the set value, it is recognized that there is an object in the shooting range of the robot;
    当机器人处于运动状态,摄像头根据预设频率拍照,将摄像头连续拍摄的前后两张照片进行对比, 如果前后拍摄两张照片只有微小的平移区别,则识别为在机器人的拍摄范围内不存在物体;如果前后两张不光有平移差异,而且还有有无物体的瞬间差异,则识别为在机器人的拍摄范围内存在物体。When the robot is in motion, the camera takes a picture according to the preset frequency, and compares the two photos before and after the camera is continuously shot. If the two photos are only slightly different between the two shots, it is recognized that there is no object in the shooting range of the robot; if there are no translation differences between the two front and back, and there is an instantaneous difference between the objects, it is recognized as There is an object in the shooting range.
  26. 如权利要求25所述基于手势识别的机器人控制方法,其特征在于,所述摄像头的拍摄频率为10~50帧/秒。The gesture recognition-based robot control method according to claim 25, wherein the camera has a shooting frequency of 10 to 50 frames/second.
  27. 如权利要求21所述基于手势识别的机器人控制方法,其特征在于,所述预设值范围大于所述阈值。The gesture recognition-based robot control method according to claim 21, wherein the preset value range is greater than the threshold.
  28. 如权利要求21所述基于手势识别的机器人控制方法,其特征在于,所述摄像头位于所述机器人顶部。A gesture recognition based robot control method according to claim 21, wherein said camera is located at the top of said robot.
  29. 如权利要求21所述基于手势识别的机器人控制方法,其特征在于,对机器人执行对应的所述操作包括开始工作或停止工作。The gesture recognition-based robot control method according to claim 21, wherein the performing the corresponding operation on the robot comprises starting a work or stopping the work.
  30. 如权利要求21所述基于手势识别的机器人控制方法,其特征在于,通过一计时指令、控制指令或开关指令来启动/停止所述挥手手势识别操作。A gesture recognition-based robot control method according to claim 21, wherein said waving gesture recognition operation is started/stopped by a timing command, a control command or a switch command.
  31. 一种基于手势识别的机器人控制装置,其特征在于,包括:A robot control device based on gesture recognition, comprising:
    挥手手势识别操作启动模块,用于当通过摄像头识别到在机器人的拍摄范围内存在物体时,则启动挥手手势识别操作;a waving gesture recognition operation starting module, configured to activate a waving gesture recognition operation when it is recognized by the camera that an object exists within a shooting range of the robot;
    挥手操作判断模块,用于在启动挥手手势识别操作后,若所述摄像头当前识别到在机器人的拍摄范围内存在物体的持续时间在预设值范围内,则记录为一次挥手操作;若所述摄像头当前识别到在机器人的拍摄范围内存在物体的持续时间不在预设值范围内,或者所述摄像头当前识别到在机器人的拍摄范围内存在物体到所述摄像头下一次识别到在机器人的拍摄范围内存在物体的时间间隔大于阈值时,停止所述挥手手势识别操作;a wave operation judgment module, configured to record a wave operation if the camera currently recognizes that the duration of the object within the shooting range of the robot is within a preset value range after the wave gesture recognition operation is initiated; The camera currently recognizes that the duration of the object within the shooting range of the robot is not within the preset value range, or the camera currently recognizes that an object exists within the shooting range of the robot until the camera next recognizes the shooting range of the robot Stopping the waving gesture recognition operation when the time interval of the object in the object is greater than a threshold;
    执行模块,用于在停止所述挥手手势识别操作时,根据记录的所述挥手操作次数和预设的映射表对机器人执行对应的操作;其中,所述映射表记录挥手操作次数和执行操作的对应关系。An execution module, configured to perform a corresponding operation on the robot according to the recorded number of wave operations and a preset mapping table when the waving gesture recognition operation is stopped; wherein the mapping table records the number of wave operations and the operation Correspondence relationship.
  32. 如权利要求31所述的基于手势识别的机器人控制装置,其特征在于,所述挥手手势识别操 作启动模块还用于:当通过摄像头识别到在机器人的拍摄范围内存在物体而启动挥手手势识别操作时,通过控制机器人发光和/或发声来提示用户进行挥手操作。A gesture recognition-based robot control apparatus according to claim 31, wherein said waving gesture recognition operation The startup module is further configured to prompt the user to perform a wave operation by controlling the robot to emit light and/or vocalize when the gesture of recognizing the presence of an object within the shooting range of the robot is detected by the camera.
  33. 如权利要求31所述基于手势识别的机器人控制装置,其特征在于,所述挥手操作判断模块包括:The gesture recognition-based robot control apparatus according to claim 31, wherein the wave operation determination module comprises:
    第一帧数计数单元,基于所述摄像头的拍摄频率,通过判断所述摄像头识别到在机器人的拍摄范围内从有到无存在物体,到所述摄像头识别到在机器人的拍摄范围内从无到有存在物体所经过的帧数来计算得到时间间隔;a first frame number counting unit, based on the shooting frequency of the camera, by determining that the camera recognizes that there is no object in the shooting range of the robot, and the camera recognizes that the camera is within the shooting range of the robot Calculate the time interval by the number of frames through which the object exists;
    第一判断单元,用于当所述时间间隔大于阈值时,则判断所述摄像头当前识别到在机器人的拍摄范围内存在物体到所述摄像头下一次识别到在机器人的拍摄范围内存在物体的时间间隔大于阈值。a first determining unit, configured to: when the time interval is greater than a threshold, determine that the camera currently recognizes that an object exists in the shooting range of the robot until the camera next recognizes that an object exists in the shooting range of the robot The interval is greater than the threshold.
  34. 如权利要求31所述基于手势识别的机器人控制装置,其特征在于,所述挥手操作判断模块进一步包括:The gesture recognition-based robot control apparatus according to claim 31, wherein the wave operation determination module further comprises:
    第二帧数计数单元,基于所述摄像头的拍摄频率,通过判断所述摄像头识别到在机器人的拍摄范围内从无到有存在物体,到所述摄像头识别到在机器人的拍摄范围内从有到无存在物体所经过的帧数来计算得到持续时间;a second frame number counting unit, based on the photographing frequency of the camera, by determining that the camera recognizes that there is an existing object in the shooting range of the robot, and the camera recognizes that the camera is within the shooting range of the robot Calculate the duration without the number of frames passed by the existing object;
    第二判断单元,当所述持续时间落入所述预设值范围内,则判断所述测距传感器当前检测到在机器人的拍摄范围内存在物体的持续时间在预设值范围内;否则判断所述测距传感器当前检测到在机器人的拍摄范围内存在物体的持续时间不在预设值范围内。a second determining unit, when the duration falls within the preset value range, determining that the ranging sensor currently detects that the duration of the object existing in the shooting range of the robot is within a preset value range; otherwise, determining The ranging sensor currently detects that the duration of the object within the shooting range of the robot is not within a preset value range.
  35. 如权利要求31所述基于手势识别的机器人控制装置,其特征在于,所述挥手手势识别操作启动模块通过以下方式识别摄像头的拍摄范围内是否存在物体:The gesture recognition-based robot control apparatus according to claim 31, wherein the waving gesture recognition operation starting module identifies whether an object exists in a shooting range of the camera by:
    当机器人处于停止状态,摄像头根据预设频率拍照,将摄像头连续拍摄的前后两张照片进行对比,如果前后两张照片的匹配度大于设定值,识别为在机器人的拍摄范围内不存在物体;如果前后两张照片的匹配度小于设定值,识别为在机器人的拍摄范围内存在物体;When the robot is in a stopped state, the camera takes a picture according to the preset frequency, and compares the two photos before and after the camera is continuously shot. If the matching degree of the two photos before and after is greater than the set value, it is recognized that there is no object in the shooting range of the robot; If the matching degree of the two photos before and after is less than the set value, it is recognized that there is an object in the shooting range of the robot;
    当机器人处于运动状态,摄像头根据预设频率拍照,将摄像头连续拍摄的前后两张照片进行对比,如果前后拍摄两张照片只有微小的平移区别,则识别为在机器人的拍摄范围内不存在物体;如果前后两张不光有平移差异,而且还有有无物体的瞬间差异,则识别为在机器人的拍摄范围内存在物体。When the robot is in motion, the camera takes a picture according to the preset frequency, and compares the two photos before and after the continuous shooting of the camera. If the two photos are only slightly different from each other, it is recognized that there is no object in the shooting range of the robot; If there are not only translational differences between the two front and back, but also there is an instantaneous difference between the objects, it is recognized that there is an object in the shooting range of the robot.
  36. 如权利要求35所述基于手势识别的机器人控制装置,其特征在于,所述摄像头的拍摄频率 为10~50帧/秒。A gesture recognition-based robot control apparatus according to claim 35, wherein said camera shooting frequency It is 10 to 50 frames/second.
  37. 如权利要求31所述基于手势识别的机器人控制装置,其特征在于,所述预设值范围大于所述阈值。The gesture recognition-based robot control apparatus according to claim 31, wherein said preset value range is greater than said threshold value.
  38. 如权利要求31所述基于手势识别的机器人控制装置,其特征在于,所述摄像头位于所述机器人顶部。A gesture recognition based robot control apparatus according to claim 31, wherein said camera is located at the top of said robot.
  39. 如权利要求31所述基于手势识别的机器人控制装置,其特征在于,对机器人执行对应的所述操作包括开始工作或停止工作。A gesture recognition-based robot control apparatus according to claim 31, wherein performing the corresponding operation on the robot includes starting work or stopping work.
  40. 如权利要求31所述基于手势识别的机器人控制装置,其特征在于,所述挥手操作判断模块通过发出一计时指令、控制指令或开关指令来启动/停止所述挥手手势识别操作。The gesture recognition-based robot control apparatus according to claim 31, wherein said waving operation judgment module starts/stops said waving gesture recognition operation by issuing a timing command, a control command, or a switch command.
  41. 一种机器人,其特征在于,包括如权利要求11~20、权利要求31~40中任一项所述的基于手势识别的机器人控制装置。 A robot comprising the gesture recognition-based robot control device according to any one of claims 11 to 20 and 31 to 40.
PCT/CN2017/074019 2017-02-18 2017-02-18 Robot control method and device based on gesture recognition, and robot WO2018148951A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2017/074019 WO2018148951A1 (en) 2017-02-18 2017-02-18 Robot control method and device based on gesture recognition, and robot
CN201780017026.9A CN109313485B (en) 2017-02-18 2017-02-18 Robot control method, device and robot based on gesture identification

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/074019 WO2018148951A1 (en) 2017-02-18 2017-02-18 Robot control method and device based on gesture recognition, and robot

Publications (1)

Publication Number Publication Date
WO2018148951A1 true WO2018148951A1 (en) 2018-08-23

Family

ID=63170497

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/074019 WO2018148951A1 (en) 2017-02-18 2017-02-18 Robot control method and device based on gesture recognition, and robot

Country Status (2)

Country Link
CN (1) CN109313485B (en)
WO (1) WO2018148951A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109379552A (en) * 2018-11-09 2019-02-22 维沃移动通信有限公司 A kind of content display method and terminal device
WO2021000686A1 (en) * 2019-07-01 2021-01-07 京东方科技集团股份有限公司 Gesture control method, gesture-controlled device and storage medium
US11599199B2 (en) 2019-11-28 2023-03-07 Boe Technology Group Co., Ltd. Gesture recognition apparatus, gesture recognition method, computer device and storage medium
CN115933887A (en) * 2023-01-05 2023-04-07 珠海凌烟阁芯片科技有限公司 Gesture recognition method, device and equipment based on single-point TOF

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110434853B (en) * 2019-08-05 2021-05-14 北京云迹科技有限公司 Robot control method, device and storage medium
CN112216081B (en) * 2020-08-28 2022-01-28 深圳乐读派科技有限公司 Wireless control equipment control method and related device
CN113268003A (en) * 2021-04-14 2021-08-17 广州立功科技股份有限公司 Gesture recognition system and method based on one-dimensional TOF sensor and intelligent household equipment
CN114571490B (en) * 2022-01-24 2024-07-26 深圳银星智能集团股份有限公司 Robot system, control method for robot system, and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102012740A (en) * 2010-11-15 2011-04-13 中国科学院深圳先进技术研究院 Man-machine interaction method and system
CN103019530A (en) * 2013-01-04 2013-04-03 深圳市中兴移动通信有限公司 Menu indexing method and device based on gesture recognition and terminal thereof
CN106181958A (en) * 2016-08-23 2016-12-07 深圳技师学院 The interactive intelligent household service robot controlled based on gesture

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9131381B1 (en) * 2012-10-26 2015-09-08 Facebook, Inc. Mobile device auto wipe
CN103458288A (en) * 2013-09-02 2013-12-18 湖南华凯创意展览服务有限公司 Gesture sensing method, gesture sensing device and audio/video playing system
US20160148558A1 (en) * 2014-11-26 2016-05-26 Fos Labs, Inc. Personal display systems
WO2016177325A1 (en) * 2015-05-04 2016-11-10 上汽通用汽车有限公司 Unlocking method and system for vehicle engine hood
CN205536035U (en) * 2016-03-03 2016-08-31 中山百得厨卫有限公司 Range hood of response gesture
CN105787471B (en) * 2016-03-25 2019-05-03 南京邮电大学 It is a kind of applied to help the elderly help the disabled Information Mobile Service robot control gesture identification method
CN106125928A (en) * 2016-06-24 2016-11-16 同济大学 PPT based on Kinect demonstrates aid system
CN106250038A (en) * 2016-07-29 2016-12-21 珠海市魅族科技有限公司 The implementation method of a kind of human-computer interaction interface and mobile terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102012740A (en) * 2010-11-15 2011-04-13 中国科学院深圳先进技术研究院 Man-machine interaction method and system
CN103019530A (en) * 2013-01-04 2013-04-03 深圳市中兴移动通信有限公司 Menu indexing method and device based on gesture recognition and terminal thereof
CN106181958A (en) * 2016-08-23 2016-12-07 深圳技师学院 The interactive intelligent household service robot controlled based on gesture

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109379552A (en) * 2018-11-09 2019-02-22 维沃移动通信有限公司 A kind of content display method and terminal device
WO2021000686A1 (en) * 2019-07-01 2021-01-07 京东方科技集团股份有限公司 Gesture control method, gesture-controlled device and storage medium
US11609638B2 (en) 2019-07-01 2023-03-21 Boe Technology Group Co., Ltd. Recognizing and tracking gestures
US11599199B2 (en) 2019-11-28 2023-03-07 Boe Technology Group Co., Ltd. Gesture recognition apparatus, gesture recognition method, computer device and storage medium
CN115933887A (en) * 2023-01-05 2023-04-07 珠海凌烟阁芯片科技有限公司 Gesture recognition method, device and equipment based on single-point TOF
CN115933887B (en) * 2023-01-05 2024-07-19 珠海凌烟阁芯片科技有限公司 Gesture recognition method, device and equipment based on single-point TOF

Also Published As

Publication number Publication date
CN109313485A (en) 2019-02-05
CN109313485B (en) 2019-10-11

Similar Documents

Publication Publication Date Title
WO2018148951A1 (en) Robot control method and device based on gesture recognition, and robot
US11373646B2 (en) Household appliance control method, device and system, and intelligent air conditioner by determining user sound source location based on analysis of mouth shape
US20160162039A1 (en) Method and system for touchless activation of a device
TW202036417A (en) Risk prevention and control method and device for face brush payment based on multi-view multi-face scene
WO2022110614A1 (en) Gesture recognition method and apparatus, electronic device, and storage medium
WO2014117647A1 (en) Non-contact gesture control method, and electronic terminal device
CN105094298B (en) Terminal and the gesture identification method based on the terminal
US20180357470A1 (en) Biometric ear identification
JP5264007B1 (en) controller
RU2011137460A (en) DEVICE FOR IMAGE CAPTURE AND METHOD FOR MANAGING THEM
CN104504868B (en) Device and method for monitoring bad habits of terminal device user
TWI677751B (en) Image capturing device and operation method thereof
CN103455137A (en) Displacement sensing method and displacement sensing device
CN105100452A (en) Method and device for controlling flashlight of intelligent device
CN105808022A (en) Projection key control method, projection key device and air conditioner
US20240211052A1 (en) Smart gesture interactive display apparatus with holographic effect
CN106598425A (en) Photographing method of smart mobile terminal
JPH1124694A (en) Instruction recognition device
EP3428779A1 (en) User-machine interaction method and system based on feedback signals
CN106791407A (en) A kind of self-timer control method and system
CN206373913U (en) A kind of Intelligent internet of things household safe service robot
TW201725897A (en) System and method of capturing image
JP6340651B2 (en) Golf practice support device
WO2021246089A1 (en) Gesture recognition device, system, and program for same
TW201917565A (en) Boot system and boot method applied to intelligent robot

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17897081

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17897081

Country of ref document: EP

Kind code of ref document: A1