CN114549797A - Painting exhibition method, device, electronic equipment, storage medium and program product - Google Patents

Painting exhibition method, device, electronic equipment, storage medium and program product Download PDF

Info

Publication number
CN114549797A
CN114549797A CN202210141789.7A CN202210141789A CN114549797A CN 114549797 A CN114549797 A CN 114549797A CN 202210141789 A CN202210141789 A CN 202210141789A CN 114549797 A CN114549797 A CN 114549797A
Authority
CN
China
Prior art keywords
target
virtual
information
painting
character
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210141789.7A
Other languages
Chinese (zh)
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 Sensetime Technology Co Ltd
Original Assignee
Shenzhen Sensetime 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 Sensetime Technology Co Ltd filed Critical Shenzhen Sensetime Technology Co Ltd
Priority to CN202210141789.7A priority Critical patent/CN114549797A/en
Publication of CN114549797A publication Critical patent/CN114549797A/en
Priority to PCT/CN2022/128247 priority patent/WO2023155477A1/en
Pending legal-status Critical Current

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

Abstract

The disclosure relates to a drawing presentation method, a drawing presentation apparatus, an electronic device, a storage medium, and a program product. The method comprises the following steps: responding to a real-scene image acquired by the electronic equipment to include a target painting, and displaying a virtual role corresponding to a target user in a target painting area displayed by the electronic equipment, wherein the target painting area represents an area where the target painting is located in the real-scene image displayed by the electronic equipment; and displaying virtual information corresponding to the target object in response to the fact that the distance between the virtual character and any target object in the target drawing area is smaller than or equal to a preset distance.

Description

Painting exhibition method, device, electronic equipment, storage medium and program product
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a method and an apparatus for displaying a painting, an electronic device, a storage medium, and a program product.
Background
With the development of society, the living standard of people is continuously improved, and the material culture needs are gradually increased. At present, when a museum, an art gallery or other venues are exhibiting paintings, in order to introduce relevant information of the displayed paintings to a presenter, the information is usually introduced through characters printed on a wall or paper beside the paintings, or an explanation device is provided to the presenter so that the presenter can obtain explanation information of the paintings through the explanation device.
Disclosure of Invention
The present disclosure provides a technical scheme for displaying painting.
According to an aspect of the present disclosure, there is provided a painting display method, including:
responding to a real-scene image acquired by the electronic equipment and including a target painting, and displaying a virtual role corresponding to a target user in a target painting area displayed by the electronic equipment, wherein the target painting area represents an area where the target painting is located in the real-scene image displayed by the electronic equipment;
and displaying virtual information corresponding to the target object in response to the fact that the distance between the virtual character and any target object in the target drawing area is smaller than or equal to a preset distance.
Displaying a virtual role corresponding to a target user in a target painting area displayed by electronic equipment in response to the fact that the real image collected by the electronic equipment comprises a target painting, and displaying virtual information corresponding to the target object in response to the fact that the distance between the virtual role and any target object in the target painting area is smaller than or equal to a preset distance, so that after the target painting enters the visual field of the electronic equipment used by the target user, displaying the virtual role corresponding to the target user while displaying the real image in the electronic equipment in an augmented reality mode, and displaying the virtual information corresponding to the target object according to the position relation between the virtual role and the target object in the target painting, thereby displaying the related information of the target painting vividly along with the change of the position of the virtual role in the target painting area, and further, the target user can obtain rich introduction information of the target painting while experiencing the interest of exhibition.
In one possible implementation, the method further includes:
and responding to the movement of the electronic equipment, and controlling the virtual character to move in the target drawing area according to the displacement of the electronic equipment.
In the implementation mode, the virtual character is controlled to move in the target drawing area by controlling the movement of the electronic equipment, so that the convenience of moving the virtual character can be improved, a target user can conveniently watch different parts of the target drawing, and virtual information corresponding to target objects of the different parts of the target drawing is obtained.
In one possible implementation form of the method,
in the target drawing area displayed by the electronic device, displaying a virtual role corresponding to a target user, including: displaying a virtual role corresponding to a target user on a preset path in a target drawing area displayed by the electronic equipment;
the controlling the virtual character to move in the target drawing area according to the displacement of the electronic equipment in response to the movement of the electronic equipment comprises: and responding to the movement of the electronic equipment, and controlling the virtual character to move along the preset path according to the displacement of the electronic equipment.
In the implementation manner, the virtual role corresponding to the target user is displayed on the preset path in the target drawing area displayed by the electronic device, and the virtual role is controlled to move along the preset path according to the displacement of the electronic device in response to the movement of the electronic device, so that the virtual role corresponding to the target user can be guided to approach to the target object with the virtual information to be displayed in the target drawing, and the target user can be helped to obtain the introduction information of the target drawing more quickly.
In one possible implementation manner, the controlling, in response to the movement of the electronic device, the virtual character to move along the preset path according to the displacement of the electronic device includes:
determining a moving mode corresponding to the virtual role;
and responding to the movement of the electronic equipment, and controlling the virtual character to move along the preset path according to the displacement of the electronic equipment and the movement mode.
In this implementation manner, the virtual character is controlled to move along a preset path in the target drawing area according to the movement manner corresponding to the virtual character, so that the interest of the target user in watching the target drawing can be further improved.
In a possible implementation manner, the determining a moving manner corresponding to the virtual character includes:
and determining a moving mode corresponding to the virtual role according to at least one of the moving speed of the electronic equipment, the role characteristics of the virtual role and the creation background information of the target drawing.
In this implementation, the moving mode corresponding to the virtual character is determined according to at least one of the moving speed of the electronic device, the character characteristics of the virtual character and the creation background information of the target drawing, so that the target user is helped to obtain an immersive experience, and the target user is helped to learn the relevant information of the target drawing with high attention.
In one possible implementation, the method further includes:
and controlling the virtual character to move along a preset path in response to the triggering of the movement control.
In this implementation manner, the virtual character can still be controlled to move through the movement control under the condition that the visual field range of the electronic device is fixed and unchanged, so that the flexibility of virtual character control can be improved.
In one possible implementation, the target object includes at least one of: non-player characters corresponding to characters in the target painting, non-player characters corresponding to animals in the target painting, non-player characters corresponding to plants in the target painting, and non-player characters corresponding to buildings in the target painting.
In this implementation, characters, animals, plants, and buildings in the target painting are set as non-player characters capable of interacting with the target user, so that the target user can obtain information related to the target painting by interacting with the non-player characters, thereby improving the interest of painting learning.
In one possible implementation manner, the virtual information corresponding to the non-player character includes an interactive control corresponding to the non-player character;
after the interactive control corresponding to the non-player character is displayed, the method further comprises the following steps: and displaying the interaction information of the non-player character and the virtual character in response to the interaction control being triggered.
In the implementation mode, the interaction information of the non-player character and the virtual character is displayed by responding to the triggering of the interaction control corresponding to the non-player character, so that the non-player character is triggered to introduce the relevant information of the target drawing to the target user based on the active operation of the target user, and the target user is helped to absorb the relevant knowledge of the target drawing.
In a possible implementation manner, the displaying the interaction information of the non-player character and the virtual character includes:
acquiring progress information of the target user in watching the target painting;
and displaying the interaction information of the non-player character and the virtual character according to the progress information.
In the implementation mode, the progress information of the target user watching the target painting is acquired, and the interaction information of the non-player characters and the virtual characters is displayed according to the progress information, so that different knowledge of the target painting can be introduced to the virtual characters in sequence according to the progress information of the target user watching the target painting by more than two non-player characters in the target painting, and the target user can learn the related knowledge of the target painting more reasonably and smoothly.
In a possible implementation manner, the virtual information corresponding to the non-player character includes interaction information of the non-player character and the virtual character;
the displaying the virtual information corresponding to the target object in response to the fact that the distance between the virtual character and any target object in the target drawing area is smaller than or equal to a preset distance comprises the following steps: and displaying the interaction information of the non-player character and the virtual character in response to the fact that the distance between the virtual character and the non-player character is smaller than or equal to the preset distance.
In this implementation manner, in response to that the distance between the virtual character and the non-player character is less than or equal to the preset distance, the interaction information between the non-player character and the virtual character is directly displayed, so that when the virtual character passes through each non-player character, the corresponding interaction information is respectively displayed, and therefore, in the process of moving the virtual character in the target drawing, richer drawing knowledge can be obtained under the condition that the target user does not actively operate.
In a possible implementation manner, the virtual information corresponding to the target object includes introduction information corresponding to the target object.
In this implementation, presentation information corresponding to the target object is presented in response to the fact that the distance between the virtual character and any target object in the target drawing area is smaller than or equal to the preset distance, so that when the virtual character passes through the target object, the target object is presented, and therefore as the virtual character moves in the target drawing, the target user can learn the related knowledge of each target object in the target drawing.
In a possible implementation manner, the displaying a virtual role corresponding to a target user includes:
and displaying the virtual role corresponding to the target user according to the creation background information of the target painting, wherein the dressing information of the virtual role is determined according to the creation background information, and the creation background information comprises the age information and/or the location information of the target painting.
In this implementation, the information of making up the virtual character corresponding to the target user is determined according to the creation background information of the target painting, so that the target user can be provided with a feeling of being in the age and/or the place of the target painting, and the target user can learn the creation background information of the target painting while obtaining an immersive experience.
In a possible implementation manner, the displaying a virtual role corresponding to a target user according to the creation background information of the target painting includes:
and displaying the virtual character according to the creation background information of the target painting and the user information of the target user, wherein the dressing information of the virtual character is determined according to the creation background information and the user information, and the user information at least comprises the gender and/or age of the target user.
In the implementation mode, by combining the gender and/or the age of the target user, the dressing information of the virtual character corresponding to the target user is determined, so that the target user can not only be provided with the feeling of passing through to the age and/or the place of the target painting, but also be helped to know the dressing of people with the same gender and/or the similar age as the target user in the age and/or the place of the target painting, and the target user can be helped to further learn the creation background information of the target painting.
In a possible implementation manner, the displaying a virtual role corresponding to a target user includes:
and displaying the virtual role corresponding to the target user according to the face image of the target user, wherein the image of the face area of the virtual role is determined according to the face image.
In the implementation mode, the target user is helped to obtain an immersive experience by determining the image of the face area of the virtual character according to the face image of the target user, and therefore the target user is helped to learn the relevant information of the target drawing with high attention.
According to an aspect of the present disclosure, there is provided a painting display apparatus applied to an electronic device, the apparatus including:
the first display module is used for responding to a real-scene image acquired by the electronic equipment and including a target painting, and displaying a virtual role corresponding to a target user in a target painting area displayed by the electronic equipment, wherein the target painting area represents an area where the target painting is located in the real-scene image displayed by the electronic equipment;
and the second display module is used for displaying the virtual information corresponding to the target object in response to the fact that the distance between the virtual character and any target object in the target drawing area is smaller than or equal to a preset distance.
In one possible implementation, the apparatus further includes:
and the first control module is used for responding to the movement of the electronic equipment and controlling the virtual character to move in the target drawing area according to the displacement of the electronic equipment.
In one possible implementation form of the method,
the first display module is configured to: displaying a virtual role corresponding to a target user on a preset path in a target drawing area displayed by the electronic equipment;
the first control module is configured to: and responding to the movement of the electronic equipment, and controlling the virtual character to move along the preset path according to the displacement of the electronic equipment.
In one possible implementation, the first control module is configured to:
determining a moving mode corresponding to the virtual role;
and responding to the movement of the electronic equipment, and controlling the virtual character to move along the preset path according to the displacement of the electronic equipment and the movement mode.
In one possible implementation, the first control module is configured to:
and determining a moving mode corresponding to the virtual role according to at least one of the moving speed of the electronic equipment, the role characteristics of the virtual role and the creation background information of the target drawing.
In one possible implementation, the apparatus further includes:
and the second control module is used for controlling the virtual character to move along the preset path in response to the triggering of the moving control.
In one possible implementation, the target object includes at least one of: non-player characters corresponding to characters in the target painting, non-player characters corresponding to animals in the target painting, non-player characters corresponding to plants in the target painting, and non-player characters corresponding to buildings in the target painting.
In one possible implementation manner, the virtual information corresponding to the non-player character includes an interactive control corresponding to the non-player character;
the device further comprises: and the third display module is used for responding to the triggering of the interaction control and displaying the interaction information of the non-player character and the virtual character.
In one possible implementation manner, the third display module is configured to:
acquiring progress information of the target user in watching the target painting;
and displaying the interaction information of the non-player character and the virtual character according to the progress information.
In a possible implementation manner, the virtual information corresponding to the non-player character includes interaction information of the non-player character and the virtual character;
the second display module is configured to: and displaying the interaction information of the non-player character and the virtual character in response to the fact that the distance between the virtual character and the non-player character is smaller than or equal to the preset distance.
In a possible implementation manner, the virtual information corresponding to the target object includes introduction information corresponding to the target object.
In one possible implementation manner, the first presentation module is configured to:
and displaying the virtual role corresponding to the target user according to the creation background information of the target painting, wherein the dressing information of the virtual role is determined according to the creation background information, and the creation background information comprises the age information and/or the location information of the target painting.
In one possible implementation manner, the first presentation module is configured to:
and displaying the virtual character according to the creation background information of the target painting and the user information of the target user, wherein the dressing information of the virtual character is determined according to the creation background information and the user information, and the user information at least comprises the gender and/or age of the target user.
In one possible implementation manner, the first presentation module is configured to:
and displaying the virtual role corresponding to the target user according to the face image of the target user, wherein the image of the face area of the virtual role is determined according to the face image.
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.
According to an aspect of the present disclosure, there is provided a computer program product comprising computer readable code, or a non-transitory computer readable storage medium carrying computer readable code, which when run in an electronic device, a processor in the electronic device performs the above method.
In the embodiment of the disclosure, by responding to that a live-action image acquired by an electronic device includes a target painting, displaying a virtual character corresponding to a target user in a target painting area displayed by the electronic device, and responding to that a distance between the virtual character and any target object in the target painting area is less than or equal to a preset distance, displaying virtual information corresponding to the target object, so that after the target painting enters a visual field of the electronic device used by the target user, the virtual character corresponding to the target user is displayed while the live-action image is displayed in the electronic device in an augmented reality manner, and the virtual information corresponding to the target object is displayed according to a position relationship between the virtual character and the target object in the target painting, so as to follow a change of a position of the virtual character in the target painting area, the related information of the target painting is vividly displayed, so that the target user can enjoy the interest of the exhibition and obtain rich introduction information of the target painting.
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 a drawing presentation method provided by an embodiment of the present disclosure.
Fig. 2 shows a block diagram of a painting presentation apparatus provided by an embodiment of the present disclosure.
Fig. 3 shows a block diagram of an electronic device 800 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.
In the related art, in a manner of introducing information related to a painting by characters printed on a wall or paper beside the painting, in order to maintain the overall exhibition effect of a museum or art gallery, the amount of characters to be exhibited is generally small, resulting in a small amount of information available to a viewer. In the way of obtaining the explanation information through the interpreter, the presenter can usually obtain only the explanation information in the form of audio, and the explanation information in the form of hearing is sometimes difficult for the presenter to understand.
In order to solve the technical problem similar to the above, an embodiment of the present disclosure provides a painting display method, where a target painting is included in a live-action image collected by an electronic device, a virtual character corresponding to a target user is displayed in a target painting area displayed by the electronic device, and virtual information corresponding to the target object is displayed in response to that a distance between the virtual character and any target object in the target painting area is less than or equal to a preset distance, so that after the target painting enters a visual field of the electronic device used by the target user, the virtual character corresponding to the target user is displayed in the electronic device while the live-action image is displayed in an augmented reality manner, and virtual information corresponding to the target object is displayed according to a positional relationship between the virtual character and the target object in the target painting, therefore, along with the position change of the virtual character in the target drawing area, the related information of the target drawing is vividly displayed, and the target user can obtain rich introduction information of the target drawing while experiencing the interest of exhibition.
The drawing display method provided by the embodiment of the disclosure is described in detail below with reference to the accompanying drawings.
Fig. 1 shows a flowchart of a drawing presentation method provided by an embodiment of the present disclosure. The painting presentation method may be performed by an electronic device. The electronic device may be a User Equipment (UE), a mobile device, a User terminal, a cellular phone, a Personal Digital Assistant (PDA), a handheld device, a computing device, or a wearable device. In some possible implementations, the drawing presentation method may be implemented by a processor calling computer readable instructions stored in a memory. As shown in fig. 1, the painting display method includes steps S11 to S12.
In step S11, in response to that a real-scene image captured by the electronic device includes a target painting, a virtual character corresponding to a target user is displayed in a target painting area displayed by the electronic device, where the target painting area represents an area in which the target painting is located in the real-scene image displayed by the electronic device.
In step S12, in response to that the distance between the virtual character and any one of the target objects in the target drawing area is less than or equal to a preset distance, displaying virtual information corresponding to the target object.
In the disclosed embodiment, the electronic device may be an electronic device that can be operated and used by a spectator. In one possible implementation, the electronic device may be an electronic device of a spectator. For example, the electronic device may be a mobile phone of a presenter, a tablet computer, or the like. In the implementation mode, the exhibitor can conveniently acquire the related information of the painting through the electronic equipment such as the mobile phone of the exhibitor, and the like without leasing equipment such as a teller machine to the exhibitor. Of course, in some possible implementations, the electronic device may also be an electronic device provided to the exhibitor. For example, the exhibitor may provide the electronic device such as a tablet computer to the exhibitor such as a child without a mobile phone, so that the exhibitor without a mobile phone can conveniently obtain the related information of the painting.
The electronic device may capture at least one of an image, an image sequence, a video, etc. of a real scene. Wherein the sequence of images may comprise at least two images. In a possible implementation manner, the real-scene image may be a latest image acquired by the electronic device for a real scene. In another possible implementation manner, the real-scene image may be a latest frame of image in an image sequence acquired by the electronic device for a real scene. In another possible implementation manner, the real-scene image may be a latest video frame image in a video captured by the electronic device for a real scene. The electronic equipment can acquire the live-action image through the image acquisition module. In one example, the electronic device is a mobile phone, the image capturing module of the electronic device 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 acquired by an image acquisition device connected to the electronic device. For example, the electronic device 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 electronic device may be connected in a wireless or wired manner, which is not limited herein.
In the embodiment of the present disclosure, painting identification may be performed based on the live-action image to determine whether the live-action image includes a target painting. In one possible implementation manner, the electronic device may send a painting identification request to a server, where the painting identification request includes a first image. The live-action image may be used as the first image, or the live-action image may be compressed to obtain the first image. The server may perform drawing identification on the first image in response to the drawing identification request to determine whether the first image includes a target drawing, so that it may be determined whether the real-scene image includes the target drawing. In another possible implementation manner, the electronic device may perform painting recognition on the live-action image, and determine whether the live-action image includes a target painting.
And the electronic equipment displays the virtual role corresponding to the target user in the target painting area displayed by the electronic equipment under the condition that the real-scene image comprises the target painting. Wherein the target drawing area may display part or all of the target drawing. The target drawing area may occupy a part or all of the real-scene image, that is, the real-scene image may include only the target drawing area, or may include an area other than the target drawing area, such as a background area. The target drawing area may display different portions of the target drawing as a field of view of the electronic device changes.
In a possible implementation manner, the displaying a virtual role corresponding to a target user includes: and displaying the virtual role corresponding to the target user according to the creation background information of the target drawing, wherein the decorating information of the virtual role is determined according to the creation background information, and the creation background information comprises the age information and/or the location information of the target drawing. The dress information may indicate information for dressing the virtual character. The dressing information may include at least one of clothing, accessories, hair style, makeup, and the like.
As an example of this implementation, the dressing information of the virtual character may be determined from the age information of the target painting. In this example, when the target user views target drawings of different ages, the dress information of the virtual character corresponding to the target user shown in the target drawing area may be different. For example, the target paintings may differ from year to year.
As another example of this implementation, the dressing information of the virtual character may be determined according to the location information of the target painting. In this example, when a target user views a target painting authored at a different place, the dress information of the virtual character corresponding to the target user presented in the target painting area may be different. For example, target paintings created in different countries may differ for corresponding garments.
As another example of this implementation, the dressing information of the virtual character may be determined from the age information and the location information of the target painting.
In this implementation, the information of making up the virtual character corresponding to the target user is determined according to the creation background information of the target painting, so that the target user can be provided with a feeling of being in the age and/or the place of the target painting, and the target user can learn the creation background information of the target painting while obtaining an immersive experience.
As an example of this implementation manner, the displaying a virtual role corresponding to a target user according to the authoring background information of the target painting includes: and displaying the virtual character according to the creation background information of the target painting and the user information of the target user, wherein the dressing information of the virtual character is determined according to the creation background information and the user information, and the user information at least comprises the gender and/or age of the target user. In this example, by determining the dressing information of the virtual character corresponding to the target user in combination with the gender and/or age of the target user, the target user can not only be given a feeling of traversing to the age and/or place of the target painting, but also be helped to know the dressing of people of the same gender and/or similar age as the target user in the age and/or place of the target painting, thereby being helped to further learn the authoring background information of the target painting.
In other examples, the gender and/or age of the avatar may also be selected by the target user, thereby helping the target user to learn the make-up of people of different genders and ages in the age and/or location of the target drawing, thereby helping the target user to further learn the authoring context information of the target drawing.
In other possible implementation manners, the decoration information of the virtual character corresponding to the target user may not be determined according to the creation background information of the target painting. For example, the target user may actively select the grooming information for the avatar. For another example, preference information of the target user may be obtained, and the dressing information of the virtual role corresponding to the target user may be determined according to the preference information.
In a possible implementation manner, the displaying a virtual role corresponding to a target user includes: and displaying the virtual role corresponding to the target user according to the face image of the target user, wherein the image of the face area of the virtual role is determined according to the face image. In this implementation manner, the face image of the target user may be used as the image of the face area of the virtual character, or the face image of the target user may be beautified and then used as the image of the face area of the virtual character, which is not limited herein. By determining the image of the face region of the virtual character according to the face image of the target user, the target user is helped to obtain an immersive experience, and the target user is helped to learn the relevant information of the target drawing with high attention.
In other possible implementation manners, the image of the face area of the virtual character corresponding to the target user may not be determined according to the face image of the target user. For example, a plurality of face images of different genders and ages may be set in advance, and the corresponding face image may be acquired as an image of the face area of the virtual character corresponding to the target user according to the gender and age of the target user.
In the disclosed embodiments, the target object may represent any type of object in the target drawing having virtual information to be presented. For example, the target object may be a person, animal, house, bridge, ship, etc. in the target drawing.
In this embodiment of the present disclosure, the preset distance corresponding to any target object may represent a distance for triggering display of virtual information corresponding to the target object. The preset distances corresponding to different target objects may be the same or different. For example, the preset distances corresponding to different people may be the same; as another example, the preset distance corresponding to the ship may be greater than the preset distance corresponding to the character, and so on. A person skilled in the art can flexibly set the preset distances corresponding to different target objects according to the density of the target objects in the target painting, the distance between the target objects and the preset path, and the like, which is not limited herein.
In the embodiment of the present disclosure, the virtual information may represent virtual information for display after being fused with information of a real scene. The virtual information may include one or more of text, pictures, audio, video, and the like. The virtual information corresponding to any target object may include: virtual information for introducing the target object, and/or virtual information for introducing the target drawing. For example, if a target object in the target drawing is a character, the virtual information corresponding to the character may include text and/or video for describing the character, and/or text and/or video for describing the target drawing.
In a possible implementation manner, the displaying, in a target drawing area displayed by the electronic device, a virtual character corresponding to a target user includes: and displaying the virtual role corresponding to the target user on a preset path in the target drawing area displayed by the electronic equipment. In this implementation manner, information of an AR (Augmented Reality) scene corresponding to the target painting may be obtained based on the identification information of the target painting, and the AR scene corresponding to the target painting may be displayed according to the information of the AR scene. The AR scene corresponding to the target painting may include a preset path. The virtual role corresponding to the target user is displayed on the preset path in the target drawing area displayed by the electronic equipment, so that the virtual role corresponding to the target user can be guided to approach to a target object with virtual information to be displayed in the target drawing, and the target user can be helped to obtain introduction information of the target drawing more quickly.
In another possible implementation manner, the virtual character corresponding to the target user may be located at any position of the target drawing area.
In one possible implementation, the method further includes: and responding to the movement of the electronic equipment, and controlling the virtual character to move in the target drawing area according to the displacement of the electronic equipment. In this implementation, a displacement of the electronic device may be obtained in response to the electronic device moving. The displacement of the electronic equipment can be mapped to a plane coordinate system corresponding to the target drawing to obtain a first target vector, and the virtual character is controlled to move in the target drawing area according to the first target vector. In the implementation mode, the virtual role is controlled to move in the target drawing area by controlling the movement of the electronic equipment, so that the convenience of moving the virtual role can be improved, a target user can conveniently watch different parts of the target drawing, and virtual information corresponding to target objects of the different parts of the target drawing is obtained.
As an example of this implementation manner, the displaying, in a target drawing area displayed by the electronic device, a virtual role corresponding to a target user includes: displaying a virtual role corresponding to a target user on a preset path in a target drawing area displayed by the electronic equipment; the controlling the virtual character to move in the target drawing area according to the displacement of the electronic equipment in response to the movement of the electronic equipment comprises: and responding to the movement of the electronic equipment, and controlling the virtual character to move along the preset path according to the displacement of the electronic equipment. In this example, the displacement of the electronic device may be obtained in response to the electronic device moving. The displacement of the electronic equipment can be mapped to a coordinate system corresponding to the preset path to obtain a second target vector, and the virtual character is controlled to move in the target drawing area according to the second target vector. In this example, by displaying the virtual character corresponding to the target user on a preset path in the target drawing area displayed by the electronic device, and controlling the virtual character to move along the preset path according to the displacement of the electronic device in response to the movement of the electronic device, the virtual character corresponding to the target user can be guided to approach to the target object having the virtual information to be displayed in the target drawing, thereby facilitating the target user to obtain the introduction information of the target drawing more quickly.
In one example, the controlling the virtual character to move along the preset path according to the displacement of the electronic device in response to the movement of the electronic device includes: determining a moving mode corresponding to the virtual role; and responding to the movement of the electronic equipment, and controlling the virtual character to move along the preset path according to the displacement of the electronic equipment and the movement mode. The moving mode corresponding to the virtual character may be walking, running, jumping, sitting on a car, sitting on a boat, and the like, which is not limited herein. The virtual role is controlled to move along a preset path in the target drawing area according to the moving mode corresponding to the virtual role, so that the interest of a target user in watching the target drawing can be further improved.
In one example, the determining the movement mode corresponding to the virtual character includes: and determining a moving mode corresponding to the virtual role according to at least one of the moving speed of the electronic equipment, the role characteristics of the virtual role and the creation background information of the target drawing.
For example, the movement mode corresponding to the virtual character may be determined according to the movement speed of the electronic device. For example, if the moving speed of the electronic device is greater than or equal to a preset speed, it may be determined that the moving mode corresponding to the virtual character is running; if the moving speed of the electronic device is less than the preset speed, it can be determined that the moving mode corresponding to the virtual character is walking.
For another example, the movement mode corresponding to the virtual character may be determined according to the character feature of the virtual character. For example, if the virtual character is a child, the moving mode corresponding to the virtual character may be jumping; if the virtual character is an adult, the moving mode corresponding to the virtual character can be a walking mode.
For another example, the movement mode corresponding to the virtual character may be determined according to the character characteristics of the virtual character and the movement speed of the electronic device. For example, if the virtual character is a child and the moving speed of the electronic device is greater than or equal to a preset speed, it may be determined that the moving mode corresponding to the virtual character is running; if the virtual character is a child and the moving speed of the electronic device is lower than a preset speed, determining that the moving mode corresponding to the virtual character is jumping; if the virtual character is an adult and the moving speed of the electronic device is greater than or equal to a preset speed, determining that the moving mode corresponding to the virtual character is running; if the virtual character is an adult and the moving speed of the electronic device is less than the preset speed, it can be determined that the moving mode corresponding to the virtual character is walking.
For another example, the moving mode corresponding to the virtual character may be determined according to the creation background information of the target painting. For example, the moving mode corresponding to the virtual character can be determined according to the technical level of the transportation means corresponding to the creation time and/or place of the target painting. For example, according to the creation background information of the target painting, it may be determined that the virtual character moves in a manner of riding a horse car, sitting a sedan car, riding a bicycle, or the like.
For another example, the moving mode corresponding to the virtual character may be determined according to the moving speed of the electronic device and the creation background information of the target painting.
In the above example, the target user is helped to obtain an immersive experience by determining the movement mode corresponding to the virtual character according to at least one of the movement speed of the electronic device, the character characteristics of the virtual character and the creation background information of the target drawing, so that the target user is helped to learn the relevant information of the target drawing with high attention.
In another example, the movement mode corresponding to the virtual character may be selected by the target user.
In one possible implementation, the method further includes: and controlling the virtual character to move along a preset path in response to the triggering of the movement control. In this implementation, the movement control may represent a control used by the electronic device to control the movement of the virtual character. The mobile control may be a virtual control or an entity control, which is not limited herein. For example, the mobile control may be determined to be triggered in response to detecting that the mobile control is clicked; as another example, it may be determined that the movement control is triggered in response to detecting that the movement control is long-pressed; as another example, the mobile control may be determined to be triggered in response to detecting that the mobile control is double-clicked; and so on. In this implementation manner, the virtual character can still be controlled to move through the movement control under the condition that the visual field range of the electronic device is fixed and unchanged, so that the flexibility of virtual character control can be improved.
In one possible implementation, the target object includes at least one of: non-player characters corresponding to characters in the target painting, non-player characters corresponding to animals in the target painting, non-player characters corresponding to plants in the target painting, and non-player characters corresponding to buildings in the target painting. In this implementation, by setting characters, animals, plants, and buildings in the target painting as Non-Player characters (NPCs) that can interact with the target user, the target user can obtain information related to the target painting by interacting with the Non-Player characters, and the interest of painting learning can be improved.
As an example of this implementation, the virtual information corresponding to the non-player character includes an interactive control corresponding to the non-player character; after the interactive control corresponding to the non-player character is displayed, the method further comprises the following steps: and displaying the interaction information of the non-player character and the virtual character in response to the interaction control being triggered. In this example, the interactive controls for any non-player character may be displayed in the vicinity of that non-player character. For example, the interactive control corresponding to any non-player character can be displayed above, to the right of, to the left of, etc. the non-player character, and is not limited herein. For example, the interactive control may be determined to be triggered in response to detecting that the interactive control is clicked; for another example, the interactive control may be determined to be triggered in response to detecting that the interactive control is long-pressed; as another example, the interactive control may be determined to be triggered in response to detecting that the interactive control is double-clicked; and so on.
In this example, the interaction information of the non-player character with the virtual character may be any information for the non-player character to interact with the virtual character. For example, the interaction information of the non-player character with the virtual character may be for at least one of: introducing the relevant information of the non-player character to the virtual character, introducing the relevant information of the target drawing to the virtual character, and calling the virtual character.
The interaction information between the non-player character and the virtual character can be in the forms of conversation, task issuing and the like. For example, a non-player character may introduce information regarding a target drawing to the virtual character by talking to the virtual character. For another example, a non-player character may issue a quiz task to a virtual character to enable a target user to learn about relevant knowledge of a target drawing through the quiz task.
In this example, interaction information of the non-player character and the virtual character is presented by responding to the triggering of the interaction control corresponding to the non-player character, so that the non-player character is triggered to introduce relevant information of the target drawing to the target user based on the active operation of the target user, and the target user is helped to absorb relevant knowledge of the target drawing.
In one example, the presenting the interaction information of the non-player character and the virtual character includes: acquiring progress information of the target user in watching the target painting; and displaying the interaction information of the non-player character and the virtual character according to the progress information. In this example, the target user may select a non-player character to interact with, and different non-player characters in the target drawing may in turn introduce different knowledge of the target drawing to the target user. For example, after the virtual character corresponding to the target user is shown in the preset path, in response to that the distance between the virtual character and the non-player character a is less than or equal to the preset distance, the non-player character a may introduce the relevant knowledge of the target drawing to the virtual character. The virtual character moves forward along the preset path, meets the non-player character B (the distance between the virtual character and the non-player character B is smaller than or equal to the preset distance), and can continuously introduce the relevant knowledge of the target drawing to the virtual character through the non-player character B. In the above example, by acquiring the progress information of the target user viewing the target painting and displaying the interaction information between the non-player character and the virtual character according to the progress information, different knowledge of the target painting can be introduced to the virtual character in sequence according to the progress information of the target user viewing the target painting by more than two non-player characters in the target painting, so that the target user can learn the related knowledge of the target painting more reasonably and smoothly.
As an example of this implementation, the virtual information corresponding to the non-player character includes interaction information of the non-player character and the virtual character; the displaying the virtual information corresponding to the target object in response to the fact that the distance between the virtual character and any target object in the target drawing area is smaller than or equal to a preset distance comprises the following steps: and displaying the interaction information of the non-player character and the virtual character in response to the fact that the distance between the virtual character and the non-player character is smaller than or equal to the preset distance. In this example, the interaction information between the non-player character and the virtual character may be directly displayed in response to that the distance between the virtual character and the non-player character is less than or equal to a preset distance, so that when the virtual character passes through each non-player character, the corresponding interaction information is respectively displayed, and thus, in the process of moving the virtual character in the target drawing, richer drawing knowledge can be obtained without active operation of the target user.
In a possible implementation manner, the virtual information corresponding to the target object includes introduction information corresponding to the target object. For example, if the target object is a person, the introduction information corresponding to the target object may include any information describing the identity, work, and the like of the person. For another example, if the target object is a house, the introduction information corresponding to the target object may include any information describing the role, history, owner, and the like of the house. For another example, if the target object is a bridge, the introduction information corresponding to the target object may include any information that introduces the name, the building history, and the like of the bridge. In this implementation, presentation information corresponding to the target object is presented in response to the fact that the distance between the virtual character and any target object in the target drawing area is smaller than or equal to the preset distance, so that when the virtual character passes through the target object, the target object is presented, and therefore as the virtual character moves in the target drawing, the target user can learn the related knowledge of each target object in the target drawing.
The following describes a painting display method provided by the embodiment of the present disclosure through a specific application scenario. In this application scenario, the electronic device may be a mobile phone of a spectator. The mobile phone can acquire live-action images through the camera module. The mobile phone can respond that the live-action image comprises a target painting, and a virtual role corresponding to the exhibition observer is displayed on a preset path in a target painting area displayed on a display screen of the mobile phone. The image of the face area of the virtual character may be a face image of the exhibition person, and the dressing information of the virtual character may be determined according to the year and place of the target painting and the sex and age of the exhibition person. The mobile phone can respond to the movement of the mobile phone, and the virtual character is controlled to move along a preset path according to the displacement of the mobile phone. The mobile phone can respond that the distance between the virtual character and any target object in the target drawing area is smaller than or equal to a preset distance, and virtual information corresponding to the target object is displayed. As the virtual character moves along the preset path, the virtual character can encounter each target object, so that the exhibitor can obtain introduction information corresponding to each target object.
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 a painting exhibition apparatus, an electronic device, a computer-readable storage medium, and a computer program product, which can be used to implement any painting exhibition method provided by the present disclosure, and corresponding technical solutions and technical effects can be referred to corresponding records of the method section, and are not described in detail.
Fig. 2 shows a block diagram of a painting presentation apparatus provided by an embodiment of the present disclosure. The painting display device is applied to electronic equipment. As shown in fig. 2, the painting display apparatus includes:
the first display module 21 is configured to, in response to a live-action image acquired by the electronic device including a target painting, display a virtual character corresponding to a target user in a target painting area displayed by the electronic device, where the target painting area indicates an area where the target painting is located in the live-action image displayed by the electronic device;
the second display module 22 is configured to display, in response to that a distance between the virtual character and any one of the target objects in the target drawing area is smaller than or equal to a preset distance, virtual information corresponding to the target object.
In one possible implementation, the apparatus further includes:
and the first control module is used for responding to the movement of the electronic equipment and controlling the virtual character to move in the target drawing area according to the displacement of the electronic equipment.
In one possible implementation form of the method,
the first display module 21 is configured to: displaying a virtual role corresponding to a target user on a preset path in a target drawing area displayed by the electronic equipment;
the first control module is configured to: and responding to the movement of the electronic equipment, and controlling the virtual character to move along the preset path according to the displacement of the electronic equipment.
In one possible implementation, the first control module is configured to:
determining a moving mode corresponding to the virtual role;
and responding to the movement of the electronic equipment, and controlling the virtual character to move along the preset path according to the displacement of the electronic equipment and the movement mode.
In one possible implementation manner, the first control module is configured to:
and determining a moving mode corresponding to the virtual role according to at least one of the moving speed of the electronic equipment, the role characteristics of the virtual role and the creation background information of the target drawing.
In one possible implementation, the apparatus further includes:
and the second control module is used for controlling the virtual character to move along the preset path in response to the triggering of the moving control.
In one possible implementation, the target object includes at least one of: non-player characters corresponding to characters in the target painting, non-player characters corresponding to animals in the target painting, non-player characters corresponding to plants in the target painting, and non-player characters corresponding to buildings in the target painting.
In one possible implementation manner, the virtual information corresponding to the non-player character includes an interactive control corresponding to the non-player character;
the device further comprises: and the third display module is used for responding to the triggering of the interaction control and displaying the interaction information of the non-player character and the virtual character.
In one possible implementation manner, the third display module is configured to:
acquiring progress information of the target user in watching the target painting;
and displaying the interaction information of the non-player character and the virtual character according to the progress information.
In a possible implementation manner, the virtual information corresponding to the non-player character includes interaction information of the non-player character and the virtual character;
the second display module 22 is used for: and displaying the interaction information of the non-player character and the virtual character in response to the fact that the distance between the virtual character and the non-player character is smaller than or equal to the preset distance.
In a possible implementation manner, the virtual information corresponding to the target object includes introduction information corresponding to the target object.
In a possible implementation manner, the first display module 21 is configured to:
and displaying the virtual role corresponding to the target user according to the creation background information of the target painting, wherein the dressing information of the virtual role is determined according to the creation background information, and the creation background information comprises the age information and/or the location information of the target painting.
In a possible implementation manner, the first display module 21 is configured to:
and displaying the virtual character according to the creation background information of the target painting and the user information of the target user, wherein the dressing information of the virtual character is determined according to the creation background information and the user information, and the user information at least comprises the gender and/or age of the target user.
In a possible implementation manner, the first display module 21 is configured to:
and displaying the virtual role corresponding to the target user according to the face image of the target user, wherein the image of the face area of the virtual role is determined according to the face image.
In the embodiment of the disclosure, by responding to that a live-action image acquired by an electronic device includes a target painting, displaying a virtual character corresponding to a target user in a target painting area displayed by the electronic device, and responding to that a distance between the virtual character and any target object in the target painting area is less than or equal to a preset distance, displaying virtual information corresponding to the target object, so that after the target painting enters a visual field of the electronic device used by the target user, the virtual character corresponding to the target user is displayed while the live-action image is displayed in the electronic device in an augmented reality manner, and the virtual information corresponding to the target object is displayed according to a position relationship between the virtual character and the target object in the target painting, so as to follow a change of a position of the virtual character in the target painting area, the related information of the target painting is vividly displayed, so that the target user can enjoy the interest of the exhibition and obtain rich introduction information of the target painting.
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.
Embodiments of the present disclosure also provide 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 above method.
The disclosed embodiments also provide a computer program product comprising computer readable code or a non-volatile computer readable storage medium carrying computer readable code, which when run in an electronic device, a processor in the electronic device performs the above method.
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 method.
The electronic device may be provided as a terminal, server, or other form of device.
Fig. 3 illustrates 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. 3, 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.
The sensor assembly 814 includes one or more sensors for providing various aspects of state assessment for the 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 without 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), a 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 broadcast signals 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.
The disclosure relates to the field of augmented reality, and aims to detect or identify relevant features, states and attributes of a target painting by means of various visual correlation algorithms by acquiring image information of the target painting in a real environment, so as to obtain an AR effect combining virtual and reality matched with specific applications. The vision-related algorithms may involve visual localization, SLAM, three-dimensional reconstruction, image registration, background segmentation, key point extraction and tracking of objects, pose or depth detection of objects, and the like. Specific applications may relate to interactive scenarios such as navigation, explanation, reconstruction, virtual effect overlay presentation, etc. related to real scenes or items. The detection or identification processing of the relevant characteristics, states and attributes of the target drawing can be realized through the convolutional neural network. The convolutional neural network is a network model obtained by performing model training based on a deep learning framework.
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.
The foregoing description of the various embodiments is intended to highlight various differences between the embodiments, and the same or similar parts may be referred to each other, and for brevity, will not be described again herein.
If the technical scheme of the application relates to personal information, a product applying the technical scheme of the application clearly informs personal information processing rules before processing the personal information, and obtains personal independent consent. If the technical scheme of the application relates to sensitive personal information, a product applying the technical scheme of the application obtains individual consent before processing the sensitive personal information, and simultaneously meets the requirement of 'express consent'. For example, at a personal information collection device such as a camera, a clear and significant identifier is set to inform that the personal information collection range is entered, the personal information is collected, and if the person voluntarily enters the collection range, the person is regarded as agreeing to collect the personal information; or on the device for processing the personal information, under the condition of informing the personal information processing rule by using obvious identification/information, obtaining personal authorization in the modes of pop-up window information or asking the person to upload personal information thereof and the like; the personal information processing rule may include information such as a personal information processor, a personal information processing purpose, a processing method, and a type of personal information to be processed.
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 is chosen in order to best explain the principles of the embodiments, the practical application, or improvements made 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. A painting display method is applied to electronic equipment, and the method comprises the following steps:
responding to a real-scene image acquired by the electronic equipment to include a target painting, and displaying a virtual role corresponding to a target user in a target painting area displayed by the electronic equipment, wherein the target painting area represents an area where the target painting is located in the real-scene image displayed by the electronic equipment;
and displaying virtual information corresponding to the target object in response to the fact that the distance between the virtual character and any target object in the target drawing area is smaller than or equal to a preset distance.
2. The method of claim 1, further comprising:
and responding to the movement of the electronic equipment, and controlling the virtual character to move in the target drawing area according to the displacement of the electronic equipment.
3. The method of claim 2,
the displaying of the virtual role corresponding to the target user in the target drawing area displayed by the electronic device includes: displaying a virtual role corresponding to a target user on a preset path in a target drawing area displayed by the electronic equipment;
the controlling the virtual character to move in the target drawing area according to the displacement of the electronic equipment in response to the movement of the electronic equipment comprises: and responding to the movement of the electronic equipment, and controlling the virtual character to move along the preset path according to the displacement of the electronic equipment.
4. The method of claim 3, wherein the controlling the virtual character to move along the preset path according to the displacement of the electronic device in response to the movement of the electronic device comprises:
determining a moving mode corresponding to the virtual role;
and responding to the movement of the electronic equipment, and controlling the virtual character to move along the preset path according to the displacement of the electronic equipment and the movement mode.
5. The method of claim 4, wherein the determining the movement mode corresponding to the virtual character comprises:
and determining a moving mode corresponding to the virtual role according to at least one of the moving speed of the electronic equipment, the role characteristics of the virtual role and the creation background information of the target drawing.
6. The method according to any one of claims 1 to 5, further comprising:
and controlling the virtual character to move along a preset path in response to the triggering of the movement control.
7. The method of any one of claims 1 to 6, wherein the target object comprises at least one of: non-player characters corresponding to characters in the target painting, non-player characters corresponding to animals in the target painting, non-player characters corresponding to plants in the target painting, and non-player characters corresponding to buildings in the target painting.
8. The method of claim 7, wherein the virtual information corresponding to the non-player character comprises an interactive control corresponding to the non-player character;
after the interactive control corresponding to the non-player character is displayed, the method further comprises the following steps: and displaying the interaction information of the non-player character and the virtual character in response to the interaction control being triggered.
9. The method of claim 8, wherein presenting the interaction information of the non-player character with the virtual character comprises:
acquiring progress information of the target user in watching the target painting;
and displaying the interaction information of the non-player character and the virtual character according to the progress information.
10. The method of claim 7, wherein the virtual information corresponding to the non-player character comprises interaction information of the non-player character with the virtual character;
the displaying the virtual information corresponding to the target object in response to the fact that the distance between the virtual character and any target object in the target drawing area is smaller than or equal to a preset distance comprises the following steps: and displaying the interaction information of the non-player character and the virtual character in response to the fact that the distance between the virtual character and the non-player character is smaller than or equal to the preset distance.
11. The method according to any one of claims 1 to 10, wherein the virtual information corresponding to the target object includes introduction information corresponding to the target object.
12. The method according to any one of claims 1 to 11, wherein the presenting of the virtual character corresponding to the target user comprises:
and displaying the virtual role corresponding to the target user according to the creation background information of the target painting, wherein the dressing information of the virtual role is determined according to the creation background information, and the creation background information comprises the age information and/or the location information of the target painting.
13. The method according to claim 12, wherein the displaying the virtual character corresponding to the target user according to the creation background information of the target painting comprises:
and displaying the virtual character according to the creation background information of the target painting and the user information of the target user, wherein the dressing information of the virtual character is determined according to the creation background information and the user information, and the user information at least comprises the gender and/or age of the target user.
14. The method according to any one of claims 1 to 13, wherein the presenting of the virtual role corresponding to the target user comprises:
and displaying the virtual role corresponding to the target user according to the face image of the target user, wherein the image of the face area of the virtual role is determined according to the face image.
15. A painting display device, applied to an electronic device, the device comprising:
the first display module is used for responding to a real-scene image acquired by the electronic equipment and including a target painting, and displaying a virtual role corresponding to a target user in a target painting area displayed by the electronic equipment, wherein the target painting area represents an area where the target painting is located in the real-scene image displayed by the electronic equipment;
and the second display module is used for displaying the virtual information corresponding to the target object in response to the fact that the distance between the virtual character and any target object in the target drawing area is smaller than or equal to a preset distance.
16. 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 14.
17. 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 14.
18. A computer program product comprising computer readable code or a non-transitory computer readable storage medium carrying computer readable code which, when run in an electronic device, causes a processor in the electronic device to perform the method of any of claims 1 to 14.
CN202210141789.7A 2022-02-16 2022-02-16 Painting exhibition method, device, electronic equipment, storage medium and program product Pending CN114549797A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202210141789.7A CN114549797A (en) 2022-02-16 2022-02-16 Painting exhibition method, device, electronic equipment, storage medium and program product
PCT/CN2022/128247 WO2023155477A1 (en) 2022-02-16 2022-10-28 Painting display method and apparatus, electronic device, storage medium, and program product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210141789.7A CN114549797A (en) 2022-02-16 2022-02-16 Painting exhibition method, device, electronic equipment, storage medium and program product

Publications (1)

Publication Number Publication Date
CN114549797A true CN114549797A (en) 2022-05-27

Family

ID=81675103

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210141789.7A Pending CN114549797A (en) 2022-02-16 2022-02-16 Painting exhibition method, device, electronic equipment, storage medium and program product

Country Status (2)

Country Link
CN (1) CN114549797A (en)
WO (1) WO2023155477A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023155477A1 (en) * 2022-02-16 2023-08-24 上海商汤智能科技有限公司 Painting display method and apparatus, electronic device, storage medium, and program product

Family Cites Families (5)

* 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
CN111627117B (en) * 2020-06-01 2024-04-16 上海商汤智能科技有限公司 Image display special effect adjusting method and device, electronic equipment and storage medium
US20220044480A1 (en) * 2020-08-06 2022-02-10 At&T Intellectual Property I, L.P. System for three dimensional extension with multiscreen extended reality
CN112991553B (en) * 2021-03-11 2022-08-26 深圳市慧鲤科技有限公司 Information display method and device, electronic equipment and storage medium
CN114549797A (en) * 2022-02-16 2022-05-27 深圳市商汤科技有限公司 Painting exhibition method, device, electronic equipment, storage medium and program product

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023155477A1 (en) * 2022-02-16 2023-08-24 上海商汤智能科技有限公司 Painting display method and apparatus, electronic device, storage medium, and program product

Also Published As

Publication number Publication date
WO2023155477A1 (en) 2023-08-24

Similar Documents

Publication Publication Date Title
CN110662083B (en) Data processing method and device, electronic equipment and storage medium
US20190221041A1 (en) Method and apparatus for synthesizing virtual and real objects
CN107948708B (en) Bullet screen display method and device
CN105450736B (en) Method and device for connecting with virtual reality
CN110928627B (en) Interface display method and device, electronic equipment and storage medium
CN108260020B (en) Method and device for displaying interactive information in panoramic video
CN112991553B (en) Information display method and device, electronic equipment and storage medium
CN112153400A (en) Live broadcast interaction method and device, electronic equipment and storage medium
CN109862380B (en) Video data processing method, device and server, electronic equipment and storage medium
CN111626183A (en) Target object display method and device, electronic equipment and storage medium
CN113194254A (en) Image shooting method and device, electronic equipment and storage medium
CN108346179B (en) AR equipment display method and device
CN106774849B (en) Virtual reality equipment control method and device
WO2022151686A1 (en) Scene image display method and apparatus, device, storage medium, program and product
CN112783316A (en) Augmented reality-based control method and apparatus, electronic device, and storage medium
CN114581525A (en) Attitude determination method and apparatus, electronic device, and storage medium
WO2023155477A1 (en) Painting display method and apparatus, electronic device, storage medium, and program product
CN113989469A (en) AR (augmented reality) scenery spot display method and device, electronic equipment and storage medium
CN111078346B (en) Target object display method and device, electronic equipment and storage medium
CN114266305A (en) Object identification method and device, electronic equipment and storage medium
CN114387622A (en) Animal weight recognition method and device, electronic equipment and storage medium
CN114222173A (en) Object display method and device, electronic equipment and storage medium
CN113989424A (en) Three-dimensional virtual image generation method and device and electronic equipment
CN113961133A (en) Display control method and device for electronic equipment, electronic equipment and storage medium
CN113611152A (en) Parking lot navigation method and device, electronic equipment and 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: 40068071

Country of ref document: HK