CN111667590B - Interactive group photo method and device, electronic equipment and storage medium - Google Patents

Interactive group photo method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN111667590B
CN111667590B CN202010538304.9A CN202010538304A CN111667590B CN 111667590 B CN111667590 B CN 111667590B CN 202010538304 A CN202010538304 A CN 202010538304A CN 111667590 B CN111667590 B CN 111667590B
Authority
CN
China
Prior art keywords
target virtual
scene
target
virtual object
user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010538304.9A
Other languages
Chinese (zh)
Other versions
CN111667590A (en
Inventor
王子彬
孙红亮
李炳泽
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Sensetime Intelligent Technology Co Ltd
Original Assignee
Shanghai Sensetime Intelligent 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 Shanghai Sensetime Intelligent Technology Co Ltd filed Critical Shanghai Sensetime Intelligent Technology Co Ltd
Priority to CN202010538304.9A priority Critical patent/CN111667590B/en
Publication of CN111667590A publication Critical patent/CN111667590A/en
Application granted granted Critical
Publication of CN111667590B publication Critical patent/CN111667590B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T19/00Manipulating 3D models or images for computer graphics
    • G06T19/006Mixed reality
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/60Editing figures and text; Combining figures or text
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/20Movements or behaviour, e.g. gesture recognition

Abstract

The disclosure provides an interactive group photo method, an interactive group photo device, electronic equipment and a storage medium, wherein the method comprises the following steps: acquiring a user image of a target user in a real scene in real time, and generating an AR scene picture based on the user image and a target virtual scene; the AR scene picture displays a target virtual scene and the target user blended into the target virtual scene; displaying a target virtual object with a dynamically changed pose in the target virtual scene; and detecting pose information of the target virtual object in the AR scene picture in real time, and generating a group photo of the target user and the target virtual object in the target virtual scene when the pose information accords with a preset condition. According to the method and the device, the group photo between the target user and the target virtual object can be automatically generated based on the pose detection result, the close-range group photo of the human and the animal is realized, the user does not need to manually photograph, and the visiting experience is improved.

Description

Interactive group photo method and device, electronic equipment and storage medium
Technical Field
The disclosure relates to the technical field of augmented reality, in particular to an interactive group photo method, an interactive group photo device, electronic equipment and a storage medium.
Background
Along with the modernization of cities and the improvement of social and economic culture levels, amusement places such as amusement parks, zoos, parks and the like are more and more favored by people. In order to meet the entertainment needs of various users, various sightseeing items are generally involved in these amusement parks.
Taking zoo visits as an example, people always expect to have a group of photo-taking ideas with animals. However, in order to better protect visitors and animals themselves, most of the current animals are kept in cages, which makes close-up imaging a less realistic matter, and usually taking pictures of the visitors from self-timer or together, which is inconvenient for the visitors.
Disclosure of Invention
The embodiment of the disclosure provides at least one interactive group photo scheme, which can automatically generate group photos between a target user and a target virtual object based on pose detection results, so that close-range group photos of people and animals are realized, manual photographing of the user is not needed, and visiting experience is improved.
Mainly comprises the following aspects:
in a first aspect, an embodiment of the present disclosure provides an interactive group photo method, where the method includes:
acquiring a user image of a target user in a real scene in real time;
generating an AR scene picture based on the user image and a target virtual scene; the AR scene picture displays a target virtual scene and the target user blended into the target virtual scene; displaying a target virtual object with a dynamically changed pose in the target virtual scene;
and detecting pose information of the target virtual object in the AR scene picture in real time, and generating a group photo of the target user and the target virtual object in the target virtual scene when the pose information accords with a preset condition.
In one embodiment, when the pose information meets a preset condition, generating a group photo of the target user and the target virtual object in the target virtual scene includes:
and generating the group photo when the included angle between the direction of the target virtual object and the outward direction perpendicular to the AR scene picture is smaller than a set angle threshold value.
In one embodiment, when the pose information meets a preset condition, generating a group photo of the target user and the target virtual object in the target virtual scene includes:
and when the relative pose between the target virtual object and the target user in the AR scene picture accords with a preset condition, generating a group photo of the target user and the target virtual object in the target virtual scene.
In one embodiment, the relative pose meeting the preset condition includes that a relative distance between the target virtual object and the target user in the AR scene is smaller than a set distance, and a preset matching pose is put between the target virtual object and the target user in the AR scene.
In one embodiment, generating a group photo of the target user and the target virtual object in the target virtual scene includes:
and intercepting the image of the AR scene picture, and storing the image for extraction by the target user.
In one embodiment, after capturing and saving the image of the AR scene, the method further comprises:
and generating a corresponding two-dimensional code based on the download address corresponding to the AR scene picture, and displaying the two-dimensional code to a user, so that the target user can acquire the group photo by scanning the two-dimensional code by using terminal equipment.
In one embodiment, the method further comprises:
pre-generating and storing virtual animation data corresponding to the target virtual scene so as to display the corresponding target virtual scene based on the virtual animation data;
the virtual animation data comprises a target virtual object with an animation effect, and the animation effect of the target virtual object is periodically played in a displayed target virtual scene.
In a second aspect, an embodiment of the present disclosure further provides an interactive group photo device, where the device includes:
the acquisition module is used for acquiring a user image of a target user in a real scene in real time;
the generation module is used for generating an AR scene picture based on the user image and the target virtual scene; the AR scene picture displays a target virtual scene and the target user blended into the target virtual scene; displaying a target virtual object with a dynamically changed pose in the target virtual scene;
the detection module is used for detecting the pose information of the target virtual object in the AR scene picture in real time, and generating a group photo of the target user and the target virtual object in the target virtual scene when the pose information accords with a preset condition.
In a third aspect, an embodiment of the present disclosure further provides an electronic device, including: a processor, a memory and a bus, the memory storing machine-readable instructions executable by the processor, the processor and the memory in communication via the bus when the electronic device is running, the machine-readable instructions when executed by the processor performing the steps of the interactive group photo method of the first aspect and any of its various embodiments.
In a fourth aspect, the presently disclosed embodiments also provide a computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the interactive group photo method of the first aspect and any of its various embodiments.
By adopting the interactive group photo scheme, firstly, a user image of a target user in a real scene can be acquired in real time, an AR scene picture can be generated based on the user image and the target virtual scene, the AR scene picture is provided with a target virtual scene comprising a target virtual object and a target user blended into the target virtual scene, the pose information of the target virtual object in the AR scene picture can be detected in real time, and when the pose information accords with a preset condition, a group photo of the target user and the target virtual object in the target virtual scene is generated. That is, when the pose of the target virtual object in the AR scene is determined to meet the preset condition, for example, the target virtual object, i.e., polar bear, is considered to reach the preset condition when the target virtual object is detected from the water, then, the group photo of the target user and the target virtual object can be automatically triggered, that is, the group photo between the target user and the target virtual object can be automatically generated based on the pose detection result, so that the close-range group photo of the person and the animal is realized, and the user does not need to take a picture manually, thereby improving the visiting experience.
The foregoing objects, features and advantages of the disclosure will be more readily apparent from the following detailed description of the preferred embodiments taken in conjunction with the accompanying drawings.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure, the drawings required for the embodiments are briefly described below, which are incorporated in and constitute a part of the specification, these drawings showing embodiments consistent with the present disclosure and together with the description serve to illustrate the technical solutions of the present disclosure. It is to be understood that the following drawings illustrate only certain embodiments of the present disclosure and are therefore not to be considered limiting of its scope, for the person of ordinary skill in the art may admit to other equally relevant drawings without inventive effort.
FIG. 1 is a flow chart of an interactive group photo method according to an embodiment of the disclosure;
fig. 2 shows an application diagram of an interactive group photo method according to an embodiment of the disclosure
Fig. 3 is a schematic diagram of an interactive group photo device according to a second embodiment of the disclosure;
fig. 4 shows a schematic diagram of an electronic device according to a third embodiment of the disclosure.
Detailed Description
For the purposes of making the objects, technical solutions and advantages of the embodiments of the present disclosure more apparent, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the drawings in the embodiments of the present disclosure, and it is apparent that the described embodiments are only some embodiments of the present disclosure, but not all embodiments. The components of the embodiments of the present disclosure, which are generally described and illustrated in the figures herein, may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present disclosure provided in the accompanying drawings is not intended to limit the scope of the disclosure, as claimed, but is merely representative of selected embodiments of the disclosure. All other embodiments, which can be made by those skilled in the art based on the embodiments of this disclosure without making any inventive effort, are intended to be within the scope of this disclosure.
It has been found that when visiting zoos, people always expect to have a group photo reserve with the animals. However, in order to better protect visitors and animals themselves, most of the current animals are kept in cages, which makes close-up imaging a less realistic matter, and usually taking pictures of the visitors from self-timer or together, which is inconvenient for the visitors.
Based on the above study, the present disclosure provides at least one interactive group photo scheme, based on the pose detection result, a group photo between a target user and a target virtual object can be automatically generated, close-range group photo of people and animals is realized, and users do not need to manually photograph, so that visiting experience is improved.
The present invention is directed to a method for manufacturing a semiconductor device, and a semiconductor device manufactured by the method.
It should be noted that: like reference numerals and letters denote like items in the following figures, and thus once an item is defined in one figure, no further definition or explanation thereof is necessary in the following figures.
For the convenience of understanding the present embodiment, first, a detailed description will be given of an interactive group photo method disclosed in the embodiments of the present disclosure, and an execution subject of the interactive group photo method provided in the embodiments of the present disclosure is generally an electronic device with a certain computing capability, where the electronic device includes, for example: a terminal device or server or other processing device, which may be a User Equipment (UE), a mobile device, a User terminal, a cellular phone, a cordless phone, a personal digital assistant (Personal Digital Assistant, PDA), a handheld device, a computing device, an in-vehicle device, a wearable device, etc., which may be an augmented reality (Augmented Reality, AR) device, e.g., AR glasses, AR helmets, etc. In some possible implementations, the interactive group photo method may be implemented by a processor invoking computer readable instructions stored in a memory.
The interactive group photo method provided in the embodiments of the present disclosure is described below by taking an execution subject as a server.
Example 1
Referring to fig. 1, a flowchart of an interactive group photo method according to an embodiment of the disclosure is shown, where the method includes steps S101 to S103, in which:
s101, acquiring a user image of a target user in a real scene in real time;
s102, generating an AR scene picture based on a user image and a target virtual scene; the AR scene picture displays a target virtual scene and a target user blended into the target virtual scene; displaying a target virtual object with a dynamically changed pose in a target virtual scene;
s103, detecting pose information of the target virtual object in the AR scene picture in real time, and generating a group photo of the target user and the target virtual object in the target virtual scene when the pose information meets preset conditions.
Here, in order to facilitate understanding of the interactive group photo method provided by the embodiments of the present disclosure, the interactive group photo method will be described in detail first. The interactive group photo method in the embodiment of the disclosure can be applied to any activity scene where a real user interacts with a virtual object. Therefore, under the condition that the user enters the activity scene deployed in the interaction group photo method, the group photo with the target virtual object can be provided for the user, the close-range group photo between the real character and the virtual object is realized, the user does not need to manually photograph, and the visiting experience is improved.
It should be noted that, the target virtual object in the embodiment of the present disclosure may be constructed based on any real object model, for example, may be various virtual animals such as polar bear, penguin, elephant, and the like, and may also be various virtual objects such as roller coasters, carousel horses, and the like, which are not limited in particular. The following will specifically describe a virtual animal, polar bear. In addition, the target virtual scene in the implementation of the present disclosure may be specifically set in combination with different application scenes, for example, may be an application scene in which polar bear plays in the sea.
In order to generate a group photo of a target user and a target virtual object, the embodiments of the present disclosure provide an interactive group photo method that first needs to determine pose information of the target virtual object in an AR scene. Thus, the generation of the group photo can be triggered when the pose information of the target virtual object accords with the preset condition.
Wherein, the pose information about the target virtual object may be determined based on the real-time detection result of the AR scene picture. In the embodiment of the present disclosure, the AR scene may be a scene including a target user and a target virtual object, where the target user in the scene may be any user incorporated into the target virtual scene where the target virtual object is located, so that after determining that pose information of the target virtual object meets a preset condition based on the AR scene, generation of a group photo may be automatically controlled based on the pose information.
The related AR scene images may be generated by fusion based on the acquired user image of the target user in the real scene and the target virtual scene displaying the target virtual object with the dynamically changed pose. In the specific process of generating the AR scene picture, the target user in the acquired user image can be fused into a specific position in the target virtual scene, and then the AR scene picture can be obtained by combining the splicing operation of the target user at the specific position and other target virtual scenes.
The determination of whether the pose information meets the preset condition in the embodiment of the present disclosure may be determined based on the pose of the target virtual object, or may be determined in combination with the pose of the target user, and may be specifically described in the following two aspects.
First aspect: in the embodiment of the present disclosure, when an included angle between the direction of the target virtual object and the direction perpendicular to the outward direction of the AR scene picture is smaller than a set angle threshold, a group photo may be generated.
Where the target virtual animal is the target virtual object, the relative orientation may refer to the direction in which the animal's head is located. Here, taking the target virtual scene of polar bear playing in the sea as an example, the generation of the group photo may be automatically triggered when the polar bear detects the head.
In a second aspect, in the embodiment of the present disclosure, when a relative pose between a target virtual object and a target user in an AR scene screen meets a preset condition, generation of a group photo may be automatically triggered.
The above-mentioned relative pose may describe a situation of matching a pose between the target virtual object and the target user, where the relative distance between the target virtual object and the target user in the AR scene is smaller than a set distance, and a preset matching pose is set between the target virtual object and the target user in the AR scene.
Here, taking the example of the target virtual scene that the polar bear plays in the sea, the group photo in the application scene between the target user and the polar Xiong Zaishang may be generated when the polar bear protrudes and descends, and the target user makes a stroking gesture, that is, when the user and the polar bear make a preset matching gesture. As shown in fig. 2.
In the embodiments of the present disclosure, a group photo may be generated by capturing an image of an AR scene picture. In order to facilitate further enhancing the viewing experience, an embodiment of the present disclosure may save the captured image to meet the user's need to extract a photograph.
In specific application, the code scanning method can meet the requirement of a user for extracting photos. Here, the corresponding two-dimensional code may be generated based on the download address corresponding to the AR scene image and presented to the user, so that after the target user scans the two-dimensional code using the terminal device, the target user may jump to the corresponding download address to download the group photo.
It should be noted that, in order to ensure that the photo privacy of the user is not revealed, before the photo is downloaded, identity verification can be performed, that is, the talents with legal identities can be downloaded to the photo group matched with the identity of the talents, so that the security of the photo downloading is ensured on the premise of meeting the requirement of interactive photo group.
The target virtual scene in the embodiment of the disclosure can be a dynamic scene or a static scene. When the static scene is used as the target virtual scene, the target virtual object in the target virtual scene can be periodically controlled to display the corresponding pose dynamic change. When the dynamic scene is used, the dynamic change of the pose corresponding to the target virtual object display can be fused in the animation special effect, namely, virtual animation data corresponding to the target virtual scene can be generated and stored in advance, wherein the virtual animation data comprise the target virtual object with the animation special effect, so that in the displayed target virtual scene, the animation effect of the target virtual object can be played periodically, and here, the animation effect from the probe to the low head in the sea can be repeatedly executed for the polar bear by taking the playing of the polar bear at sea as an example.
Regardless of whether a static scene or a dynamic scene is adopted as a target virtual scene, the interactive group photo method provided by the embodiment of the disclosure can generate a corresponding AR scene picture based on seamless connection between a target user in a real scene and the target virtual scene including a target virtual object. At this time, the dynamic AR scene picture can be real-time realized by using the display screen arranged in front of the target user, so that the AR immersion experience of the user is improved.
It will be appreciated by those skilled in the art that in the above-described method of the specific embodiments, the written order of steps is not meant to imply a strict order of execution but rather should be construed according to the function and possibly inherent logic of the steps.
Based on the same inventive concept, the embodiment of the disclosure further provides an interactive group photo device corresponding to the interactive group photo method, and since the principle of solving the problem by the device in the embodiment of the disclosure is similar to that of the interactive group photo method in the embodiment of the disclosure, the implementation of the device can be referred to the implementation of the method, and the repetition is omitted.
Example two
Referring to fig. 3, a schematic architecture diagram of an interactive group photo device according to an embodiment of the disclosure is shown, where the device includes: an acquisition module 301, a generation module 302 and a detection module 303; wherein,
an acquiring module 301, configured to acquire a user image of a target user in a real scene in real time;
a generating module 302, configured to generate an AR scene picture based on the user image and the target virtual scene; the AR scene picture displays a target virtual scene and a target user blended into the target virtual scene; displaying a target virtual object with a dynamically changed pose in a target virtual scene;
the detection module 303 is configured to detect pose information of a target virtual object in an AR scene in real time, and generate a group photo of a target user and the target virtual object in the target virtual scene when the pose information meets a preset condition.
By adopting the interactive group photo device, when the pose of the target virtual object in the AR scene picture is determined to meet the preset condition, for example, the target virtual object, namely the polar bear, is considered to reach the preset condition when the target virtual object is detected from the water, then the group photo of the target user and the target virtual object can be automatically triggered, namely, the group photo between the target user and the target virtual object can be automatically generated based on the pose detection result, the close-range group photo of the person and the animal is realized, the user does not need to take a picture manually, and the visiting experience is improved.
In one embodiment, the detection module 303 is configured to generate a group photo of the target user and the target virtual object in the target virtual scene according to the following steps:
and generating a group photo when the included angle between the direction of the target virtual object and the outward direction of the vertical AR scene picture is smaller than a set angle threshold value.
In one embodiment, the detection module 303 is configured to generate a group photo of the target user and the target virtual object in the target virtual scene according to the following steps:
and when the relative pose between the target virtual object and the target user in the AR scene picture accords with a preset condition, generating a group photo of the target user and the target virtual object in the target virtual scene.
In one embodiment, the relative pose meeting the preset condition includes that a relative distance between the target virtual object and the target user in the AR scene is smaller than a set distance, and a preset matching pose is set between the target virtual object and the target user in the AR scene.
In one embodiment, the detection module 303 is configured to generate a group photo of the target user and the target virtual object in the target virtual scene according to the following steps:
and intercepting the image of the AR scene picture, and storing the image for extraction by a target user.
In one embodiment, the apparatus further comprises:
the scanning module 304 is configured to intercept an image of the AR scene, store the image, and then generate a corresponding two-dimensional code based on a download address corresponding to the AR scene, and present the two-dimensional code to the user, so that the target user uses the terminal device to obtain a group photo by scanning the two-dimensional code.
In one embodiment, the generating module 302 is configured to present the target virtual scene according to the following steps:
pre-generating and storing virtual animation data corresponding to a target virtual scene so as to display the corresponding target virtual scene based on the virtual animation data;
the virtual animation data comprises a target virtual object with an animation effect, and the animation effect of the target virtual object is periodically played in the displayed target virtual scene.
The process flow of each module in the apparatus and the interaction flow between the modules may be described with reference to the related descriptions in the above method embodiments, which are not described in detail herein.
Example III
The embodiment of the disclosure further provides an electronic device, as shown in fig. 4, which is a schematic structural diagram of the electronic device provided in the embodiment of the disclosure, including: a processor 401, a memory 402, and a bus 403. The memory 402 stores machine-readable instructions executable by the processor 401, which when executed by the processor 401, perform the following processes when the electronic device is in operation, the processor 401 communicates with the memory 402 via the bus 403:
acquiring a user image of a target user in a real scene in real time;
generating an AR scene picture based on the user image and the target virtual scene; the AR scene picture displays a target virtual scene and a target user blended into the target virtual scene; displaying a target virtual object with a dynamically changed pose in a target virtual scene;
and detecting pose information of the target virtual object in the AR scene picture in real time, and generating a group photo of the target user and the target virtual object in the target virtual scene when the pose information accords with a preset condition.
In one embodiment, in the instruction executed by the processor 401, when the pose information meets a preset condition, generating a group photo of the target user and the target virtual object in the target virtual scene includes:
and generating a group photo when the included angle between the direction of the target virtual object and the outward direction of the vertical AR scene picture is smaller than a set angle threshold value.
In one embodiment, in the instruction executed by the processor 401, when the pose information meets a preset condition, generating a group photo of the target user and the target virtual object in the target virtual scene includes:
and when the relative pose between the target virtual object and the target user in the AR scene picture accords with a preset condition, generating a group photo of the target user and the target virtual object in the target virtual scene.
In one embodiment, the relative pose meeting the preset condition includes that a relative distance between the target virtual object and the target user in the AR scene is smaller than a set distance, and a preset matching pose is set between the target virtual object and the target user in the AR scene.
In one embodiment, in the instructions executed by the processor 401, generating a group photo of the target user and the target virtual object in the target virtual scene includes:
and intercepting the image of the AR scene picture, and storing the image for extraction by a target user.
In one embodiment, after capturing and saving the image of the AR scene, the instructions executed by the processor 401 further include:
based on the download address corresponding to the AR scene picture, a corresponding two-dimensional code is generated and presented to the user, so that the target user can acquire the group photo by scanning the two-dimensional code by using the terminal equipment.
In one embodiment, the instructions executed by the processor 401 further include:
pre-generating and storing virtual animation data corresponding to a target virtual scene so as to display the corresponding target virtual scene based on the virtual animation data;
the virtual animation data comprises a target virtual object with an animation effect, and the animation effect of the target virtual object is periodically played in the displayed target virtual scene.
The disclosed embodiments also provide a computer readable storage medium having stored thereon a computer program which, when executed by the processor 401, performs the steps of the interactive group photo method in the method embodiments described above. Wherein the storage medium may be a volatile or nonvolatile computer readable storage medium.
The computer program product of the interactive group photo method provided in the embodiments of the present disclosure includes a computer readable storage medium storing program codes, and the instructions included in the program codes may be used to execute the steps of the interactive group photo method in the embodiments of the method, and specifically, the embodiments of the method may be referred to, and will not be described herein.
The disclosed embodiments also provide a computer program which, when executed by a processor, implements any of the methods of the previous embodiments. The computer program product may be realized in particular by means of hardware, software or a combination thereof. In an alternative embodiment, the computer program product is embodied as a computer storage medium, and in another alternative embodiment, the computer program product is embodied as a software product, such as a software development kit (Software Development Kit, SDK), or the like.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described system and apparatus may refer to corresponding procedures in the foregoing method embodiments, which are not described herein again. In the several embodiments provided in the present disclosure, it should be understood that the disclosed systems, devices, and methods may be implemented in other manners. The above-described apparatus embodiments are merely illustrative, for example, the division of the units is merely a logical function division, and there may be other manners of division in actual implementation, and for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be through some communication interface, device or unit indirect coupling or communication connection, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present disclosure may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a non-volatile computer readable storage medium executable by a processor. Based on such understanding, the technical solution of the present disclosure may be embodied in essence or a part contributing to the prior art or a part of the technical solution, or in the form of a software product stored in a storage medium, including several instructions for causing an electronic device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in the embodiments of the present disclosure. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
Finally, it should be noted that: the foregoing examples are merely specific embodiments of the present disclosure, and are not intended to limit the scope of the disclosure, but the present disclosure is not limited thereto, and those skilled in the art will appreciate that while the foregoing examples are described in detail, it is not limited to the disclosure: any person skilled in the art, within the technical scope of the disclosure of the present disclosure, may modify or easily conceive changes to the technical solutions described in the foregoing embodiments, or make equivalent substitutions for some of the technical features thereof; such modifications, changes or substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the disclosure, and are intended to be included within the scope of the present disclosure. Therefore, the protection scope of the present disclosure shall be subject to the protection scope of the claims.

Claims (8)

1. An interactive group photo method, comprising:
acquiring a user image of a target user in a real scene in real time;
generating an AR scene picture based on the user image and a target virtual scene; the AR scene picture displays a target virtual scene and the target user blended into the target virtual scene; displaying a target virtual object with a dynamically changed pose in the target virtual scene;
detecting pose information of the target virtual object in the AR scene picture in real time, and generating a group photo of the target user and the target virtual object in the target virtual scene when the pose information accords with a preset condition; when the pose information accords with a preset condition, generating a group photo of the target user and the target virtual object in the target virtual scene comprises the following steps:
generating a group photo of the target user and the target virtual object in the target virtual scene when the relative pose between the target virtual object and the target user in an AR scene picture accords with a preset condition; the relative pose meeting the preset condition comprises that the relative distance between the target virtual object and the target user in the AR scene picture is smaller than a set distance, and the target virtual object and the target user in the AR scene picture put out a preset matching pose.
2. The method according to claim 1, wherein generating a group photo of the target user and the target virtual object in the target virtual scene when the pose information meets a preset condition comprises:
and generating the group photo when the included angle between the direction of the target virtual object and the outward direction perpendicular to the AR scene picture is smaller than a set angle threshold value.
3. The method of claim 1, wherein generating a photo album of the target user and the target virtual object in the target virtual scene comprises:
and intercepting the image of the AR scene picture, and storing the image for extraction by the target user.
4. The method of claim 3, wherein after capturing and saving the image of the AR scene picture, further comprising:
and generating a corresponding two-dimensional code based on the download address corresponding to the AR scene picture, and displaying the two-dimensional code to a user, so that the target user can acquire the group photo by scanning the two-dimensional code by using terminal equipment.
5. The method according to any one of claims 1-4, further comprising:
pre-generating and storing virtual animation data corresponding to the target virtual scene so as to display the corresponding target virtual scene based on the virtual animation data;
the virtual animation data comprises a target virtual object with an animation effect, and the animation effect of the target virtual object is periodically played in a displayed target virtual scene.
6. An interactive group photo device, the device comprising:
the acquisition module is used for acquiring a user image of a target user in a real scene in real time;
the generation module is used for generating an AR scene picture based on the user image and the target virtual scene; the AR scene picture displays a target virtual scene and the target user blended into the target virtual scene; displaying a target virtual object with a dynamically changed pose in the target virtual scene;
the detection module is used for detecting the pose information of the target virtual object in the AR scene picture in real time, and generating a group photo of the target user and the target virtual object in the target virtual scene when the pose information accords with a preset condition; the detection module is used for generating a group photo of the target user and the target virtual object in the target virtual scene when the pose information accords with a preset condition:
generating a group photo of the target user and the target virtual object in the target virtual scene when the relative pose between the target virtual object and the target user in an AR scene picture accords with a preset condition; the relative pose meeting the preset condition comprises that the relative distance between the target virtual object and the target user in the AR scene picture is smaller than a set distance, and the target virtual object and the target user in the AR scene picture put out a preset matching pose.
7. An electronic device, comprising: a processor, a memory and a bus, the memory storing machine-readable instructions executable by the processor, the processor and the memory in communication via the bus when the electronic device is running, the machine-readable instructions when executed by the processor performing the steps of the interactive group photo method of any one of claims 1 to 5.
8. A computer readable storage medium, characterized in that the computer readable storage medium has stored thereon a computer program which, when executed by a processor, performs the steps of the interactive group photo method according to any of claims 1 to 5.
CN202010538304.9A 2020-06-12 2020-06-12 Interactive group photo method and device, electronic equipment and storage medium Active CN111667590B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010538304.9A CN111667590B (en) 2020-06-12 2020-06-12 Interactive group photo method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010538304.9A CN111667590B (en) 2020-06-12 2020-06-12 Interactive group photo method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111667590A CN111667590A (en) 2020-09-15
CN111667590B true CN111667590B (en) 2024-03-22

Family

ID=72387427

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010538304.9A Active CN111667590B (en) 2020-06-12 2020-06-12 Interactive group photo method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111667590B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112150349A (en) * 2020-09-23 2020-12-29 北京市商汤科技开发有限公司 Image processing method and device, computer equipment and storage medium
CN112906467A (en) * 2021-01-15 2021-06-04 深圳市慧鲤科技有限公司 Group photo image generation method and device, electronic device and storage medium
CN113055602B (en) * 2021-03-31 2023-07-11 广东小天才科技有限公司 Remote group photo method, system, intelligent terminal and storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105912102A (en) * 2016-03-31 2016-08-31 联想(北京)有限公司 Information processing method and electronic equipment
CN106485782A (en) * 2016-09-30 2017-03-08 珠海市魅族科技有限公司 Method and device that a kind of reality scene is shown in virtual scene
WO2019020022A1 (en) * 2017-07-28 2019-01-31 腾讯科技(深圳)有限公司 Information processing method and apparatus, terminal device and computer-readable storage medium
CN110176077A (en) * 2019-05-23 2019-08-27 北京悉见科技有限公司 The method, apparatus and computer storage medium that augmented reality is taken pictures
CN110716645A (en) * 2019-10-15 2020-01-21 北京市商汤科技开发有限公司 Augmented reality data presentation method and device, electronic equipment and storage medium
CN110738737A (en) * 2019-10-15 2020-01-31 北京市商汤科技开发有限公司 AR scene image processing method and device, electronic equipment and storage medium
WO2020056692A1 (en) * 2018-09-20 2020-03-26 太平洋未来科技(深圳)有限公司 Information interaction method and apparatus, and electronic device
CN110928411A (en) * 2019-11-18 2020-03-27 珠海格力电器股份有限公司 AR-based interaction method and device, storage medium and electronic equipment
CN110944109A (en) * 2018-09-21 2020-03-31 华为技术有限公司 Photographing method, device and equipment
WO2020072985A1 (en) * 2018-10-05 2020-04-09 Magic Leap, Inc. Rendering location specific virtual content in any location

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105912102A (en) * 2016-03-31 2016-08-31 联想(北京)有限公司 Information processing method and electronic equipment
CN106485782A (en) * 2016-09-30 2017-03-08 珠海市魅族科技有限公司 Method and device that a kind of reality scene is shown in virtual scene
WO2019020022A1 (en) * 2017-07-28 2019-01-31 腾讯科技(深圳)有限公司 Information processing method and apparatus, terminal device and computer-readable storage medium
WO2020056692A1 (en) * 2018-09-20 2020-03-26 太平洋未来科技(深圳)有限公司 Information interaction method and apparatus, and electronic device
CN110944109A (en) * 2018-09-21 2020-03-31 华为技术有限公司 Photographing method, device and equipment
WO2020072985A1 (en) * 2018-10-05 2020-04-09 Magic Leap, Inc. Rendering location specific virtual content in any location
CN110176077A (en) * 2019-05-23 2019-08-27 北京悉见科技有限公司 The method, apparatus and computer storage medium that augmented reality is taken pictures
CN110716645A (en) * 2019-10-15 2020-01-21 北京市商汤科技开发有限公司 Augmented reality data presentation method and device, electronic equipment and storage medium
CN110738737A (en) * 2019-10-15 2020-01-31 北京市商汤科技开发有限公司 AR scene image processing method and device, electronic equipment and storage medium
CN110928411A (en) * 2019-11-18 2020-03-27 珠海格力电器股份有限公司 AR-based interaction method and device, storage medium and electronic equipment

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
混合现实中的虚实融合与人机智能交融;陈宝权;秦学英;;中国科学:信息科学;20161220(第12期);全文 *
虚实融合的实景视频WebGIS系统;余亦豪;谭冲;周忠;吴威;;系统仿真学报;20180402(第07期);全文 *
虚拟群体与动态视频场景的在线实时融合;张艺江;秦学英;Julien Pettré;彭群生;;计算机辅助设计与图形学学报;20110115(第01期);全文 *

Also Published As

Publication number Publication date
CN111667590A (en) 2020-09-15

Similar Documents

Publication Publication Date Title
CN111667590B (en) Interactive group photo method and device, electronic equipment and storage medium
KR102118000B1 (en) Target target display method and device
CN108965982A (en) Video recording method, device, electronic equipment and readable storage medium storing program for executing
US7966024B2 (en) Virtual skywriting
CN111638796A (en) Virtual object display method and device, computer equipment and storage medium
US20100194782A1 (en) Method and apparatus for creating virtual graffiti in a mobile virtual and augmented reality system
WO2019059992A1 (en) Rendering virtual objects based on location data and image data
CN116601675A (en) Virtual garment fitting
CN115552403B (en) Inviting media overlays for private collections of media content items
KR20160032170A (en) Automated image cropping and sharing
CN105308647A (en) Copy protection from capture devices for photos and videos
CN111639613B (en) Augmented reality AR special effect generation method and device and electronic equipment
CN112308977B (en) Video processing method, video processing device, and storage medium
CN115668888A (en) Featured content collection interface
CN109522503B (en) Tourist attraction virtual message board system based on AR and LBS technology
CN108134945B (en) AR service processing method, AR service processing device and terminal
CN111625100A (en) Method and device for presenting picture content, computer equipment and storage medium
CN116438574A (en) Use of portrait images in augmented reality components
CN112163993A (en) Image processing method, device, equipment and storage medium
CN107203646A (en) A kind of intelligent social sharing method and device
CN111651049B (en) Interaction method, device, computer equipment and storage medium
CN116034577A (en) Contextual application menus
CN112333498A (en) Display control method and device, computer equipment and storage medium
CN111639977A (en) Information pushing method and device, computer equipment and storage medium
WO2023155477A1 (en) Painting display method and apparatus, electronic device, storage medium, and program product

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant