WO2022252509A1 - Data display method and apparatus, device, storage medium, and computer program product - Google Patents
Data display method and apparatus, device, storage medium, and computer program product Download PDFInfo
- Publication number
- WO2022252509A1 WO2022252509A1 PCT/CN2021/132281 CN2021132281W WO2022252509A1 WO 2022252509 A1 WO2022252509 A1 WO 2022252509A1 CN 2021132281 W CN2021132281 W CN 2021132281W WO 2022252509 A1 WO2022252509 A1 WO 2022252509A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- special effect
- physical item
- bottle
- real
- display
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 97
- 238000004590 computer program Methods 0.000 title claims abstract description 26
- 230000000694 effects Effects 0.000 claims abstract description 350
- 230000001960 triggered effect Effects 0.000 claims abstract description 67
- 230000003190 augmentative effect Effects 0.000 claims abstract description 19
- 238000001514 detection method Methods 0.000 claims abstract description 14
- 230000008859 change Effects 0.000 claims description 127
- 238000012545 processing Methods 0.000 claims description 13
- 238000012217 deletion Methods 0.000 claims description 12
- 230000037430 deletion Effects 0.000 claims description 12
- 230000004044 response Effects 0.000 claims description 9
- 238000004891 communication Methods 0.000 claims description 5
- 230000008569 process Effects 0.000 description 29
- 238000005516 engineering process Methods 0.000 description 18
- 238000003672 processing method Methods 0.000 description 15
- 238000010586 diagram Methods 0.000 description 10
- 239000000463 material Substances 0.000 description 8
- 230000004927 fusion Effects 0.000 description 6
- 230000003993 interaction Effects 0.000 description 6
- 230000006870 function Effects 0.000 description 5
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 5
- XEEYBQQBJWHFJM-UHFFFAOYSA-N Iron Chemical compound [Fe] XEEYBQQBJWHFJM-UHFFFAOYSA-N 0.000 description 4
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000009191 jumping Effects 0.000 description 3
- 239000007921 spray Substances 0.000 description 3
- 241001481833 Coryphaena hippurus Species 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 239000011521 glass Substances 0.000 description 2
- 230000010354 integration Effects 0.000 description 2
- 229910052742 iron Inorganic materials 0.000 description 2
- 238000011160 research Methods 0.000 description 2
- 235000013361 beverage Nutrition 0.000 description 1
- 229910010293 ceramic material Inorganic materials 0.000 description 1
- -1 for example Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000007500 overflow downdraw method Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/957—Browsing optimisation, e.g. caching or content distillation
- G06F16/9577—Optimising the visualization of content, e.g. distillation of HTML documents
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/958—Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
- G06F16/972—Access to data in other repository systems, e.g. legacy data or dynamic Web page generation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/011—Arrangements for interaction with the human body, e.g. for user immersion in virtual reality
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T19/00—Manipulating 3D models or images for computer graphics
- G06T19/006—Mixed reality
Definitions
- the present application relates to the technical field of augmented reality, involving but not limited to a data presentation method, device, device, storage medium and computer program product.
- Augmented reality Augmented Reality
- AR augmented reality technology is a relatively new technical content that promotes the integration of real world information and virtual world information content, so that the real environment and Virtual objects are presented in the same screen or space in real time.
- AR devices have become more and more widely used, for example, AR cultural and creative products.
- a single object can be identified, and the virtual content of the single object can be triggered to be displayed, and the virtual content of the object is usually fixed virtual content such as an object introduction of the object. Therefore, the application scenarios of the existing AR technology are relatively single, and cannot meet the increasingly rich demands of users.
- Embodiments of the present application provide at least a data presentation method and device, equipment, storage medium, and computer program product.
- the embodiment of the present application provides a method for displaying data, including: displaying a real scene image including a bottle collected by an augmented reality AR device; In the case of a change, determine the first AR special effect triggered by the bottle body and the changed physical item; and display the first AR special effect on the special effect display interface of the AR device.
- the trigger conditions of AR special effects can be enriched, and users and bottles can also be realized. AR interaction between objects. While increasing the user's interest, it can improve the user's experience of using AR technology, meet the diverse user needs of the user, and can also widely promote the relevant information of the bottle.
- the determining the first AR special effect triggered by the bottle body and the changed physical item includes: determining a change type of the physical item, wherein the change type includes the following At least one of: addition of physical items, deletion of physical items, change of placement status of physical items; determining the first AR special effect triggered by the bottle and the changed physical items according to the type of change.
- the triggering method of the first AR special effect can be divided in more detail. While enriching the triggering methods of AR special effects, it can also provide Users bring a more delicate user experience.
- the determining the first AR special effect triggered by the display of the bottle body and the changed physical item according to the change type includes: determining a target AR special effect that matches the change type ; Determine the fused AR special effect of the target AR special effect and the initial AR special effect as the first AR special effect, and the initial AR special effect is displayed on the special effect display interface before the physical item in the real scene image changes AR special effects.
- the processing method can not only increase the user's interest, but also improve the user's experience of using AR technology, meet the diverse user needs of the user, and can also widely promote the relevant information of the bottle.
- the detecting that the physical item associated with the bottle in the real-scene image changes includes: determining a target identification code associated with the bottle in the real-scene image; When it is detected that the target identification code has changed, it is determined that the physical item associated with the bottle in the real-scene image has changed.
- the association between the bottle body and the target identification code is preset, by determining the change type of the target identification code associated with the bottle body in the real scene image, the The method of determining whether the physical item in the real-scene image has changed can quickly detect the change of the physical item, thereby quickly determining the AR special effect triggered by the bottle body and the physical item after the status change, thereby improving the user experience.
- the detecting that the physical item associated with the bottle body in the real-scene image changes includes: performing image processing on the real-scene image to obtain the bottle in the real-scene image.
- the displaying the real-scene image of the bottle body collected by the augmented reality AR device includes: responding to the loading request of the H5 page, loading and displaying the image on the display interface of the AR device.
- H5 page wherein, the H5 page includes prompt information prompting the user to jump to the special effect display page; in response to a trigger operation on the prompt information in the H5 page, jump to the special effect display page, and in the The real scene image is displayed on the special effect display page.
- the bottle can be displayed without downloading the corresponding client.
- the AR special effect of the body thereby saving the device memory of the AR device, can also simplify the user operation, and improve the user experience of the user using the data display method provided by the embodiment of the present application.
- the determination of the first AR special effect triggered by the bottle body and the changed physical item includes: acquiring user information of the user to which the AR device belongs; wherein the user information Including at least one of the following: basic attributes of the user, the device type of the AR device, the number of times the user visits the special effect display page, and the historical AR special effects pushed for the user; determine at least one second AR device that matches the user information AR special effects: in the at least one second AR special effects, determine the first AR special effects triggered by the display of the bottle body and the changed physical item.
- the determining at least one second AR special effect matching the user information includes: if the user information contains the historical AR special effect, in the historical AR special effect, Determining the latest target historical AR special effect pushed for the user in the special effects; determining the at least one second AR special effect among the multiple preset AR special effects except the target historical AR special effect.
- the determining the first AR special effect triggered by the bottle body and the changed physical item includes: determining the item type of the changed physical item, wherein the item type includes : a three-dimensional object and/or a two-dimensional plane object; determining the first AR special effect triggered by the bottle body and the changed physical item according to the item type.
- the method of triggering the display of the first AR special effect triggered by the bottle and the changed physical object is determined according to the item type of the physical object, which can enrich the triggering methods of the AR special effect of the bottle and improve user experience.
- the determination of the first AR special effect triggered by the bottle body and the changed physical item includes: when a change in the state of the bottle body in the real scene image is detected , to determine the changed bottle state and the first AR special effect triggered by the changed physical item.
- the above-mentioned processing method through the above-mentioned processing method, it is possible to trigger and display different AR special effects based on the change of the state of the bottle itself.
- the user's experience of using AR technology can be improved while increasing the interest of the user. It can meet the diversified user needs of users, and can also widely promote the relevant information of the bottle body.
- the method is applied to a client application platform, and the client application platform is a Web application platform or an applet application platform.
- the AR special effect is displayed through the applet or the wed terminal, and the download process of the corresponding application program APP can be omitted, thereby simplifying the display process of the AR special effect.
- the embodiment of the present application also provides a data display device, including: a first display unit configured to display a real scene image containing a bottle collected by an augmented reality AR device; a determination unit configured to detect the When the physical item associated with the bottle in the real scene image changes, determine the first AR special effect triggered by the bottle and the changed physical item; the second display unit is configured to be displayed on the AR device The first AR special effect is displayed on the special effect display interface.
- the embodiment of the present application also provides a computer device, including: a processor, a memory, and a bus, the memory stores machine-readable instructions executable by the processor, and when the computer device is running, the processing
- the processor communicates with the memory through a bus, and when the machine-readable instructions are executed by the processor, the above-mentioned first aspect, or the steps in any possible implementation manner of the first aspect are executed.
- the embodiment of the present application also provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the above-mentioned first aspect, or any one of the first aspects in the first aspect, is executed. Steps in one possible implementation.
- an embodiment of the present application provides a computer program product
- the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and when the computer program is read and executed by a computer, the implementation of the present application can be realized. Some or all steps of the method described in the example.
- the computer program product may be a software installation package.
- FIG. 1 is a flow chart of a data presentation method provided by an embodiment of the present application
- Fig. 2 is a schematic diagram of the effect of a special effect display page provided by the embodiment of the present application.
- FIG. 3 is a schematic diagram of the effect of the second special effect display page provided by the embodiment of the present application.
- FIG. 4 is a schematic diagram of the effect of the third special effect display page provided by the embodiment of the present application.
- FIG. 5 is a schematic diagram of a data display device provided by an embodiment of the present application.
- FIG. 6 is a schematic structural diagram of a computer device provided by an embodiment of the present application.
- AR augmented reality technology is a relatively new technical content that promotes the integration of real world information and virtual world information content, so that the real environment and virtual objects are presented in the same picture or space in real time.
- AR devices have become more and more widely used, for example, AR cultural and creative products.
- a single object can be identified, and the virtual content of the single object can be triggered to be displayed, and the virtual content of the object is usually fixed virtual content such as an object introduction of the object. Therefore, the application scenarios of the existing AR technology are relatively single, and cannot meet the increasingly rich demands of users.
- an embodiment of the present application provides a data presentation method.
- the embodiment of the present application when it is detected that the physical item associated with the bottle in the real scene image has changed, it can be determined that the first AR special effect triggered by the bottle and the changed physical item is displayed, and the special effect The first AR special effect is displayed on the display page.
- the trigger conditions of AR special effects can be enriched, and users and bottles can also be realized. AR interaction between objects. While increasing the user's interest, it can improve the user's experience of using AR technology, meet the diverse user needs of the user, and can also widely promote the relevant information of the bottle.
- the data display method provided in the embodiment of the present application is generally executed by a computer device with certain computing capabilities.
- the data presentation method may be implemented by a processor invoking computer-readable instructions stored in a memory.
- Fig. 1 is a flow chart of a data display method provided by the embodiment of the present application, the method is applied to a client application platform, and the client application platform can be a small program application platform or a Web application platform, or can also be an independent application.
- the display of the bottle body and the item combination corresponding to the physical item associated with the bottle body is triggered.
- AR special effects can realize the display of AR special effects without installing the corresponding application APP.
- open a small program application platform on a social platform and then take real-scene images in the small program, and display AR special effects; or open a web-side application platform in a browser, and then take real-scene images on the web side, and display AR special effects. Therefore, the technical solution of the embodiment of the present application displays the AR special effects through the applet or the wed terminal, and can omit the download process of the corresponding application program APP, thereby simplifying the display process of the AR special effects.
- the data presentation method in FIG. 1 includes steps S101-S105, wherein:
- steps S101 to S105 may be performed by a computer device.
- the computer device for displaying the real-scene image and the AR device for capturing the real-scene image may be the same device, or may be different devices.
- the AR device may be an AR wearable device, an AR handheld device, and other terminal devices supporting AR technology.
- an AR handheld device may collect the real-scene image, and display the real-scene image on the AR device.
- the AR handheld device (for example, an AR smart terminal) can collect the real scene image; then, the AR handheld device can send the real scene image to the AR wearable device based on the communication connection with the AR wearable device. displayed on the device.
- the bottle body may be a container for carrying water or containing water
- the material of the bottle body may be any type of material, for example, plastic material, glass material, iron material, ceramic material and the like.
- the bottle body can be a beverage bottle, any type of iron (or glass material, or plastic material) storage bottle body.
- the embodiment of the present application does not limit the material and shape of the bottle body.
- the real-scene image containing the bottle After the real-scene image containing the bottle is acquired, it can be detected whether the physical item associated with the bottle in the real-scene image has changed. If a change is detected, the first AR special effect triggered by the bottle body and the changed physical item is determined.
- the change of the physical item can be understood as at least one of the following: addition of the physical item in the real-scene image, deletion of the physical item in the real-scene image, or change of the placement status of the physical item in the real-scene image.
- the change of the placement state of the physical object can be understood as at least one of the following: opening the bottle cap of the physical object, closing the bottle cap of the physical object, placing the physical object on the carrier, removing the physical object from the carrier, placing the physical object Changes in any placement state such as inclined placement.
- the change of the placement status of the physical item may also be any other type of placement status change, which will not be listed one by one in the embodiment of the present application.
- the physical item may be a bottle body, or may be other items other than the bottle body.
- the physical item can be a bottle with a different number from the bottle in the real image, or a bottle with a different specification from the bottle in the real image, or a bottle with a different specification from the bottle in the real image. Bottles with different types of bottles.
- the physical item can also be a combination of items.
- the combination can be a combination of a three-dimensional item and a two-dimensional plane object, or a combination of a three-dimensional item and a three-dimensional item, or a two-dimensional plane object and a two-dimensional plane object.
- the combination may be a combination of a bottle and a non-bottle three-dimensional object, or a combination of multiple non-bottle three-dimensional objects.
- the two-dimensional planar object may be a card-like object such as a postcard, an admission ticket, or a leaflet.
- the physical object other than the target bottle may also be other types of objects, which is not limited in this embodiment of the present application.
- the trigger conditions of AR special effects can be enriched, and users and bottles can also be realized. AR interaction between objects. While increasing the user's interest, it can improve the user's experience of using AR technology, meet the diverse user needs of the user, and can also widely promote the relevant information of the bottle.
- step S101 to step S105 will be described in detail below.
- step S101 displaying the real scene image including the bottle body collected by the augmented reality AR device, includes the following process:
- Step S1011 in response to the loading request of the H5 page, load and display the H5 page on the display interface of the AR device, wherein the H5 page includes prompt information prompting the user to jump to the special effect display page;
- Step S1012 jumping to the special effect display page in response to a trigger operation on the prompt information in the H5 page, and displaying the real scene image on the special effect display page.
- FIG 2 is a schematic diagram of a special effect display page provided by the embodiment of the present application.
- the AR device starts to scan the bottle body in response to the scanning instruction initiated by the user, and when the identification code of the bottle body is scanned In this case, initiate a loading request for the H5 page.
- the AR device requests the server to load the H5 page, and displays the H5 page returned by the server on the display interface of the AR device.
- it will be displayed on the display interface of the AR device for prompting
- the web page of the target browser is a special effect display page for displaying corresponding special effects.
- the identification code may be the bottle body itself, or an identification having a relative positional relationship with the bottle body.
- the identification code may be a logo pasted on the bottle body, may also be a logo pasted on the bottle body carrier, or may be a logo set independently from the bottle body.
- the identification code When the identification code is an identification having a relative positional relationship with the bottle body, the identification code may be a template card or a two-dimensional code drawn with a certain specification and shape, for example, as shown in FIG. 2 .
- the identification code may be a template card or a two-dimensional code drawn with a certain specification and shape, for example, as shown in FIG. 2 .
- other identifiers may also be used, which are not limited in this embodiment of the present application.
- the bottle can be displayed without downloading the corresponding client.
- the AR special effect of the body thereby saving the device memory of the AR device, can also simplify the user operation, and improve the user experience of the user using the data display method provided by the embodiment of the present application.
- real-scene images can also be displayed in the following manner, and the process is described as follows:
- the real-scene image including the bottle captured by the AR device after displaying the real-scene image including the bottle captured by the AR device, it can be detected whether the physical item associated with the bottle in the real-scene image has changed. If it is detected that the physical item associated with the bottle in the real-scene image has changed, it is determined that the physical item after the change of the bottle triggers the displayed first AR special effect.
- detecting that the physical item associated with the bottle in the real-scene image changes includes the following process:
- Step S11 determining the target identification code associated with the bottle body in the real-scene image
- Step S12 if it is detected that the target identification code has changed, it is determined that the physical item associated with the bottle in the real-scene image has changed.
- the identification code of the real scene image can be detected to determine the bottle body in the real scene image according to the detection result.
- the associated target identifier is a code that is used to determine the bottle body in the real scene image according to the detection result.
- the identification code may be the physical item itself, or the second identification may also be an identification attached to the physical item.
- the real-scene image can be used to detect the physical object to obtain the detection result, wherein the detection result includes: the position of each physical object in the real-scene image, and the feature information of each physical object .
- the feature information can be used as the identification code of each physical item, and the target identification code associated with the bottle body can be determined from the identified identification codes.
- the target identification code can be determined by querying the data table.
- the data table includes the identification codes (ie, characteristic information) of each physical item associated with each bottle.
- the identification code set on the physical item can be detected, wherein the identification code can be a mark in the form of a two-dimensional code, a bar code, etc.;
- the target identification code is determined in the identification code.
- the data table includes the identification codes (ie, two-dimensional codes, barcodes and other information) of each physical item associated with each bottle.
- the target identification code associated with the bottle body in the real-scene image after the target identification code associated with the bottle body in the real-scene image is determined, it can be determined whether the target identification code has changed. If it is determined that a change has occurred, it is determined that the physical item associated with the bottle in the real-scene image has changed.
- the change type of the physical item may also be determined according to the change type of the target identification code. For example, if it is detected that the change type of the target identification code is: new addition of the target identification code, then it is determined that the change type of the physical item is: new addition of the physical item; if the change type of the detected target identification code is: new addition of the target identification code Deletion, then determine the change type of the physical item as: deletion of the physical item.
- the change type can be determined to determine the first AR special effect triggered by the bottle and the changed physical item, and display the first AR special effect on the special effect display interface of the AR device .
- the first AR special effect that is triggered to be displayed may be a fusion effect of the AR special effect displayed at the current moment and the AR special effect corresponding to the newly added physical item.
- the first AR special effect that is triggered to be displayed may be the first AR special effect after canceling the AR special effect corresponding to the deleted physical item.
- the first AR special effect may be an AR special effect corresponding to the change process of the placement state of the physical item.
- the association between the bottle body and the target identification code is preset, by determining the change type of the target identification code associated with the bottle body in the real scene image, the The method of determining whether the physical item in the real-scene image has changed can quickly detect the change of the physical item, thereby quickly determining the AR special effect triggered by the bottle body and the physical item after the status change, thereby improving the user experience.
- detecting that the physical item associated with the bottle in the real-scene image changes further includes the following process:
- Step S21 performing image processing on the real-scene image to obtain an image detection result of a physical object associated with the bottle in the real-scene image;
- Step S22 determining change information of the physical item in the real-scene image according to the image detection result.
- step S21 and step S22 in addition to the way of detecting the state of the bottle body described in the above step S11 and step S12, the state of the bottle body described in step S21 and step S22 can also be detected.
- step S11 and step S12 if it is detected that the target identification code has not changed, it is also possible to detect whether the physical item associated with the bottle has changed in the manner described in step S21 and step S22.
- the change of the physical item can be understood as at least one of the following: addition of the physical item in the real-scene image, deletion of the physical item in the real-scene image, or change of the placement status of the physical item in the real-scene image.
- the target identification code may not change (for example, the quantity does not change).
- the item information of all physical items associated with the bottle body is pre-stored in the database, wherein the item information may be at least one item image of the physical item in various placement states, It may also be item feature information of the physical item in various placement states.
- image processing may be performed on the real-scene image through an image processing model to obtain item information of all physical items included in the real-scene image, for example, an item image of each physical item or item feature information of the physical item.
- the item information of all the physical items can be compared with the item information in the database, so as to determine the physical item associated with the bottle among all the physical items. Afterwards, it may be determined whether the physical item associated with the bottle has changed in combination with the determined physical item associated with the bottle at the previous moment.
- the first AR special effect triggered by the bottle and the changed physical item can be determined according to the change type of the physical item, and the special effect in the AR device
- the first AR special effect is displayed on the display interface.
- step S103 determining the first AR special effect triggered by the bottle and the changed physical item, including The following process:
- S1031. Determine a change type of the physical item, wherein the change type includes at least one of the following: addition of a physical item, deletion of a physical item, or change of a placement state of a physical item;
- the change type of the physical item may be determined, and then the first AR special effect may be determined according to the change type.
- the change type includes at least one of the following: addition of physical items, deletion of physical items, and change of placement status of physical items.
- addition of physical items e.g., physical items, physical items, and change of placement status of physical items.
- deletion of physical items e.g., physical items, physical items, and change of placement status of physical items.
- change of placement status of physical items e.g., physical items, physical items, and physical items that are changed.
- one or more subtypes can be set correspondingly.
- the subtype corresponding to the change type can be a subtype determined according to the following data dimensions: the number of new physical items, the type of new physical items, the number of new physical items increasing order etc.
- the subtype corresponding to the change type can be a subtype determined according to the following data dimensions: the number of deleted physical items, the type of deleted physical items, the number of deleted physical items order of deletion, etc.
- One or more AR special effects can be correspondingly set for each subtype of the change type. And the AR special effects corresponding to different subtypes in any variation type are not exactly the same.
- At least one subtype to which the change type belongs may be determined, and then, in the at least one subtype, the target subtype to which the change process of the physical item belongs is determined, And according to the determined target subtype, determine the first AR special effect triggered by the bottle body and the changed physical item.
- a matching AR special effect may be determined for each variation type, and then, according to the determined variation types, determine the bottle The first AR special effects displayed are triggered by the body and the changed physical items.
- the triggering method of the first AR special effect can be divided in more detail. While enriching the triggering methods of AR special effects, it can also provide Users bring a more delicate user experience.
- step S1032 determine the first AR special effect triggered by the bottle and the physical item after the change according to the change type, including the following process:
- a target AR special effect matching the newly added physical item is determined.
- the target AR special effect may also be determined according to the type of the newly added physical item.
- the types of physical items can be classified according to the attribute parameters of the physical items.
- the attribute parameters of the physical items can include at least one of the following: the type of the physical item, the color of the physical item, the function of the physical item, the entity The pattern of the item, the size of the physical item, etc.
- a target AR special effect matching the "children's bottle” may be determined. If it is determined that the physical item is "the commemorative bottle of the XXX sports event", the target AR special effect matching the "XXX sports event" can be determined.
- the target AR special effect and the initial AR special effect may be fused according to the target AR special effect and the special effect type of the initial AR special effect, and the fused AR special effect after fusion may be determined as the first AR special effect.
- fusion can be understood as sequentially connecting the target AR special effect and the initial AR special effect to form the first AR special effect.
- the fusion can also be understood as merging the special effect content of the target AR special effect and the initial AR special effect to obtain the first AR special effect.
- the target AR special effect by combining the target AR special effect with the initial AR special effect to obtain the first AR special effect, it is possible to trigger the display of different AR special effects based on the change of the item combination of the bottle body and its corresponding physical item , through the above-mentioned processing method, while increasing the interest of the user, the user experience of the AR technology can be improved, the diversified user needs of the user can be met, and the relevant information of the bottle body can also be widely promoted.
- the special effect determines the first AR special effect.
- the fused AR special effect of the target AR special effect and the initial AR special effect may be determined as the first AR special effect.
- the target AR special effect may be an AR special effect in which water in the bottle body sprays out.
- Figure 3 is a schematic diagram of the effect of the second special effect display page provided by the embodiment of the present application.
- the initial AR special effect is the AR special effect of "little dolphin sprays out from the bottle”
- the first AR special effect can be a fusion effect of the initial AR special effect and the target AR special effect: that is, water is sprayed from the physical object, and the little dolphin is released from the The inside of the bottle sprays outward.
- the target AR special effect matching the change process is determined.
- the target AR special effect may be an AR special effect in which water in the physical object is retracted into the physical object.
- the user experience of the AR technology can be improved, the diversified user needs of the user can be met, and the relevant information of the bottle body can also be widely promoted.
- step S103 the first AR special effect triggered by the determination of the bottle and the changed physical item is displayed , also includes the following process:
- the user information includes at least one of the following: basic user attributes, device type of the AR device, number of times the user visits the special effect display page, and Historical AR special effects pushed by the user;
- the AR device when the AR device is triggered to load the H5 page, the user information of the user to which the AR device belongs can be obtained.
- the basic attribute of the user may be at least one of the following: attribute information such as age, gender, and hobbies.
- the device type of the AR device may be at least one of the following: a head-mounted AR device, a handheld AR device.
- the number of times the user visits the special effect display page can be understood as: the number of times the user visits the special effect display page (or loads an H5 page) within a period of time.
- the historical AR special effects pushed for the user can be understood as: the record of pushing AR special effects for the user with the same user information in the past period of time.
- At least one second AR special effect matching the user information may be determined.
- different styles of second AR special effects may be determined for users according to different basic user attributes, different visit times, historical AR special effects, and different device types.
- the first AR special effect triggered by the bottle body and the changed physical item can be determined in at least one second AR special effect.
- the process is described as follows:
- the change type of the physical item may be determined, and then according to the change type, the at least one second AR special effect is determined to be the same as the first AR special effect.
- a corresponding special effect tag can be set for it, wherein the special effect tag is used to indicate the change type of the physical item.
- One or more special effect tags can be set corresponding to each second AR special effect, and the special effect tags corresponding to different second AR special effects are not completely the same.
- the second AR special effect matching the change type may be determined as the first AR special effect according to the special effect tag of each second AR special effect.
- determining at least one second AR special effect matching the user information includes the following process:
- the user information includes the historical AR special effects
- the latest target historical AR special effect pushed for the user is determined according to the historical AR special effect. Then, among the plurality of preset AR special effects included in the special effect library, the AR special effect matching the user information is selected from other AR special effects except the target historical AR special effect as the second AR special effect.
- the third AR special effect can also be displayed on the special effect display page according to the user information.
- the third AR special effect can be the user of another user with the same basic attributes as the user Information, for example, the third AR special effect may also be a historical AR special effect pushed by the user.
- FIG. 4 is a schematic diagram of the effect of the third special effect display page provided by the embodiment of the present application.
- the display may be performed as shown in FIG. 4 .
- the other user may be displayed in the form of bubbles with gradually changing sizes.
- step S103 the first AR special effect triggered by the determination of the bottle and the changed physical item is displayed , also includes the following process:
- the item type includes: a three-dimensional object and/or a two-dimensional planar object;
- the item type of the changed physical item is a three-dimensional object or a two-dimensional planar object.
- the item type corresponding to the physical item can be determined through the identification code corresponding to each physical item.
- the identification code is the physical item itself
- its item type can be determined by analyzing the item attributes of the physical item itself.
- the type of the item can be determined by identifying the information of the two-dimensional code.
- the AR special effect triggered by the physical item can be determined, which is recorded as AR special effect 1, and the AR special effect triggered by the bottle body can be determined, which is recorded as AR special effect 2; after that, the AR special effect can be determined according to the item type 1 and AR special effect 2, and then, according to the special effect fusion method, AR special effect 1 and AR special effect 2 are fused to obtain the first AR special effect.
- the method of triggering the display of the first AR special effect triggered by the bottle and the changed physical object is determined according to the item type of the physical object, which can enrich the triggering methods of the AR special effect of the bottle and improve user experience.
- step S103 the first AR special effect triggered by the determination of the bottle and the changed physical item is displayed , also includes the following process:
- the first AR special effect triggered by the changed state of the bottle body and the physical item after the change is determined.
- changes in the state of the bottle may also be detected.
- the change of the bottle state can be understood as the change of the bottle placement state, for example, the change of the bottle cap opening of the bottle body is the bottle cap closure, the change of the bottle cap closure of the bottle body is the bottle cap opening, and the vertical change of the bottle body is The bottle is placed horizontally (or placed obliquely).
- the AR special effect triggered by the changed bottle state can be determined, which is recorded as AR special effect 3, and the AR special effect triggered by the changed physical object can be determined, which is recorded as AR special effect 4 , after that, the AR special effect 3 and the AR special effect 4 are combined to obtain the first AR special effect.
- the above-mentioned processing method through the above-mentioned processing method, it is possible to trigger and display different AR special effects based on the change of the state of the bottle itself.
- the user's experience of using AR technology can be improved while increasing the interest of the user. It can meet the diversified user needs of users, and can also widely promote the relevant information of the bottle body.
- the embodiment of the present application also provides a data display device corresponding to the data display method. Since the problem-solving principle of the device in the embodiment of the present application is similar to the above-mentioned data display method in the embodiment of the present application, the implementation of the device See the implementation of the method.
- Fig. 5 is a schematic diagram of a data display device provided by an embodiment of the present application. As shown in Fig. 5, the device includes: a first display unit 51, a determination unit 52, and a second display unit 53; wherein,
- the first display unit 51 is configured to display the real scene image including the bottle collected by the augmented reality AR device;
- the determining unit 52 is configured to determine the first AR special effect triggered by the bottle and the changed physical item when it is detected that the physical item associated with the bottle in the real-scene image changes;
- the second display unit 53 is configured to display the first AR special effect on a special effect display interface of the AR device.
- the trigger conditions of AR special effects can be enriched, and users and bottles can also be realized. AR interaction between objects. While increasing the user's interest, it can improve the user's experience of using AR technology, meet the diverse user needs of the user, and can also widely promote the relevant information of the bottle.
- the determining unit is configured to: determine a change type of the physical item, wherein the change type includes at least one of the following: addition of a physical item, deletion of a physical item, change of a physical item A change in the placement state; determining the first AR special effect triggered by the bottle body and the changed physical item according to the change type.
- the determining unit is further configured to: determine a target AR special effect matching the change type; determine a fusion AR special effect of the target AR special effect and an initial AR special effect as the first AR special effect
- the initial AR special effect is the AR special effect displayed on the special effect display interface before the physical item in the real-scene image changes.
- the device is further configured to: determine a target identification code associated with the bottle body in the real-scene image; if a change in the target identification code is detected, determine the The physical item associated with the bottle in the live image has changed.
- the device is further configured to: perform image processing on the real-scene image to obtain an image detection result of a physical item associated with the bottle body in the real-scene image; detect As a result, the change information of the entity item in the real-scene image is determined.
- the display unit is configured to: in response to a loading request of the H5 page, load and display the H5 page on the display interface of the AR device, wherein the H5 page includes prompting the user to skip Go to the prompt information on the special effect display page; in response to the trigger operation on the prompt information in the H5 page, jump to the special effect display page, and display the real scene image on the special effect display page.
- the determining unit is further configured to: acquire user information of a user to which the AR device belongs; wherein the user information includes at least one of the following: basic attributes of the user, device type of the AR device, the user's The number of visits to the special effect display page, the historical AR special effects pushed for the user; determining at least one second AR special effect matching the user information; determining the bottle body in the at least one second AR special effect And the first AR special effect triggered by the changed physical items.
- the determining unit is further configured to: if the user information contains the historical AR special effects, determine the latest target historical AR special effects pushed for the user in the historical AR special effects ; Determining the at least one second AR special effect among the plurality of preset AR special effects other than the target historical AR special effect.
- the determining unit is further configured to: determine the item type of the physical item after the change, wherein the item type includes: a three-dimensional object and/or a two-dimensional planar object;
- the first AR special effects displayed are triggered by the above-mentioned bottle body and the changed physical items.
- the determining unit is further configured to: in the case of detecting that the state of the bottle body in the real-scene image changes, determine the state of the bottle body after the change and the display triggered by the physical item after the change.
- the first AR special effects are further configured to: in the case of detecting that the state of the bottle body in the real-scene image changes, determine the state of the bottle body after the change and the display triggered by the physical item after the change.
- the method is applied to a client application platform, and the client application platform is a Web application platform or an applet application platform.
- FIG. 6 is a schematic structural diagram of a computer device provided in an embodiment of the present application. As shown in FIG. 6, the computer device 600 includes:
- Processor 61 memory 62, and bus 63; memory 62 is used for storing and executing instruction, comprises memory 621 and external memory 622; memory 621 here is also called internal memory, is used for temporarily storing computing data in processor 61, and The data exchanged by the external memory 622 such as hard disk, the processor 61 exchanges data with the external memory 622 through the memory 621, when the computer device 600 is running, the processor 61 communicates with the memory 62 through the bus 63, so that The processor 61 executes the following instructions:
- the first AR special effect is displayed on the special effect display interface of the AR device.
- the embodiment of the present application also provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is run by a processor, the steps of the data presentation method described in the foregoing method embodiments are executed.
- the storage medium may be a volatile or non-volatile computer-readable storage medium.
- the embodiment of the present application also provides a computer program product, the computer program product is loaded with program code, and the instructions included in the program code can be used to execute the steps of the data display method described in the above method embodiment, please refer to the above method implementation example.
- the computer program product provided by the embodiments of the present application includes a computer-readable storage medium that stores program codes, and the instructions included in the program codes can be used to execute the steps of the data display method described in the above method embodiments. For implementation, refer to the above method embodiments.
- the above-mentioned computer program product may be realized by hardware, software or a combination thereof.
- the computer program product may be embodied as a computer storage medium, and in another optional embodiment, the computer program product may be embodied as a software product, such as a software development kit (Software Development Kit, SDK), etc. Wait.
- a software development kit Software Development Kit, SDK
- the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
- each functional unit in each embodiment of the present application may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit.
- the functions are realized in the form of software function units and sold or used as independent products, they can be stored in a non-volatile computer-readable storage medium executable by a processor.
- the technical solution of the present application is essentially or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including Several instructions are used to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in the various embodiments of the present application.
- the aforementioned storage media include: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disc and other media that can store program codes. .
- the embodiment of the present application provides a data display method and device, device, storage medium and computer program product, the method includes: displaying a real scene image including a bottle collected by an augmented reality AR device; When the physical item associated with the bottle changes, determine the first AR special effect triggered by the bottle and the changed physical item; display the first AR on the special effect display interface of the AR device special effects.
- different AR special effects can be triggered based on the change of the item combination of the bottle and the physical item associated with the bottle, which can enrich the trigger conditions of the AR special effects, and can also realize the user and The AR interaction between the bottles; while increasing the user's interest, it can improve the user's experience of using AR technology, meet the diverse user needs of the user, and can also widely promote the relevant information of the bottle.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- General Physics & Mathematics (AREA)
- Physics & Mathematics (AREA)
- Data Mining & Analysis (AREA)
- Computer Graphics (AREA)
- Computer Hardware Design (AREA)
- Software Systems (AREA)
- Human Computer Interaction (AREA)
- Processing Or Creating Images (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
A data display method and apparatus, a device, a storage medium, and a computer program product. The method comprises: displaying a live-view image comprising a bottle body acquired by an augmented reality (AR) device (S101); upon detection that a physical object associated with the bottle body in the live-view image changes, determining a first AR special effect displayed and triggered by the bottle body and the changed physical object (S103); and displaying the first AR special effect on a special effect display interface of the AR device (S105).
Description
相关申请的交叉引用Cross References to Related Applications
本申请基于申请号为202110621248.X、申请日为2021年06月03日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此以全文引用的方式引入本申请。This application is based on a Chinese patent application with application number 202110621248.X and a filing date of June 3, 2021, and claims the priority of this Chinese patent application. The entire content of this Chinese patent application is hereby incorporated by reference in its entirety this application.
本申请涉及增强现实的技术领域,涉及但不限于一种数据展示方法及装置、设备、存储介质和计算机程序产品。The present application relates to the technical field of augmented reality, involving but not limited to a data presentation method, device, device, storage medium and computer program product.
增强现实(Augmented Reality,简称AR)技术也被称为扩增现实,AR增强现实技术是促使真实世界信息和虚拟世界信息内容之间综合在一起的较新的技术内容,从而将真实的环境和虚拟的物体实时地在同一个画面或空间呈现。近些年来,随着智能终端设备的快速发展,AR设备的应用越来越广泛,例如,AR文创产品。在现有的AR技术中,可以识别单一的物体,并触发展示该单一物体的虚拟内容,且该物体的虚拟内容通常为该物体的物体介绍等固定的虚拟内容。因此,现有的AR技术的应用场景比较单一,无法满足用户日渐丰富的需求。Augmented reality (Augmented Reality, referred to as AR) technology is also called augmented reality. AR augmented reality technology is a relatively new technical content that promotes the integration of real world information and virtual world information content, so that the real environment and Virtual objects are presented in the same screen or space in real time. In recent years, with the rapid development of smart terminal devices, AR devices have become more and more widely used, for example, AR cultural and creative products. In the existing AR technology, a single object can be identified, and the virtual content of the single object can be triggered to be displayed, and the virtual content of the object is usually fixed virtual content such as an object introduction of the object. Therefore, the application scenarios of the existing AR technology are relatively single, and cannot meet the increasingly rich demands of users.
发明内容Contents of the invention
本申请实施例至少提供一种数据展示方法及装置、设备、存储介质和计算机程序产品。Embodiments of the present application provide at least a data presentation method and device, equipment, storage medium, and computer program product.
第一方面,本申请实施例提供了一种数据展示方法,包括:展示增强现实AR设备采集到的包含瓶体的实景图像;在检测到所述实景图像中与瓶体相关联的实体物品发生变化的情况下,确定所述瓶体和变化之后的实体物品所触发展示的第一AR特效;在所述AR设备的特效展示界面上展示所述第一AR特效。In the first aspect, the embodiment of the present application provides a method for displaying data, including: displaying a real scene image including a bottle collected by an augmented reality AR device; In the case of a change, determine the first AR special effect triggered by the bottle body and the changed physical item; and display the first AR special effect on the special effect display interface of the AR device.
在本申请实施例中,在检测到实景图像中与瓶体相关联的实体物品发生了变化的情况下,可以确定瓶体和变化之后的实体物品所触发展示的第一AR特效,并在特效展示页面中展示该第一AR特效。通过上述处理方式,可以实现基于瓶体和该瓶体所关联的实体物品的物品组合的改变来触发展示不同的AR特效,通过上述处理方式可以丰富AR特效的触发条件,还可以实现用户和瓶体之间的AR交互。在增加用户趣味性的同时,可以提高用户对AR技术的使用体验,满足用户的多样化用户需求,并且还能够对瓶体的相关信息进行广泛 推广。In the embodiment of the present application, when it is detected that the physical item associated with the bottle in the real scene image has changed, it can be determined that the first AR special effect triggered by the bottle and the changed physical item is displayed, and the special effect The first AR special effect is displayed on the display page. Through the above processing method, it is possible to trigger and display different AR special effects based on the change of the item combination of the bottle body and the physical item associated with the bottle body. Through the above processing method, the trigger conditions of AR special effects can be enriched, and users and bottles can also be realized. AR interaction between objects. While increasing the user's interest, it can improve the user's experience of using AR technology, meet the diverse user needs of the user, and can also widely promote the relevant information of the bottle.
一种可选的实施方式中,所述确定所述瓶体和变化之后的实体物品所触发展示的第一AR特效,包括:确定所述实体物品的变化类型,其中,所述变化类型包括以下至少之一:实体物品的新增、实体物品的删减、实体物品的放置状态的变化;根据所述变化类型确定所述瓶体和变化之后的实体物品所触发展示的第一AR特效。In an optional implementation manner, the determining the first AR special effect triggered by the bottle body and the changed physical item includes: determining a change type of the physical item, wherein the change type includes the following At least one of: addition of physical items, deletion of physical items, change of placement status of physical items; determining the first AR special effect triggered by the bottle and the changed physical items according to the type of change.
上述实施方式中,通过确定实体物品的变化类型触发不同类型的AR特效的方式,可以对第一AR特效的触发方式进行更加详细的划分,在丰富了AR特效的触发方式的同时,还可以为用户带来更加细腻的用户体验。In the above embodiments, by determining the way in which different types of AR special effects are triggered by the change type of the physical item, the triggering method of the first AR special effect can be divided in more detail. While enriching the triggering methods of AR special effects, it can also provide Users bring a more delicate user experience.
一种可选的实施方式中,所述根据所述变化类型确定所述瓶体和变化之后的实体物品所触发展示的第一AR特效,包括:确定与所述变化类型相匹配的目标AR特效;将所述目标AR特效和初始AR特效的融合AR特效确定为所述第一AR特效,所述初始AR特效为所述实景图像中的实体物品发生变化之前在所述特效展示界面上所展示的AR特效。In an optional implementation manner, the determining the first AR special effect triggered by the display of the bottle body and the changed physical item according to the change type includes: determining a target AR special effect that matches the change type ; Determine the fused AR special effect of the target AR special effect and the initial AR special effect as the first AR special effect, and the initial AR special effect is displayed on the special effect display interface before the physical item in the real scene image changes AR special effects.
上述实施方式中,通过将变化类型所对应的目标AR特效与初始AR特效进行特效融合,得到第一AR特效的方式,可以实现基于实体物品的不同变化类型来触发展示不同的AR特效,通过上述处理方式可以在增加用户趣味性的同时,可以提高用户对AR技术的使用体验,满足用户的多样化用户需求,并且还能够对瓶体的相关信息进行广泛推广。In the above embodiment, by combining the target AR special effect corresponding to the change type with the initial AR special effect to obtain the first AR special effect, it is possible to trigger the display of different AR special effects based on different change types of physical items. Through the above The processing method can not only increase the user's interest, but also improve the user's experience of using AR technology, meet the diverse user needs of the user, and can also widely promote the relevant information of the bottle.
一种可选的实施方式中,所述检测到所述实景图像中与瓶体相关联的实体物品发生变化,包括:确定所述实景图像中与所述瓶体相关联的目标标识码;在检测到所述目标标识码发生变化的情况下,确定所述实景图像中与所述瓶体相关联的实体物品发生了变化。In an optional implementation manner, the detecting that the physical item associated with the bottle in the real-scene image changes includes: determining a target identification code associated with the bottle in the real-scene image; When it is detected that the target identification code has changed, it is determined that the physical item associated with the bottle in the real-scene image has changed.
上述实施方式中,由于一个实体物品对应一个标识码,且预先设置了瓶体和目标标识码之间的关联关系,因此,通过确定实景图像中瓶体所关联的目标标识码的变化类型,来确定实景图像中实体物品是否发生了变化的方式,能够快速检测实体物品的变化,从而快速的确定瓶体和状态变化之后的实体物品所触发展示的AR特效,进而提高了用户的使用体验。In the above embodiment, since a physical item corresponds to an identification code, and the association between the bottle body and the target identification code is preset, by determining the change type of the target identification code associated with the bottle body in the real scene image, the The method of determining whether the physical item in the real-scene image has changed can quickly detect the change of the physical item, thereby quickly determining the AR special effect triggered by the bottle body and the physical item after the status change, thereby improving the user experience.
一种可选的实施方式中,所述检测到所述实景图像中与瓶体相关联的实体物品发生变化,包括:对所述实景图像进行图像处理,得到所述实景图像中与所述瓶体相关联的实体物品的图像检测结果;根据所述图像检测结果确定所述实景图像中所述实体物品的变化信息。In an optional implementation manner, the detecting that the physical item associated with the bottle body in the real-scene image changes includes: performing image processing on the real-scene image to obtain the bottle in the real-scene image. The image detection result of the entity item associated with the object; and determining the change information of the entity item in the real-scene image according to the image detection result.
上述实施方式中,通过对实景图像进行图像处理,可以对与瓶体相关联的实体物品的多种状态变化进行检测,从而触发展示更加多样的AR特效,以提高用户使用体验。In the above embodiments, by performing image processing on the real-scene image, various state changes of physical items associated with the bottle can be detected, thereby triggering the display of more diverse AR special effects to improve user experience.
一种可选的实施方式中,所述展示增强现实AR设备采集到的包含瓶体的实景图像,包括:响应于H5页面的加载请求,加载并在所述AR设备的显示界面上显示所述H5页面,其中,所述H5页面中包含提示用户跳转至特效展示页面的提示信息;响应于对所述H5页面中的提示信息的触发操作,跳转至所述特效展示页面,并在所述特效展示页面上展示所述实景图像。In an optional implementation manner, the displaying the real-scene image of the bottle body collected by the augmented reality AR device includes: responding to the loading request of the H5 page, loading and displaying the image on the display interface of the AR device. H5 page, wherein, the H5 page includes prompt information prompting the user to jump to the special effect display page; in response to a trigger operation on the prompt information in the H5 page, jump to the special effect display page, and in the The real scene image is displayed on the special effect display page.
上述实施方式中,通过加载H5页面,并通过对H5页面中的提示信息执行相应的触发操作,从而跳转至特效展示页面来展示实景图像的方式,可以在不用下载相应客户端的同时展示出瓶体的AR特效,从而节省了AR设备的设备内存的同时,还可以简化用户操作,提高用户使用本申请实施例所提供的数据展示方法的用户体验。In the above embodiment, by loading the H5 page, and performing corresponding trigger operations on the prompt information in the H5 page, thereby jumping to the special effect display page to display the real scene image, the bottle can be displayed without downloading the corresponding client. The AR special effect of the body, thereby saving the device memory of the AR device, can also simplify the user operation, and improve the user experience of the user using the data display method provided by the embodiment of the present application.
一种可选的实施方式中,所述确定所述瓶体和变化之后的实体物品所触发展示的第一AR特效,包括:获取所述AR设备所属用户的用户信息;其中,所述用户信息包括以下至少之一:用户基本属性,AR设备的设备类型,该用户访问所述特效展示页面的访问次数、为该用户推送的历史AR特效;确定与所述用户信息相匹配的至少一个第二AR特效;在所述至少一个第二AR特效中确定所述瓶体和变化之后的实体物品所触发展示的第一AR特效。In an optional implementation manner, the determination of the first AR special effect triggered by the bottle body and the changed physical item includes: acquiring user information of the user to which the AR device belongs; wherein the user information Including at least one of the following: basic attributes of the user, the device type of the AR device, the number of times the user visits the special effect display page, and the historical AR special effects pushed for the user; determine at least one second AR device that matches the user information AR special effects: in the at least one second AR special effects, determine the first AR special effects triggered by the display of the bottle body and the changed physical item.
上述实施方式中,通过确定与用户信息相匹配的至少一个第二AR特效,并在至少一个第二AR特效中确定第一AR特效的方式,可以实现不同的用户个性化定制不同风格的AR特效,以提高用户的使用体验。In the above embodiments, by determining at least one second AR special effect that matches the user information, and determining the first AR special effect among the at least one second AR special effect, different users can customize different styles of AR special effects. , to improve user experience.
一种可选的实施方式中,所述确定与所述用户信息相匹配的至少一个第二AR特效,包括:在所述用户信息中包含所述历史AR特效的情况下,在所述历史AR特效中确定最新一次为该用户推送的目标历史AR特效;在多个预设AR特效中除所述目标历史AR特效之外的其他AR特效中确定所述至少一个第二AR特效。In an optional implementation manner, the determining at least one second AR special effect matching the user information includes: if the user information contains the historical AR special effect, in the historical AR special effect, Determining the latest target historical AR special effect pushed for the user in the special effects; determining the at least one second AR special effect among the multiple preset AR special effects except the target historical AR special effect.
上述实施方式中,通过上述处理方式,能够避免连续为用户推送相同的AR特效,从而能够提高用户的使用体验。In the above implementation manner, through the above processing manner, it is possible to avoid continuously pushing the same AR special effect for the user, thereby improving user experience.
一种可选的实施方式中,所述确定所述瓶体和变化之后的实体物品所触发展示的第一AR特效,包括:确定变化之后的实体物品的物品类型,其中,所述物品类型包括:三维物体和/或二维平面物体;根据所述物品类型确定所述瓶体和变化之后的实体物品所触发展示的第一AR特效。In an optional implementation manner, the determining the first AR special effect triggered by the bottle body and the changed physical item includes: determining the item type of the changed physical item, wherein the item type includes : a three-dimensional object and/or a two-dimensional plane object; determining the first AR special effect triggered by the bottle body and the changed physical item according to the item type.
上述实施方式中,根据实体物品的物品类型确定该瓶体和变化之后的实体物品所触发展示的第一AR特效的方式,可以丰富该瓶体的AR特效的触发方式,提高用户使用体验。In the above embodiment, the method of triggering the display of the first AR special effect triggered by the bottle and the changed physical object is determined according to the item type of the physical object, which can enrich the triggering methods of the AR special effect of the bottle and improve user experience.
一种可选的实施方式中,所述确定所述瓶体和变化之后的实体物品所触发展示的第一AR特效,包括:在检测到所述实景图像中的瓶体状态发生变化的情况下,确定变化之后的瓶体状态和变化之后的实体物品所触发展示的第一AR特效。In an optional implementation manner, the determination of the first AR special effect triggered by the bottle body and the changed physical item includes: when a change in the state of the bottle body in the real scene image is detected , to determine the changed bottle state and the first AR special effect triggered by the changed physical item.
上述实施方式中,通过上述处理方式,可以实现基于瓶体本身状态的改变来触发展示不同的AR特效,通过上述处理方式可以在增加用户趣味性的同时,可以提高用户对AR技术的使用体验,满足用户的多样化用户需求,并且还能够对瓶体的相关信息进行广泛推广。In the above-mentioned embodiment, through the above-mentioned processing method, it is possible to trigger and display different AR special effects based on the change of the state of the bottle itself. Through the above-mentioned processing method, the user's experience of using AR technology can be improved while increasing the interest of the user. It can meet the diversified user needs of users, and can also widely promote the relevant information of the bottle body.
一种可选的实施方式中,所述方法应用于客户端应用平台,所述客户端应用平台为Web端应用平台或小程序端应用平台。In an optional implementation manner, the method is applied to a client application platform, and the client application platform is a Web application platform or an applet application platform.
上述实施方式中,通过小程序或者wed端展示AR特效,可以省略对应的应用程序APP的下载过程,从而简化AR特效的展示流程。In the above embodiments, the AR special effect is displayed through the applet or the wed terminal, and the download process of the corresponding application program APP can be omitted, thereby simplifying the display process of the AR special effect.
第二方面,本申请实施例还提供一种数据展示装置,包括:第一展示单元,配置为展示增强现实AR设备采集到的包含瓶体的实景图像;确定单元,配置为在检测到所述实景图像中与瓶体相关联的实体物品发生变化的情况下,确定所述瓶体和变化之后的实体物品所触发展示的第一AR特效;第二展示单元,配置为在所述AR设备的特效展示界面上展示所述第一AR特效。In the second aspect, the embodiment of the present application also provides a data display device, including: a first display unit configured to display a real scene image containing a bottle collected by an augmented reality AR device; a determination unit configured to detect the When the physical item associated with the bottle in the real scene image changes, determine the first AR special effect triggered by the bottle and the changed physical item; the second display unit is configured to be displayed on the AR device The first AR special effect is displayed on the special effect display interface.
第三方面,本申请实施例还提供一种计算机设备,包括:处理器、存储器和总线,所述存储器存储有所述处理器可执行的机器可读指令,当计算机设备运行时,所述处理器与所述存储器之间通过总线通信,所述机器可读指令被所述处理器执行时执行上述第一方面,或第一方面中任一种可能的实施方式中的步骤。In the third aspect, the embodiment of the present application also provides a computer device, including: a processor, a memory, and a bus, the memory stores machine-readable instructions executable by the processor, and when the computer device is running, the processing The processor communicates with the memory through a bus, and when the machine-readable instructions are executed by the processor, the above-mentioned first aspect, or the steps in any possible implementation manner of the first aspect are executed.
第四方面,本申请实施例还提供一种计算机可读存储介质,该计算机可读存储介质上存储有计算机程序,该计算机程序被处理器运行时执行上述第一方面,或第一方面中任一种可能的实施方式中的步骤。In the fourth aspect, the embodiment of the present application also provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the above-mentioned first aspect, or any one of the first aspects in the first aspect, is executed. Steps in one possible implementation.
第五方面,本申请实施例提供一种计算机程序产品,该计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,该计算机程序被计算机读取并执行时,实现如本申请实施例中所描述的方法的部分或全部步骤。该计算机程序产品可以为一个软件安装包。In the fifth aspect, an embodiment of the present application provides a computer program product, the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and when the computer program is read and executed by a computer, the implementation of the present application can be realized. Some or all steps of the method described in the example. The computer program product may be a software installation package.
为使本申请的上述目的、特征和优点能更明显易懂,下文特举较佳实施例,并配合所附附图,作详细说明如下。In order to make the above-mentioned purpose, features and advantages of the present application more comprehensible, preferred embodiments will be described in detail below together with the accompanying drawings.
为了更清楚地说明本申请实施例的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,此处的附图被并入说明书中并构成本说明书中的一部分,这些附图示出了符合本申请的实施例,并与说明书一起用于说明本申请的技术方案。应当理解,以下附图仅示出了本申请的某些实施例,因此不应被看作是对范围的限定,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他相关的附图。In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following will briefly introduce the accompanying drawings that need to be used in the embodiments. The accompanying drawings here are incorporated into the specification and constitute a part of the specification. The figures show the embodiments according to the application, and are used together with the description to explain the technical solution of the application. It should be understood that the following drawings only show some embodiments of the present application, and therefore should not be regarded as limiting the scope. For those of ordinary skill in the art, they can also From these drawings other related drawings are obtained.
图1为本申请实施例提供的一种数据展示方法的流程图;FIG. 1 is a flow chart of a data presentation method provided by an embodiment of the present application;
图2为本申请实施例提供的一种特效展示页面的效果示意图;Fig. 2 is a schematic diagram of the effect of a special effect display page provided by the embodiment of the present application;
图3为本申请实施例提供的第二种特效展示页面的效果示意图;FIG. 3 is a schematic diagram of the effect of the second special effect display page provided by the embodiment of the present application;
图4为本申请实施例提供的第三种特效展示页面的效果示意图;FIG. 4 is a schematic diagram of the effect of the third special effect display page provided by the embodiment of the present application;
图5为本申请实施例提供的一种数据展示装置的示意图;FIG. 5 is a schematic diagram of a data display device provided by an embodiment of the present application;
图6为本申请实施例提供的一种计算机设备的结构示意图。FIG. 6 is a schematic structural diagram of a computer device provided by an embodiment of the present application.
为使本申请实施例的目的、技术方案和优点更加清楚,下面将结合本申请实施例中附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。通常在此处附图中描述和示出的本申请实施例的组件可以以各种不同的配置来布置和设 计。因此,以下对在附图中提供的本申请的实施例的详细描述并非旨在限制要求保护的本申请的范围,而是仅仅表示本申请的选定实施例。基于本申请的实施例,本领域技术人员在没有做出创造性劳动的前提下所获得的所有其他实施例,都属于本申请保护的范围。In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only It is a part of the embodiments of this application, not all of them. The components of the embodiments of the application generally described and illustrated in the figures herein may be arranged and designed in a variety of different configurations. Accordingly, the following detailed description of the embodiments of the application provided in the accompanying drawings is not intended to limit the scope of the claimed application, but merely represents selected embodiments of the application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative efforts belong to the scope of protection of the present application.
应注意到:相似的标号和字母在下面的附图中表示类似项,因此,一旦某一项在一个附图中被定义,则在随后的附图中不需要对其进行进一步定义和解释。It should be noted that like numerals and letters denote similar items in the following figures, therefore, once an item is defined in one figure, it does not require further definition and explanation in subsequent figures.
本文中术语“和/或”,仅仅是描述一种关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中术语“至少一种”表示多种中的任意一种或多种中的至少两种的任意组合,例如,包括A、B、C中的至少一种,可以表示包括从A、B和C构成的集合中选择的任意一个或多个元素。The term "and/or" in this article only describes an association relationship, which means that there can be three kinds of relationships, for example, A and/or B can mean: there is A alone, A and B exist at the same time, and B exists alone. situation. In addition, the term "at least one" herein means any one of a variety or any combination of at least two of the more, for example, including at least one of A, B, and C, which may mean including from A, Any one or more elements selected from the set formed by B and C.
经研究发现,AR增强现实技术是促使真实世界信息和虚拟世界信息内容之间综合在一起的较新的技术内容,从而将真实的环境和虚拟的物体实时地在同一个画面或空间呈现。近些年来,随着智能终端设备的快速发展,AR设备的应用越来越广泛,例如,AR文创产品。在现有的AR技术中,可以识别单一的物体,并触发展示该单一物体的虚拟内容,且该物体的虚拟内容通常为该物体的物体介绍等固定的虚拟内容。因此,现有的AR技术的应用场景比较单一,无法满足用户日渐丰富的需求。After research, it is found that AR augmented reality technology is a relatively new technical content that promotes the integration of real world information and virtual world information content, so that the real environment and virtual objects are presented in the same picture or space in real time. In recent years, with the rapid development of smart terminal devices, AR devices have become more and more widely used, for example, AR cultural and creative products. In the existing AR technology, a single object can be identified, and the virtual content of the single object can be triggered to be displayed, and the virtual content of the object is usually fixed virtual content such as an object introduction of the object. Therefore, the application scenarios of the existing AR technology are relatively single, and cannot meet the increasingly rich demands of users.
基于上述研究,本申请实施例提供了一种数据展示方法。在本申请实施例中,在检测到实景图像中与瓶体相关联的实体物品发生了变化的情况下,可以确定瓶体和变化之后的实体物品所触发展示的第一AR特效,并在特效展示页面中展示该第一AR特效。通过上述处理方式,可以实现基于瓶体和该瓶体所关联的实体物品的物品组合的改变来触发展示不同的AR特效,通过上述处理方式可以丰富AR特效的触发条件,还可以实现用户和瓶体之间的AR交互。在增加用户趣味性的同时,可以提高用户对AR技术的使用体验,满足用户的多样化用户需求,并且还能够对瓶体的相关信息进行广泛推广。Based on the above research, an embodiment of the present application provides a data presentation method. In the embodiment of the present application, when it is detected that the physical item associated with the bottle in the real scene image has changed, it can be determined that the first AR special effect triggered by the bottle and the changed physical item is displayed, and the special effect The first AR special effect is displayed on the display page. Through the above processing method, it is possible to trigger and display different AR special effects based on the change of the item combination of the bottle body and the physical item associated with the bottle body. Through the above processing method, the trigger conditions of AR special effects can be enriched, and users and bottles can also be realized. AR interaction between objects. While increasing the user's interest, it can improve the user's experience of using AR technology, meet the diverse user needs of the user, and can also widely promote the relevant information of the bottle.
为便于对本实施例进行理解,首先对本申请实施例所公开的一种数据展示方法进行详细介绍,本申请实施例所提供的数据展示方法的执行主体一般为具有一定计算能力的计算机设备。在一些可能的实现方式中,该数据展示方法可以通过处理器调用存储器中存储的计算机可读指令的方式来实现。To facilitate the understanding of this embodiment, a data display method disclosed in the embodiment of the present application is firstly introduced in detail. The data display method provided in the embodiment of the present application is generally executed by a computer device with certain computing capabilities. In some possible implementation manners, the data presentation method may be implemented by a processor invoking computer-readable instructions stored in a memory.
图1为本申请实施例提供的一种数据展示方法的流程图,该方法应用于客户端应用平台,该客户端应用平台可以为小程序应用平台或者Web端应用平台,或者还可以是独立的应用程序。Fig. 1 is a flow chart of a data display method provided by the embodiment of the present application, the method is applied to a client application platform, and the client application platform can be a small program application platform or a Web application platform, or can also be an independent application.
在本申请实施例的技术方案中,基于该客户端应用平台(例如,小程序应用平台或者Web端应用平台)展示瓶体和该瓶体所关联的实体物品所对应的物品组合所触发展示的AR特效,可以实现在不用安装相应应用程序APP的情况下完成AR特效的展示。例如,在社交平台中打开小程序应用平台,进而在该小程序中拍摄实景图像,并展示AR特效;或者,在浏览器中打开Web端应用平台,进而在该Web端拍摄实景图像,并展示AR特效。因此,本申请实施例 的技术方案通过小程序或者wed端展示AR特效,可以省略对应的应用程序APP的下载过程,从而简化AR特效的展示流程。In the technical solution of the embodiment of the present application, based on the client application platform (for example, a small program application platform or a Web application platform), the display of the bottle body and the item combination corresponding to the physical item associated with the bottle body is triggered. AR special effects can realize the display of AR special effects without installing the corresponding application APP. For example, open a small program application platform on a social platform, and then take real-scene images in the small program, and display AR special effects; or open a web-side application platform in a browser, and then take real-scene images on the web side, and display AR special effects. Therefore, the technical solution of the embodiment of the present application displays the AR special effects through the applet or the wed terminal, and can omit the download process of the corresponding application program APP, thereby simplifying the display process of the AR special effects.
在本申请实施例中,所述图1中的数据展示方法包括步骤S101~S105,其中:In the embodiment of the present application, the data presentation method in FIG. 1 includes steps S101-S105, wherein:
S101,展示增强现实AR设备采集到的包含瓶体的实景图像。S101, displaying a real-scene image including a bottle collected by an augmented reality AR device.
在本申请实施例中,可以通过计算机设备执行步骤S101~S105。In the embodiment of the present application, steps S101 to S105 may be performed by a computer device.
这里,用于展示实景图像的计算机设备与采集该实景图像的AR设备可以为相同的设备,还可以为不相同的设备。Here, the computer device for displaying the real-scene image and the AR device for capturing the real-scene image may be the same device, or may be different devices.
在本申请实施例中,AR设备可以为AR穿戴设备,AR手持设备等支持AR技术的终端设备。In this embodiment of the application, the AR device may be an AR wearable device, an AR handheld device, and other terminal devices supporting AR technology.
在一个可选的实施方式中,AR手持设备(例如,AR智能终端)可以采集该实景图像,并在AR设备上展示该实景图像。In an optional implementation manner, an AR handheld device (for example, an AR smart terminal) may collect the real-scene image, and display the real-scene image on the AR device.
在一个可选的实施方式中,AR手持设备(例如,AR智能终端)可以采集该实景图像;然后,AR手持设备可以基于与AR穿戴设备之间的通信连接,将该实景图像发送至AR穿戴设备中进行展示。In an optional implementation, the AR handheld device (for example, an AR smart terminal) can collect the real scene image; then, the AR handheld device can send the real scene image to the AR wearable device based on the communication connection with the AR wearable device. displayed on the device.
在本申请实施例中,瓶体可以为携带水或者盛放水的容器,瓶体的材质可以任意一种类型的材质,例如,塑料材质、玻璃材质、铁质、陶瓷材质等。例如,瓶体可以饮料瓶、任意一种类型的铁质(或者玻璃材质,或者塑料材质)的储瓶体。本申请实施例对瓶体的材质和形态不作限定。In the embodiment of the present application, the bottle body may be a container for carrying water or containing water, and the material of the bottle body may be any type of material, for example, plastic material, glass material, iron material, ceramic material and the like. For example, the bottle body can be a beverage bottle, any type of iron (or glass material, or plastic material) storage bottle body. The embodiment of the present application does not limit the material and shape of the bottle body.
S103,在检测到所述实景图像中与瓶体相关联的实体物品发生变化的情况下,确定所述瓶体和变化之后的实体物品所触发展示的第一AR特效。S103. In a case where a change in the physical item associated with the bottle body in the real-scene image is detected, determine a first AR special effect triggered by the bottle body and the changed physical item.
在获取到包含瓶体的实景图像之后,可以检测实景图像中与瓶体相关联的实体物品是否发生了变化。如果检测到发生了变化,则确定瓶体和变化之后的实体物品所触发展示的第一AR特效。After the real-scene image containing the bottle is acquired, it can be detected whether the physical item associated with the bottle in the real-scene image has changed. If a change is detected, the first AR special effect triggered by the bottle body and the changed physical item is determined.
这里,实体物品发生变化可以理解为以下至少之一:实景图像中实体物品的新增、实景图像中实体物品的删减、实景图像中实体物品放置状态的变化。实体物品的放置状态的变化可以理解为以下至少之一:打开实体物品的瓶盖、盖合实体物品的瓶盖、将实体物品放置在载体上、将实体物品从载体上取下、将实体物品倾斜放置等任意一种放置状态的变化。Here, the change of the physical item can be understood as at least one of the following: addition of the physical item in the real-scene image, deletion of the physical item in the real-scene image, or change of the placement status of the physical item in the real-scene image. The change of the placement state of the physical object can be understood as at least one of the following: opening the bottle cap of the physical object, closing the bottle cap of the physical object, placing the physical object on the carrier, removing the physical object from the carrier, placing the physical object Changes in any placement state such as inclined placement.
除此之外,实体物品的放置状态的变化还可以为其他任意一种类型的放置状态的变化,本申请实施例不再一一列举。In addition, the change of the placement status of the physical item may also be any other type of placement status change, which will not be listed one by one in the embodiment of the present application.
实体物品可以为瓶体,或者可以为除瓶体之外的其他物品。The physical item may be a bottle body, or may be other items other than the bottle body.
在实体物品为瓶体的情况下,该实体物品可以是与实景图像中的瓶体编号不同的瓶体,或者是与实景图像中的瓶体规格不同的瓶体,或者是与实景图像中的瓶体种类不同的瓶体。In the case that the physical item is a bottle, the physical item can be a bottle with a different number from the bottle in the real image, or a bottle with a different specification from the bottle in the real image, or a bottle with a different specification from the bottle in the real image. Bottles with different types of bottles.
除此之外,实体物品还可以物品的组合,该组合可以为三维物品和二维平面物体的组合,还可以为三维物品和三维物品的组合,还可以为二维平面物体和二维平面物体的组合。例如,该组合可以是瓶体和非瓶体的三维物品的结合,还可以为多个非瓶体的三维物品的结合。In addition, the physical item can also be a combination of items. The combination can be a combination of a three-dimensional item and a two-dimensional plane object, or a combination of a three-dimensional item and a three-dimensional item, or a two-dimensional plane object and a two-dimensional plane object. The combination. For example, the combination may be a combination of a bottle and a non-bottle three-dimensional object, or a combination of multiple non-bottle three-dimensional objects.
在本申请实施例中,二维平面物体可以为明信片、入场券、宣传单等类型 的卡片类物体。除此之外,除目标瓶体之外的实体物品还可以为其他类型的物体,本申请实施例对此不作限定。In the embodiment of the present application, the two-dimensional planar object may be a card-like object such as a postcard, an admission ticket, or a leaflet. In addition, the physical object other than the target bottle may also be other types of objects, which is not limited in this embodiment of the present application.
S105,在所述AR设备的特效展示界面上展示所述第一AR特效。S105. Display the first AR special effect on a special effect display interface of the AR device.
在本申请实施例中,在检测到实景图像中与瓶体相关联的实体物品发生了变化的情况下,可以确定瓶体和变化之后的实体物品所触发展示的第一AR特效,并在特效展示页面中展示该第一AR特效。通过上述处理方式,可以实现基于瓶体和该瓶体所关联的实体物品的物品组合的改变来触发展示不同的AR特效,通过上述处理方式可以丰富AR特效的触发条件,还可以实现用户和瓶体之间的AR交互。在增加用户趣味性的同时,可以提高用户对AR技术的使用体验,满足用户的多样化用户需求,并且还能够对瓶体的相关信息进行广泛推广。In the embodiment of the present application, when it is detected that the physical item associated with the bottle in the real scene image has changed, it can be determined that the first AR special effect triggered by the bottle and the changed physical item is displayed, and the special effect The first AR special effect is displayed on the display page. Through the above processing method, it is possible to trigger and display different AR special effects based on the change of the item combination of the bottle body and the physical item associated with the bottle body. Through the above processing method, the trigger conditions of AR special effects can be enriched, and users and bottles can also be realized. AR interaction between objects. While increasing the user's interest, it can improve the user's experience of using AR technology, meet the diverse user needs of the user, and can also widely promote the relevant information of the bottle.
下面将对上述步骤S101至步骤S105进行详细说明。The above step S101 to step S105 will be described in detail below.
在一种可选的实施方式中,上述步骤S101,展示增强现实AR设备采集到的包含瓶体的实景图像,包括如下过程:In an optional implementation manner, the above step S101, displaying the real scene image including the bottle body collected by the augmented reality AR device, includes the following process:
步骤S1011,响应于H5页面的加载请求,加载并在所述AR设备的显示界面上显示所述H5页面,其中,所述H5页面中包含提示用户跳转至特效展示页面的提示信息;Step S1011, in response to the loading request of the H5 page, load and display the H5 page on the display interface of the AR device, wherein the H5 page includes prompt information prompting the user to jump to the special effect display page;
步骤S1012,响应于对所述H5页面中的提示信息的触发操作,跳转至所述特效展示页面,并在所述特效展示页面上展示所述实景图像。Step S1012, jumping to the special effect display page in response to a trigger operation on the prompt information in the H5 page, and displaying the real scene image on the special effect display page.
图2为本申请实施例提供的一种特效展示页面的效果示意图,在本申请实施例中,AR设备响应于用户发起的扫描指令,开始扫描瓶体,并在扫描到瓶体的标识码的情况下,发起H5页面的加载请求。此时,AR设备向服务器请求加载该H5页面,并将服务器返回的H5页面显示在AR设备的显示界面上,此时,如图2所示,将在AR设备的显示界面上显示用于提示用户跳转至目标浏览器的提示信息。其中,该目标浏览器的web页面为用于展示相应特效的特效展示页面。Figure 2 is a schematic diagram of a special effect display page provided by the embodiment of the present application. In the embodiment of the present application, the AR device starts to scan the bottle body in response to the scanning instruction initiated by the user, and when the identification code of the bottle body is scanned In this case, initiate a loading request for the H5 page. At this time, the AR device requests the server to load the H5 page, and displays the H5 page returned by the server on the display interface of the AR device. At this time, as shown in Figure 2, it will be displayed on the display interface of the AR device for prompting The prompt information for the user to jump to the target browser. Wherein, the web page of the target browser is a special effect display page for displaying corresponding special effects.
这里,标识码可以为瓶体本身,还可以为与瓶体具有相对位置关系的标识。例如,该标识码可以为粘贴在瓶体上的标识,还可以为粘贴在瓶体载体上的标识,还可以为与瓶体独立设置的标识。Here, the identification code may be the bottle body itself, or an identification having a relative positional relationship with the bottle body. For example, the identification code may be a logo pasted on the bottle body, may also be a logo pasted on the bottle body carrier, or may be a logo set independently from the bottle body.
当标识码为与瓶体具有相对位置关系的标识时,该标识码可以为绘制着一定规格形状的模板卡片或者二维码,例如,如图2所示。除此之外,还可以为其他的标识,本申请实施例对此不作限定。When the identification code is an identification having a relative positional relationship with the bottle body, the identification code may be a template card or a two-dimensional code drawn with a certain specification and shape, for example, as shown in FIG. 2 . In addition, other identifiers may also be used, which are not limited in this embodiment of the present application.
在用户点击该H5页面上的提示信息之后,确定检测到用户针对H5页面中的提示信息的触发操作。此时,响应于该触发操作,跳转至目标浏览器的web页面(也即,特效展示页面),并在该web页面中展示强现实AR设备采集到的包含瓶体的实景图像。After the user clicks the prompt information on the H5 page, it is determined that a user's trigger operation on the prompt information in the H5 page is detected. At this point, in response to the trigger operation, jump to the web page of the target browser (that is, the special effect display page), and display the real-scene image of the bottle body collected by the augmented reality AR device on the web page.
上述实施方式中,通过加载H5页面,并通过对H5页面中的提示信息执行相应的触发操作,从而跳转至特效展示页面来展示实景图像的方式,可以在不用下载相应客户端的同时展示出瓶体的AR特效,从而节省了AR设备的设备内存的同时,还可以简化用户操作,提高用户使用本申请实施例所提供的数据 展示方法的用户体验。In the above embodiment, by loading the H5 page, and performing corresponding trigger operations on the prompt information in the H5 page, thereby jumping to the special effect display page to display the real scene image, the bottle can be displayed without downloading the corresponding client. The AR special effect of the body, thereby saving the device memory of the AR device, can also simplify the user operation, and improve the user experience of the user using the data display method provided by the embodiment of the present application.
除了上述S1011至S1012所描述的展示实景图像的方法之外,还可以通过下述所描述的方式展示实景图像,过程描述如下:In addition to the methods for displaying real-scene images described in S1011 to S1012 above, real-scene images can also be displayed in the following manner, and the process is described as follows:
在AR设备所安装的能够支持打开小程序的客户端中打开该AR小程序。在打开该小程序之后,进入到特效展示页面,并在该特效展示页面中展示AR设备采集到的包含该瓶体的实景图像。Open the AR applet in the client installed on the AR device that supports opening the applet. After opening the applet, enter the special effect display page, and display the real image of the bottle collected by the AR device on the special effect display page.
在本申请实施例中,在展示出AR设备采集到的包含瓶体的实景图像之后,就可以检测实景图像中与瓶体相关联的实体物品是否发生了变化。如果检测到实景图像中与瓶体相关联的实体物品发生了变化,则确定瓶体变化之后的实体物品所触发展示的第一AR特效。In the embodiment of the present application, after displaying the real-scene image including the bottle captured by the AR device, it can be detected whether the physical item associated with the bottle in the real-scene image has changed. If it is detected that the physical item associated with the bottle in the real-scene image has changed, it is determined that the physical item after the change of the bottle triggers the displayed first AR special effect.
在一个可选的实施方式中,检测到所述实景图像中与瓶体相关联的实体物品发生变化,包括如下过程:In an optional implementation manner, detecting that the physical item associated with the bottle in the real-scene image changes, includes the following process:
步骤S11,确定所述实景图像中与所述瓶体相关联的目标标识码;Step S11, determining the target identification code associated with the bottle body in the real-scene image;
步骤S12,在检测到所述目标标识码发生变化的情况下,确定所述实景图像中与所述瓶体相关联的实体物品发生了变化。Step S12, if it is detected that the target identification code has changed, it is determined that the physical item associated with the bottle in the real-scene image has changed.
在本申请实施例中,在采集到实景图像,并在AR设备的特效展示页面展示出该实景图像之后,可以对该实景图像进行标识码的检测,以根据检测结果确定实景图像中与瓶体相关联的目标标识码。In the embodiment of the present application, after the real scene image is collected and displayed on the special effect display page of the AR device, the identification code of the real scene image can be detected to determine the bottle body in the real scene image according to the detection result. The associated target identifier.
这里,标识码可以是实体物品本身,或者第二标识也可以是在实体物品上附加的标识。Here, the identification code may be the physical item itself, or the second identification may also be an identification attached to the physical item.
这里,如果实景图像中包含多个瓶体,需要确定实景图像中与每个瓶体相关联的目标标识码,检测过程描述如下:Here, if the real scene image contains multiple bottles, it is necessary to determine the target identification code associated with each bottle in the real scene image, and the detection process is described as follows:
在一个可选的实施方式中,可以对实景图像进行实体物品的检测,得到检测结果,其中,该检测结果中包含:每个实体物品在实景图像中的位置,以及每个实体物品的特征信息。此时,可以将特征信息作为每个实体物品的标识码,并在确定出的标识码中确定与瓶体相关联的目标标识码。例如,可以通过在数据表中查询的方式确定目标标识码。其中,数据表中包含与每个瓶体相关联的各个实体物品的标识码(即,特征信息)。In an optional embodiment, the real-scene image can be used to detect the physical object to obtain the detection result, wherein the detection result includes: the position of each physical object in the real-scene image, and the feature information of each physical object . At this time, the feature information can be used as the identification code of each physical item, and the target identification code associated with the bottle body can be determined from the identified identification codes. For example, the target identification code can be determined by querying the data table. Wherein, the data table includes the identification codes (ie, characteristic information) of each physical item associated with each bottle.
在另一个可选的实施方式中,可以检测实体物品上设置的标识码,其中,该标识码可以为二维码,条形码等形式的标记;然后通过在数据表中查询的方式在检测出的标识码中确定目标标识码。其中,数据表中包含与每个瓶体相关联的各个实体物品的标识码(即,二维码,条形码等信息)。In another optional embodiment, the identification code set on the physical item can be detected, wherein the identification code can be a mark in the form of a two-dimensional code, a bar code, etc.; The target identification code is determined in the identification code. Wherein, the data table includes the identification codes (ie, two-dimensional codes, barcodes and other information) of each physical item associated with each bottle.
在本申请实施例中,在确定出实景图像中瓶体所关联的目标标识码之后,就可以判断目标标识码是否发生了变化。如果判断出发生了变化,则确定实景图像中与瓶体相关联的实体物品发生了变化。In the embodiment of the present application, after the target identification code associated with the bottle body in the real-scene image is determined, it can be determined whether the target identification code has changed. If it is determined that a change has occurred, it is determined that the physical item associated with the bottle in the real-scene image has changed.
在确定出与瓶体相关联的实体物品发生了变化之后,还可以根据目标标识码的变化类型,确定实体物品的变化类型。例如,如果检测到目标标识码的变化类型为:目标标识码的新增,则确定实体物品的变化类型为:实体物品的新增;如果检测到目标标识码的变化类型为:目标标识码的删减,则确定实体物品的变化类型为:实体物品的删减。After it is determined that the physical item associated with the bottle body has changed, the change type of the physical item may also be determined according to the change type of the target identification code. For example, if it is detected that the change type of the target identification code is: new addition of the target identification code, then it is determined that the change type of the physical item is: new addition of the physical item; if the change type of the detected target identification code is: new addition of the target identification code Deletion, then determine the change type of the physical item as: deletion of the physical item.
在确定出实体物品的变化类型之后,就可以确定该变化类型确定该瓶体和变化之后的实体物品所触发展示的第一AR特效,并在AR设备的特效展示界面上展示该第一AR特效。After determining the change type of the physical item, the change type can be determined to determine the first AR special effect triggered by the bottle and the changed physical item, and display the first AR special effect on the special effect display interface of the AR device .
例如,当实体物品的变化类型为实体物品的新增,那么所触发展示的第一AR特效可以为当前时刻所展示的AR特效和新增实体物品所对应AR特效的融合特效。当实体物品状态的变化类型为实体物品的删减,那么所触发展示的第一AR特效可以为取消该删减实体物品所对应的AR特效之后的第一AR特效。当实体物品状态的变化为实体物品放置状态的变化,那么该第一AR特效可以为该实体物品放置状态的变化过程所对应的AR特效。For example, when the change type of the physical item is the addition of the physical item, the first AR special effect that is triggered to be displayed may be a fusion effect of the AR special effect displayed at the current moment and the AR special effect corresponding to the newly added physical item. When the change type of the state of the physical item is deletion of the physical item, the first AR special effect that is triggered to be displayed may be the first AR special effect after canceling the AR special effect corresponding to the deleted physical item. When the change in the state of the physical item is a change in the placement state of the physical item, then the first AR special effect may be an AR special effect corresponding to the change process of the placement state of the physical item.
在一个可选的实施方式中,可以通过以下所描述的方式判断目标标识码是否发生了变化,包括:In an optional implementation, it may be determined whether the target identification code has changed in the following ways, including:
首先,检测实景图像中目标标识码的数量是否发生了变化。若发生了变化,则在实景图像中对目标标识码进行图像识别,从而根据图像识别结果确定目标标识码的变化类型。若确定出目标标识码的数量未发生变化,则可以设定每隔几帧在实景图像中对目标标识码的数量进行检测,并在检测出目标标识码的数量发生变化的情况下,对目标标识码进行图像识别,以根据图像识别结果确定目标标识码的变化类型。First, detect whether the number of target identification codes in the real-scene image has changed. If there is a change, image recognition is performed on the target identification code in the real-scene image, so as to determine the change type of the target identification code according to the image recognition result. If it is determined that the number of target identification codes has not changed, it can be set to detect the number of target identification codes in the real scene image every few frames, and when the number of target identification codes is detected to change, the target The identification code is subjected to image recognition, so as to determine the change type of the target identification code according to the image recognition result.
上述实施方式中,由于一个实体物品对应一个标识码,且预先设置了瓶体和目标标识码之间的关联关系,因此,通过确定实景图像中瓶体所关联的目标标识码的变化类型,来确定实景图像中实体物品是否发生了变化的方式,能够快速检测实体物品的变化,从而快速的确定瓶体和状态变化之后的实体物品所触发展示的AR特效,进而提高了用户的使用体验。In the above embodiment, since a physical item corresponds to an identification code, and the association between the bottle body and the target identification code is preset, by determining the change type of the target identification code associated with the bottle body in the real scene image, the The method of determining whether the physical item in the real-scene image has changed can quickly detect the change of the physical item, thereby quickly determining the AR special effect triggered by the bottle body and the physical item after the status change, thereby improving the user experience.
在另一个可选的实施方式中,检测到所述实景图像中与瓶体相关联的实体物品发生变化,还包括如下过程:In another optional implementation manner, detecting that the physical item associated with the bottle in the real-scene image changes, further includes the following process:
步骤S21,对所述实景图像进行图像处理,得到所述实景图像中与所述瓶体相关联的实体物品的图像检测结果;Step S21, performing image processing on the real-scene image to obtain an image detection result of a physical object associated with the bottle in the real-scene image;
步骤S22,根据所述图像检测结果确定所述实景图像中所述实体物品的变化信息。Step S22, determining change information of the physical item in the real-scene image according to the image detection result.
在本申请实施例中,除了上述步骤S11和步骤S12所描述的检测瓶体的状态发生的方式之外,还可以通过步骤S21和步骤S22所描述的检测瓶体的状态发生。In this embodiment of the present application, in addition to the way of detecting the state of the bottle body described in the above step S11 and step S12, the state of the bottle body described in step S21 and step S22 can also be detected.
针对上述步骤S11和步骤S12来说,如果检测到目标标识码未发生变化,还可以通过步骤S21和步骤S22所描述的方式检测与瓶体相关联的实体物品是否发生了变化。For the above step S11 and step S12, if it is detected that the target identification code has not changed, it is also possible to detect whether the physical item associated with the bottle has changed in the manner described in step S21 and step S22.
通过上述描述可知,实体物品发生变化可以理解为以下至少之一:实景图像中实体物品的新增、实景图像中实体物品的删减、实景图像中实体物品放置状态的变化。当实体物品的放置状态发生变化时,目标标识码可以未发生变化(例如,数量未发生变化)。为了能够准确的检测出实体物品的变化,可以通过步骤S21和步骤S22所描述的检测与瓶体相关联的实体物品是否发生了变化,过程描述如下:From the above description, it can be seen that the change of the physical item can be understood as at least one of the following: addition of the physical item in the real-scene image, deletion of the physical item in the real-scene image, or change of the placement status of the physical item in the real-scene image. When the placement state of the physical item changes, the target identification code may not change (for example, the quantity does not change). In order to accurately detect the change of the physical item, it is possible to detect whether the physical item associated with the bottle has changed through the steps S21 and S22. The process is described as follows:
在本申请实施例中,预先在数据库中存储了与该瓶体相关联的全部实体物品的物品信息,其中,该物品信息可以为该实体物品在各种放置状态下的至少一张物品图像,还可以为该实体物品在各种放置状态下的物品特征信息。In the embodiment of the present application, the item information of all physical items associated with the bottle body is pre-stored in the database, wherein the item information may be at least one item image of the physical item in various placement states, It may also be item feature information of the physical item in various placement states.
这里,可以通过图像处理模型对实景图像进行图像处理,从而得到实景图像中所包含的全部实体物品的物品信息,例如,可以为每个实体物品的物品图像或者该实体物品的物品特征信息。Here, image processing may be performed on the real-scene image through an image processing model to obtain item information of all physical items included in the real-scene image, for example, an item image of each physical item or item feature information of the physical item.
在确定出全部实体物品的物品信息之后,就可以将该物品信息与数据库中的物品信息进行比较,从而在全部实体物品中确定与该瓶体相关联的实体物品。之后,可以结合上一时刻确定出的与该瓶体相关联的实体物品,确定与瓶体相关联的实体物品是否发生了变化。After the item information of all the physical items is determined, the item information can be compared with the item information in the database, so as to determine the physical item associated with the bottle among all the physical items. Afterwards, it may be determined whether the physical item associated with the bottle has changed in combination with the determined physical item associated with the bottle at the previous moment.
在确定出与瓶体相关联的实体物品发生了变化之后,就可以根据实体物品的变化类型,确定该瓶体和变化之后的实体物品所触发展示的第一AR特效,并在AR设备的特效展示界面上展示该第一AR特效。After it is determined that the physical item associated with the bottle has changed, the first AR special effect triggered by the bottle and the changed physical item can be determined according to the change type of the physical item, and the special effect in the AR device The first AR special effect is displayed on the display interface.
上述实施方式中,通过对实景图像进行图像处理,可以对与瓶体相关联的实体物品的多种状态变化进行检测,从而触发展示更加多样的AR特效,以提高用户使用体验。In the above embodiments, by performing image processing on the real-scene image, various state changes of physical items associated with the bottle can be detected, thereby triggering the display of more diverse AR special effects to improve user experience.
在检测到所述实景图像中与瓶体相关联的实体物品发生变化的情况下,针对步骤S103中的步骤:确定所述瓶体和变化之后的实体物品所触发展示的第一AR特效,包括如下过程:When it is detected that the physical item associated with the bottle in the real scene image has changed, for the step in step S103: determining the first AR special effect triggered by the bottle and the changed physical item, including The following process:
S1031,确定所述实体物品的变化类型,其中,所述变化类型包括以下至少之一:实体物品的新增、实体物品的删减、实体物品的放置状态的变化;S1031. Determine a change type of the physical item, wherein the change type includes at least one of the following: addition of a physical item, deletion of a physical item, or change of a placement state of a physical item;
S1032,根据所述变化类型确定所述瓶体和变化之后的实体物品所触发展示的第一AR特效。S1032. Determine, according to the change type, the first AR special effect triggered by the display of the bottle body and the changed physical item.
在本申请实施例中,在确定出与瓶体相关联的实体物品发生了变化之后,可以确定实体物品的变化类型,进而根据与该变化类型确定第一AR特效。In the embodiment of the present application, after it is determined that the physical item associated with the bottle has changed, the change type of the physical item may be determined, and then the first AR special effect may be determined according to the change type.
这里,变化类型包括以下至少之一:实体物品的新增、实体物品的删减、实体物品放置状态的变化。针对每一种变化类型,可以对应设置一种或多种子类型。Here, the change type includes at least one of the following: addition of physical items, deletion of physical items, and change of placement status of physical items. For each change type, one or more subtypes can be set correspondingly.
例如,变化类型为实体物品的新增,则该变化类型所对应的子类型可以为根据以下数据维度确定的子类型:新增实体物品的数量、新增实体物品的种类、新增实体物品的增加顺序等。For example, if the change type is the addition of physical items, the subtype corresponding to the change type can be a subtype determined according to the following data dimensions: the number of new physical items, the type of new physical items, the number of new physical items increasing order etc.
例如,变化类型为实体物品的删减,则该变化类型所对应的子类型可以为根据以下数据维度确定的子类型:删减实体物品的数量、删减实体物品的种类、删减实体物品的删减顺序等。For example, if the change type is the deletion of physical items, the subtype corresponding to the change type can be a subtype determined according to the following data dimensions: the number of deleted physical items, the type of deleted physical items, the number of deleted physical items order of deletion, etc.
针对每个变化类型的子类型,可以对应设置一种或多种AR特效。且任意一个变化类型中不同子类型所对应的AR特效不完全相同。One or more AR special effects can be correspondingly set for each subtype of the change type. And the AR special effects corresponding to different subtypes in any variation type are not exactly the same.
在本申请实施例中,在确定出实体物品的变化类型之后,可以确定该变化类型所属的至少一个子类型,然后,在该至少一个子类型中确定实体物品的变化过程所属的目标子类型,并根据确定出的目标子类型,确定瓶体和变化之后的实体物品所触发展示的第一AR特效。In the embodiment of the present application, after the change type of the physical item is determined, at least one subtype to which the change type belongs may be determined, and then, in the at least one subtype, the target subtype to which the change process of the physical item belongs is determined, And according to the determined target subtype, determine the first AR special effect triggered by the bottle body and the changed physical item.
在一个可选的实施方式中,如果确定实体物品的变化类型的数量为多个,则可以针对每个变化类型确定一个相匹配的AR特效,然后,根据确定出的多个变化类型,确定瓶体和变化之后的实体物品所触发展示的第一AR特效。In an optional implementation, if it is determined that there are multiple variation types of the physical item, a matching AR special effect may be determined for each variation type, and then, according to the determined variation types, determine the bottle The first AR special effects displayed are triggered by the body and the changed physical items.
上述实施方式中,通过确定实体物品的变化类型触发不同类型的AR特效的方式,可以对第一AR特效的触发方式进行更加详细的划分,在丰富了AR特效的触发方式的同时,还可以为用户带来更加细腻的用户体验。In the above embodiments, by determining the way in which different types of AR special effects are triggered by the change type of the physical item, the triggering method of the first AR special effect can be divided in more detail. While enriching the triggering methods of AR special effects, it can also provide Users bring a more delicate user experience.
针对上述步骤S1032,根据所述变化类型确定所述瓶体和变化之后的实体物品所触发展示的第一AR特效,包括如下过程:For the above step S1032, determine the first AR special effect triggered by the bottle and the physical item after the change according to the change type, including the following process:
(1)、确定与所述变化类型相匹配的目标AR特效;(1) Determine the target AR special effect matching the change type;
(2)、将所述目标AR特效和初始AR特效的融合AR特效确定为所述第一AR特效,所述初始AR特效为所述实景图像中的实体物品发生变化之前在所述特效展示界面上所展示的AR特效。(2) Determine the fused AR special effect of the target AR special effect and the initial AR special effect as the first AR special effect, and the initial AR special effect is displayed on the special effect display interface before the physical item in the real-scene image changes The AR effects shown above.
在一个可选的实施方式中,在根据所述变化类型确定出所述实景图像中包含新增实体物品的情况下,确定与所述新增实体物品相匹配的目标AR特效。此时,还可以根据新增实体物品的类型确定目标AR特效。In an optional implementation manner, in a case where it is determined according to the change type that the real-scene image contains a newly added physical item, a target AR special effect matching the newly added physical item is determined. At this time, the target AR special effect may also be determined according to the type of the newly added physical item.
在一些实施例中,可以按照实体物品属性参数对实体物品的类型进行划分,例如,该实体物品属性参数可以包含以下至少之一:实体物品的种类、实体物品的颜色、实体物品的功能、实体物品的图案、实体物品的大小等。In some embodiments, the types of physical items can be classified according to the attribute parameters of the physical items. For example, the attribute parameters of the physical items can include at least one of the following: the type of the physical item, the color of the physical item, the function of the physical item, the entity The pattern of the item, the size of the physical item, etc.
例如,如果确定出该实体物品为儿童类瓶体,则可以确定与该“儿童类瓶体”相匹配的目标AR特效。如果确定出该实体物品为“XXX运动赛事的纪念瓶体”,则可以确定与该“XXX运动赛事”相匹配的目标AR特效。For example, if it is determined that the physical item is a children's bottle, a target AR special effect matching the "children's bottle" may be determined. If it is determined that the physical item is "the commemorative bottle of the XXX sports event", the target AR special effect matching the "XXX sports event" can be determined.
在确定出目标AR特效之后,可以根据目标AR特效,以及初始AR特效的特效类型,将目标AR特效和初始AR特效进行融合,并将融合之后的融合AR特效确定为第一AR特效。After the target AR special effect is determined, the target AR special effect and the initial AR special effect may be fused according to the target AR special effect and the special effect type of the initial AR special effect, and the fused AR special effect after fusion may be determined as the first AR special effect.
这里,融合可以理解为将目标AR特效和初始AR特效进行顺序连接,连接为第一AR特效。该融合还可以理解为将目标AR特效和初始AR特效进行特效内容的融合,得到第一AR特效。Here, fusion can be understood as sequentially connecting the target AR special effect and the initial AR special effect to form the first AR special effect. The fusion can also be understood as merging the special effect content of the target AR special effect and the initial AR special effect to obtain the first AR special effect.
上述实施方式中,通过将目标AR特效与初始AR特效进行特效融合,得到第一AR特效的方式,可以实现基于瓶体及其所对应的实体物品的物品组合的改变来触发展示不同的AR特效,通过上述处理方式可以在增加用户趣味性的同时,可以提高用户对AR技术的使用体验,满足用户的多样化用户需求,并且还能够对瓶体的相关信息进行广泛推广。In the above embodiment, by combining the target AR special effect with the initial AR special effect to obtain the first AR special effect, it is possible to trigger the display of different AR special effects based on the change of the item combination of the bottle body and its corresponding physical item , through the above-mentioned processing method, while increasing the interest of the user, the user experience of the AR technology can be improved, the diversified user needs of the user can be met, and the relevant information of the bottle body can also be widely promoted.
在一个可选的实施方式中,在基于所述变化类型确定出所述实景图像中实体物品的放置状态发生了变化的情况下,根据与该实体物品的放置状态的变化过程相匹配的目标AR特效确定所述第一AR特效。In an optional embodiment, when it is determined based on the change type that the placement state of the physical item in the real-scene image has changed, according to the target AR that matches the change process of the placement state of the physical item The special effect determines the first AR special effect.
这里,可以将目标AR特效和初始AR特效的融合AR特效确定为第一AR特效。Here, the fused AR special effect of the target AR special effect and the initial AR special effect may be determined as the first AR special effect.
假设,实体物品为另外一个瓶体,且该实体物品的放置状态的变化过程为:实体物品的瓶盖闭合-实体物品的瓶盖打开,则确定与该变化过程相匹配的目标AR特效。例如,该目标AR特效可以为瓶体中的水向外喷出的AR特效。Assuming that the physical item is another bottle, and the change process of the placement state of the physical item is: the bottle cap of the physical item is closed-the bottle cap of the physical item is opened, then determine the target AR special effect matching the change process. For example, the target AR special effect may be an AR special effect in which water in the bottle body sprays out.
图3为本申请实施例提供的第二种特效展示页面的效果示意图,若初始AR特效为“小海豚从瓶体内向外喷射”的AR特效,那么如图3所示,当实体物品的放置状态的变化过程为:实体物品的瓶盖闭合-实体物品的瓶盖打开,第一AR特效可以为初始AR特效和目标AR特效的融合特效:即水从实体物品向外喷射,且小海豚从瓶体内向外喷射。Figure 3 is a schematic diagram of the effect of the second special effect display page provided by the embodiment of the present application. If the initial AR special effect is the AR special effect of "little dolphin sprays out from the bottle", then as shown in Figure 3, when the physical item is placed The state change process is: the bottle cap of the physical object is closed-the bottle cap of the physical object is opened, and the first AR special effect can be a fusion effect of the initial AR special effect and the target AR special effect: that is, water is sprayed from the physical object, and the little dolphin is released from the The inside of the bottle sprays outward.
假设,实体物品放置状态的变化过程为:实体物品的瓶盖打开-实体物品的瓶盖闭合,则确定与该变化过程相匹配的目标AR特效。例如,该目标AR特效可以为实体物品中的水向实体物品内收回的AR特效。Assuming that the change process of the placement state of the physical item is: the bottle cap of the physical item is opened-the bottle cap of the physical item is closed, then the target AR special effect matching the change process is determined. For example, the target AR special effect may be an AR special effect in which water in the physical object is retracted into the physical object.
上述实施方式中,通过根据与该实体物品的放置状态的变化过程相匹配的目标AR特效确定第一AR特效进行展示的方式,可以实现基于实体物品本身状态的改变来触发展示不同的AR特效,通过上述处理方式可以在增加用户趣味性的同时,可以提高用户对AR技术的使用体验,满足用户的多样化用户需求,并且还能够对瓶体的相关信息进行广泛推广。In the above embodiment, by determining the first AR special effect and displaying the first AR special effect according to the target AR special effect matched with the change process of the placement state of the physical item, it is possible to trigger the display of different AR special effects based on the change of the state of the physical item itself, Through the above-mentioned processing method, while increasing the interest of the user, the user experience of the AR technology can be improved, the diversified user needs of the user can be met, and the relevant information of the bottle body can also be widely promoted.
在检测到所述实景图像中与瓶体相关联的实体物品发生变化的情况下,针对步骤S103中的步骤:所述确定所述瓶体和变化之后的实体物品所触发展示的第一AR特效,还包括如下过程:When it is detected that the physical item associated with the bottle in the real scene image changes, for the step in step S103: the first AR special effect triggered by the determination of the bottle and the changed physical item is displayed , also includes the following process:
(1)、获取所述AR设备所属用户的用户信息;其中,所述用户信息包括以下至少之一:用户基本属性,AR设备的设备类型,该用户访问所述特效展示页面的访问次数、为该用户推送的历史AR特效;(1) Obtain the user information of the user to which the AR device belongs; wherein, the user information includes at least one of the following: basic user attributes, device type of the AR device, number of times the user visits the special effect display page, and Historical AR special effects pushed by the user;
(2)、确定与所述用户信息相匹配的至少一个第二AR特效;(2) Determine at least one second AR special effect matching the user information;
(3)、在所述至少一个第二AR特效中确定瓶体和变化之后的实体物品所触发展示的第一AR特效。(3) In the at least one second AR special effect, determine the first AR special effect triggered by the display of the bottle body and the changed physical item.
在本申请实施例中,可以在触发AR设备加载H5页面时,获取AR设备所属用户的用户信息。In this embodiment of the application, when the AR device is triggered to load the H5 page, the user information of the user to which the AR device belongs can be obtained.
这里,用户基本属性可以为以下至少之一:年龄、性别、爱好等属性信息。AR设备的设备类型可以为以下至少之一:头戴式AR设备,手持式AR设备。该用户访问所述特效展示页面的访问次数可以理解为:一段时间内,该用户访问特效展示页面(或者加载H5页面)的次数。为该用户推送的历史AR特效可以理解为:过去一段时间内,为该同一用户信息的用户推送AR特效的记录。Here, the basic attribute of the user may be at least one of the following: attribute information such as age, gender, and hobbies. The device type of the AR device may be at least one of the following: a head-mounted AR device, a handheld AR device. The number of times the user visits the special effect display page can be understood as: the number of times the user visits the special effect display page (or loads an H5 page) within a period of time. The historical AR special effects pushed for the user can be understood as: the record of pushing AR special effects for the user with the same user information in the past period of time.
在确定出用户信息之后,可以确定与该用户信息相匹配的至少一个第二AR特效。After the user information is determined, at least one second AR special effect matching the user information may be determined.
例如,可以根据不同的用户基本属性、不同的访问次数,历史AR特效,以及不同的设备类型为用户确定不同风格的第二AR特效。For example, different styles of second AR special effects may be determined for users according to different basic user attributes, different visit times, historical AR special effects, and different device types.
在确定出至少一个第二AR特效之后,就可以在至少一个第二AR特效中确定瓶体和变化之后的实体物品所触发展示的第一AR特效,过程描述如下:After at least one second AR special effect is determined, the first AR special effect triggered by the bottle body and the changed physical item can be determined in at least one second AR special effect. The process is described as follows:
可以确定实体物品的变化类型,进而根据该变化类型,在至少一个第二AR特效中确定与第一AR特效。The change type of the physical item may be determined, and then according to the change type, the at least one second AR special effect is determined to be the same as the first AR special effect.
针对每个第二AR特效,可以为其设置对应的特效标签,其中,该特效标签用于指示实体物品的变化类型。每个第二AR特效可以对应设置一个或多个特效标签,且不同第二AR特效所对应的特效标签不完全相同。For each second AR special effect, a corresponding special effect tag can be set for it, wherein the special effect tag is used to indicate the change type of the physical item. One or more special effect tags can be set corresponding to each second AR special effect, and the special effect tags corresponding to different second AR special effects are not completely the same.
此时,可以根据每个第二AR特效的特效标签确定与该变化类型相匹配的第二AR特效作为第一AR特效。At this time, the second AR special effect matching the change type may be determined as the first AR special effect according to the special effect tag of each second AR special effect.
上述实施方式中,通过确定与用户信息相匹配的至少一个第二AR特效,并在至少一个第二AR特效中确定第一AR特效的方式,可以实现不同的用户个性化定制不同风格的AR特效,以提高用户的使用体验。In the above embodiments, by determining at least one second AR special effect that matches the user information, and determining the first AR special effect among the at least one second AR special effect, different users can customize different styles of AR special effects. , to improve user experience.
在本申请实施例中,上述步骤:确定与所述用户信息相匹配的至少一个第二AR特效,包括如下过程:In the embodiment of the present application, the above step: determining at least one second AR special effect matching the user information includes the following process:
(1)、在所述用户信息中包含所述历史AR特效的情况下,在所述历史AR特效中确定最新一次为该用户推送的目标历史AR特效;(1) In the case that the user information includes the historical AR special effects, determine the latest target historical AR special effects pushed for the user in the historical AR special effects;
(2)、在多个预设AR特效中除所述目标历史AR特效之外的其他AR特效中确定所述至少一个第二AR特效。(2) Determine the at least one second AR special effect among the plurality of preset AR special effects other than the target historical AR special effect.
在本申请实施例中,如果用户信息中包含历史AR特效,则根据该历史AR特效确定最新一次为该用户推送的目标历史AR特效。然后,在特效库所包含的多个预设AR特效中除所述目标历史AR特效之外的其他AR特效中筛选与该用户信息相匹配的AR特效作为第二AR特效。In the embodiment of the present application, if the user information includes the historical AR special effect, the latest target historical AR special effect pushed for the user is determined according to the historical AR special effect. Then, among the plurality of preset AR special effects included in the special effect library, the AR special effect matching the user information is selected from other AR special effects except the target historical AR special effect as the second AR special effect.
在本申请实施例中,在获取到用户信息之后,还可以根据该用户信息在特效展示页面上展示第三AR特效,例如,第三AR特效可以为与该用户基本属性相同的其他用户的用户信息,例如,第三AR特效还可以为该用户推送的历史AR特效。In this embodiment of the application, after the user information is obtained, the third AR special effect can also be displayed on the special effect display page according to the user information. For example, the third AR special effect can be the user of another user with the same basic attributes as the user Information, for example, the third AR special effect may also be a historical AR special effect pushed by the user.
图4为本申请实施例提供的第三种特效展示页面的效果示意图,这里,可以通过如图4所示的方式进行展示。如图4所示,在特效展示页面的左上角,可以通过大小渐变的气泡的形式展示该其他用户。FIG. 4 is a schematic diagram of the effect of the third special effect display page provided by the embodiment of the present application. Here, the display may be performed as shown in FIG. 4 . As shown in FIG. 4 , in the upper left corner of the special effect display page, the other user may be displayed in the form of bubbles with gradually changing sizes.
上述实施方式中,通过上述处理方式,能够避免连续为用户推送相同的AR特效,从而能够提高用户的使用体验。In the above implementation manner, through the above processing manner, it is possible to avoid continuously pushing the same AR special effect for the user, thereby improving user experience.
在检测到所述实景图像中与瓶体相关联的实体物品发生变化的情况下,针对步骤S103中的步骤:所述确定所述瓶体和变化之后的实体物品所触发展示的第一AR特效,还包括如下过程:When it is detected that the physical item associated with the bottle in the real scene image changes, for the step in step S103: the first AR special effect triggered by the determination of the bottle and the changed physical item is displayed , also includes the following process:
(1)、确定变化之后的实体物品的物品类型,其中,所述物品类型包括:三维物体和/或二维平面物体;(1) Determine the item type of the physical item after the change, wherein the item type includes: a three-dimensional object and/or a two-dimensional planar object;
(2)、根据所述物品类型确定所述瓶体和变化之后的实体物品所触发展示的第一AR特效。(2) According to the item type, determine the first AR special effect triggered by the bottle body and the changed physical item.
在本申请实施例中,在确定与瓶体相关联的实体物品发生变化之后,可以确定变化之后的实体物品的物品类型是三维物体,还是二维平面物体。In the embodiment of the present application, after it is determined that the physical item associated with the bottle changes, it may be determined whether the item type of the changed physical item is a three-dimensional object or a two-dimensional planar object.
这里,可以通过每个实体物品所对应的标识码确定该实体物品所对应的物品类型。Here, the item type corresponding to the physical item can be determined through the identification code corresponding to each physical item.
例如,在标识码为实体物品本身的情况下,可以通过对实体物品本身的物品属性进行分析,来确定其物品类型。在标识码为附着在实体物品上的二维码的情况下,可以通过识别该二维码的信息来确定其物品类型。For example, in the case that the identification code is the physical item itself, its item type can be determined by analyzing the item attributes of the physical item itself. In the case that the identification code is a two-dimensional code attached to a physical item, the type of the item can be determined by identifying the information of the two-dimensional code.
在确定出物品类型之后,可以确定实体物品所触发展示的AR特效,记为AR特效1,并确定瓶体所触发展示的AR特效,记为AR特效2;之后,根据 物品类型,确定AR特效1和AR特效2的特效融合方式,之后,按照该特效融合方式将AR特效1和AR特效2进行融合,得到第一AR特效。After the item type is determined, the AR special effect triggered by the physical item can be determined, which is recorded as AR special effect 1, and the AR special effect triggered by the bottle body can be determined, which is recorded as AR special effect 2; after that, the AR special effect can be determined according to the item type 1 and AR special effect 2, and then, according to the special effect fusion method, AR special effect 1 and AR special effect 2 are fused to obtain the first AR special effect.
上述实施方式中,根据实体物品的物品类型确定该瓶体和变化之后的实体物品所触发展示的第一AR特效的方式,可以丰富该瓶体的AR特效的触发方式,提高用户使用体验。In the above embodiment, the method of triggering the display of the first AR special effect triggered by the bottle and the changed physical object is determined according to the item type of the physical object, which can enrich the triggering methods of the AR special effect of the bottle and improve user experience.
在检测到所述实景图像中与瓶体相关联的实体物品发生变化的情况下,针对步骤S103中的步骤:所述确定所述瓶体和变化之后的实体物品所触发展示的第一AR特效,还包括如下过程:When it is detected that the physical item associated with the bottle in the real scene image changes, for the step in step S103: the first AR special effect triggered by the determination of the bottle and the changed physical item is displayed , also includes the following process:
在检测到所述实景图像中的瓶体状态发生变化的情况下,确定变化之后的瓶体状态和变化之后的实体物品所触发展示的第一AR特效。In a case where a change in the state of the bottle body in the real-scene image is detected, the first AR special effect triggered by the changed state of the bottle body and the physical item after the change is determined.
在本申请实施例中,除了检测与该瓶体相关的实体物品的变化之后,还可以检测该瓶体的瓶体状态变化。其中,该瓶体状态变化可以理解为瓶体放置状态的变化,例如,瓶体的瓶盖打开变化为瓶盖闭合、瓶体的瓶盖闭合变化为瓶盖打开、瓶体的竖放变化为瓶体横放(或者倾斜放置)。In the embodiment of the present application, in addition to detecting changes in physical objects related to the bottle, changes in the state of the bottle may also be detected. Wherein, the change of the bottle state can be understood as the change of the bottle placement state, for example, the change of the bottle cap opening of the bottle body is the bottle cap closure, the change of the bottle cap closure of the bottle body is the bottle cap opening, and the vertical change of the bottle body is The bottle is placed horizontally (or placed obliquely).
在检测到瓶体状态发生变化之后,可以确定变化之后的瓶体状态所触发展示的AR特效,记为AR特效3,并确定变化之后的实体物品所触发展示的AR特效,记为AR特效4,之后,将AR特效3和AR特效4进行特效融合,得到第一AR特效。After the change of the bottle state is detected, the AR special effect triggered by the changed bottle state can be determined, which is recorded as AR special effect 3, and the AR special effect triggered by the changed physical object can be determined, which is recorded as AR special effect 4 , after that, the AR special effect 3 and the AR special effect 4 are combined to obtain the first AR special effect.
上述实施方式中,通过上述处理方式,可以实现基于瓶体本身状态的改变来触发展示不同的AR特效,通过上述处理方式可以在增加用户趣味性的同时,可以提高用户对AR技术的使用体验,满足用户的多样化用户需求,并且还能够对瓶体的相关信息进行广泛推广。In the above-mentioned embodiment, through the above-mentioned processing method, it is possible to trigger and display different AR special effects based on the change of the state of the bottle itself. Through the above-mentioned processing method, the user's experience of using AR technology can be improved while increasing the interest of the user. It can meet the diversified user needs of users, and can also widely promote the relevant information of the bottle body.
本领域技术人员可以理解,在实际实施方式的上述方法中,各步骤的撰写顺序并不意味着严格的执行顺序而对实施过程构成任何限定,各步骤的实际执行顺序应当以其功能和可能的内在逻辑确定。Those skilled in the art can understand that in the above method of actual implementation, the order of writing of each step does not mean a strict execution order and constitutes any limitation on the implementation process. The actual execution order of each step should be based on its function and possible The inner logic is OK.
基于同一发明构思,本申请实施例中还提供了与数据展示方法对应的数据展示装置,由于本申请实施例中的装置解决问题的原理与本申请实施例上述数据展方法相似,因此装置的实施可以参见方法的实施。Based on the same inventive concept, the embodiment of the present application also provides a data display device corresponding to the data display method. Since the problem-solving principle of the device in the embodiment of the present application is similar to the above-mentioned data display method in the embodiment of the present application, the implementation of the device See the implementation of the method.
图5为本申请实施例提供的一种数据展示装置的示意图,如图5所示,所述装置包括:第一展示单元51、确定单元52、第二展示单元53;其中,Fig. 5 is a schematic diagram of a data display device provided by an embodiment of the present application. As shown in Fig. 5, the device includes: a first display unit 51, a determination unit 52, and a second display unit 53; wherein,
第一展示单元51,配置为展示增强现实AR设备采集到的包含瓶体的实景图像;The first display unit 51 is configured to display the real scene image including the bottle collected by the augmented reality AR device;
确定单元52,配置为在检测到所述实景图像中与瓶体相关联的实体物品发生变化的情况下,确定所述瓶体和变化之后的实体物品所触发展示的第一AR特效;The determining unit 52 is configured to determine the first AR special effect triggered by the bottle and the changed physical item when it is detected that the physical item associated with the bottle in the real-scene image changes;
第二展示单元53,配置为在所述AR设备的特效展示界面上展示所述第一AR特效。The second display unit 53 is configured to display the first AR special effect on a special effect display interface of the AR device.
在本申请实施例中,在检测到实景图像中与瓶体相关联的实体物品发生了变化的情况下,可以确定瓶体和变化之后的实体物品所触发展示的第一AR特效,并在特效展示页面中展示该第一AR特效。通过上述处理方式,可以实现 基于瓶体和该瓶体所关联的实体物品的物品组合的改变来触发展示不同的AR特效,通过上述处理方式可以丰富AR特效的触发条件,还可以实现用户和瓶体之间的AR交互。在增加用户趣味性的同时,可以提高用户对AR技术的使用体验,满足用户的多样化用户需求,并且还能够对瓶体的相关信息进行广泛推广。In the embodiment of the present application, when it is detected that the physical item associated with the bottle in the real scene image has changed, it can be determined that the first AR special effect triggered by the bottle and the changed physical item is displayed, and the special effect The first AR special effect is displayed on the display page. Through the above processing method, it is possible to trigger and display different AR special effects based on the change of the item combination of the bottle body and the physical item associated with the bottle body. Through the above processing method, the trigger conditions of AR special effects can be enriched, and users and bottles can also be realized. AR interaction between objects. While increasing the user's interest, it can improve the user's experience of using AR technology, meet the diverse user needs of the user, and can also widely promote the relevant information of the bottle.
一种可能的实施方式中,确定单元,配置为:确定所述实体物品的变化类型,其中,所述变化类型包括以下至少之一:实体物品的新增、实体物品的删减、实体物品的放置状态的变化;根据所述变化类型确定所述瓶体和变化之后的实体物品所触发展示的第一AR特效。In a possible implementation manner, the determining unit is configured to: determine a change type of the physical item, wherein the change type includes at least one of the following: addition of a physical item, deletion of a physical item, change of a physical item A change in the placement state; determining the first AR special effect triggered by the bottle body and the changed physical item according to the change type.
一种可能的实施方式中,确定单元,还配置为:确定与所述变化类型相匹配的目标AR特效;将所述目标AR特效和初始AR特效的融合AR特效确定为所述第一AR特效,所述初始AR特效为所述实景图像中的实体物品发生变化之前在所述特效展示界面上所展示的AR特效。In a possible implementation manner, the determining unit is further configured to: determine a target AR special effect matching the change type; determine a fusion AR special effect of the target AR special effect and an initial AR special effect as the first AR special effect The initial AR special effect is the AR special effect displayed on the special effect display interface before the physical item in the real-scene image changes.
一种可能的实施方式中,该装置,还配置为:确定所述实景图像中与所述瓶体相关联的目标标识码;在检测到所述目标标识码发生变化的情况下,确定所述实景图像中与所述瓶体相关联的实体物品发生了变化。In a possible implementation manner, the device is further configured to: determine a target identification code associated with the bottle body in the real-scene image; if a change in the target identification code is detected, determine the The physical item associated with the bottle in the live image has changed.
一种可能的实施方式中,该装置,还配置为:对所述实景图像进行图像处理,得到所述实景图像中与所述瓶体相关联的实体物品的图像检测结果;根据所述图像检测结果确定所述实景图像中所述实体物品的变化信息。In a possible implementation manner, the device is further configured to: perform image processing on the real-scene image to obtain an image detection result of a physical item associated with the bottle body in the real-scene image; detect As a result, the change information of the entity item in the real-scene image is determined.
一种可能的实施方式中,展示单元,配置为:响应于H5页面的加载请求,加载并在所述AR设备的显示界面上显示所述H5页面,其中,所述H5页面中包含提示用户跳转至特效展示页面的提示信息;响应于对所述H5页面中的提示信息的触发操作,跳转至所述特效展示页面,并在所述特效展示页面上展示所述实景图像。In a possible implementation manner, the display unit is configured to: in response to a loading request of the H5 page, load and display the H5 page on the display interface of the AR device, wherein the H5 page includes prompting the user to skip Go to the prompt information on the special effect display page; in response to the trigger operation on the prompt information in the H5 page, jump to the special effect display page, and display the real scene image on the special effect display page.
一种可能的实施方式中,确定单元,还配置为:获取所述AR设备所属用户的用户信息;其中,所述用户信息包括以下至少之一:用户基本属性,AR设备的设备类型,该用户访问所述特效展示页面的访问次数、为该用户推送的历史AR特效;确定与所述用户信息相匹配的至少一个第二AR特效;在所述至少一个第二AR特效中确定所述瓶体和变化之后的实体物品所触发展示的第一AR特效。In a possible implementation manner, the determining unit is further configured to: acquire user information of a user to which the AR device belongs; wherein the user information includes at least one of the following: basic attributes of the user, device type of the AR device, the user's The number of visits to the special effect display page, the historical AR special effects pushed for the user; determining at least one second AR special effect matching the user information; determining the bottle body in the at least one second AR special effect And the first AR special effect triggered by the changed physical items.
一种可能的实施方式中,确定单元,还配置为:在所述用户信息中包含所述历史AR特效的情况下,在所述历史AR特效中确定最新一次为该用户推送的目标历史AR特效;在多个预设AR特效中除所述目标历史AR特效之外的其他AR特效中确定所述至少一个第二AR特效。In a possible implementation manner, the determining unit is further configured to: if the user information contains the historical AR special effects, determine the latest target historical AR special effects pushed for the user in the historical AR special effects ; Determining the at least one second AR special effect among the plurality of preset AR special effects other than the target historical AR special effect.
一种可能的实施方式中,确定单元,还配置为:确定变化之后的实体物品的物品类型,其中,所述物品类型包括:三维物体和/或二维平面物体;根据所述物品类型确定所述瓶体和变化之后的实体物品所触发展示的第一AR特效。In a possible implementation manner, the determining unit is further configured to: determine the item type of the physical item after the change, wherein the item type includes: a three-dimensional object and/or a two-dimensional planar object; The first AR special effects displayed are triggered by the above-mentioned bottle body and the changed physical items.
一种可能的实施方式中,确定单元,还配置为:在检测到所述实景图像中的瓶体状态发生变化的情况下,确定变化之后的瓶体状态和变化之后的实体物品所触发展示的第一AR特效。In a possible implementation manner, the determining unit is further configured to: in the case of detecting that the state of the bottle body in the real-scene image changes, determine the state of the bottle body after the change and the display triggered by the physical item after the change. The first AR special effects.
一种可能的实施方式中,所述方法应用于客户端应用平台,所述客户端应用平台为Web端应用平台或小程序端应用平台。In a possible implementation manner, the method is applied to a client application platform, and the client application platform is a Web application platform or an applet application platform.
关于装置中的各模块的处理流程、以及各模块之间的交互流程的描述可以参照上述方法实施例中的相关说明,这里不再详述。For the description of the processing flow of each module in the device and the interaction flow between the modules, reference may be made to the relevant description in the above method embodiment, and details will not be described here.
对应于图1中的数据展示方法,本申请实施例还提供了一种计算机设备。图6为本申请实施例提供的一种计算机设备的结构示意图,如图6所示,计算机设备600,包括:Corresponding to the data presentation method in FIG. 1 , an embodiment of the present application also provides a computer device. FIG. 6 is a schematic structural diagram of a computer device provided in an embodiment of the present application. As shown in FIG. 6, the computer device 600 includes:
处理器61、存储器62、和总线63;存储器62用于存储执行指令,包括内存621和外部存储器622;这里的内存621也称内存储器,用于暂时存放处理器61中的运算数据,以及与硬盘等外部存储器622交换的数据,处理器61通过内存621与外部存储器622进行数据交换,当所述计算机设备600运行时,所述处理器61与所述存储器62之间通过总线63通信,使得所述处理器61执行以下指令: Processor 61, memory 62, and bus 63; memory 62 is used for storing and executing instruction, comprises memory 621 and external memory 622; memory 621 here is also called internal memory, is used for temporarily storing computing data in processor 61, and The data exchanged by the external memory 622 such as hard disk, the processor 61 exchanges data with the external memory 622 through the memory 621, when the computer device 600 is running, the processor 61 communicates with the memory 62 through the bus 63, so that The processor 61 executes the following instructions:
展示增强现实AR设备采集到的包含瓶体的实景图像;Display the real scene image including the bottle body collected by the augmented reality AR device;
在检测到所述实景图像中与瓶体相关联的实体物品发生变化的情况下,确定所述瓶体和变化之后的实体物品所触发展示的第一AR特效;In the case of detecting that the physical item associated with the bottle in the real scene image changes, determine the first AR special effect triggered by the bottle and the changed physical item;
在所述AR设备的特效展示界面上展示所述第一AR特效。The first AR special effect is displayed on the special effect display interface of the AR device.
本申请实施例还提供一种计算机可读存储介质,该计算机可读存储介质上存储有计算机程序,该计算机程序被处理器运行时执行上述方法实施例中所述的数据展示方法的步骤。其中,该存储介质可以是易失性或非易失的计算机可读取存储介质。The embodiment of the present application also provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is run by a processor, the steps of the data presentation method described in the foregoing method embodiments are executed. Wherein, the storage medium may be a volatile or non-volatile computer-readable storage medium.
本申请实施例还提供一种计算机程序产品,该计算机程序产品承载有程序代码,所述程序代码包括的指令可用于执行上述方法实施例中所述的数据展示方法的步骤,可参见上述方法实施例。即,本申请实施例所提供的计算机程序产品,包括存储了程序代码的计算机可读存储介质,所述程序代码包括的指令可用于执行上述方法实施例中所述的数据展示方法的步骤,在实施时可参见上述方法实施例。The embodiment of the present application also provides a computer program product, the computer program product is loaded with program code, and the instructions included in the program code can be used to execute the steps of the data display method described in the above method embodiment, please refer to the above method implementation example. That is, the computer program product provided by the embodiments of the present application includes a computer-readable storage medium that stores program codes, and the instructions included in the program codes can be used to execute the steps of the data display method described in the above method embodiments. For implementation, refer to the above method embodiments.
其中,上述计算机程序产品可以通过硬件、软件或其结合的方式实现。在一个可选实施例中,所述计算机程序产品可以体现为计算机存储介质,在另一个可选实施例中,计算机程序产品可以体现为软件产品,例如软件开发包(Software Development Kit,SDK)等等。Wherein, the above-mentioned computer program product may be realized by hardware, software or a combination thereof. In an optional embodiment, the computer program product may be embodied as a computer storage medium, and in another optional embodiment, the computer program product may be embodied as a software product, such as a software development kit (Software Development Kit, SDK), etc. Wait.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统和装置的实际工作过程,可以参考前述方法实施例中的对应过程。在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,又例如,多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些通信接口,装置或单元的间接耦合或通信连接,可以是 电性,机械或其它的形式。Those skilled in the art can clearly understand that for the convenience and brevity of description, the actual working process of the system and device described above can refer to the corresponding process in the foregoing method embodiments. In the several embodiments provided in this application, it should be understood that the disclosed systems, devices and methods may be implemented in other ways. The device embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or May be integrated into another system, or some features may be ignored, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some communication interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can 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 application may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit.
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个处理器可执行的非易失的计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。If the functions are realized in the form of software function units and sold or used as independent products, they can be stored in a non-volatile computer-readable storage medium executable by a processor. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including Several instructions are used to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage media include: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disc and other media that can store program codes. .
最后应说明的是:以上所述实施例,仅为本申请的具体实施方式,用以说明本申请的技术方案,而非对其限制,本申请的保护范围并不局限于此,尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,其依然可以对前述实施例所记载的技术方案进行修改或可轻易想到变化,或者对其中部分技术特征进行等同替换;而这些修改、变化或者替换,并不使相应技术方案的本质脱离本申请实施例技术方案的精神和范围,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应所述以权利要求的保护范围为准。Finally, it should be noted that: the above-described embodiments are only specific implementations of the application, used to illustrate the technical solutions of the application, rather than limiting it, and the scope of protection of the application is not limited thereto, although referring to the aforementioned The embodiment has described this application in detail, and those of ordinary skill in the art should understand that any person familiar with this technical field can still modify the technical solutions described in the foregoing embodiments within the technical scope disclosed in this application Changes can be easily imagined, or equivalent replacements can be made to some of the technical features; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the application, and should be covered by this application. within the scope of protection. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
本申请实施例提供了一种数据展示方法及装置、设备、存储介质和计算机程序产品,该方法包括:展示增强现实AR设备采集到的包含瓶体的实景图像;在检测到所述实景图像中与瓶体相关联的实体物品发生变化的情况下,确定所述瓶体和变化之后的实体物品所触发展示的第一AR特效;在所述AR设备的特效展示界面上展示所述第一AR特效。根据本申请实施例提供的数据展示方法可以实现基于瓶体和该瓶体所关联的实体物品的物品组合的改变来触发展示不同的AR特效,可以丰富AR特效的触发条件,还可以实现用户和瓶体之间的AR交互;在增加用户趣味性的同时,可以提高用户对AR技术的使用体验,满足用户的多样化用户需求,并且还能够对瓶体的相关信息进行广泛推广。The embodiment of the present application provides a data display method and device, device, storage medium and computer program product, the method includes: displaying a real scene image including a bottle collected by an augmented reality AR device; When the physical item associated with the bottle changes, determine the first AR special effect triggered by the bottle and the changed physical item; display the first AR on the special effect display interface of the AR device special effects. According to the data display method provided in the embodiment of the present application, different AR special effects can be triggered based on the change of the item combination of the bottle and the physical item associated with the bottle, which can enrich the trigger conditions of the AR special effects, and can also realize the user and The AR interaction between the bottles; while increasing the user's interest, it can improve the user's experience of using AR technology, meet the diverse user needs of the user, and can also widely promote the relevant information of the bottle.
Claims (15)
- 一种数据展示方法,其中,包括:A method for displaying data, including:展示增强现实AR设备采集到的包含瓶体的实景图像;Display the real scene image including the bottle body collected by the augmented reality AR device;在检测到所述实景图像中与瓶体相关联的实体物品发生变化的情况下,确定所述瓶体和变化之后的实体物品所触发展示的第一AR特效;In the case of detecting that the physical item associated with the bottle in the real scene image changes, determine the first AR special effect triggered by the bottle and the changed physical item;在所述AR设备的特效展示界面上展示所述第一AR特效。The first AR special effect is displayed on the special effect display interface of the AR device.
- 根据权利要求1所述的方法,其中,所述确定所述瓶体和变化之后的实体物品所触发展示的第一AR特效,包括:The method according to claim 1, wherein the determining the first AR special effect triggered by the bottle body and the changed physical item comprises:确定所述实体物品的变化类型,其中,所述变化类型包括以下至少之一:实体物品的新增、实体物品的删减、实体物品的放置状态的变化;Determine the type of change of the physical item, wherein the type of change includes at least one of the following: addition of a physical item, deletion of a physical item, or a change in the placement status of a physical item;根据所述变化类型确定所述瓶体和变化之后的实体物品所触发展示的第一AR特效。The first AR special effect triggered by the bottle body and the changed physical item is determined according to the change type.
- 根据权利要求2所述的方法,其中,所述根据所述变化类型确定所述瓶体和变化之后的实体物品所触发展示的第一AR特效,包括:The method according to claim 2, wherein the determining the first AR special effect triggered by the display of the bottle body and the physical item after the change according to the change type includes:确定与所述变化类型相匹配的目标AR特效;determining a target AR special effect matching the change type;将所述目标AR特效和初始AR特效的融合AR特效确定为所述第一AR特效,所述初始AR特效为所述实景图像中的实体物品发生变化之前在所述特效展示界面上所展示的AR特效。Determining the fused AR special effect of the target AR special effect and the initial AR special effect as the first AR special effect, and the initial AR special effect is displayed on the special effect display interface before the physical item in the real-scene image changes AR special effects.
- 根据权利要求1至3中任一项所述的方法,其中,所述检测到所述实景图像中与瓶体相关联的实体物品发生变化,包括:The method according to any one of claims 1 to 3, wherein the detection of a change in the physical item associated with the bottle in the real-scene image includes:确定所述实景图像中与所述瓶体相关联的目标标识码;Determining the target identification code associated with the bottle in the real-scene image;在检测到所述目标标识码发生变化的情况下,确定所述实景图像中与所述瓶体相关联的实体物品发生了变化。If it is detected that the target identification code has changed, it is determined that the physical item associated with the bottle in the real-scene image has changed.
- 根据权利要求1至4中任一项所述的方法,其中,所述检测到所述实景图像中与瓶体相关联的实体物品发生变化,包括:The method according to any one of claims 1 to 4, wherein the detection of a change in the physical item associated with the bottle in the real-scene image includes:对所述实景图像进行图像处理,得到所述实景图像中与所述瓶体相关联的实体物品的图像检测结果;performing image processing on the real-scene image to obtain an image detection result of an entity item associated with the bottle in the real-scene image;根据所述图像检测结果确定所述实景图像中所述实体物品的变化信息。Determining change information of the entity item in the real-scene image according to the image detection result.
- 根据权利要求1至5中任一项所述的方法,其中,所述展示增强现实AR设备采集到的包含瓶体的实景图像,包括:The method according to any one of claims 1 to 5, wherein the displaying the real scene image including the bottle body collected by the augmented reality AR device includes:响应于H5页面的加载请求,加载并在所述AR设备的显示界面上显示 所述H5页面,其中,所述H5页面中包含提示用户跳转至特效展示页面的提示信息;In response to the loading request of the H5 page, load and display the H5 page on the display interface of the AR device, wherein the H5 page includes prompt information prompting the user to jump to the special effect display page;响应于对所述H5页面中的提示信息的触发操作,跳转至所述特效展示页面,并在所述特效展示页面上展示所述实景图像。In response to a trigger operation on the prompt information in the H5 page, jump to the special effect display page, and display the real scene image on the special effect display page.
- 根据权利要求1至6中任一项所述的方法,其中,所述确定所述瓶体和变化之后的实体物品所触发展示的第一AR特效,包括:The method according to any one of claims 1 to 6, wherein the determining the first AR special effect triggered by the display of the bottle body and the changed physical item comprises:获取所述AR设备所属用户的用户信息;其中,所述用户信息包括以下至少之一:用户基本属性,AR设备的设备类型,该用户访问所述特效展示页面的访问次数、为该用户推送的历史AR特效;Obtain user information of the user to which the AR device belongs; wherein, the user information includes at least one of the following: basic attributes of the user, device type of the AR device, number of times the user visits the special effect display page, and the number of visits pushed for the user. Historical AR special effects;确定与所述用户信息相匹配的至少一个第二AR特效;determining at least one second AR special effect matching the user information;在所述至少一个第二AR特效中确定所述瓶体和变化之后的实体物品所触发展示的第一AR特效。In the at least one second AR special effect, determine the first AR special effect triggered by the bottle body and the changed physical item.
- 根据权利要求7所述的方法,其中,所述确定与所述用户信息相匹配的至少一个第二AR特效,包括:The method according to claim 7, wherein said determining at least one second AR special effect matching said user information comprises:在所述用户信息中包含所述历史AR特效的情况下,在所述历史AR特效中确定最新一次为该用户推送的目标历史AR特效;In the case that the user information includes the historical AR special effects, determine the latest target historical AR special effects pushed for the user in the historical AR special effects;在多个预设AR特效中除所述目标历史AR特效之外的其他AR特效中确定所述至少一个第二AR特效。The at least one second AR special effect is determined among the plurality of preset AR special effects other than the target historical AR special effect.
- 根据权利要求1至8中任一项所述的方法,其中,所述确定所述瓶体和变化之后的实体物品所触发展示的第一AR特效,包括:The method according to any one of claims 1 to 8, wherein the determining the first AR special effect triggered by the display of the bottle body and the changed entity item comprises:确定变化之后的实体物品的物品类型,其中,所述物品类型包括:三维物体和/或二维平面物体;Determine the item type of the physical item after the change, wherein the item type includes: a three-dimensional object and/or a two-dimensional plane object;根据所述物品类型确定所述瓶体和变化之后的实体物品所触发展示的第一AR特效。The first AR special effect triggered by the bottle body and the changed physical item is determined according to the item type.
- 根据权利要求1至9中任一项所述的方法,其中,所述确定所述瓶体和变化之后的实体物品所触发展示的第一AR特效,包括:The method according to any one of claims 1 to 9, wherein the determining the first AR special effect triggered by the display of the bottle body and the changed physical item comprises:在检测到所述实景图像中的瓶体状态发生变化的情况下,确定变化之后的瓶体状态和变化之后的实体物品所触发展示的第一AR特效。In a case where a change in the state of the bottle body in the real-scene image is detected, the first AR special effect triggered by the changed state of the bottle body and the physical item after the change is determined.
- 根据权利要求1至10中任一项所述的方法,其中,所述方法应用于客户端应用平台,所述客户端应用平台为Web端应用平台或小程序端应用平台。The method according to any one of claims 1 to 10, wherein the method is applied to a client application platform, and the client application platform is a Web application platform or an applet application platform.
- 一种数据展示装置,其中,包括:A data display device, including:第一展示单元,配置为展示增强现实AR设备采集到的包含瓶体的实景 图像;The first display unit is configured to display the real image of the bottle body collected by the augmented reality AR device;确定单元,配置为在检测到所述实景图像中与瓶体相关联的实体物品发生变化的情况下,确定所述瓶体和变化之后的实体物品所触发展示的第一AR特效;The determining unit is configured to determine the first AR special effect triggered by the bottle and the changed physical item when it is detected that the physical item associated with the bottle in the real-scene image changes;第二展示单元,配置为在所述AR设备的特效展示界面上展示所述第一AR特效。The second display unit is configured to display the first AR special effect on a special effect display interface of the AR device.
- 一种计算机设备,其中,包括:处理器、存储器和总线,所述存储器存储有所述处理器可执行的机器可读指令,当计算机设备运行时,所述处理器与所述存储器之间通过总线通信,所述机器可读指令被所述处理器执行时执行如权利要求1至11任一所述的数据展示方法的步骤。A computer device, including: a processor, a memory, and a bus, the memory stores machine-readable instructions executable by the processor, and when the computer device is running, the processor and the memory pass through Bus communication, when the machine-readable instructions are executed by the processor, the steps of the data presentation method according to any one of claims 1 to 11 are executed.
- 一种计算机可读存储介质,其中,该计算机可读存储介质上存储有计算机程序,该计算机程序被处理器运行时执行如权利要求1至11任一所述的数据展示方法的步骤。A computer-readable storage medium, wherein a computer program is stored on the computer-readable storage medium, and when the computer program is run by a processor, the steps of the data display method according to any one of claims 1 to 11 are executed.
- 一种计算机程序产品,所述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,所述计算机程序被计算机读取并执行时,实现如权利要求1至11任一所述的数据展示方法的步骤。A computer program product, the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and when the computer program is read and executed by a computer, the method described in any one of claims 1 to 11 is realized. The steps of the data presentation method.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110621248.X | 2021-06-03 | ||
CN202110621248.XA CN113360805B (en) | 2021-06-03 | 2021-06-03 | Data display method, device, computer equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2022252509A1 true WO2022252509A1 (en) | 2022-12-08 |
Family
ID=77531914
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2021/132281 WO2022252509A1 (en) | 2021-06-03 | 2021-11-23 | Data display method and apparatus, device, storage medium, and computer program product |
Country Status (3)
Country | Link |
---|---|
CN (1) | CN113360805B (en) |
TW (1) | TW202248896A (en) |
WO (1) | WO2022252509A1 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113360805B (en) * | 2021-06-03 | 2023-06-20 | 北京市商汤科技开发有限公司 | Data display method, device, computer equipment and storage medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109657078A (en) * | 2018-11-07 | 2019-04-19 | 上海玄彩美科网络科技有限公司 | A kind of exchange method and equipment of AR |
CN110568934A (en) * | 2019-10-18 | 2019-12-13 | 福州大学 | Low-error high-efficiency multi-label-graph augmented reality system |
CN111240482A (en) * | 2020-01-10 | 2020-06-05 | 北京字节跳动网络技术有限公司 | Special effect display method and device |
CN111665942A (en) * | 2020-06-08 | 2020-09-15 | 浙江商汤科技开发有限公司 | AR special effect triggering display method and device, electronic equipment and storage medium |
CN112148188A (en) * | 2020-09-23 | 2020-12-29 | 北京市商汤科技开发有限公司 | Interaction method and device in augmented reality scene, electronic equipment and storage medium |
CN113359988A (en) * | 2021-06-03 | 2021-09-07 | 北京市商汤科技开发有限公司 | Information display method and device, computer equipment and storage medium |
CN113360805A (en) * | 2021-06-03 | 2021-09-07 | 北京市商汤科技开发有限公司 | Data display method and device, computer equipment and storage medium |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106774874B (en) * | 2016-12-12 | 2020-01-21 | 快创科技(大连)有限公司 | Cooking auxiliary system based on AR augmented reality technology and based on color evaluation |
CN107391060B (en) * | 2017-04-21 | 2020-05-29 | 阿里巴巴集团控股有限公司 | Image display method, device, system and equipment, and readable medium |
US10915918B2 (en) * | 2018-01-10 | 2021-02-09 | Mastercard International Incorporated | Systems and methods for providing augmented reality experiences |
CN112783316A (en) * | 2019-11-08 | 2021-05-11 | 浙江商汤科技开发有限公司 | Augmented reality-based control method and apparatus, electronic device, and storage medium |
-
2021
- 2021-06-03 CN CN202110621248.XA patent/CN113360805B/en active Active
- 2021-11-23 WO PCT/CN2021/132281 patent/WO2022252509A1/en active Application Filing
-
2022
- 2022-04-14 TW TW111114250A patent/TW202248896A/en unknown
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109657078A (en) * | 2018-11-07 | 2019-04-19 | 上海玄彩美科网络科技有限公司 | A kind of exchange method and equipment of AR |
CN110568934A (en) * | 2019-10-18 | 2019-12-13 | 福州大学 | Low-error high-efficiency multi-label-graph augmented reality system |
CN111240482A (en) * | 2020-01-10 | 2020-06-05 | 北京字节跳动网络技术有限公司 | Special effect display method and device |
CN111665942A (en) * | 2020-06-08 | 2020-09-15 | 浙江商汤科技开发有限公司 | AR special effect triggering display method and device, electronic equipment and storage medium |
CN112148188A (en) * | 2020-09-23 | 2020-12-29 | 北京市商汤科技开发有限公司 | Interaction method and device in augmented reality scene, electronic equipment and storage medium |
CN113359988A (en) * | 2021-06-03 | 2021-09-07 | 北京市商汤科技开发有限公司 | Information display method and device, computer equipment and storage medium |
CN113360805A (en) * | 2021-06-03 | 2021-09-07 | 北京市商汤科技开发有限公司 | Data display method and device, computer equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN113360805B (en) | 2023-06-20 |
TW202248896A (en) | 2022-12-16 |
CN113360805A (en) | 2021-09-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20210243493A1 (en) | Video processing method, video processing device, and storage medium | |
CN107251102A (en) | Based on the enhancing modification with the user mutual of augmented reality scene | |
WO2022252518A1 (en) | Data presentation method and apparatus, and computer device, storage medium and computer program product | |
CN111240482B (en) | Special effect display method and device | |
US20180174299A1 (en) | Intelligent auto-cropping of images | |
TWI648641B (en) | Wisdom TV data processing method, smart TV and smart TV system | |
WO2017190638A1 (en) | Information display method and terminal | |
CN110221747B (en) | Presentation method of e-book reading page, computing device and computer storage medium | |
CN108805577B (en) | Information processing method, device, system, computer equipment and storage medium | |
CN106358092A (en) | Information processing method and device | |
WO2022252509A1 (en) | Data display method and apparatus, device, storage medium, and computer program product | |
TWI686725B (en) | Method and device for displaying sensitive information | |
US20230214913A1 (en) | Product cards provided by augmented reality content generators | |
EP3214534A1 (en) | Method and device for displaying object information on screen display apparatus | |
CN110827058A (en) | Multimedia promotion resource insertion method, equipment and computer readable medium | |
US20230214912A1 (en) | Dynamically presenting augmented reality content generators based on domains | |
CN103237165A (en) | Method and electronic equipment for checking extended name card information in real time | |
EP4457736A1 (en) | Api to provide product cards | |
JP6237135B2 (en) | Information processing apparatus and information processing program | |
US11497989B2 (en) | Information processing apparatus and software processing method | |
TW201523421A (en) | Determining images of article for extraction | |
CN113361486A (en) | Multi-pose face recognition method and device, storage medium and electronic equipment | |
TWM610290U (en) | A multi task floating visual framework application processing system based on multi task environment | |
Brockschmidt | Programming Windows Store Apps with HTML, CSS, and JavaScript | |
TWM548294U (en) | Server for providing augmented reality environment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 21943861 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 21943861 Country of ref document: EP Kind code of ref document: A1 |