CN111510701A - Display method, apparatus, electronic device, and computer-readable medium for virtual content - Google Patents
Display method, apparatus, electronic device, and computer-readable medium for virtual content Download PDFInfo
- Publication number
- CN111510701A CN111510701A CN202010322732.8A CN202010322732A CN111510701A CN 111510701 A CN111510701 A CN 111510701A CN 202010322732 A CN202010322732 A CN 202010322732A CN 111510701 A CN111510701 A CN 111510701A
- Authority
- CN
- China
- Prior art keywords
- target object
- information
- image
- virtual content
- virtual
- 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.)
- Pending
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N13/00—Stereoscopic video systems; Multi-view video systems; Details thereof
- H04N13/30—Image reproducers
- H04N13/332—Displays for viewing with the aid of special glasses or head-mounted displays [HMD]
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/011—Arrangements for interaction with the human body, e.g. for user immersion in virtual reality
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N13/00—Stereoscopic video systems; Multi-view video systems; Details thereof
- H04N13/10—Processing, recording or transmission of stereoscopic or multi-view image signals
- H04N13/106—Processing image signals
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N13/00—Stereoscopic video systems; Multi-view video systems; Details thereof
- H04N13/30—Image reproducers
- H04N13/363—Image reproducers using image projection screens
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N7/00—Television systems
- H04N7/18—Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2203/00—Indexing scheme relating to G06F3/00 - G06F3/048
- G06F2203/01—Indexing scheme relating to G06F3/01
- G06F2203/012—Walk-in-place systems for allowing a user to walk in a virtual environment while constraining him to a given position in the physical environment
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
本申请公开了一种虚拟内容的显示方法、装置、电子设备及计算机可读介质,涉及显示技术领域,方法包括:获取图像采集装置采集的真实环境的图像;如果图像内存在目标物体,获取目标物体对应的产品描述信息;获取目标物体在真实环境内的视觉呈现信息;根据产品描述信息和视觉呈现信息生成虚拟内容,虚拟内容用于表征产品描述信息;在目标物体在真实环境的位置处添加虚拟内容。因此,在真实环境内,目标物体的位置处通过所添加的虚拟内容,从而能够通过该虚拟内容展示目标物体对应的产品描述信息,相比阅读产品使用说明书的方式,该虚拟内容的方式更加生动有趣,而且更加能够吸引用户以及方便用户获知该产品描述信息。
The present application discloses a method, device, electronic device and computer-readable medium for displaying virtual content, and relates to the field of display technology. The method includes: acquiring an image of a real environment acquired by an image acquisition device; The product description information corresponding to the object; obtain the visual presentation information of the target object in the real environment; generate virtual content according to the product description information and visual presentation information, and the virtual content is used to represent the product description information; add the target object at the position of the real environment virtual content. Therefore, in the real environment, the position of the target object passes through the added virtual content, so that the product description information corresponding to the target object can be displayed through the virtual content. Compared with the way of reading the product instruction manual, the way of the virtual content is more vivid. Interesting, and more able to attract users and facilitate users to learn the product description information.
Description
技术领域technical field
本申请涉及显示技术领域,更具体地,涉及一种虚拟内容的显示方法、装置、电子设备及计算机可读介质。The present application relates to the field of display technology, and more particularly, to a method, apparatus, electronic device, and computer-readable medium for displaying virtual content.
背景技术Background technique
目前,用户在需要了解一款产品的时候,往往会阅读产品相关的介绍。例如,在安装产品或者使用产品的时候,需要阅读产品的使用说明书,才能成功安装或使用产品。再例如,在网购的时候,需要观看产品的视频介绍或者阅读产品的详情介绍等。但是,产品相关的介绍读起来比较晦涩、内容较多且不容易懂,并且用户往往不太有耐心认真读完该内容。At present, users often read product-related introductions when they need to know about a product. For example, when installing a product or using a product, it is necessary to read the instruction manual of the product to successfully install or use the product. For another example, when shopping online, you need to watch the video introduction of the product or read the detailed introduction of the product. However, product-related introductions are relatively obscure to read, contain a lot of content, and are not easy to understand, and users are often impatient to read the content carefully.
发明内容SUMMARY OF THE INVENTION
本申请提出了一种虚拟内容的显示方法、装置、电子设备及计算机可读介质,以改善上述缺陷。The present application proposes a method, apparatus, electronic device, and computer-readable medium for displaying virtual content to improve the above-mentioned defects.
第一方面,本申请实施例提供了一种虚拟内容的显示方法,包括:获取图像采集装置采集的真实环境的图像;如果所述图像内存在目标物体,获取所述目标物体对应的产品描述信息;获取所述目标物体在所述真实环境内的视觉呈现信息,所述视觉呈现信息包括所述目标物体相对所述图像采集装置的位姿信息;根据所述产品描述信息和所述视觉呈现信息生成虚拟内容,所述虚拟内容用于表征所述产品描述信息;在所述目标物体在所述真实环境的位置处添加所述虚拟内容。In a first aspect, an embodiment of the present application provides a method for displaying virtual content, including: acquiring an image of a real environment collected by an image acquisition device; if a target object exists in the image, acquiring product description information corresponding to the target object ; Obtain the visual presentation information of the target object in the real environment, and the visual presentation information includes the pose information of the target object relative to the image acquisition device; According to the product description information and the visual presentation information generating virtual content, where the virtual content is used to represent the product description information; adding the virtual content at the position of the target object in the real environment.
第二方面,本申请实施例还提供了一种虚拟内容的显示装置,所述装置包括:第一获取单元、第二获取单元、确定单元和处理单元。第一获取单元,用于获取图像采集装置采集的真实环境的图像;第二获取单元,用于如果所述图像内存在目标物体,获取所述目标物体对应的产品描述信息和所述目标物体在所述真实环境内的视觉呈现信息,所述视觉呈现信息包括所述目标物体相对所述图像采集装置的位姿信息;确定单元,用于根据所述产品描述信息生成虚拟内容;处理单元,用于在所述目标物体在所述真实环境的位置处添加所述虚拟内容。In a second aspect, an embodiment of the present application further provides an apparatus for displaying virtual content, where the apparatus includes: a first acquiring unit, a second acquiring unit, a determining unit, and a processing unit. The first acquisition unit is used to acquire the image of the real environment collected by the image acquisition device; the second acquisition unit is used to acquire the product description information corresponding to the target object and the location of the target object if there is a target object in the image. The visual presentation information in the real environment, the visual presentation information includes the pose information of the target object relative to the image acquisition device; the determining unit is configured to generate virtual content according to the product description information; the processing unit is configured with to add the virtual content at the location of the target object in the real environment.
第三方面,本申请实施例还提供了一种电子设备,包括:一个或多个处理器;存储器;一个或多个应用程序,其中所述一个或多个应用程序被存储在所述存储器中并被配置为由所述一个或多个处理器执行,所述一个或多个应用程序配置用于执行上述方法。In a third aspect, embodiments of the present application further provide an electronic device, including: one or more processors; a memory; and one or more application programs, wherein the one or more application programs are stored in the memory and configured to be executed by the one or more processors, the one or more application programs configured to perform the above method.
第四方面,本申请实施例还提供了一种计算机可读介质,所述可读存储介质存储有处理器可执行的程序代码,所述程序代码被所述处理器执行时使所述处理器执行上述方法。In a fourth aspect, an embodiment of the present application further provides a computer-readable medium, where the readable storage medium stores program code executable by a processor, and when the program code is executed by the processor, causes the processor to Perform the above method.
本申请提供的虚拟内容的显示方法、装置、电子设备及计算机可读介质,获取图像采集装置采集的真实环境的图像,确定图像内是否存在目标物体,如果图像内存在目标物体,则可以获取目标物体对应的产品描述信息,该产品描述信息为用于描述目标物体的信息,然后,获取所述目标物体在所述真实环境内的视觉呈现信息,所述视觉呈现信息包括所述目标物体相对所述图像采集装置的位姿信息,根据所述产品描述信息生成虚拟内容,在所述目标物体在所述真实环境的位置处添加所述虚拟内容。因此,在真实环境内,目标物体的位置处通过所添加的虚拟内容,从而能够通过该虚拟内容展示目标物体对应的产品描述信息,相比阅读产品相关的文字内容的方式,该虚拟内容的方式更加生动有趣,而且更加能够吸引用户以及方便用户获知该产品描述信息。The method, device, electronic device and computer-readable medium for displaying virtual content provided by the present application acquire an image of a real environment collected by an image acquisition device, determine whether there is a target object in the image, and if there is a target object in the image, the target can be acquired The product description information corresponding to the object, the product description information is the information used to describe the target object, and then the visual presentation information of the target object in the real environment is obtained, and the visual presentation information includes the relative position of the target object. pose information of the image acquisition device, generate virtual content according to the product description information, and add the virtual content at the position of the target object in the real environment. Therefore, in the real environment, the position of the target object passes through the added virtual content, so that the product description information corresponding to the target object can be displayed through the virtual content. Compared with the way of reading the text content related to the product, the way of the virtual content More lively and interesting, and more able to attract users and facilitate users to learn the product description information.
附图说明Description of drawings
���了���清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the technical solutions in the embodiments of the present application more clearly, the following briefly introduces the drawings that are used in the description of the embodiments. Obviously, the drawings in the following description are only some embodiments of the present application. For those skilled in the art, other drawings can also be obtained from these drawings without creative effort.
图1示出了本申请一实施例提供的一种AR设备的示意图;FIG. 1 shows a schematic diagram of an AR device provided by an embodiment of the present application;
图2示出了本申请另一实施例提供的一种AR设备的示意图;FIG. 2 shows a schematic diagram of an AR device provided by another embodiment of the present application;
图3示出了本申请一实施例提供的虚拟内容的显示方法的方法流程图;FIG. 3 shows a method flowchart of a method for displaying virtual content provided by an embodiment of the present application;
图4示出了本申请一实施例提供的虚拟内容的示意图;FIG. 4 shows a schematic diagram of virtual content provided by an embodiment of the present application;
图5示出了本申请另一实施例提供的虚拟内容的显示方法的方法流程图;5 shows a method flowchart of a method for displaying virtual content provided by another embodiment of the present application;
图6示出了本申请另一实施例提供的虚拟内容的示意图;FIG. 6 shows a schematic diagram of virtual content provided by another embodiment of the present application;
图7示出了本申请又一实施例提供的虚拟内容的示意图;FIG. 7 shows a schematic diagram of virtual content provided by another embodiment of the present application;
图8示出了本申请又一实施例提供的虚拟内容的显示方法的方法流程图;FIG. 8 shows a method flowchart of a method for displaying virtual content provided by another embodiment of the present application;
图9示出了图8中S840的方法流程图;Fig. 9 shows the method flow chart of S840 in Fig. 8;
图10示出了本申请实施例提供的分析模型的示意图;FIG. 10 shows a schematic diagram of an analysis model provided by an embodiment of the present application;
图11示出了本申请实施例提供的分析模型的训练和应用过程的示意图;FIG. 11 shows a schematic diagram of the training and application process of the analysis model provided by the embodiment of the present application;
图12示出了本申请再一实施例提供的虚拟内容的示意图;FIG. 12 shows a schematic diagram of virtual content provided by still another embodiment of the present application;
图13示出了本申请一实施例提供的虚拟内容的显示装置的模块框图;FIG. 13 shows a block diagram of a module of an apparatus for displaying virtual content provided by an embodiment of the present application;
图14示出了本申请另一实施例提供的虚拟内容的显示装置的模块框图;FIG. 14 shows a block diagram of modules of an apparatus for displaying virtual content provided by another embodiment of the present application;
图15示出了本申请一实施例提出的电子设备的模块框图;FIG. 15 shows a block diagram of a module of an electronic device proposed by an embodiment of the present application;
图16示出了本申请实施例的用于保存或者携带实现根据本申请实施例的方法的程序代码的存储单元。FIG. 16 shows a storage unit for storing or carrying a program code for implementing the method according to the embodiment of the present application according to the embodiment of the present application.
具体实施方式Detailed ways
为了使本技术领域的人员更好地理解本申请方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述。目前,用户在需要了解一款产品的时候,往往会阅读产品相关的介绍。例如,在安装产品或者使用产品的时候,需要阅读产品的使用说明书,才能成功安装或使用产品,再例如,在网购的时候,需要观看产品的视频介绍或者阅读产品的详情介绍等。但是,使用产品相关的介绍读起来比较晦涩、内容较多且不容易懂,并且用户往往不太有耐心认真读完该内容。例如,在现实生活中,很多商品,比如家用电器,需要阅读说明书,这通常是一个乏味的步骤。In order to make those skilled in the art better understand the solutions of the present application, the following will clearly and completely describe the technical solutions in the embodiments of the present application with reference to the accompanying drawings in the embodiments of the present application. At present, users often read product-related introductions when they need to know about a product. For example, when installing or using a product, you need to read the product's instruction manual to successfully install or use the product. For another example, when shopping online, you need to watch the video introduction of the product or read the detailed introduction of the product. However, the introduction related to using the product is relatively obscure to read, contains a lot of content and is not easy to understand, and users are often impatient to read the content carefully. For example, in real life, many commodities, such as household appliances, require reading instructions, which is often a tedious step.
则为了提高用户阅读产品说明书的便捷性、降低阅读说明书的乏味性以及更加能够吸引用户阅读产品说明书和提高用户获知该产品说明书的内容的便捷性,可以通过增强现实(AR,Augmented Reality)技术展示该产品说明书的内容。In order to improve the convenience for users to read the product manual, reduce the tediousness of reading the manual, and more attract users to read the product manual and improve the convenience for users to learn the content of the product manual, augmented reality (AR, Augmented Reality) technology can be used to display. the contents of this product manual.
增强现实是通过计算机系统提供的信息增加用户对现实世界感知的技术,其将计算机生成的虚拟内容、场景或系统提示信息等内容对象叠加到真实场景中,来增强或修改对现实世界环境或表示现实世界环境的数据的感知,用户可以通过佩戴AR眼镜等头戴显示设备在现实世界环境中观察到虚拟内容等内容与真实世界叠加之后的增强现实或混合现实的效果。Augmented reality is a technology that increases the user's perception of the real world through information provided by a computer system. It superimposes computer-generated virtual content, scenes or system prompts and other content objects into the real scene to enhance or modify the real-world environment or representation. For the perception of data in the real world environment, users can observe the effect of augmented reality or mixed reality after the content such as virtual content is superimposed with the real world in the real world environment by wearing head-mounted display devices such as AR glasses.
例如,一些AR眼镜可以通过AR眼镜的摄像头和传感器采集现实环境中的信息,经过处理器和特定算法运行后,渲染出相应的图像,显示在镜片上,让使用者感觉虚拟的图像与现实世界相重合。For example, some AR glasses can collect information in the real environment through the cameras and sensors of the AR glasses. After the processor and specific algorithms are run, the corresponding images are rendered and displayed on the lenses, allowing users to feel the virtual image and the real world. coincide.
还有一些AR眼镜为分体式结构,即眼镜的处理器模块不是在眼镜上,而是位于一个单独的计算单元上,该计算单元通过导线与AR眼镜相连接。AR眼镜的摄像头和传感器采集到的数据经过预处理后发送到计算单元,计算单元根据采集到的信息渲染出相应的虚拟图像,虚拟图像传输到AR眼镜进行显示。Some AR glasses have a split structure, that is, the processor module of the glasses is not located on the glasses, but is located on a separate computing unit, which is connected to the AR glasses through wires. The data collected by the cameras and sensors of the AR glasses are preprocessed and sent to the computing unit. The computing unit renders the corresponding virtual image according to the collected information, and the virtual image is transmitted to the AR glasses for display.
如图1所示,图1示出了一种AR设备,则该AR设备可以是头戴显示设备,具体地,该头戴显示设备为AR眼镜。如图1所示,该头戴显示设备包括显示屏110、框架120和成像装置130。As shown in FIG. 1 , which shows an AR device, the AR device may be a head-mounted display device, and specifically, the head-mounted display device is AR glasses. As shown in FIG. 1 , the head-mounted display device includes a
该框架120包括前表面121、侧表面122和后表面123,显示屏110安装在所述框架的前表面,成像装置130能够将虚拟内容的图像显示在显示屏110上。例如,该成像装置130可以是衍射光波导,能够将图像投影到显示屏上。The
作为一种实施方式,该显示屏110可以是该AR眼镜的镜片,并且该显示屏110还可以透光,即该显示屏110可以是半透半反的镜片,用户在佩戴该头戴显示设备的时候,当该显示屏110上显示图像的时候,用户能够看到该显示屏110上所显示的图像同时还可以透过该显示屏110看到周围环境中现实世界中的物体。则通过该半透半反的镜片,用户能够将镜片上所显示的图像��周围环境相���加,从而实现增强现实的视觉效果。As an embodiment, the
其中,用户在佩戴该头戴显示设备的时候,显示屏110位于用户的眼前,即前表面121在用户眼睛的前方,后表面123位于用户眼睛的后方,侧表面122位于用户眼睛的侧方。When the user wears the head-mounted display device, the
另外,在前表面121设置有前置摄像头,通过该前置摄像头感知前方的环境信息,以便实现即时定位与地图构建(Simultaneous Localization and Mapping,SLAM),进而实现增强现实或混合现实的视觉效果。In addition, a front-facing camera is provided on the
在另一些AR技术中,可以使用前置摄像头实现真实场景与虚拟内容的结合。具体地,可以在头戴显示设备的前表面的前置摄像头的视野方向与用户在佩戴该头戴显示设备时用户的视野方向一致,且该前置摄像头用于采集真实场景的图像,并且将所采集的真实场景的图像经过处理之后显示在用户眼前的显示屏上,具体地,可以是在真实场景的图像上叠加虚拟内容的图像,被用户看到,以使用户观察到增强现实的视觉效果。In other AR technologies, front-facing cameras can be used to combine real scenes with virtual content. Specifically, the field of view direction of the front camera on the front surface of the head-mounted display device may be consistent with the direction of the user's field of view when the user wears the head-mounted display device, and the front camera is used to collect the image of the real scene, and the The collected image of the real scene is processed and displayed on the display screen in front of the user. Specifically, it can be an image of virtual content superimposed on the image of the real scene, and is seen by the user, so that the user can observe the vision of augmented reality. Effect.
作为另一种实施方式,还可以通过移动终端或者平板电脑、计算机设备等带有屏幕的终端实现AR效果。具体地,如图2所示,图2示出了另一种AR设备,该AR设备可以是用户终端,该终端包括摄像头和屏幕,如图2所示,在终端的屏幕上所显示的真实场景(室内场景,如图2中所显示的台灯、沙发等)的图像可以是终端的摄像头所采集的图像,并且在该屏幕上显示有虚拟内容A对应的显示内容,该显示内容可以是一张图片,能够在该屏幕上所显示真实场景对应的图像上添加一个图片,该图片对应该虚拟内容A,则用户通过该屏幕上所显示的内容,能够看到在该真实场景内设置有虚拟内容A(如图2中的球体),以获得在真实场景内放置有虚拟内容A的增强现实的显示效果。As another implementation manner, the AR effect can also be achieved through a mobile terminal or a terminal with a screen, such as a tablet computer or a computer device. Specifically, as shown in FIG. 2, FIG. 2 shows another AR device. The AR device may be a user terminal, and the terminal includes a camera and a screen. As shown in FIG. The image of the scene (indoor scene, such as the lamp, sofa, etc. as shown in FIG. 2 ) can be the image collected by the camera of the terminal, and the display content corresponding to the virtual content A is displayed on the screen, and the display content can be a A picture can be added to the image corresponding to the real scene displayed on the screen, and the picture corresponds to the virtual content A, then the user can see through the content displayed on the screen that the virtual content is set in the real scene. Content A (such as a sphere in FIG. 2 ) to obtain an augmented reality display effect in which virtual content A is placed in a real scene.
具体地,通过图2所示的终端实现增强现实的效果的步骤包括追踪、场景理解和渲染。其中,追踪的实施方式可以是提供终端在真实环境中的相对位置。具体地,借助视觉惯性里程计,可以提供终端所在位置的精确视图以及设备朝向,视觉惯性里程计使用了相机图像和设备的运动数据。Specifically, the steps of realizing the effect of augmented reality through the terminal shown in FIG. 2 include tracking, scene understanding and rendering. The implementation of the tracking may be to provide the relative position of the terminal in the real environment. Specifically, an accurate view of the location of the terminal and the orientation of the device can be provided with the help of visual inertial odometry, which uses camera images and device motion data.
场景理解是指确定设备周围环境的属性或特征。例如,通过平面检测(planedetection)等功能能够确定真实环境中的表面或平面。例如地板或桌子。为了放置虚拟内容,终端还需要提供命中测试功能。此功能可获得真实世界拓扑的相交点,即获取各个物体在真实环境中的具体位置,例如,桌子的离地高度或者距离终端的距离等,以便在真实环境中放置虚拟内容。最后,对于场景理解可以进行光线估算。光线估算用于正确光照虚拟内容,使其与真实世界相匹配,例如,虚拟内容放置在真实世界内的时候,会显示该虚拟内容在真实世界的光照下的影子,从而增加虚拟内容的真实感以及与真实世界的匹配性。Scenario understanding refers to determining properties or characteristics of the environment around a device. For example, surfaces or planes in the real environment can be determined through functions such as plane detection. such as a floor or table. In order to place virtual content, the terminal also needs to provide hit testing capabilities. This function can obtain the intersection point of the real-world topology, that is, obtain the specific position of each object in the real environment, such as the height of the table above the ground or the distance from the terminal, etc., so as to place virtual content in the real environment. Finally, light estimation can be done for scene understanding. Lighting estimation is used to correctly illuminate virtual content to match the real world, for example, when virtual content is placed in the real world, it will display the shadow of the virtual content under the lighting of the real world, thereby increasing the realism of the virtual content and matching with the real world.
其中,上述屏幕上所显示的真实环境可以是终端的摄像头所采集的当前环境的图像,也可以是终端实时接收的其他终端发送的真实场景的图像,例如,可以是终端与其他终端之间是视频交互的时候,图2的屏幕上所显示的是其他终端的摄像头实时采集的该终端所在的真实场景的图像。The real environment displayed on the above-mentioned screen may be an image of the current environment collected by the camera of the terminal, or may be an image of a real scene sent by other terminals received by the terminal in real time. During video interaction, what is displayed on the screen in FIG. 2 is the real-time image of the real scene where the terminal is located, which is captured by cameras of other terminals in real time.
为了实现用户在阅读产品说明书时的上述效果,本申请实施例提供了一种虚拟内容的显示方法,该方法可以应用于上述图1和图2所示的设备。于本申请实施例中,该方法可以应用于图2所示的电子设备,即该方法的执行主体可以是该电子设备内的处理器或者客户端。另外,需要说明的是,该方法的执行主体也可以是上述图1的头戴显示设备,具体地,该头戴显示设备内设置有处理器,则该方法的执行主体可以是该头戴显示设备内的处理器。作为一种实施方式,以及为了更好地说明本实施例的效果,示例性地,本申请实施例以方法的执行主体是移动终端,例如图2所示的电子设备,但是,这并不能限定本申请的方法的应用领域,即并不对本申请所适用的设备和应用环境做限定。In order to achieve the above effect when a user reads a product specification, an embodiment of the present application provides a method for displaying virtual content, which can be applied to the devices shown in FIG. 1 and FIG. 2 . In this embodiment of the present application, the method may be applied to the electronic device shown in FIG. 2 , that is, the execution body of the method may be a processor or a client in the electronic device. In addition, it should be noted that the execution body of the method may also be the head-mounted display device shown in FIG. 1 . Specifically, the head-mounted display device is provided with a processor, and the execution body of the method may be the head-mounted display device. The processor inside the device. As an implementation manner, and in order to better illustrate the effect of this embodiment, for example, the execution subject of the method in this embodiment of the present application is a mobile terminal, such as the electronic device shown in FIG. 2 , however, this does not limit the The application field of the method of the present application does not limit the equipment and application environment to which the present application is applicable.
请参阅图3,图3示出了本申请实施例提供的一种虚拟内容的显示方法,用于在目标物体的位置处展示虚拟内容,以便提高用户阅读产品说明书的便捷性、降低阅读说明书的乏味性以及更加能够吸引用户阅读产品说明书和提高用户获知该产品说明书的内容的便捷性。具体地,该方法包括:S301至S304。Please refer to FIG. 3. FIG. 3 shows a method for displaying virtual content provided by an embodiment of the present application, which is used to display virtual content at the position of a target object, so as to improve the convenience for users to read the product manual and reduce the time and cost of reading the manual. It is more tedious and more able to attract users to read the product manual and improve the convenience for users to know the content of the product manual. Specifically, the method includes: S301 to S304.
S301:获取图像采集装置采集的真实环境的图像。S301: Acquire an image of the real environment collected by the image collection device.
其中,该图像采集装置可以是摄像头、数码相机等能够采集图像的设备。Wherein, the image acquisition device may be a device capable of acquiring images, such as a camera, a digital camera, or the like.
作为一种实施方式,该图像采集装置可以安装在上述的头戴显示设备上,也可以安装在手机内,具体地,如果本申请实施例的执行主体是上述头戴显示设备,即本申请实施例应用于头戴显示设备,则该图像采集装置可以是安装在该头戴显示设备上的成像装置,如果本申请实施例的执行主体是上述用户终端,即本申请实施例应用于用户终端,则该图像采集装置可以是安装在用户终端上的摄像头。As an implementation manner, the image acquisition device can be installed on the above-mentioned head-mounted display device, or can be installed in a mobile phone. If the embodiment of the present application is applied to a head-mounted display device, the image acquisition device may be an imaging device installed on the head-mounted display device. Then the image acquisition device may be a camera installed on the user terminal.
作为另一种实施方式,该图像采集装置可以独立设置,即可以不设置在本方法的执行主体上,则在此实施方式中,该图像采集装置与本申请方法的执行主体相连,用于将所采集的真实环境的图像发送至本申请方法的执行主体。As another implementation manner, the image acquisition device may be set independently, that is, it may not be provided on the execution body of the method. In this embodiment, the image acquisition device is connected to the execution body of the method of the present application, and is used to The collected image of the real environment is sent to the execution body of the method of the present application.
S302:如果所述图像内存在目标物体,获取所述目标物体对应的产品描述信息。S302: If a target object exists in the image, obtain product description information corresponding to the target object.
其中,产品描述信息可以是产品相关的介绍信息,该信息可以包括产品的使用说明、安装说明、特性介绍、功能介绍等与产品相关的信息。用户能够通过阅读该产品描述信息了解或使用该产品。The product description information may be product-related introduction information, and the information may include product-related information such as product usage instructions, installation instructions, feature introductions, and function introductions. Users can understand or use the product by reading the product description information.
作为一种实施方式,可以由本申请方法的执行主体确定图像内存在目标物体。具体地,以本申请方法的执行主体是用户终端为例,用户终端获取图像采集装置采集的真实环境的图像,判断该图像采集装置采集的图像内是否存在目标物体。具体地,分析所述图像内的所有物体的身份信息,确定所有物体的身份信息中是否存在目标身份信息,如果存在,则确定图像内存在目标物体。然后在该数据集内查找与目标物体的身份信息匹配的预设身份信息对应的产品描述信息,作为目标物体对应的产品描述信息。其中,该身份信息可以是图像内的物体图像的轮廓线,也可以是图像内的物体图像的特征点,或者其他的能够将该物体的图像与其他物体的图像区分开的信息,在此不做限定。As an implementation manner, the execution body of the method of the present application may determine that there is a target object in the image. Specifically, taking a user terminal as an example of the execution subject of the method of the present application, the user terminal obtains an image of the real environment collected by the image collection device, and determines whether there is a target object in the image collected by the image collection device. Specifically, the identity information of all objects in the image is analyzed to determine whether target identity information exists in the identity information of all objects, and if so, it is determined that the target object exists in the image. Then, the product description information corresponding to the preset identity information matching the identity information of the target object is searched in the data set, as the product description information corresponding to the target object. Wherein, the identity information can be the outline of the object image in the image, or the feature point of the object image in the image, or other information that can distinguish the image of the object from the images of other objects. Do limit.
其中,该目标身份信息可以是目标物体的身份信息,具体地,可以预先设定目标身份信息。作为一种实施方式,预先设定一个数据集,该数据集内包括多个预设身份信息和每个预设身份对应的产品描述信息。其中,该预设身份信息为预先设定的设置有产品描述信息的产品,或者该预设身份信息为预先设定的需要为用户展示产品描述信息的产品。The target identity information may be the identity information of the target object, and specifically, the target identity information may be preset. As an implementation manner, a data set is preset, and the data set includes multiple preset identity information and product description information corresponding to each preset identity. Wherein, the preset identity information is a preset product with product description information set, or the preset identity information is a preset product that needs to display product description information for the user.
作为另一种实施方式,还可以是由数据处理服务器确定图像内存在目标物体。具体地,可以是图像采集装置将所采集的图像发送至数据处理服务器,数据处理服务器根据上述方法确定图像内是否存在目标物体,并将结果发送至本申请方法的执行主体。As another implementation manner, the data processing server may also determine that the target object exists in the image. Specifically, the image collection device may send the collected image to a data processing server, and the data processing server determines whether there is a target object in the image according to the above method, and sends the result to the execution body of the method of the present application.
另外,目标物体对应的产品描述信息可以包括目标物体的安装引导、使用说明书和产品介绍等信息,在此不再赘述。In addition, the product description information corresponding to the target object may include information such as installation guidance, operating instructions, and product introduction of the target object, which will not be repeated here.
作为一种实施方式,获取目标物体的产品描述信息的实施方式可以是,发送获取请求至该目标物体对应的服务器。该目标物体可以是物联网内的受控设备。物联网是在“互联网概念”的基础上,将其用户端延伸和扩展到任何物品与物品之间,进行信息交换和通信的一种网络概念。随着物联网技术的发展,在物联网系统中可以配置一些场景。对于配置的场景,可以涉及到多个受控设备,而且多个受控设备之间具有一定的联动关系,能够协同工作。As an implementation manner, an implementation manner of acquiring the product description information of the target object may be to send an acquisition request to a server corresponding to the target object. The target object may be a controlled device within the Internet of Things. The Internet of Things is a network concept that extends and extends its user end to any item and item on the basis of the "Internet concept" for information exchange and communication. With the development of IoT technology, some scenarios can be configured in the IoT system. For the configuration scenario, multiple controlled devices may be involved, and multiple controlled devices have a certain linkage relationship and can work together.
其中,受控设备可以为投影仪、投屏幕、智能灯、智能插座、人体传感器、门窗传感器、无线开关、空调伴侣、烟雾报警器、智能窗帘电机、以及空气净化器、智能音箱等用户终端。在一种实施方式中,在物联网系统内,起控制作用的电子设备(如上述用户终端)可以通过直接与路由器建立无线连接的方式实现与受控设备之间进行数据交互。再者,电子设备也可以通过与云端建立连接后,通过云端与路由器之间的数据链路实现与受控设备之间的数据交互。而作为另外一种方式,受控设备可以通过网关与路由器建立无线连接。其中,数据交互可以包括用户终端向受控设备发送控制指令,还可以包括受控设备向用户终端返回状态信息或者返回指令执行结果等。其中,用户终端与受控设备之间的数据交互可以由用户终端中安装的客户端来触发。Among them, the controlled devices can be projectors, projection screens, smart lights, smart sockets, human sensors, door and window sensors, wireless switches, air conditioner companions, smoke alarms, smart curtain motors, and user terminals such as air purifiers and smart speakers. In an implementation manner, in the Internet of Things system, the controlling electronic device (such as the above-mentioned user terminal) may implement data interaction with the controlled device by directly establishing a wireless connection with the router. Furthermore, the electronic device can also realize data interaction with the controlled device through the data link between the cloud and the router after establishing a connection with the cloud. As another way, the controlled device can establish a wireless connection with the router through the gateway. The data interaction may include that the user terminal sends a control instruction to the controlled device, and may also include that the controlled device returns status information or returns an instruction execution result to the user terminal, and the like. The data interaction between the user terminal and the controlled device may be triggered by a client installed in the user terminal.
作为一种实施方式,用户终端获取该目标物体的标识,具体地,上述数据集内可以包括预设身份信息对应的产品标识,该产品标识可以是产品的名称和型号等。在获取到目标物体的身份信息之后能够确定该目标物体的产品标识,通过上述物联网发送获取请求至该产品标识对应的产品服务器,该获取请求内包括产品标识,则产品服务器获取到该获取请求后,解析该请求得到产品标识,获取该产品标识对应的产品描述信息,作为目标物体的产品描述信息,并���送至用户终端。As an embodiment, the user terminal obtains the identifier of the target object. Specifically, the above-mentioned data set may include the product identifier corresponding to the preset identity information, and the product identifier may be the name and model of the product. After the identity information of the target object is obtained, the product identification of the target object can be determined, and an acquisition request is sent to the product server corresponding to the product identification through the above-mentioned Internet of Things. If the acquisition request includes the product identification, the product server obtains the acquisition request. Afterwards, the request is parsed to obtain a product identifier, and the product description information corresponding to the product identifier is obtained, which is used as the product description information of the target object, and is sent to the user terminal.
S303:获取所述目标物体在所述真实环境内的视觉呈现信息。S303: Acquire visual presentation information of the target object in the real environment.
其中,所述视觉呈现信息包括所述目标物体相对所述图像采集装置的位姿信息。Wherein, the visual presentation information includes pose information of the target object relative to the image acquisition device.
S304:根据所述产品描述信息和所述视觉呈现信息生成虚拟内容,所述虚拟内容用于表征所述产品描述信息。S304: Generate virtual content according to the product description information and the visual presentation information, where the virtual content is used to represent the product description information.
作为一种实施方式,该虚拟内容能够反映该产品描述信息,即用户通过观察虚拟内容,能够获知该产品描述信息。作为一种实施方式,该虚拟内容可以是产品描述信息的动画展示、文本展示或者图片展示等,在此不再赘述。具体的获取虚拟内容的实施方式可以参考后续实施例。As an implementation manner, the virtual content can reflect the product description information, that is, the user can learn the product description information by observing the virtual content. As an implementation manner, the virtual content may be an animation display, text display, or picture display of product description information, etc., which will not be repeated here. For specific implementation manners of acquiring virtual content, reference may be made to subsequent embodiments.
因此,所述产品描述信息用于确定虚拟内容所表征的信息,即虚拟内容所���征的信息与产品描述信息相关,用于通过虚拟内容所表征的信息能够了解该产品描述信息。视觉呈现信息用于反映虚拟内容被放置在真实世界时,该虚拟内容所呈现的能够被用户观察到的信息,该信息以包括摆放信息或者光照信息等,该摆放信息可以包括虚拟内容的位置和摆放角度等信息,具体地,根据视觉呈现信息确定虚拟内容的实施方式可以参考后续实施例。Therefore, the product description information is used to determine the information represented by the virtual content, that is, the information represented by the virtual content is related to the product description information, so that the product description information can be known through the information represented by the virtual content. The visual presentation information is used to reflect the information presented by the virtual content that can be observed by the user when the virtual content is placed in the real world. The information may include placement information or lighting information, and the placement information may include the virtual content. For information such as position and placement angle, specifically, for an implementation manner of determining virtual content according to visual presentation information, reference may be made to subsequent embodiments.
S305:在所述目标物体在所述真实环境的位置处添加所述虚拟内容。S305: Add the virtual content at the position of the target object in the real environment.
具体地,预先获取目标物体在真实环境内的位置信息。Specifically, the position information of the target object in the real environment is acquired in advance.
作为一种实施方式,可以根据图像采集装置所采集的目标物体的图像确定目标物体在真实环境内的位置信息。As an implementation manner, the position information of the target object in the real environment may be determined according to the image of the target object collected by the image collection device.
具体地,真实环境可以是指真实世界对应的世界坐标系,则目标物体在在真实环境内的位置信息可以是指该目标物体在该世界坐标系内的物理坐标。其中,该世界坐标系可以是以图像采集装置为中心而建立的坐标系,即在图像采集装置在真实世界场景内的位置作为该世界坐标系的原点,具体地,该图像采集装置安装在本申请的方法的执行主体的时候,例如,本申请的方法为用户终端的时候,该世界坐标系的中心为用户终端的位置。Specifically, the real environment may refer to the world coordinate system corresponding to the real world, and the position information of the target object in the real environment may refer to the physical coordinates of the target object in the world coordinate system. The world coordinate system may be a coordinate system established with the image acquisition device as the center, that is, the position of the image acquisition device in the real world scene is taken as the origin of the world coordinate system. Specifically, the image acquisition device is installed in this When the execution subject of the applied method, for example, when the method of the present application is a user terminal, the center of the world coordinate system is the position of the user terminal.
用户终端能够根据预设定位算法对周围环境扫描,以建立以该终端为中心的世界坐标系,以及确定真实环境内的各个真实物体在该世界坐标系内的坐标位置,该坐标位置作为真实物体在真实环境内的位置信息。作为一种实施方式,该用户终端内设置有图像采集装置和惯性测量单元,可以根据图像采集装置采集到的周围环境的图像以及惯性测量单元得到的用户终端的位姿信息建立该真实环境对应的世界坐标系,即以该终端为中心的世界坐标系,进而获取各个真实物体在该世界坐标系内的坐标位置。The user terminal can scan the surrounding environment according to the preset positioning algorithm to establish a world coordinate system centered on the terminal, and determine the coordinate position of each real object in the real environment in the world coordinate system, and the coordinate position is used as the real object. Location information in the real environment. As an embodiment, the user terminal is provided with an image acquisition device and an inertial measurement unit, and an image corresponding to the real environment can be established according to the image of the surrounding environment collected by the image acquisition device and the pose information of the user terminal obtained by the inertial measurement unit. The world coordinate system, that is, the world coordinate system centered on the terminal, and then obtain the coordinate position of each real object in the world coordinate system.
具体地,可以利用上述的SLAM技术对周围的真实环境理解和对该真实环境内的真实物体跟踪,SLAM技术能够基于摄像头采集到的周围环境的图像以及惯性测量单元得到的用户终端的位姿信息,构建基于终端为起始点的世界坐标系,然后利用飞行时间(Time offlight,TOF)深度相机得到稠密的3D点云,其中,稠密的3D点云可以得到真实物体表面的各个点在该世界坐标系下的3D坐标,则该3D坐标能够作为各个真实物体在真实环境内的位置信息。Specifically, the above-mentioned SLAM technology can be used to understand the surrounding real environment and track real objects in the real environment. The SLAM technology can be based on the image of the surrounding environment collected by the camera and the pose information of the user terminal obtained by the inertial measurement unit. , build a world coordinate system based on the terminal as the starting point, and then use the time offlight (TOF) depth camera to obtain a dense 3D point cloud, where the dense 3D point cloud can obtain the world coordinates of each point on the surface of the real object 3D coordinates under the system, the 3D coordinates can be used as the position information of each real object in the real environment.
在确定目标物体在真实环境的位置之后,将虚拟内容添加至该目标物体在真实环境的位置处,具体地,在真实环境内添加虚拟内容以使用户观察到AR效果的实施方式可以参考上述实施方式,在此不再赘述。After the position of the target object in the real environment is determined, virtual content is added to the position of the target object in the real environment. Specifically, the implementation of adding virtual content in the real environment to enable the user to observe the AR effect can refer to the above implementation. method, which will not be repeated here.
具体地,可以根据将目标物体在真实环境的位置,使得添加后的虚拟内容的位置在该世界坐标系内位于该目标物体的位置处。具体地,该虚拟内容在真实环境内的位置信息与该虚拟内容对应的显示内容在用户终端的显示屏上的显示信息存在映射关系,该显示信息包括该虚拟内容对应的显示内容的显示大小、形状以及位置等信息。Specifically, according to the position of the target object in the real environment, the position of the added virtual content can be located at the position of the target object in the world coordinate system. Specifically, there is a mapping relationship between the location information of the virtual content in the real environment and the display information of the display content corresponding to the virtual content on the display screen of the user terminal, and the display information includes the display size of the display content corresponding to the virtual content, shape and location.
作为一种实施方式,在摄像头采集的真实环境的图像内,真实物体在摄像头对应的相机坐标系内,该相机坐标系的Z轴与摄像头的光轴方向匹配,具体地,摄像头的光轴方向为该相机坐标系的Z轴方向,X轴和Y轴构成的XOY平面与Z轴垂直。则可以确定真实物体在相机坐标系内的坐标。例如,根据摄像头采集的图像的像素坐标系与相机坐标系的映射关系,能够确定图像内每个真实物体的图像的像素点在相机坐标系内的坐标,该坐标包括真实物体的景深信息,例如,该真实物体的坐标在相机坐标系的Z轴上的投影就是该运动目标的景深信息。通过该真实物体在相机坐标系内的坐标的变化能够确定真实物体的景深变化,根据该景深变化能够确定真实物体距离摄像头的距离。As an embodiment, in the image of the real environment collected by the camera, the real object is in the camera coordinate system corresponding to the camera, and the Z axis of the camera coordinate system matches the optical axis direction of the camera. Specifically, the optical axis direction of the camera is the Z-axis direction of the camera coordinate system, and the XOY plane formed by the X-axis and the Y-axis is perpendicular to the Z-axis. Then the coordinates of the real object in the camera coordinate system can be determined. For example, according to the mapping relationship between the pixel coordinate system of the image collected by the camera and the camera coordinate system, the coordinates of the pixels of the image of each real object in the image in the camera coordinate system can be determined, and the coordinates include the depth of field information of the real object, such as , the projection of the coordinates of the real object on the Z axis of the camera coordinate system is the depth of field information of the moving target. The change of the depth of field of the real object can be determined through the change of the coordinates of the real object in the camera coordinate system, and the distance of the real object from the camera can be determined according to the change of the depth of field.
则将虚拟内容在真实环境内显示的一种实施方式,将该虚拟内容显示在真实环境内的某个平面或者某个物体的位置处,而该物体距离摄像头的距离可以确定,进而该虚拟内容所对应的景深信息可以确定,则通过预先设定的景深信息与虚拟内容对应的显示内的轮廓信息的对应关系,能够确定与该目标物体的景深信息对应的该显示内容的轮廓信息,该轮廓信息包括虚拟内容对应的显示内容的形状和大小。例如,根据距离越远或者景深信息越大,则轮廓越小,即近大远小的规则,可以预先设定真实环境内不同的位置与该虚拟内容对应的显示内容的轮廓信息的对应关系,进而确定虚拟内容对应的显示内容的形状和大小。An implementation of displaying virtual content in the real environment, the virtual content is displayed on a certain plane or the position of an object in the real environment, and the distance between the object and the camera can be determined, and then the virtual content is displayed. The corresponding depth of field information can be determined, then through the preset corresponding relationship between the depth of field information and the contour information in the display corresponding to the virtual content, the contour information of the display content corresponding to the depth of field information of the target object can be determined. The information includes the shape and size of the display content corresponding to the virtual content. For example, according to the rule that the longer the distance or the larger the depth of field information, the smaller the outline, that is, the smaller the distance is, the smaller the distance is, the correspondence between different positions in the real environment and the outline information of the displayed content corresponding to the virtual content can be preset. Further, the shape and size of the display content corresponding to the virtual content are determined.
作为另一种实施方式,还可以屏幕的像素坐标内的各个像素点与真实环境内各个位置点的坐标关系,具体地,可以通过摄像头的内外参数的方式确定,例如,通过张正友标定法来确定。例如,图2所示,将虚拟内容A在真实环境的台灯附近的地面上显示,能够确定该真实环境的图像内台灯附近的地面在屏幕的像素坐标内的位置,从而能够确定将虚拟内容对应的显示内容显示在屏幕所显示的真实环境的图像内台灯附近的地面的位置处。As another embodiment, the coordinate relationship between each pixel in the pixel coordinates of the screen and each position in the real environment can also be determined. Specifically, it can be determined by the internal and external parameters of the camera. For example, it can be determined by Zhang Zhengyou's calibration method. . For example, as shown in Figure 2, the virtual content A is displayed on the ground near the desk lamp in the real environment, and the position of the ground near the desk lamp in the image of the real environment within the pixel coordinates of the screen can be determined, so that the virtual content can be determined to correspond to The display content is displayed at the position of the ground near the desk lamp in the image of the real environment displayed on the screen.
因此,通过预先确定的屏幕上所显示的图像的各个像素点的像素坐标与该世界坐标系内的各个位置点的世界坐标的映射关系,能够将虚拟内容添加至真实环境的特定位置处。Therefore, through the predetermined mapping relationship between the pixel coordinates of each pixel of the image displayed on the screen and the world coordinates of each position in the world coordinate system, virtual content can be added to a specific position in the real environment.
例如,需要将虚拟内容在指定坐标系内的位置A处显示,即用户使用该用户终端的时候能够看到在真实空间内的位置A处的显示有虚拟物体,则确定该位置A所对应的显示屏上的显示位置是位置B,那么在用户终端的显示屏的位置B处显示该虚拟物体的时候,用户就能够通过该显示屏看到位置A处显示一虚拟物体。For example, the virtual content needs to be displayed at the position A in the specified coordinate system, that is, when the user uses the user terminal, he can see that the virtual object is displayed at the position A in the real space, and then the corresponding position A is determined. The display position on the display screen is position B, then when the virtual object is displayed at position B on the display screen of the user terminal, the user can see a virtual object displayed at position A through the display screen.
作为一种实施方式,在确定目标物体的位置之后,以及根据目标物体的产品描述信息确定了虚拟内容,可以将该虚拟内容添加至真实世界中目标物体的位置处。如图4所示,界面上所显示的内容包括目标物体401以及该目标物体401当前的真实环境和虚拟内容402。As an embodiment, after the position of the target object is determined and the virtual content is determined according to the product description information of the target object, the virtual content may be added to the position of the target object in the real world. As shown in FIG. 4 , the content displayed on the interface includes the
作为一种实施方式,该界面的内容可以是用户通过上述头戴显示设备所观察到的内容。作为另一种实施方式,该界面的内容可以是用户终端的屏幕上所显示的内容,具体地,该屏幕上所显示的目标物体401以及该目标物体401当前的真实环境可以是用户终端的图像采集装置所采集的图像,则该虚拟内容402可以是在用户终端的屏幕上所显示的显示内容,该显示内容与虚拟内容402对应。As an implementation manner, the content of the interface may be the content observed by the user through the above-mentioned head-mounted display device. As another implementation manner, the content of the interface may be the content displayed on the screen of the user terminal. Specifically, the
如图4所示,该虚拟内容402可以是目标物体的产品描述信息的文字展现内容。如图4所示,在目标物体401(即图4中的抽油烟机)的位置处所添加的虚拟内容为两个标注框,该标注框内分别记载产品的各个部分的介绍和操作步骤。通过该虚拟内容用户能够了解该目标物体的各个部分的特性以及整个操作步骤。As shown in FIG. 4 , the virtual content 402 may be the textual presentation content of the product description information of the target object. As shown in FIG. 4 , the virtual content added at the position of the target object 401 (ie, the range hood in FIG. 4 ) is two callout boxes, which respectively record the introduction and operation steps of each part of the product. Through the virtual content, the user can understand the characteristics of each part of the target object and the entire operation steps.
示例性地,以图4为例,以上述方法的执行主体是用户终端,在使用时,用户通过用户终端拍摄抽油烟机,则用户终端能够确定抽油烟机在真实世界内的位置,并且在该抽油烟机的位置处添加抽油烟机的产品介绍信息和操作步骤信息等与抽油烟机的产品描述信息对应的虚拟内容,便于用户快速了解和操作该抽油烟机。Exemplarily, taking FIG. 4 as an example, the execution subject of the above method is the user terminal. When in use, the user photographs the range hood through the user terminal, then the user terminal can determine the position of the range hood in the real world, and in the At the position of the range hood, virtual content corresponding to the product description information of the range hood is added, such as product introduction information and operation step information of the range hood, so as to facilitate the user to quickly understand and operate the range hood.
请参阅图5,图5示出了本申请实施例提供的一种虚拟内容的显示方法,用于在目标物体的位置处展示虚拟内容,以便提高用户阅读产品说明书的便捷性、降低阅读说明书的乏味性以及更加能够吸引用户阅读产品说明书和提高用户获知该产品说明书的内容的便捷性。具体地,该方法包括:S510至S560。Please refer to FIG. 5. FIG. 5 shows a method for displaying virtual content provided by an embodiment of the present application, which is used to display virtual content at the position of a target object, so as to improve the convenience for users to read the product specification and reduce the time and cost of reading the specification. It is more tedious and more able to attract users to read the product manual and improve the convenience for users to know the content of the product manual. Specifically, the method includes: S510 to S560.
S510:获取图像采集装置采集的真实环境的图像。S510: Acquire an image of the real environment collected by the image collection device.
S520:如果所述图像内存在目标物体,获取所述目标物体对应的产品描述信息。S520: If a target object exists in the image, obtain product description information corresponding to the target object.
S530:获取所述目标物体对应的模型数据。S530: Acquire model data corresponding to the target object.
其中,该模型数据可以是指该目标物体的产品设计数据,具体地,在开发人员设计该目标物体的时候或者设计该目标物体的展示效果的时候,开发人员会设置该目标物体的模型,该模型对应的数据就可以是上述模型数据,该模型数据包括目标物体的轮廓形状、尺寸比例、外观颜色等数据。在生产该目标物体的时候,可以依据该模型数据生产该目标物体。The model data may refer to the product design data of the target object. Specifically, when the developer designs the target object or designs the display effect of the target object, the developer will set the model of the target object. The data corresponding to the model may be the above-mentioned model data, and the model data includes the outline shape, size ratio, appearance color and other data of the target object. When producing the target object, the target object can be produced according to the model data.
作为一种实施方式,该目标物体的模型数据可以存储在该目标物体对应的产品服务器内,则用户终端可以发送数据获取请求至该产品服务器,其中,该数据获取请求包括目标物体对应的产品标识,产品服务器响应该数据获取请求基于目标物体对应的产品标识获取该目标物体的模型数据。As an implementation manner, the model data of the target object may be stored in a product server corresponding to the target object, and the user terminal may send a data acquisition request to the product server, wherein the data acquisition request includes the product identifier corresponding to the target object , the product server acquires the model data of the target object based on the product identifier corresponding to the target object in response to the data acquisition request.
作为另一种实施方式,该目标物体的模型数据可以存储在上述数据处理服务器,用户终端可以发送数据获取请求至该数据处理服务器,由该数据处理服务器根据该数据获取请求返回该目标物体的模型数据。其中,数据处理服务器可以与产品服务器内的至少部分数据同步,以使处理服务器内存储的目标物体的模型数据与产品服务器内的模型数据一致。As another implementation manner, the model data of the target object can be stored in the above-mentioned data processing server, the user terminal can send a data acquisition request to the data processing server, and the data processing server can return the model of the target object according to the data acquisition request data. The data processing server may synchronize with at least part of the data in the product server, so that the model data of the target object stored in the processing server is consistent with the model data in the product server.
S540:基于所述模型数据生成所述目标物体对应的虚拟模型。S540: Generate a virtual model corresponding to the target object based on the model data.
其中,该虚拟模型可以是能够添加至真实环境内的虚拟对象,具体地,以本申请的执行主体是用户终端为例,该虚拟模型可以是能够在用户终端的屏幕上显示的该目标物体对应的目标图像。作为一种实施方式,该虚拟模型可以是2D平面图,也可以是3D立体图。The virtual model may be a virtual object that can be added to the real environment. Specifically, taking the execution subject of the present application as an example of a user terminal, the virtual model may be a corresponding target object that can be displayed on the screen of the user terminal. target image. As an implementation manner, the virtual model may be a 2D plan view or a 3D three-dimensional view.
以���述图4��的目标物体401���例,���如,该目标物体401为抽油烟机,则在获取到该抽油烟机的模型数据,即抽油烟机的形状轮廓数据、尺寸大小等数据之后,根据该模型数据生成该抽油烟机的虚拟模型,即生成一个虚拟抽油烟机,并且该虚拟抽油烟机的图形与实体抽油烟机的形状轮廓相同,而尺寸可以是该实体抽油烟机的尺寸的等比例缩放。Taking the
作为一种实施方式,该虚拟模型能够被添加至真实环境内,用户能够通过AR设备在真实环境内观察到该虚拟模型,即能够在该真实环境内观察到虚拟的目标物体。As an embodiment, the virtual model can be added to the real environment, and the user can observe the virtual model in the real environment through the AR device, that is, the virtual target object can be observed in the real environment.
S550:基于所述产品描述信息和所述虚拟模型生成所述虚拟内容。S550: Generate the virtual content based on the product description information and the virtual model.
作为一种实施方式,可以根据产品描述信息更改该虚拟模型,例如,基于该虚拟模型的基础上,在该虚拟模型上添加指定内容,该指定内容根据该产品描述信息而设定,则添加了指定内容的虚拟模型作为虚拟内容,能够被添加在真实环境内。As an embodiment, the virtual model can be changed according to the product description information. For example, based on the virtual model, a specified content is added to the virtual model. The specified content is set according to the product description information, and then the specified content is added. A virtual model of the specified content can be added within the real environment as virtual content.
具体地,可以是在虚拟模型上添加指定内容,该标注内容可以是文字标注,该文字标注用于指示目标物体的各个部位的功能、说明以及整体的操作步骤或整体产品的说明等,该文字标注与产品描述信息对应,具体地,可以是根据该产品描述信息而设定文字标注。需要说明的是,该文字标注并非仅仅包括文字,也可以包含图片或者语音等格式的信息。Specifically, the specified content can be added to the virtual model, and the label content can be a text label, and the text label is used to indicate the function, description of each part of the target object, the overall operation steps or the description of the overall product, etc. The text label The label corresponds to the product description information, and specifically, a text label may be set according to the product description information. It should be noted that the text annotation does not only include text, but may also include information in formats such as pictures or voices.
如图6所示,界面上所显示的内容包括目标物体401以及该目标物体401当前的真实环境和虚拟内容,具体地,该虚拟内容包括虚拟模型4021和文字标注4022,如图6所示,目标物体401为以虚线��示的物体,例如,抽油烟机,该虚拟模型4021以实现表示,其包裹在目标物体401的外面。As shown in FIG. 6 , the content displayed on the interface includes the
参考图4,将文字标注4022添加在虚拟模型4021的方式,也将文字标注4022添加在目标物体401的方式相比,前者能够减少计算量,因为,将文字标注4022添加在目标物体401的方式,需要精确查找目标物体401的各个部位在真实环境内的位置,会增加整体的计算量,而由于本申请的实施例中,该虚拟模型4021是根据目标物体的模型数据而设定,使得该虚拟模型4021的尺寸和比例能够与原目标物体相似,并且,通过对该虚拟模型4021的操作,例如,在虚拟模型4021上添加文字信息,能够增加灵活。Referring to FIG. 4 , the method of adding the
如图7所示,界面上所显示的内容包括目标物体401以及该目标物体401当前的真实环境和虚拟内容,该虚拟内容包括虚拟模型4021和文字标注4022,其中,文字标注4022可以包括添加在虚拟模型4021的表面上的第一内容和设置在虚拟模型4021的表面之外的第二内容,其中,第一内容和第二内容之间可以相互关联,如图7所示,该第一内容为数字,起到标注作用,第二内容为操作内容,该操作内容与该数字对应,如图7所示的“拆除1处的****”,因此,用户结合第一内容和第二内容就能够明确如何操作该目标物体,而不必查阅目标物体的使用说明书。As shown in FIG. 7 , the content displayed on the interface includes the
作为一种实施方式,可以通过动画的方式将该产品描述通过以AR的效果展现在用户面前,则基于所述产品描述信息和所述虚拟模型生成所述虚拟内容的实施方式可以是,基于所述产品描述信息和所述虚拟模型生成动态展示画面,所述动态展示画面作为所述虚拟内容。As an implementation manner, the product description may be displayed in front of the user with an AR effect in an animation manner, and an implementation manner of generating the virtual content based on the product description information and the virtual model may be based on the The product description information and the virtual model are used to generate a dynamic display image, and the dynamic display image is used as the virtual content.
具体地,该动态展示画面可以是基于该虚拟模型而建立的动态画面。作为一种实施方式,该产品描述信息可以是产品部位介绍信息,则该动态展示画面可以是按照预定顺序旋转虚拟模型,将该虚拟模型的多个部位通过旋转虚拟模型的方式展示在用户的视野范围内,并且在每个部位处显示该部位的描述信息,同时,还可以打开该虚拟模型的外壳,从而能够展示该虚拟模型的内部结构。Specifically, the dynamic presentation picture may be a dynamic picture established based on the virtual model. As an embodiment, the product description information may be product part introduction information, and the dynamic display screen may be a virtual model that rotates in a predetermined order, and multiple parts of the virtual model are displayed in the user's field of vision by rotating the virtual model. Within the range, and the description information of the part is displayed at each part, at the same time, the shell of the virtual model can also be opened, so that the internal structure of the virtual model can be displayed.
作为另一种实施方式,该产品描述信息可以是产品操作信息,该操作信息包括产品的安装、拆卸、清洗等需要按照指定顺序操作目标物体以完成特定操作和功能的信息。则该动态展示画面可以是该操作信息对应的操作过程的动态展示。例如,该操作信息是该目标物体的拆卸操作,则动态展示画面可以是该目标物体的虚拟模型的各个部位按照指定顺序依次被拆除的过程展示动画。As another embodiment, the product description information may be product operation information, and the operation information includes information that the target object needs to be operated in a specified order to complete specific operations and functions, such as installation, disassembly, and cleaning of the product. Then, the dynamic display screen may be a dynamic display of the operation process corresponding to the operation information. For example, if the operation information is the dismantling operation of the target object, the dynamic display picture may be a process display animation in which various parts of the virtual model of the target object are dismantled sequentially in a specified order.
作为一种实施方式,还可以获取目标物体在真实环境内的位姿、光照等信息,基于该信息确定虚拟模型,使得虚拟模型能够更加接近目标物体在真实环境内的摆放位置,具体地,请参阅后续实施例。As an embodiment, information such as the pose, lighting, etc. of the target object in the real environment can also be obtained, and a virtual model is determined based on the information, so that the virtual model can be closer to the placement position of the target object in the real environment. Specifically, See subsequent examples.
S560:在所述目标物体在所述真实环境的位置处添加所述虚拟内容。S560: Add the virtual content at the position of the target object in the real environment.
请参阅图8,图8示出了本申请实施例提供的一种虚拟内容的显示方法,用于在目标物体的位置处展示虚拟内容,以便提高用户阅读产品说明书的便捷性、降低阅读说明书的乏味性以及更加能够吸引用户阅读产品说明书和提高用户获知该产品说明书的内容的便捷性。具体地,该方法包括:S810至S870。Please refer to FIG. 8 . FIG. 8 shows a method for displaying virtual content provided by an embodiment of the present application, which is used to display virtual content at the position of a target object, so as to improve the convenience for users to read the product manual and reduce the time spent in reading the manual. It is more tedious and more able to attract users to read the product manual and improve the convenience for users to know the content of the product manual. Specifically, the method includes: S810 to S870.
S810:获取图像采集装置采集的真实环境的图像。S810: Acquire an image of the real environment collected by the image collection device.
S820:如果所述图像内存在目标物体,获取所述目标物体对应的产品描述信息。S820: If a target object exists in the image, obtain product description information corresponding to the target object.
S830:获取所述目标物体对应的模型数据。S830: Acquire model data corresponding to the target object.
S840:获取所述目标物体在所述真实环境内的视觉呈现信息。S840: Acquire visual presentation information of the target object in the real environment.
其中,视觉呈现信息用于表征用户在所述真实环境内观察的目标物体时的视觉感受,具体地,可以是所观察到的目标物体的摆放角度、光照以及其他现象等。The visual presentation information is used to represent the user's visual perception of the target object observed in the real environment, and specifically, may be the placement angle, illumination, and other phenomena of the observed target object.
作为一种实施方式,该视觉呈现信息包括目标物体的光照信息和所述目标物体相对所述图像采集装置的位姿信息的至少一种。作为一种实施方式,该方法应用于电子设备,该图像采集装置安装在电子设备内,则目标物体相对所述图像采集装置的位姿信息也相当于目标物体相对电子设备的位姿信息。As an embodiment, the visual presentation information includes at least one of illumination information of the target object and pose information of the target object relative to the image acquisition device. As an embodiment, the method is applied to an electronic device, and the image acquisition device is installed in the electronic device, and the pose information of the target object relative to the image capture device is also equivalent to the pose information of the target object relative to the electronic device.
其中,目标物体在所述真实环境内的位姿信息可以包括目标物体在所述真实环境内的位置及旋转角度等信息。具体地,该位姿信息为所述目标物体与所述图像采集装置之间的位置及旋转信息。所采集的目标图像内的目标物体可以是一个,也是可以多个。当所采集的目标图像内目标物体为多个时��则获取在目标图像内的每个目标物体与图像采集装置之间的姿态信息。The pose information of the target object in the real environment may include information such as the position and rotation angle of the target object in the real environment. Specifically, the pose information is the position and rotation information between the target object and the image acquisition device. There may be one or more target objects in the collected target image. When there are multiple target objects in the collected target image, the attitude information between each target object in the target image and the image acquisition device is acquired.
获取位姿信息的方式可以是通过预先设定在目标物体上的标记物来获取,也可以根据预先训练好的分析模型而根据目标物体的图像来确定。The manner of obtaining the pose information may be obtained by using markers preset on the target object, or may be determined according to the image of the target object according to a pre-trained analysis model.
作为一种实施方式,所述目标物体设置有一个或多个标记物,每个标记物包括多个相互分离的子标记物,每个子标记物包括一个或多个特征点,其中,所述标记物包括背景区域以及按照特定规则分布于背景区域的若干子标记物,每个子标记物具有一个或多个特征点。As an embodiment, the target object is provided with one or more markers, each marker includes a plurality of mutually separated sub-markers, and each sub-marker includes one or more feature points, wherein the markers The marker includes a background area and several sub-markers distributed in the background area according to specific rules, and each sub-marker has one or more feature points.
子标记物为具有一定形状的图案,且该子标记物的颜色与标记物内的背景区域的颜色有一定的区分度,例如,背景区域为白色,而子标记物的颜色为黑色。子标记物可以是由一个或多个特征点构成,且特征点的形状不做限定,可以是圆点、圆环,也可以是三角形、其他形状。The sub-marker is a pattern with a certain shape, and the color of the sub-marker has a certain degree of distinction from the color of the background area in the marker. For example, the background area is white, and the color of the sub-marker is black. The sub-marker may be composed of one or more feature points, and the shape of the feature point is not limited, and may be a dot, a ring, a triangle, or other shapes.
具体地,获取图像内的特征点在该图像对应的图像坐标系内的像素坐标,根据所述图像内的特征点的像素坐标和预先获取的所述特征点对应的物理坐标,获取所述图像采集装置与所述目标物体之间的姿态信息。其中,该特征点可以是上述的子标记物。Specifically, the pixel coordinates of the feature points in the image in the image coordinate system corresponding to the image are acquired, and the image is acquired according to the pixel coordinates of the feature points in the image and the pre-acquired physical coordinates corresponding to the feature points. The attitude information between the device and the target object is collected. Wherein, the feature point may be the above-mentioned sub-marker.
其中,所述物理坐标为预先获取的特征点在所述目标物体对应的物理坐标系内的坐标,特征点的物理坐标即为该特征点在对应目标物体上的真实位置。各个特征点的物理坐标可以预先获取,具体地,多个特征点和多个标记物设置在目标物体的标记面上,选择标记面上的某一个点作为原点,建立物理坐标系。将标记面作为物理坐标系的XOY平面,XOY坐标系的原点位于标记面内。其中,该各个特征点的物理坐标可以预先根据各个特征点在标记物上的位置以及与该标记物上的某个基准点的距离而确定,然后,该物理坐标系的中心可以是该基准点。The physical coordinates are the coordinates of the pre-acquired feature points in the physical coordinate system corresponding to the target object, and the physical coordinates of the feature points are the real positions of the feature points on the corresponding target object. The physical coordinates of each feature point can be acquired in advance. Specifically, multiple feature points and multiple markers are set on the marking surface of the target object, and a certain point on the marking surface is selected as the origin to establish a physical coordinate system. Take the marked surface as the XOY plane of the physical coordinate system, and the origin of the XOY coordinate system is located in the marked surface. Wherein, the physical coordinates of each feature point may be determined in advance according to the position of each feature point on the marker and the distance from a certain reference point on the marker, and then the center of the physical coordinate system may be the reference point .
由于目标物体的位姿不同的情况下,所采集的目标物体的图像中,目标物体上的标记物内的子标记物与基准点之间的距离以及子标记物的位置是不同的,因此,通过该像素坐标和物理坐标的映射关系,就能够确定各个子标记在真实环境内的位置,从而能够整体确定标记物的位置,进而再根据标记物在目标物体上的安装位置确定目标物体的位姿。When the pose of the target object is different, in the collected image of the target object, the distance between the sub-marker in the marker on the target object and the reference point and the position of the sub-marker are different. Therefore, Through the mapping relationship between the pixel coordinates and the physical coordinates, the position of each sub-marker in the real environment can be determined, so that the position of the marker can be determined as a whole, and then the position of the target object can be determined according to the installation position of the marker on the target object. posture.
在另一些实施例中,该视觉呈现信息可以包括所述目标物体的光照信息和所述目标物体相对所述图像采集装置的位姿信息。其中,所述电子设备可以是本方法实施例的执行主体,例如,可以是用户终端。该光照信息可以是该目标物体在真实环境内的光影效果,例如,该目标物体的表面的明暗效果以及该目标物体在真实环境的影子。In other embodiments, the visual presentation information may include illumination information of the target object and pose information of the target object relative to the image capturing device. The electronic device may be the execution body of this embodiment of the method, for example, may be a user terminal. The lighting information may be the light and shadow effects of the target object in the real environment, for example, the light and dark effects of the surface of the target object and the shadow of the target object in the real environment.
作为另一种实施方式,还可以根据预先训练的分析模型来确定该位姿信息,具体地,请参阅图9,该S840包括:S841至S843。As another implementation manner, the pose information may also be determined according to a pre-trained analysis model, specifically, please refer to FIG. 9 , the S840 includes: S841 to S843.
S841:获取多个样本数据,所述样本数据为预先根据所述目标物体的多个不同视觉呈现信息对应的模型数据得到的图像数据。S841: Acquire a plurality of sample data, where the sample data is image data obtained in advance according to model data corresponding to a plurality of different visual presentation information of the target object.
于本申请实施例,可以预先训练分析模型,该分析模型能够基于图像采集装置采集的目标物体的图像分析得到该目标物体的视觉呈现信息。In the embodiment of the present application, an analysis model can be pre-trained, and the analysis model can obtain the visual presentation information of the target object based on the image analysis of the target object collected by the image acquisition device.
作为一种实施方式,该分析模型可以是基于神经网络的机器学习模型。具体地,该分析模型可以是卷积神经网络(Convolutional Neural Networks,CNN)。本申请实施例中的分析模型是基于CNN设定的,具体地,该分析模型如图10所示,图像采集装置采集的图像输入卷积神经网络,卷积神经网络将图像的特征向量输入第一全连层和第二全连层,其中,第一全连层输出检测结果,该检测结果用于确定图像采集装置采集的真实环境的图像是否存在目标物体,以及确定目标物体的���品标识。第二全连层输出视觉呈现信息。As an embodiment, the analysis model may be a neural network-based machine learning model. Specifically, the analysis model may be a convolutional neural network (Convolutional Neural Networks, CNN). The analysis model in the embodiment of the present application is set based on CNN. Specifically, the analysis model is shown in FIG. 10 . The image collected by the image acquisition device is input into the convolutional neural network, and the convolutional neural network inputs the feature vector of the image into the first A fully-connected layer and a second fully-connected layer, wherein the first fully-connected layer outputs a detection result, and the detection result is used to determine whether a target object exists in the image of the real environment collected by the image acquisition device, and to determine the product identification of the target object. The second fully connected layer outputs visual presentation information.
其中,直接通过端到端的CNN网络回归位姿的方法,比如posenet,通常比传统特征点匹配的方法的精度要低一个量级。这是由于CNN的方式,更类似于图像检索,会受到训练数据的影响。Among them, the method of directly regressing the pose through the end-to-end CNN network, such as posenet, usually has an order of magnitude lower accuracy than the traditional feature point matching method. This is due to the way CNNs, more similar to image retrieval, are affected by the training data.
因此,为了提高神经网络的精度,本申请实施例通过目标物体的模型数据,可以渲染出较丰富的样本数据。并且,本申请的分析模型也可以同时完成检测任务,不用外接检测模块。Therefore, in order to improve the accuracy of the neural network, the embodiment of the present application can render richer sample data by using the model data of the target object. Moreover, the analysis model of the present application can also complete the detection task at the same time, without requiring an external detection module.
具体地,本申请分析模型的应用包括两个部分,即离线训练部分和在线运行部分。如图11所示,该离线训练部分中,渲染模型用于产生样本数据,具体用于输入3D模型、位姿、光照参数,输出该模型投影到2D的图像。其中,投影到2D的图像可以是基于所述模型数据生成所述目标物体对应的虚拟模型。Specifically, the application of the analysis model of the present application includes two parts, namely, an offline training part and an online running part. As shown in FIG. 11 , in the offline training part, the rendering model is used to generate sample data, and specifically, it is used to input the 3D model, pose, and lighting parameters, and output the image projected from the model to 2D. The image projected to the 2D may be a virtual model corresponding to the target object generated based on the model data.
具体地,获取目标物体对应的模型数据,并且设置该模型数据对应的位姿和光照参数,并且将该模型数据和位姿和光照参数输入该渲染模型,该渲染模型能够根据模型数据和位姿和光照参数输出该目标物体的二维图像,其中,该二维图像可以看作是该目标物体在该模型数据对应的位姿和光照参数的真实环境内,被图像采集装置采集到的图像,即该二维图像能够表征目标物体在指定位姿和光照下的图像。Specifically, the model data corresponding to the target object is obtained, the pose and lighting parameters corresponding to the model data are set, and the model data, pose and lighting parameters are input into the rendering model, and the rendering model can be based on the model data and pose and illumination parameters to output a two-dimensional image of the target object, wherein, the two-dimensional image can be regarded as the image of the target object collected by the image acquisition device in the real environment of the pose and illumination parameters corresponding to the model data, That is, the two-dimensional image can represent the image of the target object under the specified pose and illumination.
具体地,该渲染模型可以是图形设计软件或者具有图形处理功能的应用程序,其能够将3D图形转换为2D图形,例如,三维图形渲染工具,能够基于模型数据、位姿和光照参数渲染得到该位姿和光照下的三维物体,并且转换为该物体的二维图像。Specifically, the rendering model may be graphics design software or an application program with graphics processing function, which can convert 3D graphics into 2D graphics, for example, a three-dimensional graphics rendering tool, which can render the rendering model based on model data, pose and lighting parameters. A 3D object in pose and lighting, and converted to a 2D image of the object.
然后,基于该目标物体的模型数据,以及输入的多个不同的位姿和光照,就能够得到不同位姿和光照下的多种不同的图像数据,即上述二维图像。Then, based on the model data of the target object and a plurality of different input poses and illuminations, a variety of different image data under different poses and illuminations, that is, the above-mentioned two-dimensional images can be obtained.
S842:基于多个所述样本数据和每个所述对应的视觉呈现信息,训练分析模型。S842: Train an analysis model based on a plurality of the sample data and each of the corresponding visual presentation information.
然后,将该多个样本数据输入分析模型,基于该多个所述样本数据和每个所述对应的视觉呈现信息训练分析模型。其中,每个样本数据对应的位姿和光照参数作为该样本数据的真值,即标签,从而根据样本和每个样本的标签训练该模型,使得该模型具备分析目标物体的图像得到目标物体在所述真实环境内的视觉呈现信息的功能。Then, the plurality of sample data is input into an analysis model, and the analysis model is trained based on the plurality of the sample data and each of the corresponding visual presentation information. Among them, the pose and illumination parameters corresponding to each sample data are used as the true value of the sample data, that is, the label, so that the model is trained according to the sample and the label of each sample, so that the model can analyze the image of the target object to obtain the target object in A function of visually presenting information within the real environment.
具体地,使用交叉熵误差评价检测结果,使用最小均分误差评价视觉呈现信息的结果。误差方向传递,使用梯度下降法优化模型的参数。Specifically, the detection result is evaluated using the cross-entropy error, and the result of visually presenting the information is evaluated using the minimum mean error. The error direction is passed, and the parameters of the model are optimized using the gradient descent method.
S843:基于训练后的所述分析模型分析包括所述目标物体的图像,得到所述目标物体在所述真实环境内的视觉呈现信息。S843: Analyze the image including the target object based on the trained analysis model to obtain visual presentation information of the target object in the real environment.
请参阅图11,在线运行部分,图像采集装置采集的图像,即图11中的相机图像被输入分析模型,分析模型输出该图像的结果,参考图10的过程,得到检测结果和视觉呈现信息,根据检测结果判断图像内是否存在目标物体,如果存在,��将视觉呈现信息输入渲染模块,得到目标物体对应的虚拟模型。Please refer to FIG. 11, the online operation part, the image collected by the image acquisition device, that is, the camera image in FIG. 11 is input into the analysis model, and the analysis model outputs the result of the image, referring to the process of FIG. 10, to obtain the detection result and visual presentation information, According to the detection result, it is determined whether there is a target object in the image, and if there is, the visual presentation information is input into the rendering module to obtain a virtual model corresponding to the target object.
S850:基于所述模型数据和所述视觉呈现信息生成所述目标物体对应的虚拟模型。S850: Generate a virtual model corresponding to the target object based on the model data and the visual presentation information.
在一些实施例中,视觉呈现信息包括位姿信息,则基于所述模型数据和所述视觉呈现信息生成所述目标物体对应的虚拟模型,包括:基于所述模型数据和所述位姿信息生成所述目标物体对应的虚拟模型,所述虚拟模型与所述目标物体的摆放位姿相同。In some embodiments, the visual presentation information includes pose information, and generating a virtual model corresponding to the target object based on the model data and the visual presentation information includes: generating based on the model data and the pose information The virtual model corresponding to the target object, where the virtual model and the target object have the same pose.
作为一种实施方式,预先确定不同的位置信息对应的模型数据,其中个,该位姿信息可以包括目标物体与所述图像采集装置之间的位置及旋转信息。具体地,该旋转信息可以作为该目标物体在真实环境内的摆放位姿,根据该目标物体与所述图像采集装置之间的位置可以得到该目标物体在真实环境内与图像采集装置之间的距离。As an implementation manner, model data corresponding to different position information is pre-determined, among which, the pose information may include position and rotation information between the target object and the image acquisition device. Specifically, the rotation information can be used as the orientation of the target object in the real environment. According to the position between the target object and the image acquisition device, the distance between the target object and the image acquisition device in the real environment can be obtained. the distance.
在一些实施例中,该模型数据包括尺寸信息和摆放位姿,该摆放位姿可以作为该虚拟模型的朝向,例如,正视图或者后视图等。则根据该目标物体与所述图像采集装置之间的位置确定尺寸信息。例如,距离越近,尺寸越大,距离越远,尺寸越小。根据该目标物体与所述图像采集装置之间的旋转信息确定摆放位姿,将所确定的尺寸信息和摆放位姿作为模型数据,根据模型数据生成虚拟模型,使得虚拟模型的尺寸不小于目标物体在图像采集装置采集的真实环境的图像内的尺寸,并且使得该虚拟模型的摆放位置与目标物体在真实环境内的摆放位姿相同。In some embodiments, the model data includes size information and a pose, and the pose can be used as an orientation of the virtual model, for example, a front view or a rear view. Then, the size information is determined according to the position between the target object and the image acquisition device. For example, the closer the distance, the larger the size, and the further the distance, the smaller the size. Determine the placement posture according to the rotation information between the target object and the image acquisition device, use the determined size information and placement posture as model data, and generate a virtual model according to the model data, so that the size of the virtual model is not smaller than The size of the target object in the image of the real environment collected by the image acquisition device, and the placement position of the virtual model is the same as the placement pose of the target object in the real environment.
具体地,目标物体对应的模型数据包括多个尺寸信息和摆放位置,且每个尺寸信息对应位置,且每个摆放位姿对应旋转信息,因此,在获取到该目标物体与所述图像采集装置之间的位置和旋转信息之后,查找该位置对应的尺寸信息,查找该旋转信息对应的摆放位姿。Specifically, the model data corresponding to the target object includes a plurality of size information and placement positions, and each size information corresponds to a position, and each placement pose corresponds to rotation information. Therefore, after the target object and the image are acquired After the position and rotation information between the devices is collected, the size information corresponding to the position is searched, and the placement posture corresponding to the rotation information is searched.
S860:基于所述产品描��信息和���述虚拟模型生成所述虚拟内容。S860: Generate the virtual content based on the product description information and the virtual model.
S870:在所述目标物体在所述真实环境的位置处添加所述虚拟内容。S870: Add the virtual content at the position of the target object in the real environment.
参考了位姿信息之后,用户所观察到的虚拟内容中,目标物体的虚拟模型随着用户的观察方向、位置和视角的移动而移动,即虚拟内容根据用户的观察角度而改变,其改变方式与用户看到的目标物体相同。After referring to the pose information, in the virtual content observed by the user, the virtual model of the target object moves with the movement of the user's viewing direction, position, and viewing angle, that is, the virtual content changes according to the user's viewing angle. The same as the target object that the user sees.
如图12所示,相比较图6和7,可以看出,图像采集装置的观察视角改变之后,虚拟模型跟随目标物体在图像内的位姿的改变而改变,使得用户通过图像采集装置和用户终端的屏幕看到的AR效果中,虚拟模型跟随目标物体在图像内的位姿的改变而改变,更加具有真实效果。As shown in FIG. 12 , compared with FIGS. 6 and 7 , it can be seen that after the observation angle of the image capture device changes, the virtual model changes with the change of the pose of the target object in the image, so that the user can communicate with the user through the image capture device. In the AR effect seen on the screen of the terminal, the virtual model changes with the change of the pose of the target object in the image, which is more realistic.
作为一种实施方式,所述虚拟模型为所述目标物体的虚拟模型,所述虚拟模型与所述目标物体在所述图像内的尺寸匹配,具体地,虚拟模型与目标物体在真实环境内的位置相同,且虚拟模型与所述目标物体的尺寸相同,从而使得虚拟模型与目标物体能够完全重合,使得用户能够观察到目标物体完全由虚拟模型代替。As an embodiment, the virtual model is a virtual model of the target object, and the virtual model matches the size of the target object in the image. Specifically, the size of the virtual model and the target object in the real environment is matched. The positions are the same, and the virtual model and the target object have the same size, so that the virtual model and the target object can be completely coincident, so that the user can observe that the target object is completely replaced by the virtual model.
因此,用户可以通过用户终端拍摄目标物体,并且在目标物体的位置显示虚拟内容,且随着用户终端和用户的观察角度和位置的改变,该虚拟内容也跟随改变。Therefore, the user can photograph the target object through the user terminal, and display virtual content at the position of the target object, and as the viewing angle and position of the user terminal and the user change, the virtual content also changes accordingly.
请参阅图13,其示出了本申请实施例提供的一种虚拟内容的显示装置900,该装置可以包括:第一获取单元1301、第二获取单元1302、确定单元1303和处理单元1304。Please refer to FIG. 13 , which shows an apparatus 900 for displaying virtual content provided by an embodiment of the present application. The apparatus may include: a first acquiring unit 1301 , a second acquiring unit 1302 , a determining unit 1303 and a processing unit 1304 .
第一获取单元1301,用于获取图像采集装置采集的真实环境的图像。The first obtaining unit 1301 is configured to obtain an image of the real environment collected by the image collecting device.
第二获取单元1302,用于如果所述图像内存在目标物体,获取所述目标物体对应的产品描述信息和所述目标物体在所述真实环境内的视觉呈现信息,所述视觉呈现信息包括所述目标物体相对所述图像采集装置的位姿信息。The second acquiring unit 1302 is configured to acquire, if a target object exists in the image, the product description information corresponding to the target object and the visual presentation information of the target object in the real environment, where the visual presentation information includes all pose information of the target object relative to the image acquisition device.
确定单元1303,用于根据所述产品描述信息和所述视觉呈现信息生成虚拟内容,所述虚拟内容用于表征所述产品描述信息。The determining unit 1303 is configured to generate virtual content according to the product description information and the visual presentation information, where the virtual content is used to represent the product description information.
处理单元1304,用于在所述目标物体在所述真实环境的位置处添加所述虚拟内容。The processing unit 1304 is configured to add the virtual content at the position of the target object in the real environment.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述装置和模块的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and brevity of description, for the specific working process of the above-described devices and modules, reference may be made to the corresponding processes in the foregoing method embodiments, which will not be repeated here.
请参阅图14,其示出了本申请实施例提供的一种虚拟内容的显示装置1400,该装置可以包括:第一获取单元1410、第二获取单元1420、确定单元1430和处理单元1440。Please refer to FIG. 14 , which shows an
第一获取单元1410,用于获取图像采集装置采集的真实环境的图像。The first obtaining unit 1410 is configured to obtain an image of the real environment collected by the image collecting device.
第二获取单元1420,用于如果所述图像内存在目标物体,获取所述目标物体对应的产品描述信息。The second obtaining unit 1420 is configured to obtain product description information corresponding to the target object if there is a target object in the image.
确定单元1430,用于根据所述产品描述信息和所述视觉呈现信息生成虚拟内容,所述虚拟内容用于表征所述产品描述信息。The determining unit 1430 is configured to generate virtual content according to the product description information and the visual presentation information, where the virtual content is used to represent the product description information.
确定单元1430包括获取子单元1431、模型子单元1432和内容子单元1433。The determination unit 1430 includes an acquisition subunit 1431 , a model subunit 1432 and a content subunit 1433 .
获取子单元1431用于获取所述目标物体对应的模型数据。The acquiring subunit 1431 is used to acquire model data corresponding to the target object.
模型子单元1432用于基于所述模型数据和所述视觉呈现信息生成所述目标物体对应的虚拟模型。The model subunit 1432 is configured to generate a virtual model corresponding to the target object based on the model data and the visual presentation information.
具体地,模型子单元1432用于获取所述目标物体在所述真实环境内的视觉呈现信息,所述视觉呈现信息包括所述目标物体的光照信息和所述目标物体相对所述图像采集装置的位姿信息的至少一种;基于所述模型数据和所述视觉呈现信息生成所述目标物体对应的虚拟模型。Specifically, the model subunit 1432 is configured to obtain the visual presentation information of the target object in the real environment, where the visual presentation information includes illumination information of the target object and the relative information of the target object relative to the image acquisition device. At least one type of pose information; generating a virtual model corresponding to the target object based on the model data and the visual presentation information.
进一步地,所述视觉呈现信息包括所述位姿信息,模型子单元1432用于基于所述模型数据和所述位姿信息生成所述目标物体对应的虚拟模型,所述虚拟模型与所述目标物体的摆放位姿相同。Further, the visual presentation information includes the pose information, and the model subunit 1432 is configured to generate a virtual model corresponding to the target object based on the model data and the pose information, the virtual model and the target The objects are placed in the same pose.
进一步地,所述虚拟模型为所述目标物体的虚拟模型,所述虚拟模型与所述目标物体在所述图像内的尺寸匹配。Further, the virtual model is a virtual model of the target object, and the virtual model matches the size of the target object in the image.
进一步地,所述视觉呈现信息包括所述位姿信息,模型子单元1432用于获取多个样本数据,所述样本数据为预先根据所述目标物体的多个不同视觉呈现信息对应的模型数据得到的图像数据;基于多个所述样本数据和每个所述对应的视觉呈现信息,训练分析模型;基于训练后的所述分析模型分析包括所述目标物体的图像,得到所述目标物体在所述真实环境内的视觉呈现信息。Further, the visual presentation information includes the pose information, and the model subunit 1432 is used to acquire a plurality of sample data, and the sample data is obtained in advance according to the model data corresponding to a plurality of different visual presentation information of the target object. based on a plurality of the sample data and each of the corresponding visual presentation information, train an analysis model; analyze the image including the target object based on the trained analysis model, and obtain the target object in the Describe the visual presentation of information in the real environment.
内容子单元1433用于基于所述产品描述信息和所述虚拟模型生成所述虚拟内容。The content subunit 1433 is configured to generate the virtual content based on the product description information and the virtual model.
具体地,内容子单元1433用于基于所述产品描述信息和所述虚拟模型生成动态展示画面,所述动态展示画面作为所述虚拟内容。Specifically, the content subunit 1433 is configured to generate a dynamic display image based on the product description information and the virtual model, and the dynamic display image is used as the virtual content.
处理单元1440,用于在所述目标物体在所述真实环境的位置处添加所述虚拟内容。The processing unit 1440 is configured to add the virtual content at the position of the target object in the real environment.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述装置和模块的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and brevity of description, for the specific working process of the above-described devices and modules, reference may be made to the corresponding processes in the foregoing method embodiments, which will not be repeated here.
在本申请所提供的几个实施例中,模块相互之间的耦合可以是电性,机械或其它形式的耦合。In several embodiments provided in this application, the coupling between the modules may be electrical, mechanical or other forms of coupling.
另外,在本申请各个实施例中的各功能模块可以集成在一个处理模块中,也可以是各个模块单独物理存在,也可以两个或两个以上模块集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。In addition, each functional module in each embodiment of the present application may be integrated into one processing module, or each module may exist physically alone, or two or more modules may be integrated into one module. The above-mentioned integrated modules can be implemented in the form of hardware, and can also be implemented in the form of software function modules.
请参考图15,其示出了本申请实施例提供的一种电子设备的结构框图。该电子设备1500可以是智能手机、平板电脑、电子书等能够运行应用程序的电子设备。具体地,该电子设备可以是上述的头显或者用户终端。Please refer to FIG. 15 , which shows a structural block diagram of an electronic device provided by an embodiment of the present application. The
本申请中的电子设备1500可以包括一个或多个如下部件:处理器1510、存储器1520、以及一个或多个应用程序,其中一个或多个应用程序可以被存储在存储器1520中并被配置为由一个或多个处理器1510执行,一个或多个程序配置用于执行如前述方法实施例所描述的方法。The
处理器1510可以包括一个或者多个处理核。处理器1510利用各种接口和线路连接整个电子设备1500内的各个部分,通过运行或执行存储在存储器1520内的指令、程序、代码集或指令集,以及调用存储在存储器1520内的数据,执行电子设备1500的各种功能和处理数据。可选地,处理器1510可以采用数字信号处理(Digital Signal Processing,DSP)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、可编程逻辑阵列(Programmable Logic Array,PLA)中的至少一种硬件形式来实现。处理器1510可集成中央处理器(Central Processing Unit,CPU)、图像处理器(Graphics Processing Unit,GPU)和调制解调器等中的一种或几种的组合。其中,CPU主要处理操作系统、用户界面和应用程序等;GPU用于负责显示内容的渲染和绘制;调制解调器用于处理无线通信。可以理解的是,上述调制解调器也可以不集成到处理器1510中,单独通过一块通信芯片进行实现。The processor 1510 may include one or more processing cores. The processor 1510 uses various interfaces and lines to connect various parts of the entire
存储器1520可以包括随机存储器(Random Access Memory,RAM),也可以包括只读存储器(Read-Only Memory)。存储器1520可用于存储指令、程序、代码、代码集或指令集。存储器1520可包括存储程序区和存储数据区,其中,存储程序区可存储用于实现操作系统的指令、用于实现至少一个功能的指令(比如触���功能、声音播放功能、图像播放功能等)、用于实现下述各个方法实施例的指令等。存储数据区还可以存储终端100在使用中所创建的数据(比如电话本、音视频数据、聊天记录数据)等。The memory 1520 may include random access memory (Random Access Memory, RAM), or may include read-only memory (Read-Only Memory). Memory 1520 may be used to store instructions, programs, codes, sets of codes, or sets of instructions. The memory 1520 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playback function, an image playback function, etc.) , instructions for implementing the following method embodiments, and the like. The storage data area may also store data created by the terminal 100 during use (such as phone book, audio and video data, chat record data) and the like.
请参考图16,其示出了本申请实施例提供的一种计算机可读存储介质的结构框图。该计算机可读介质1600中存储有程序代码,所述程序代码可被处理器调用执行上述方法实施例中所描述的方法。Please refer to FIG. 16 , which shows a structural block diagram of a computer-readable storage medium provided by an embodiment of the present application. The computer-readable medium 1600 stores program codes, and the program codes can be invoked by the processor to execute the methods described in the above method embodiments.
计算机可读存储介质1600可以是诸如闪存、EEPROM(电可擦除可编程只读存储器)、EPROM、硬盘或者ROM之类的电子存储器。可选地,计算机可读存储介质1600包括非易失性计算机可读介质(non-transitory computer-readable storage medium)。计算机可读存储介质1600具有执行上述方法中的任何方法步骤的程序代码1610的存储空间。这些程序代码可以从一个或者多个计算机程序产品中读出或者写入到这一个或者多个计算机程序产品中。程序代码1610可以例如以适当形式进行压缩。The computer-readable storage medium 1600 may be an electronic memory such as flash memory, EEPROM (Electrically Erasable Programmable Read Only Memory), EPROM, hard disk, or ROM. Optionally, the computer-readable storage medium 1600 includes a non-transitory computer-readable storage medium. Computer readable storage medium 1600 has storage space for
最后应说明的是:以上实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不驱使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围。Finally, it should be noted that: the above 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: it can still be Modifications are made to the technical solutions described in the foregoing embodiments, or some technical features thereof are equivalently replaced; and these modifications or replacements do not drive the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010322732.8A CN111510701A (en) | 2020-04-22 | 2020-04-22 | Display method, apparatus, electronic device, and computer-readable medium for virtual content |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010322732.8A CN111510701A (en) | 2020-04-22 | 2020-04-22 | Display method, apparatus, electronic device, and computer-readable medium for virtual content |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN111510701A true CN111510701A (en) | 2020-08-07 |
Family
ID=71877920
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202010322732.8A Pending CN111510701A (en) | 2020-04-22 | 2020-04-22 | Display method, apparatus, electronic device, and computer-readable medium for virtual content |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN111510701A (en) |
Cited By (29)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111930236A (en) * | 2020-08-17 | 2020-11-13 | Oppo广东移动通信有限公司 | Device control method, device, storage medium and electronic device |
| CN112037314A (en) * | 2020-08-31 | 2020-12-04 | 北京市商汤科技开发有限公司 | Image display method, image display device, display equipment and computer readable storage medium |
| CN112070903A (en) * | 2020-09-04 | 2020-12-11 | 脸萌有限公司 | Virtual object display method and device, electronic equipment and computer storage medium |
| CN112150507A (en) * | 2020-09-29 | 2020-12-29 | 厦门汇利伟业科技有限公司 | Method and system for synchronously reproducing 3D model of object posture and displacement |
| CN112435347A (en) * | 2020-11-23 | 2021-03-02 | 济南浪潮高新科技投资发展有限公司 | E-book reading system and method for enhancing reality |
| CN112634463A (en) * | 2020-12-21 | 2021-04-09 | 上海影创信息科技有限公司 | Size matching augmented reality method and system for AR glasses |
| CN112950711A (en) * | 2021-02-25 | 2021-06-11 | 深圳市慧鲤科技有限公司 | Object control method and device, electronic equipment and storage medium |
| CN112991556A (en) * | 2021-05-12 | 2021-06-18 | 航天宏图信息技术股份有限公司 | AR data display method and device, electronic equipment and storage medium |
| CN113269781A (en) * | 2021-04-21 | 2021-08-17 | 青岛小鸟看看科技有限公司 | Data generation method and device and electronic equipment |
| CN113269782A (en) * | 2021-04-21 | 2021-08-17 | 青岛小鸟看看科技有限公司 | Data generation method and device and electronic equipment |
| CN113762048A (en) * | 2021-05-11 | 2021-12-07 | 腾讯科技(深圳)有限公司 | Product installation guiding method and device, electronic equipment and storage medium |
| CN113918014A (en) * | 2021-09-28 | 2022-01-11 | 深圳市慧鲤科技有限公司 | Virtual object control method, device, equipment and storage medium |
| CN114445579A (en) * | 2020-10-30 | 2022-05-06 | 华为技术有限公司 | Object labeling information presentation method and device, electronic equipment and storage medium |
| WO2022095467A1 (en) * | 2020-11-06 | 2022-05-12 | 北京市商汤科技开发有限公司 | Display method and apparatus in augmented reality scene, device, medium and program |
| CN114494425A (en) * | 2020-10-27 | 2022-05-13 | 亚信科技(中国)有限公司 | Virtual model processing method and device, electronic equipment and storage medium |
| CN114650443A (en) * | 2020-12-18 | 2022-06-21 | 广州视享科技有限公司 | Playing method and device of head-mounted display equipment and head-mounted display equipment |
| WO2022143314A1 (en) * | 2020-12-29 | 2022-07-07 | 华为技术有限公司 | Object registration method and apparatus |
| CN115079890A (en) * | 2022-06-30 | 2022-09-20 | 珠海格力电器股份有限公司 | Instruction display method and device, electronic equipment and storage medium |
| CN115147520A (en) * | 2022-06-07 | 2022-10-04 | 聚好看科技股份有限公司 | Method and equipment for driving virtual character based on visual semantics |
| CN115767291A (en) * | 2022-10-18 | 2023-03-07 | 广州瀚信通信科技股份有限公司 | Virtual photographing method, device, equipment and storage medium |
| CN115861576A (en) * | 2022-12-09 | 2023-03-28 | 深圳市同立方科技有限公司 | Method, system, equipment and medium for realizing augmented reality of live-action image |
| CN115984523A (en) * | 2023-02-23 | 2023-04-18 | 维沃移动通信有限公司 | Display method, device, electronic device and readable storage medium of virtual object |
| CN116039512A (en) * | 2023-01-03 | 2023-05-02 | 深圳松鼠机器人科技有限公司 | Display method, terminal device and storage medium of virtual content |
| CN116048260A (en) * | 2023-01-05 | 2023-05-02 | 北京小米移动软件有限公司 | Space display method and device, electronic device, storage medium |
| CN116258837A (en) * | 2023-03-06 | 2023-06-13 | 北京有竹居网络技术有限公司 | Method, device, device and medium for providing prompt information |
| CN116301330A (en) * | 2023-01-17 | 2023-06-23 | 歌尔股份有限公司 | A method, device, equipment and readable storage medium for realizing MR interaction |
| CN116485886A (en) * | 2023-01-03 | 2023-07-25 | 腾讯科技(深圳)有限公司 | A lamp synchronization method, device, equipment and storage medium |
| CN116795305A (en) * | 2022-01-14 | 2023-09-22 | 耀灵人工智能(浙江)有限公司 | A method of using disguised screens to provide information interaction services |
| WO2023197705A1 (en) * | 2022-04-11 | 2023-10-19 | 日立楼宇技术(广州)有限公司 | Image processing method and apparatus, computer device, storage medium and computer program |
Citations (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102508363A (en) * | 2011-12-28 | 2012-06-20 | 王鹏勃 | Wireless display glasses based on augmented-reality technology and implementation method for wireless display glasses |
| CN106485956A (en) * | 2016-09-29 | 2017-03-08 | 珠海格力电器股份有限公司 | Method and device for demonstrating functions of electronic equipment and intelligent terminal |
| CN106569671A (en) * | 2016-11-09 | 2017-04-19 | 唐雪松 | AR technology-based method and device for displaying instruction information of consumer goods |
| CN106796771A (en) * | 2014-10-15 | 2017-05-31 | 精工爱普生株式会社 | Head-mounted display device, method of controlling head-mounted display device, and computer program |
| WO2018193708A1 (en) * | 2017-04-19 | 2018-10-25 | マクセル株式会社 | Head-up display device and display control method therefor |
| CN109582147A (en) * | 2018-08-08 | 2019-04-05 | 亮风台(上海)信息科技有限公司 | A kind of method and user equipment enhancing interaction content for rendering |
| CN109934847A (en) * | 2019-03-06 | 2019-06-25 | 视辰信息科技(上海)有限公司 | The method and apparatus of weak texture three-dimension object Attitude estimation |
| KR20190098104A (en) * | 2019-08-02 | 2019-08-21 | 엘지전자 ���식회사 | Xr device and method for controlling the same |
-
2020
- 2020-04-22 CN CN202010322732.8A patent/CN111510701A/en active Pending
Patent Citations (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102508363A (en) * | 2011-12-28 | 2012-06-20 | 王鹏勃 | Wireless display glasses based on augmented-reality technology and implementation method for wireless display glasses |
| CN106796771A (en) * | 2014-10-15 | 2017-05-31 | 精工爱普生株式会社 | Head-mounted display device, method of controlling head-mounted display device, and computer program |
| CN106485956A (en) * | 2016-09-29 | 2017-03-08 | 珠海格力电器股份有限公司 | Method and device for demonstrating functions of electronic equipment and intelligent terminal |
| CN106569671A (en) * | 2016-11-09 | 2017-04-19 | 唐雪松 | AR technology-based method and device for displaying instruction information of consumer goods |
| WO2018193708A1 (en) * | 2017-04-19 | 2018-10-25 | マクセル株式会社 | Head-up display device and display control method therefor |
| CN109582147A (en) * | 2018-08-08 | 2019-04-05 | 亮风台(上海)信息科技有限公司 | A kind of method and user equipment enhancing interaction content for rendering |
| CN109934847A (en) * | 2019-03-06 | 2019-06-25 | 视辰信息科技(上海)有限公司 | The method and apparatus of weak texture three-dimension object Attitude estimation |
| KR20190098104A (en) * | 2019-08-02 | 2019-08-21 | 엘지전자 주식회사 | Xr device and method for controlling the same |
Non-Patent Citations (1)
| Title |
|---|
| 王峻峰,徐迟,李世其: "《增强现实环境下的产品装配引导技术》", 《图学学报》 * |
Cited By (35)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111930236A (en) * | 2020-08-17 | 2020-11-13 | Oppo广东移动通信有限公司 | Device control method, device, storage medium and electronic device |
| CN112037314A (en) * | 2020-08-31 | 2020-12-04 | 北京市商汤科技开发有限公司 | Image display method, image display device, display equipment and computer readable storage medium |
| CN112070903A (en) * | 2020-09-04 | 2020-12-11 | 脸萌有限公司 | Virtual object display method and device, electronic equipment and computer storage medium |
| CN112150507A (en) * | 2020-09-29 | 2020-12-29 | 厦门汇利伟业科技有限公司 | Method and system for synchronously reproducing 3D model of object posture and displacement |
| CN112150507B (en) * | 2020-09-29 | 2024-02-02 | 厦门汇利伟业科技有限公司 | 3D model synchronous reproduction method and system for object posture and displacement |
| CN114494425A (en) * | 2020-10-27 | 2022-05-13 | 亚信科技(中国)有限公司 | Virtual model processing method and device, electronic equipment and storage medium |
| CN114445579A (en) * | 2020-10-30 | 2022-05-06 | 华为技术有限公司 | Object labeling information presentation method and device, electronic equipment and storage medium |
| WO2022095467A1 (en) * | 2020-11-06 | 2022-05-12 | 北京市商汤科技开发有限公司 | Display method and apparatus in augmented reality scene, device, medium and program |
| CN112435347A (en) * | 2020-11-23 | 2021-03-02 | 济南浪潮高新科技投资发展有限公司 | E-book reading system and method for enhancing reality |
| CN114650443B (en) * | 2020-12-18 | 2024-04-19 | 广州视享科技有限公司 | Playing method and device of head-mounted display device and head-mounted display device |
| CN114650443A (en) * | 2020-12-18 | 2022-06-21 | 广州视享科技有限公司 | Playing method and device of head-mounted display equipment and head-mounted display equipment |
| CN112634463A (en) * | 2020-12-21 | 2021-04-09 | 上海影创信息科技有限公司 | Size matching augmented reality method and system for AR glasses |
| CN114758334B (en) * | 2020-12-29 | 2025-05-27 | 华为技术有限公司 | Object registration method and device |
| CN114758334A (en) * | 2020-12-29 | 2022-07-15 | 华为技术有限公司 | Object registration method and device |
| WO2022143314A1 (en) * | 2020-12-29 | 2022-07-07 | 华为技术有限公司 | Object registration method and apparatus |
| CN112950711A (en) * | 2021-02-25 | 2021-06-11 | 深圳市慧鲤科技有限公司 | Object control method and device, electronic equipment and storage medium |
| CN113269781A (en) * | 2021-04-21 | 2021-08-17 | 青岛小鸟看看科技有限公司 | Data generation method and device and electronic equipment |
| US11995741B2 (en) | 2021-04-21 | 2024-05-28 | Qingdao Pico Technology Co., Ltd. | Data generation method and apparatus, and electronic device |
| CN113269782A (en) * | 2021-04-21 | 2021-08-17 | 青岛小鸟看看科技有限公司 | Data generation method and device and electronic equipment |
| CN113762048A (en) * | 2021-05-11 | 2021-12-07 | 腾讯科技(深圳)有限公司 | Product installation guiding method and device, electronic equipment and storage medium |
| CN112991556B (en) * | 2021-05-12 | 2022-05-27 | 航天宏图信息技术股份有限公司 | AR data display method and device, electronic equipment and storage medium |
| CN112991556A (en) * | 2021-05-12 | 2021-06-18 | 航天宏图信息技术股份有限公司 | AR data display method and device, electronic equipment and storage medium |
| CN113918014A (en) * | 2021-09-28 | 2022-01-11 | 深圳市慧鲤科技有限公司 | Virtual object control method, device, equipment and storage medium |
| CN116795305A (en) * | 2022-01-14 | 2023-09-22 | 耀灵人工智能(浙江)有限公司 | A method of using disguised screens to provide information interaction services |
| WO2023197705A1 (en) * | 2022-04-11 | 2023-10-19 | 日立楼宇技术(广州)有限公司 | Image processing method and apparatus, computer device, storage medium and computer program |
| CN115147520A (en) * | 2022-06-07 | 2022-10-04 | 聚好看科技股份有限公司 | Method and equipment for driving virtual character based on visual semantics |
| CN115079890A (en) * | 2022-06-30 | 2022-09-20 | 珠海格力电器股份有限公司 | Instruction display method and device, electronic equipment and storage medium |
| CN115767291A (en) * | 2022-10-18 | 2023-03-07 | 广州瀚信通信科技股份有限公司 | Virtual photographing method, device, equipment and storage medium |
| CN115861576A (en) * | 2022-12-09 | 2023-03-28 | 深圳市同立方科技有限公司 | Method, system, equipment and medium for realizing augmented reality of live-action image |
| CN116485886A (en) * | 2023-01-03 | 2023-07-25 | 腾讯科技(深圳)有限公司 | A lamp synchronization method, device, equipment and storage medium |
| CN116039512A (en) * | 2023-01-03 | 2023-05-02 | 深圳松鼠机器人科技有限公司 | Display method, terminal device and storage medium of virtual content |
| CN116048260A (en) * | 2023-01-05 | 2023-05-02 | 北京小米移动软件有限公司 | Space display method and device, electronic device, storage medium |
| CN116301330A (en) * | 2023-01-17 | 2023-06-23 | 歌尔股份有限公司 | A method, device, equipment and readable storage medium for realizing MR interaction |
| CN115984523A (en) * | 2023-02-23 | 2023-04-18 | 维沃移动通信有限公司 | Display method, device, electronic device and readable storage medium of virtual object |
| CN116258837A (en) * | 2023-03-06 | 2023-06-13 | 北京有竹居网络技术有限公司 | Method, device, device and medium for providing prompt information |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN111510701A (en) | Display method, apparatus, electronic device, and computer-readable medium for virtual content | |
| US12056837B2 (en) | Employing three-dimensional (3D) data predicted from two-dimensional (2D) images using neural networks for 3D modeling applications and other applications | |
| KR102792477B1 (en) | Few-shot synthesis for talking heads | |
| KR101876419B1 (en) | Apparatus for providing augmented reality based on projection mapping and method thereof | |
| US10692288B1 (en) | Compositing images for augmented reality | |
| US11132845B2 (en) | Real-world object recognition for computing device | |
| CN105981076B (en) | Synthesize the construction of augmented reality environment | |
| EP4165547A1 (en) | Image augmentation for analytics | |
| US20190082211A1 (en) | Producing realistic body movement using body Images | |
| CN111399654B (en) | Information processing method, device, electronic device and storage medium | |
| CN112771539A (en) | Using three-dimensional data predicted from two-dimensional images using neural networks for 3D modeling applications | |
| US20040104935A1 (en) | Virtual reality immersion system | |
| KR20180100476A (en) | Virtual reality-based apparatus and method to generate a three dimensional(3d) human face model using image and depth data | |
| EP3533218B1 (en) | Simulating depth of field | |
| WO2010038693A1 (en) | Information processing device, information processing method, program, and information storage medium | |
| WO2004012141A2 (en) | Virtual reality immersion system | |
| JP6656382B2 (en) | Method and apparatus for processing multimedia information | |
| WO2023124698A1 (en) | Display of augmented reality scene | |
| CN119832193A (en) | Virtual reality interaction system, virtual reality interaction method and related equipment thereof | |
| US20250182368A1 (en) | Method and application for animating computer generated images | |
| CN118570424B (en) | Virtual reality tour guide system | |
| WO2022089061A1 (en) | Object annotation information presentation method and apparatus, and electronic device and storage medium | |
| CN119295706A (en) | Optical perspective calibration method, system, electronic device and storage medium | |
| CN113658318A (en) | Data processing method and system, training data generation method and electronic device | |
| CN118092647A (en) | Three-dimensional model processing method and device based on dynamic gesture recognition |
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 | ||
| RJ01 | Rejection of invention patent application after publication | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200807 |
