[go: up one dir, main page]

CN111179148B - Data display method and device - Google Patents

Data display method and device Download PDF

Info

Publication number
CN111179148B
CN111179148B CN201911398395.4A CN201911398395A CN111179148B CN 111179148 B CN111179148 B CN 111179148B CN 201911398395 A CN201911398395 A CN 201911398395A CN 111179148 B CN111179148 B CN 111179148B
Authority
CN
China
Prior art keywords
image
walked
path
projection
information
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN201911398395.4A
Other languages
Chinese (zh)
Other versions
CN111179148A (en
Inventor
夏舸
李超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Youdi Robot Wuxi Co ltd
Original Assignee
Uditech Co Ltd
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 Uditech Co Ltd filed Critical Uditech Co Ltd
Priority to CN201911398395.4A priority Critical patent/CN111179148B/en
Publication of CN111179148A publication Critical patent/CN111179148A/en
Application granted granted Critical
Publication of CN111179148B publication Critical patent/CN111179148B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T1/00General purpose image data processing
    • G06T1/0014Image feed-back for automatic industrial control, e.g. robot with camera
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformations in the plane of the image
    • G06T3/40Scaling of whole images or parts thereof, e.g. expanding or contracting
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/80Geometric correction
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10004Still image; Photographic image
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2210/00Indexing scheme for image generation or computer graphics
    • G06T2210/21Collision detection, intersection

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Robotics (AREA)
  • Processing Or Creating Images (AREA)
  • Manipulator (AREA)

Abstract

The application is applicable to the technical field of data processing, and provides a data display method, wherein the data display method is applied to a robot, the robot is provided with a projection device, and the data display method comprises the following steps: acquiring an image comprising path information to be walked; and sending the image comprising the path information to be walked to the projection device, and indicating the projection device to project the image comprising the path information to be walked. By the method, the path prompt effect corresponding to the path to be walked of the robot can be effectively improved.

Description

数据展示方法及装置Data display method and device

技术领域Technical field

本申请属于数据处理技术领域,尤其涉及数据展示方法及装置。This application belongs to the field of data processing technology, and particularly relates to data display methods and devices.

背景技术Background technique

目前,机器人在行走时,会通过语音提示的方式,向人们提醒机器人的待行走路径,以避免撞到人。然而,若机器人所处的环境较嘈杂,则提示语音容易被周围的声音掩盖住,导致机器人的待行走路径对应的路径提示效果较差。At present, when the robot is walking, it will remind people of the path of the robot through voice prompts to avoid hitting people. However, if the environment where the robot is located is noisy, the prompt voice is easily obscured by the surrounding sounds, resulting in poor path prompts corresponding to the robot's path to be walked.

发明内容Contents of the invention

本申请实施例提供了数据展示方法及装置,可以解决目前在嘈杂环境下,机器人的待行走路径对应的路径提示效果较差的问题。The embodiments of the present application provide a data display method and device, which can solve the current problem of poor path prompting effect corresponding to the robot's to-be-walked path in a noisy environment.

第一方面,本申请实施例提供了一种数据展示方法,所述数据展示方法应用于机器人,所述机器人设置有投影装置,所述数据展示方法包括:In a first aspect, embodiments of the present application provide a data display method. The data display method is applied to a robot. The robot is provided with a projection device. The data display method includes:

获取包括待行走路径信息的图像;Obtain an image including information about the path to be walked;

将所述包括待行走路径信息的图像发送至所述投影装置,指示所述投影装置投影所述包括待行走路径信息的图像。The image including the information on the path to be walked is sent to the projection device, and the projection device is instructed to project the image including the information on the path to be walked.

在第一方面的第一种可能的实现方式中,所述包括待行走路径信息的图像的宽度为所述机器人在待行走路径上所占用的路径宽度,对应地,所述获取包括待行走路径信息的图像,包括:In a first possible implementation manner of the first aspect, the width of the image including the path information to be walked is the width of the path occupied by the robot on the path to be walked, and correspondingly, the acquisition includes the path to be walked. Informational images including:

根据所述机器人在待行走路径上所占用的路径宽度和待行走路径信息,生成包括待行走路径信息的图像。According to the path width occupied by the robot on the path to be walked and the path information to be walked, an image including the path information to be walked is generated.

在第一方面的第二种可能的实现方式中,所述待行走路径信息包括待行走路径的形状信息,对应地,所述获取包括待行走路径信息的图像,包括:In a second possible implementation manner of the first aspect, the to-be-walked path information includes the shape information of the to-be-walked path, and correspondingly, the obtaining an image including the to-be-walked path information includes:

获取包括待行走路径的形状信息的图像;Obtain an image including shape information of the path to be walked;

对应地,所述将所述包括待行走路径信息的图像发送至所述投影装置,包括:Correspondingly, sending the image including the path information to be walked to the projection device includes:

将所述包括待行走路径的形状信息的图像发送至所述投影装置。The image including the shape information of the path to be walked is sent to the projection device.

在第一方面的第三种可能的实现方式中,在所述获取包括待行走路径信息的图像之后,包括:In a third possible implementation manner of the first aspect, after obtaining the image including the path information to be walked, the method includes:

根据图像缩放因子对所述包括待行走路径信息的图像进行校正;Correct the image including the path information to be walked according to the image scaling factor;

对应地,所述将所述包括待行走路径信息的图像发送至所述投影装置,包括:Correspondingly, sending the image including the path information to be walked to the projection device includes:

将校正后的包括待行走路径信息的图像发送至所述投影装置。The corrected image including the path information to be walked is sent to the projection device.

基于本申请第一方面的第三种可能的实现方式,在第四种可能的实现方式中,所述投影装置的镜头光轴与地面的夹角小于90度,对应地,在所述根据图像缩放因子对所述包括待行走路径信息的图像进行校正之前,包括:Based on the third possible implementation of the first aspect of the application, in the fourth possible implementation, the angle between the optical axis of the lens of the projection device and the ground is less than 90 degrees. Correspondingly, in the image according to Before correcting the image including the path information to be walked, the scaling factor includes:

根据第一投影图像和第二投影图像获取图像缩放因子,所述第一投影图像为所述投影装置投影在地面上的投影图像,所述第二投影图像为所述投影装置投影在与所述镜头光轴垂直的平面上的投影图像。The image scaling factor is obtained according to the first projection image and the second projection image. The first projection image is the projection image projected by the projection device on the ground. The second projection image is the projection image projected by the projection device on the ground. The projected image on a plane perpendicular to the optical axis of the lens.

基于本申请第一方面的第四种可能的实现方式,在第五种可能的实现方式中,所述图像缩放因子包括:图像长度缩放因子和图像宽度缩放因子,对应地,所述根据第一投影图像和第二投影图像获取图像缩放因子,包括:Based on the fourth possible implementation manner of the first aspect of the present application, in the fifth possible implementation manner, the image scaling factor includes: an image length scaling factor and an image width scaling factor, correspondingly, the image scaling factor according to the first The projected image and the second projected image obtain image scaling factors, including:

根据第一投影图像的最大长度和所述第二投影图像的最大长度确定图像长度缩放因子,以及,根据第一投影图像的最大宽度和所述第二投影图像的最大宽度确定图像宽度缩放因子。The image length scaling factor is determined based on the maximum length of the first projected image and the maximum length of the second projected image, and the image width scaling factor is determined based on the maximum width of the first projected image and the maximum width of the second projected image.

在第一方面的第六种可能的实现方式中,在所述将所述包括待行走路径信息的图像发送至所述投影装置之前,包括:In a sixth possible implementation manner of the first aspect, before sending the image including the path information to be walked to the projection device, the method includes:

获取环境参数;Get environment parameters;

根据所述环境参数调节所述包括待行走路径信息的图像的图像特征;Adjust the image characteristics of the image including the path information to be walked according to the environmental parameters;

对应地,所述将所述包括待行走路径信息的图像发送至所述投影装置包括:Correspondingly, sending the image including the path information to be walked to the projection device includes:

将图像特征调节过的包括待行走路径信息的图像发送至所述投影装置。The image with adjusted image characteristics and including the path information to be walked is sent to the projection device.

第二方面,本申请实施例提供了一种数据展示装置,所述数据展示装置应用于机器人,所述机器人设置有投影装置,所述数据展示装置包括:In a second aspect, embodiments of the present application provide a data display device. The data display device is applied to a robot. The robot is provided with a projection device. The data display device includes:

获取单元,用于获取包括待行走路径信息的图像;An acquisition unit used to acquire an image including information on the path to be walked;

指示单元,用于将所述包括待行走路径信息的图像发送至所述投影装置,指示所述投影装置投影所述包括待行走路径信息的图像。An instruction unit, configured to send the image including the path information to be walked to the projection device, and instruct the projection device to project the image including the path information to be walked.

第三方面,本申请实施例提供了一种机器人,包括:存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机程序,所述机器人设置有投影装置,所述处理器执行所述计算机程序时实现如所述数据展示方法的步骤。In a third aspect, embodiments of the present application provide a robot, including: a memory, a processor, and a computer program stored in the memory and executable on the processor. The robot is provided with a projection device, and the When the processor executes the computer program, the steps of the data display method are implemented.

第四方面,本申请实施例提供了一种计算机可读存储介质,包括:所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时实现如所述数据展示方法的步骤。In a fourth aspect, embodiments of the present application provide a computer-readable storage medium, including: the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the data display method are implemented. .

第五方面,本申请实施例提供了一种计算机程序产品,当计算机程序产品在机器人上运行时,使得机器人执行上述第一方面中任一项所述数据展示方法的步骤。In a fifth aspect, embodiments of the present application provide a computer program product. When the computer program product is run on a robot, it causes the robot to perform the steps of the data display method described in any one of the above-mentioned first aspects.

可以理解的是,上述第二方面至第五方面的有益效果可以参见上述第一方面中的相关描述,在此不再赘述。It can be understood that the beneficial effects of the above-mentioned second aspect to the fifth aspect can be referred to the relevant description in the above-mentioned first aspect, and will not be described again here.

本申请实施例与现有技术相比存在的有益效果是:由于机器人能获取包括待行走路径信息的图像,并将所述包括待行走路径信息的图像发送至所述投影装置,指示所述投影装置投影所述包括待行走路径信息的图像,使得人们能够通过图像获知机器人待行走路径信息,且不受周围声音的影响,因此,有效地提高了机器人的待行走路径对应的路径提示效果。Compared with the existing technology, the beneficial effects of the embodiments of the present application are: because the robot can obtain an image including the path information to be walked, and send the image including the path information to be walked to the projection device, instructing the projection The device projects the image including the information of the path to be walked, so that people can obtain the information of the path to be walked by the robot through the image, and is not affected by the surrounding sound. Therefore, the path prompt effect corresponding to the path to be walked of the robot is effectively improved.

附图说明Description of the drawings

为了更清楚地说明本申请实施例中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments or description of the prior art will be briefly introduced below. Obviously, the drawings in the following description are only for the purpose of the present application. For some embodiments, for those of ordinary skill in the art, other drawings can be obtained based on these drawings without exerting creative efforts.

图1是本申请一实施例提供的数据展示方法的流程示意图;Figure 1 is a schematic flowchart of a data display method provided by an embodiment of the present application;

图2是本申请一实施例提供的箭头图形的示意图;Figure 2 is a schematic diagram of an arrow graphic provided by an embodiment of the present application;

图3是本申请另一实施例提供的数据展示方法的流程示意图;Figure 3 is a schematic flowchart of a data display method provided by another embodiment of the present application;

图4是本申请一实施例提供的出现发散现象的第一投影图像的示意图;Figure 4 is a schematic diagram of a first projection image with divergence phenomenon provided by an embodiment of the present application;

图5是本申请一实施例提供的指定相机的示意图;Figure 5 is a schematic diagram of a designated camera provided by an embodiment of the present application;

图6是本申请实施例提供的一种数据展示装置的结构示意图;Figure 6 is a schematic structural diagram of a data display device provided by an embodiment of the present application;

图7是本申请实施例提供的机器人的结构示意图。Figure 7 is a schematic structural diagram of a robot provided by an embodiment of the present application.

具体实施方式Detailed ways

以下描述中,为了说明而不是为了限定,提出了诸如特定系统结构、技术之类的具体细节,以便透彻理解本申请实施例。然而,本领域的技术人员应当清楚,在没有这些具体细节的其它实施例中也可以实现本申请。在其它情况中,省略对众所周知的系统、装置、电路以及方法的详细说明,以免不必要的细节妨碍本申请的描述。In the following description, for the purpose of explanation rather than limitation, specific details such as specific system structures and technologies are provided to provide a thorough understanding of the embodiments of the present application. However, it will be apparent to those skilled in the art that the present application may be practiced in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.

应当理解,当在本申请说明书和所附权利要求书中使用时,术语“包括”指示所描述特征、整体、步骤、操作、元素和/或组件的存在,但并不排除一个或多个其它特征、整体、步骤、操作、元素、组件和/或其集合的存在或添加。It will be understood that, when used in this specification and the appended claims, the term "comprising" indicates the presence of the described features, integers, steps, operations, elements and/or components but does not exclude one or more other The presence or addition of features, integers, steps, operations, elements, components and/or collections thereof.

还应当理解,在本申请说明书和所附权利要求书中使用的术语“和/或”是指相关联列出的项中的一个或多个的任何组合以及所有可能组合,并且包括这些组合。It will also be understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.

如在本申请说明书和所附权利要求书中所使用的那样,术语“如果”可以依据上下文被解释为“当...时”或“一旦”或“响应于确定”或“响应于检测到”。类似地,短语“如果确定”或“如果检测到[所描述条件或事件]”可以依据上下文被解释为意指“一旦确定”或“响应于确定”或“一旦检测到[所描述条件或事件]”或“响应于检测到[所描述条件或事件]”。As used in this specification and the appended claims, the term "if" may be interpreted as "when" or "once" or "in response to determining" or "in response to detecting" depending on the context. ". Similarly, the phrase "if determined" or "if [the described condition or event] is detected" may be interpreted, depending on the context, to mean "once determined" or "in response to a determination" or "once the [described condition or event] is detected ]" or "in response to detection of [the described condition or event]".

另外,在本申请说明书和所附权利要求书的描述中,术语“第一”、“第二”等仅用于区分描述,而不能理解为指示或暗示相对重要性。In addition, in the description of this application and the appended claims, the terms "first", "second", etc. are only used to distinguish the description, and cannot be understood as indicating or implying relative importance.

在本申请说明书中描述的参考“一个实施例”或“一些实施例”等意味着在本申请的一个或多个实施例中包括结合该实施例描述的特定特征、结构或特点。由此,在本说明书中的不同之处出现的语句“在一个实施例中”、“在一些实施例中”、“在其他一些实施例中”、“在另外一些实施例中”等不是必然都参考相同的实施例,而是意味着“一个或多个但不是所有的实施例”,除非是以其他方式另外特别强调。术语“包括”、“包含”、“具有”及它们的变形都意味着“包括但不限于”,除非是以其他方式另外特别强调。Reference in this specification to "one embodiment" or "some embodiments" or the like means that a particular feature, structure or characteristic described in connection with the embodiment is included in one or more embodiments of the application. Therefore, the phrases "in one embodiment", "in some embodiments", "in other embodiments", "in other embodiments", etc. appearing in different places in this specification are not necessarily References are made to the same embodiment, but rather to "one or more but not all embodiments" unless specifically stated otherwise. The terms “including,” “includes,” “having,” and variations thereof all mean “including but not limited to,” unless otherwise specifically emphasized.

实施例一:Example 1:

图1示出了本申请实施例提供的第一种数据展示方法的流程示意图,所述数据展示方法应用于机器人,所述机器人设置有投影装置,详述如下:Figure 1 shows a schematic flow chart of the first data display method provided by the embodiment of the present application. The data display method is applied to a robot, and the robot is equipped with a projection device. The details are as follows:

步骤S101,获取包括待行走路径信息的图像。Step S101: Obtain an image including information about the path to be walked.

具体地,所述步骤S101包括:生成包括待行走路径信息的图像,或从指定终端上进行获取包括待行走路径信息的图像。Specifically, step S101 includes: generating an image including information on a path to be walked, or acquiring an image including information on a path to be walked from a designated terminal.

作为示例而非限定的是,所述指定终端可为服务器,所述待行走路径信息可为:待行走全局路径信息或待行走局部路径信息。As an example and not a limitation, the designated terminal may be a server, and the path information to be traveled may be: global path information to be traveled or local path information to be traveled.

可选地,由于所述机器人在待行走路径上所占用的路径宽度会影响人们的运动,因此,为了使得人们能够直观地了解所述机器人在待行走路径上所占用的路径宽度,方便人们规划人体运动路径,所述包括待行走路径信息的图像的宽度为所述机器人在待行走路径上所占用的路径宽度,对应地,所述步骤S101,包括:根据所述机器人在待行走路径上所占用的路径宽度和待行走路径信息,生成包括待行走路径信息的图像。Optionally, since the width of the path occupied by the robot on the path to be walked will affect people's movements, in order to enable people to intuitively understand the width of the path occupied by the robot on the path to be walked, it is convenient for people to plan Human body movement path, the width of the image including the path information to be walked is the width of the path occupied by the robot on the path to be walked. Correspondingly, the step S101 includes: according to the position of the robot on the path to be walked. The occupied path width and the path information to be walked are used to generate an image including the path information to be walked.

作为示例而非限定的是,假设所述机器人在待行走路径上所占用的路径宽度为0.5米,即所述包括待行走路径信息的图像的宽度为0.5米,对应地,所述生成包括待行走路径信息的图像具体为:生成包括待行走路径信息且宽为0.5米的图像。As an example and not a limitation, assume that the path width occupied by the robot on the path to be walked is 0.5 meters, that is, the width of the image including the path information to be walked is 0.5 meters. Correspondingly, the generation includes the path to be walked. The specific image of the walking path information is: generating an image including the to-be-walked path information and having a width of 0.5 meters.

作为示例而非限定的是,所述根据所述机器人在待行走路径上所占用的路径宽度和待行走路径信息,生成包括待行走路径信息的图像,具体包括:若所述机器人在待行走路径上所占用的路径宽度小于或者等于待行走路径的实际宽度,则根据所述机器人在待行走路径上所占用的路径宽度和待行走路径信息,生成包括待行走路径信息的图像。As an example and not a limitation, generating an image including the path information to be walked based on the path width occupied by the robot on the path to be walked and the path information to be walked specifically includes: if the robot is on the path to be walked If the path width occupied by the robot is less than or equal to the actual width of the path to be walked, an image including the path information to be walked is generated based on the path width occupied by the robot on the path to be walked and the path information to be walked.

在一些实施例中,在现实情况中,可能会出现所述机器人在待行走路径上所占用的路径宽度大于待行走路径的实际宽度的情况,为了保证机器人能够顺利行走,因此,所述根据所述机器人在待行走路径上所占用的路径宽度和待行走路径信息,生成包括待行走路径信息的图像包括:若所述机器人在待行走路径上所占用的路径宽度大于待行走路径的实际宽度,则重新规划待行走路径,根据重新规划过的待行走路径对应的待行走路径信息和所述机器人在重新规划过的待行走路径上所占用的路径宽度,生成包括重新规划过的待行走路径对应的待行走路径信息的图像,其中,重新规划过的待行走路径的实际宽度大于或者等于所述机器人在待行走路径上所占用的路径宽度。In some embodiments, in real situations, it may happen that the width of the path occupied by the robot on the path to be walked is greater than the actual width of the path to be walked. In order to ensure that the robot can walk smoothly, therefore, the path width occupied by the robot is greater than the actual width of the path to be walked. The path width occupied by the robot on the path to be walked and the path information to be walked, and generating an image including the path information to be walked includes: if the path width occupied by the robot on the path to be walked is greater than the actual width of the path to be walked, Then re-plan the path to be walked, and generate a corresponding path including the re-planned path to be walked based on the path information to be walked corresponding to the re-planned path to be walked and the path width occupied by the robot on the re-planned path to be walked. An image of the information of the path to be walked, wherein the actual width of the replanned path to be walked is greater than or equal to the width of the path occupied by the robot on the path to be walked.

步骤S102,将所述包括待行走路径信息的图像发送至所述投影装置,指示所述投影装置投影所述包括待行走路径信息的图像。Step S102: Send the image including the path information to be walked to the projection device, and instruct the projection device to project the image including the path information to be walked.

具体地,所述指示所述投影装置投影所述包括待行走路径信息的图像包括:发送投影启动指令至所述投影装置,所述投影启动指令用于指示所述投影装置投影所述包括待行走路径信息的图像。Specifically, instructing the projection device to project the image including the path information to be walked includes: sending a projection start instruction to the projection device, and the projection start instruction is used to instruct the projection device to project the image including the path information to be walked. Image of path information.

可选地,为了使得用户能通过投影出的图像了解到机器人的待行走路径的形状信息,此时,所述待行走路径信息包括待行走路径的形状信息,对应地,所述步骤S101,包括:获取包括待行走路径的形状信息的图像;对应地,所述将所述包括待行走路径信息的图像发送至所述投影装置,包括:将所述包括待行走路径的形状信息的图像发送至所述投影装置。Optionally, in order to enable the user to understand the shape information of the robot's path to be walked through the projected image, at this time, the path information to be walked includes the shape information of the path to be walked, correspondingly, step S101 includes : Obtaining an image including the shape information of the path to be walked; correspondingly, the sending the image including the information of the path to be walked to the projection device includes: sending the image including the shape information of the path to be walked to The projection device.

在一些实施例中,所述待行走路径的形状信息在所述包括待行走路径的形状信息的图像中的体现形式可为文字。例如,所述待行走路径的形状信息的具体为“S型”路径。若体现形式为文字,则所述包括待行走路径的形状信息的图像中可包括文字内容“S型”路径。由于文字的体现形式较为简洁,能够使得用户在较短的时间内接受到待行走路径的形状信息,因此,大大提高了待行走路径的形状信息的信息传递效率。In some embodiments, the shape information of the path to be walked may be embodied in the image including the shape information of the path to be walked in the form of text. For example, the shape information of the path to be walked is specifically an "S-shaped" path. If the embodiment is text, the image including the shape information of the path to be walked may include the text content "S-shaped" path. Since the text is expressed in a relatively concise form, the user can receive the shape information of the path to be walked in a short period of time. Therefore, the information transmission efficiency of the shape information of the path to be walked is greatly improved.

在一些实施例中,所述待行走路径的形状信息在所述包括待行走路径的形状信息的图像中的体现形式可为图形,由于图形的体现形式较为形象,因此,待行走路径的形状信息能给用户留下较为深刻的印象,大大提高了待行走路径的形状信息的信息传递效果。In some embodiments, the shape information of the path to be walked in the image including the shape information of the path to be walked may be a graphic form. Since the representation form of the graphic is relatively vivid, the shape information of the path to be walked is It can leave a deep impression on the user and greatly improve the information transmission effect of the shape information of the path to be walked.

作为示例而非限定的是,所述待行走路径的形状信息在所述包括待行走路径的形状信息的图像中的体现形式可具体为箭头图形,所述箭头图形可如图2所示,所述箭头图形包括箭头端和线端,在所述获取包括待行走路径的形状信息的图像之前,包括:根据待行走路径的形状信息确定箭头图形参数,对应地,所述获取包括待行走路径的形状信息的图像包括:根据所述箭头图形参数生成包括待行走路径的形状信息的图像,所述箭头图形参数包括以下任意一种:箭头端指向、线端形状参数,所述线端形状参数可包括但不限于:线端长度或/和线端的弯曲程度参数。其中,箭头端指向可表示机器人的目的地相对于所述机器人的方向。As an example and not a limitation, the shape information of the path to be walked in the image including the shape information of the path to be walked can be specifically an arrow graphic, and the arrow graphic can be as shown in Figure 2, so The arrow graphic includes an arrow end and a line end. Before obtaining the image including the shape information of the path to be walked, it includes: determining the arrow graphic parameters according to the shape information of the path to be walked. Correspondingly, the acquisition includes the shape information of the path to be walked. The image of the shape information includes: generating an image including the shape information of the path to be walked according to the arrow graphic parameters. The arrow graphic parameters include any one of the following: arrow end direction, line end shape parameter, and the line end shape parameter can be Including but not limited to: wire end length or/and wire end bending parameters. The direction of the arrow end may indicate the destination of the robot relative to the direction of the robot.

可选地,为了避免环境对图像的投影效果造成不良的影响,因此,在所述步骤S102之前,包括:获取环境参数;根据所述环境参数调节所述包括待行走路径信息的图像的图像特征;对应地,所述将所述包括待行走路径信息的图像发送至所述投影装置包括:将图像特征调节过的包括待行走路径信息的图像发送至所述投影装置。Optionally, in order to avoid adverse effects of the environment on the projection effect of the image, before step S102, the method includes: obtaining environmental parameters; adjusting the image characteristics of the image including the path information to be walked according to the environmental parameters. ; Correspondingly, sending the image including the path information to be walked to the projection device includes: sending the image including the path information to be walked with adjusted image characteristics to the projection device.

作为示例而非限定的是,所述环境参数可包括以下至少一种:光照强度、地面湿度。所述图像特征可包括以下至少一种:图像的颜色特征、图像的纹理特征。As an example and not a limitation, the environmental parameters may include at least one of the following: light intensity, ground humidity. The image features may include at least one of the following: color features of the image and texture features of the image.

具体地,所述根据所述环境参数调节所述包括待行走路径信息的图像的图像特征包括:若所述环境参数对应的数值不在预设数值范围内,则根据所述环境参数调节所述包括待行走路径信息的图像的图像特征。Specifically, adjusting the image characteristics of the image including the path information to be walked according to the environmental parameters includes: if the value corresponding to the environmental parameter is not within a preset value range, adjusting the image characteristics according to the environmental parameters. Image features of the image of the path information to be walked.

在一些实施例中,若所述环境参数对应的数值在预设数值范围内,则执行所述步骤S102,不需要根据所述环境参数调节所述包括待行走路径信息的图像的图像特征,从而提高图像投影效率。In some embodiments, if the value corresponding to the environmental parameter is within the preset value range, step S102 is performed, and there is no need to adjust the image features of the image including the path information to be walked according to the environmental parameter, so that Improve image projection efficiency.

本申请实施例中,由于机器人能获取包括待行走路径信息的图像,并将所述包括待行走路径信息的图像发送至所述投影装置,指示所述投影装置投影所述包括待行走路径信息的图像,使得人们能够通过图像获知机器人待行走路径信息,且不受周围声音的影响,因此,有效地提高了机器人的待行走路径对应的路径提示效果。In the embodiment of the present application, since the robot can obtain an image including the information of the path to be walked, and send the image including the information of the path to be walked to the projection device, instruct the projection device to project the image including the information of the path to be walked. The image enables people to obtain information about the robot's path to be walked through the image, and is not affected by surrounding sounds. Therefore, it effectively improves the path prompt effect corresponding to the robot's path to be walked.

实施例二:Example 2:

图3示出了本申请实施例提供的第二种数据展示方法的流程示意图,所述数据展示方法应用于机器人,所述机器人设置有投影装置,本实施例的步骤S301与实施例一的步骤S101相同,此处不再赘述:Figure 3 shows a schematic flowchart of the second data display method provided by the embodiment of the present application. The data display method is applied to a robot. The robot is equipped with a projection device. Step S301 of this embodiment is the same as the step of Embodiment 1. The same as S101 and will not be repeated here:

步骤S301,获取包括待行走路径信息的图像。Step S301: Obtain an image including information on the path to be walked.

步骤S302,根据图像缩放因子对所述包括待行走路径信息的图像进行校正。Step S302: Correct the image including the path information to be walked according to the image scaling factor.

具体地,根据图像缩放因子对所述包括待行走路径信息的图像中的感兴趣区域进行校正。Specifically, the region of interest in the image including the path information to be walked is corrected according to the image scaling factor.

可选地,所述投影装置的镜头光轴与地面的夹角小于90度,对应地,在所述步骤S302之前,包括:根据第一投影图像和第二投影图像获取图像缩放因子,所述第一投影图像为所述投影装置投影在地面上的投影图像,所述第二投影图像为所述投影装置投影在与所述镜头光轴垂直的平面上的投影图像。Optionally, the angle between the optical axis of the lens of the projection device and the ground is less than 90 degrees. Correspondingly, before step S302, the method includes: obtaining an image scaling factor according to the first projection image and the second projection image, the The first projection image is a projection image projected by the projection device on the ground, and the second projection image is a projection image projected by the projection device on a plane perpendicular to the optical axis of the lens.

当所述投影装置的镜头光轴与地面的夹角小于90度时,所述第一投影图像会出现发散现象,例如,如图4所示,图4左侧的箭头图形是未出现发散现象的第二投影图像,右侧的箭头图形是出现发散现象的第一投影图像,右侧的箭头图形的上端是距离投影装置较远的一端,下端是距离投影装置较近的一端。由于能够根据第一投影图像和第二投影图像获取图像缩放因子,从而能保证后续步骤中的校正后的包括待行走路径信息的图像对应的投影效果如同未出现发散现象的投影图像对应的投影效果。When the angle between the optical axis of the lens of the projection device and the ground is less than 90 degrees, the first projected image will diverge. For example, as shown in Figure 4, the arrow pattern on the left side of Figure 4 means that there is no divergence. The second projection image, the arrow graphic on the right is the first projection image with divergence phenomenon, the upper end of the arrow graphic on the right is the end farther from the projection device, and the lower end is the end closer to the projection device. Since the image scaling factor can be obtained according to the first projection image and the second projection image, it can be ensured that the projection effect corresponding to the corrected image including the path information to be walked in the subsequent steps is the same as the projection effect corresponding to the projection image without divergence phenomenon. .

具体地,根据第一投影图像的图像形状参数和第二投影图像的图像形状参数获取图像缩放因子。Specifically, the image scaling factor is obtained according to the image shape parameter of the first projection image and the image shape parameter of the second projection image.

作为示例而非限定的是,如图5所示,所述指定相机为悬挂在第一投影图像的中间位置的正上方的相机,所述第一投影图像可通过所述指定相机拍摄得到,所述图像形状参数包括以下任一种:图像的长度、图像的宽度、图像中圆角的弧度。As an example and not a limitation, as shown in Figure 5, the designated camera is a camera suspended directly above the middle position of the first projection image, and the first projection image can be captured by the designated camera, so The image shape parameters include any of the following: the length of the image, the width of the image, and the arc of the rounded corners in the image.

可选地,所述图像缩放因子包括:图像长度缩放因子和图像宽度缩放因子,对应地,所述根据第一投影图像和第二投影图像获取图像缩放因子,包括:根据第一投影图像的最大长度和所述第二投影图像的最大长度确定图像长度缩放因子,以及,根据第一投影图像的最大宽度和所述第二投影图像的最大宽度确定图像宽度缩放因子,由于第一投影图像的最大长度和最大宽度、第二投影图像的最大长度和最大宽度等特征比较明显,不需要进行特别复杂的运算就能将其确定出来,因此,能够有效地提高图像缩放因子的确定效率。Optionally, the image scaling factor includes: an image length scaling factor and an image width scaling factor. Correspondingly, the obtaining the image scaling factor according to the first projection image and the second projection image includes: according to the maximum of the first projection image. length and the maximum length of the second projected image determine an image length scaling factor, and an image width scaling factor is determined based on the maximum width of the first projected image and the maximum width of the second projected image, since the maximum width of the first projected image Features such as the length and maximum width, and the maximum length and maximum width of the second projection image are relatively obvious and can be determined without performing particularly complex operations. Therefore, the efficiency of determining the image scaling factor can be effectively improved.

作为示例而非限定的是,将第一投影图像的最大长度除以所述第二投影图像的最大长度所得到的商确定为图像长度缩放因子,以及,将第一投影图像的最大宽度除以所述第二投影图像的最大宽度所得到的商确定为图像宽度缩放因子。By way of example and not limitation, the quotient obtained by dividing the maximum length of the first projection image by the maximum length of the second projection image is determined as the image length scaling factor, and the maximum width of the first projection image is divided by The resulting quotient of the maximum width of the second projected image is determined as the image width scaling factor.

步骤S303,将校正后的包括待行走路径信息的图像发送至所述投影装置。Step S303: Send the corrected image including the path information to be walked to the projection device.

作为示例而非限定的是,假设校正后的包括待行走路径信息的图像为图像甲,则将所述图像甲发送至所述投影装置。As an example and not a limitation, assuming that the corrected image including the path information to be walked is image A, then the image A is sent to the projection device.

本申请实施例中,由于机器人能够根据图像缩放因子对所述包括待行走路径信息的图像进行校正,因此,投影校正后的包括待行走路径信息的图像,能够有效地提高机器人的待行走路径对应的路径提示效果。In the embodiment of the present application, since the robot can correct the image including the path information to be walked according to the image scaling factor, therefore, projecting the corrected image including the path information to be walked can effectively improve the robot's path correspondence path prompt effect.

实施例三:Embodiment three:

与上述实施例二对应,图6示出了本申请实施例提供的一种数据展示装置的结构示意图,所述数据展示装置应用于机器人,所述机器人设置有投影装置,为了便于说明,仅示出了与本申请实施例相关的部分。Corresponding to the above-mentioned second embodiment, FIG. 6 shows a schematic structural diagram of a data display device provided by an embodiment of the present application. The data display device is applied to a robot. The robot is equipped with a projection device. For convenience of explanation, only the data display device is shown. Parts related to the embodiments of this application are shown.

该数据展示装置包括:获取单元601和指示单元602。The data display device includes: an acquisition unit 601 and an instruction unit 602.

所述获取单元601,用于获取包括待行走路径信息的图像。The obtaining unit 601 is used to obtain an image including information on the path to be walked.

可选地,由于所述机器人在待行走路径上所占用的路径宽度会影响人们的运动,因此,为了使得人们能够直观地了解所述机器人在待行走路径上所占用的路径宽度,方便人们规划人体运动路径,所述包括待行走路径信息的图像的宽度为所述机器人在待行走路径上所占用的路径宽度,对应地,所述获取单元601在执行所述获取包括待行走路径信息的图像时,具体用于:根据所述机器人在待行走路径上所占用的路径宽度和待行走路径信息,生成包括待行走路径信息的图像。Optionally, since the width of the path occupied by the robot on the path to be walked will affect people's movements, in order to enable people to intuitively understand the width of the path occupied by the robot on the path to be walked, it is convenient for people to plan Human body motion path, the width of the image including the path information to be walked is the path width occupied by the robot on the path to be walked. Correspondingly, the acquisition unit 601 is performing the acquisition of the image including the path information to be walked. When, it is specifically used to: generate an image including the path information to be walked according to the path width occupied by the robot on the path to be walked and the path information to be walked.

所述指示单元602,用于将所述包括待行走路径信息的图像发送至所述投影装置,指示所述投影装置投影所述包括待行走路径信息的图像。The instruction unit 602 is configured to send the image including the path information to be walked to the projection device, and instruct the projection device to project the image including the path information to be walked.

可选地,为了使得用户能通过投影出的图像了解到机器人的待行走路径的形状信息,此时,所述待行走路径信息包括待行走路径的形状信息,对应地,所述获取单元601在执行所述获取包括待行走路径信息的图像时,具体用于:获取包括待行走路径的形状信息的图像;对应地,所述指示单元602在执行所述将所述包括待行走路径信息的图像发送至所述投影装置时,具体用于:将所述包括待行走路径的形状信息的图像发送至所述投影装置。Optionally, in order to enable the user to understand the shape information of the robot's path to be walked through the projected image, at this time, the path information to be walked includes the shape information of the path to be walked, correspondingly, the acquisition unit 601 When executing the acquisition of the image including the path information to be walked, it is specifically used to: acquire the image including the shape information of the path to be walked; correspondingly, the instruction unit 602 performs the step of acquiring the image including the path information to be walked. When sent to the projection device, it is specifically used to: send the image including the shape information of the path to be walked to the projection device.

作为示例而非限定的是,所述待行走路径的形状信息在所述包括待行走路径的形状信息的图像中的体现形式可具体为箭头图形,所述箭头图形包括箭头端和线端,该数据展示装置还包括:箭头图形参数确定单元。所述箭头图形参数确定单元用于:在所述获取单元601执行所述获取包括待行走路径的形状信息的图像之前,根据待行走路径的形状信息确定箭头图形参数,对应地,所述获取单元601在执行所述获取包括待行走路径的形状信息的图像时,具体用于:根据所述箭头图形参数生成包括待行走路径的形状信息的图像,所述箭头图形参数包括以下任意一种:箭头端指向、线端形状参数,所述线端形状参数可包括但不限于:线端长度或/和线端的弯曲程度参数。其中,箭头端指向可表示机器人的目的地相对于所述机器人的方向。As an example and not a limitation, the shape information of the path to be walked in the image including the shape information of the path to be walked can be specifically an arrow graphic, and the arrow graphic includes an arrow end and a line end. The data display device also includes: an arrow graphic parameter determination unit. The arrow graphic parameter determination unit is configured to determine the arrow graphic parameters according to the shape information of the path to be walked before the acquisition unit 601 performs the acquisition of the image including the shape information of the path to be walked. Correspondingly, the acquisition unit 601 When performing the acquisition of an image including the shape information of the path to be walked, it is specifically configured to: generate an image including the shape information of the path to be walked according to the arrow graphic parameters, where the arrow graphic parameters include any one of the following: arrow End orientation and line end shape parameters. The line end shape parameters may include but are not limited to: line end length or/and line end curvature parameters. The direction of the arrow end may indicate the destination of the robot relative to the direction of the robot.

可选地,该数据展示装置还包括:图像特征调节单元。Optionally, the data display device further includes: an image feature adjustment unit.

所述图像特征调节单元用于:在所述指示单元602执行所述将所述包括待行走路径信息的图像发送至所述投影装置之前,获取环境参数;根据所述环境参数调节所述包括待行走路径信息的图像的图像特征;对应地,所述指示单元602在执行所述将所述包括待行走路径信息的图像发送至所述投影装置时,具体用于:将图像特征调节过的包括待行走路径信息的图像发送至所述投影装置。The image feature adjustment unit is configured to: obtain environmental parameters before the instruction unit 602 performs sending the image including the path information to be walked to the projection device; adjust the image including the path information to be walked according to the environmental parameters. Image characteristics of the image of the walking path information; correspondingly, when performing the sending of the image including the to-be-walked path information to the projection device, the instruction unit 602 is specifically configured to: adjust the image characteristics to include The image of the path information to be walked is sent to the projection device.

可选地,该数据展示装置还包括:校正单元。Optionally, the data display device further includes: a correction unit.

所述校正单元用于:在所述获取单元601执行所述获取包括待行走路径信息的图像之后,根据图像缩放因子对所述包括待行走路径信息的图像进行校正;对应地,所述指示单元602在执行所述将所述包括待行走路径信息的图像发送至所述投影装置时,具体用于:将校正后的包括待行走路径信息的图像发送至所述投影装置。The correction unit is configured to: after the acquisition unit 601 performs the acquisition of the image including the path information to be walked, correct the image including the path information to be walked according to the image scaling factor; correspondingly, the indication unit When performing the step of sending the image including the path information to be walked to the projection device, step 602 is specifically configured to: send the corrected image including the path information to be walked to the projection device.

可选地,所述投影装置的镜头光轴与地面的夹角小于90度,该数据展示装置还包括:缩放因子获取单元。Optionally, the angle between the optical axis of the lens of the projection device and the ground is less than 90 degrees, and the data display device further includes: a scaling factor acquisition unit.

所述缩放因子获取单元用于:在所述校正单元执行所述根据图像缩放因子对所述包括待行走路径信息的图像进行校正之前,根据第一投影图像和第二投影图像获取图像缩放因子,所述第一投影图像为所述投影装置投影在地面上的投影图像,所述第二投影图像为所述投影装置投影在与所述镜头光轴垂直的平面上的投影图像。The scaling factor acquisition unit is configured to: acquire an image scaling factor based on the first projection image and the second projection image before the correction unit performs the correction of the image including the path information to be walked according to the image scaling factor, The first projection image is a projection image projected by the projection device on the ground, and the second projection image is a projection image projected by the projection device on a plane perpendicular to the optical axis of the lens.

可选地,所述图像缩放因子包括:图像长度缩放因子和图像宽度缩放因子,对应地,所述缩放因子获取单元在执行所述根据第一投影图像和第二投影图像获取图像缩放因子时,具体用于:根据第一投影图像的最大长度和所述第二投影图像的最大长度确定图像长度缩放因子,以及,根据第一投影图像的最大宽度和所述第二投影图像的最大宽度确定图像宽度缩放因子。Optionally, the image scaling factor includes: an image length scaling factor and an image width scaling factor. Correspondingly, when the scaling factor acquisition unit performs the acquisition of the image scaling factor according to the first projection image and the second projection image, Specifically used for: determining the image length scaling factor according to the maximum length of the first projection image and the maximum length of the second projection image, and determining the image length according to the maximum width of the first projection image and the maximum width of the second projection image. Width scaling factor.

本申请实施例中,由于机器人能获取包括待行走路径信息的图像,并将所述包括待行走路径信息的图像发送至所述投影装置,指示所述投影装置投影所述包括待行走路径信息的图像,使得人们能够通过图像获知机器人待行走路径信息,且不受周围声音的影响,因此,有效地提高了机器人的待行走路径对应的路径提示效果。In the embodiment of the present application, since the robot can obtain an image including the information of the path to be walked, and send the image including the information of the path to be walked to the projection device, instruct the projection device to project the image including the information of the path to be walked. The image enables people to obtain information about the robot's path to be walked through the image, and is not affected by surrounding sounds. Therefore, it effectively improves the path prompt effect corresponding to the robot's path to be walked.

实施例四:Embodiment 4:

图7为本申请一实施例提供的机器人的结构示意图。如图7所示,该实施例的机器人7包括:至少一个处理器70(图7中仅示出一个)处理器、存储器71以及存储在所述存储器71中并可在所述至少一个处理器70上运行的计算机程序72,所述处理器70执行所述计算机程序72时实现上述任意各个数据展示方法实施例中的步骤。Figure 7 is a schematic structural diagram of a robot provided by an embodiment of the present application. As shown in Figure 7, the robot 7 of this embodiment includes: at least one processor 70 (only one is shown in Figure 7), a memory 71, and a processor stored in the memory 71 and available in the at least one processor. The computer program 72 runs on the computer 70. When the processor 70 executes the computer program 72, the steps in any of the above data presentation method embodiments are implemented.

该机器人设置有投影装置,该机器人可包括,但不仅限于,处理器70、存储器71。本领域技术人员可以理解,图7仅仅是机器人7的举例,并不构成对机器人7的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件,例如还可以包括输入输出设备、网络接入设备等。The robot is provided with a projection device, and the robot may include, but is not limited to, a processor 70 and a memory 71 . Those skilled in the art can understand that Figure 7 is only an example of the robot 7 and does not constitute a limitation on the robot 7. It may include more or fewer components than shown in the figure, or combine certain components, or different components, such as It can also include input and output devices, network access devices, etc.

所称处理器70可以是中央处理单元(Central Processing Unit,CPU),该处理器70还可以是其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。The so-called processor 70 may be a central processing unit (Central Processing Unit, CPU). The processor 70 may also be other general-purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit). , ASIC), off-the-shelf programmable gate array (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, etc.

所述存储器71在一些实施例中可以是所述机器人7的内部存储单元,例如机器人7的硬盘或内存。所述存储器71在另一些实施例中也可以是所述机器人7的外部存储设备,例如所述机器人7上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。进一步地,所述存储器71还可以既包括所述机器人7的内部存储单元也包括外部存储设备。所述存储器71用于存储操作系统、应用程序、引导装载程序(BootLoader)、数据以及其他程序等,例如所述计算机程序的程序代码等。所述存储器71还可以用于暂时地存储已经输出或者将要输出的数据。The memory 71 may be an internal storage unit of the robot 7 in some embodiments, such as a hard disk or memory of the robot 7 . In other embodiments, the memory 71 may also be an external storage device of the robot 7, such as a plug-in hard disk, a smart memory card (SMC), or a secure digital device equipped on the robot 7. Digital, SD) card, Flash Card, etc. Further, the memory 71 may also include both an internal storage unit of the robot 7 and an external storage device. The memory 71 is used to store operating systems, application programs, boot loaders, data and other programs, such as program codes of the computer programs. The memory 71 can also be used to temporarily store data that has been output or is to be output.

需要说明的是,上述单元之间的信息交互、执行过程等内容,由于与本申请方法实施例基于同一构思,其具体功能及带来的技术效果,具体可参见方法实施例部分,此处不再赘述。It should be noted that the information interaction, execution process, etc. between the above units are based on the same concept as the method embodiments of the present application. For details of their specific functions and technical effects, please refer to the method embodiments section, which will not be discussed here. Again.

所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,仅以上述各功能单元、模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能单元、模块完成,即将所述装置的内部结构划分成不同的功能单元或模块,以完成以上描述的全部或者部分功能。实施例中的各功能单元、模块可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中,上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。另外,各功能单元、模块的具体名称也只是为了便于相互区分,并不用于限制本申请的保护范围。上述系统中单元、模块的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above functional units and modules is used as an example. In actual applications, the above functions can be allocated to different functional units and modules according to needs. Module completion means dividing the internal structure of the device into different functional units or modules to complete all or part of the functions described above. Each functional unit and module in the embodiment can be integrated into one processing unit, or each unit can exist physically alone, or two or more units can be integrated into one unit. The above-mentioned integrated unit can be hardware-based. It can also be implemented in the form of software functional units. In addition, the specific names of each functional unit and module are only for the convenience of distinguishing each other and are not used to limit the scope of protection of the present application. For the specific working processes of the units and modules in the above system, please refer to the corresponding processes in the foregoing method embodiments, and will not be described again here.

本申请实施例还提供了一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时实现可实现上述各个方法实施例中的步骤。Embodiments of the present application also provide a computer-readable storage medium. The computer-readable storage medium stores a computer program. When the computer program is executed by a processor, the steps in each of the above method embodiments can be implemented.

本申请实施例提供了一种计算机程序产品,当计算机程序产品在机器人上运行时,使得机器人执行时实现可实现上述各个方法实施例中的步骤。Embodiments of the present application provide a computer program product. When the computer program product is run on a robot, the steps in each of the above method embodiments can be implemented when the robot is executed.

所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请实现上述实施例方法中的全部或部分流程,可以通过计算机程序来指令相关的硬件来完成,所述的计算机程序可存储于一计算机可读存储介质中,该计算机程序在被处理器执行时,可实现上述各个方法实施例的步骤。其中,所述计算机程序包括计算机程序代码,所述计算机程序代码可以为源代码形式、对象代码形式、可执行文件或某些中间形式等。所述计算机可读介质至少可以包括:能够将计算机程序代码携带到机器人的任何实体或装置、记录介质、计算机存储器、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、电载波信号、电信信号以及软件分发介质。例如U盘、移动硬盘、磁碟或者光盘等。在某些司法管辖区,根据立法和专利实践,计算机可读介质不可以是电载波信号和电信信号。If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it may be stored in a computer-readable storage medium. Based on this understanding, this application can implement all or part of the processes in the methods of the above embodiments by instructing relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium. The computer program When executed by a processor, the steps of each of the above method embodiments may be implemented. Wherein, the computer program includes computer program code, which may be in the form of source code, object code, executable file or some intermediate form. The computer-readable medium may at least include: any entity or device capable of carrying computer program code to the robot, recording media, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electrical carrier signals, telecommunications signals, and software distribution media. For example, U disk, mobile hard disk, magnetic disk or CD, etc. In some jurisdictions, subject to legislation and patent practice, computer-readable media may not be electrical carrier signals and telecommunications signals.

在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述或记载的部分,可以参见其它实施例的相关描述。In the above embodiments, each embodiment is described with its own emphasis. For parts that are not detailed or documented in a certain embodiment, please refer to the relevant descriptions of other embodiments.

本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented with electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Skilled artisans may implement the described functionality using different methods for each specific application, but such implementations should not be considered beyond the scope of this application.

在本申请所提供的实施例中,应该理解到,所揭露的网络设备和方法,可以通过其它的方式实现。例如,以上所描述的网络设备实施例仅仅是示意性的,例如,所述模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通讯连接可以是通过一些接口,装置或单元的间接耦合或通讯连接,可以是电性,机械或其它的形式。In the embodiments provided in this application, it should be understood that the disclosed network devices and methods can be implemented in other ways. For example, the network device embodiments described above are only illustrative. For example, the division of modules or units is only a logical function division. In actual implementation, there may be other division methods, such as multiple units or components. can be combined or can be integrated into another system, or some features can be ignored, or not implemented. On the other hand, the coupling or direct coupling or communication connection between each other shown or discussed may be through some interfaces, indirect coupling or communication connection of devices or units, which may be in electrical, mechanical or other forms.

所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or they may be distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

以上所述实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围,均应包含在本申请的保护范围之内。The above-described embodiments are only used to illustrate the technical solutions of the present application, but not to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still implement the above-mentioned implementations. The technical solutions described in the examples are modified, or some of the technical features are equivalently replaced; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions in the embodiments of this application, and should be included in within the protection scope of this application.

Claims (7)

1.一种数据展示方法,其特征在于,所述数据展示方法应用于机器人,所述机器人设置有投影装置,所述数据展示方法包括:1. A data display method, characterized in that the data display method is applied to a robot, the robot is provided with a projection device, and the data display method includes: 获取包括待行走路径信息的图像;Obtain an image including information about the path to be walked; 根据第一投影图像和第二投影图像获取图像缩放因子,所述第一投影图像为所述投影装置投影在地面上的投影图像,所述第二投影图像为所述投影装置投影在与镜头光轴垂直的平面上的投影图像;The image scaling factor is obtained according to the first projection image and the second projection image. The first projection image is the projection image projected by the projection device on the ground. The second projection image is the projection image projected by the projection device on the ground with the lens light. A projected image on a plane with a vertical axis; 根据所述图像缩放因子对所述包括待行走路径信息的图像进行校正;Correct the image including the path information to be walked according to the image scaling factor; 获取环境参数,所述环境参数包括光照强度和地面湿度中的至少一种;Obtaining environmental parameters, the environmental parameters include at least one of light intensity and ground humidity; 根据所述环境参数调节所述包括待行走路径信息的图像的图像特征,所述图像特征包括颜色特征和纹理特征中的至少一种;Adjust image features of the image including path information to be walked according to the environmental parameters, where the image features include at least one of color features and texture features; 将经校正后的,且经图像特征调节过的包括待行走路径信息的图像发送至所述投影装置,指示所述投影装置投影所述包括待行走路径信息的图像。The corrected and image feature-adjusted image including the information on the path to be walked is sent to the projection device, and the projection device is instructed to project the image including the information on the path to be walked. 2.如权利要求1所述的数据展示方法,其特征在于,所述包括待行走路径信息的图像的宽度为所述机器人在待行走路径上所占用的路径宽度,对应地,所述获取包括待行走路径信息的图像,包括:2. The data display method according to claim 1, wherein the width of the image including the path information to be walked is the width of the path occupied by the robot on the path to be walked, and correspondingly, the acquisition includes Images of path information to be walked, including: 根据所述机器人在待行走路径上所占用的路径宽度和待行走路径信息,生成包括待行走路径信息的图像。According to the path width occupied by the robot on the path to be walked and the path information to be walked, an image including the path information to be walked is generated. 3.如权利要求1所述的数据展示方法,其特征在于,所述待行走路径信息包括待行走路径的形状信息,对应地,所述获取包括待行走路径信息的图像,包括:3. The data display method according to claim 1, wherein the path information to be walked includes shape information of the path to be walked, and correspondingly, the acquisition of an image including the path information to be walked includes: 获取包括待行走路径的形状信息的图像;Obtain an image including shape information of the path to be walked; 对应地,所述将经校正后的,且经图像特征调节过的所述包括待行走路径信息的图像发送至所述投影装置,包括:Correspondingly, sending the corrected and image feature-adjusted image including the path information to be walked to the projection device includes: 将经校正后的,且经图像特征调节过的所述包括待行走路径的形状信息的图像发送至所述投影装置。The corrected and image feature-adjusted image including the shape information of the path to be walked is sent to the projection device. 4.如权利要求1所述的数据展示方法,其特征在于,所述图像缩放因子包括:图像长度缩放因子和图像宽度缩放因子,对应地,所述根据第一投影图像和第二投影图像获取图像缩放因子,包括:4. The data display method according to claim 1, wherein the image scaling factor includes: an image length scaling factor and an image width scaling factor, and correspondingly, the image scaling factor obtained according to the first projection image and the second projection image Image scaling factors, including: 根据第一投影图像的最大长度和所述第二投影图像的最大长度确定图像长度缩放因子,以及,根据第一投影图像的最大宽度和所述第二投影图像的最大宽度确定图像宽度缩放因子。The image length scaling factor is determined based on the maximum length of the first projected image and the maximum length of the second projected image, and the image width scaling factor is determined based on the maximum width of the first projected image and the maximum width of the second projected image. 5.一种数据展示装置,其特征在于,所述数据展示装置应用于机器人,所述机器人设置有投影装置,所述数据展示装置包括:5. A data display device, characterized in that the data display device is applied to a robot, the robot is provided with a projection device, and the data display device includes: 获取单元,用于获取包括待行走路径信息的图像;An acquisition unit used to acquire an image including information on the path to be walked; 图像缩放因子获取单元,用于根据第一投影图像和第二投影图像获取图像缩放因子,所述第一投影图像为所述投影装置投影在地面上的投影图像,所述第二投影图像为所述投影装置投影在与镜头光轴垂直的平面上的投影图像;An image scaling factor acquisition unit, configured to acquire an image scaling factor based on a first projection image and a second projection image, where the first projection image is the projection image projected on the ground by the projection device, and the second projection image is the projection image on the ground. The projection image projected by the projection device on a plane perpendicular to the optical axis of the lens; 校正单元,用于根据所述图像缩放因子对所述包括待行走路径信息的图像进行校正;A correction unit configured to correct the image including the path information to be walked according to the image scaling factor; 图像特征调节单元,用于获取环境参数,所述环境参数包括光照强度和地面湿度中的至少一种;以及用于根据所述环境参数调节所述包括待行走路径信息的图像的图像特征,所述图像特征包括颜色特征和纹理特征中的至少一种;an image feature adjustment unit, configured to obtain environmental parameters, which include at least one of light intensity and ground humidity; and to adjust image features of the image including to-be-walked path information according to the environmental parameters, so The image features include at least one of color features and texture features; 指示单元,用于将经校正后的,且经图像特征调节过的包括待行走路径信息的图像发送至所述投影装置,指示所述投影装置投影所述包括待行走路径信息的图像。An instruction unit, configured to send the corrected image including the path information to be walked and adjusted by image characteristics to the projection device, and instruct the projection device to project the image including the path information to be walked. 6.一种机器人,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机程序,其特征在于,所述机器人设置有投影装置,所述处理器执行所述计算机程序时实现如权利要求1至4任一项所述方法的步骤。6. A robot, including a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the robot is provided with a projection device, and the processor executes the The computer program implements the steps of the method according to any one of claims 1 to 4. 7.一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现如权利要求1至4任一项所述方法的步骤。7. A computer-readable storage medium, the computer-readable storage medium stores a computer program, characterized in that, when the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 4 are implemented. .
CN201911398395.4A 2019-12-30 2019-12-30 Data display method and device Active CN111179148B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911398395.4A CN111179148B (en) 2019-12-30 2019-12-30 Data display method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911398395.4A CN111179148B (en) 2019-12-30 2019-12-30 Data display method and device

Publications (2)

Publication Number Publication Date
CN111179148A CN111179148A (en) 2020-05-19
CN111179148B true CN111179148B (en) 2023-09-08

Family

ID=70655884

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911398395.4A Active CN111179148B (en) 2019-12-30 2019-12-30 Data display method and device

Country Status (1)

Country Link
CN (1) CN111179148B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103400392A (en) * 2013-08-19 2013-11-20 山东鲁能智能技术有限公司 Binocular vision navigation system and method based on inspection robot in transformer substation
WO2018120011A1 (en) * 2016-12-30 2018-07-05 深圳前海达闼云端智能科技有限公司 Projected image correction method and device, and robot
CN108303972A (en) * 2017-10-31 2018-07-20 腾讯科技(深圳)有限公司 The exchange method and device of mobile robot
CN109782962A (en) * 2018-12-11 2019-05-21 中国科学院深圳先进技术研究院 A kind of projection interactive method, device, system and terminal device
CN109996050A (en) * 2017-12-29 2019-07-09 深圳市优必选科技有限公司 Projection robot control method and control device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9840003B2 (en) * 2015-06-24 2017-12-12 Brain Corporation Apparatus and methods for safe navigation of robotic devices
US20190289206A1 (en) * 2018-03-15 2019-09-19 Keiichi Kawaguchi Image processing apparatus, image capturing system, image processing method, and recording medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103400392A (en) * 2013-08-19 2013-11-20 山东鲁能智能技术有限公司 Binocular vision navigation system and method based on inspection robot in transformer substation
WO2018120011A1 (en) * 2016-12-30 2018-07-05 深圳前海达闼云端智能科技有限公司 Projected image correction method and device, and robot
CN108303972A (en) * 2017-10-31 2018-07-20 腾讯科技(深圳)有限公司 The exchange method and device of mobile robot
CN109996050A (en) * 2017-12-29 2019-07-09 深圳市优必选科技有限公司 Projection robot control method and control device
CN109782962A (en) * 2018-12-11 2019-05-21 中国科学院深圳先进技术研究院 A kind of projection interactive method, device, system and terminal device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于视觉的机器人自主定位与障碍物检测方法;丁斗建;赵晓林;王长根;高关根;寇磊;;计算机应用(第06期);全文 *

Also Published As

Publication number Publication date
CN111179148A (en) 2020-05-19

Similar Documents

Publication Publication Date Title
KR102659357B1 (en) Electronic device for providing avatar animation and method thereof
JP6109413B2 (en) Image display method, image display apparatus, terminal, program, and recording medium
CN109118569A (en) Rendering method and device based on threedimensional model
KR20190054890A (en) Apparatus and method of five dimensional (5d) video stabilization with camera and gyroscope fusion
US11494961B2 (en) Sticker generating method and apparatus, and medium and electronic device
CN110850961A (en) Calibration method of head-mounted display equipment and head-mounted display equipment
CN113487500B (en) Image distortion correction method and apparatus, electronic device, and storage medium
CN110688002A (en) Method, device, terminal device and storage medium for adjusting virtual content
US20190125492A1 (en) Image simulation method for orthodontics and image simulation device thereof
CN107656611A (en) Somatosensory game realization method and device, terminal equipment
CN109961781A (en) Robot-based voice information receiving method and system and terminal equipment
WO2024183760A1 (en) Scanning data splicing method and apparatus, and device and medium
CN110726971A (en) Visible light positioning method, device, terminal and storage medium
Barreto et al. Fitting conics to paracatadioptric projections of lines
CN114612342B (en) Face image correction method and device, computer readable medium and electronic device
CN111179148B (en) Data display method and device
CN115601316A (en) Image processing method, image processing device, electronic equipment and computer readable storage medium
CN113077396B (en) Straight line segment detection method and device, computer readable medium and electronic device
CN116134476B (en) Plane correction method and device, computer readable medium and electronic device
WO2025031315A1 (en) Video processing method and apparatus, computer device, and storage medium
WO2021073204A1 (en) Object display method and apparatus, electronic device, and computer readable storage medium
TW578080B (en) Image processing method
CN111311494A (en) Eyeball tracking and positioning accuracy determination method and related product
US9373151B2 (en) Image processing device and image processing method
CN111259684B (en) A method and device for determining the distance from a camera to a human face

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: Unit 7-11, 6th Floor, Building B2, No. 999-8 Gaolang East Road, Wuxi Economic Development Zone, Wuxi City, Jiangsu Province, China 214000

Patentee after: Youdi Robot (Wuxi) Co.,Ltd.

Country or region after: China

Address before: 5D, Building 1, Tingwei Industrial Park, No. 6 Liufang Road, Xingdong Community, Xin'an Street, Bao'an District, Shenzhen City, Guangdong Province

Patentee before: UDITECH Co.,Ltd.

Country or region before: China