CN112991553B - Information display method and device, electronic equipment and storage medium - Google Patents

Information display method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN112991553B
CN112991553B CN202110266800.8A CN202110266800A CN112991553B CN 112991553 B CN112991553 B CN 112991553B CN 202110266800 A CN202110266800 A CN 202110266800A CN 112991553 B CN112991553 B CN 112991553B
Authority
CN
China
Prior art keywords
image
virtual information
information
user terminal
coordinate system
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110266800.8A
Other languages
Chinese (zh)
Other versions
CN112991553A (en
Inventor
彭心
张建博
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen TetrasAI Technology Co Ltd
Original Assignee
Shenzhen TetrasAI Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen TetrasAI Technology Co Ltd filed Critical Shenzhen TetrasAI Technology Co Ltd
Priority to CN202110266800.8A priority Critical patent/CN112991553B/en
Publication of CN112991553A publication Critical patent/CN112991553A/en
Priority to PCT/CN2021/103122 priority patent/WO2022188305A1/en
Application granted granted Critical
Publication of CN112991553B publication Critical patent/CN112991553B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T19/00Manipulating 3D models or images for computer graphics
    • G06T19/006Mixed reality
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/20Scenes; Scene-specific elements in augmented reality scenes

Abstract

The disclosure relates to an information display method and device, electronic equipment and a storage medium. The method comprises the following steps: receiving a virtual information acquisition request from a user terminal, wherein the virtual information acquisition request comprises a first image which is determined according to a live-action image acquired by the user terminal on a real scene; responding to the virtual information acquisition request, and acquiring virtual information corresponding to a target object in a first image; simplifying the first image to obtain a simplified first image; determining a mapping relation between a first coordinate system and a screen coordinate system of a user terminal according to the simplified first image, wherein the first coordinate system represents a coordinate system corresponding to a target plane for displaying the virtual information; and returning the mapping relation and the virtual information to the user terminal, so that the user terminal displays the virtual information in the live-action image displayed by the user terminal according to the mapping relation.

Description

Information display method and device, electronic equipment and storage medium
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to an information display method and apparatus, an electronic device, and a storage medium.
Background
With the development of society, the living standard of people is continuously improved, and the material culture requirements are gradually increased. The traditional museum, the science popularization museum and the like can introduce related exhibits only in the form of paper pictures and characters, or display explanation information through a large number of display screens, so that the exhibition cost is high, and the flexibility is low.
Disclosure of Invention
The present disclosure provides an information display technical scheme.
According to an aspect of the present disclosure, an information display method is provided, which is applied to a server, and the method includes:
receiving a virtual information acquisition request from a user terminal, wherein the virtual information acquisition request comprises a first image which is determined according to a live-action image acquired by the user terminal for a real scene;
responding to the virtual information acquisition request, and acquiring virtual information corresponding to a target object in the first image;
simplifying the first image to obtain a simplified first image;
determining a mapping relation between a first coordinate system and a screen coordinate system of the user terminal according to the simplified first image, wherein the first coordinate system represents a coordinate system corresponding to a target plane for displaying the virtual information;
and returning the mapping relation and the virtual information to the user terminal, so that the user terminal displays the virtual information in the live-action image displayed by the user terminal according to the mapping relation.
Receiving a virtual information acquisition request from a user terminal through a server, wherein the virtual information acquisition request comprises a first image, the first image is determined according to a real scene image acquired by the user terminal on a real scene, in response to the virtual information acquisition request, virtual information corresponding to a target object in the first image is acquired, the first image is simplified to obtain a simplified first image, a mapping relation between a first coordinate system and a screen coordinate system of the user terminal is determined according to the simplified first image, wherein the first coordinate system represents a coordinate system corresponding to a target plane for displaying the virtual information, the mapping relation and the virtual information are returned to the user terminal, so that the user terminal can display the real scene image in the user terminal according to the mapping relation, and displaying the virtual information, so that a target plane for displaying the virtual information can be quickly and accurately determined based on the simplified first image, and the display processing process of the virtual information in the real scene can be quickly and accurately completed.
In a possible implementation manner, the simplifying the first image to obtain a simplified first image includes:
detecting an object which meets a preset simplification condition in the first image;
in response to detecting the object meeting the preset simplification condition, removing the object meeting the preset simplification condition from the first image to obtain a simplified first image.
In this implementation, by detecting an object satisfying a preset simplification condition in the first image and removing the object satisfying the preset simplification condition from the first image in response to detecting the object satisfying the preset simplification condition, a simplified first image is obtained, so that the object satisfying the preset simplification condition in the first image can be removed, and the object not satisfying the preset simplification condition in the first image is retained, so that a target plane for displaying virtual information can be quickly determined based on the first image from which the object satisfying the preset simplification condition is removed, and the target plane for displaying virtual information can be accurately determined based on the object not satisfying the preset simplification condition retained in the first image.
In a possible implementation manner, the preset simplified condition includes: the number of the characteristic points reaches a first preset threshold value and is not matched with an object to be marked in the target object.
The implementation mode obtains the simplified first image by detecting that the number of the feature points in the first image reaches a first preset threshold and the object is not matched with the object to be marked in the target object, and removing the object, the number of which reaches the first preset threshold and is not matched with the object to be marked in the target object, from the first image in response to detecting that the number of the feature points reaches the first preset threshold and the object is not matched with the object to be marked in the target object, so that the speed and the accuracy of determining the target plane for displaying the virtual information can be further improved.
In a possible implementation manner, the determining, according to the simplified first image, a mapping relationship between a first coordinate system and a screen coordinate system of the user terminal includes:
extracting feature points of the simplified first image;
in response to the fact that the number of matched feature points between any plane in the simplified first image and a preset plane template reaches a second preset threshold value, determining the plane as a target plane for displaying the virtual information;
and determining a mapping relation between a first coordinate system and a screen coordinate system of the user terminal according to the position information of the target plane.
In this implementation manner, feature point extraction is performed on the simplified first image, in response to that the number of feature points matched between any plane in the simplified first image and a preset plane template reaches a second preset threshold, the plane is determined as a target plane for displaying the virtual information, and a mapping relationship between a first coordinate system and a screen coordinate system of the user terminal is determined according to the position information of the target plane, so that the mapping relationship between the first coordinate system corresponding to the target plane for displaying the virtual information and the screen coordinate system of the user terminal can be quickly, accurately and conveniently determined, and thus the display processing process of the virtual information can be quickly, accurately and conveniently completed.
In a possible implementation manner, the acquiring, in response to the virtual information acquisition request, virtual information corresponding to a target object in the first image includes:
responding to the virtual information acquisition request, and performing object recognition on the first image to obtain identification information of a target object in the first image;
and acquiring virtual information corresponding to the target object according to the identification information of the target object.
In this implementation, by responding to the virtual information acquisition request, performing object recognition on the first image to obtain identification information of a target object in the first image, and acquiring virtual information corresponding to the target object according to the identification information of the target object, it is possible to accurately acquire virtual information that matches a live-action image currently acquired by the user terminal.
According to an aspect of the present disclosure, there is provided an information display method applied to a user terminal, the method including:
generating a virtual information acquisition request according to a first image, wherein the virtual information acquisition request comprises the first image, and the first image is determined according to a real image acquired by a user terminal for a real scene;
sending the virtual information acquisition request to a server;
receiving virtual information corresponding to a target object in the first image returned by the server side and a mapping relation returned based on the simplified first image;
and displaying the virtual information in the live-action image displayed by the user terminal according to the mapping relation.
In the embodiment of the disclosure, a virtual information acquisition request is generated according to a first image, where the virtual information acquisition request includes the first image, the first image is determined according to a live-action image acquired by a user terminal for a real scene, the virtual information acquisition request is sent to a server, virtual information corresponding to a target object in the first image returned by the server is received, and the virtual information is displayed in the live-action image displayed by the user terminal according to a mapping relationship returned by a simplified first image, so that a target plane for displaying the virtual information can be determined quickly and accurately based on the simplified first image, and a display processing process of the virtual information in the real scene can be completed quickly and accurately.
In one possible implementation of the method according to the invention,
the mapping relation represents a mapping relation between a first coordinate system and a screen coordinate system of the user terminal, wherein the first coordinate system represents a coordinate system corresponding to a target plane for displaying the virtual information;
after the sending of the virtual information acquisition request to the server, before the displaying of the virtual information in the live-action image displayed by the user terminal according to the mapping relationship, the method further includes: receiving a first coordinate of the virtual information returned by the server in the first coordinate system;
the displaying the virtual information in the live-action image displayed by the user terminal according to the mapping relationship comprises: determining a second coordinate of the virtual information in the screen coordinate system according to a first coordinate of the virtual information in the first coordinate system and the mapping relation; and displaying the virtual information based on the second coordinate in the live-action image displayed by the user terminal.
In this implementation manner, the first coordinate of the virtual information in the first coordinate system returned by the server is received by the user terminal, the second coordinate of the virtual information in the screen coordinate system is determined according to the first coordinate of the virtual information in the first coordinate system and the mapping relationship, and the virtual information is displayed based on the second coordinate in the live-action image displayed by the user terminal, so that the virtual information can be displayed more flexibly, and a richer virtual information display effect can be realized.
In one possible implementation form of the method,
the number of the virtual information is at least one item, and any one item of virtual information comprises an icon;
the displaying the virtual information in the live-action image displayed by the user terminal according to the mapping relationship comprises: and for any item of virtual information, displaying an icon of the virtual information in the live-action image displayed by the user terminal according to the mapping relation.
In this implementation manner, for any item of virtual information, according to the mapping relationship, the icon of the virtual information is displayed in the live-action image displayed by the user terminal, so that the relevant information of the target object can be provided for the user on the premise that the user does not largely block the target object from being viewed.
In one possible implementation form of the method,
the virtual information further comprises detailed information;
after the icon showing the virtual information, the method further comprises: outputting detailed information of the virtual information in response to trigger information for an icon of the virtual information.
By responding to the trigger information of the icon of the virtual information and outputting the detailed information of the virtual information, the detailed information can be displayed in response to the requirement of a user, so that richer related information of the target object can be provided for the user on the premise of not greatly influencing the user to watch the target object.
In one possible implementation form of the method,
the detailed information of the virtual information comprises visual information;
the outputting the detailed information of the virtual information includes: and displaying the visual information of the virtual information.
By responding to the triggering information of the icon of the virtual information, the visual information of the virtual information is displayed, so that richer visual information related to the target object can be provided for a user through the user terminal in response to the user requirement.
In one possible implementation, after the presenting the visual information of the virtual information, the method further includes:
hiding the visual information of the virtual information in response to an icon for the virtual information or trigger information of the visual information of the virtual information.
By hiding the visual information of the virtual information in response to the icon for the virtual information or the trigger information of the visual information of the virtual information, the interference of the virtual information on the user viewing the target object can be reduced in response to the user demand.
In one possible implementation form of the method,
the detailed information of the virtual information comprises audio information;
the outputting the detailed information of the virtual information comprises: and playing the audio information of the virtual information.
By playing the audio information of the virtual information in response to the trigger information of the icon for the virtual information, it is possible to provide the user with richer auditory information related to the target object through the user terminal in response to the user's demand.
In one possible implementation manner, after the playing the audio information of the virtual information, the method further includes:
and in response to the trigger information of the icon aiming at the virtual information, pausing or stopping playing the audio information of the virtual information.
By pausing or stopping playing the audio information of the virtual information in response to the trigger information for the icon of the virtual information, the interference of the audio information of the virtual information on the user can be reduced in response to the user demand.
In a possible implementation manner, the first image is obtained by performing compression processing based on the live-action image.
In this implementation manner, the user terminal may compress the acquired live-action image to obtain the first image. The virtual information acquisition request is generated according to the first image obtained after the compression processing is carried out on the basis of the live-action image, and the virtual information acquisition request is sent to the server side, so that effective visual information can be sent to the server side, and the bandwidth and the flow can be saved.
According to an aspect of the present disclosure, there is provided an information display method applied to a user terminal, the method including:
determining a first image according to a real scene image acquired by the user terminal for a real scene;
acquiring virtual information corresponding to a target object in the first image;
simplifying the first image to obtain a simplified first image;
determining a mapping relation between a first coordinate system and a screen coordinate system of the user terminal according to the simplified first image, wherein the first coordinate system represents a coordinate system corresponding to a target plane for displaying the virtual information;
and displaying the virtual information in the live-action image displayed by the user terminal according to the mapping relation.
In the embodiment of the disclosure, a first image is determined according to a live-action image acquired by a user terminal from a real scene, virtual information corresponding to a target object in the first image is acquired, the first image is simplified to obtain a simplified first image, a mapping relation between a first coordinate system and a screen coordinate system of the user terminal is determined according to the simplified first image, and the virtual information is displayed in the live-action image displayed by the user terminal according to the mapping relation.
According to an aspect of the present disclosure, there is provided an information presentation apparatus including:
the virtual information acquisition module is used for acquiring a virtual information acquisition request from a user terminal, wherein the virtual information acquisition request comprises a first image, and the first image is determined according to a real scene image acquired by the user terminal for a real scene;
a first obtaining module, configured to obtain, in response to the virtual information obtaining request, virtual information corresponding to a target object in the first image;
the first simplifying module is used for simplifying the first image to obtain a simplified first image;
a first determining module, configured to determine, according to the simplified first image, a mapping relationship between a first coordinate system and a screen coordinate system of the user terminal, where the first coordinate system represents a coordinate system corresponding to a target plane for displaying the virtual information;
and the return module is used for returning the mapping relation and the virtual information to the user terminal so that the user terminal displays the virtual information in the live-action image displayed by the user terminal according to the mapping relation.
In one possible implementation, the first simplification module is configured to:
detecting an object which meets a preset simplification condition in the first image;
and in response to the detection of the object meeting the preset simplification condition, removing the object meeting the preset simplification condition from the first image to obtain a simplified first image.
In a possible implementation manner, the preset simplification condition includes: the number of the characteristic points reaches a first preset threshold value and is not matched with an object to be marked in the target object.
In one possible implementation manner, the first determining module is configured to:
extracting feature points of the simplified first image;
in response to the number of matched feature points between any plane in the simplified first image and a preset plane template reaching a second preset threshold value, determining the plane as a target plane for displaying the virtual information;
and determining a mapping relation between a first coordinate system and a screen coordinate system of the user terminal according to the position information of the target plane.
In a possible implementation manner, the first obtaining module is configured to:
responding to the virtual information acquisition request, and performing object recognition on the first image to obtain identification information of a target object in the first image;
and acquiring virtual information corresponding to the target object according to the identification information of the target object.
According to an aspect of the present disclosure, there is provided an information presentation apparatus including:
the generating module is used for generating a virtual information acquisition request according to a first image, wherein the virtual information acquisition request comprises the first image, and the first image is determined according to a live-action image acquired by a user terminal for a real scene;
the sending module is used for sending the virtual information acquisition request to a server;
the second receiving module is used for receiving the virtual information corresponding to the target object in the first image returned by the server and the mapping relation returned based on the simplified first image;
and the first display module is used for displaying the virtual information in the live-action image displayed by the user terminal according to the mapping relation.
In one possible implementation form of the method,
the mapping relation represents a mapping relation between a first coordinate system and a screen coordinate system of the user terminal, wherein the first coordinate system represents a coordinate system corresponding to a target plane for displaying the virtual information;
the device further comprises: a third receiving module, configured to receive a first coordinate of the virtual information returned by the server in the first coordinate system;
the first display module is configured to: determining a second coordinate of the virtual information in the screen coordinate system according to a first coordinate of the virtual information in the first coordinate system and the mapping relation; and displaying the virtual information based on the second coordinate in the live-action image displayed by the user terminal.
In one possible implementation of the method according to the invention,
the number of the virtual information is at least one item, and any one item of virtual information comprises an icon;
the first display module is configured to: and for any item of virtual information, displaying an icon of the virtual information in the live-action image displayed by the user terminal according to the mapping relation.
In one possible implementation form of the method,
the virtual information further comprises detailed information;
the device further comprises: and the output module is used for responding to the trigger information of the icon of the virtual information and outputting the detailed information of the virtual information.
In one possible implementation form of the method,
the detailed information of the virtual information comprises visual information;
the output module is used for: and displaying the visual information of the virtual information.
In one possible implementation, the apparatus further includes:
and the hiding module is used for responding to an icon aiming at the virtual information or trigger information of the visual information of the virtual information and hiding the visual information of the virtual information.
In one possible implementation form of the method,
the detailed information of the virtual information comprises audio information;
the output module is used for: and playing the audio information of the virtual information.
In one possible implementation, the apparatus further includes:
and the pause or stop playing module is used for responding to the trigger information of the icon of the virtual information, and pausing or stopping playing the audio information of the virtual information.
In a possible implementation manner, the first image is obtained by performing compression processing on the live-action image.
According to an aspect of the present disclosure, there is provided an information presentation apparatus including:
the second determining module is used for determining the first image according to the live-action image acquired by the user terminal on the real scene;
the second acquisition module is used for acquiring virtual information corresponding to the target object in the first image;
the second simplifying module is used for simplifying the first image to obtain a simplified first image;
a third determining module, configured to determine, according to the simplified first image, a mapping relationship between a first coordinate system and a screen coordinate system of the user terminal, where the first coordinate system represents a coordinate system corresponding to a target plane for displaying the virtual information;
and the second display module is used for displaying the virtual information in the live-action image displayed by the user terminal according to the mapping relation.
According to an aspect of the present disclosure, there is provided an electronic device including: one or more processors; a memory for storing executable instructions; wherein the one or more processors are configured to invoke the memory-stored executable instructions to perform the above-described method.
According to an aspect of the present disclosure, there is provided a computer readable storage medium having stored thereon computer program instructions which, when executed by a processor, implement the above-described method.
In the embodiment of the disclosure, a virtual information obtaining request from a user terminal is received through a server, where the virtual information obtaining request includes a first image, the first image is determined according to a live-action image acquired by the user terminal for a real scene, in response to the virtual information obtaining request, virtual information corresponding to a target object in the first image is obtained, the first image is simplified to obtain a simplified first image, a mapping relationship between a first coordinate system and a screen coordinate system of the user terminal is determined according to the simplified first image, where the first coordinate system represents a coordinate system corresponding to a target plane for displaying the virtual information, the mapping relationship and the virtual information are returned to the user terminal, so that the user terminal obtains the virtual information according to the mapping relationship, and displaying the virtual information in the live-action image displayed by the user terminal, so that a target plane for displaying the virtual information can be quickly and accurately determined based on the simplified first image, and the display processing process of the virtual information in a real scene can be quickly and accurately completed.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Other features and aspects of the present disclosure will become apparent from the following detailed description of exemplary embodiments, which proceeds with reference to the accompanying drawings.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the disclosure.
Fig. 1 shows a flowchart of an information presentation method provided in an embodiment of the present disclosure.
Fig. 2 shows another flowchart of an information presentation method provided by the embodiment of the present disclosure.
Fig. 3 shows another flowchart of an information presentation method provided by the embodiment of the present disclosure.
Fig. 4 is a schematic diagram illustrating an information displaying method according to an embodiment of the disclosure.
Fig. 5 shows another schematic diagram of an information presentation method provided by the embodiment of the present disclosure.
Fig. 6 shows a block diagram of an information presentation apparatus provided by an embodiment of the present disclosure.
Fig. 7 shows another block diagram of an information presentation device provided by an embodiment of the present disclosure.
Fig. 8 shows another block diagram of an information presentation device provided by an embodiment of the present disclosure.
Fig. 9 illustrates a block diagram of an electronic device 800 provided by an embodiment of the disclosure.
Fig. 10 shows a block diagram of an electronic device 1900 provided by an embodiment of the disclosure.
Detailed Description
Various exemplary embodiments, features and aspects of the present disclosure will be described in detail below with reference to the accompanying drawings. In the drawings, like reference numbers indicate functionally identical or similar elements. While the various aspects of the embodiments are presented in drawings, the drawings are not necessarily drawn to scale unless specifically indicated.
The word "exemplary" is used exclusively herein to mean "serving as an example, embodiment, or illustration. Any embodiment described herein as "exemplary" is not necessarily to be construed as preferred or advantageous over other embodiments.
The term "and/or" herein is merely an association describing an associated object, meaning that three relationships may exist, e.g., a and/or B, may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the term "at least one" herein means any one of a plurality or any combination of at least two of a plurality, for example, including at least one of A, B, C, and may mean including any one or more elements selected from the group consisting of A, B and C.
Furthermore, in the following detailed description, numerous specific details are set forth in order to provide a better understanding of the present disclosure. It will be understood by those skilled in the art that the present disclosure may be practiced without some of these specific details. In some instances, methods, means, elements and circuits that are well known to those skilled in the art have not been described in detail so as not to obscure the present disclosure.
The disclosed embodiment provides an information display method and device, an electronic device and a storage medium, wherein a server receives a virtual information acquisition request from a user terminal, the virtual information acquisition request comprises a first image, the first image is determined according to a real scene image acquired by the user terminal from a real scene, in response to the virtual information acquisition request, virtual information corresponding to a target object in the first image is acquired, the first image is simplified to obtain a simplified first image, a mapping relation between a first coordinate system and a screen coordinate system of the user terminal is determined according to the simplified first image, the first coordinate system represents a coordinate system corresponding to a target plane for displaying the virtual information, the mapping relation and the virtual information are returned to the user terminal, the user terminal displays the virtual information in the live-action image displayed by the user terminal according to the mapping relation, so that a target plane for displaying the virtual information can be quickly and accurately determined based on the simplified first image, and the display processing process of the virtual information in a real scene can be quickly and accurately completed.
The information display method provided by the embodiment of the present disclosure is described in detail below with reference to the accompanying drawings.
Fig. 1 shows a flowchart of an information presentation method provided in an embodiment of the present disclosure. The information display method is applied to the server. In a possible implementation manner, the information presentation method may be executed by one or more servers or other processing devices disposed at the server. In some possible implementations, the information presentation method may be implemented by a processor calling computer readable instructions stored in a memory. As shown in fig. 1, the information presentation method includes steps S11 to S15.
In step S11, a virtual information obtaining request is received from a user terminal, where the virtual information obtaining request includes a first image determined according to a live-action image captured by the user terminal on a real scene.
In step S12, in response to the virtual information acquisition request, virtual information corresponding to the target object in the first image is acquired.
In step S13, a simplification process is performed on the first image, resulting in a simplified first image.
In step S14, a mapping relationship between a first coordinate system and a screen coordinate system of the user terminal is determined according to the simplified first image, where the first coordinate system represents a coordinate system corresponding to a target plane for displaying the virtual information.
In step S15, the mapping relationship and the virtual information are returned to the user terminal, so that the user terminal displays the virtual information in the live-action image displayed by the user terminal according to the mapping relationship.
In the embodiment of the disclosure, the user terminal may acquire the live-action image through the image acquisition module to obtain the first image. In one example, the user terminal is a mobile phone, the image capturing module of the user terminal includes a camera module, and the mobile phone can capture the live-action image through the camera module. Of course, the live-action image may also be collected by an image collecting device connected to the user terminal. For example, the user terminal is a mobile phone, the image capturing device connected to the mobile phone is a camera, and the live-action image can be captured by the camera. The image capturing device and the user terminal may be connected in a wireless or wired manner, which is not limited herein.
In the embodiment of the present disclosure, the user terminal may acquire at least one of an image, an image sequence, a video, and the like for a real scene. Wherein the sequence of images may comprise at least two images. In a possible implementation manner, a real-scene image acquired by the user terminal for a real scene may be used as the first image. In another possible implementation manner, the live-action image may be compressed to obtain the first image. In another possible implementation, an image sequence including the live-action image may be taken as the first image. In this implementation, the live-action image may be the most recently acquired image in the sequence of images. In another possible implementation manner, an image sequence including the live-action image may be compressed to obtain the first image. In this implementation, the live-action image may be the most recently acquired image in the sequence of images. In another possible implementation, a video including the live-action image may be taken as the first image. In this implementation, the live-action image may be a newly captured video frame in the video. In another possible implementation manner, the video including the live-action image may be compressed to obtain the first image. In this implementation, the live-action image may be a newly captured video frame in the video.
In this disclosure, the user terminal may generate a virtual information acquisition request according to the first image, and send the virtual information acquisition request to the server. The server may acquire the first image by receiving the virtual information acquisition request, so that visual information of a real scene faced by the user terminal may be acquired. In the embodiment of the present disclosure, the target object in the first image may be any type of object having virtual information to be presented in the first image. For example, in an application scenario of AR exhibition at a museum, the target object may be a history object, a painting, etc. in the museum.
In a possible implementation manner, the acquiring, in response to the virtual information acquisition request, virtual information corresponding to a target object in the first image includes: responding to the virtual information acquisition request, carrying out object identification on the first image to obtain identification information of a target object in the first image; and acquiring virtual information corresponding to the target object according to the identification information of the target object. As an example of this implementation, feature extraction may be performed on the first image to obtain features of the first image; and matching the features of the first image with the features of at least one preset object, and in response to the matching of the features of the first image with the features of any preset object, using the identification information of the preset object as the identification information of the target object in the first image, that is, using the preset object as the target object in the first image. Wherein the preset object may represent an object having corresponding virtual information. The feature of the first image may be determined to match the feature of any preset object in a case where the similarity between the feature of the first image and the feature of the preset object is greater than or equal to a third preset threshold. The identification information of the target object may be information that can be used to uniquely identify the target object, for example, the identification information of the target object may be a number, a name, or the like of the target object. As an example of this implementation, a first neural network for object recognition may be trained in advance, the first image is input to the first neural network in response to the virtual information acquisition request, and the first image is subjected to object recognition via the first neural network, so as to obtain identification information of a target object in the first image. Of course, in other examples, a pre-designed function for object recognition or the like may be used to perform object recognition on the first image to obtain the identification information of the target object in the first image. In this implementation, by responding to the virtual information acquisition request, performing object recognition on the first image to obtain identification information of a target object in the first image, and acquiring virtual information corresponding to the target object according to the identification information of the target object, it is possible to accurately acquire virtual information that matches a live-action image currently acquired by the user terminal.
In another possible implementation manner, the acquiring, in response to the virtual information acquisition request, virtual information corresponding to a target object in the first image includes: responding to the virtual information acquisition request, and performing character recognition on the first image to obtain identification information of a target object in the first image; and acquiring virtual information corresponding to the target object according to the identification information of the target object. For example, in an application scenario of AR exhibition in a painting and calligraphy exhibition hall, the painting and calligraphy displayed in the painting and calligraphy exhibition hall usually contain text information. In this case, by performing character recognition on the first image in response to the virtual information acquisition request, the identification information of the target object in the first image can be quickly and accurately obtained, and thus the virtual information that matches the target object in the live-action image currently acquired by the user terminal can be quickly and accurately obtained.
In the embodiment of the present disclosure, the virtual information may represent virtual information for displaying after being fused with information of a real scene. The virtual information may include one or more of text, picture, audio, video, and the like. For example, the virtual information corresponding to the target object in the first image may include text and/or video for introducing the target object. For another example, the target object in the first image is a drawing a containing a character a, and the virtual information corresponding to the target object may include a video of the character a walking in the drawing a. For another example, the target object in the first image is a landscape ancient painting B, and the virtual information corresponding to the target object may include videos of leaf shaking, river flowing, animal walking, and the like in the landscape ancient painting B.
In the embodiment of the disclosure, a target plane for displaying the virtual information may be determined according to the simplified first image, and a mapping relationship between a first coordinate system corresponding to the target plane and a screen coordinate system of the user terminal may be determined according to the position information of the target plane, so that the target plane for displaying the virtual information may be determined quickly and accurately based on the simplified first image, and thus the method may be applied to a complex scene, may facilitate to identify and track a target object more quickly and accurately in the complex scene, and may further complete a display processing process of the virtual information in a real scene quickly and accurately.
In a possible implementation manner, the simplifying the first image to obtain a simplified first image includes: detecting an object which meets a preset simplification condition in the first image; in response to detecting the object meeting the preset simplification condition, removing the object meeting the preset simplification condition from the first image to obtain a simplified first image. In this implementation, the preset simplification condition may represent a preset condition for simplifying the first image. In this implementation, the object satisfying the preset simplification condition may be removed from the first image by way of matting, setting the transparency to 100%, or adding a mask, etc. The object meeting the preset simplification condition in the first image is detected, the object meeting the preset simplification condition is removed from the first image in response to the detection of the object meeting the preset simplification condition, the simplified first image is obtained, the object meeting the preset simplification condition in the first image can be removed, the object which does not meet the preset simplification condition in the first image is reserved, the target plane for displaying the virtual information can be rapidly determined based on the first image after the object meeting the preset simplification condition is removed, and the target plane for displaying the virtual information can be accurately determined based on the object which does not meet the preset simplification condition and is reserved in the first image.
As an example of this implementation, the preset simplifying condition includes: the number of the characteristic points reaches a first preset threshold value and is not matched with an object to be marked in the target object. In this example, the target object may include one or more objects to be tagged. In this example, for any object in the first image, if the number of feature points of the object does not reach the first preset threshold, it may be determined that the object does not satisfy the preset simplification condition. If the number of the feature points of the object reaches a first preset value, calculating the similarity between the object and an object to be marked in the target object; if the similarity between the object and any object to be marked in the target object is greater than or equal to a fourth preset threshold, the object can be judged to be matched with the object to be marked, and therefore the object can be determined not to meet the preset simplifying condition; if the similarity between the object and each object to be marked in the target object is smaller than a fourth preset threshold, it can be determined that the object is not matched with each object to be marked of the target object, so that the object can be determined to meet the preset simplification condition. For example, the target object is a drawing a, and the target object includes 3 objects to be marked, namely a bridge b, a house c and a ship d. If the number of the feature points of the object reaches a first preset threshold and the similarity between the object and the bridge b is greater than or equal to a fourth preset threshold, matching the object and the bridge b, namely, judging that the object is the bridge b, and thus determining that the object does not meet the preset simplification condition; if the number of the feature points of the object reaches a first preset threshold value and the similarity between the object and the bridge b, the house c and the ship d is smaller than a fourth preset threshold value, it can be determined that the object is not matched with each object to be marked of the target object, and therefore it can be determined that the object meets the preset simplified condition. This example obtains a simplified first image by detecting an object in which the number of feature points in the first image reaches a first preset threshold and which does not match an object to be marked in the target object, and in response to detecting that the number of feature points reaches the first preset threshold and which does not match the object to be marked in the target object, removing the object in which the number of feature points reaches the first preset threshold and which does not match the object to be marked in the target object from the first image, whereby the speed and accuracy of determining the target plane for displaying the virtual information can be further improved.
It should be noted that although the preset simplification condition is described above by taking "the number of feature points reaches the first preset threshold and does not match the object to be marked in the target object" as an example, the skilled person can understand that the disclosure should not be limited thereto. The preset simplifying conditions can be flexibly set by those skilled in the art according to the requirements of practical application scenarios. For example, the preset simplifying condition may include: the area is smaller than or equal to a fifth preset threshold and is not matched with the object to be marked in the target object. As another example, the preset simplification conditions may include: the area is less than or equal to a fifth preset threshold. As another example, the preset simplification conditions may include: the target object belongs to a preset object type and is not matched with an object to be marked in the target object. As another example, the preset simplification conditions may include: belonging to a preset object type.
In another possible implementation manner, the simplifying the first image to obtain a simplified first image includes: detecting an object belonging to a preset object type in the first image; in response to detecting the object belonging to the preset object type, removing the object belonging to the preset object type from the first image, resulting in a simplified first image. In this implementation manner, the preset object type may be flexibly set according to an actual application scenario. For example, an object type that easily affects recognition of a target object may be set as the preset object type. For example, the preset object type may be a tree, a flower, a crowd, and the like.
In the embodiment of the present disclosure, a target plane for displaying the virtual information may be determined according to the simplified first image by a marker-less method, a marker-based method, or the like. Wherein the target plane may also be referred to as a plane reference. By adopting the marker-less method, a template card or a two-dimensional code does not need to be manufactured in advance, so that the determination of the target plane can be facilitated. The marker-less or marker-based technology in the related art needs to consume a large amount of computing resources, and in the embodiment of the disclosure, by simplifying the first image and determining the target plane based on the simplified first image, the computing resources can be saved, and the speed of determining the target plane can be improved. In addition, in the embodiment of the present disclosure, by using a server-client (server-client) architecture, a complex computing process is moved to the server, and the server determines a target plane, so that the computing efficiency and the positioning accuracy can be improved, the occupation of computing resources of the user terminal can be reduced, and the hardware requirement of the user terminal can be reduced, so that the user terminal can focus on the delay problem, display the processing result of the server in time, and can implement higher accuracy by using the computing resources of the server.
In a possible implementation manner, the determining, according to the simplified first image, a mapping relationship between a first coordinate system and a screen coordinate system of the user terminal includes: extracting feature points of the simplified first image; in response to the number of matched feature points between any plane in the simplified first image and a preset plane template reaching a second preset threshold value, determining the plane as a target plane for displaying the virtual information; and determining a mapping relation between a first coordinate system and a screen coordinate system of the user terminal according to the position information of the target plane. In this implementation, the feature point may refer to a point where the image gray value changes drastically or a point where the curvature is large on the edge of the image (e.g., the intersection of two edges). In this implementation manner, the preset plane template may be a plane where the number of any one feature point in the target object reaches a sixth preset threshold, where the sixth preset threshold is greater than or equal to the second preset threshold. That is, the preset plane template may be any plane of the target object with sufficient feature points, so that the marker-less method may be adopted to determine the target plane. In this implementation manner, if the number of feature points matched between any plane in the simplified first image and a preset plane template reaches a second preset threshold, the plane may be determined to be the preset plane template, so that the plane may be determined to be a target plane for displaying the virtual information; if the number of the matched feature points between any plane in the simplified first image and a preset plane template does not reach a second preset threshold value, determining that the plane is not the preset plane template, and thus not determining the plane as a target plane for displaying the virtual information. In this implementation, the x-axis and the y-axis of the first coordinate system may be on the target plane, and the z-axis of the first coordinate system may be perpendicular to the target plane. Of course, those skilled in the art may also flexibly set the relationship between the coordinate axis of the first coordinate system and the target plane according to the requirements of the actual application scenario, which is not limited herein. In this implementation manner, according to the position information of the target plane in the screen coordinate system of the user terminal, a mapping relationship between a first coordinate system corresponding to the target plane and the screen coordinate system may be determined. In this implementation manner, feature point extraction is performed on the simplified first image, in response to that the number of feature points matched between any plane in the simplified first image and a preset plane template reaches a second preset threshold, the plane is determined as a target plane for displaying the virtual information, and a mapping relationship between a first coordinate system and a screen coordinate system of the user terminal is determined according to the position information of the target plane, so that the mapping relationship between the first coordinate system corresponding to the target plane for displaying the virtual information and the screen coordinate system of the user terminal can be quickly, accurately and conveniently determined, and thus the display processing process of the virtual information can be quickly, accurately and conveniently completed.
In a possible implementation manner, the server may return the mapping relationship and the virtual information to the user terminal. The user terminal may display the virtual information on the target plane in the live-action image displayed by the user terminal according to the mapping relationship. That is, in this implementation, the user terminal may present the virtual information on the target plane.
In another possible implementation manner, the server may return the mapping relationship, the virtual information, and the first coordinate of the virtual information in the first coordinate system to the user terminal. The user terminal may determine a second coordinate of the virtual information in the screen coordinate system according to a first coordinate of the virtual information in the first coordinate system and the mapping relationship, and display the virtual information at the second coordinate in the live-action image displayed by the user terminal. In this implementation, the virtual information may be presented based on a first coordinate system corresponding to the target plane, and a first coordinate of the virtual information in the first coordinate system may be on the target plane or may not be on the target plane. For example, the x-axis and y-axis of the first coordinate system are on the target plane, and the z-axis of the first coordinate system is perpendicular to the target plane. If the z coordinate of the first coordinate is 0, the virtual information can be displayed on the target plane; if the z-coordinate of the first coordinate is not 0, the virtual information may not be displayed on the target plane, that is, the virtual information may also be displayed on a plane other than the target plane.
Fig. 2 shows another flowchart of an information presentation method provided by the embodiment of the present disclosure. In one possible implementation, the information presentation method may be executed by a user terminal or other processing device. The User terminal may be a User Equipment (UE), a mobile device, a terminal, a cellular phone, a cordless phone, a Personal Digital Assistant (PDA), a handheld device, a computing device, a vehicle-mounted device, or a wearable device. In some possible implementations, the information presentation method may be implemented by a processor calling computer readable instructions stored in a memory. As shown in fig. 2, the information presentation method includes steps S21 through S24.
In step S21, a virtual information obtaining request is generated according to a first image, where the virtual information obtaining request includes the first image, and the first image is determined according to a live-action image acquired by the user terminal for a real scene.
In step S22, the virtual information acquisition request is sent to the server.
In step S23, receiving the virtual information corresponding to the target object in the first image returned by the server, and the mapping relationship returned based on the simplified first image.
In step S24, the virtual information is displayed in the live-action image displayed on the user terminal according to the mapping relationship.
In the embodiment of the disclosure, the user terminal may acquire the live-action image through the image acquisition module to obtain the first image. In a possible implementation manner, the acquired live-action image may be used as the first image. In another possible implementation manner, the first image is obtained by performing compression processing on the live-action image. In this implementation manner, the user terminal may compress the acquired live-action image to obtain the first image. The virtual information acquisition request is generated according to the first image obtained after the compression processing is carried out on the basis of the live-action image, and the virtual information acquisition request is sent to the server, so that effective visual information can be sent to the server, and the bandwidth and the flow can be saved.
In this disclosure, the user terminal may generate a virtual information acquisition request according to the first image, and send the virtual information acquisition request to the server. The server may acquire the first image by receiving the virtual information acquisition request, so that visual information of a real scene faced by the user terminal may be acquired. In the embodiment of the present disclosure, the target object in the first image may be any type of object having virtual information to be presented in the first image. For example, in an application scenario of AR exhibition at a museum, the target object may be a history object, a painting, etc. in the museum. In this embodiment of the disclosure, the server may, in response to the virtual information acquisition request, acquire virtual information corresponding to a target object in the first image, perform simplification processing on the first image to obtain a simplified first image, determine, according to the simplified first image, a mapping relationship between a first coordinate system and a screen coordinate system of the user terminal, and return the mapping relationship and the virtual information to the user terminal.
In the embodiment of the disclosure, a virtual information acquisition request is generated according to a first image, where the virtual information acquisition request includes the first image, the first image is determined according to a live-action image acquired by a user terminal for a real scene, the virtual information acquisition request is sent to a server, virtual information corresponding to a target object in the first image returned by the server is received, and the virtual information is displayed in the live-action image displayed by the user terminal according to a mapping relationship returned by a simplified first image, so that a target plane for displaying the virtual information can be determined quickly and accurately based on the simplified first image, and a display processing process of the virtual information in the real scene can be completed quickly and accurately.
In a possible implementation manner, the mapping relationship represents a mapping relationship between a first coordinate system and a screen coordinate system of the user terminal, where the first coordinate system represents a coordinate system corresponding to a target plane for displaying the virtual information; after the sending of the virtual information acquisition request to the server, before the displaying of the virtual information in the live-action image displayed by the user terminal according to the mapping relationship, the method further includes: receiving a first coordinate of the virtual information returned by the server in the first coordinate system; the displaying the virtual information in the live-action image displayed by the user terminal according to the mapping relationship comprises: determining a second coordinate of the virtual information in the screen coordinate system according to a first coordinate of the virtual information in the first coordinate system and the mapping relation; and displaying the virtual information based on the second coordinate in the live-action image displayed by the user terminal. In this implementation, the virtual information is presented at the second coordinate in the live-action image displayed by the user terminal. The virtual information may be displayed based on a first coordinate system corresponding to the target plane, and a first coordinate of the virtual information in the first coordinate system may be on the target plane or may not be on the target plane. For example, the x-axis and y-axis of the first coordinate system are on the target plane, and the z-axis of the first coordinate system is perpendicular to the target plane. If the z coordinate of the first coordinate is 0, the virtual information can be displayed on the target plane; if the z-coordinate of the first coordinate is not 0, the virtual information may not be displayed on the target plane, that is, the virtual information may also be displayed on a plane other than the target plane. In this implementation manner, the first coordinate of the virtual information in the first coordinate system, which is returned by the server, is received by the user terminal, the second coordinate of the virtual information in the screen coordinate system is determined according to the first coordinate of the virtual information in the first coordinate system and the mapping relationship, and the virtual information is displayed based on the second coordinate in the live-action image displayed by the user terminal, so that the virtual information can be displayed more flexibly, and a richer display effect of the virtual information can be realized.
In another possible implementation manner, the user terminal may display the virtual information on the target plane in the live-action image displayed by the user terminal according to the mapping relationship. That is, in this implementation, the user terminal may present the virtual information on the target plane.
In a possible implementation manner, the number of the virtual information is at least one item, and any one item of the virtual information includes an icon; the displaying the virtual information in the live-action image displayed by the user terminal according to the mapping relationship comprises: and for any item of virtual information, displaying an icon of the virtual information in the live-action image displayed by the user terminal according to the mapping relation. As an example of this implementation, the virtual information corresponding to the target object may include virtual information corresponding to the entire target object. The virtual information corresponding to the whole of the target object may represent virtual information corresponding to the whole of the target object, but not virtual information corresponding to an object to be marked in the target object. As another example of this implementation, the virtual information corresponding to the target object may include virtual information corresponding to an object to be marked in the target object. In this example, in a case where the target object includes a plurality of objects to be marked, the virtual information corresponding to the target object may include a plurality of items of virtual information in one-to-one correspondence with the plurality of objects to be marked. For example, the target object is drawing a, and the virtual information corresponding to the target object may include virtual information corresponding to the whole drawing a, as well as virtual information corresponding to the bridge b, the house c, and the ship d in the drawing a. The virtual information corresponding to the whole drawing A can be used for introducing an author, a history background and the like of the drawing A, and the virtual information corresponding to the bridge b can be used for introducing a name, a related story and the like of the bridge b. As an example of this implementation manner, for any item of virtual information corresponding to the target object, the icon of the virtual information may include a preset icon. In this example, the different virtual information may include the same preset icon. As another example of this implementation, the icon of the virtual information may include an icon of a type corresponding to the virtual information. For example, if the object to be marked corresponding to the virtual information is a ship d, the type icon corresponding to the virtual information may be an icon of a ship pattern. As another example of this implementation, the icon of the virtual information may include a name of an object to be marked corresponding to the virtual object. For example, the virtual information corresponding to bridge b may include "XX bridge". In this implementation manner, for any item of virtual information, according to the mapping relationship, the icon of the virtual information is displayed in the live-action image displayed by the user terminal, so that the relevant information of the target object can be provided for the user on the premise that the user does not largely block the target object from being viewed.
As an example of this implementation, the virtual information further includes detailed information; after the icon showing the virtual information, the method further comprises: outputting detailed information of the virtual information in response to trigger information for an icon of the virtual information. In one example, where the virtual information includes detailed information, an icon of the virtual information may be highlighted. For example, an icon of the virtual information may be controlled to blink, or the icon of the virtual information may be controlled to emit light, or the like. By highlighting the icon of the virtual information in case the virtual information comprises detailed information, the user can be prompted to trigger (e.g. click) the icon of the virtual information, so that the detailed information of the virtual information can be further provided to the user. In this example, by outputting the detailed information of the virtual information in response to the trigger information of the icon for the virtual information, the detailed information can be presented in response to the user requirement, so that the user can be provided with richer related information of the target object without greatly influencing the user to view the target object.
Of course, in other examples, the detailed information of the virtual information may be displayed at the same time as the icon of the virtual information without triggering.
In one example, the detailed information of the virtual information includes visual information; the outputting the detailed information of the virtual information includes: and displaying the visual information of the virtual information. In this example, the visual information of the virtual information may include at least one of text, images, video, and the like. By responding to the triggering information of the icon of the virtual information, the visual information of the virtual information is displayed, so that richer visual information related to the target object can be provided for a user through the user terminal in response to the user requirement.
For example, after the presenting the visual information of the virtual information, the method further comprises: hiding the visual information of the virtual information in response to an icon for the virtual information or trigger information of the visual information of the virtual information. In this example, by hiding the visual information of the virtual information in response to the icon for the virtual information or the trigger information of the visual information of the virtual information, it is possible to reduce interference of the virtual information with the user's viewing of the target object in response to the user's demand.
In another example, the detailed information of the virtual information includes audio information; the outputting the detailed information of the virtual information includes: and playing the audio information of the virtual information. In this example, by playing the audio information of the virtual information in response to the trigger information of the icon for the virtual information, it is possible to provide the user with richer auditory information related to the target object through the user terminal in response to the user's demand.
For example, after the playing the audio information of the virtual information, the method further includes: and in response to the trigger information of the icon aiming at the virtual information, pausing or stopping playing the audio information of the virtual information. In this example, by pausing or stopping playing of the audio information of the virtual information in response to the trigger information for the icon of the virtual information, it is possible to reduce the interference of the audio information of the virtual information with the user in response to the user's demand.
Fig. 3 shows another flowchart of an information presentation method provided by the embodiment of the present disclosure. In one possible implementation, the information presentation method may be executed by a user terminal or other processing device. The user terminal may be a user device, a mobile device, a terminal, a cellular phone, a cordless phone, a personal digital assistant, a handheld device, a computing device, a vehicle-mounted device, a wearable device, or the like. For example, the user terminal may be an interpreter, and the user terminal may include a camera, a display, a processor, and a memory, wherein the camera, the display, and the memory may be respectively connected with the processor. In some possible implementations, the information presentation method may be implemented by a processor calling computer readable instructions stored in a memory. As shown in fig. 3, the information presentation method includes steps S31 to S35.
In step S31, a first image is determined according to a live-action image acquired by the user terminal for the real scene.
In step S32, virtual information corresponding to the target object in the first image is acquired.
In step S33, a simplification process is performed on the first image, resulting in a simplified first image.
In step S34, a mapping relationship between a first coordinate system and a screen coordinate system of the user terminal is determined according to the simplified first image, where the first coordinate system represents a coordinate system corresponding to a target plane for displaying the virtual information.
In step S35, the virtual information is displayed in the live-action image displayed on the user terminal according to the mapping relationship.
In a possible implementation manner, the first image is obtained by performing compression processing on the live-action image.
In a possible implementation manner, the acquiring virtual information corresponding to a target object in the first image includes: carrying out object recognition on the first image to obtain identification information of a target object in the first image; and acquiring virtual information corresponding to the target object according to the identification information of the target object.
In a possible implementation manner, the simplifying the first image to obtain a simplified first image includes: detecting an object which meets a preset simplification condition in the first image; in response to detecting the object meeting the preset simplification condition, removing the object meeting the preset simplification condition from the first image to obtain a simplified first image.
As an example of this implementation, the preset simplification condition includes: the number of the characteristic points reaches a first preset threshold value and is not matched with an object to be marked in the target object.
In a possible implementation manner, the determining, according to the simplified first image, a mapping relationship between a first coordinate system and a screen coordinate system of the user terminal includes: extracting feature points of the simplified first image; in response to the number of matched feature points between any plane in the simplified first image and a preset plane template reaching a second preset threshold value, determining the plane as a target plane for displaying the virtual information; and determining a mapping relation between a first coordinate system and a screen coordinate system of the user terminal according to the position information of the target plane.
In a possible implementation manner, the displaying the virtual information in the live-action image displayed by the user terminal according to the mapping relationship includes: acquiring a first coordinate of the virtual information in the first coordinate system; determining a second coordinate of the virtual information in the screen coordinate system according to the first coordinate and the mapping relation; and displaying the virtual information based on the second coordinate in the live-action image displayed by the user terminal.
In a possible implementation manner, the number of the virtual information is at least one item, and any one item of the virtual information includes an icon; the displaying the virtual information in the live-action image displayed by the user terminal according to the mapping relationship comprises: and for any item of virtual information, displaying an icon of the virtual information in the live-action image displayed by the user terminal according to the mapping relation.
As an example of this implementation, the virtual information further includes detailed information; after the icon showing the virtual information, the method further comprises: outputting detailed information of the virtual information in response to trigger information for an icon of the virtual information.
In one example, the detailed information of the virtual information includes visual information; the outputting the detailed information of the virtual information includes: and displaying the visual information of the virtual information.
For example, after the presenting the visual information of the virtual information, the method further comprises: hiding the visual information of the virtual information in response to an icon for the virtual information or trigger information of the visual information of the virtual information.
In another example, the detailed information of the virtual information includes audio information; the outputting the detailed information of the virtual information comprises: and playing the audio information of the virtual information.
For example, after the playing the audio information of the virtual information, the method further includes: and in response to the trigger information of the icon aiming at the virtual information, pausing or stopping playing the audio information of the virtual information.
In the embodiment of the disclosure, a first image is determined according to a live-action image acquired by a user terminal from a real scene, virtual information corresponding to a target object in the first image is acquired, the first image is simplified to obtain a simplified first image, a mapping relation between a first coordinate system and a screen coordinate system of the user terminal is determined according to the simplified first image, and the virtual information is displayed in the live-action image displayed by the user terminal according to the mapping relation.
The embodiment of the disclosure can be applied to application scenes of AR exhibition (such as AR exhibition of museum, AR exhibition of popular science museum), AR navigation, AR game, AR interaction and the like.
The information display method provided by the embodiment of the present disclosure is described below through a specific application scenario. The application scenario may be an application scenario for a museum AR exhibition. In the application scene, the image information of all exhibits in the museum can be collected in advance, and for the image of any exhibit, the curator can mark the position where the virtual information needs to be displayed and add the related virtual information. In the application scene, the user faces the painting A in the museum and lifts the mobile phone to shoot the live-action image. And the mobile phone compresses the live-action image to obtain a first image. The mobile phone generates a virtual information acquisition request according to the first image and sends the virtual information acquisition request to a server, wherein the virtual information acquisition request comprises the first image. And the server receives the virtual information acquisition request and responds to the virtual information acquisition request to extract the characteristic points of the first image. And the server determines that the target object in the first image is the drawing A according to the characteristic point of the first image, and acquires virtual information corresponding to the drawing A. And the server detects the objects of which the number of the characteristic points in the first image reaches a first preset threshold, and in response to the detection that the number of any characteristic point reaches the objects of the first preset threshold, matches the objects of which the number of the characteristic points reaches the first preset threshold with the objects to be marked in the drawing A. And the server side responds to the fact that the object with the number of the characteristic points reaching the first preset threshold value is not matched with the object to be marked in the drawing A, removes the object with the number of the characteristic points reaching the first preset threshold value from the first image, and obtains a simplified first image. And the server extracts the characteristic points of the simplified first image, and determines the plane as a target plane for displaying the virtual information in response to the fact that the number of the characteristic points matched between any plane in the simplified first image and a preset plane template reaches a second preset threshold value. The server side can determine a mapping relation between a first coordinate system corresponding to the target plane and a screen coordinate system of the user terminal according to the position information of the target plane, and returns the mapping relation, the virtual information and a first coordinate of the virtual information in the first coordinate system to the user. The mobile phone may determine a second coordinate of the virtual information in the screen coordinate system according to the first coordinate of the virtual information in the first coordinate system and the mapping relationship, and display an icon of the virtual information based on the second coordinate in the live-action image displayed by the user terminal. Fig. 4 is a schematic diagram illustrating an information displaying method according to an embodiment of the disclosure. In the example shown in fig. 4, a target object 3100 is included in the first image 3000, and the target object 3100 is a drawing a. The drawing a includes an object to be marked 3110 and an object to be marked 3120, the virtual information corresponding to the object to be marked 3110 includes an icon 3111, and the virtual information corresponding to the object to be marked 3120 includes an icon 3121. Here, the icon 3111 may include a preset icon and a name "XX boat" of the object to be marked 3110, and the icon 3121 may include a preset icon and a name "XX shop" of the object to be marked 3120. The mobile phone may output detailed information of the virtual information in response to trigger information of an icon for the virtual information. Fig. 5 shows another schematic diagram of an information presentation method provided by the embodiment of the present disclosure. As shown in fig. 5, in response to the trigger information for the icon 3121, detailed information 3122 corresponding to the object to be marked 3110 may be presented. As shown in fig. 5, in one example, in a case where detailed information of any one item of virtual information is presented, icons of other items of virtual information may be hidden to reduce interference with a user viewing a target object. The mobile phone can also respond to the icon aiming at the virtual information or the trigger information of the detailed information of the virtual information, and hide the detailed information of the virtual information. In one example, after hiding the detailed information of the virtual information, icons of the items of virtual information may be re-presented. In this application scene, need not to set up paper introduction data or be used for introducing a large amount of displays of showpiece in the museum, the person of seeing a show can obtain the introduction information of showpiece through the cell-phone, can reduce propaganda printing cost, strengthens propaganda show content, and the bandwagon effect is good. In addition, based on the simplified first image, the target plane for displaying the virtual information can be quickly and accurately determined, so that the display processing process of the virtual information in the real scene can be quickly and accurately completed.
It is understood that the above-mentioned method embodiments of the present disclosure can be combined with each other to form a combined embodiment without departing from the logic of the principle, which is limited by the space, and the detailed description of the present disclosure is omitted. Those skilled in the art will appreciate that in the above methods of the specific embodiments, the specific order of execution of the steps should be determined by their function and possibly their inherent logic.
In addition, the present disclosure also provides an information display apparatus, an electronic device, a computer-readable storage medium, and a program, which can be used to implement any one of the information display methods provided in the present disclosure, and corresponding technical solutions and technical effects can be referred to corresponding descriptions of the method section, and are not described again.
Fig. 6 shows a block diagram of an information presentation apparatus provided by an embodiment of the present disclosure. As shown in fig. 6, the information presentation apparatus includes:
a first receiving module 51, configured to receive a virtual information acquisition request from a user terminal, where the virtual information acquisition request includes a first image, and the first image is determined according to a live-action image acquired by the user terminal for a real scene;
a first obtaining module 52, configured to obtain, in response to the virtual information obtaining request, virtual information corresponding to a target object in the first image;
a first simplifying module 53, configured to perform a simplifying process on the first image to obtain a simplified first image;
a first determining module 54, configured to determine, according to the simplified first image, a mapping relationship between a first coordinate system and a screen coordinate system of the user terminal, where the first coordinate system represents a coordinate system corresponding to a target plane for displaying the virtual information;
a returning module 55, configured to return the mapping relationship and the virtual information to the user terminal, so that the user terminal displays the virtual information in the live-action image displayed by the user terminal according to the mapping relationship.
In a possible implementation manner, the first simplifying module 53 is configured to:
detecting an object which meets a preset simplification condition in the first image;
in response to detecting the object meeting the preset simplification condition, removing the object meeting the preset simplification condition from the first image to obtain a simplified first image.
In a possible implementation manner, the preset simplification condition includes: the number of the characteristic points reaches a first preset threshold value and is not matched with an object to be marked in the target object.
In one possible implementation manner, the first determining module 54 is configured to:
extracting feature points of the simplified first image;
in response to the number of matched feature points between any plane in the simplified first image and a preset plane template reaching a second preset threshold value, determining the plane as a target plane for displaying the virtual information;
and determining a mapping relation between a first coordinate system and a screen coordinate system of the user terminal according to the position information of the target plane.
In a possible implementation manner, the first obtaining module 52 is configured to:
responding to the virtual information acquisition request, carrying out object identification on the first image to obtain identification information of a target object in the first image;
and acquiring virtual information corresponding to the target object according to the identification information of the target object.
In the embodiment of the present disclosure, a virtual information obtaining request from a user terminal is received through a server, where the virtual information obtaining request includes a first image, the first image is determined according to a real image acquired by the user terminal for a real scene, in response to the virtual information obtaining request, virtual information corresponding to a target object in the first image is obtained, the first image is simplified to obtain a simplified first image, a mapping relationship between a first coordinate system and a screen coordinate system of the user terminal is determined according to the simplified first image, where the first coordinate system represents a coordinate system corresponding to a target plane for displaying the virtual information, the mapping relationship and the virtual information are returned to the user terminal, so that the user terminal obtains the virtual information according to the mapping relationship, and displaying the virtual information in the live-action image displayed by the user terminal, so that a target plane for displaying the virtual information can be quickly and accurately determined based on the simplified first image, and the display processing process of the virtual information in a real scene can be quickly and accurately completed.
Fig. 7 shows another block diagram of an information presentation device provided by an embodiment of the present disclosure. As shown in fig. 7, the information presentation apparatus includes:
the generating module 61 is configured to generate a virtual information obtaining request according to a first image, where the virtual information obtaining request includes the first image, and the first image is determined according to a live-action image acquired by a user terminal from a real scene;
a sending module 62, configured to send the virtual information obtaining request to a server;
a second receiving module 63, configured to receive virtual information corresponding to the target object in the first image returned by the server, and a mapping relationship returned based on the simplified first image;
a first display module 64, configured to display the virtual information in the live-action image displayed by the user terminal according to the mapping relationship.
In one possible implementation of the method according to the invention,
the mapping relation represents a mapping relation between a first coordinate system and a screen coordinate system of the user terminal, wherein the first coordinate system represents a coordinate system corresponding to a target plane for displaying the virtual information;
the device further comprises: a third receiving module, configured to receive a first coordinate, in the first coordinate system, of the virtual information returned by the server;
the first display module 64 is configured to: determining a second coordinate of the virtual information in the screen coordinate system according to a first coordinate of the virtual information in the first coordinate system and the mapping relation; and displaying the virtual information based on the second coordinate in the live-action image displayed by the user terminal.
In one possible implementation form of the method,
the number of the virtual information is at least one item, and any one item of virtual information comprises an icon;
the first display module 64 is configured to: and for any item of virtual information, displaying an icon of the virtual information in the live-action image displayed by the user terminal according to the mapping relation.
In one possible implementation form of the method,
the virtual information further comprises detailed information;
the device further comprises: and the output module is used for responding to the trigger information of the icon of the virtual information and outputting the detailed information of the virtual information.
In one possible implementation form of the method,
the detailed information of the virtual information comprises visual information;
the output module is used for: and displaying the visual information of the virtual information.
In one possible implementation, the apparatus further includes:
and the hiding module is used for responding to the icon aiming at the virtual information or the trigger information of the visual information of the virtual information and hiding the visual information of the virtual information.
In one possible implementation of the method according to the invention,
the detailed information of the virtual information comprises audio information;
the output module is used for: and playing the audio information of the virtual information.
In one possible implementation, the apparatus further includes:
and the pause or stop playing module is used for responding to the trigger information of the icon of the virtual information, and pausing or stopping playing the audio information of the virtual information.
In a possible implementation manner, the first image is obtained by performing compression processing on the live-action image.
In the embodiment of the disclosure, a virtual information acquisition request is generated according to a first image, where the virtual information acquisition request includes the first image, the first image is determined according to a live-action image acquired by a user terminal for a real scene, the virtual information acquisition request is sent to a server, virtual information corresponding to a target object in the first image returned by the server is received, and the virtual information is displayed in the live-action image displayed by the user terminal according to a mapping relationship returned by a simplified first image, so that a target plane for displaying the virtual information can be determined quickly and accurately based on the simplified first image, and a display processing process of the virtual information in the real scene can be completed quickly and accurately.
Fig. 8 shows another block diagram of an information presentation device provided by an embodiment of the present disclosure. As shown in fig. 8, the information presentation apparatus includes:
a second determining module 71, configured to determine the first image according to a live-action image acquired by the user terminal on the real scene;
a second obtaining module 72, configured to obtain virtual information corresponding to a target object in the first image;
a second simplifying module 73, configured to perform a simplifying process on the first image to obtain a simplified first image;
a third determining module 74, configured to determine, according to the simplified first image, a mapping relationship between a first coordinate system and a screen coordinate system of the user terminal, where the first coordinate system represents a coordinate system corresponding to a target plane for displaying the virtual information;
the second display module 75 is configured to display the virtual information in the live-action image displayed by the user terminal according to the mapping relationship.
In the embodiment of the disclosure, a first image is determined according to a live-action image acquired by a user terminal from a real scene, virtual information corresponding to a target object in the first image is acquired, the first image is simplified to obtain a simplified first image, a mapping relation between a first coordinate system and a screen coordinate system of the user terminal is determined according to the simplified first image, and the virtual information is displayed in the live-action image displayed by the user terminal according to the mapping relation.
In some embodiments, functions or modules included in the apparatus provided in the embodiments of the present disclosure may be used to execute the method described in the above method embodiments, and specific implementations and technical effects thereof may refer to the description of the above method embodiments, which are not described herein again for brevity.
Embodiments of the present disclosure also provide a computer-readable storage medium having stored thereon computer program instructions, which when executed by a processor, implement the above-described method. The computer readable storage medium may be a non-volatile computer readable storage medium, or may be a volatile computer readable storage medium.
The embodiment of the present disclosure also provides a computer program, which includes computer readable code, and when the computer readable code runs in an electronic device, a processor in the electronic device executes the computer program to implement the method described above.
The embodiments of the present disclosure also provide a computer program product for storing computer readable instructions, which when executed cause a computer to execute the operations of the information presentation method provided in any of the above embodiments.
An embodiment of the present disclosure further provides an electronic device, including: one or more processors; a memory for storing executable instructions; wherein the one or more processors are configured to invoke the memory-stored executable instructions to perform the above-described methods.
The electronic device may be provided as a terminal, server, or other form of device.
Fig. 9 shows a block diagram of an electronic device 800 provided by an embodiment of the disclosure. For example, the electronic device 800 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, or the like terminal.
Referring to fig. 9, electronic device 800 may include one or more of the following components: processing component 802, memory 804, power component 806, multimedia component 808, audio component 810, input/output (I/O) interface 812, sensor component 814, and communication component 816.
The processing component 802 generally controls overall operation of the electronic device 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 802 may include one or more processors 820 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 802 can include one or more modules that facilitate interaction between the processing component 802 and other components. For example, the processing component 802 can include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.
The memory 804 is configured to store various types of data to support operations at the electronic device 800. Examples of such data include instructions for any application or method operating on the electronic device 800, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 804 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power supply component 806 provides power to the various components of the electronic device 800. The power components 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the electronic device 800.
The multimedia component 808 includes a screen that provides an output interface between the electronic device 800 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the electronic device 800 is in an operation mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a Microphone (MIC) configured to receive external audio signals when the electronic device 800 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 804 or transmitted via the communication component 816. In some embodiments, audio component 810 also includes a speaker for outputting audio signals.
The I/O interface 812 provides an interface between the processing component 802 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
Sensor assembly 814 includes one or more sensors for providing various aspects of state assessment for electronic device 800. For example, the sensor assembly 814 may detect an open/closed state of the electronic device 800, the relative positioning of components, such as a display and keypad of the electronic device 800, the sensor assembly 814 may also detect a change in the position of the electronic device 800 or a component of the electronic device 800, the presence or absence of user contact with the electronic device 800, orientation or acceleration/deceleration of the electronic device 800, and a change in the temperature of the electronic device 800. Sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object in the absence of any physical contact. The sensor assembly 814 may also include a light sensor, such as a Complementary Metal Oxide Semiconductor (CMOS) or Charge Coupled Device (CCD) image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 816 is configured to facilitate wired or wireless communication between the electronic device 800 and other devices. The electronic device 800 may access a wireless network based on a communication standard, such as a wireless network (Wi-Fi), a second generation mobile communication technology (2G), a third generation mobile communication technology (3G), a fourth generation mobile communication technology (4G)/long term evolution of universal mobile communication technology (LTE), a fifth generation mobile communication technology (5G), or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the electronic device 800 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer-readable storage medium, such as the memory 804, is also provided that includes computer program instructions executable by the processor 820 of the electronic device 800 to perform the above-described methods.
Fig. 10 shows a block diagram of an electronic device 1900 provided by an embodiment of the disclosure. For example, the electronic device 1900 may be provided as a server. Referring to fig. 10, electronic device 1900 includes a processing component 1922 further including one or more processors and memory resources, represented by memory 1932, for storing instructions, e.g., applications, executable by processing component 1922. The application programs stored in memory 1932 may include one or more modules that each correspond to a set of instructions. Further, the processing component 1922 is configured to execute instructions to perform the above-described method.
The electronic device 1900 may also include a power component 1926 configured to perform power management of the electronic device 1900, a wired or wireless network interface 1950 configured to connect the electronic device 1900 to a network, and an input/output (I/O) interface 1958. The electronic device 1900 may operate based on an operating system, such as the Microsoft Server operating system (Windows Server), stored in the memory 1932 TM ) Apple Inc. of the present application based on the graphic user interface operating System (Mac OS X) TM ) Multi-user, multi-process computer operating system (Unix) TM ) Free and open native code Unix-like operating System (Linux) TM ) Open native code Unix-like operating System (FreeBSD) TM ) Or the like.
In an exemplary embodiment, a non-transitory computer readable storage medium, such as a memory 1932, is also provided that includes computer program instructions executable by a processing component 1922 of an electronic device 1900 to perform the above-described methods.
The present disclosure may be systems, methods, and/or computer program products. The computer program product may include a computer-readable storage medium having computer-readable program instructions embodied thereon for causing a processor to implement various aspects of the present disclosure.
The computer-readable storage medium may be a tangible device that can hold and store the instructions for use by the instruction execution device. The computer readable storage medium may be, for example, but not limited to, an electronic memory device, a magnetic memory device, an optical memory device, an electromagnetic memory device, a semiconductor memory device, or any suitable combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a Static Random Access Memory (SRAM), a portable compact disc read-only memory (CD-ROM), a Digital Versatile Disc (DVD), a memory stick, a floppy disk, a mechanical coding device, such as punch cards or in-groove projection structures having instructions stored thereon, and any suitable combination of the foregoing. Computer-readable storage media as used herein is not to be construed as transitory signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through a waveguide or other transmission medium (e.g., optical pulses through a fiber optic cable), or electrical signals transmitted through electrical wires.
The computer-readable program instructions described herein may be downloaded from a computer-readable storage medium to a respective computing/processing device, or to an external computer or external storage device via a network, such as the internet, a local area network, a wide area network, and/or a wireless network. The network may include copper transmission cables, fiber optic transmission, wireless transmission, routers, firewalls, switches, gateway computers and/or edge servers. The network adapter card or network interface in each computing/processing device receives computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in a computer-readable storage medium in the respective computing/processing device.
The computer program instructions for carrying out operations of the present disclosure may be assembler instructions, Instruction Set Architecture (ISA) instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source or object code written in any combination of one or more programming languages, including an object oriented programming language such as Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The computer-readable program instructions may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider). In some embodiments, the electronic circuitry that can execute the computer-readable program instructions implements aspects of the present disclosure by utilizing the state information of the computer-readable program instructions to personalize the electronic circuitry, such as a programmable logic circuit, a Field Programmable Gate Array (FPGA), or a Programmable Logic Array (PLA).
Various aspects of the present disclosure are described herein with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the disclosure. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer-readable program instructions.
These computer-readable program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks. These computer-readable program instructions may also be stored in a computer-readable storage medium that can direct a computer, programmable data processing apparatus, and/or other devices to function in a particular manner, such that the computer-readable medium storing the instructions comprises an article of manufacture including instructions which implement the function/act specified in the flowchart and/or block diagram block or blocks.
The computer readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other devices to cause a series of operational steps to be performed on the computer, other programmable apparatus or other devices to produce a computer implemented process such that the instructions which execute on the computer, other programmable apparatus or other devices implement the functions/acts specified in the flowchart and/or block diagram block or blocks.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of instructions, which comprises one or more executable instructions for implementing the specified logical function(s). In some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The computer program product may be embodied in hardware, software or a combination thereof. In an alternative embodiment, the computer program product is embodied in a computer storage medium, and in another alternative embodiment, the computer program product is embodied in a Software product, such as a Software Development Kit (SDK), or the like.
Having described embodiments of the present disclosure, the foregoing description is intended to be exemplary, not exhaustive, and not limited to the disclosed embodiments. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The terminology used herein was chosen in order to best explain the principles of the embodiments, the practical application, or improvements to the technology in the marketplace, or to enable others of ordinary skill in the art to understand the embodiments disclosed herein.

Claims (18)

1. An information display method is applied to a server side, and the method comprises the following steps:
receiving a virtual information acquisition request from a user terminal, wherein the virtual information acquisition request comprises a first image which is determined according to a live-action image acquired by the user terminal for a real scene;
responding to the virtual information acquisition request, and acquiring virtual information corresponding to a target object in the first image, wherein the target object represents an object with the virtual information to be displayed in the first image;
simplifying the first image to obtain a simplified first image; the simplified processing of the first image includes: removing objects satisfying a preset simplification condition from the first image, and/or removing objects belonging to a preset object type from the first image;
extracting feature points of the simplified first image;
in response to the number of matched feature points between any plane in the simplified first image and a preset plane template reaching a second preset threshold value, determining the plane in the first image as a target plane for displaying the virtual information;
determining a mapping relation between a first coordinate system and a screen coordinate system of the user terminal according to the position information of the target plane, wherein the first coordinate system represents a coordinate system corresponding to the target plane for displaying the virtual information;
and returning the mapping relation and the virtual information to the user terminal, so that the user terminal displays the virtual information in the live-action image displayed by the user terminal according to the mapping relation.
2. The method of claim 1, wherein the preset simplification conditions include: the number of the characteristic points reaches a first preset threshold value and is not matched with an object to be marked in the target object.
3. The method according to claim 1 or 2, wherein the acquiring, in response to the virtual information acquisition request, virtual information corresponding to a target object in the first image comprises:
responding to the virtual information acquisition request, carrying out object identification on the first image to obtain identification information of a target object in the first image;
and acquiring virtual information corresponding to the target object according to the identification information of the target object.
4. An information display method is applied to a user terminal, and the method comprises the following steps:
generating a virtual information acquisition request according to a first image, wherein the virtual information acquisition request comprises the first image, and the first image is determined according to a real image acquired by a user terminal for a real scene;
sending the virtual information acquisition request to a server;
receiving virtual information corresponding to a target object in the first image returned by the server, and a mapping relation between a first coordinate system returned based on the simplified first image and a screen coordinate system of the user terminal; wherein the target object represents an object in the first image having virtual information to be presented; the simplified first image is obtained by removing objects meeting preset simplification conditions and/or objects belonging to a preset object type from the first image; the server extracts feature points of the simplified first image, determines any plane in the first image as a target plane for displaying the virtual information in response to the fact that the number of the feature points matched between the plane in the simplified first image and a preset plane template reaches a second preset threshold, and determines a mapping relation between a first coordinate system and a screen coordinate system of the user terminal according to position information of the target plane, wherein the first coordinate system represents a coordinate system corresponding to the target plane for displaying the virtual information; the first coordinate system represents a coordinate system corresponding to a target plane for displaying the virtual information;
and displaying the virtual information in the live-action image displayed by the user terminal according to the mapping relation.
5. The method of claim 4,
after the sending of the virtual information acquisition request to the server, before the displaying of the virtual information in the live-action image displayed by the user terminal according to the mapping relationship, the method further includes: receiving a first coordinate of the virtual information returned by the server in the first coordinate system;
the displaying the virtual information in the live-action image displayed by the user terminal according to the mapping relationship comprises: determining a second coordinate of the virtual information in the screen coordinate system according to a first coordinate of the virtual information in the first coordinate system and the mapping relation; and displaying the virtual information based on the second coordinate in the live-action image displayed by the user terminal.
6. The method of claim 4 or 5,
the number of the virtual information is at least one item, and any one item of virtual information comprises an icon;
the displaying the virtual information in the live-action image displayed by the user terminal according to the mapping relationship comprises: and for any item of virtual information, displaying an icon of the virtual information in the live-action image displayed by the user terminal according to the mapping relation.
7. The method of claim 6,
the virtual information further comprises detailed information;
after the icon showing the virtual information, the method further comprises: outputting detailed information of the virtual information in response to trigger information for an icon of the virtual information.
8. The method of claim 7,
the detailed information of the virtual information comprises visual information;
the outputting the detailed information of the virtual information includes: and displaying the visual information of the virtual information.
9. The method of claim 8, wherein after the presenting the visual information of the virtual information, the method further comprises:
hiding the visual information of the virtual information in response to an icon for the virtual information or trigger information of the visual information of the virtual information.
10. The method of claim 7,
the detailed information of the virtual information comprises audio information;
the outputting the detailed information of the virtual information includes: and playing the audio information of the virtual information.
11. The method of claim 10, wherein after said playing the audio information of the virtual information, the method further comprises:
and in response to the trigger information of the icon aiming at the virtual information, pausing or stopping playing the audio information of the virtual information.
12. The method according to claim 4 or 5, wherein the first image is obtained by compressing the live-action image.
13. An information display method is applied to a user terminal, and the method comprises the following steps:
determining a first image according to a live-action image acquired by the user terminal on a real scene;
acquiring virtual information corresponding to a target object in the first image, wherein the target object represents an object with the virtual information to be displayed in the first image;
simplifying the first image to obtain a simplified first image; the simplified processing of the first image includes: removing objects satisfying a preset simplification condition from the first image, and/or removing objects belonging to a preset object type from the first image;
extracting feature points of the simplified first image;
in response to the number of matched feature points between any plane in the simplified first image and a preset plane template reaching a second preset threshold value, determining the plane in the first image as a target plane for displaying the virtual information;
determining a mapping relation between a first coordinate system and a screen coordinate system of the user terminal according to the position information of the target plane, wherein the first coordinate system represents a coordinate system corresponding to the target plane for displaying the virtual information;
and displaying the virtual information in the live-action image displayed by the user terminal according to the mapping relation.
14. An information presentation device, comprising:
the system comprises a first receiving module, a second receiving module and a third receiving module, wherein the first receiving module is used for receiving a virtual information acquisition request from a user terminal, the virtual information acquisition request comprises a first image, and the first image is determined according to a real scene image acquired by the user terminal from a real scene;
a first obtaining module, configured to obtain, in response to the virtual information obtaining request, virtual information corresponding to a target object in the first image, where the target object represents an object in the first image that has to-be-displayed virtual information;
the first simplifying module is used for simplifying the first image to obtain a simplified first image; the simplified processing of the first image includes: removing objects satisfying a preset simplification condition from the first image, and/or removing objects belonging to a preset object type from the first image;
the first determining module is used for extracting feature points of the simplified first image, determining a plane in the first image as a target plane for displaying the virtual information in response to the fact that the number of the matched feature points between any plane in the simplified first image and a preset plane template reaches a second preset threshold value, and determining a mapping relation between a first coordinate system and a screen coordinate system of the user terminal according to position information of the target plane, wherein the first coordinate system represents a coordinate system corresponding to the target plane for displaying the virtual information;
and the return module is used for returning the mapping relation and the virtual information to the user terminal so that the user terminal displays the virtual information in the live-action image displayed by the user terminal according to the mapping relation.
15. An information presentation device, comprising:
the generating module is used for generating a virtual information acquisition request according to a first image, wherein the virtual information acquisition request comprises the first image, and the first image is determined according to a live-action image acquired by a user terminal for a real scene;
the sending module is used for sending the virtual information acquisition request to a server;
the second receiving module is used for receiving the virtual information corresponding to the target object in the first image returned by the server side, and the mapping relation between the first coordinate system returned based on the simplified first image and the screen coordinate system of the user terminal; wherein the target object represents an object in the first image having virtual information to be presented; the simplified first image is obtained by removing objects meeting preset simplification conditions and/or objects belonging to a preset object type from the first image; the server extracts feature points of the simplified first image, determines a plane in the first image as a target plane for displaying the virtual information in response to the fact that the number of the feature points matched between any plane in the simplified first image and a preset plane template reaches a second preset threshold, and determines a mapping relation between a first coordinate system and a screen coordinate system of the user terminal according to position information of the target plane, wherein the first coordinate system represents a coordinate system corresponding to the target plane for displaying the virtual information; the first coordinate system represents a coordinate system corresponding to a target plane for displaying the virtual information;
and the first display module is used for displaying the virtual information in the live-action image displayed by the user terminal according to the mapping relation.
16. An information presentation device, comprising:
the second determining module is used for determining the first image according to the live-action image acquired by the user terminal on the real scene;
the second obtaining module is used for obtaining virtual information corresponding to a target object in the first image, wherein the target object represents an object with the virtual information to be displayed in the first image;
the second simplifying module is used for simplifying the first image to obtain a simplified first image; the simplified processing of the first image includes: removing objects satisfying a preset simplification condition from the first image, and/or removing objects belonging to a preset object type from the first image;
a third determining module, configured to perform feature point extraction on the simplified first image, determine, in response to that the number of feature points matched between any plane in the simplified first image and a preset plane template reaches a second preset threshold, the plane in the first image as a target plane for displaying the virtual information, and determine, according to position information of the target plane, a mapping relationship between a first coordinate system and a screen coordinate system of the user terminal, where the first coordinate system represents a coordinate system corresponding to the target plane for displaying the virtual information;
and the second display module is used for displaying the virtual information in the live-action image displayed by the user terminal according to the mapping relation.
17. An electronic device, comprising:
one or more processors;
a memory for storing executable instructions;
wherein the one or more processors are configured to invoke the memory-stored executable instructions to perform the method of any one of claims 1 to 13.
18. A computer readable storage medium having computer program instructions stored thereon, which when executed by a processor implement the method of any one of claims 1 to 13.
CN202110266800.8A 2021-03-11 2021-03-11 Information display method and device, electronic equipment and storage medium Active CN112991553B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202110266800.8A CN112991553B (en) 2021-03-11 2021-03-11 Information display method and device, electronic equipment and storage medium
PCT/CN2021/103122 WO2022188305A1 (en) 2021-03-11 2021-06-29 Information presentation method and apparatus, and electronic device, storage medium and computer program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110266800.8A CN112991553B (en) 2021-03-11 2021-03-11 Information display method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112991553A CN112991553A (en) 2021-06-18
CN112991553B true CN112991553B (en) 2022-08-26

Family

ID=76336420

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110266800.8A Active CN112991553B (en) 2021-03-11 2021-03-11 Information display method and device, electronic equipment and storage medium

Country Status (2)

Country Link
CN (1) CN112991553B (en)
WO (1) WO2022188305A1 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112991553B (en) * 2021-03-11 2022-08-26 深圳市慧鲤科技有限公司 Information display method and device, electronic equipment and storage medium
CN114385015B (en) * 2022-01-25 2024-03-08 京东方科技集团股份有限公司 Virtual object control method and electronic equipment
CN114549797A (en) * 2022-02-16 2022-05-27 深圳市商汤科技有限公司 Painting exhibition method, device, electronic equipment, storage medium and program product
CN115904090B (en) * 2023-01-10 2023-05-23 联通沃音乐文化有限公司 Virtual scene display method and head-mounted display device
CN115981516B (en) * 2023-03-17 2023-07-25 北京点意空间展览展示有限公司 Interaction method based on network virtual exhibition hall

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004145657A (en) * 2002-10-24 2004-05-20 Space Tag Inc Virtual museum system
CN1770692A (en) * 2005-11-09 2006-05-10 北京联合大学信息技术研究所 Digital museum information ordering system based on distributed structure and its realizing method
WO2011148034A1 (en) * 2010-05-28 2011-12-01 Nokia Corporation Method and apparatus for providing a localized virtual reality environment
JP2016045586A (en) * 2014-08-20 2016-04-04 株式会社メイクソフトウェア Image providing system and image providing program
WO2017071284A1 (en) * 2015-10-28 2017-05-04 乐视控股(北京)有限公司 Photographing processing method, device and apparatus
WO2019020022A1 (en) * 2017-07-28 2019-01-31 腾讯科技(深圳)有限公司 Information processing method and apparatus, terminal device and computer-readable storage medium
KR20190035373A (en) * 2017-09-26 2019-04-03 에이케이엔코리아 주식회사 Virtual movile device implementing system and control method for the same in mixed reality
WO2020042819A1 (en) * 2018-08-30 2020-03-05 腾讯科技(深圳)有限公司 Method and apparatus for displaying information of virtual pet, terminal, server, and storage medium

Family Cites Families (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130222371A1 (en) * 2011-08-26 2013-08-29 Reincloud Corporation Enhancing a sensory perception in a field of view of a real-time source within a display screen through augmented reality
US9293118B2 (en) * 2012-03-30 2016-03-22 Sony Corporation Client device
CN104134229A (en) * 2014-08-08 2014-11-05 李成 Real-time interaction reality augmenting system and method
US9911235B2 (en) * 2014-11-14 2018-03-06 Qualcomm Incorporated Spatial interaction in augmented reality
WO2018036456A1 (en) * 2016-08-22 2018-03-01 大辅科技(北京)有限公司 Method and device for tracking and recognizing commodity in video image and displaying commodity information
CN106383587B (en) * 2016-10-26 2020-08-04 腾讯科技(深圳)有限公司 Augmented reality scene generation method, device and equipment
CN107330980A (en) * 2017-07-06 2017-11-07 重庆邮电大学 A kind of virtual furnishings arrangement system based on no marks thing
CN109451295A (en) * 2017-08-29 2019-03-08 深圳市掌网科技股份有限公司 A kind of method and system obtaining virtual information
CN108711188A (en) * 2018-02-24 2018-10-26 石化盈科信息技术有限责任公司 A kind of factory's real time data methods of exhibiting and system based on AR
CN109298780A (en) * 2018-08-24 2019-02-01 百度在线网络技术(北京)有限公司 Information processing method, device, AR equipment and storage medium based on AR
CN109215416A (en) * 2018-10-24 2019-01-15 天津工业大学 A kind of Chinese character assistant learning system and method based on augmented reality
CN111240476B (en) * 2020-01-06 2021-06-08 腾讯科技(深圳)有限公司 Interaction method and device based on augmented reality, storage medium and computer equipment
CN112037314A (en) * 2020-08-31 2020-12-04 北京市商汤科技开发有限公司 Image display method, image display device, display equipment and computer readable storage medium
CN112348969B (en) * 2020-11-06 2023-04-25 北京市商汤科技开发有限公司 Display method and device in augmented reality scene, electronic equipment and storage medium
CN112991553B (en) * 2021-03-11 2022-08-26 深圳市慧鲤科技有限公司 Information display method and device, electronic equipment and storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004145657A (en) * 2002-10-24 2004-05-20 Space Tag Inc Virtual museum system
CN1770692A (en) * 2005-11-09 2006-05-10 北京联合大学信息技术研究所 Digital museum information ordering system based on distributed structure and its realizing method
WO2011148034A1 (en) * 2010-05-28 2011-12-01 Nokia Corporation Method and apparatus for providing a localized virtual reality environment
JP2016045586A (en) * 2014-08-20 2016-04-04 株式会社メイクソフトウェア Image providing system and image providing program
WO2017071284A1 (en) * 2015-10-28 2017-05-04 乐视控股(北京)有限公司 Photographing processing method, device and apparatus
WO2019020022A1 (en) * 2017-07-28 2019-01-31 腾讯科技(深圳)有限公司 Information processing method and apparatus, terminal device and computer-readable storage medium
KR20190035373A (en) * 2017-09-26 2019-04-03 에이케이엔코리아 주식회사 Virtual movile device implementing system and control method for the same in mixed reality
WO2020042819A1 (en) * 2018-08-30 2020-03-05 腾讯科技(深圳)有限公司 Method and apparatus for displaying information of virtual pet, terminal, server, and storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
基于手机的增强现实及其移动学习应用;程志等;《电化教育研究》;20130201(第02期);68-72 *
移动增强现实(AR)技术在图书馆中应用前景分析;付跃安;《中国图书馆学报》;20130515(第03期);36-41 *

Also Published As

Publication number Publication date
WO2022188305A1 (en) 2022-09-15
CN112991553A (en) 2021-06-18

Similar Documents

Publication Publication Date Title
CN112991553B (en) Information display method and device, electronic equipment and storage medium
CN107948708B (en) Bullet screen display method and device
CN111553864B (en) Image restoration method and device, electronic equipment and storage medium
CN112001321A (en) Network training method, pedestrian re-identification method, network training device, pedestrian re-identification device, electronic equipment and storage medium
CN110928627B (en) Interface display method and device, electronic equipment and storage medium
EP3147802A1 (en) Method and apparatus for processing information
CN113194254A (en) Image shooting method and device, electronic equipment and storage medium
CN111626183A (en) Target object display method and device, electronic equipment and storage medium
CN111815779A (en) Object display method and device, positioning method and device and electronic equipment
CN111860373B (en) Target detection method and device, electronic equipment and storage medium
CN111563138A (en) Positioning method and device, electronic equipment and storage medium
CN111523346A (en) Image recognition method and device, electronic equipment and storage medium
CN112541971A (en) Point cloud map construction method and device, electronic equipment and storage medium
CN112950712B (en) Positioning method and device, electronic equipment and storage medium
CN112837372A (en) Data generation method and device, electronic equipment and storage medium
CN112860061A (en) Scene image display method and device, electronic equipment and storage medium
CN114266305A (en) Object identification method and device, electronic equipment and storage medium
CN112906467A (en) Group photo image generation method and device, electronic device and storage medium
CN114387622A (en) Animal weight recognition method and device, electronic equipment and storage medium
CN114550265A (en) Image processing method, face recognition method and system
CN114549797A (en) Painting exhibition method, device, electronic equipment, storage medium and program product
CN114067085A (en) Virtual object display method and device, electronic equipment and storage medium
CN112949568A (en) Method and device for matching human face and human body, electronic equipment and storage medium
CN112948411A (en) Pose data processing method, interface, device, system, equipment and medium
CN107968742B (en) Image display method, device and computer readable storage medium

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
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40045372

Country of ref document: HK

GR01 Patent grant
GR01 Patent grant