WO2022127439A1 - Robot obstacle avoidance processing method and apparatus, device, and computer readable storage medium - Google Patents

Robot obstacle avoidance processing method and apparatus, device, and computer readable storage medium Download PDF

Info

Publication number
WO2022127439A1
WO2022127439A1 PCT/CN2021/129398 CN2021129398W WO2022127439A1 WO 2022127439 A1 WO2022127439 A1 WO 2022127439A1 CN 2021129398 W CN2021129398 W CN 2021129398W WO 2022127439 A1 WO2022127439 A1 WO 2022127439A1
Authority
WO
WIPO (PCT)
Prior art keywords
robot
obstacle
real person
prompt
human
Prior art date
Application number
PCT/CN2021/129398
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 深圳市普渡科技有限公司
Publication of WO2022127439A1 publication Critical patent/WO2022127439A1/en

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D1/00Control of position, course or altitude of land, water, air, or space vehicles, e.g. automatic pilot
    • G05D1/02Control of position or course in two dimensions
    • G05D1/021Control of position or course in two dimensions specially adapted to land vehicles
    • G05D1/0231Control of position or course in two dimensions specially adapted to land vehicles using optical position detecting means
    • G05D1/0246Control of position or course in two dimensions specially adapted to land vehicles using optical position detecting means using a video camera in combination with image processing means
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/242Query formulation
    • G06F16/2433Query languages
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/20Natural language analysis
    • G06F40/253Grammatical analysis; Style critique
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/30Semantic analysis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/40Extraction of image or video features
    • G06V10/46Descriptors for shape, contour or point-related descriptors, e.g. scale invariant feature transform [SIFT] or bags of words [BoW]; Salient regional features
    • G06V10/462Salient features, e.g. scale invariant feature transforms [SIFT]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/16Human faces, e.g. facial parts, sketches or expressions
    • G06V40/161Detection; Localisation; Normalisation
    • G06V40/165Detection; Localisation; Normalisation using facial parts and geometric relationships
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/16Human faces, e.g. facial parts, sketches or expressions
    • G06V40/168Feature extraction; Face representation
    • G06V40/171Local features and components; Facial parts ; Occluding parts, e.g. glasses; Geometrical relationships

Definitions

  • the present application relates to the field of artificial intelligence, and in particular, to a method, apparatus, device and computer-readable storage medium for handling a robot in trouble.
  • AI artificial intelligence
  • robot restaurants and smart warehouses are typical applications of AI technology in the field of people's death.
  • intelligent robots not only bring a sense of high-tech to users, but also bring users other experiences, such as dining pleasure, efficient handling, and so on.
  • the walking route of the robot may be blocked by real people or other objects.
  • the existing solution is to try to make the robot have adaptive ability, that is, to make the robot have the function of automatic obstacle avoidance, and change the preset walking route by itself when encountering obstacles such as real people, so as to avoid obstacles. Open obstacles.
  • a method for handling an obstacle of a robot including:
  • the obstacle on the current walking route is a real person, enable a preset first prompt mode to prompt the real person to avoid the robot;
  • a preset second prompt mode is enabled to prompt the staff in the scene to assist in removing the obstacle that is not a real person.
  • an obstacle handling device for a robot comprising:
  • the robot stops moving on the current walking route
  • a detection module for detecting whether the obstacles on the current walking route of the robot are real people
  • a first prompting module configured to enable a first prompting mode if the obstacle on the current walking route is a real person, so as to prompt the real person to avoid the robot;
  • the second prompting module is configured to enable a second prompting mode if the obstacle on the current walking route is not a real person, so as to prompt the staff in the scene to assist in removing the obstacle that is not a real person.
  • the present application provides a device, the device includes a memory and a processor, the memory stores a computer program, the computer program can be executed on the processor, and the processor executes the The computer program implements the steps of the technical solution of the above-mentioned method for handling an obstacle in a robot.
  • the present application provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the technical solution of the above-mentioned method for handling an obstacle in a robot are realized. .
  • FIG. 1 is a flowchart of a method for handling an obstacle in a robot provided by an embodiment of the present application
  • FIG. 2 is a schematic diagram of forming a syntax tree by splitting a SQL statement into corresponding statements, conditions, expressions, etc. by performing semantic analysis on SQL provided by an embodiment of the present application;
  • 3a is a schematic diagram of a robot provided by an embodiment of the present application adopting a ">"-type walking mode to avoid obstacles on the current walking route of the robot;
  • 3b is a schematic diagram of a robot provided by an embodiment of the present application adopting a " ⁇ " type walking mode to avoid obstacles on the current walking route of the robot;
  • FIG. 4 is a schematic structural diagram of a robot obstacle handling device provided by an embodiment of the present application.
  • FIG. 5 is a schematic structural diagram of a device provided by an embodiment of the present application.
  • the present application proposes a method for handling obstacles of a robot, which can be applied to a robot.
  • the robot can be a robot operating in a restaurant, such as a food delivery robot, or a medicine delivery robot operating in a medical place, such as a hospital, or It is a transfer robot that works in warehouses and other places, and so on.
  • the places where these robots work may have both adults (eg, adult patients in hospitals and other places) and minors such as young children (eg, toddlers, children, etc., eating in restaurants).
  • the method for handling an obstacle to a robot mainly includes steps S101 to S104, which are described in detail as follows:
  • Step S101 when it is detected that there is an obstacle on the current walking route of the robot, the robot is controlled to stop moving forward on the current walking route.
  • the so-called obstacle refers to the person or thing on the predetermined route of the mobile device, such as a robot, that hinders the mobile device from moving forward.
  • an optoelectronic method for example, a visual sensor, a laser radar, or an infrared thermal imaging device, etc., can be used to detect whether there is an obstacle on the current walking route of the robot. Once it is detected that there is an obstacle on the current walking route of the robot, the central processing unit in the robot sends a stop operation instruction to the driving unit, so that the robot stops moving forward on the current walking route.
  • Step S102 Detect whether the obstacles on the current walking route of the robot are real people.
  • the obstacles on the walking route of the robot are mainly divided into people or objects.
  • different obstacle removal schemes can be adopted for different obstacles. Therefore, when an obstacle is detected on the current walking route of the robot, it is also necessary to detect whether the obstacle on the current walking route of the robot is a real person.
  • a real person in this application, refers to a real person, a natural person.
  • the heat signal installed on the robot can be used.
  • the infrared sensor receives one or more heat signals from obstacles on the current walking route of the robot; if the wavelength of the heat signal is about 5 ⁇ 12um, it is determined that the obstacles on the current walking route of the robot are real people.
  • the above embodiment is based on the principle of thermal imaging to detect whether the obstacle on the current walking route of the robot is a real person.
  • whether the obstacle on the current walking route of the robot is a real person can be detected based on the principle of computer graphics. Specifically, In other words, it can be implemented through steps S201 to S205 as shown in FIG. 2, and the description is as follows:
  • Step S201 According to the image of the obstacle acquired by the image acquisition device, determine whether the obstacle on the current walking route of the robot is a humanoid.
  • the so-called "human-like” refers to a person or object with human physical characteristics. From the perspective of computer graphics, real people and objects similar to real people, such as mannequins, artificial robots, etc., all belong to human-like bodies. Therefore, when it is determined that the obstacle on the current walking route of the robot is not a humanoid, the obstacle cannot be a real person.
  • the image of the obstacle can be obtained through the image acquisition device integrated on the robot, such as a camera, and then the image of the obstacle is matched with the pre-stored human-like images in the database on geometric parameters such as shape and size to determine the current walking of the robot. Whether the obstacles on the route are humanoid.
  • Step S202 if the obstacle on the current walking route of the robot is a human body, collect the key feature point information in the human body-like face image for the human body-like face, wherein the key feature point information in the human body-like face image includes the key feature point information.
  • the plane position information of the feature point if the obstacle on the current walking route of the robot is a human body, collect the key feature point information in the human body-like face image for the human body-like face, wherein the key feature point information in the human body-like face image includes the key feature point information.
  • the plane position information of the feature point if the obstacle on the current walking route of the robot is a human body, collect the key feature point information in the human body-like face image for the human body-like face, wherein the key feature point information in the human body-like face image includes the key feature point information.
  • humanoids include real people and real-life-like objects. Therefore, when it is determined that the obstacle on the robot's current walking route is not a humanoid, the obstacle cannot be a real person; when it is determined that the obstacle on the robot's current walking route is a humanoid, it is necessary to further confirm whether the humanoid is a real human.
  • the fact is that the properties of real people and the properties of objects similar to real people still have essential differences in physiological and/or psychological sense. For example, real people can understand semantics, so they can actively avoid robots when they hear the prompt voice issued by robots, but Humanoids, such as mannequins, cannot understand the semantics and thus cannot avoid it.
  • different image acquisition devices may be used to target the human-like face from different positions at the same time. At least two images are collected, and then the at least two human-like face images are corrected so that the at least two human-like face images are consistent in the horizontal direction. After acquiring at least two human-like face images in the same horizontal direction, perform key feature point detection on each human-like face image respectively, and determine several key feature point information in each human-like face image.
  • the key feature points include 65 to 106 key points including the tip of the nose, the lower eyelid point of the left eye, the lower eyelid point of the right eye, the corner of the left mouth, and the corner of the right mouth.
  • the plane position information and reliability of these key feature points in the human-like face image can be further determined, wherein the plane position information can be the key feature points in the The two-dimensional coordinates in the human-like face image, and the reliability is used to indicate the accuracy of the positioning of key feature points in the human-like face image.
  • Step S203 According to the plane position information of the key feature points in the human-like face image, obtain the three-dimensional position information of these key feature points.
  • the credibility indicates the accuracy of the key feature points in the human-like face image. Therefore, according to the credibility of each key feature point, the key features whose credibility is greater than a certain threshold can be selected. point to determine the three-dimensional position information of these key feature points, for example, the three-dimensional coordinates of the key feature points in the three-dimensional coordinate system. Specifically, the three-dimensional position information of each key feature point can be calculated according to the plane position information of each key feature point based on the similar triangle principle.
  • Step S204 obtaining a face fitting curved surface according to the three-dimensional position information of the key feature points.
  • a surface fitting algorithm such as the least squares method, can be used to fit the three-dimensional position information of these key feature points as a fitting factor to fit a surface, which is the face fitting surface .
  • Step S205 According to the distance between the key feature points in the human-like face image and the face fitting surface, determine whether the obstacle on the current walking route of the robot is a real person.
  • the depth information of the key feature points is not obvious, and the face fitting surface obtained by fitting is generally a smooth face surface, and the key feature points are connected to such a face fitting surface.
  • the distance is also small, approaching zero, and the depth information of the key feature points in the face image of a real person is obvious.
  • the fitted face fitting surface is generally not a smooth face surface, and the key feature points are like this The distance of the face fitting surface is also larger.
  • judging whether the obstacle on the current walking route of the robot is a real person may be: calculating the human-like face image The sum of the distances between the key feature points in the face image and the face fitting surface. If the sum of the distances is greater than the dynamic depth information threshold, it is determined that the humanoid is a real person. If the sum of the distances is not greater than the dynamic depth information threshold, Then it is determined that such a human body is not a real person.
  • the a priori depth distance threshold preset in the dynamic depth information threshold is determined in real time, and the credibility of each key feature point used to calculate the sum of the distance between the key feature point and the face fitting surface is determined. degree related.
  • Step S103 if the obstacle on the current walking route is a real person, the preset first prompt mode is activated to prompt the real person to avoid the robot.
  • the first prompting mode may be a prompting manner of voice prompting, image prompting or a combination of voice and image.
  • step S103 can be implemented through the following steps S1031 to S1033:
  • Step S1031 Determine whether the real person on the current walking route of the robot is a child.
  • the image of the real person on the current walking route of the robot can be collected through an image collection device integrated on the robot, such as a camera, etc., and then the collected image of the real person is compared with the image of the child preset in the database. Matching is carried out from the physical features to determine whether the real person on the current walking route of the robot is a young child. It is also possible to determine whether the real person on the robot's current walking route is a child by collecting the voice information of the real person on the robot's current walking route. For example, when the robot plays a voice to the real person, the real person may playfully say "I won't let go. "To respond to the robot, when the robot collects the voice information of "I will not let go", it can determine whether the real person on the robot's current walking route is a young child according to its voiceprint features.
  • Step S1032 if the real person is a young child, form a terrain feature animation of the surrounding environment of the young child, and prompt the young child to avoid the robot through the terrain feature animation combined with voice.
  • the environment around the young child can be formed into a terrain feature animation, and the young child can be prompted to avoid the robot through the terrain feature animation combined with voice.
  • forming a terrain feature animation of the surrounding environment of the child, and prompting the child to avoid the robot through the terrain feature animation combined with voice can be: by sensing the surrounding environment data of the child, determine the prompt information of the robot's current walking route; The animation processing model extracts the features of the prompt information of the robot's current walking route to form a terrain feature animation; projects the terrain feature animation on the target projection surface; uses the child's voice to explain the terrain feature animation projected on the target projection surface to Guide young children to avoid robots.
  • Step S1033 If the real person is not a child, prompt the real person who is not a child to avoid the robot through voice and the generated facial expression image.
  • the avoidance robot may be: displaying the generated expression image to express embarrassment on a display device with a preset exaggeration method, and cyclically playing the expression image to express embarrassment to the real person who is not a child at a fixed interval. facial expression images and prompt voices with actual semantics, requesting the real person who is not a child to avoid the robot.
  • Step S104 If the obstacle on the current walking route of the robot is not a real person, the second prompt mode is enabled to prompt the staff in the scene to assist in removing the obstacle that is not a real person.
  • the second prompt module may select an alert mode.
  • the aforementioned voice prompt mode and/or image prompt mode cannot take effect or the effect is not good (of course, when the voice prompt is played, the staff in the scene may also come to exclude the The obstacle of a real person, but there is still an effect difference from the active avoidance of a real person). Therefore, if the obstacles on the current walking route of the robot are not real people, the warning prompt mode is enabled to prompt the staff in the scene to assist in removing non-human obstacles. For example, after the warning prompt mode is enabled, the robot emits an audible and visual alarm to remind the staff in the scene that the robot encounters obstacles that are not real people, and needs him/her to assist in removing these non-human obstacles.
  • step S105 may also be included: after enabling the first prompt mode, or after enabling the second prompt mode, if the real person still does not avoid the obstacle of the robot or the non-human person, then upgrade the first prompt mode.
  • the prompting mode or the second prompting mode continues to prompt.
  • the prompting mode can be upgraded.
  • the real person after enabling the voice prompting mode and/or image prompting mode and repeating the voice prompting and/or image prompting to the real person for more than 3 times, the real person still does not avoid the robot and can enhance the voice Voice decibels and/or use more exaggerated methods when prompting, for example, playing angry facial expressions; or, after enabling the warning prompt mode, if the non-human obstacle has not been eliminated, increase the intensity of sound and light alarms, for example, Make a louder alarm sound, make the alarm light glow more intensely, or increase the flashing frequency of the alarm light, etc.
  • the real person still does not avoid the robot or the obstacle of the non-real person is still not eliminated, for example, the young children on the current walking route of the robot still cannot understand the voice prompts and/or image prompts, or , in a specific place such as a hospital, although adult patients on the robot's current walking route can understand the voice prompts and/or image prompts, they still cannot actively avoid the robot due to disease reasons, or, despite the upgraded warning prompt mode, out of order For various other reasons, the staff could not arrive in time to eliminate the obstacles that are not real people.
  • the detouring trajectory of the current walking route around the obstacle can be adjusted according to the size of the obstacle, and the robot can be controlled to travel on the adjusted walking route to avoid the obstacle.
  • the robot can be controlled Use the " ⁇ " or ">” walking method to avoid obstacles on the robot's current walking route.
  • the robot can first deviate a small angle to the right as shown by the dotted line, walk a distance from the right side of the obstacle, and then turn left (at this time, a ">"-type route is formed), and return to the preset
  • the robot can first deviate a small angle to the left, walk a distance from the left of the obstacle, and then turn right (at this time, a " ⁇ " type route), return to the preset walking route. Because whether the " ⁇ "-type walking method or the ">"-type walking method is adopted, the robot deviates from the predetermined route by a small angle, so the algorithm is not complicated, and there is no need for complex training of the robot. accomplish.
  • the first prompt mode or the second prompt mode may also be the first prompt mode or the second prompt mode, or after the upgrade of the first prompt mode or the second prompt mode reaches a preset time.
  • the detouring trajectory of the current walking route around the obstacle can be adjusted according to the size of the obstacle, and the robot is controlled to travel on the adjusted walking route to avoid the obstacle.
  • the voice prompt mode and/or the image prompt mode may be turned off after the real person avoids the robot, or the warning prompt mode may be turned off after the non-human obstacle is removed.
  • the voice prompt mode and/or image prompt mode are enabled to prompt the real person to avoid the robot, and when it is confirmed that the obstacle is not a real person, the warning prompt mode is enabled to prompt work Personnel assists in removing obstacles, because no matter it is voice prompts, image prompts, warning prompts or the upgrade of the three, there is no need to train the robot.
  • the application of the The cost of the technical solution is low; on the other hand, as long as the voice prompt mode, the image prompt mode, the warning prompt mode or the upgrade mode of the two are enabled, the purpose of removing obstacles can be achieved, and there is no need for robot training as in the prior art. The worry of not being able to achieve the expected results when it is in place.
  • FIG. 4 is an apparatus for handling an obstacle of a robot provided by an embodiment of the present application, which may include a stop operation module 401 , a detection module 402 , a first prompt module 403 , and a second prompt module 404 , and may further include
  • the third prompt module 405 is described in detail as follows:
  • the stop operation module 401 is used to control the robot to stop moving forward on the current walking route when it is detected that there is an obstacle on the current walking route of the robot;
  • the detection module 402 is used to detect whether the obstacle on the current walking route of the robot is a real person
  • the first prompting module 403 is configured to enable the first prompting mode if the obstacle on the current walking route of the robot is a real person, so as to prompt the real person to avoid the robot;
  • the second prompting module 404 is configured to enable the second prompting mode if the obstacle on the current walking route of the robot is not a real person, so as to prompt the staff in the scene to assist in removing the obstacle that is not a real person;
  • the third prompting module 405 is used for, after the first prompting module 403 enables the first prompting mode, or after the second prompting module 404 enables the second prompting mode, if the real person still does not avoid the obstacle of the robot or the non-human person, Then the upgrade prompt mode continues to prompt.
  • the detection module 402 in the example of FIG. 4 includes a first determination unit, a collection unit, a three-dimensional position information acquisition unit, a fitting unit and a judgment unit, wherein:
  • a first determining unit configured to determine whether the obstacle on the current walking route of the robot is a humanoid according to the image of the obstacle acquired by the image acquisition device;
  • the acquisition unit is used to collect the key feature point information in the human-like face image for the human-like face if the obstacle on the current walking route of the robot is a human-like face, wherein the key feature point information in the human-like face image includes: The plane position information of the key feature point;
  • a stereoscopic position information acquisition unit configured to obtain the stereoscopic position information of the key feature points according to the plane position information of the key feature points in the human-like face image
  • the fitting unit is used to obtain the face fitting surface according to the three-dimensional position information of the key feature points;
  • the judgment unit is used for judging whether the obstacle on the current walking route of the robot is a real person according to the distance between the key feature points in the human-like face image and the face fitting surface.
  • the above judgment unit may include a calculation unit and a second determination unit, wherein:
  • a calculation unit used to calculate the sum of the distances between the key feature points in the human-like face image and the face fitting surface
  • the second determining unit is configured to determine that the human-like face is a real person if the sum of the distances between the key feature points in the human-like face image and the face fitting surface is greater than the dynamic depth information threshold, and if the key feature in the human-like face image is a real person If the sum of the distances between the feature points and the face fitting surface is not greater than the dynamic depth information threshold, it is determined that this type of human body is not a real person.
  • the first prompting module 403 in the example of FIG. 4 may include a third determining unit, an animation prompting unit and an audio and video prompting unit, wherein:
  • the third determination unit is used to determine whether the real person on the current walking route of the robot is a young child
  • the animation prompting unit is used to form a terrain feature animation of the surrounding environment of the child if the real person on the robot's current walking route is a child, and remind the child to avoid the robot through the terrain feature animation combined with voice;
  • the audio and video prompting unit is used to prompt the real person who is not a young child to avoid the robot through voice and generated facial expressions if the real person on the current walking route of the robot is not a child.
  • the above animation prompting unit includes a fourth determining unit, a feature extraction unit, a projection unit and a guiding unit, wherein:
  • the fourth determining unit is used to determine the prompt information of the current walking route of the robot by sensing the surrounding environment data of the child;
  • the feature extraction unit is used to extract features from the prompt information of the current walking route of the robot by the preset animation processing model, so as to form a terrain feature animation;
  • the projection unit is used to project the terrain feature animation onto the target projection surface
  • the guidance unit uses a child's voice to explain the terrain feature animation projected onto the target projection surface, so as to guide the young child to avoid the robot.
  • the above-mentioned audio and video prompting unit may include a display unit and a playback unit, wherein:
  • a display unit used to display the generated embarrassed expression image in an exaggerated manner on the display device
  • the playback unit is used to play the embarrassed expression images and the prompt voice with actual semantics to the real person who is not a child in a cycle at a fixed interval, so as to request the real person who is not a child to avoid the robot.
  • the apparatus shown in FIG. 4 may also include a control module or a shutdown module, wherein:
  • the control module is used to control the robot to avoid obstacles by walking in the " ⁇ " or ">” shape if the real person still does not avoid the robot or the non-human obstacle after upgrading the prompt mode;
  • the closing module is used to turn off the voice prompt mode and/or image prompt mode after the real person avoids the robot, or close the warning prompt mode after the non-human obstacle is removed.
  • the voice prompt mode and/or image prompt mode are enabled to prompt the real person to avoid the robot. Since it is not necessary to train the robot whether it is a voice prompt, an image prompt, a warning prompt or an upgrade of the three, therefore, compared with the solution of performing a large amount of training on the robot to remove obstacles, on the one hand, the technical solution of the present application is low in cost; On the other hand, as long as the voice prompt mode, the image prompt mode, the warning prompt mode or the upgrade mode of the two are enabled, the purpose of removing obstacles can be achieved, and there is no need for the robot to be poorly trained and unable to achieve expectations as in the prior art. Worry about the effect.
  • FIG. 5 is a schematic structural diagram of a device provided by an embodiment of the present application.
  • the device 5 of this embodiment mainly includes: a processor 50 , a memory 51 , and a computer program 52 stored in the memory 51 and executable on the processor 50 , such as a program of a robot failure handling method.
  • the processor 50 executes the computer program 52, it implements the steps in the above embodiment of the method for handling an obstacle in a robot, for example, steps S101 to S105 shown in FIG. 1 .
  • the processor 50 executes the computer program 52
  • the functions of the modules/units in the above-mentioned device embodiments are implemented, for example, the stop operation module 401, the detection module 402, the first prompt module 403, the second prompt module 404 and The function of the third prompt module 405 .
  • the computer program 52 of the method for dealing with a robot encountering an obstacle mainly includes: when it is detected that there is an obstacle on the current walking route of the robot, stop the robot from moving forward on the current walking route; and detect whether the obstacle on the current walking route of the robot is a real person.
  • the computer program 52 may be divided into one or more modules/units, which are stored in the memory 51 and executed by the processor 50 to complete the present application.
  • One or more modules/units may be a series of computer program instruction segments capable of performing specific functions, the instruction segments being used to describe the execution of the computer program 52 in the device 5 .
  • the computer program 52 can be divided into the functions of the stop operation module 401, the detection module 402, the first prompt module 403, the second prompt module 404 and the third prompt module 405 (modules in the virtual device), and the specific functions of each module are as follows : stop operation module 401, used to stop the robot from moving forward on the current walking route when it is detected that there is an obstacle on the current walking route of the robot; detection module 402, used to detect whether the obstacle on the current walking route of the robot is a real person; A prompting module 403, for enabling a first prompting mode, such as a voice prompting mode and/or an image prompting mode, if the obstacle on the current walking route of the robot is a real person, to prompt the real person to avoid the robot; the second prompting module 404, for If the obstacle on the current walking route of the robot is not a
  • Device 5 may include, but is not limited to, processor 50 , memory 51 .
  • FIG. 5 is only an example of the device 5, and does not constitute a limitation to the device 5. It may include more or less components than the one shown, or combine some components, or different components, such as Computing devices may also include input and output devices, network access devices, buses, and the like.
  • the so-called processor 50 may be a central processing unit (Central Processing Unit, CPU), other general-purpose processors, digital signal processors (Digital Signal Processors) Processor, DSP), Application Specific Integrated Circuit (ASIC), Field-Programmable Gate Array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.
  • CPU Central Processing Unit
  • DSP Digital Signal Processors
  • ASIC Application Specific Integrated Circuit
  • FPGA Field-Programmable Gate Array
  • a general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
  • the memory 51 may be an internal storage unit of the device 5 , such as a hard disk or a memory of the device 5 .
  • the memory 51 can also be an external storage device of the device 5, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a Secure Digital (SD) card, a flash memory card (Flash Card) equipped on the device 5 Wait.
  • the memory 51 may also include both an internal storage unit of the device 5 and an external storage device.
  • the memory 51 is used to store computer programs and other programs and data required by the device.
  • the memory 51 can also be used to temporarily store data that has been output or is to be output.

Abstract

A robot obstacle avoidance processing method and apparatus, a device, and a computer readable storage medium. The method comprises: when it is detected that there is an obstacle on a current walking route of a robot, controlling the robot to stop walking on the current walking route (step S101); detecting whether the obstacle on the current walking route of the robot is a person (step S102); if the obstacle on the current walking route of the robot is a person, enabling a first prompt mode, to prompt the person to avoid the robot (step S103); and if the obstacle on the current walking route of the robot is not a person, enabling a second prompt mode, to prompt a worker in the scene to assist in eliminating the obstacle which is not a person (step S104).

Description

机器人遇障处理方法、装置、设备和计算机可读存储介质Robot failure handling method, apparatus, device and computer-readable storage medium 技术领域technical field
本申请要求于2020年12月17日提交中国国家知识产权局、申请号为202011497739.X、申请名称为“机器人遇障处理方法、装置、设备和计算机可读存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application requires the priority of a Chinese patent application filed with the State Intellectual Property Office of China on December 17, 2020, the application number is 202011497739.X, and the application name is "Robot obstacle handling method, device, equipment and computer-readable storage medium" rights, the entire contents of which are incorporated herein by reference.
本申请涉及人工智能领域,特别涉及一种机器人遇障处理方法、装置、设备和计算机可读存储介质。The present application relates to the field of artificial intelligence, and in particular, to a method, apparatus, device and computer-readable storage medium for handling a robot in trouble.
背景技术Background technique
随着人工智能(Artificial Intelligence,AI)的飞速发展,AI技术逐渐应用到与人们生活密切相关的领域,例如,机器人餐厅、智能仓库等就是AI技术在民生领域的典型应用。在这些应用场景,智能化机器人不仅给用户带来一种高科技感,而且给用户带来其他方面的体验,例如用餐乐趣、高效搬运,等等。With the rapid development of artificial intelligence (AI), AI technology has gradually been applied to fields closely related to people's lives. For example, robot restaurants and smart warehouses are typical applications of AI technology in the field of people's livelihood. In these application scenarios, intelligent robots not only bring a sense of high-tech to users, but also bring users other experiences, such as dining pleasure, efficient handling, and so on.
在机器人餐厅、智能仓库等机器人承担主要工作而人员繁杂的场合,机器人的行走路线可能会被真人或其他物体挡住。对于这种场景下的困境,现有的解决方案是设法使得机器人具有自适应能力,即,使得机器人具有自动避障的功能,在遇到真人等障碍物时自己改变预设行走路线,从而避开障碍物。In robot restaurants, smart warehouses and other occasions where robots undertake the main work and are crowded with people, the walking route of the robot may be blocked by real people or other objects. For the dilemma in this scenario, the existing solution is to try to make the robot have adaptive ability, that is, to make the robot have the function of automatic obstacle avoidance, and change the preset walking route by itself when encountering obstacles such as real people, so as to avoid obstacles. Open obstacles.
然而,上述现有的解决方案需要建立在事先对机器人进行大量训练的基础之上,一方面将意味着成本的高企;另一种方面,若机器人最终的训练成果尚未足够智能化,机器人不仅不能避障,还可能碰到障碍物而导致机器人受损,从而导致成本更高。However, the above-mentioned existing solutions need to be built on the basis of extensive training of robots in advance. On the one hand, it will mean high costs; on the other hand, if the final training results of the robots are not intelligent enough, not only can the robots fail to Obstacle avoidance may also encounter obstacles and cause damage to the robot, resulting in higher costs.
技术解决方案technical solutions
根据本申请的各种实施例,一方面,提供了一种机器人遇障处理方法,包括:According to various embodiments of the present application, on the one hand, a method for handling an obstacle of a robot is provided, including:
当检测到机器人当前行走路线上存在障碍时,控制所述机器人在所述当前行走路线上停止前行;When detecting that there is an obstacle on the current walking route of the robot, controlling the robot to stop moving forward on the current walking route;
检测所述机器人当前行走路线上的障碍是否为真人;Detecting whether the obstacles on the current walking route of the robot are real people;
若所述当前行走路线上的障碍为真人,则启用预置的第一提示模式,以提示所述真人避让所述机器人;If the obstacle on the current walking route is a real person, enable a preset first prompt mode to prompt the real person to avoid the robot;
若所述当前行走路线上的障碍不为真人,则启用预置的第二提示模式,以提示场景中的工作人员协助排除非真人的障碍。If the obstacle on the current walking route is not a real person, a preset second prompt mode is enabled to prompt the staff in the scene to assist in removing the obstacle that is not a real person.
另一方面,本申请提供了一种机器人遇障处理装置,包括:On the other hand, the present application provides an obstacle handling device for a robot, comprising:
机器人在所述当前行走路线上停止前行;the robot stops moving on the current walking route;
检测模块,用于检测所述机器人当前行走路线上的障碍是否为真人;a detection module for detecting whether the obstacles on the current walking route of the robot are real people;
第一提示模块,用于若所述当前行走路线上的障碍为真人,则启用第一提示模式,以提示所述真人避让所述机器人;a first prompting module, configured to enable a first prompting mode if the obstacle on the current walking route is a real person, so as to prompt the real person to avoid the robot;
第二提示模块,用于若所述当前行走路线上的障碍不为真人,则启用第二提示模式,以提示场景中的工作人员协助排除非真人的障碍。The second prompting module is configured to enable a second prompting mode if the obstacle on the current walking route is not a real person, so as to prompt the staff in the scene to assist in removing the obstacle that is not a real person.
第三方面,本申请提供了一种设备,所述设备包括存储器和处理器,所述存储器上存储有计算机程序,所述计算机程序可在所述处理器上运行,所述处理器执行所述计算机程序时实现如上述机器人遇障处理方法的技术方案的步骤。In a third aspect, the present application provides a device, the device includes a memory and a processor, the memory stores a computer program, the computer program can be executed on the processor, and the processor executes the The computer program implements the steps of the technical solution of the above-mentioned method for handling an obstacle in a robot.
第四方面,本申请提供了一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时实现如上述机器人遇障处理方法的技术方案的步骤。In a fourth aspect, the present application provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the technical solution of the above-mentioned method for handling an obstacle in a robot are realized. .
本申请的一个或多个实施例的细节在下面的附图和描述中提出。本申请其它特征和有点将从说明书、附图以及权利要求书变得明显。The details of one or more embodiments of the application are set forth in the accompanying drawings and the description below. Other features and advantages of the present application will become apparent from the description, drawings, and claims.
附图说明Description of drawings
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他实施例的附图。In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the accompanying drawings that are used in the description of the embodiments or the prior art. Obviously, the drawings in the following description are only These are some embodiments of the present application. For those of ordinary skill in the art, the drawings of other embodiments can also be obtained according to these drawings without creative efforts.
图1是本申请实施例提供的机器人遇障处理方法的流程图;FIG. 1 is a flowchart of a method for handling an obstacle in a robot provided by an embodiment of the present application;
图2是本申请实施例提供的通过对SQL进行语义分析而将一个SQL语句拆分为对应语句、条件和表达式等形成语法树的示意图;FIG. 2 is a schematic diagram of forming a syntax tree by splitting a SQL statement into corresponding statements, conditions, expressions, etc. by performing semantic analysis on SQL provided by an embodiment of the present application;
图3a是本申请实施例提供的机器人采用“>”型行走方式避开机器人当前行走路线上的障碍的示意图;3a is a schematic diagram of a robot provided by an embodiment of the present application adopting a ">"-type walking mode to avoid obstacles on the current walking route of the robot;
图3b是本申请实施例提供的机器人采用“<”型行走方式避开机器人当前行走路线上的障碍的示意图;3b is a schematic diagram of a robot provided by an embodiment of the present application adopting a "<" type walking mode to avoid obstacles on the current walking route of the robot;
图4是本申请实施例提供的机器人遇障处理装置的结构示意图;4 is a schematic structural diagram of a robot obstacle handling device provided by an embodiment of the present application;
图5是本申请实施例提供的设备的结构示意图。FIG. 5 is a schematic structural diagram of a device provided by an embodiment of the present application.
本发明的实施方式Embodiments of the present invention
为了便于理解本申请,下面将参照相关附图对本申请进行更全面的描述。附图中给出了本申请的较佳实施例。但是,本申请可以以许多不同的形式来实现,并不限于本文所描述的实施例。相反地,提供这些实施例的目的是使对本申请的公开内容的理解更加透彻全面。In order to facilitate understanding of the present application, the present application will be described more fully below with reference to the related drawings. The preferred embodiments of the present application are shown in the accompanying drawings. However, the application may be implemented in many different forms and is not limited to the embodiments described herein. Rather, these embodiments are provided so that a thorough and complete understanding of the disclosure of this application is provided.
除非另有定义,本文所使用的所有的技术和科学术语与属于发明的技术领域的技术人员通常理解的含义相同。本文中在发明的说明书中所使用的术语只是为了描述具体的实施例的目的,不是旨在限制本申请。本文所使用的术语“和/或”包括一个或多个相关的所列项目的任意的和所有的组合。Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the technical field of the invention. The terms used herein in the description of the invention are for the purpose of describing particular embodiments only and are not intended to limit the application. As used herein, the term "and/or" includes any and all combinations of one or more of the associated listed items.
本申请提出了一种机器人遇障处理方法,可应用于机器人,该机器人可以是在餐厅作业的机器人,例如,传菜机器人,也可以是在医疗场所,例如医院作业的送药机器人,还可以是在仓库等场所作业的搬运机器人,等等。这些机器人作业的场所可能既存在成年人(例如,医院等场所的成年病患),又存在幼童等未成年人(例如,在餐厅就餐的幼儿、儿童等)。如附图1所示,机器人遇障处理方法主要包括步骤S101至S104,详述如下:The present application proposes a method for handling obstacles of a robot, which can be applied to a robot. The robot can be a robot operating in a restaurant, such as a food delivery robot, or a medicine delivery robot operating in a medical place, such as a hospital, or It is a transfer robot that works in warehouses and other places, and so on. The places where these robots work may have both adults (eg, adult patients in hospitals and other places) and minors such as young children (eg, toddlers, children, etc., eating in restaurants). As shown in FIG. 1 , the method for handling an obstacle to a robot mainly includes steps S101 to S104, which are described in detail as follows:
步骤S101:当检测到机器人当前行走路线上存在障碍时,控制机器人在当前行走路线上停止前行。Step S101 : when it is detected that there is an obstacle on the current walking route of the robot, the robot is controlled to stop moving forward on the current walking route.
所谓障碍,是指在机器人等移动设备既定路线上,阻碍了该移动设备前行的人或物。在本申请实施例中,可以采用光电方式,例如,通过视觉传感器、激光雷达或红外热成像设备等,检测机器人当前行走路线上是否存在障碍。一旦检测到机器人当前行走路线上存在障碍,则机器人中的中央处理单元向驱动单元发送停止运行指令,使得机器人在当前行走路线上停止前行。The so-called obstacle refers to the person or thing on the predetermined route of the mobile device, such as a robot, that hinders the mobile device from moving forward. In this embodiment of the present application, an optoelectronic method, for example, a visual sensor, a laser radar, or an infrared thermal imaging device, etc., can be used to detect whether there is an obstacle on the current walking route of the robot. Once it is detected that there is an obstacle on the current walking route of the robot, the central processing unit in the robot sends a stop operation instruction to the driving unit, so that the robot stops moving forward on the current walking route.
步骤S102:检测机器人当前行走路线上的障碍是否为真人。Step S102: Detect whether the obstacles on the current walking route of the robot are real people.
如前所述,机器人行走路线上的障碍主要分为人或物。在本申请实施例中,对于不同的障碍,可以采取不同的排障方案,因此,当检测到机器人当前行走路线上存在障碍时,还需要检测机器人当前行走路线上的障碍是否为真人,所谓“真人”,本申请中是指真实的人、自然人。As mentioned above, the obstacles on the walking route of the robot are mainly divided into people or objects. In the embodiment of this application, different obstacle removal schemes can be adopted for different obstacles. Therefore, when an obstacle is detected on the current walking route of the robot, it is also necessary to detect whether the obstacle on the current walking route of the robot is a real person. A real person”, in this application, refers to a real person, a natural person.
由于对红外传感器而言,人体发出的热量信号与其他物体发出的热量信号不同,因此,作为本申请的一个实施例,检测机器人当前行走路线上的障碍是否为真人可以利用安装在该机器人上的红外传感器,接收来自机器人当前行走路线上的障碍发出的一个或多个热量信号;若该热量信号的波长约为5~12um,则确定机器人当前行走路线上的障碍为真人。Since the heat signal emitted by the human body is different from the heat signal emitted by other objects for the infrared sensor, as an embodiment of the present application, to detect whether the obstacle on the current walking route of the robot is a real person, the heat signal installed on the robot can be used. The infrared sensor receives one or more heat signals from obstacles on the current walking route of the robot; if the wavelength of the heat signal is about 5~12um, it is determined that the obstacles on the current walking route of the robot are real people.
上述实施例是基于热成像原理来检测机器人当前行走路线上的障碍是否为真人,在本申请另一实施例中,可以基于计算机图形学原理来检测机器人当前行走路线上的障碍是否为真人,具体而言,可以通过如图2示例的步骤S201至步骤S205实现,说明如下:The above embodiment is based on the principle of thermal imaging to detect whether the obstacle on the current walking route of the robot is a real person. In another embodiment of the present application, whether the obstacle on the current walking route of the robot is a real person can be detected based on the principle of computer graphics. Specifically, In other words, it can be implemented through steps S201 to S205 as shown in FIG. 2, and the description is as follows:
步骤S201:根据图像采集装置获取的障碍的图像,确定机器人当前行走路线上的障碍是否为类人体。Step S201: According to the image of the obstacle acquired by the image acquisition device, determine whether the obstacle on the current walking route of the robot is a humanoid.
本申请中,所谓“类人体”,是指具有人的形体特征的人或物,从计算机图形学角度来看,真人和与真人相似的物体,例如人体模特、仿真机器人等都属于类人体。因此,当确定机器人当前行走路线上的障碍不为类人体时,则该障碍不可能是真人。可以通过机器人上集成的图像采集装置,例如,摄像头等获取障碍的图像,然后,将该障碍的图像与数据库中预存的类人体图像进行形状、尺寸等几何学参数上的匹配,确定机器人当前行走路线上的障碍是否为类人体。In this application, the so-called "human-like" refers to a person or object with human physical characteristics. From the perspective of computer graphics, real people and objects similar to real people, such as mannequins, artificial robots, etc., all belong to human-like bodies. Therefore, when it is determined that the obstacle on the current walking route of the robot is not a humanoid, the obstacle cannot be a real person. The image of the obstacle can be obtained through the image acquisition device integrated on the robot, such as a camera, and then the image of the obstacle is matched with the pre-stored human-like images in the database on geometric parameters such as shape and size to determine the current walking of the robot. Whether the obstacles on the route are humanoid.
步骤S202:若机器人当前行走路线上的障碍为类人体,则针对类人体的脸部,采集类人体脸部图像中关键特征点信息,其中,类人体脸部图像中关键特征点信息包括该关键特征点的平面位置信息。Step S202: if the obstacle on the current walking route of the robot is a human body, collect the key feature point information in the human body-like face image for the human body-like face, wherein the key feature point information in the human body-like face image includes the key feature point information. The plane position information of the feature point.
如前所述,类人体包括真人和与真人相似的物体。因此,当确定机器人当前行走路线上的障碍不为类人体时,则该障碍不可能是真人;当确定机器人当前行走路线上的障碍为类人体,还需要进一步确认该类人体是否为真人,原因在于,真人的属性和与真人相似的物体的属性仍然具有生理学和/或心理学意义上的本质区别,例如,真人能够理解语义,从而在听到机器人发出的提示语音时可以主动避让机器人,但诸如人体模特的类人体,则无法理解语义,从而无法避让。As mentioned earlier, humanoids include real people and real-life-like objects. Therefore, when it is determined that the obstacle on the robot's current walking route is not a humanoid, the obstacle cannot be a real person; when it is determined that the obstacle on the robot's current walking route is a humanoid, it is necessary to further confirm whether the humanoid is a real human. The fact is that the properties of real people and the properties of objects similar to real people still have essential differences in physiological and/or psychological sense. For example, real people can understand semantics, so they can actively avoid robots when they hear the prompt voice issued by robots, but Humanoids, such as mannequins, cannot understand the semantics and thus cannot avoid it.
为了进一步提高类人体脸部图像的采集精确度,在本申请实施例中,可以在采集类人体脸部图像时,分别通过不同的图像采集装置,在同一时刻从不同位置针对类人体的脸部进行采集至少两幅图像,然后,对该至少两幅类人体脸部图像进行校正,使得该至少两幅类人体脸部图像在水平方向保持一致。在获取水平方向一致的至少两幅类人体脸部图像后,分别对每幅类人体脸部图像进行关键特征点检测,确定每幅类人体脸部图像中若干关键特征点信息。本申请实施例中,关键特征点包括鼻尖点、左眼下眼睑点、右眼下眼睑点、左嘴角点、右嘴角点等在内的65至106个关键点。例如,在确定类人体脸部图像中这些关键特征点后,可以进一步确定这些关键特征点在类人体脸部图像中的平面位置信息和可信度,其中,平面位置信息可以是关键特征点在类人体脸部图像中的二维坐标,可信度用于指示关键特征点在类人体脸部图像中定位的准确度。In order to further improve the acquisition accuracy of the human-like face image, in the embodiment of the present application, when collecting the human-like face image, different image acquisition devices may be used to target the human-like face from different positions at the same time. At least two images are collected, and then the at least two human-like face images are corrected so that the at least two human-like face images are consistent in the horizontal direction. After acquiring at least two human-like face images in the same horizontal direction, perform key feature point detection on each human-like face image respectively, and determine several key feature point information in each human-like face image. In the embodiment of the present application, the key feature points include 65 to 106 key points including the tip of the nose, the lower eyelid point of the left eye, the lower eyelid point of the right eye, the corner of the left mouth, and the corner of the right mouth. For example, after determining these key feature points in the human-like face image, the plane position information and reliability of these key feature points in the human-like face image can be further determined, wherein the plane position information can be the key feature points in the The two-dimensional coordinates in the human-like face image, and the reliability is used to indicate the accuracy of the positioning of key feature points in the human-like face image.
步骤S203:根据类人体脸部图像中关键特征点的平面位置信息,获取这些关键特征点的立体位置信息。Step S203: According to the plane position information of the key feature points in the human-like face image, obtain the three-dimensional position information of these key feature points.
如前所述,可信度指示了关键特征点在类人体脸部图像中定位的准确度,因此,可以根据每个关键特征点的可信度,选择可信度大于某个阈值的关键特征点,来确定这些关键特征点的立体位置信息,例如,关键特征点的在三维坐标系中的三维坐标。具体地,可以基于相似三角形原理,根据每个关键特征点的平面位置信息,计算该关键特征点的立体位置信息。As mentioned above, the credibility indicates the accuracy of the key feature points in the human-like face image. Therefore, according to the credibility of each key feature point, the key features whose credibility is greater than a certain threshold can be selected. point to determine the three-dimensional position information of these key feature points, for example, the three-dimensional coordinates of the key feature points in the three-dimensional coordinate system. Specifically, the three-dimensional position information of each key feature point can be calculated according to the plane position information of each key feature point based on the similar triangle principle.
步骤S204:根据关键特征点的立体位置信息,得到脸部拟合曲面。Step S204 : obtaining a face fitting curved surface according to the three-dimensional position information of the key feature points.
在得到关键特征点的立体位置信息,可以采用曲面拟合算法,例如最小二乘法,将这些关键特征点的立体位置信息作为拟合因子拟合出一个曲面,该曲面即为脸部拟合曲面。After obtaining the three-dimensional position information of the key feature points, a surface fitting algorithm, such as the least squares method, can be used to fit the three-dimensional position information of these key feature points as a fitting factor to fit a surface, which is the face fitting surface .
步骤S205:根据类人体脸部图像中关键特征点与脸部拟合曲面之间的距离,判断机器人当前行走路线上的障碍是否为真人。Step S205: According to the distance between the key feature points in the human-like face image and the face fitting surface, determine whether the obstacle on the current walking route of the robot is a real person.
一般地,非真人的脸部图像,其关键特征点的深度信息不明显,所拟合得到的脸部拟合曲面一般是平滑的脸部曲面,而关键特征点到这样的脸部拟合曲面的距离也较小,趋近于零,而真人的脸部图像中的关键特征点的深度信息明显,所拟合得到的脸部拟合曲面一般不是平滑的脸部曲面,关键特征点到这样的脸部拟合曲面的距离也较大。基于上述成像特点,在本申请实施例中,根据类人体脸部图像中关键特征点与脸部拟合曲面之间的距离,判断机器人当前行走路线上的障碍是否为真人可以是:计算类人体脸部图像中关键特征点与脸部拟合曲面之间的距离之和,若该距离之和大于动态深度信息阈值,则确定类人体为真人,若该距离之和不大于动态深度信息阈值,则确定该类人体不为真人。上述实施例中,动态深度信息阈值时预先设定的先验深度距离阈值实时确定,其与用于计算关键特征点与脸部拟合曲面之间的距离之和的各关键特征点的可信度相关。Generally, for non-real face images, the depth information of the key feature points is not obvious, and the face fitting surface obtained by fitting is generally a smooth face surface, and the key feature points are connected to such a face fitting surface. The distance is also small, approaching zero, and the depth information of the key feature points in the face image of a real person is obvious. The fitted face fitting surface is generally not a smooth face surface, and the key feature points are like this The distance of the face fitting surface is also larger. Based on the above imaging characteristics, in the embodiment of the present application, according to the distance between the key feature points in the human-like face image and the face fitting surface, judging whether the obstacle on the current walking route of the robot is a real person may be: calculating the human-like face image The sum of the distances between the key feature points in the face image and the face fitting surface. If the sum of the distances is greater than the dynamic depth information threshold, it is determined that the humanoid is a real person. If the sum of the distances is not greater than the dynamic depth information threshold, Then it is determined that such a human body is not a real person. In the above-mentioned embodiment, the a priori depth distance threshold preset in the dynamic depth information threshold is determined in real time, and the credibility of each key feature point used to calculate the sum of the distance between the key feature point and the face fitting surface is determined. degree related.
步骤S103:若当前行走路线上的障碍为真人,则启用预置的第一提示模式,以提示真人避让机器人。Step S103 : if the obstacle on the current walking route is a real person, the preset first prompt mode is activated to prompt the real person to avoid the robot.
具体地,第一提示模式可以选用语音提示、图像提示或语音+图像结合的提示方式。Specifically, the first prompting mode may be a prompting manner of voice prompting, image prompting or a combination of voice and image.
尽管当前行走路线上的障碍同为真人,但真人之间仍然存在一些区别,例如,幼童与成年人,幼童一般是指一定年龄以下的儿童,例如5岁以下,可能无法或不能足够精确理解语义信息,而可以理解图像(包括视频、动画等,视频、动画可以视为连续播放的图像)等形象性的表示方法,而成年人在智力正常的前提下,一般不存在语义理解上的障碍。因此,针对该区别,可以给予不同的提示方式。具体而言步骤S103可通过如下步骤S1031至步骤S1033实现:Although the obstacles on the current walking route are all real people, there are still some differences between real people, for example, young children and adults, young children generally refer to children under a certain age, such as under 5 years old, may not be accurate or accurate enough Understand semantic information, but can understand images (including videos, animations, etc., videos and animations can be regarded as images that are played continuously) and other visual representation methods, but adults generally do not have semantic understanding under the premise of normal intelligence. obstacle. Therefore, for this difference, different prompting methods can be given. Specifically, step S103 can be implemented through the following steps S1031 to S1033:
步骤S1031:确定机器人当前行走路线上的真人是否为幼童。Step S1031: Determine whether the real person on the current walking route of the robot is a child.
在本申请实施例中,可以通过机器人上集成的图像采集装置,例如摄像头等,采集机器人当前行走路线上的真人的图像,然后,将所采集到的真人的图像与数据库预设的幼童图像从体貌特征上进行匹配,从而确定机器人当前行走路线上的真人是否为幼童。也可以通过采集机器人当前行走路线上的真人的声音信息,来确定机器人当前行走路线上的真人是否幼童,例如,当机器人向真人播放语音时,该真人可能会调皮地以“我不让开”来回应机器人,当机器人采集到“我不让开”的语音信息时,可以根据其声纹特征来确定机器人当前行走路线上的真人是否幼童。In the embodiment of the present application, the image of the real person on the current walking route of the robot can be collected through an image collection device integrated on the robot, such as a camera, etc., and then the collected image of the real person is compared with the image of the child preset in the database. Matching is carried out from the physical features to determine whether the real person on the current walking route of the robot is a young child. It is also possible to determine whether the real person on the robot's current walking route is a child by collecting the voice information of the real person on the robot's current walking route. For example, when the robot plays a voice to the real person, the real person may playfully say "I won't let go. "To respond to the robot, when the robot collects the voice information of "I will not let go", it can determine whether the real person on the robot's current walking route is a young child according to its voiceprint features.
步骤S1032:若真人为幼童,则将幼童周遭环境形成地形特征动画,通过地形特征动画并结合语音提示幼童避让机器人。Step S1032 : if the real person is a young child, form a terrain feature animation of the surrounding environment of the young child, and prompt the young child to avoid the robot through the terrain feature animation combined with voice.
如前所述,相对于成年人,幼童对语义信息理解有限,而基于图像再结合语义讲解,则能让幼童理解较为容易地理解语义信息。因此,在本申请实施例中,在确定机器人当前行走路线上的真人为幼童后,可以将幼童周遭环境形成地形特征动画,通过地形特征动画并结合语音提示幼童避让机器人。具体而言,将幼童周遭环境形成地形特征动画,通过地形特征动画并结合语音提示幼童避让机器人可以是:通过感知幼童周遭环境数据,确定机器人当前行走路线的提示信息;由预置的动画处理模型对机器人当前行走路线的提示信息进行特征提取,以形成地形特征动画;将地形特征动画投影至目标投影面上;采用童音对投影至目标投影面上的地形特征动画进行讲解,以引导幼童避让机器人。As mentioned above, compared with adults, young children have limited understanding of semantic information, and the combination of semantic explanation based on images can make it easier for young children to understand semantic information. Therefore, in this embodiment of the present application, after determining that the real person on the current walking route of the robot is a young child, the environment around the young child can be formed into a terrain feature animation, and the young child can be prompted to avoid the robot through the terrain feature animation combined with voice. Specifically, forming a terrain feature animation of the surrounding environment of the child, and prompting the child to avoid the robot through the terrain feature animation combined with voice can be: by sensing the surrounding environment data of the child, determine the prompt information of the robot's current walking route; The animation processing model extracts the features of the prompt information of the robot's current walking route to form a terrain feature animation; projects the terrain feature animation on the target projection surface; uses the child's voice to explain the terrain feature animation projected on the target projection surface to Guide young children to avoid robots.
步骤S1033:若真人不为幼童,则通过语音和生成的表情图像提示不为幼童的真人避让机器人。Step S1033: If the real person is not a child, prompt the real person who is not a child to avoid the robot through voice and the generated facial expression image.
由于成年人对语义的理解能力较强,同时,为了让请求显得更加人性化,作为本申请一个实施例,若真人不为幼童,则通过语音和生成的表情图像提示不为幼童的真人避让机器人可以是:在显示设备上以预设的夸张手法显示所生成的用以表征难为情的表情图像,以固定的间隔周期,循环向所述不为幼童的真人播放所述用以表征难为情的表情图像和具有实际语义的提示语音,请求所述不为幼童的真人避让所述机器人。当成年人看到这些夸张的难为情的表情图像,再加上循环播放这些难为情的表情图像和具有实际语义(例如,请让一让,请让我过去,等等)的提示语音,从人性的角度,一般情况下,这些成年人都会主动避让机器人,让其顺利通过。Because adults have a strong ability to understand semantics, and at the same time, in order to make the request more humanized, as an embodiment of the present application, if the real person is not a child, the real person who is not a child will be prompted through voice and generated facial expressions. The avoidance robot may be: displaying the generated expression image to express embarrassment on a display device with a preset exaggeration method, and cyclically playing the expression image to express embarrassment to the real person who is not a child at a fixed interval. facial expression images and prompt voices with actual semantics, requesting the real person who is not a child to avoid the robot. When adults see these exaggerated embarrassing emoji images, plus looping these embarrassing emoji images and prompting voices with actual semantics (eg, please let me go, etc.), from the human Angle, under normal circumstances, these adults will actively avoid the robot and let it pass smoothly.
步骤S104:若机器人当前行走路线上的障碍不为真人,则启用第二提示模式,以提示场景中的工作人员协助排除非真人的障碍。Step S104: If the obstacle on the current walking route of the robot is not a real person, the second prompt mode is enabled to prompt the staff in the scene to assist in removing the obstacle that is not a real person.
具体地,第二提示模块可以选用警示模式。Specifically, the second prompt module may select an alert mode.
显然,在机器人当前行走路线上的障碍不为真人时,前述的语音提示模式和/或图像提示模式无法生效或效果不佳(当然,播放语音提示时,场景中的工作人员也可能过来排除非真人的障碍,但与真人的主动避让仍然存在效果上的差别)。因此,若机器人当前行走路线上的障碍不为真人,则启用警示提示模式,以提示场景中的工作人员协助排除非真人的障碍。例如,在启用警示提示模式后,机器人发出声光报警,提示场景中的工作人员机器人遇到非真人的障碍,需要他/她过来协助排除这些非真人的障碍。Obviously, when the obstacle on the robot's current walking route is not a real person, the aforementioned voice prompt mode and/or image prompt mode cannot take effect or the effect is not good (of course, when the voice prompt is played, the staff in the scene may also come to exclude the The obstacle of a real person, but there is still an effect difference from the active avoidance of a real person). Therefore, if the obstacles on the current walking route of the robot are not real people, the warning prompt mode is enabled to prompt the staff in the scene to assist in removing non-human obstacles. For example, after the warning prompt mode is enabled, the robot emits an audible and visual alarm to remind the staff in the scene that the robot encounters obstacles that are not real people, and needs him/her to assist in removing these non-human obstacles.
进一步地,在步骤S104之后,还可以包括步骤S105:在启用第一提示模式后,或在启用第二提示模式后,若真人仍不避让机器人或非真人的障碍仍未排除,则升级第一提示模式或第二提示模式继续进行提示。Further, after step S104, step S105 may also be included: after enabling the first prompt mode, or after enabling the second prompt mode, if the real person still does not avoid the obstacle of the robot or the non-human person, then upgrade the first prompt mode. The prompting mode or the second prompting mode continues to prompt.
在某些场景下,不排除在启用语音提示模式和/或图像提示模式后,或在启用警示提示模式后,真人仍不避让机器人或非真人的障碍仍未排除。在这种场景下,可以升级提示模式,例如,在启用语音提示模式和/或图像提示模式,循环3次以上向真人进行语音提示和/或图像提示后,真人仍不避让机器人,可以增强语音提示时的语音分贝和/或采用更为夸张的方式,例如,播放生气的表情图像;或者,在启用警示提示模式后,非真人的障碍仍未排除,则加大声光报警的强度,例如,发出更为尖锐的报警声、使报警灯发出强度更大的光或增加报警灯的闪烁频度,等等。In some scenarios, it is not excluded that after enabling the voice prompt mode and/or image prompt mode, or after enabling the warning prompt mode, the obstacle that the real person still does not avoid the robot or the non-human person is still not eliminated. In this scenario, the prompting mode can be upgraded. For example, after enabling the voice prompting mode and/or image prompting mode and repeating the voice prompting and/or image prompting to the real person for more than 3 times, the real person still does not avoid the robot and can enhance the voice Voice decibels and/or use more exaggerated methods when prompting, for example, playing angry facial expressions; or, after enabling the warning prompt mode, if the non-human obstacle has not been eliminated, increase the intensity of sound and light alarms, for example, Make a louder alarm sound, make the alarm light glow more intensely, or increase the flashing frequency of the alarm light, etc.
在某些场景下,不排除在升级提示模式后,真人仍不避让机器人或非真人的障碍仍未排除,例如,机器人当前行走路线上的幼童仍然不能理解语音提示和/或图像提示,或者,在医院这种特定场所,机器人当前行走路线上的成年病患虽然能够理解语音提示和/或图像提示,但基于疾病原因,仍然无法主动避让机器人,或者,尽管升级了警示提示模式,但出于其他各种原因,工作人员不能及时到场排除非真人的障碍。在这种场景下,可以根据所述障碍的大小调整当前行走路线在所述障碍周围的绕行轨迹,控制所述机器人以调整过的行走路线行进以避开所述障碍,例如,可以控制机器人采用“<”型或“>”型行走方式避开机器人当前行走路线上的障碍。如图3a所示,机器人可以按照虚线所示,先向右偏离一个小角度,从障碍的右边行走一段距离,然后向左拐(此时,形成一个“>”型路线),回到预先设定的行走路线上;或者,如图3b所示,机器人可以按照虚线所示,先向左偏离一个小角度,从障碍的左边行走一段距离,然后向右拐(此时,形成一个“<”型路线),回到预先设定的行走路线上。由于无论是采用“<”型行走方式,还是采用“>”型行走方式,均只是使机器人从预定路线偏离较小的角度,因此,算法方面并不复杂,无需对机器人进行复杂的训练即可实现。In some scenarios, it is not ruled out that after upgrading the prompt mode, the real person still does not avoid the robot or the obstacle of the non-real person is still not eliminated, for example, the young children on the current walking route of the robot still cannot understand the voice prompts and/or image prompts, or , in a specific place such as a hospital, although adult patients on the robot's current walking route can understand the voice prompts and/or image prompts, they still cannot actively avoid the robot due to disease reasons, or, despite the upgraded warning prompt mode, out of order For various other reasons, the staff could not arrive in time to eliminate the obstacles that are not real people. In this scenario, the detouring trajectory of the current walking route around the obstacle can be adjusted according to the size of the obstacle, and the robot can be controlled to travel on the adjusted walking route to avoid the obstacle. For example, the robot can be controlled Use the "<" or ">" walking method to avoid obstacles on the robot's current walking route. As shown in Figure 3a, the robot can first deviate a small angle to the right as shown by the dotted line, walk a distance from the right side of the obstacle, and then turn left (at this time, a ">"-type route is formed), and return to the preset Or, as shown in Figure 3b, the robot can first deviate a small angle to the left, walk a distance from the left of the obstacle, and then turn right (at this time, a "<" type route), return to the preset walking route. Because whether the "<"-type walking method or the ">"-type walking method is adopted, the robot deviates from the predetermined route by a small angle, so the algorithm is not complicated, and there is no need for complex training of the robot. accomplish.
在其他实施例中,也可以是第一提示模式或第二提示模式或升级第一提示模式或第二提示模式达到预设时间后,如预设时间具体可以为2s、3s或4s等,则可以根据所述障碍的大小调整当前行走路线在所述障碍周围的绕行轨迹,控制所述机器人以调整过的行走路线行进以避开所述障碍。In other embodiments, it may also be the first prompt mode or the second prompt mode, or after the upgrade of the first prompt mode or the second prompt mode reaches a preset time. The detouring trajectory of the current walking route around the obstacle can be adjusted according to the size of the obstacle, and the robot is controlled to travel on the adjusted walking route to avoid the obstacle.
为了节省电能等资源的消耗,在本申请实施例中,可以在真人避让机器人后,关闭语音提示模式和/或图像提示模式,或在非真人的障碍排除后,关闭警示提示模式。In order to save the consumption of resources such as electricity, in the embodiment of the present application, the voice prompt mode and/or the image prompt mode may be turned off after the real person avoids the robot, or the warning prompt mode may be turned off after the non-human obstacle is removed.
从上述附图1示例的机器人遇障处理方法可知,在确认障碍是真人时,启用语音提示模式和/或图像提示模式提示真人避让机器人,在确认障碍不是真人时,则启用警示提示模式提示工作人员协助排除障碍,由于无论是语音提示、图像提示、警示提示还是三者的升级,都无需对机器人进行训练,因此,相对于对机器人进行大量训练来排除障碍的方案,一方面,本申请的技术方案成本低廉;另一方面,只要启用了语音提示模式、图像提示模式、警示提示模式或两者的升级模式,即可达到排除障碍的目的,无需如现有技术一样尚有对机器人训练不到位而不能取得预期效果的后顾之忧。It can be seen from the above-mentioned method for dealing with obstacles in the example of Fig. 1 that when the obstacle is confirmed to be a real person, the voice prompt mode and/or image prompt mode are enabled to prompt the real person to avoid the robot, and when it is confirmed that the obstacle is not a real person, the warning prompt mode is enabled to prompt work Personnel assists in removing obstacles, because no matter it is voice prompts, image prompts, warning prompts or the upgrade of the three, there is no need to train the robot. Therefore, compared with the scheme of carrying out a lot of training on the robot to remove obstacles, on the one hand, the application of the The cost of the technical solution is low; on the other hand, as long as the voice prompt mode, the image prompt mode, the warning prompt mode or the upgrade mode of the two are enabled, the purpose of removing obstacles can be achieved, and there is no need for robot training as in the prior art. The worry of not being able to achieve the expected results when it is in place.
请参阅附图4,是本申请实施例提供的一种机器人遇障处理装置,可以包括停止运行模块401、检测模块402、第一提示模块403、第二提示模块404,进一步地,还可以包括第三提示模块405,详述如下:Please refer to FIG. 4 , which is an apparatus for handling an obstacle of a robot provided by an embodiment of the present application, which may include a stop operation module 401 , a detection module 402 , a first prompt module 403 , and a second prompt module 404 , and may further include The third prompt module 405 is described in detail as follows:
停止运行模块401,用于当检测到机器人当前行走路线上存在障碍时,控制机器人在当前行走路线上停止前行;The stop operation module 401 is used to control the robot to stop moving forward on the current walking route when it is detected that there is an obstacle on the current walking route of the robot;
检测模块402,用于检测机器人当前行走路线上的障碍是否为真人;The detection module 402 is used to detect whether the obstacle on the current walking route of the robot is a real person;
第一提示模块403,用于若机器人当前行走路线上的障碍为真人,则启用第一提示模式,以提示真人避让机器人;The first prompting module 403 is configured to enable the first prompting mode if the obstacle on the current walking route of the robot is a real person, so as to prompt the real person to avoid the robot;
第二提示模块404,用于若机器人当前行走路线上的障碍不为真人,则启用第二提示模式,以提示场景中的工作人员协助排除非真人的障碍;The second prompting module 404 is configured to enable the second prompting mode if the obstacle on the current walking route of the robot is not a real person, so as to prompt the staff in the scene to assist in removing the obstacle that is not a real person;
第三提示模块405,用于在第一提示模块403启用第一提示模式后,或在第二提示模块404启用第二提示模式后,若真人仍不避让机器人或非真人的障碍仍未排除,则升级提示模式继续进行提示。The third prompting module 405 is used for, after the first prompting module 403 enables the first prompting mode, or after the second prompting module 404 enables the second prompting mode, if the real person still does not avoid the obstacle of the robot or the non-human person, Then the upgrade prompt mode continues to prompt.
可选地,附图4示例的检测模块402包括第一确定单元、采集单元、立体位置信息获取单元、拟合单元和判断单元,其中:Optionally, the detection module 402 in the example of FIG. 4 includes a first determination unit, a collection unit, a three-dimensional position information acquisition unit, a fitting unit and a judgment unit, wherein:
第一确定单元,用于根据图像采集装置获取的障碍的图像,确定机器人当前行走路线上的障碍是否为类人体;a first determining unit, configured to determine whether the obstacle on the current walking route of the robot is a humanoid according to the image of the obstacle acquired by the image acquisition device;
采集单元,用于若机器人当前行走路线上的障碍为类人体,则针对类人体的脸部,采集类人体脸部图像中关键特征点信息,其中,类人体脸部图像中关键特征点信息包括该关键特征点的平面位置信息;The acquisition unit is used to collect the key feature point information in the human-like face image for the human-like face if the obstacle on the current walking route of the robot is a human-like face, wherein the key feature point information in the human-like face image includes: The plane position information of the key feature point;
立体位置信息获取单元,用于根据类人体脸部图像中关键特征点的平面位置信息,获取这些关键特征点的立体位置信息;a stereoscopic position information acquisition unit, configured to obtain the stereoscopic position information of the key feature points according to the plane position information of the key feature points in the human-like face image;
拟合单元,用于根据关键特征点的立体位置信息,得到脸部拟合曲面;The fitting unit is used to obtain the face fitting surface according to the three-dimensional position information of the key feature points;
判断单元,用于根据类人体脸部图像中关键特征点与脸部拟合曲面之间的距离,判断机器人当前行走路线上的障碍是否为真人。The judgment unit is used for judging whether the obstacle on the current walking route of the robot is a real person according to the distance between the key feature points in the human-like face image and the face fitting surface.
可选地,上述判断单元可包括计算单元和第二确定单元,其中:Optionally, the above judgment unit may include a calculation unit and a second determination unit, wherein:
计算单元,用于计算类人体脸部图像中关键特征点与脸部拟合曲面之间的距离之和;a calculation unit, used to calculate the sum of the distances between the key feature points in the human-like face image and the face fitting surface;
第二确定单元,用于若类人体脸部图像中关键特征点与脸部拟合曲面之间的距离之和大于动态深度信息阈值,则确定类人体为真人,若类人体脸部图像中关键特征点与脸部拟合曲面之间的距离之和不大于动态深度信息阈值,则确定该类人体不为真人。The second determining unit is configured to determine that the human-like face is a real person if the sum of the distances between the key feature points in the human-like face image and the face fitting surface is greater than the dynamic depth information threshold, and if the key feature in the human-like face image is a real person If the sum of the distances between the feature points and the face fitting surface is not greater than the dynamic depth information threshold, it is determined that this type of human body is not a real person.
可选地,附图4示例的第一提示模块403可以包括第三确定单元、动画提示单元和音视频提示单元,其中:Optionally, the first prompting module 403 in the example of FIG. 4 may include a third determining unit, an animation prompting unit and an audio and video prompting unit, wherein:
第三确定单元,用于确定机器人当前行走路线上的真人是否为幼童;The third determination unit is used to determine whether the real person on the current walking route of the robot is a young child;
动画提示单元,用于若机器人当前行走路线上的真人为幼童,则将幼童周遭环境形成地形特征动画,通过地形特征动画并结合语音提示幼童避让机器人;The animation prompting unit is used to form a terrain feature animation of the surrounding environment of the child if the real person on the robot's current walking route is a child, and remind the child to avoid the robot through the terrain feature animation combined with voice;
音视频提示单元,用于若机器人当前行走路线上的真人不为幼童,则通过语音和生成的表情图像提示不为幼童的真人避让机器人。The audio and video prompting unit is used to prompt the real person who is not a young child to avoid the robot through voice and generated facial expressions if the real person on the current walking route of the robot is not a child.
可选地,上述动画提示单元包括第四确定单元、特征提取单元、投影单元和引导单元,其中:Optionally, the above animation prompting unit includes a fourth determining unit, a feature extraction unit, a projection unit and a guiding unit, wherein:
第四确定单元,用于通过感知幼童周遭环境数据,确定机器人当前行走路线的提示信息;The fourth determining unit is used to determine the prompt information of the current walking route of the robot by sensing the surrounding environment data of the child;
特征提取单元,用于由预置的动画处理模型对机器人当前行走路线的提示信息进行特征提取,以形成地形特征动画;The feature extraction unit is used to extract features from the prompt information of the current walking route of the robot by the preset animation processing model, so as to form a terrain feature animation;
投影单元,用于将地形特征动画投影至目标投影面上;The projection unit is used to project the terrain feature animation onto the target projection surface;
引导单元,采用童音对投影至目标投影面上的地形特征动画进行讲解,以引导幼童避让机器人。The guidance unit uses a child's voice to explain the terrain feature animation projected onto the target projection surface, so as to guide the young child to avoid the robot.
可选地,上述音视频提示单元可包括显示单元和播放单元,其中:Optionally, the above-mentioned audio and video prompting unit may include a display unit and a playback unit, wherein:
显示单元,用于在显示设备上以夸张手法显示所生成的难为情的表情图像;A display unit, used to display the generated embarrassed expression image in an exaggerated manner on the display device;
播放单元,用于以固定的间隔周期,循环向不为幼童的真人播放难为情的表情图像和具有实际语义的提示语音,以请求不为幼童的真人避让机器人。The playback unit is used to play the embarrassed expression images and the prompt voice with actual semantics to the real person who is not a child in a cycle at a fixed interval, so as to request the real person who is not a child to avoid the robot.
可选地,附图4示例的装置还可以包括控制模块或关闭模块,其中:Optionally, the apparatus shown in FIG. 4 may also include a control module or a shutdown module, wherein:
控制模块,用于若在升级提示模式后,真人仍不避让机器人或非真人的障碍仍未排除,则控制机器人采用“<”型或“>”型行走方式避开障碍;The control module is used to control the robot to avoid obstacles by walking in the "<" or ">" shape if the real person still does not avoid the robot or the non-human obstacle after upgrading the prompt mode;
关闭模块,用于在真人避让机器人后,关闭语音提示模式和/或图像提示模式,或在非真人的障碍排除后,关闭警示提示模式。The closing module is used to turn off the voice prompt mode and/or image prompt mode after the real person avoids the robot, or close the warning prompt mode after the non-human obstacle is removed.
从以上技术方案的描述中可知,在确认障碍是真人时,启用语音提示模式和/或图像提示模式提示真人避让机器人,在确认障碍不是真人时,则启用警示提示模式提示工作人员协助排除障碍,由于无论是语音提示、图像提示、警示提示还是三者的升级,都无需对机器人进行训练,因此,相对于对机器人进行大量训练来排除障碍的方案,一方面,本申请的技术方案成本低廉;另一方面,只要启用了语音提示模式、图像提示模式、警示提示模式或两者的升级模式,即可达到排除障碍的目的,无需如现有技术一样尚有对机器人训练不到位而不能取得预期效果的后顾之忧。It can be seen from the description of the above technical solutions that when it is confirmed that the obstacle is a real person, the voice prompt mode and/or image prompt mode are enabled to prompt the real person to avoid the robot. Since it is not necessary to train the robot whether it is a voice prompt, an image prompt, a warning prompt or an upgrade of the three, therefore, compared with the solution of performing a large amount of training on the robot to remove obstacles, on the one hand, the technical solution of the present application is low in cost; On the other hand, as long as the voice prompt mode, the image prompt mode, the warning prompt mode or the upgrade mode of the two are enabled, the purpose of removing obstacles can be achieved, and there is no need for the robot to be poorly trained and unable to achieve expectations as in the prior art. Worry about the effect.
图5是本申请一实施例提供的设备的结构示意图。如图5所示,该实施例的设备5主要包括:处理器50、存储器51以及存储在存储器51中并可在处理器50上运行的计算机程序52,例如机器人遇障处理方法的程序。处理器50执行计算机程序52时实现上述机器人遇障处理方法实施例中的步骤,例如图1所示的步骤S101至S105。或者,处理器50执行计算机程序52时实现上述各装置实施例中各模块/单元的功能,例如图4所示停止运行模块401、检测模块402、第一提示模块403、第二提示模块404和第三提示模块405的功能。FIG. 5 is a schematic structural diagram of a device provided by an embodiment of the present application. As shown in FIG. 5 , the device 5 of this embodiment mainly includes: a processor 50 , a memory 51 , and a computer program 52 stored in the memory 51 and executable on the processor 50 , such as a program of a robot failure handling method. When the processor 50 executes the computer program 52, it implements the steps in the above embodiment of the method for handling an obstacle in a robot, for example, steps S101 to S105 shown in FIG. 1 . Alternatively, when the processor 50 executes the computer program 52, the functions of the modules/units in the above-mentioned device embodiments are implemented, for example, the stop operation module 401, the detection module 402, the first prompt module 403, the second prompt module 404 and The function of the third prompt module 405 .
示例性地,机器人遇障处理方法的计算机程序52主要包括:当检测到机器人当前行走路线上存在障碍时,使机器人在当前行走路线上停止前行;检测机器人当前行走路线上的障碍是否为真人;若机器人当前行走路线上的障碍为真人,则启用语音提示模式和/或图像提示模式,以提示真人避让机器人;若机器人当前行走路线上的障碍不为真人,则启用警示提示模式,以提示场景中的工作人员协助排除非真人的障碍;在启用语音提示模式和/或图像提示模式后,或在启用警示提示模式后,若真人仍不避让机器人或非真人的障碍仍未排除,则升级提示模式。计算机程序52可以被分割成一个或多个模块/单元,一个或者多个模块/单元被存储在存储器51中,并由处理器50执行,以完成本申请。一个或多个模块/单元可以是能够完成特定功能的一系列计算机程序指令段,该指令段用于描述计算机程序52在设备5中的执行过程。例如,计算机程序52可以被分割成停止运行模块401、检测模块402、第一提示模块403、第二提示模块404和第三提示模块405(虚拟装置中的模块)的功能,各模块具体功能如下:停止运行模块401,用于当检测到机器人当前行走路线上存在障碍时,使机器人在当前行走路线上停止前行;检测模块402,用于检测机器人当前行走路线上的障碍是否为真人;第一提示模块403,用于若机器人当前行走路线上的障碍为真人,则启用第一提示模式,如语音提示模式和/或图像提示模式,以提示真人避让机器人;第二提示模块404,用于若机器人当前行走路线上的障碍不为真人,则启用第二提示模式,如警示提示模式,以提示场景中的工作人员协助排除非真人的障碍;第三提示模块405,用于在第一提示模块403启用语音提示模式和/或图像提示模式后,或在第二提示模块404启用警示提示模式后,若真人仍不避让机器人或非真人的障碍仍未排除,则升级提示模式。Exemplarily, the computer program 52 of the method for dealing with a robot encountering an obstacle mainly includes: when it is detected that there is an obstacle on the current walking route of the robot, stop the robot from moving forward on the current walking route; and detect whether the obstacle on the current walking route of the robot is a real person. ;If the obstacle on the robot's current walking route is a real person, enable the voice prompt mode and/or image prompt mode to prompt the real person to avoid the robot; if the obstacle on the robot's current walking route is not a real person, enable the warning prompt mode to prompt The staff in the scene assists in removing non-human obstacles; after enabling the voice prompt mode and/or image prompt mode, or after enabling the warning prompt mode, if the real person still does not avoid the robot or the non-human obstacle is still not removed, upgrade prompt mode. The computer program 52 may be divided into one or more modules/units, which are stored in the memory 51 and executed by the processor 50 to complete the present application. One or more modules/units may be a series of computer program instruction segments capable of performing specific functions, the instruction segments being used to describe the execution of the computer program 52 in the device 5 . For example, the computer program 52 can be divided into the functions of the stop operation module 401, the detection module 402, the first prompt module 403, the second prompt module 404 and the third prompt module 405 (modules in the virtual device), and the specific functions of each module are as follows : stop operation module 401, used to stop the robot from moving forward on the current walking route when it is detected that there is an obstacle on the current walking route of the robot; detection module 402, used to detect whether the obstacle on the current walking route of the robot is a real person; A prompting module 403, for enabling a first prompting mode, such as a voice prompting mode and/or an image prompting mode, if the obstacle on the current walking route of the robot is a real person, to prompt the real person to avoid the robot; the second prompting module 404, for If the obstacle on the current walking route of the robot is not a real person, a second prompting mode, such as a warning prompting mode, is enabled to prompt the staff in the scene to assist in removing obstacles that are not real people; the third prompting module 405 is used to prompt the first prompting After the module 403 enables the voice prompt mode and/or the image prompt mode, or after the second prompt module 404 enables the warning prompt mode, if the real person still does not avoid the obstacle of the robot or the non-human person, the prompt mode is upgraded.
设备5可包括但不仅限于处理器50、存储器51。本领域技术人员可以理解,图5仅仅是设备5的示例,并不构成对设备5的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件,例如计算设备还可以包括输入输出设备、网络接入设备、总线等。Device 5 may include, but is not limited to, processor 50 , memory 51 . Those skilled in the art can understand that FIG. 5 is only an example of the device 5, and does not constitute a limitation to the device 5. It may include more or less components than the one shown, or combine some components, or different components, such as Computing devices may also include input and output devices, network access devices, buses, and the like.
所称处理器50可以是中央处理单元(Central Processing Unit,CPU),还可以是其他通用处理器、数字信号处理器 (Digital Signal Processor,DSP)、专用集成电路 (Application Specific Integrated Circuit,ASIC)、现成可编程门阵列 (Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。The so-called processor 50 may be a central processing unit (Central Processing Unit, CPU), other general-purpose processors, digital signal processors (Digital Signal Processors) Processor, DSP), Application Specific Integrated Circuit (ASIC), Field-Programmable Gate Array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
存储器51可以是设备5的内部存储单元,例如设备5的硬盘或内存。存储器51也可以是设备5的外部存储设备,例如设备5上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。进一步地,存储器51还可以既包括设备5的内部存储单元也包括外部存储设备。存储器51用于存储计算机程序以及设备所需的其他程序和数据。存储器51还可以用于暂时地存储已经输出或者将要输出的数据。The memory 51 may be an internal storage unit of the device 5 , such as a hard disk or a memory of the device 5 . The memory 51 can also be an external storage device of the device 5, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a Secure Digital (SD) card, a flash memory card (Flash Card) equipped on the device 5 Wait. Further, the memory 51 may also include both an internal storage unit of the device 5 and an external storage device. The memory 51 is used to store computer programs and other programs and data required by the device. The memory 51 can also be used to temporarily store data that has been output or is to be output.
以上所述实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。The technical features of the above-described embodiments can be combined arbitrarily. For the sake of brevity, all possible combinations of the technical features in the above-described embodiments are not described. However, as long as there is no contradiction between the combinations of these technical features, All should be regarded as the scope described in this specification.
以上所述实施例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对申请专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请专利的保护范围应以所附权利要求为准。The above-mentioned embodiments only represent several embodiments of the present application, and the descriptions thereof are relatively specific and detailed, but should not be construed as a limitation on the scope of the patent application. It should be pointed out that for those skilled in the art, without departing from the concept of the present application, several modifications and improvements can be made, which all belong to the protection scope of the present application. Therefore, the scope of protection of the patent of the present application shall be subject to the appended claims.

Claims (20)

  1. 一种机器人遇障处理方法,所述方法包括:A method for handling an obstacle in a robot, the method comprising:
    当检测到机器人当前行走路线上存在障碍时,控制所述机器人在所述当前行走路线上停止前行;When detecting that there is an obstacle on the current walking route of the robot, controlling the robot to stop moving forward on the current walking route;
    检测所述机器人当前行走路线上的障碍是否为真人;Detecting whether the obstacles on the current walking route of the robot are real people;
    若所述当前行走路线上的障碍为真人,则启用预置的第一提示模式,以提示所述真人避让所述机器人;If the obstacle on the current walking route is a real person, enable a preset first prompt mode to prompt the real person to avoid the robot;
    若所述当前行走路线上的障碍不为真人,则启用预置的第二提示模式,以提示场景中的工作人员协助排除非真人的障碍。If the obstacle on the current walking route is not a real person, a preset second prompt mode is enabled to prompt the staff in the scene to assist in removing the obstacle that is not a real person.
  2. 如权利要求1所述机器人遇障处理方法,其特征在于,所述方法还包括:The method for handling a robot encountering an obstacle according to claim 1, wherein the method further comprises:
    在启用所述第一提示模式或第二提示模式后,若所述真人仍不避让所述机器人或所述非真人的障碍仍未排除,则升级所述第一提示模式或第二提示模式继续进行提示。After the first prompt mode or the second prompt mode is enabled, if the real person still does not avoid the robot or the obstacle of the non-human person is still not eliminated, then upgrade the first prompt mode or the second prompt mode to continue prompt.
  3. 如权利要求1所述机器人遇障处理方法,其特征在于,所述检测所述机器人当前行走路线上的障碍是否为真人,包括:The method for handling an obstacle of a robot according to claim 1, wherein the detecting whether the obstacle on the current walking route of the robot is a real person comprises:
    根据图像采集装置获取的所述障碍的图像,确定所述障碍是否为类人体;According to the image of the obstacle acquired by the image acquisition device, determine whether the obstacle is a humanoid;
    若所述障碍为类人体,则针对所述类人体的脸部,采集类人体脸部图像中关键特征点信息,所述类人体脸部图像中关键特征点信息包括所述关键特征点的平面位置信息;If the obstacle is a human-like face, collect key feature point information in the human-like face image for the human-like face, where the key feature point information in the human-like face image includes the plane of the key feature points location information;
    根据所述关键特征点的平面位置信息,获取所述关键特征点的立体位置信息;According to the plane position information of the key feature point, obtain the three-dimensional position information of the key feature point;
    根据所述关键特征点的立体位置信息,得到脸部拟合曲面;According to the three-dimensional position information of the key feature points, the face fitting surface is obtained;
    根据所述关键特征点与所述脸部拟合曲面之间的距离,判断所述障碍是否为真人。According to the distance between the key feature point and the face fitting surface, it is determined whether the obstacle is a real person.
  4. 如权利要求3所述机器人遇障处理方法,其特征在于,所述根据所述关键特征点与所述脸部拟合曲面之间的距离,判断所述障碍是否为真人包括:The method for dealing with obstacles of a robot according to claim 3, wherein the determining whether the obstacle is a real person according to the distance between the key feature point and the face fitting surface comprises:
    确定所述关键特征点与所述脸部拟合曲面之间的距离之和;determining the sum of the distances between the key feature points and the face fitting surface;
    若所述距离之和大于动态深度信息阈值,则确定所述类人体为真人,否则,确定所述类人体不为真人。If the sum of the distances is greater than the dynamic depth information threshold, it is determined that the human-like body is a real person; otherwise, it is determined that the human-like human body is not a human being.
  5. 如权利要求1所述机器人遇障处理方法,其特征在于,所述启用第一提示模式,以提示所述真人避让所述机器人,包括:The method for handling a robot encountering an obstacle according to claim 1, wherein the enabling the first prompt mode to prompt the real person to avoid the robot comprises:
    确定所述真人是否为幼童;determine whether the real person is a young child;
    若所述真人为幼童,则将所述幼童周遭环境形成地形特征动画,通过所述地形特征动画并结合语音提示所述幼童避让所述机器人;If the real person is a young child, forming a terrain feature animation of the surrounding environment of the young child, and prompting the young child to avoid the robot through the terrain feature animation combined with voice;
    若所述真人不为幼童,则通过语音和生成的表情图像提示所述不为幼童的真人避让所述机器人。If the real person is not a child, the real person who is not a child is prompted to avoid the robot through voice and the generated facial expression image.
  6. 如权利要求5所述机器人遇障处理方法,其特征在于,所述将所述幼童周遭环境形成地形特征动画,通过所述地形特征动画并结合语音提示所述幼童避让所述机器人,包括:The method for handling a robot encountering an obstacle according to claim 5, wherein forming a terrain feature animation of the surrounding environment of the young child, and prompting the young child to avoid the robot through the terrain feature animation combined with voice, comprising: :
    通过感知所述幼童周遭环境数据,确定所述机器人当前行走路线的提示信息;Determine the prompt information of the current walking route of the robot by sensing the surrounding environment data of the young child;
    由预置的动画处理模型对所述机器人当前行走路线的提示信息进行特征提取,以形成所述地形特征动画;Feature extraction is performed on the prompt information of the current walking route of the robot by a preset animation processing model to form the terrain feature animation;
    将所述地形特征动画投影至目标投影面上;Projecting the terrain feature animation onto the target projection surface;
    采用预置的童音音频对所述投影至目标投影面上的地形特征动画进行讲解,以引导所述幼童避让所述机器人。The terrain feature animation projected onto the target projection surface is explained by using a preset child's voice audio, so as to guide the young child to avoid the robot.
  7. 如权利要求1-6任一项所述机器人遇障处理方法,其特征在于,所述方法还包括:The method for handling a robot encountering an obstacle according to any one of claims 1-6, wherein the method further comprises:
    若在升级所述第一提示模式或第二提示模式后,所述真人仍不避让所述机器人或所述非真人的障碍仍未排除,则根据所述障碍的大小调整当前行走路线在所述障碍周围的绕行轨迹,控制所述机器人以调整过的行走路线行进以避开所述障碍;或者If after upgrading the first prompt mode or the second prompt mode, the real person still does not avoid the robot or the obstacle that is not a real person, adjust the current walking route according to the size of the obstacle in the a detour around an obstacle, controlling the robot to travel on an adjusted walking path to avoid the obstacle; or
    在所述真人避让所述机器人后,关闭所述语音提示模式和/或图像提示模式,或在所述非真人的障碍排除后,关闭所述警示提示模式。After the real person avoids the robot, the voice prompt mode and/or the image prompt mode are turned off, or the warning prompt mode is turned off after the non-human obstacle is removed.
  8. 一种机器人遇障处理装置,所述装置包括:An obstacle handling device for a robot, comprising:
    停止运行模块,用于当检测到机器人当前行走路线上存在障碍时,控制所述机器人在所述当前行走路线上停止前行;A stop operation module, used to control the robot to stop moving forward on the current walking route when it is detected that there is an obstacle on the current walking route of the robot;
    检测模块,用于检测所述机器人当前行走路线上的障碍是否为真人;a detection module for detecting whether the obstacles on the current walking route of the robot are real people;
    第一提示模块,用于若所述当前行走路线上的障碍为真人,则启用第一提示模式,以提示所述真人避让所述机器人;a first prompting module, configured to enable a first prompting mode if the obstacle on the current walking route is a real person, so as to prompt the real person to avoid the robot;
    第二提示模块,用于若所述当前行走路线上的障碍不为真人,则启用第二提示模式,以提示场景中的工作人员协助排除非真人的障碍。The second prompting module is configured to enable a second prompting mode if the obstacle on the current walking route is not a real person, so as to prompt the staff in the scene to assist in removing the obstacle that is not a real person.
  9. 如权利要求8所述机器人遇障处理装置,其特征在于,所述装置还包括:The device for handling an obstacle of a robot according to claim 8, wherein the device further comprises:
    第三提示模块,用于在所述第一提示模块启用第一提示模式后,或在所述第二提示模块启用第二提示模式后,若真人仍不避让机器人或非真人的障碍仍未排除,则升级提示模式继续进行提示。The third prompting module is used for, after the first prompting module enables the first prompting mode, or after the second prompting module enables the second prompting mode, if the real person still does not avoid the obstacle of the robot or the non-human person, the obstacle is still not eliminated , the upgrade prompt mode will continue to prompt.
  10. 如权利要求8所述机器人遇障处理装置,其特征在于,所述检测模块包括:The device for handling obstacles of a robot according to claim 8, wherein the detection module comprises:
    第一确定单元,用于根据图像采集装置获取的障碍的图像,确定机器人当前行走路线上的障碍是否为类人体;a first determining unit, configured to determine whether the obstacle on the current walking route of the robot is a humanoid according to the image of the obstacle acquired by the image acquisition device;
    采集单元,用于若机器人当前行走路线上的障碍为类人体,则针对类人体的脸部,采集类人体脸部图像中关键特征点信息,其中,类人体脸部图像中关键特征点信息包括该关键特征点的平面位置信息;The acquisition unit is used to collect key feature point information in the human-like face image for the human-like face if the obstacle on the robot's current walking route is a human-like face, wherein the key feature point information in the human-like face image includes: The plane position information of the key feature point;
    立体位置信息获取单元,用于根据类人体脸部图像中关键特征点的平面位置信息,获取这些关键特征点的立体位置信息;A stereoscopic position information acquisition unit, configured to acquire the stereoscopic position information of these key feature points according to the plane position information of the key feature points in the human-like face image;
    拟合单元,用于根据关键特征点的立体位置信息,得到脸部拟合曲面;The fitting unit is used to obtain the face fitting surface according to the three-dimensional position information of the key feature points;
    判断单元,用于根据类人体脸部图像中关键特征点与脸部拟合曲面之间的距离,判断机器人当前行走路线上的障碍是否为真人。The judgment unit is used for judging whether the obstacle on the current walking route of the robot is a real person according to the distance between the key feature points in the human-like face image and the face fitting surface.
  11. 如权利要求10所述机器人遇障处理装置,其特征在于,所述判断单元包括:The device for handling an obstacle of a robot according to claim 10, wherein the judging unit comprises:
    计算单元,用于计算类人体脸部图像中关键特征点与脸部拟合曲面之间的距离之和;a calculation unit, used to calculate the sum of the distances between the key feature points in the human-like face image and the face fitting surface;
    第二确定单元,用于若类人体脸部图像中关键特征点与脸部拟合曲面之间的距离之和大于动态深度信息阈值,则确定类人体为真人,若类人体脸部图像中关键特征点与脸部拟合曲面之间的距离之和不大于动态深度信息阈值,则确定该类人体不为真人。The second determining unit is configured to determine that the human-like face is a real person if the sum of the distances between the key feature points in the human-like face image and the face fitting surface is greater than the dynamic depth information threshold, and if the key feature in the human-like face image is a real person If the sum of the distances between the feature points and the face fitting surface is not greater than the dynamic depth information threshold, it is determined that this type of human body is not a real person.
  12. 如权利要求8所述机器人遇障处理装置,其特征在于,所述第一提示模块包括:The device for handling obstacles of a robot according to claim 8, wherein the first prompting module comprises:
    第三确定单元,用于确定机器人当前行走路线上的真人是否为幼童;The third determination unit is used to determine whether the real person on the current walking route of the robot is a young child;
    动画提示单元,用于若机器人当前行走路线上的真人为幼童,则将幼童周遭环境形成地形特征动画,通过地形特征动画并结合语音提示幼童避让机器人;The animation prompting unit is used to form a terrain feature animation of the surrounding environment of the child if the real person on the robot's current walking route is a child, and remind the child to avoid the robot through the terrain feature animation combined with voice;
    音视频提示单元,用于若机器人当前行走路线上的真人不为幼童,则通过语音和生成的表情图像提示不为幼童的真人避让机器人。The audio and video prompting unit is used to prompt the real person who is not a young child to avoid the robot through voice and generated facial expressions if the real person on the current walking route of the robot is not a child.
  13. 一种设备,所述设备包括存储器和处理器,所述存储器上存储有计算机程序,所述计算机程序可在所述处理器上运行,所述处理器执行所述计算机程序时实现如下步骤:A device, the device comprises a memory and a processor, the memory stores a computer program, the computer program can run on the processor, and the processor implements the following steps when executing the computer program:
    当检测到机器人当前行走路线上存在障碍时,控制所述机器人在所述当前行走路线上停止前行;When detecting that there is an obstacle on the current walking route of the robot, controlling the robot to stop moving forward on the current walking route;
    检测所述机器人当前行走路线上的障碍是否为真人;Detecting whether the obstacles on the current walking route of the robot are real people;
    若所述当前行走路线上的障碍为真人,则启用预置的第一提示模式,以提示所述真人避让所述机器人;If the obstacle on the current walking route is a real person, enable a preset first prompt mode to prompt the real person to avoid the robot;
    若所述当前行走路线上的障碍不为真人,则启用预置的第二提示模式,以提示场景中的工作人员协助排除非真人的障碍。If the obstacle on the current walking route is not a real person, a preset second prompt mode is enabled to prompt the staff in the scene to assist in removing the obstacle that is not a real person.
  14. 如权利要求13所述设备,其特征在于,所述处理器执行所述计算机程序时还实现如下步骤:The device according to claim 13, wherein the processor further implements the following steps when executing the computer program:
    在启用所述第一提示模式或第二提示模式后,若所述真人仍不避让所述机器人或所述非真人的障碍仍未排除,则升级所述第一提示模式或第二提示模式继续进行提示。After the first prompt mode or the second prompt mode is enabled, if the real person still does not avoid the robot or the obstacle of the non-human person is still not eliminated, then upgrade the first prompt mode or the second prompt mode to continue prompt.
  15. 如权利要求13所述设备,其特征在于,所述处理器执行所述计算机程序时实现如下步骤:The device of claim 13, wherein the processor implements the following steps when executing the computer program:
    所述检测所述机器人当前行走路线上的障碍是否为真人,包括:The detecting whether the obstacle on the current walking route of the robot is a real person includes:
    根据图像采集装置获取的所述障碍的图像,确定所述障碍是否为类人体;According to the image of the obstacle acquired by the image acquisition device, determine whether the obstacle is a humanoid;
    若所述障碍为类人体,则针对所述类人体的脸部,采集类人体脸部图像中关键特征点信息,所述类人体脸部图像中关键特征点信息包括所述关键特征点的平面位置信息;If the obstacle is a human-like face, collect key feature point information in the human-like face image for the human-like face, where the key feature point information in the human-like face image includes the plane of the key feature points location information;
    根据所述关键特征点的平面位置信息,获取所述关键特征点的立体位置信息;According to the plane position information of the key feature point, obtain the three-dimensional position information of the key feature point;
    根据所述关键特征点的立体位置信息,得到脸部拟合曲面;According to the three-dimensional position information of the key feature points, the face fitting surface is obtained;
    根据所述关键特征点与所述脸部拟合曲面之间的距离,判断所述障碍是否为真人。According to the distance between the key feature point and the face fitting surface, it is determined whether the obstacle is a real person.
  16. 如权利要求15所述设备,其特征在于,所述处理器执行所述计算机程序时实现如下步骤:The device of claim 15, wherein the processor implements the following steps when executing the computer program:
    所述根据所述关键特征点与所述脸部拟合曲面之间的距离,判断所述障碍是否为真人,包括:According to the distance between the key feature point and the face fitting surface, judging whether the obstacle is a real person, including:
    确定所述关键特征点与所述脸部拟合曲面之间的距离之和;determining the sum of the distances between the key feature points and the face fitting surface;
    若所述距离之和大于动态深度信息阈值,则确定所述类人体为真人,否则,确定所述类人体不为真人。If the sum of the distances is greater than the dynamic depth information threshold, it is determined that the human-like body is a real person; otherwise, it is determined that the human-like human body is not a human being.
  17. 如权利要求15所述设备,其特征在于,所述处理器执行所述计算机程序时实现如下步骤:The device of claim 15, wherein the processor implements the following steps when executing the computer program:
    所述启用第一提示模式,以提示所述真人避让所述机器人,包括:The enabling of the first prompt mode to prompt the real person to avoid the robot includes:
    确定所述真人是否为幼童;determine whether the real person is a young child;
    若所述真人为幼童,则将所述幼童周遭环境形成地形特征动画,通过所述地形特征动画并结合语音提示所述幼童避让所述机器人;If the real person is a young child, forming a terrain feature animation of the surrounding environment of the young child, and prompting the young child to avoid the robot through the terrain feature animation combined with voice;
    若所述真人不为幼童,则通过语音和生成的表情图像提示所述不为幼童的真人避让所述机器人。If the real person is not a child, the real person who is not a child is prompted to avoid the robot through voice and the generated facial expression image.
  18. 如权利要求17所述的设备,其特征在于,所述处理器执行所述计算机程序时实现如下步骤:The device of claim 17, wherein the processor implements the following steps when executing the computer program:
    所述将所述幼童周遭环境形成地形特征动画,通过所述地形特征动画并结合语音提示所述幼童避让所述机器人,包括:Forming a terrain feature animation of the surrounding environment of the young child, and prompting the young child to avoid the robot through the terrain feature animation combined with voice, including:
    通过感知所述幼童周遭环境数据,确定所述机器人当前行走路线的提示信息;Determine the prompt information of the current walking route of the robot by sensing the surrounding environment data of the young child;
    由预置的动画处理模型对所述机器人当前行走路线的提示信息进行特征提取,以形成所述地形特征动画;Feature extraction is performed on the prompt information of the current walking route of the robot by a preset animation processing model to form the terrain feature animation;
    将所述地形特征动画投影至目标投影面上;Projecting the terrain feature animation onto the target projection surface;
    采用预置的童音音频对所述投影至目标投影面上的地形特征动画进行讲解,以引导所述幼童避让所述机器人。The terrain feature animation projected onto the target projection surface is explained by using a preset child's voice audio, so as to guide the young child to avoid the robot.
  19. 如权利要求13-18任一项所述的设备,其特征在于,所述处理器执行所述计算机程序时还实现如下步骤: The device according to any one of claims 13-18, wherein the processor further implements the following steps when executing the computer program:
    若在升级所述第一提示模式或第二提示模式后,所述真人仍不避让所述机器人或所述非真人的障碍仍未排除,则根据所述障碍的大小调整当前行走路线在所述障碍周围的绕行轨迹,控制所述机器人以调整过的行走路线行进以避开所述障碍;或者If after upgrading the first prompt mode or the second prompt mode, the real person still does not avoid the robot or the obstacle that is not a real person, adjust the current walking route according to the size of the obstacle in the a detour around an obstacle, controlling the robot to travel on an adjusted walking path to avoid the obstacle; or
    在所述真人避让所述机器人后,关闭所述语音提示模式和/或图像提示模式,或在所述非真人的障碍排除后,关闭所述警示提示模式。After the real person avoids the robot, the voice prompt mode and/or the image prompt mode are turned off, or the warning prompt mode is turned off after the non-human obstacle is removed.
  20. 一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时实现如权利要求1所述方法的步骤。A computer-readable storage medium storing a computer program, the computer program implementing the steps of the method of claim 1 when executed by a processor.
PCT/CN2021/129398 2020-12-17 2021-11-08 Robot obstacle avoidance processing method and apparatus, device, and computer readable storage medium WO2022127439A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011497739.XA CN112506204B (en) 2020-12-17 2020-12-17 Robot obstacle meeting processing method, device, equipment and computer readable storage medium
CN202011497739.X 2020-12-17

Publications (1)

Publication Number Publication Date
WO2022127439A1 true WO2022127439A1 (en) 2022-06-23

Family

ID=74922230

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/129398 WO2022127439A1 (en) 2020-12-17 2021-11-08 Robot obstacle avoidance processing method and apparatus, device, and computer readable storage medium

Country Status (2)

Country Link
CN (1) CN112506204B (en)
WO (1) WO2022127439A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112506204B (en) * 2020-12-17 2022-12-30 深圳市普渡科技有限公司 Robot obstacle meeting processing method, device, equipment and computer readable storage medium
CN113641095B (en) * 2021-08-18 2024-02-09 苏州英特数智控制系统有限公司 Active safety machine leaning control method and system based on laser radar

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013086234A (en) * 2011-10-20 2013-05-13 Panasonic Corp Destination direction notification system, destination direction notification method, and destination direction notification program
CN106272431A (en) * 2016-09-21 2017-01-04 旗瀚科技有限公司 A kind of intelligence man-machine interaction method
CN107092252A (en) * 2017-04-11 2017-08-25 杭州光珀智能科技有限公司 A kind of robot automatic obstacle avoidance method and its device based on machine vision
CN108344414A (en) * 2017-12-29 2018-07-31 中兴通讯股份有限公司 A kind of map structuring, air navigation aid and device, system
CN108958263A (en) * 2018-08-03 2018-12-07 江苏木盟智能科技有限公司 A kind of Obstacle Avoidance and robot
CN109291064A (en) * 2018-11-18 2019-02-01 赛拓信息技术有限公司 Dining room Intelligent meal delivery robot
CN109571502A (en) * 2018-12-30 2019-04-05 深圳市普渡科技有限公司 Robot allocator
CN109571468A (en) * 2018-11-27 2019-04-05 深圳市优必选科技有限公司 Security protection crusing robot and security protection method for inspecting
CN110033612A (en) * 2019-05-21 2019-07-19 上海木木聚枞机器人科技有限公司 A kind of pedestrian's based reminding method, system and robot based on robot
CN110442126A (en) * 2019-07-15 2019-11-12 北京三快在线科技有限公司 A kind of mobile robot and its barrier-avoiding method
US20200201337A1 (en) * 2018-12-20 2020-06-25 Jason Yan Anti-drop-off system for robot
CN112506204A (en) * 2020-12-17 2021-03-16 深圳市普渡科技有限公司 Robot obstacle meeting processing method, device, equipment and computer readable storage medium

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106469288A (en) * 2015-08-12 2017-03-01 中兴通讯股份有限公司 A kind of reminding method and terminal
CN105446682A (en) * 2015-11-17 2016-03-30 厦门正景智能工程有限公司 Simulated interactive display system for converting drawing of child into animation by projection
CN105740779B (en) * 2016-01-25 2020-11-13 北京眼神智能科技有限公司 Method and device for detecting living human face
CN106054881A (en) * 2016-06-12 2016-10-26 京信通信系统(广州)有限公司 Execution terminal obstacle avoidance method and execution terminal
TWI660703B (en) * 2016-11-24 2019-06-01 南韓商Lg電子股份有限公司 Moving robot and control method thereof
CN107272724A (en) * 2017-08-04 2017-10-20 南京华捷艾米软件科技有限公司 A kind of body-sensing flight instruments and its control method
CN109709945B (en) * 2017-10-26 2022-04-15 深圳市优必选科技有限公司 Path planning method and device based on obstacle classification and robot
WO2019127262A1 (en) * 2017-12-28 2019-07-04 深圳前海达闼云端智能科技有限公司 Cloud end-based human face in vivo detection method, electronic device and program product
CN111966088B (en) * 2020-07-14 2022-04-05 合肥工业大学 Control system and control method for automatically-driven toy car for children
CN111930127B (en) * 2020-09-02 2021-05-18 广州赛特智能科技有限公司 Robot obstacle identification and obstacle avoidance method

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013086234A (en) * 2011-10-20 2013-05-13 Panasonic Corp Destination direction notification system, destination direction notification method, and destination direction notification program
CN106272431A (en) * 2016-09-21 2017-01-04 旗瀚科技有限公司 A kind of intelligence man-machine interaction method
CN107092252A (en) * 2017-04-11 2017-08-25 杭州光珀智能科技有限公司 A kind of robot automatic obstacle avoidance method and its device based on machine vision
CN108344414A (en) * 2017-12-29 2018-07-31 中兴通讯股份有限公司 A kind of map structuring, air navigation aid and device, system
CN108958263A (en) * 2018-08-03 2018-12-07 江苏木盟智能科技有限公司 A kind of Obstacle Avoidance and robot
CN109291064A (en) * 2018-11-18 2019-02-01 赛拓信息技术有限公司 Dining room Intelligent meal delivery robot
CN109571468A (en) * 2018-11-27 2019-04-05 深圳市优必选科技有限公司 Security protection crusing robot and security protection method for inspecting
US20200201337A1 (en) * 2018-12-20 2020-06-25 Jason Yan Anti-drop-off system for robot
CN109571502A (en) * 2018-12-30 2019-04-05 深圳市普渡科技有限公司 Robot allocator
CN110033612A (en) * 2019-05-21 2019-07-19 上海木木聚枞机器人科技有限公司 A kind of pedestrian's based reminding method, system and robot based on robot
CN110442126A (en) * 2019-07-15 2019-11-12 北京三快在线科技有限公司 A kind of mobile robot and its barrier-avoiding method
CN112506204A (en) * 2020-12-17 2021-03-16 深圳市普渡科技有限公司 Robot obstacle meeting processing method, device, equipment and computer readable storage medium

Also Published As

Publication number Publication date
CN112506204B (en) 2022-12-30
CN112506204A (en) 2021-03-16

Similar Documents

Publication Publication Date Title
US11737635B2 (en) Moving robot and control method thereof
WO2022127439A1 (en) Robot obstacle avoidance processing method and apparatus, device, and computer readable storage medium
Guerrero-Higueras et al. Tracking people in a mobile robot from 2d lidar scans using full convolutional neural networks for security in cluttered environments
US10055892B2 (en) Active region determination for head mounted displays
Stone et al. Fall detection in homes of older adults using the Microsoft Kinect
US9517559B2 (en) Robot control system, robot control method and output control method
JP5803043B2 (en) Mobile robot system and method for operating a mobile robot
US20140279733A1 (en) Computer-based method and system for providing active and automatic personal assistance using a robotic device/platform
CN107174418A (en) A kind of intelligent wheel chair and its control method
WO2020031767A1 (en) Information processing device, information processing method, and program
CN107357292A (en) Intelligent safeguard system and its maintaining method is seen in a kind of children&#39;s room
GB2527207A (en) Mobile human interface robot
US11540690B2 (en) Artificial intelligence robot cleaner
Volkhardt et al. People tracking on a mobile companion robot
US10814487B2 (en) Communicative self-guiding automation
Deng et al. Safety-aware robotic steering of a flexible endoscope for nasotracheal intubation
WO2023000679A1 (en) Robot recharging control method and apparatus, and storage medium
JP2010205015A (en) Group behavior estimation device and service provision system
Mayachita et al. Implementation of Entertaining Robot on ROS Framework
Ma et al. An Intelligent Caregiver Elderly Robot Based on Raspberry Pi
TWM517882U (en) Intelligent mobile nursing device
Jubril et al. A multisensor electronic traveling aid for the visually impaired
Viswanathan Navigation and obstacle avoidance help (NOAH) for elderly wheelchair users with cognitive impairment in long-term care
US20240036585A1 (en) Robot device operating in mode corresponding to position of robot device and control method thereof
TWI751719B (en) Blind guide assisting method and blind guide assisting system

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: 21905368

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: 21905368

Country of ref document: EP

Kind code of ref document: A1