WO2023020622A1 - Display method and apparatus, electronic device, computer-readable storage medium, computer program, and computer program product - Google Patents

Display method and apparatus, electronic device, computer-readable storage medium, computer program, and computer program product Download PDF

Info

Publication number
WO2023020622A1
WO2023020622A1 PCT/CN2022/113746 CN2022113746W WO2023020622A1 WO 2023020622 A1 WO2023020622 A1 WO 2023020622A1 CN 2022113746 W CN2022113746 W CN 2022113746W WO 2023020622 A1 WO2023020622 A1 WO 2023020622A1
Authority
WO
WIPO (PCT)
Prior art keywords
target
image
real
virtual
display
Prior art date
Application number
PCT/CN2022/113746
Other languages
French (fr)
Chinese (zh)
Inventor
田真
李斌
欧华富
Original Assignee
上海商汤智能科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 上海商汤智能科技有限公司 filed Critical 上海商汤智能科技有限公司
Publication of WO2023020622A1 publication Critical patent/WO2023020622A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0482Interaction with lists of selectable items, e.g. menus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04815Interaction with a metaphor-based environment or interaction object displayed as three-dimensional, e.g. changing the user viewpoint with respect to the environment or object
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04845Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range for image manipulation, e.g. dragging, rotation, expansion or change of colour
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T19/00Manipulating 3D models or images for computer graphics
    • G06T19/006Mixed reality

Definitions

  • the present disclosure relates to the technical field of terminals, and in particular, to a display method, device, electronic equipment, computer-readable storage medium, computer program, and computer program product.
  • some commodity merchants will attach virtual service products to the physical commodities they sell for users to enjoy. For example, create exclusive events or services in official apps for users to participate in.
  • the interaction mode between virtual service products and users is usually relatively simple, thus reducing the richness and display effect of display content in virtual service products, such as some display service applications.
  • Embodiments of the present disclosure expect to provide a display method, device, electronic device, computer-readable storage medium, computer program, and computer program product, which can improve the richness and display effect of displayed content.
  • the display method is realized through the small program page or the web page, which improves the convenience of using the display method and is more conducive to the promotion of virtual service products.
  • An embodiment of the present disclosure provides a display device, including:
  • the collection part is configured to collect a target image of a real object in a real scene in response to a trigger operation on a target function entry;
  • display screen configured to store an executable computer program
  • the processor is configured to, when executing the executable computer program stored in the memory, implement any one of the above display methods in combination with the display screen.
  • An embodiment of the present disclosure provides a computer program product, including computer program instructions, where the computer program instructions cause a computer to execute the steps of the above-mentioned display method.
  • Embodiments of the present disclosure provide a display method, device, electronic equipment, computer-readable storage medium, computer program, and computer program product; by collecting target images of real objects in real scenes, virtual objects are determined, and virtual objects are rendered The virtual effect image is obtained, so that the augmented reality effect of the virtual effect image is used to improve and enrich the display effect of the display application.
  • the electronic device can receive the user's interactive operation through at least one interactive control, and perform corresponding operation and update display on the virtual object, thereby increasing the richness of the displayed content.
  • FIG. 1 is a schematic structural diagram of a display system provided by an embodiment of the present disclosure
  • FIG. 2 is an optional schematic flowchart of a display method provided by an embodiment of the present disclosure
  • FIG. 3 is an optional schematic flowchart of a display method provided by an embodiment of the present disclosure
  • FIG. 4 is an optional schematic flowchart of a display method provided by an embodiment of the present disclosure
  • FIG. 5 is a schematic diagram of an optional effect of an image acquisition interface provided by an embodiment of the present disclosure.
  • FIG. 6 is an optional schematic flowchart of a display method provided by an embodiment of the present disclosure.
  • FIG. 7 is an optional schematic flowchart of a display method provided by an embodiment of the present disclosure.
  • FIG. 8 is an optional schematic flowchart of a display method provided by an embodiment of the present disclosure.
  • FIG. 9 is an optional schematic flowchart of a display method provided by an embodiment of the present disclosure.
  • FIG. 10 is an optional schematic flowchart of a display method provided by an embodiment of the present disclosure.
  • FIG. 11 is an optional schematic flowchart of a display method provided by an embodiment of the present disclosure.
  • FIG. 12 is a schematic diagram of an optional interaction effect of a synthesized photographing function provided by an embodiment of the present disclosure.
  • FIG. 13 is an optional structural schematic diagram of a display device provided by an embodiment of the present disclosure.
  • FIG. 14 is a schematic structural diagram of an optional electronic device provided by an embodiment of the present disclosure.
  • the target client can be a small program client or a web client running on electronic devices such as mobile phones and tablet computers.
  • a small program client is also called a small program;
  • a webpage client (Client) is also called a webpage client, which refers to a program corresponding to a server and providing local services for clients.
  • a Mini Program also known as a Web Program (Web Program)
  • Web Program is a program developed based on a front-end-oriented language (such as JavaScript) and implemented in a Hyper Text Markup Language (HTML, Hyper Text Markup Language) page.
  • the program is software downloaded by the client via the network and interpreted and executed in the browser environment of the client, saving the steps of installation on the client.
  • Application refers to a computer program for completing one or more specific tasks, which can interact with users and has a visual user interface.
  • unionID short for union Identity document
  • the uniqueness of the user can be distinguished by unionID, because if For mobile applications, website applications and public accounts (including applets) under the same WeChat open platform account, the user's unionID can be unique; or, the user's identity can also refer to the uniqueness of the electronic device used by the user.
  • the equipment identity of the device for example, the International Mobile Equipment Identity (IMEI) of the electronic device, etc.
  • UI User Interface
  • Icon icons
  • text design text design
  • Embodiments of the present disclosure provide a display method, which can improve the convenience and richness of display applications.
  • the display method provided by the embodiments of the present disclosure is applied to electronic equipment.
  • the electronic device provided by the embodiment of the present disclosure can be implemented as augmented reality (Augmented Reality, AR) glasses, a notebook computer, a tablet computer, a desktop computer, a set-top box, a mobile device (for example, various types of user terminals (hereinafter referred to as terminals) such as mobile phones, portable music players, smart watches, personal digital assistants, dedicated information devices, and portable game devices).
  • augmented reality Augmented Reality
  • AR Augmented Reality
  • notebook computer a tablet computer
  • desktop computer a set-top box
  • a mobile device for example, various types of user terminals (hereinafter referred to as terminals) such as mobile phones, portable music players, smart watches, personal digital assistants, dedicated information devices, and portable game devices).
  • terminals various types of user terminals (hereinafter referred to as terminals) such as mobile phones, portable music players, smart watches, personal digital assistants, dedicated information devices, and portable game devices).
  • FIG. 1 is a schematic diagram of an optional architecture of a display system provided by an embodiment of the present disclosure.
  • a terminal 400 is connected to a server 200 through a network 300.
  • the network 300 may be a wide area network or a local area network. Or a combination of both.
  • the terminal 400 is configured to obtain the display applet from the server 200 and load the display applet to run on itself when receiving the user's operation of starting the display applet, for example, receiving the user's trigger operation on the display applet entry;
  • the home page of the applet is displayed, for example, a function menu page is displayed.
  • at least one function entry may be displayed on the display function menu page, so as to receive user operations through at least one function entry.
  • the terminal 400 is also used to identify the target image, determine the virtual object corresponding to the target image, and display the virtual effect image 600 obtained by rendering the virtual object on the target function page through the display screen 401;
  • the target function page contains at least one Interactive control;
  • the virtual effect image is used to display the augmented reality effect corresponding to the target image; and in response to the interactive operation of the target interactive control in at least one interactive control, determine the response effect data corresponding to the virtual object, and update the virtual object through the response effect data.
  • the effect image shows the response effect corresponding to the interactive operation.
  • the virtual object may be an AR model corresponding to an image on a book or a calendar.
  • the terminal 400 can pre-store the virtual object locally in the terminal, and the terminal 400 can also generate or determine the virtual object corresponding to the target image by means of a server, such as the above-mentioned server 200 or other servers with image processing functions. object, and then load the virtual object from the server to the local terminal 400, render the virtual object and perform subsequent interactive operations.
  • the server here can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or it can provide cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud Cloud servers for basic cloud computing services such as communications, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms.
  • the terminal and the server may be connected directly or indirectly through wired or wireless communication, which is not limited in this embodiment of the present disclosure.
  • FIG. 2 is a schematic flowchart of an optional display method provided by an embodiment of the present disclosure, which will be described in conjunction with the steps shown in FIG. 2 .
  • the display method in the embodiments of the present disclosure is applicable to a scenario where a user experiences a virtual service product attached to a real item through a small program or a web client.
  • a virtual service product attached to a real item through a small program or a web client.
  • the display method in the embodiment of the present disclosure can rely on a small program or a webpage client to provide a user experience of combining physical objects and virtual objects and rich interaction modes in a lightweight manner.
  • the target function entry can be displayed on the applet page or the webpage client, and is used to receive a user's trigger operation to activate the corresponding target function.
  • the target function is used to collect images of real scenes and determine virtual objects corresponding to real scene images, such as AR models or special effect images, so as to provide augmented reality effects or image synthesis effects combining real scenes and virtual objects.
  • the electronic device can display the applet entry displayed on the preset page, for example, the applet icon entry displayed in the applet list on the application software pull-down page, or the display applet displayed on the web page.
  • the electronic device displays a display function menu page in response to the trigger operation for displaying the applet entry.
  • At least one function entry corresponding to at least one function contained in the display applet is displayed by displaying a function menu page. In this way, the electronic device can enter the target function corresponding to the target function entry in response to a trigger operation on the target function entry in the at least one function entry.
  • the electronic device can also directly display the target function entry on a preset page, such as a small program page or a web client, or design a menu hierarchy according to actual needs to lay out the target function entry, and specifically select according to the actual situation.
  • a preset page such as a small program page or a web client
  • design a menu hierarchy according to actual needs to lay out the target function entry, and specifically select according to the actual situation.
  • the real scene is a real real scene, and real objects exist in the real scene; in some embodiments, the real scene may contain at least one real item, and the real object may be a real object in the at least one real item. Items; in some embodiments, real objects may also include real people.
  • the real scene may contain physical items, such as a paper calendar, and the paper calendar contains at least one exhibit image, wherein the real object may be a target exhibit image in the at least one exhibit image, such as incense burner pottery images, or artistic portraits, etc.
  • the electronic device can collect the image of the target exhibit to obtain the target image.
  • real objects in real scenes can also be exhibits or exhibition boards displayed in science and technology museums or art museums, or commodities or commodity catalogs displayed in shopping malls, etc. Examples are not limited.
  • S102 Determine the virtual object corresponding to the target image by identifying the target image, and display the virtual effect image obtained by rendering the virtual object on the target function page; the target function page includes at least one interactive control; the virtual effect image is used for display The augmented reality effect corresponding to the target image.
  • the electronic device when it obtains the target image, it may perform feature extraction and image analysis on the target image, so as to identify the target image.
  • the electronic device can identify the preset real item corresponding to the target image, and then determine the virtual object corresponding to the preset real item, such as the virtual AR model corresponding to the preset real item.
  • the electronic device can perform human body recognition on the target image, recognize the human body parts contained in the target image, such as facial features or head, hands, etc., and then determine the virtual object corresponding to the human body part, For example, special effect stickers corresponding to specific human body parts.
  • the virtual object can be a pre-modeled image model, including specific image parameters or action logic.
  • the electronic device can pre-generate and save a preset virtual model corresponding to each preset real item according to the type of the preset real item, and acquire the preset real item when the corresponding preset real item is identified from the target image
  • the corresponding preset virtual model is used as a virtual object.
  • the electronic device can also generate a virtual object corresponding to the target object in real time by recognizing the target image. For example, the electronic device can perform real-time AR modeling based on the display images collected from the calendar. , get the AR model of the exhibit as a virtual object.
  • the specific selection is made according to the actual situation, and the embodiment of the present disclosure makes no limitation.
  • the electronic device when the virtual object is determined, can enter the target function page, and based on the target image, use the computer vision method to estimate the real position information of the real object in the real scene, and obtain the target image in the real scene.
  • the screen position information in the display screen of the electronic device is used to establish a mapping relationship between the real world and the screen.
  • the electronic device can use the preset rendering data corresponding to the virtual object to render the virtual object according to the mapping relationship between the real world and the screen, and attach the rendering result of the virtual object to the item image in the real scene , thus showing the enhanced display effect of the combination of virtual and reality.
  • the real object may be a planar image in a real scene, such as an exhibit image in a calendar.
  • the electronic device can use the real object as a marked plane in the real scene, and perform recognition and pose estimation (Pose Estimation) on the marked plane through the camera, and determine the position information of the marked plane in the real scene.
  • the electronic device maps the marked plane in the three-dimensional real scene to the two-dimensional screen page of the electronic device, and renders and draws a virtual effect image corresponding to the virtual object on the mapped two-dimensional screen page.
  • the target function page includes at least one interactive control
  • the electronic device can receive the user's interactive operation through the target interactive control in the at least one interactive control, and then respond to the interactive operation, according to the control function of the target interactive control. Operate, so that the user's interactive operation is applied to the virtual object, so as to realize the interaction between the user and the virtual object.
  • the electronic device can determine the operation mode of the virtual object through the interactive operation of the target interactive control, and then determine the response effect data corresponding to the operation mode, and the electronic device uses the response effect data to update the current real virtual effect image , so that the virtual object can reflect the interactive effect that responds to the interactive operation.
  • the response effect data may be rendering data for re-rendering the virtual object, or text or image effect data displayed in combination with the virtual object , the specific selection is made according to the actual situation, which is not limited by the embodiments of the present disclosure.
  • the electronic device can receive the user's interactive operation through at least one interactive control, and perform corresponding operation and update display on the virtual object, thereby increasing the richness of the displayed content.
  • S101 can be implemented through S1011-S1012, as follows:
  • the electronic device may synchronously load the background data of the target function during the display process of the target function loading interface, so as to render the virtual object in a subsequent step.
  • the background data of the target function includes at least one preset rendering data; the background data of the target function can be stored on the server and loaded locally by the electronic device; it can also be stored locally on the electronic device and loaded into its own memory during operation, specifically The selection is made according to the actual situation, and is not limited by the embodiments of the present disclosure.
  • the target function may be the "Take Home Exhibit" function in the virtual service product attached to the calendar, which may provide user interaction with the AR model of the exhibit, and its corresponding target function
  • the loading interface can display information such as the name of the target function, the loading progress of the background data of the target function, and the introduction information of the target function.
  • the process of acquiring a target image of a real object in a real scene may be implemented as shown in FIG. 4 by executing S201-S202, as follows:
  • the acquisition range guide information may include a preset acquisition range boundary.
  • the preset acquisition range boundary may be a graphic boundary such as a scanning frame or an aiming frame.
  • the acquisition range guide information may also include text guide information for providing text guidance for image acquisition.
  • S202 Collect images of real objects in the real scene through the image collection interface, and use images within the boundaries of the preset collection range as target images.
  • the electronic device may collect images of real objects in real scenes through the image collection interface, discard image information outside the boundaries of the preset collection range, and use images within the boundaries of the preset collection range as target images.
  • the electronic device can use the preset modeling data to generate the target virtual model corresponding to the target real item as a virtual object in real time based on the detection result of the target real item, and the electronic device can also display the target function of the applet At least one preset virtual model corresponding to at least one preset real item is pre-stored in the background data, so that the target virtual model corresponding to the target real item can be obtained from the at least one pre-stored preset virtual model based on the detection result of the target real item as a virtual object.
  • the specific selection is made according to the actual situation, and the embodiment of the present disclosure makes no limitation.
  • the electronic device recognizes the target image, and obtains a detection result that the target real item is an incense burner image.
  • the electronic device can perform three-dimensional modeling in a virtual scene for the image of the incense burner, and obtain the three-dimensional virtual model of the incense burner as a virtual object corresponding to the image of the incense burner.
  • the electronic device can obtain each pixel in the target image in the preset screen coordinate system of the display screen The corresponding location information is used as the screen location information of the target real item displayed on the target function page.
  • the electronic device when the real coordinate system and the screen coordinate system have established a mapping relationship, the electronic device can render the virtual object on the display screen according to the mapping relationship between the real position information and the screen position information, and obtain A virtual effect image in which the rendered virtual object image is attached to the item image in the real scene.
  • the electronic device when it acquires the background data of the target function through a loading process, it may acquire the target preset rendering data corresponding to the virtual object from the background data of the target function.
  • the at least one preset rendering data included in the background data of the target function may be preset rendering data corresponding to at least one preset virtual model.
  • the electronic device may acquire preset rendering data corresponding to the target virtual model in at least one preset rendering data as the target preset rendering data.
  • At least one interactive control displayed by the electronic device on the target function page may include: a rotation control.
  • S103 in response to an interactive operation on the target interactive control in the at least one interactive control, determine The process of responding to the effect data corresponding to the virtual object can be shown in Figure 8, through S1031-S1033, as follows:
  • the electronic device may rotate the virtual object according to the rotation direction and the rotation angle indicated by the rotation operation to obtain the rotated virtual object.
  • the electronic device acquires corresponding preset rendering data as response effect data according to the rotated virtual object, so as to update the virtual effect image through the response effect data, and display the virtual effect image presented after the virtual object is rotated.
  • the electronic device when it receives an interactive operation on the rotation control, such as clicking, it can set the rotation control to an on state; thus, when the rotation control is on, Display the rotation guide icon, and the user can rotate the virtual object through the rotation operation.
  • the rotation control When the rotation of the virtual object is completed, the user can click the rotation control again to switch the rotation control to the off state, thereby exiting the rotation state of the virtual object and closing the rotation guide icon. Responds to rotation operations.
  • At least one interactive control on the target function page may include: an information display control, and S103 may be implemented through S1034, as follows:
  • the target interactive control is an information display control
  • the information display control is used to display the preset introduction data of the virtual object, and the preset introduction data is used to display the introduction information of the target real item at the preset display position.
  • the introduction information may include text introduction information and At least one of image introduction information.
  • the electronic device may display preset introduction data through a pop-up window or a pop-up interface at a preset display position to update the virtual effect image.
  • an information display control may be displayed on the target function page.
  • the electronic device may acquire the virtual object in response to the interactive operation on the information display control.
  • the introduction information of the incense burner corresponding to the AR model of the incense burner is used as the preset introduction data, and the introduction window of the incense burner pops up at the preset display position of the current target function page, and the preset introduction data is displayed through the introduction window.
  • At least one interactive control on the target function page may include: an image acquisition control, as shown in FIG. 10 , S103 may be implemented through S1035-S1036, as follows:
  • the target interactive control is an image collection control
  • the image collection control is used to collect the virtual effect image currently presented on the target function page.
  • the target interaction control is an image acquisition control
  • the electronic device acquires the current virtual effect image corresponding to the virtual object, for example, by capturing a screen or screenshot to obtain the current object image.
  • the electronic device acquires the first preset template, and combines the current object image with the first preset template to generate the template object image as the response effect data.
  • the first preset template provides a preset image template for displaying the current object image.
  • the first preset template may be a preset photo frame, and the electronic device combines the current object image with the preset photo frame to obtain the template object image.
  • an image capture control is displayed on the target function page.
  • the image capture control receives an interactive operation, such as when the user clicks the image capture control, in response to the interactive operation on the image capture control, the electronic device can The virtual effect image currently presented on the page is collected to obtain the current object image.
  • the electronic device acquires a first preset template, and combines the first preset template with the current object image to generate a template object image.
  • the template object image may be a current object image displayed in a photo frame of a preset style.
  • the electronic device takes the template object image as response effect data.
  • the target function page can display at least one interactive control at the same time.
  • the target function page displays a rotation control, an information display control, and an image acquisition control at the same time, so as to realize the interactive control on the target function page.
  • Multiple interaction modes corresponding to rotation control, information display control and image acquisition control.
  • the electronic device when at least two interactive controls are simultaneously displayed on the target function page, the electronic device only responds to an interactive operation on one interactive control each time.
  • At least one of image acquisition, rotation, and information introduction may be used to enrich the display effect of the display application and improve the interaction between the display application and the user.
  • the first preset template may further include: a preset identification code; the preset identification code is used to provide a link to the preset function.
  • the electronic device may generate and display a preset identification code on the first preset template, so as to attach the preset identification code to the template object image generated according to the first preset template, so that the target device can pass To identify the preset identification code, enter the link of the preset function.
  • the preset identification code is an applet identification code
  • the applet identification code is used to provide an entry for displaying an applet.
  • the electronic device when the template object image is generated, can jump from the current target function page to the sharing page, and display the template object image on the sharing page, and the sharing page includes the first sharing control.
  • the electronic device may generate a first applet link corresponding to the template object image, and share the first applet link to the target device.
  • the target device can click the link of the first applet to open the template object image on the target device, or enter a page displaying the applet, so as to realize sharing to the target device.
  • the above-mentioned sharing page may further include a first save control, and when a save operation for the first save control is received, the template object image is saved to a local storage space.
  • the shared page may also include a return control, such as a "retake" function control.
  • the return control is used to return to the target function page to collect the virtual effect image when the corresponding trigger operation is received.
  • the sharing page may also be in the form of text information, prompting the user to perform a preset trigger sharing operation, such as long pressing the image of the template object to share.
  • a preset trigger sharing operation such as long pressing the image of the template object to share.
  • the template object image generated by the electronic device may be a page in the form of webview. Since the page in the form of webview is not convenient for direct sharing, the electronic device may respond to the sharing operation of the first sharing control; or, respond to the The preset trigger sharing operation, such as long pressing on the image of the template object, jumps from the sharing page to the sharing applet, and enters the page of the sharing applet, so as to save the image of the template object by using the page of the sharing applet Action or share action.
  • the preset trigger sharing operation such as long pressing on the image of the template object, jumps from the sharing page to the sharing applet, and enters the page of the sharing applet, so as to save the image of the template object by using the page of the sharing applet Action or share action.
  • the electronic device may use the page of the sharing applet as a secondary sharing page, and display the second saving control and the second sharing control on the secondary sharing page.
  • the second saving control is triggered, save the template object image locally; when the second sharing control is triggered, generate the first applet link corresponding to the template object image, and share the first applet link to the target device.
  • the real object may be an artistic portrait in the calendar
  • the target function may be the "art painting moving" function in the virtual service product attached to the calendar.
  • the electronic device can respond to the trigger operation of the target function entry "artistic drawing", enter the target function loading interface, and synchronize during the display process of the target function loading interface Load target function background data.
  • the target function background data may include preset dynamic effect rendering data and preset multimedia audio data.
  • the electronic device may also pop up a prompt window for turning on the sound on the target function loading interface to remind the user to turn on the sound to obtain a better experience.
  • the electronic device determines the target virtual model corresponding to the art portrait as a virtual object, and obtains the target preset rendering data corresponding to the virtual object, and displays it on the target function page Render the virtual object to obtain a virtual effect image.
  • the virtual effect image may be a dynamic artistic portrait.
  • the electronic device displays a virtual effect image, that is, a dynamic artistic portrait, it can also play multimedia audio data corresponding to the virtual effect image.
  • the display effect of the display function can be further enriched and the interactivity with the user can be improved by combining the dynamic virtual effect image with the multimedia audio data.
  • the electronic device when the target function entry is a composite photo entry, responds to the trigger operation on the composite photo entry, and jumps from the display function menu page to the composite photo interface, so that real people can be photographed through the composite photo interface. Perform image acquisition.
  • the electronic device may also jump to the target function loading interface as shown in FIG. 12 in response to the trigger operation on the composite photo entry, and load the background data of the target function on the target function loading interface.
  • the background data of the target function may include preset special effect stickers.
  • the electronic device may load preset special effect stickers from the background data of the target function, and display the preset special effect stickers on the synthesized photographing interface. As shown in the sticker 141 of FIG. 12 .
  • the target image is a real person image
  • identify the real person image determine the preset special effect sticker corresponding to the real person image, superimpose the real person image and the preset special effect sticker, generate and display the superimposed current
  • the composite image serves as a virtual effect image.
  • the electronic device can identify the real person image, obtain the human body part information contained in the real person image, and then determine the preset special effect corresponding to the human body part information Stickers, such as the preset special effect stickers corresponding to the head or the preset special effect stickers corresponding to the eyes, and then superimpose the corresponding parts of the real person image and the preset special effect stickers, generate and display the superimposed current composite image as a virtual effect image.
  • the preset special effect corresponding to the human body part information Stickers such as the preset special effect stickers corresponding to the head or the preset special effect stickers corresponding to the eyes, and then superimpose the corresponding parts of the real person image and the preset special effect stickers, generate and display the superimposed current composite image as a virtual effect image.
  • the electronic device may jump to the photographing completion interface as shown in FIG. 12 to display the current composite image.
  • the current composite image is shown as image 151 in FIG. 12 .
  • the electronic device may use the photographing completion interface as the target function page, and display the third sharing control among at least one interactive control on the photographing completion interface, as shown by the control 150 in FIG. 12 .
  • the electronic device receives a sharing operation for the third sharing control 150, it can acquire a second preset template, and generate a template composite image 160 as shown in FIG. 12 based on the second preset template and the current composite image;
  • the synthesized image 160 is used as the response effect data to update the current synthesized image, that is, the virtual effect image.
  • the operation part 30 is configured to determine response effect data corresponding to the virtual object in response to an interactive operation on a target interactive control in the at least one interactive control, and update the displayed virtual object through the response effect data. effect image.
  • the collection part 10 is further configured to, in response to a trigger operation on the target function entry in the at least one function entry, enter an image collection page corresponding to the target function, and collect a target image of a real object in a real scene.
  • the acquisition part 10 is further configured to display acquisition range guide information on the image acquisition interface when entering the image acquisition interface;
  • the acquisition range guide information includes a preset acquisition range boundary; through the The image acquisition interface performs image acquisition on the real object, and takes the image within the boundary of the preset acquisition range as the target image.
  • the display device 1 is implemented through a small program or a web client.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Software Systems (AREA)
  • Computer Graphics (AREA)
  • Computer Hardware Design (AREA)
  • Processing Or Creating Images (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

Disclosed in embodiments of the present application are a display method and apparatus, an electronic device, a computer-readable storage medium, a computer program, and a computer program product. The method comprises: acquiring a target image of a real object in a real environment in response to a trigger operation on a target function entry; performing recognition on the target image to determine a virtual object corresponding to the target image, and displaying, in a target function page, a virtual effect image obtained by rendering the virtual object, the target function page comprising at least one interactive control, and the virtual effect image being used for displaying an augmented reality effect corresponding to the target image; and in response to an interactive operation on a target interactive control in the at least one interactive control, determining response effect data corresponding to the virtual object, and updating the displayed virtual effect image according to the response effect data. The present application allows for improvement of the richness and display effect of display content.

Description

一种显示方法、装置、电子设备、计算机可读存储介质、计算机程序及计算机程序产品A display method, device, electronic device, computer readable storage medium, computer program and computer program product
相关申请的交叉引用Cross References to Related Applications
本公开基于申请号为202110961689.4、申请日为2021年08月20日、申请名称为“一种显示方法、装置、电子设备及计算机可读存储介质”的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此以引入方式并入本申请。This disclosure is based on the Chinese patent application with the application number 202110961689.4, the application date is August 20, 2021, and the application name is "a display method, device, electronic device, and computer-readable storage medium", and requires that the Chinese patent application The priority of the Chinese patent application, the entire content of the Chinese patent application is hereby incorporated into this application by reference.
技术领域technical field
本公开涉及终端技术领域,尤其涉及一种显示方法、装置、电子设备、计算机可读存储介质、计算机程序及计算机程序产品。The present disclosure relates to the technical field of terminals, and in particular, to a display method, device, electronic equipment, computer-readable storage medium, computer program, and computer program product.
背景技术Background technique
目前,一些商品的商家,会在其销售的实体商品上附赠虚拟服务产品供用户享受。例如,在官方应用程序中制定专属的活动或服务来供用户参加。然而,目前虚拟服务产品与用户的交互方式通常较为单一,从而降低了虚拟服务产品,如一些显示服务类应用的中显示内容的丰富性与显示效果。At present, some commodity merchants will attach virtual service products to the physical commodities they sell for users to enjoy. For example, create exclusive events or services in official apps for users to participate in. However, at present, the interaction mode between virtual service products and users is usually relatively simple, thus reducing the richness and display effect of display content in virtual service products, such as some display service applications.
发明内容Contents of the invention
本公开实施例期望提供一种显示方法、装置、电子设备、计算机可读存储介质、计算机程序及计算机程序产品,能够提高显示内容的丰富性与显示效果。Embodiments of the present disclosure expect to provide a display method, device, electronic device, computer-readable storage medium, computer program, and computer program product, which can improve the richness and display effect of displayed content.
本公开的技术方案是这样实现的:The disclosed technical solution is achieved in this way:
本公开实施例提供一种显示方法,包括:An embodiment of the present disclosure provides a display method, including:
响应于对目标功能入口的触发操作,采集真实场景中真实对象的目标图像;Collecting target images of real objects in the real scene in response to a trigger operation on the target function entry;
通过对所述目标图像进行识别,确定所述目标图像对应的虚拟对象,并在目标功能页面中展示对所述虚拟对象进行渲染得到的虚拟效果图像;所述目标功能页面包含至少一个交互控件;所述虚拟效果图像用于展示所述目标图像对应的增强现实效果;Identifying the target image, determining a virtual object corresponding to the target image, and displaying a virtual effect image obtained by rendering the virtual object on a target function page; the target function page includes at least one interactive control; The virtual effect image is used to display the augmented reality effect corresponding to the target image;
响应于针对所述至少一个交互控件中目标交互控件的交互操作,确定所述虚拟对象对应的响应效果数据,并通过所述响应效果数据,更新展示的所述虚拟效果图像。In response to an interactive operation on a target interactive control in the at least one interactive control, determine response effect data corresponding to the virtual object, and update the displayed virtual effect image based on the response effect data.
通过小程序页面或网页端实现显示方法,提高了显示方法使用的便捷性,更有利于虚拟服务产品的推广。The display method is realized through the small program page or the web page, which improves the convenience of using the display method and is more conducive to the promotion of virtual service products.
本公开实施例提供一种显示装置,包括:An embodiment of the present disclosure provides a display device, including:
采集部分,配置为响应于对目标功能入口的触发操作,采集真实场景中真实对象的目标图像;The collection part is configured to collect a target image of a real object in a real scene in response to a trigger operation on a target function entry;
渲染部分,配置为通过对所述目标图像进行识别,确定所述目标图像对应的虚拟对象,并在目标功能页面中展示对所述虚拟对象进行渲染得到的虚拟效果图像;所述目标功能页面包含至少一个交互控件;所述虚拟效果图像用于展示所述目标图像对应的增强现实效果;The rendering part is configured to determine the virtual object corresponding to the target image by identifying the target image, and display the virtual effect image obtained by rendering the virtual object on the target function page; the target function page includes At least one interactive control; the virtual effect image is used to display the augmented reality effect corresponding to the target image;
操作部分,配置为响应于针对所述至少一个交互控件中目标交互控件的交互操作,确定所述虚拟对象对应的响应效果数据,并通过所述响应效果数据,更新展示的所述虚拟效果图像。The operation part is configured to determine response effect data corresponding to the virtual object in response to an interactive operation on a target interactive control in the at least one interactive control, and update the displayed virtual effect image through the response effect data.
本公开实施例提供一种电子设备,包括:An embodiment of the present disclosure provides an electronic device, including:
显示屏;存储器,配置为存储可执行计算机程序;display screen; memory configured to store an executable computer program;
处理器,配置为执行所述存储器中存储的可执行计算机程序时,结合所述显示屏实现如上述的任一种显示方法。The processor is configured to, when executing the executable computer program stored in the memory, implement any one of the above display methods in combination with the display screen.
本公开实施例提供一种计算机可读存储介质,其上存储有计算机程序,用于引起处理器执行时, 实现如上述的任一种显示方法。An embodiment of the present disclosure provides a computer-readable storage medium, on which a computer program is stored, for causing a processor to execute any one of the above display methods.
本公开实施例提供一种计算机程序,包括计算机可读代码,在所述计算机可读代码在电子设备中运行的情况下,所述电子设备中的处理器执行时实现如上述的显示方法的步骤。An embodiment of the present disclosure provides a computer program, including computer readable code. When the computer readable code is run in an electronic device, the processor in the electronic device implements the steps of the above-mentioned display method when executed. .
本公开实施例提供一种计算机程序产品,包括计算机程序指令,该计算机程序指令使得计算机执行如上述所述的显示方法的步骤。An embodiment of the present disclosure provides a computer program product, including computer program instructions, where the computer program instructions cause a computer to execute the steps of the above-mentioned display method.
本公开实施例提供了一种显示方法、装置、电子设备、计算机可读存储介质、计算机程序及计算机程序产品;通过采集真实场景中真实对象的目标图像,确定虚拟对象,并对虚拟对象进行渲染得到的虚拟效果图像,从而利用虚拟效果图像的增强现实效果提高并丰富了显示应用的显示效果。并且,电子设备可以通过至少一个交互控件接收用户的交互操作,并对虚拟对象进行相应的操作与更新展示,从而提高了显示内容的丰富性。Embodiments of the present disclosure provide a display method, device, electronic equipment, computer-readable storage medium, computer program, and computer program product; by collecting target images of real objects in real scenes, virtual objects are determined, and virtual objects are rendered The virtual effect image is obtained, so that the augmented reality effect of the virtual effect image is used to improve and enrich the display effect of the display application. In addition, the electronic device can receive the user's interactive operation through at least one interactive control, and perform corresponding operation and update display on the virtual object, thereby increasing the richness of the displayed content.
附图说明Description of drawings
为了更清楚地说明本公开实施例的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,此处的附图被并入说明书中并构成本说明书中的一部分,这些附图示出了符合本公开的实施例,并与说明书一起用于说明本公开的技术方案。应当理解,以下附图仅示出了本公开的某些实施例,因此不应被看作是对范围的限定,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他相关的附图。In order to illustrate the technical solutions of the embodiments of the present disclosure more clearly, the following will briefly introduce the accompanying drawings used in the embodiments. The accompanying drawings here are incorporated into the specification and constitute a part of the specification. The drawings show the embodiments consistent with the present disclosure, and are used together with the description to explain the technical solutions of the present disclosure. It should be understood that the following drawings only show some embodiments of the present disclosure, and therefore should not be regarded as limiting the scope. For those skilled in the art, they can also make From these drawings other related drawings are obtained.
图1为本公开实施例提供的一种显示系统的架构示意图;FIG. 1 is a schematic structural diagram of a display system provided by an embodiment of the present disclosure;
图2为本公开实施例提供的一种显示方法的可选的流程示意图;FIG. 2 is an optional schematic flowchart of a display method provided by an embodiment of the present disclosure;
图3为本公开实施例提供的一种显示方法的可选的流程示意图;FIG. 3 is an optional schematic flowchart of a display method provided by an embodiment of the present disclosure;
图4为本公开实施例提供的一种显示方法的可选的流程示意图FIG. 4 is an optional schematic flowchart of a display method provided by an embodiment of the present disclosure
图5为本公开实施例提供的一种图像采集界面的可选的效果示意图;FIG. 5 is a schematic diagram of an optional effect of an image acquisition interface provided by an embodiment of the present disclosure;
图6为本公开实施例提供的一种显示方法的可选的流程示意图;FIG. 6 is an optional schematic flowchart of a display method provided by an embodiment of the present disclosure;
图7为本公开实施例提供的一种显示方法的可选的流程示意图;FIG. 7 is an optional schematic flowchart of a display method provided by an embodiment of the present disclosure;
图8为本公开实施例提供的一种显示方法的可选的流程示意图;FIG. 8 is an optional schematic flowchart of a display method provided by an embodiment of the present disclosure;
图9本公开实施例提供的一种显示方法的可选的流程示意图;FIG. 9 is an optional schematic flowchart of a display method provided by an embodiment of the present disclosure;
图10为本公开实施例提供的一种显示方法的可选的流程示意图;FIG. 10 is an optional schematic flowchart of a display method provided by an embodiment of the present disclosure;
图11为本公开实施例提供的一种显示方法的可选的流程示意图;FIG. 11 is an optional schematic flowchart of a display method provided by an embodiment of the present disclosure;
图12为本公开实施例提供的一种合成拍照功能的可选的交互效果示意图;FIG. 12 is a schematic diagram of an optional interaction effect of a synthesized photographing function provided by an embodiment of the present disclosure;
图13为本公开实施例提供的显示装置的一种可选的结构示意图;FIG. 13 is an optional structural schematic diagram of a display device provided by an embodiment of the present disclosure;
图14为本公开实施例提供的电子设备的一种可选的结构示意图。FIG. 14 is a schematic structural diagram of an optional electronic device provided by an embodiment of the present disclosure.
具体实施方式Detailed ways
下面将结合本公开实施例中的附图,对本公开实施例中的技术方案进行清楚、完整地描述。The following will clearly and completely describe the technical solutions in the embodiments of the present disclosure with reference to the drawings in the embodiments of the present disclosure.
为了使本公开的目的、技术方案和优点更加清楚,下面将结合附图对本公开作进一步地详细描述,所描述的实施例不应视为对本公开的限制,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其它实施例,都属于本公开保护的范围。In order to make the purpose, technical solutions and advantages of the present disclosure clearer, the present disclosure will be further described in detail below in conjunction with the accompanying drawings. All other embodiments obtained under the premise of creative labor belong to the protection scope of the present disclosure.
在以下的描述中,涉及到“一些实施例”,其描述了所有可能实施例的子集,但是可以理解,“一些实施例”可以是所有可能实施例的相同子集或不同子集,并且可以在不冲突的情况下相互结合。In the following description, references to "some embodiments" describe a subset of all possible embodiments, but it is understood that "some embodiments" may be the same subset or a different subset of all possible embodiments, and Can be combined with each other without conflict.
除非另有定义,本文所使用的所有的技术和科学术语与属于本公开的技术领域的技术人员通常理解的含义相同。本文中所使用的术语只是为了描述本公开实施例的目的,不是旨在限制本公开。Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this disclosure belongs. The terms used herein are only for the purpose of describing the embodiments of the present disclosure, and are not intended to limit the present disclosure.
对本公开实施例进行进一步详细说明之前,对本公开实施例中涉及的名词和术语进行说明,本公开实施例中涉及的名词和术语适用于如下的解释。Before the embodiments of the present disclosure are further described in detail, the nouns and terms involved in the embodiments of the present disclosure will be described, and the nouns and terms involved in the embodiments of the present disclosure are applicable to the following explanations.
1)目标用户端,可以是在手机、平板电脑等电子设备上运行的小程序客户端或者网页客户端。小程序客户端又称为小程序;网页客户端(Client)也称为网页用户端,是指与服务器相对应,为客户提供本地服务的程序。小程序(Mini Program),也称为网络程序(Web Program),是一种基于面向 前端的语言(例如JavaScript)开发的、在超文本标记语言(HTML,Hyper Text Markup Language)页面中实现服务的程序,由客户端经由网络下载、并在客户端的浏览器环境中解释和执行的软件,节省在客户端中安装的步骤。1) The target client can be a small program client or a web client running on electronic devices such as mobile phones and tablet computers. A small program client is also called a small program; a webpage client (Client) is also called a webpage client, which refers to a program corresponding to a server and providing local services for clients. A Mini Program (Mini Program), also known as a Web Program (Web Program), is a program developed based on a front-end-oriented language (such as JavaScript) and implemented in a Hyper Text Markup Language (HTML, Hyper Text Markup Language) page. The program is software downloaded by the client via the network and interpreted and executed in the browser environment of the client, saving the steps of installation on the client.
2)应用程序(Application,APP),指为完成某项或多项特定工作的计算机程序,可以和用户进行交互,具有可视的用户界面。2) Application (Application, APP) refers to a computer program for completing one or more specific tasks, which can interact with users and has a visual user interface.
3)用户的身份标识,也即unionID,union Identity document的简称;如果开发者拥有多个移动应用、网站应用、和公众帐号(包括小程序),可通过unionID来区分用户的唯一性,因为如果用同一个微信开放平台帐号下的移动应用、网站应用和公众帐号(包括小程序),用户的unionID可以是唯一的;或者,用户的身份标识也可以指用户所使用的电子设备的具有唯一性的设备标识,例如,电子设备的国际移动设备识别码(International Mobile Equipment Identity,IMEI)等。3) The identity of the user, that is, unionID, short for union Identity document; if the developer has multiple mobile applications, website applications, and public accounts (including applets), the uniqueness of the user can be distinguished by unionID, because if For mobile applications, website applications and public accounts (including applets) under the same WeChat open platform account, the user's unionID can be unique; or, the user's identity can also refer to the uniqueness of the electronic device used by the user. The equipment identity of the device, for example, the International Mobile Equipment Identity (IMEI) of the electronic device, etc.
4)用户界面(User Interface,UI),其中包括图形、图标(Icon)、色彩、文字设计等,通常用于人机交互。4) User Interface (UI), including graphics, icons (Icon), color, text design, etc., usually used for human-computer interaction.
本公开实施例提供一种显示方法,能够提高显示应用的便捷性与丰富性。本公开实施例提供的显示方法应用于电子设备。Embodiments of the present disclosure provide a display method, which can improve the convenience and richness of display applications. The display method provided by the embodiments of the present disclosure is applied to electronic equipment.
下面说明本公开实施例提供的电子设备的示例性应用,本公开实施例提供的电子设备可以实施为增强现实(Augmented Reality,AR)眼镜、笔记本电脑,平板电脑,台式计算机,机顶盒,移动设备(例如,移动电话,便携式音乐播放器,智能手表,个人数字助理,专用信息设备,便携式游戏设备)等各种类型的用户终端(以下简称终端)。The exemplary application of the electronic device provided by the embodiment of the present disclosure is described below. The electronic device provided by the embodiment of the present disclosure can be implemented as augmented reality (Augmented Reality, AR) glasses, a notebook computer, a tablet computer, a desktop computer, a set-top box, a mobile device ( For example, various types of user terminals (hereinafter referred to as terminals) such as mobile phones, portable music players, smart watches, personal digital assistants, dedicated information devices, and portable game devices).
参见图1,图1是本公开实施例提供的显示系统的一个可选的架构示意图,在显示系统100中,终端(电子设备)400通过网络300连接服务器200,网络300可以是广域网或者局域网,又或者是二者的组合。终端400用于在接收到用户启动显示小程序的操作的情况下,示例性地,接收到用户针对显示小程序入口的触发操作的情况下,从服务器200获取显示小程序并加载在自身运行;通过内置或外接的显示屏401,展示显示小程序的首页主页面,如显示功能菜单页面。其中,显示功能菜单页面上可以展示至少一个功能入口,以通过至少一个功能入口接收用户的操作。Referring to FIG. 1 , FIG. 1 is a schematic diagram of an optional architecture of a display system provided by an embodiment of the present disclosure. In the display system 100, a terminal (electronic device) 400 is connected to a server 200 through a network 300. The network 300 may be a wide area network or a local area network. Or a combination of both. The terminal 400 is configured to obtain the display applet from the server 200 and load the display applet to run on itself when receiving the user's operation of starting the display applet, for example, receiving the user's trigger operation on the display applet entry; Through the built-in or external display screen 401, the home page of the applet is displayed, for example, a function menu page is displayed. Wherein, at least one function entry may be displayed on the display function menu page, so as to receive user operations through at least one function entry.
终端400还用于在接收到用户针对至少一个功能入口中目标功能入口的触发操作的情况下,响应于目标功能入口的触发操作,进入目标功能对应的图像采集页面,通过内置或外接的图像采集设备402,采集真实场景中真实对象500的目标图像501。示例性地,真实对象可以是书籍或日历,目标图像可以是书籍或日历上的图像,如展示品图像等等。The terminal 400 is also configured to enter the image collection page corresponding to the target function in response to the trigger operation of the target function entry from the user in response to the trigger operation of the target function entry in at least one function entry, and use the built-in or external image collection The device 402 collects a target image 501 of a real object 500 in a real scene. Exemplarily, the real object may be a book or a calendar, and the target image may be an image on the book or calendar, such as an exhibit image and the like.
终端400还用于通过对目标图像进行识别,确定目标图像对应的虚拟对象,并通过显示屏401,在目标功能页面中展示对虚拟对象进行渲染得到的虚拟效果图像600;目标功能页面包含至少一个交互控件;虚拟效果图像用于展示目标图像对应的增强现实效果;并响应于针对至少一个交互控件中目标交互控件的交互操作,确定虚拟对象对应的响应效果数据,并通过响应效果数据,更新虚拟效果图像,展示交互操作对应的响应效果。示例性地,虚拟对象可以是书籍或日历上的图像对应的AR模型。The terminal 400 is also used to identify the target image, determine the virtual object corresponding to the target image, and display the virtual effect image 600 obtained by rendering the virtual object on the target function page through the display screen 401; the target function page contains at least one Interactive control; the virtual effect image is used to display the augmented reality effect corresponding to the target image; and in response to the interactive operation of the target interactive control in at least one interactive control, determine the response effect data corresponding to the virtual object, and update the virtual object through the response effect data. The effect image shows the response effect corresponding to the interactive operation. Exemplarily, the virtual object may be an AR model corresponding to an image on a book or a calendar.
在本公开的一些实施例中,终端400可以在将虚拟对象预存在终端本地,终端400也可以借助服务器端,如上述的服务器200或其他具备图像处理功能的服务器生成或确定目标图像对应的虚拟对象,进而从服务器端加载虚拟对象至终端400本地,对虚拟对象进行渲染以及后续的交互操作等。这里的服务器端可以是独立的物理服务器,也可以是多个物理服务器构成的服务器集群或者分布式系统,还可以是提供云服务、云数据库、云计算、云函数、云存储、网络服务、云通信、中间件服务、域名服务、安全服务、CDN、以及大数据和人工智能平台等基础云计算服务的云服务器。终端以及服务器可以通过有线或无线通信方式进行直接或间接地连接,本公开实施例中不做限制。In some embodiments of the present disclosure, the terminal 400 can pre-store the virtual object locally in the terminal, and the terminal 400 can also generate or determine the virtual object corresponding to the target image by means of a server, such as the above-mentioned server 200 or other servers with image processing functions. object, and then load the virtual object from the server to the local terminal 400, render the virtual object and perform subsequent interactive operations. The server here can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or it can provide cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud Cloud servers for basic cloud computing services such as communications, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms. The terminal and the server may be connected directly or indirectly through wired or wireless communication, which is not limited in this embodiment of the present disclosure.
下面,将说明电子设备实施为终端的情况下的示例性应用。Hereinafter, an exemplary application in a case where an electronic device is implemented as a terminal will be explained.
图2是本公开实施例提供的显示方法的一个可选的流程示意图,将结合图2示出的步骤进行说明。FIG. 2 is a schematic flowchart of an optional display method provided by an embodiment of the present disclosure, which will be described in conjunction with the steps shown in FIG. 2 .
S101、响应于对目标功能入口的触发操作,采集真实场景中真实对象的目标图像。S101. Collect a target image of a real object in a real scene in response to a trigger operation on a target function entry.
本公开实施例中的显示方法适用于用户通过小程序或网页客户端,对真实物品附带的虚拟服务产品进行体验的场景。如对纸质日历中的展示品图像进行AR展示体验、或对活动展板上的展品图片进行多媒体交互体验等等。本公开实施例中的显示方法可以依托小程序或网页客户端,以轻量级的方式提供实物对象与虚拟对象相结合显示的用户体验以及丰富的互动模式。The display method in the embodiments of the present disclosure is applicable to a scenario where a user experiences a virtual service product attached to a real item through a small program or a web client. Such as AR display experience for exhibit images in the paper calendar, or multimedia interactive experience for exhibit pictures on event exhibition boards, etc. The display method in the embodiment of the present disclosure can rely on a small program or a webpage client to provide a user experience of combining physical objects and virtual objects and rich interaction modes in a lightweight manner.
本公开实施例中,目标功能入口可以显示在小程序页面或网页客户端,用于接收用户的触发操作,以启动对应的目标功能。这里,目标功能用于通过采集真实场景的图像,并确定真实场景图像对应的虚拟对象,如AR模型或特效图像,从而提供真实场景与虚拟对象相结合的增强现实效果或图像合成 效果。In the embodiment of the present disclosure, the target function entry can be displayed on the applet page or the webpage client, and is used to receive a user's trigger operation to activate the corresponding target function. Here, the target function is used to collect images of real scenes and determine virtual objects corresponding to real scene images, such as AR models or special effect images, so as to provide augmented reality effects or image synthesis effects combining real scenes and virtual objects.
在一些实施例中,电子设备可以通过预设页面上呈现的显示小程序入口,示例性地,在应用软件下拉页面的小程序列表中呈现的显示小程序图标入口,或者,网页端呈现的显示小程序链接入口等等,在接收到用户针对显示小程序入口的触发操作的情况下,电子设备响应于针对显示小程序入口的触发操作,展示显示功能菜单页面。通过显示功能菜单页面展示显示小程序中包含的至少一个功能对应的至少一个功能入口。这样,电子设备可以响应于针对至少一个功能入口中目标功能入口的触发操作,进入目标功能入口对应的目标功能。In some embodiments, the electronic device can display the applet entry displayed on the preset page, for example, the applet icon entry displayed in the applet list on the application software pull-down page, or the display applet displayed on the web page. For the applet link entry, etc., in the case of receiving the user's trigger operation for displaying the applet entry, the electronic device displays a display function menu page in response to the trigger operation for displaying the applet entry. At least one function entry corresponding to at least one function contained in the display applet is displayed by displaying a function menu page. In this way, the electronic device can enter the target function corresponding to the target function entry in response to a trigger operation on the target function entry in the at least one function entry.
在一些实施例中,电子设备也可以直接在预设页面,如小程序页面或网页客户端显示目标功能入口,或者根据实际需要设计菜单层级以布局目标功能入口,具体的根据实际情况进行选择,本公开实施例不作限定。In some embodiments, the electronic device can also directly display the target function entry on a preset page, such as a small program page or a web client, or design a menu hierarchy according to actual needs to lay out the target function entry, and specifically select according to the actual situation. The embodiments of the present disclosure are not limited.
本公开实施例中,电子设备可以响应于针对目标功能入口的触发操作,进入目标功能对应的图像采集页面,并调用图像采集设备,对真实场景中真实对象的图像进行采集,得到目标图像。In the embodiment of the present disclosure, the electronic device may respond to a trigger operation for the target function entry, enter the image collection page corresponding to the target function, and call the image collection device to collect the image of the real object in the real scene to obtain the target image.
本公开实施例中,真实场景为真实的现实场景,真实对象存在于真实场景中;在一些实施例中,真实场景中可以包含至少一个真实物品,真实对象可以是至少一个真实物品中的一个真实物品;在一些实施例中,真实对象也可以包括真实人物。示例性地,真实场景中可以包含实体物品,如纸质日历,纸质日历中包含有至少一个展示品图像,其中,真实对象可以是至少一个展示品图像中的目标展示品图像,如香炉陶器图像,或艺术画像等等。电子设备可以对目标展示品图像进行图像采集,得到目标图像。In the embodiments of the present disclosure, the real scene is a real real scene, and real objects exist in the real scene; in some embodiments, the real scene may contain at least one real item, and the real object may be a real object in the at least one real item. Items; in some embodiments, real objects may also include real people. Exemplarily, the real scene may contain physical items, such as a paper calendar, and the paper calendar contains at least one exhibit image, wherein the real object may be a target exhibit image in the at least one exhibit image, such as incense burner pottery images, or artistic portraits, etc. The electronic device can collect the image of the target exhibit to obtain the target image.
在一些实施例中,真实场景中的真实物品也可以是科技馆或艺术馆中展示的展品或展板、或商场陈列的商品或商品图册等等,具体的根据实际情况进行选择,本公开实施例不作限定。In some embodiments, real objects in real scenes can also be exhibits or exhibition boards displayed in science and technology museums or art museums, or commodities or commodity catalogs displayed in shopping malls, etc. Examples are not limited.
S102、通过对目标图像进行识别,确定目标图像对应的虚拟对象,并在目标功能页面中展示对虚拟对象进行渲染得到的虚拟效果图像;目标功能页面包含至少一个交互控件;虚拟效果图像用于展示目标图像对应的增强现实效果。S102. Determine the virtual object corresponding to the target image by identifying the target image, and display the virtual effect image obtained by rendering the virtual object on the target function page; the target function page includes at least one interactive control; the virtual effect image is used for display The augmented reality effect corresponding to the target image.
本公开实施例中,电子设备在得到目标图像的情况下,可以对目标图像进行特征提取与图像分析,以对目标图像进行识别。对于真实对象为目标真实物品的情况,电子设备可以识别出目标图像对应的预设真实物品,进而确定该预设真实物品对应的虚拟对象,如预设真实物品对应的虚拟AR模型。对于真实对象为真实人物的情况,电子设备可以对目标图像进行人体识别,识别出目标图像中包含的人体部位,如五官或头部、手部等等,进而确定出人体部位对应的虚拟对象,如特定人体部位对应的特效贴纸。In the embodiment of the present disclosure, when the electronic device obtains the target image, it may perform feature extraction and image analysis on the target image, so as to identify the target image. For the case where the real object is the target real item, the electronic device can identify the preset real item corresponding to the target image, and then determine the virtual object corresponding to the preset real item, such as the virtual AR model corresponding to the preset real item. For the case where the real object is a real person, the electronic device can perform human body recognition on the target image, recognize the human body parts contained in the target image, such as facial features or head, hands, etc., and then determine the virtual object corresponding to the human body part, For example, special effect stickers corresponding to specific human body parts.
在一些实施例中,虚拟对象可以是预先建模的图像模型,包括具体的形象参数或动作逻辑。电子设备可以根据预设真实物品的种类预先生成每种预设真实物品对应的预设虚拟模型并保存,在从目标图像中识别出对应的预设真实物品的情况下,获取该预设真实物品对应的预设虚拟模型作为虚拟对象。在一些实施例中,电子设备也可以通过对目标图像的识别,实时地生成目标对象对应的虚拟对象,示例性地,电子设备可以根据从日历中采集到的展示品图像进行实时的AR建模,得到展示品的AR模型作为虚拟对象。具体的根据实际情况进行选择,本公开实施例不作限定。In some embodiments, the virtual object can be a pre-modeled image model, including specific image parameters or action logic. The electronic device can pre-generate and save a preset virtual model corresponding to each preset real item according to the type of the preset real item, and acquire the preset real item when the corresponding preset real item is identified from the target image The corresponding preset virtual model is used as a virtual object. In some embodiments, the electronic device can also generate a virtual object corresponding to the target object in real time by recognizing the target image. For example, the electronic device can perform real-time AR modeling based on the display images collected from the calendar. , get the AR model of the exhibit as a virtual object. The specific selection is made according to the actual situation, and the embodiment of the present disclosure makes no limitation.
本公开实施例中,电子设备在确定出虚拟对象的情况下,可以进入目标功能页面,并基于目标图像,利用计算机视觉方法估计出真实对象在真实场景中的真实位置信息,并获取目标图像在电子设备的显示屏中的屏幕位置信息,进而建立现实世界与屏幕之间的映射关系。电子设备可以在目标功能页面中,根据真现实世界与屏幕之间的映射关系,使用虚拟对象对应的预设渲染数据对虚拟对象进行渲染,将对虚拟对象的渲染结果附加在真实场景的物品图像中,从而展示出虚拟与现实相结合的增强显示效果。In the embodiment of the present disclosure, when the virtual object is determined, the electronic device can enter the target function page, and based on the target image, use the computer vision method to estimate the real position information of the real object in the real scene, and obtain the target image in the real scene. The screen position information in the display screen of the electronic device is used to establish a mapping relationship between the real world and the screen. In the target function page, the electronic device can use the preset rendering data corresponding to the virtual object to render the virtual object according to the mapping relationship between the real world and the screen, and attach the rendering result of the virtual object to the item image in the real scene , thus showing the enhanced display effect of the combination of virtual and reality.
在一些实施例中,真实对象可以是真实场景中的平面图像,如日历中的展示品图像。电子设备可以将真实对象作为真实场景中的一个标记平面,通过摄像头对该标记平面进行识别和姿态评估(Pose Estimation),并确定该标记平面在真实场景中的位置信息。电子设备将该三维的真实场景下的标记平面映射到电子设备的二维屏幕页面上,在映射得到的在二维屏幕页面上渲染和绘制虚拟对象对应的虚拟效果图像。In some embodiments, the real object may be a planar image in a real scene, such as an exhibit image in a calendar. The electronic device can use the real object as a marked plane in the real scene, and perform recognition and pose estimation (Pose Estimation) on the marked plane through the camera, and determine the position information of the marked plane in the real scene. The electronic device maps the marked plane in the three-dimensional real scene to the two-dimensional screen page of the electronic device, and renders and draws a virtual effect image corresponding to the virtual object on the mapped two-dimensional screen page.
S103、响应于针对至少一个交互控件中目标交互控件的交互操作,确定虚拟对象对应的响应效果数据,并通过响应效果数据,更新展示的虚拟效果图像。S103. In response to an interactive operation on a target interactive control in at least one interactive control, determine response effect data corresponding to the virtual object, and update a displayed virtual effect image based on the response effect data.
本公开实施例中,目标功能页面包含至少一个交互控件,电子设备可以通过至少一个交互控件中的目标交互控件接收用户的交互操作,进而响应于交互操作,根据目标交互控件的控件功能对虚拟对 象进行操作,从而将用户的交互操作施加在虚拟对象上,实现用户与虚拟对象的交互。In the embodiment of the present disclosure, the target function page includes at least one interactive control, and the electronic device can receive the user's interactive operation through the target interactive control in the at least one interactive control, and then respond to the interactive operation, according to the control function of the target interactive control. Operate, so that the user's interactive operation is applied to the virtual object, so as to realize the interaction between the user and the virtual object.
本公开实施例中,电子设备可以通过目标交互控件的交互操作,确定对虚拟对象的操作方式,进而确定操作方式对应的响应效果数据,电子设备使用响应效果数据对当前真实的虚拟效果图像进行更新,从而使得虚拟对象体现出对交互操作进行响应的交互效果。In the embodiment of the present disclosure, the electronic device can determine the operation mode of the virtual object through the interactive operation of the target interactive control, and then determine the response effect data corresponding to the operation mode, and the electronic device uses the response effect data to update the current real virtual effect image , so that the virtual object can reflect the interactive effect that responds to the interactive operation.
在一些实施例中,基于至少一个交互控件中每个交互控件对应的交互功能,响应效果数据可以是对虚拟对象进行重新渲染的渲染数据,也可以是与虚拟对象结合显示的文字或图像效果数据,具体的根据实际情况进行选择,本公开实施例不作限定。In some embodiments, based on the interactive function corresponding to each interactive control in at least one interactive control, the response effect data may be rendering data for re-rendering the virtual object, or text or image effect data displayed in combination with the virtual object , the specific selection is made according to the actual situation, which is not limited by the embodiments of the present disclosure.
可以理解的是,本公开实施例中,通过采集真实场景中真实对象的目标图像,确定虚拟对象,并对虚拟对象进行渲染得到的虚拟效果图像,从而利用虚拟效果图像的增强现实效果提高并丰富了显示应用的显示效果。并且,电子设备可以通过至少一个交互控件接收用户的交互操作,并对虚拟对象进行相应的操作与更新展示,从而提高了显示内容的丰富性。It can be understood that, in the embodiments of the present disclosure, by collecting the target image of the real object in the real scene, determining the virtual object, and rendering the virtual object to obtain a virtual effect image, the augmented reality effect of the virtual effect image is used to improve and enrich In order to display the display effect of the application. In addition, the electronic device can receive the user's interactive operation through at least one interactive control, and perform corresponding operation and update display on the virtual object, thereby increasing the richness of the displayed content.
在一些实施例中,基于图2,如图3所示,S101可以通过S1011-S1012来实现,如下:In some embodiments, based on FIG. 2, as shown in FIG. 3, S101 can be implemented through S1011-S1012, as follows:
S1011、响应于对目标功能入口的触发操作,从显示功能菜单页面跳转至目标功能加载界面,在目标功能加载界面的显示过程中同步加载目标功能后台数据。S1011. In response to the trigger operation on the target function entry, jump from the display function menu page to the target function loading interface, and synchronously load the background data of the target function during the display process of the target function loading interface.
本公开实施例中,电子设备响应于对目标功能入口的触发操作,可以在进入图像采集界面之前,先从显示功能菜单页面跳转至目标功能加载界面,通过目标功能加载界面显示目标功能后台数据的加载进度以及目标功能的介绍信息。In the embodiment of the present disclosure, in response to the trigger operation on the target function entry, the electronic device can jump from the display function menu page to the target function loading interface before entering the image acquisition interface, and display the background data of the target function through the target function loading interface The loading progress of , and the introduction information of the target function.
本公开实施例中,电子设备可以在目标功能加载界面的显示过程中同步加载目标功能后台数据,用于后续步骤中对虚拟对象进行渲染。这里,目标功能后台数据包括至少一种预设渲染数据;目标功能后台数据可以存放在服务器上,由电子设备加载到本地;也可以存放在电子设备本地,在运行过程中加载至自身内存,具体的根据实际情况进行选择,本公开实施例不作限定。In the embodiment of the present disclosure, the electronic device may synchronously load the background data of the target function during the display process of the target function loading interface, so as to render the virtual object in a subsequent step. Here, the background data of the target function includes at least one preset rendering data; the background data of the target function can be stored on the server and loaded locally by the electronic device; it can also be stored locally on the electronic device and loaded into its own memory during operation, specifically The selection is made according to the actual situation, and is not limited by the embodiments of the present disclosure.
S1012、在目标功能后台数据加载完成的情况下,进入图像采集界面,采集真实场景中真实对象的目标图像。S1012. When the background data loading of the target function is completed, enter the image collection interface, and collect the target image of the real object in the real scene.
在一些实施例中,示例性地,目标功能可以是日历中附带的虚拟服务产品中的“展示品带回家”功能,该功能可以提供用户与展示品AR模型的互动,其对应的目标功能加载界面上可以示出目标功能的名称、目标功能后台数据的加载进度、以及目标功能的介绍信息等信息。In some embodiments, for example, the target function may be the "Take Home Exhibit" function in the virtual service product attached to the calendar, which may provide user interaction with the AR model of the exhibit, and its corresponding target function The loading interface can display information such as the name of the target function, the loading progress of the background data of the target function, and the introduction information of the target function.
在一些实施例中,基于图3,电子设备在进入图像采集界面的情况下,采集真实场景中真实对象的目标图像的过程可以如图4所示,通过执行S201-S202实现,如下:In some embodiments, based on FIG. 3 , when the electronic device enters the image acquisition interface, the process of acquiring a target image of a real object in a real scene may be implemented as shown in FIG. 4 by executing S201-S202, as follows:
S201、在进入图像采集界面的情况下,在图像采集界面上显示采集范围引导信息;采集范围引导信息包括预设采集范围边界。S201. When entering the image collection interface, display collection range guide information on the image collection interface; the collection range guide information includes a preset collection range boundary.
本公开实施例中,电子设备在进入图像采集界面的情况下,可以在图像采集界面上显示采集范围引导信息,以将电子设备对真实场景的图像采集范围有针对性地集中在真实对象上,减少真实场景中无关信息的干扰,提高后续步骤中对目标图像进行识别的准确度。In the embodiment of the present disclosure, when the electronic device enters the image collection interface, it can display the collection range guide information on the image collection interface, so as to focus the image collection range of the real scene by the electronic device on the real object in a targeted manner, Reduce the interference of irrelevant information in real scenes, and improve the accuracy of target image recognition in subsequent steps.
在一些实施例中,采集范围引导信息可以包含预设采集范围边界,示例性地,预设采集范围边界可以是扫描框、瞄准框等图形边界。在一些实施例中,采集范围引导信息还可以包含文字引导信息,用于提供图像采集的文字指导。In some embodiments, the acquisition range guide information may include a preset acquisition range boundary. Exemplarily, the preset acquisition range boundary may be a graphic boundary such as a scanning frame or an aiming frame. In some embodiments, the acquisition range guide information may also include text guide information for providing text guidance for image acquisition.
示例性地,图像采集界面可以如图5所示,图5中示出了预设采集范围边界21。Exemplarily, the image acquisition interface may be as shown in FIG. 5 , which shows a preset acquisition range boundary 21 .
S202、通过图像采集界面对真实场景中的真实对象进行图像采集,将预设采集范围边界内的图像作为目标图像。S202. Collect images of real objects in the real scene through the image collection interface, and use images within the boundaries of the preset collection range as target images.
本公开实施例中,电子设备可以通过图像采集界面对真实场景中的真实对象进行图像采集,舍弃预设采集范围边界之外的图像信息,将预设采集范围边界内的图像作为目标图像。In the embodiments of the present disclosure, the electronic device may collect images of real objects in real scenes through the image collection interface, discard image information outside the boundaries of the preset collection range, and use images within the boundaries of the preset collection range as target images.
在一些实施例中,电子设备对真实对象进行图像采集的方式可以包括扫描或拍照的方式,也可以是其他图像采集方式,具体的根据实际情况进行选择,本公开实施例不作限定。In some embodiments, the manner in which the electronic device collects the image of the real object may include scanning or taking pictures, or other image collection manners, which are selected according to actual conditions, and are not limited by the embodiments of the present disclosure.
在一些实施例中,真实对象包括:目标真实物品,虚拟对象为与目标真实物品对应的目标虚拟模型,示例性地,目标真实物品可以是日历中的展示品图像,如香炉图像;虚拟对象可以是展示品图像对应的虚拟模型,如香炉AR模型。下面以真实对象为目标真实物品为例,对本公开实施例中的显示方法进行介绍。In some embodiments, the real object includes: a target real item, and the virtual object is a target virtual model corresponding to the target real item. Exemplarily, the target real item can be an exhibit image in a calendar, such as an incense burner image; the virtual object can be It is the virtual model corresponding to the exhibit image, such as the AR model of the incense burner. The display method in the embodiment of the present disclosure will be introduced below by taking a real object as a target real item as an example.
基于图2与图3,如图6所示,S102中通过对目标图像进行识别,确定目标图像对应的虚拟对象的过程可以通过执行S1021-S1022的过程来实现;S102中在目标功能页面中展示对虚拟对象进行渲染得到的虚拟效果图像的过程可以通过S1023-S1025的过程来实现,将结合各步骤进行说明。Based on Figure 2 and Figure 3, as shown in Figure 6, by identifying the target image in S102, the process of determining the virtual object corresponding to the target image can be realized by executing the process of S1021-S1022; in S102, it is displayed on the target function page The process of rendering a virtual object to obtain a virtual effect image can be realized through the process of S1023-S1025, which will be described in conjunction with each step.
S1021、对目标图像进行至少一种预设真实物品的目标识别,得到目标真实物品的检测结果。S1021. Perform target recognition of at least one preset real item on the target image to obtain a detection result of the target real item.
本公开实施例中,电子设备可以通过机器学习的方式得到多目标分类的神经网络,用于识别输入图像对应至少一个预设真实物品的分类概率。电子设备可以通过多目标分类的神经网络,对目标图像进行特征提取和分类预测,得到目标图像属于至少一个预设真实物品中每个预设真实物品的分类概率;基于目标图像属于每个预设真实物品的分类概率,得到目标图像对应的目标真实物品的检测结果。In the embodiment of the present disclosure, the electronic device may obtain a neural network for multi-objective classification through machine learning, which is used to identify the classification probability of the input image corresponding to at least one preset real item. The electronic device can perform feature extraction and classification prediction on the target image through a multi-target classification neural network, and obtain the classification probability that the target image belongs to each preset real item in at least one preset real item; based on the target image belonging to each preset The classification probability of the real item is used to obtain the detection result of the target real item corresponding to the target image.
在一些实施例中,基于图5所示的图像采集界面,电子设备可以以扫描的方式采集预设采集范围边界内的目标图像,并对实时扫描得到的目标图像进行实时地识别,预测出目标图像对应的预设真实物品,作为目标真实物品的检测结果。In some embodiments, based on the image collection interface shown in FIG. 5 , the electronic device can scan the target image within the boundary of the preset collection range in a scanning manner, and recognize the target image obtained by real-time scanning in real time, and predict the target image. The preset real item corresponding to the image is used as the detection result of the target real item.
S1022、基于检测结果,获取目标真实物品对应的目标虚拟模型作为虚拟对象。S1022. Based on the detection result, acquire a target virtual model corresponding to the target real item as a virtual object.
本公开实施例中,电子设备可以基于目标真实物品的检测结果,使用预设的建模数据实时地生成目标真实物品对应的目标虚拟模型作为虚拟对象,电子设备也可以在显示小程序的目标功能后台数据中预存由至少一个预设真实物品对应的至少一个预设虚拟模型,从而可以基于目标真实物品的检测结果,从预存的至少一个预设虚拟模型中,获取目标真实物品对应的目标虚拟模型作为虚拟对象。具体的根据实际情况进行选择,本公开实施例不作限定。In the embodiment of the present disclosure, the electronic device can use the preset modeling data to generate the target virtual model corresponding to the target real item as a virtual object in real time based on the detection result of the target real item, and the electronic device can also display the target function of the applet At least one preset virtual model corresponding to at least one preset real item is pre-stored in the background data, so that the target virtual model corresponding to the target real item can be obtained from the at least one pre-stored preset virtual model based on the detection result of the target real item as a virtual object. The specific selection is made according to the actual situation, and the embodiment of the present disclosure makes no limitation.
示例性地,电子设备对目标图像进行识别,得到目标真实物品为香炉图像的检测结果。电子设备可以进行针对香炉图像进行虚拟场景下的三维建模,得到香炉的三维虚拟模型作为香炉图像对应的虚拟对象。Exemplarily, the electronic device recognizes the target image, and obtains a detection result that the target real item is an incense burner image. The electronic device can perform three-dimensional modeling in a virtual scene for the image of the incense burner, and obtain the three-dimensional virtual model of the incense burner as a virtual object corresponding to the image of the incense burner.
S1023、获取目标图像在预设屏幕坐标系中对应的位置信息,作为目标真实物品在目标功能页面上展示的屏幕位置信息。S1023. Obtain the corresponding position information of the target image in the preset screen coordinate system as the screen position information of the target real item displayed on the target function page.
本公开实施例中,由于目标图像为目标真实物品在显示屏上当前显示的目标功能页面中所展示的图像,电子设备可以获取目标图像中每个像素点在显示屏的预设屏幕坐标系中对应的位置信息,作为目标真实物品在目标功能页面上展示的屏幕位置信息。In the embodiment of the present disclosure, since the target image is the image displayed by the target real item on the target function page currently displayed on the display screen, the electronic device can obtain each pixel in the target image in the preset screen coordinate system of the display screen The corresponding location information is used as the screen location information of the target real item displayed on the target function page.
S1024、基于目标图像进行姿态评估,得到目标真实物品在真实场景中的真实位置信息。S1024. Perform attitude assessment based on the target image to obtain real position information of the real target object in the real scene.
本公开实施例中,由于目标图像也反映了目标真实物品在真实场景中的位置和姿态信息,电子设备可以基于目标图像,结合图像采集设备的标定参数,如相机的内参矩阵,对目标图像进行姿态评估,得到目标真实物品在真实场景中的真实位置信息。In the embodiment of the present disclosure, since the target image also reflects the position and attitude information of the target real object in the real scene, the electronic device can perform the target image based on the target image, combined with the calibration parameters of the image acquisition device, such as the internal reference matrix of the camera. Pose evaluation, to obtain the real position information of the target real object in the real scene.
在一些实施例中,电子设备可以将以目标真实物品的中心为原点的坐标系作为真实坐标系,利用3D射影几何的变换关系,将真实坐标系旋转平移到图像采集设备对应的摄像机坐标系,再从摄像机坐标系映射到屏幕坐标系,从而得到真实位置信息与屏幕位置信息的映射关系。In some embodiments, the electronic device can use the coordinate system with the center of the target real object as the origin as the real coordinate system, and use the transformation relationship of 3D projective geometry to rotate and translate the real coordinate system to the camera coordinate system corresponding to the image acquisition device, Then map from the camera coordinate system to the screen coordinate system, so as to obtain the mapping relationship between the real position information and the screen position information.
S1025、从目标功能后台数据中,获取虚拟对象对应的目标预设渲染数据,基于真实位置信息与屏幕位置信息的映射关系,使用目标预设渲染数据对虚拟对象进行渲染,得到虚拟效果图像。S1025. Obtain target preset rendering data corresponding to the virtual object from the background data of the target function, and use the target preset rendering data to render the virtual object based on the mapping relationship between real position information and screen position information to obtain a virtual effect image.
本公开实施例中,电子设备在建立了真实坐标系和屏幕坐标系建立映射关系的情况下,就可以根据真实位置信息与屏幕位置信息的映射关系,在显示屏上对虚拟对象进行渲染,得到渲染出的虚拟对象图像依附在真实场景的物品图像上的虚拟效果图像。In the embodiment of the present disclosure, when the real coordinate system and the screen coordinate system have established a mapping relationship, the electronic device can render the virtual object on the display screen according to the mapping relationship between the real position information and the screen position information, and obtain A virtual effect image in which the rendered virtual object image is attached to the item image in the real scene.
本公开实施例中,电子设备在通过加载过程获取到目标功能后台数据的情况下,可以从目标功能后台数据中,获取虚拟对象对应的目标预设渲染数据。这里,目标功能后台数据中包含的至少一种预设渲染数据可以是至少一种预设虚拟模型对应的预设渲染数据。电子设备可以获取目标虚拟模型在至少一个预设渲染数据中对应的预设渲染数据,作为目标预设渲染数据。In the embodiment of the present disclosure, when the electronic device acquires the background data of the target function through a loading process, it may acquire the target preset rendering data corresponding to the virtual object from the background data of the target function. Here, the at least one preset rendering data included in the background data of the target function may be preset rendering data corresponding to at least one preset virtual model. The electronic device may acquire preset rendering data corresponding to the target virtual model in at least one preset rendering data as the target preset rendering data.
在一些实施例中,电子设备在从目标图像中识别出目标真实物品的检测结果的情况下,可以从图像采集界面跳转至目标功能页面,在目标功能页面上进行虚拟对象的渲染与虚拟效果图像的展示。示例性地,电子设备从目标图像中识别出香炉图像的情况下,可以获取香炉图像对应的香炉AR模型,并通过预设渲染数据,在目标功能页面上渲染出香炉AR模型的虚拟对象图像。这里,虚拟对象图像可以是三维立体效果的香炉模型图像,电子设备将虚拟对象图像叠加在真实场景中的日历的物品图像上,得到虚拟效果图像,并通过目标功能页面展现出虚拟与现实相结合的增强现实效果。In some embodiments, when the electronic device recognizes the detection result of the target real object from the target image, it can jump from the image acquisition interface to the target function page, and perform virtual object rendering and virtual effects on the target function page Display of images. For example, when the electronic device recognizes the incense burner image from the target image, it can acquire the incense burner AR model corresponding to the incense burner image, and render the virtual object image of the incense burner AR model on the target function page through preset rendering data. Here, the virtual object image can be a censer model image with a three-dimensional effect. The electronic device superimposes the virtual object image on the calendar item image in the real scene to obtain a virtual effect image, and displays the combination of virtual and reality through the target function page. augmented reality effect.
可以理解的是,本公开实施例中,通过对虚拟对象进行渲染得到增强现实效果的虚拟效果图像,可以将真实物品与将虚拟世界中的显示内容无缝结合,增强了显示内容的多样性和体验感,提高了显示内容的丰富性。It can be understood that, in the embodiment of the present disclosure, by rendering the virtual object to obtain the virtual effect image of the augmented reality effect, the real item can be seamlessly combined with the display content in the virtual world, which enhances the diversity and variety of the display content. The sense of experience improves the richness of the displayed content.
在一些实施例中,基于图6,如图7所示,S1021之后,还可以执行S1026,如下:In some embodiments, based on FIG. 6, as shown in FIG. 7, after S1021, S1026 may also be executed, as follows:
S1026、在目标图像中未识别到预设物品对象的情况下,在图像采集界面上显示用于提示调整预设采集范围边界的位置的引导信息。S1026. In the case that the preset object is not recognized in the target image, display guidance information for prompting to adjust the position of the boundary of the preset collection range on the image collection interface.
本公开实施例中,电子设备对目标图像进行至少一种预设真实物品的目标识别,在未识别到预设真实物品的情况下,电子设备确定预设采集范围边界中不包含任何一种预设真实物品,电子设备在在图像采集界面上显示用于提示调整预设采集范围边界的位置的引导信息,以提示用户将预设采集范围边界对准真实对象进行图像采集。In the embodiment of the present disclosure, the electronic device performs target recognition of at least one preset real item on the target image, and if the preset real item is not recognized, the electronic device determines that any preset Assuming a real object, the electronic device displays guidance information on the image collection interface for prompting to adjust the position of the boundary of the preset collection range, so as to prompt the user to align the boundary of the preset collection range with the real object for image collection.
示例性地,基于图5,在预设采集范围边界即扫描框,没有对准日历中的展示品,如香炉图像的情况下,电子设备无法根据扫描框内的目标图像正常识别到预设的展示品对象。电子设备可以在图像采集界面上显示引导信息,如文字提示“请对准日历上的展品”,以提示用户将扫描框对准日历上的展示品。Exemplarily, based on Figure 5, in the case where the boundary of the preset acquisition range, that is, the scanning frame, is not aligned with the exhibits in the calendar, such as the image of the incense burner, the electronic device cannot normally recognize the preset object image according to the target image in the scanning frame. Showcase object. The electronic device can display guidance information on the image collection interface, such as a text prompt "Please align the exhibits on the calendar" to prompt the user to align the scanning frame with the exhibits on the calendar.
在一些实施例中,基于图2与图6,电子设备在目标功能页面上展示的至少一个交互控件可以包括:旋转控件,S103中响应于针对至少一个交互控件中目标交互控件的交互操作,确定虚拟对象对应的响应效果数据的过程可以如图8所示,通过S1031-S1033来实现,如下:In some embodiments, based on FIG. 2 and FIG. 6 , at least one interactive control displayed by the electronic device on the target function page may include: a rotation control. In S103, in response to an interactive operation on the target interactive control in the at least one interactive control, determine The process of responding to the effect data corresponding to the virtual object can be shown in Figure 8, through S1031-S1033, as follows:
S1031、在目标交互控件为旋转控件的情况下,展示旋转引导图标。S1031. In the case that the target interactive control is a rotation control, display a rotation guide icon.
本公开实施例中,旋转控件用于对虚拟对象进行旋转,以通过对虚拟对象的旋转全方位地展示目标真实物品。在用户触发的交互操作对应的目标交互控件为旋转控件的情况下,电子设备可以展示旋转引导图标,通过旋转引导图标指导用户以图标指示的操作,对虚拟对象进行旋转。In the embodiment of the present disclosure, the rotation control is used to rotate the virtual object, so as to fully display the target real item through the rotation of the virtual object. In the case that the target interactive control corresponding to the interactive operation triggered by the user is a rotation control, the electronic device may display a rotation guide icon to guide the user to perform an operation indicated by the icon to rotate the virtual object.
在一些实施例中,在目标功能页面上可以显示旋转控件,在旋转控件接收到交互操作,如用户点击了旋转控件的情况下,响应于旋转控件上的交互操作,电子设备可以在旋转控件附近展示出旋转引导图标。旋转引导图标用于指示用户通过左右滑动的方式对虚拟对象进行旋转。In some embodiments, the rotation control can be displayed on the target function page. When the rotation control receives an interaction operation, such as when the user clicks the rotation control, in response to the interaction operation on the rotation control, the electronic device can be near the rotation control Displays the spinner icon. The rotation guide icon is used to instruct the user to rotate the virtual object by sliding left or right.
S1032、接收针对于旋转引导图标的旋转操作,根据旋转操作确定虚拟对象的旋转方向与旋转角度。S1032. Receive a rotation operation on the rotation guide icon, and determine a rotation direction and a rotation angle of the virtual object according to the rotation operation.
本公开实施例中,电子设备通过旋转引导图标接收旋转操作,并根据旋转操作的操作信息,如操作方向或操作距离,确定虚拟对象的旋转方向与旋转角度。In the embodiment of the present disclosure, the electronic device receives the rotation operation through the rotation guide icon, and determines the rotation direction and rotation angle of the virtual object according to the operation information of the rotation operation, such as the operation direction or the operation distance.
在一些实施例中,旋转操作可以是左右滑动的操作,电子设备可以根据左右滑动的方向确定虚拟对象顺时针或逆时针的旋转方向,并根据左右滑动的距离确定虚拟对象的旋转角度。In some embodiments, the rotation operation may be a left-right sliding operation, and the electronic device may determine the clockwise or counterclockwise rotation direction of the virtual object according to the left-right sliding direction, and determine the virtual object's rotation angle according to the left-right sliding distance.
S1033、根据旋转方向与旋转角度,对虚拟对象进行旋转,并获取旋转后的虚拟对象对应的预设渲染数据,作为响应效果数据。S1033. Rotate the virtual object according to the rotation direction and the rotation angle, and acquire preset rendering data corresponding to the rotated virtual object as response effect data.
本公开实施例中,电子设备可以根据旋转操作指示的旋转方向与旋转角度,对虚拟对象进行旋转,得到旋转后的虚拟对象。电子设备根据旋转后的虚拟对象,获取对应的预设渲染数据作为响应效果数据,以通过响应效果数据更新虚拟效果图像,展示出对虚拟对象进行旋转后呈现的虚拟效果图像。In the embodiment of the present disclosure, the electronic device may rotate the virtual object according to the rotation direction and the rotation angle indicated by the rotation operation to obtain the rotated virtual object. The electronic device acquires corresponding preset rendering data as response effect data according to the rotated virtual object, so as to update the virtual effect image through the response effect data, and display the virtual effect image presented after the virtual object is rotated.
需要说明的是,在一些实施例中,电子设备在接收到针对旋转控件的交互操作,如点击的情况下,可以将旋转控件设置为开启状态;这样,在旋转控件为开启状态的情况下,显示旋转引导图标,用户可以通过旋转操作对对虚拟对象进行旋转。在完成对虚拟对象的旋转的情况下,用户可以通过再次点击旋转控件,将旋转控件转换为关闭状态,从而将虚拟对象退出旋转状态,关闭旋转引导图标,在旋转控件为关闭状态的情况下不响应旋转操作。It should be noted that, in some embodiments, when the electronic device receives an interactive operation on the rotation control, such as clicking, it can set the rotation control to an on state; thus, when the rotation control is on, Display the rotation guide icon, and the user can rotate the virtual object through the rotation operation. When the rotation of the virtual object is completed, the user can click the rotation control again to switch the rotation control to the off state, thereby exiting the rotation state of the virtual object and closing the rotation guide icon. Responds to rotation operations.
在一些实施例中,如图9所示,目标功能页面上的至少一个交互控件可以包括:信息显示控件,S103可以通过S1034来实现,如下:In some embodiments, as shown in FIG. 9, at least one interactive control on the target function page may include: an information display control, and S103 may be implemented through S1034, as follows:
S1034、在目标交互控件为信息显示控件的情况下,获取虚拟对象对应的预设介绍数据,作为响应效果数据;预设介绍数据用于在预设显示位置上显示目标真实物品的介绍信息。S1034. If the target interactive control is an information display control, obtain preset introduction data corresponding to the virtual object as response effect data; the preset introduction data is used to display the introduction information of the target real item at a preset display position.
本公开实施例中,信息显示控件用于展示虚拟对象的预设介绍数据,预设介绍数据用于在预设显示位置上显示目标真实物品的介绍信息,这里,介绍信息可以包含文字介绍信息与图像介绍信息中的至少一种。电子设备在接收到针对信息显示控件的交互操作的情况下,获取虚拟对象对应的预设介绍数据,作为响应效果数据,以通过响应效果数据对虚拟效果图像进行更新,将预设介绍数据显示在当前的目标功能页面上。In the embodiment of the present disclosure, the information display control is used to display the preset introduction data of the virtual object, and the preset introduction data is used to display the introduction information of the target real item at the preset display position. Here, the introduction information may include text introduction information and At least one of image introduction information. When the electronic device receives the interactive operation for the information display control, it obtains the preset introduction data corresponding to the virtual object as the response effect data, so as to update the virtual effect image through the response effect data, and display the preset introduction data on the on the current target feature page.
在一些实施例中,电子设备可以通过预设显示位置上的弹出窗口或弹出界面显示预设介绍数据,对虚拟效果图像进行更新。示例性地,目标功能页面上可以显示有信息显示控件,在信息显示控件接收到交互操作,如用户点击信息显示控件的情况下,响应于信息显示控件上的交互操作,电子设备可以获取虚拟对象,如香炉AR模型对应的香炉的介绍信息作为预设介绍数据,在当前的目标功能页面的预设显示位置上弹出香炉的介绍窗口,通过介绍窗口显示预设介绍数据。In some embodiments, the electronic device may display preset introduction data through a pop-up window or a pop-up interface at a preset display position to update the virtual effect image. Exemplarily, an information display control may be displayed on the target function page. When the information display control receives an interactive operation, such as when the user clicks on the information display control, the electronic device may acquire the virtual object in response to the interactive operation on the information display control. For example, the introduction information of the incense burner corresponding to the AR model of the incense burner is used as the preset introduction data, and the introduction window of the incense burner pops up at the preset display position of the current target function page, and the preset introduction data is displayed through the introduction window.
在一些实施例中,目标功能页面上的至少一个交互控件可以包括:图像采集控件,如图10所示,S103可以通过S1035-S1036来实现,如下:In some embodiments, at least one interactive control on the target function page may include: an image acquisition control, as shown in FIG. 10 , S103 may be implemented through S1035-S1036, as follows:
S1035、在目标交互控件为图像采集控件的情况下,对虚拟对象对应的当前的虚拟效果图像进行采集,得到当前对象图像。S1035. In the case that the target interactive control is an image collection control, collect the current virtual effect image corresponding to the virtual object to obtain the current object image.
本公开实施例中,图像采集控件用于对目标功能页面上当前呈现的虚拟效果图像进行采集。在目标交互控件为图像采集控件的情况下,电子设备对虚拟对象对应的当前的虚拟效果图像进行采集,示例性地,可以通过截屏或截图的方式进行采集,得到当前对象图像。In the embodiment of the present disclosure, the image collection control is used to collect the virtual effect image currently presented on the target function page. In the case that the target interaction control is an image acquisition control, the electronic device acquires the current virtual effect image corresponding to the virtual object, for example, by capturing a screen or screenshot to obtain the current object image.
S1036、获取第一预设模板,结合第一预设模板与当前对象图像,生成模板对象图像,将模板对象图像作为响应效果数据;第一预设模板用于为展示当前对象图像提供预设的图像模板。S1036. Acquire a first preset template, combine the first preset template and the current object image to generate a template object image, and use the template object image as response effect data; the first preset template is used to provide preset information for displaying the current object image Image template.
本公开实施例中,电子设备获取第一预设模板,并将当前对象图像与第一预设模板相结合,生成模板对象图像,作为响应效果数据。In the embodiment of the present disclosure, the electronic device acquires the first preset template, and combines the current object image with the first preset template to generate the template object image as the response effect data.
本公开实施例中,第一预设模板为展示当前对象图像提供了预设的图像模板。在一些实施例中,第一预设模板可以是预设的相框,电子设备将当前对象图像与预设的相框相结合,得到模板对象图像。示例性地,目标功能页面上显示有图像采集控件,在图像采集控件接收到交互操作,如用户点击了图像采集控件的情况下,响应于图像采集控件上的交互操作,电子设备可以对目标功能页面上当前呈现的虚拟效果图像进行采集,得到当前对象图像。电子设备获取第一预设模板,结合第一预设模板与当前对象图像,生成模板对象图像。示例性地,模板对象图像可以是在预设样式的相框内显示的当前对象图像。电子设备将模板对象图像作为响应效果数据。In the embodiment of the present disclosure, the first preset template provides a preset image template for displaying the current object image. In some embodiments, the first preset template may be a preset photo frame, and the electronic device combines the current object image with the preset photo frame to obtain the template object image. Exemplarily, an image capture control is displayed on the target function page. When the image capture control receives an interactive operation, such as when the user clicks the image capture control, in response to the interactive operation on the image capture control, the electronic device can The virtual effect image currently presented on the page is collected to obtain the current object image. The electronic device acquires a first preset template, and combines the first preset template with the current object image to generate a template object image. Exemplarily, the template object image may be a current object image displayed in a photo frame of a preset style. The electronic device takes the template object image as response effect data.
在本公开的一些实施例中,目标功能页面可以同时展示出至少一个交互控件,示例性地,目标功能页面上同时展示有旋转控件、信息显示控件与图像采集控件,以在目标功能页面上实现旋转控件、信息显示控件与图像采集控件对应的多种交互方式。在一些实施例中,在目标功能页面上同时显示有至少两个交互控件的情况下,电子设备每次只响应针对一个交互控件的交互操作。示例性地,在用户点击旋转控件的情况下,旋转控件进入开启状态,显示旋转引导图标;此时若接收到针对信息显示控件的交互操作,则将旋转控件转换为关闭状态,关闭旋转引导图标,将虚拟对象退出关闭状态,弹出预设介绍数据的界面;此时若接收到针对图像采集控件的交互操作,则关闭预设介绍数据的界面的显示,对虚拟对象对应的当前的虚拟效果图像进行采集,得到当前对象图像;结合第一预设模板与当前对象图像,生成模板对象图像。In some embodiments of the present disclosure, the target function page can display at least one interactive control at the same time. Exemplarily, the target function page displays a rotation control, an information display control, and an image acquisition control at the same time, so as to realize the interactive control on the target function page. Multiple interaction modes corresponding to rotation control, information display control and image acquisition control. In some embodiments, when at least two interactive controls are simultaneously displayed on the target function page, the electronic device only responds to an interactive operation on one interactive control each time. Exemplarily, when the user clicks on the rotation control, the rotation control enters the open state, and the rotation guide icon is displayed; at this time, if an interactive operation for the information display control is received, the rotation control is converted to the off state, and the rotation guide icon is turned off , exit the closed state of the virtual object, and pop up the preset introduction data interface; at this time, if an interactive operation for the image acquisition control is received, the display of the preset introduction data interface will be turned off, and the current virtual effect image corresponding to the virtual object Collect to obtain the current object image; combine the first preset template with the current object image to generate a template object image.
可以理解的是,本公开实施例中,可以通过图像采集、旋转、信息简介至少之一的交互方式,丰富显示应用的展示效果,并提高显示应用与用户的互动性。It can be understood that in the embodiments of the present disclosure, at least one of image acquisition, rotation, and information introduction may be used to enrich the display effect of the display application and improve the interaction between the display application and the user.
在一些实施例中,第一预设模板上还可以包括:预设识别码;预设识别码用于提供预设功能的链接。In some embodiments, the first preset template may further include: a preset identification code; the preset identification code is used to provide a link to the preset function.
本公开实施例中,电子设备可以在第一预设模板上生成并显示预设识别码,以将预设识别码附加在根据第一预设模板生成的模板对象图像上,使得目标设备可以通过对预设识别码的识别,进入预设功能的链接。在一些实施例中,预设识别码为小程序识别码,小程序识别码用于提供显示小程序入口。在目标设备对小程序识别码扫描识别成功的情况下,可以在目标设备上启动目标功能。In the embodiment of the present disclosure, the electronic device may generate and display a preset identification code on the first preset template, so as to attach the preset identification code to the template object image generated according to the first preset template, so that the target device can pass To identify the preset identification code, enter the link of the preset function. In some embodiments, the preset identification code is an applet identification code, and the applet identification code is used to provide an entry for displaying an applet. When the target device successfully scans and recognizes the applet identification code, the target function can be started on the target device.
在一些实施例中,在生成模板对象图像的情况下,电子设备可以从当前的目标功能页面跳转至分享页面,在分享页面上显示模板对象图像,分享页面包含第一分享控件。在接收到针对第一分享控件的分享操作的情况下,电子设备可以生成模板对象图像对应的第一小程序链接,将第一小程序链接分享至目标设备。这样,目标设备可以通过点击第一小程序链接,在目标设备上打开模板对象图像,或进入显示小程序的页面,实现向目标设备的分享。In some embodiments, when the template object image is generated, the electronic device can jump from the current target function page to the sharing page, and display the template object image on the sharing page, and the sharing page includes the first sharing control. In case of receiving the sharing operation for the first sharing control, the electronic device may generate a first applet link corresponding to the template object image, and share the first applet link to the target device. In this way, the target device can click the link of the first applet to open the template object image on the target device, or enter a page displaying the applet, so as to realize sharing to the target device.
在一些实施例中,上述的分享页面还可以包含第一保存控件,在接收到针对第一保存控件的保存操作的情况下,将模板对象图像保存至本地存储空间。In some embodiments, the above-mentioned sharing page may further include a first save control, and when a save operation for the first save control is received, the template object image is saved to a local storage space.
在一些实施例中,分享页面还可以包括返回控件,如“重新拍”功能控件。返回控件用于在接收到对应的触发操作的情况下,重新返回目标功能页面对虚拟效果图像进行采集。In some embodiments, the shared page may also include a return control, such as a "retake" function control. The return control is used to return to the target function page to collect the virtual effect image when the corresponding trigger operation is received.
在一些实施例中,分享页面也可以以文字信息的形式,提示用户通过预设的触发分享操作,如通过长按模板对象图像的操作进行分享。具体的根据实际情况进行选择,本公开实施例不作限定。In some embodiments, the sharing page may also be in the form of text information, prompting the user to perform a preset trigger sharing operation, such as long pressing the image of the template object to share. The specific selection is made according to the actual situation, and the embodiment of the present disclosure makes no limitation.
在一些实施例中,电子设备生成的模板对象图像可以是webview形式的页面,由于webview形式的页面不便于直接分享,电子设备可以通过响应于第一分享控件的分享操作;或者,通过响应于的预设的触发分享操作,如在模板对象图像上进行长按的操作,从分享页面跳转至分享小程序,进入分享小程序的页面,以利用分享小程序的页面实现对模板对象图像的保存操作或分享操作。In some embodiments, the template object image generated by the electronic device may be a page in the form of webview. Since the page in the form of webview is not convenient for direct sharing, the electronic device may respond to the sharing operation of the first sharing control; or, respond to the The preset trigger sharing operation, such as long pressing on the image of the template object, jumps from the sharing page to the sharing applet, and enters the page of the sharing applet, so as to save the image of the template object by using the page of the sharing applet Action or share action.
在一些实施例中,电子设备可以将分享小程序的页面作为二级分享页面,在二级分享页面上显示第二保存控件与第二分享的控件。在第二保存控件被触发的情况下,将模板对象图像保存至本地;在 第二分享的控件被触发的情况下,生成模板对象图像对应的第一小程序链接,将第一小程序链接分享至目标设备。In some embodiments, the electronic device may use the page of the sharing applet as a secondary sharing page, and display the second saving control and the second sharing control on the secondary sharing page. When the second saving control is triggered, save the template object image locally; when the second sharing control is triggered, generate the first applet link corresponding to the template object image, and share the first applet link to the target device.
可以理解的是,本公开实施例中,通过将虚拟效果图像分享至目标设备,进一步丰富了显示小程序的互动性,并有利于显示小程序对应的虚拟服务产品的推广。It can be understood that in the embodiment of the present disclosure, by sharing the virtual effect image to the target device, the interactivity of the displayed applet is further enriched, and it is beneficial to the promotion of the virtual service product corresponding to the displayed applet.
在一些实施例中,真实对象可以是日历中的艺术画像,目标功能可以是日历附带的虚拟服务产品中的“艺术画动起来”功能。基于上述的图2、图3与图6中的描述,电子设备可以响应于对目标功能入口“艺术画动起来”的触发操作,进入目标功能加载界面,在目标功能加载界面的显示过程中同步加载目标功能后台数据。这里,目标功能后台数据可以包含预设动态效果渲染数据与预设的多媒体音频数据。在加载目标功能后台数据的加载过程中,电子设备还可以在目标功能加载界面弹出开启声音的提示窗口,以提醒用户开启声音,获得更好的体验。在目标功能后台数据加载完成的情况下,从目标功能加载界面进入图像采集界面,通过图像采集界面采集日历上的艺术画像。在通过图像采集界面,对采集艺术画像得到的目标图像成功识别的情况下,电子设备确定艺术画像对应的目标虚拟模型作为虚拟对象,并获取虚拟对象对应的目标预设渲染数据,在目标功能页面上对虚拟对象进行渲染,得到虚拟效果图像。在一些实施例中,虚拟效果图像可以是动态的艺术画像。电子设备在显示虚拟效果图像,即动态的艺术画像的情况下,还可以播放虚拟效果图像对应的多媒体音频数据。In some embodiments, the real object may be an artistic portrait in the calendar, and the target function may be the "art painting moving" function in the virtual service product attached to the calendar. Based on the above descriptions in Fig. 2, Fig. 3 and Fig. 6, the electronic device can respond to the trigger operation of the target function entry "artistic drawing", enter the target function loading interface, and synchronize during the display process of the target function loading interface Load target function background data. Here, the target function background data may include preset dynamic effect rendering data and preset multimedia audio data. During the loading process of loading the background data of the target function, the electronic device may also pop up a prompt window for turning on the sound on the target function loading interface to remind the user to turn on the sound to obtain a better experience. When the background data loading of the target function is completed, enter the image collection interface from the target function loading interface, and collect the artistic portrait on the calendar through the image collection interface. In the case that the target image obtained by collecting the art portrait is successfully recognized through the image acquisition interface, the electronic device determines the target virtual model corresponding to the art portrait as a virtual object, and obtains the target preset rendering data corresponding to the virtual object, and displays it on the target function page Render the virtual object to obtain a virtual effect image. In some embodiments, the virtual effect image may be a dynamic artistic portrait. When the electronic device displays a virtual effect image, that is, a dynamic artistic portrait, it can also play multimedia audio data corresponding to the virtual effect image.
在一些实施例中,电子设备在从图像采集界面进入目标功能页面之前,可以检测自身的声音是否被开启,在未开启声音的情况下,在图像采集界面上弹出提示窗口以提醒用户开启声音。In some embodiments, before the electronic device enters the target function page from the image collection interface, it can detect whether its own sound is turned on. If the sound is not turned on, a prompt window pops up on the image collection interface to remind the user to turn on the sound.
在一些实施例中,目标功能页面可以包含图像采集控件与信息显示控件,在信息显示控件接收到交互操作的情况下,电子设备在当前的目标功能页面上弹出预设介绍数据对应的窗口界面,用于对当前识别到的艺术画像进行介绍。在图像采集控件接收到交互操作的情况下,电子设备对当前的虚拟效果图像进行采集,并获取第一预设模板生成模板对象图像。在生成模板对象图像的情况下,电子设备跳转至分享界,在分享界面上显示模板对象图像与第一分享控件。In some embodiments, the target function page may include an image acquisition control and an information display control. When the information display control receives an interactive operation, the electronic device pops up a window interface corresponding to the preset introduction data on the current target function page. It is used to introduce the currently recognized art portraits. When the image collection control receives the interactive operation, the electronic device collects the current virtual effect image, and obtains the first preset template to generate a template object image. When the template object image is generated, the electronic device jumps to the sharing interface, and displays the template object image and the first sharing control on the sharing interface.
在一些实施例中,在接收到针对第一分享控件的分享操作,或者响应于预设的触发分享操作的情况下,电子设备可以跳转至分享小程序,进入分享小程序对应的二级分享界面;通过二级分享页面上的第二分享控件生成模板对象图像对应的第一小程序链接,将第一小程序链接分享至目标设备,完成对模板对象图像的分享。或者,通过二级分享页面上的第二保存控件将模板对象图像保存至本地。In some embodiments, when receiving a sharing operation for the first sharing control, or responding to a preset triggering sharing operation, the electronic device can jump to the sharing applet and enter the second-level sharing program corresponding to the sharing applet. Interface; generate the first applet link corresponding to the template object image through the second sharing control on the secondary sharing page, share the first applet link to the target device, and complete the sharing of the template object image. Alternatively, the template object image can be saved locally through the second save control on the secondary sharing page.
可以理解的是,本公开实施例中,可以通过动态的虚拟效果图像结合多媒体音频数据,进一步丰富显示功能的展示效果,并提高与用户的交互性。It can be understood that, in the embodiment of the present disclosure, the display effect of the display function can be further enriched and the interactivity with the user can be improved by combining the dynamic virtual effect image with the multimedia audio data.
在一些实施例中,真实对象包括:真实人物,显示功能菜单页面上的至少一个功能入口包括:合成拍照功能对应的合成拍照入口,电子设备可以通过合成拍照功能,实现对真实人物在预设主题下的特效拍摄。下面以真实对象为真实人物为例,对本公开实施例中的显示方法进行说明。In some embodiments, the real object includes: a real person, and at least one function entry on the display function menu page includes: a composite photo entry corresponding to the composite photo function, and the electronic device can realize the real person in the preset theme through the composite photo function. Under special effects shooting. The display method in the embodiment of the present disclosure will be described below by taking a real object as a real person as an example.
基于图2,如图11所示,S101的过程可以通过S301-S302来实现,S102的过程可以通过S303来实现,将结合各步骤进行说明。Based on FIG. 2, as shown in FIG. 11, the process of S101 can be realized through S301-S302, and the process of S102 can be realized through S303, which will be described in combination with each step.
S301、响应于对合成拍照入口的触发操作,从显示功能菜单页面跳转至合成拍照界面,并在合成拍照界面上展示拍照控件。S301. In response to a trigger operation on the composite photo entry, jump from a display function menu page to a composite photo interface, and display a photo control on the composite photo interface.
本公开实施例中,在目标功能入口为合成拍照入口的情况下,电子设备响应于对合成拍照入口的触发操作,从显示功能菜单页面跳转至合成拍照界面,以通过合成拍照界面对真实人物进行图像采集。In the embodiment of the present disclosure, when the target function entry is a composite photo entry, the electronic device responds to the trigger operation on the composite photo entry, and jumps from the display function menu page to the composite photo interface, so that real people can be photographed through the composite photo interface. Perform image acquisition.
在一些实施例中,电子设备也可以响应于针对合成拍照入口的触发操作,跳转至如图12中示出的目标功能加载界面,在目标功能加载界面加载目标功能后台数据。其中,目标功能后台数据可以包括预设特效贴纸。在目标功能后台数据加载完成的情况下,跳转至合成拍照界面。In some embodiments, the electronic device may also jump to the target function loading interface as shown in FIG. 12 in response to the trigger operation on the composite photo entry, and load the background data of the target function on the target function loading interface. Wherein, the background data of the target function may include preset special effect stickers. When the background data loading of the target function is completed, jump to the composite photo interface.
本公开实施例中,电子设备在合成拍照界面上展示拍照控件。如图12中的控件140所示。In the embodiment of the present disclosure, the electronic device displays a photographing control on a synthesized photographing interface. This is shown as control 140 in FIG. 12 .
在一些实施例中,在跳转至合成拍照界面后,电子设备可以从目标功能后台数据中加载预设特效贴纸,在合成拍照界面显示预设特效贴纸。如图12的贴纸141所示。In some embodiments, after jumping to the synthesized photographing interface, the electronic device may load preset special effect stickers from the background data of the target function, and display the preset special effect stickers on the synthesized photographing interface. As shown in the sticker 141 of FIG. 12 .
S302、在接收到针对拍照控件的交互操作的情况下,对真实场景中的真实人物进行图像采集,得到真实人物图像作为目标图像。S302. In the case of receiving an interactive operation on the camera control, image acquisition is performed on a real person in a real scene, and an image of the real person is obtained as a target image.
本公开实施中,在接收到针对拍照控件的交互操作的情况下,电子设备对真实场景中的真实人物进行图像采集,得到真实人物图像作为目标图像。In the implementation of the present disclosure, when receiving an interactive operation on the camera control, the electronic device collects images of real people in a real scene, and obtains images of real people as target images.
S303、在目标图像为真实人物图像的情况下,对真实人物图像进行识别,确定真实人物图像对应的预设特效贴纸,对真实人物图像与预设特效贴纸进行叠加,生成并展示叠加后的当前合成图像作为虚拟效果图像。S303. When the target image is a real person image, identify the real person image, determine the preset special effect sticker corresponding to the real person image, superimpose the real person image and the preset special effect sticker, generate and display the superimposed current The composite image serves as a virtual effect image.
本公开实施例中,在目标图像为真实人物图像的情况下,电子设备可以对真实人物图像进行识别,得到真实人物图像中包含的人体部位信息,进而,确定出人体部位信息对应的预设特效贴纸,如头部对应的预设特效贴纸或眼部对应的预设特效贴纸,进而,对真实人物图像与预设特效贴纸进行对应部位的叠加,生成并展示叠加后的当前合成图像作为虚拟效果图像。In the embodiment of the present disclosure, when the target image is a real person image, the electronic device can identify the real person image, obtain the human body part information contained in the real person image, and then determine the preset special effect corresponding to the human body part information Stickers, such as the preset special effect stickers corresponding to the head or the preset special effect stickers corresponding to the eyes, and then superimpose the corresponding parts of the real person image and the preset special effect stickers, generate and display the superimposed current composite image as a virtual effect image.
在一些实施例中,电子设备在生成当前合成图像之后,可以跳转至如图12示出的拍照完成界面展示当前合成图像,当前合成图像如图12中的图像151所示。电子设备可以将拍照完成界面作为目标功能页面,在拍照完成界面上显示至少一个交互控件中的第三分享控件,如图12中的控件150所示。电子设备在接收到针对第三分享控件150的分享操作的情况下,可以获取第二预设模板,基于第二预设模板与当前合成图像生成如图12示出的模板合成图像160;将模板合成图像160作为响应效果数据,更新当前合成图像也即虚拟效果图像。In some embodiments, after the electronic device generates the current composite image, it may jump to the photographing completion interface as shown in FIG. 12 to display the current composite image. The current composite image is shown as image 151 in FIG. 12 . The electronic device may use the photographing completion interface as the target function page, and display the third sharing control among at least one interactive control on the photographing completion interface, as shown by the control 150 in FIG. 12 . When the electronic device receives a sharing operation for the third sharing control 150, it can acquire a second preset template, and generate a template composite image 160 as shown in FIG. 12 based on the second preset template and the current composite image; The synthesized image 160 is used as the response effect data to update the current synthesized image, that is, the virtual effect image.
在一些实施例中,图12示出了第三保存控件161和第四分享控件162。在第三保存控件161接收到点击操作的情况下,将模板合成图像保存至本地。在第四分享控件162接收到点击操作的情况下,生成模板合成图像对应的第二小程序链接,将第二小程序链接分享至目标设备。电子设备对模板合成图像的分享过程与上述对模板对象图像的分享过程描述一致。In some embodiments, FIG. 12 shows a third save control 161 and a fourth share control 162 . When the third saving control 161 receives a click operation, the template composite image is saved locally. When the fourth sharing control 162 receives a click operation, it generates a second applet link corresponding to the composite image of the template, and shares the second applet link to the target device. The sharing process of the template composite image by the electronic device is consistent with the above description of the sharing process of the template object image.
在一些实施例中,目标设备可以通过扫描模板合成图像上的预设识别码,进入加载页面,在加载完成后,在目标设备上呈现包含模板对象图像的分享效果页面。目标设备的使用者可以通过分享效果页面上的拍照体验控件,对合成拍照功能进行体验。In some embodiments, the target device can scan the preset identification code on the composite image of the template to enter the loading page, and after the loading is completed, the target device presents a sharing effect page containing the image of the template object. The user of the target device can experience the composite photo taking function through the photo taking experience control on the sharing effect page.
可以理解的是,通过合成拍照功能,可以为用户提供虚拟服务产品中预设主题的特效拍照,进一步丰富了虚拟服务产品的显示功能与用户的交互体验。It can be understood that, through the composite photo function, users can be provided with special effect photos of preset themes in the virtual service product, which further enriches the display function of the virtual service product and the user's interactive experience.
本公开实施例提供一种显示装置,如图13所示,显示装置1包括:采集部分10、渲染部分20与操作部分30,其中An embodiment of the disclosure provides a display device. As shown in FIG. 13 , the display device 1 includes: an acquisition part 10, a rendering part 20 and an operation part 30, wherein
所述采集部分10,配置为响应于对目标功能入口的触发操作,采集真实场景中真实对象的目标图像;The collection part 10 is configured to collect a target image of a real object in a real scene in response to a trigger operation on a target function entry;
所述渲染部分20,配置为通过对所述目标图像进行识别,确定所述目标图像对应的虚拟对象,并在目标功能页面中展示对所述虚拟对象进行渲染得到的虚拟效果图像;所述目标功能页面包含至少一个交互控件;所述虚拟效果图像用于展示所述目标图像对应的增强现实效果;The rendering part 20 is configured to determine the virtual object corresponding to the target image by identifying the target image, and display a virtual effect image obtained by rendering the virtual object on the target function page; the target The function page includes at least one interactive control; the virtual effect image is used to display the augmented reality effect corresponding to the target image;
所述操作部分30,配置为响应于针对所述至少一个交互控件中目标交互控件的交互操作,确定所述虚拟对象对应的响应效果数据,并通过所述响应效果数据,更新展示的所述虚拟效果图像。The operation part 30 is configured to determine response effect data corresponding to the virtual object in response to an interactive operation on a target interactive control in the at least one interactive control, and update the displayed virtual object through the response effect data. effect image.
在一些实施例中,所述显示装置1还包括:展示部分,所述展示部分,配置为展示显示功能菜单页面,所述显示功能菜单页面用于展示至少一个功能入口;In some embodiments, the display device 1 further includes: a display part, the display part is configured to display a display function menu page, and the display function menu page is used to display at least one function entry;
所述采集部分10,还配置为响应于针对所述至少一个功能入口中目标功能入口的触发操作,进入目标功能对应的图像采集页面,采集真实场景中真实对象的目标图像。The collection part 10 is further configured to, in response to a trigger operation on the target function entry in the at least one function entry, enter an image collection page corresponding to the target function, and collect a target image of a real object in a real scene.
在一些实施例中,所述显示装置1还包括:加载部分,所述加载部分,配置为从所述显示功能菜单页面跳转至目标功能加载界面,在所述目标功能加载界面的显示过程中同步加载目标功能后台数据;所述目标功能后台数据包括至少一种预设渲染数据;在所述目标功能后台数据加载完成的情况下,进入图像采集界面。In some embodiments, the display device 1 further includes: a loading part, the loading part is configured to jump from the display function menu page to the target function loading interface, during the display process of the target function loading interface Synchronously load the background data of the target function; the background data of the target function includes at least one preset rendering data; when the loading of the background data of the target function is completed, enter the image acquisition interface.
在一些实施例中,所述真实对象包括:真实人物;所述目标功能入口包括:合成拍照入口;所述采集部分10,还配置为从所述显示功能菜单页面跳转至合成拍照界面,并在所述合成拍照界面上展示拍照控件;在接收到针对所述拍照控件的交互操作的情况下,对所述真实场景中的所述真实人物进行图像采集,得到真实人物图像作为所述目标图像。In some embodiments, the real object includes: a real person; the target function entry includes: a composite photo entry; the collection part 10 is also configured to jump from the display function menu page to a composite photo interface, and displaying a photographing control on the composite photographing interface; in the case of receiving an interactive operation for the photographing control, performing image acquisition on the real person in the real scene, and obtaining an image of the real person as the target image .
在一些实施例中,所述加载部分,还配置为所述从所述显示功能菜单页面跳转至合成拍照界面之后,从目标功能后台数据中加载预设特效贴纸,在所述合成拍照界面显示所述预设特效贴纸。In some embodiments, the loading part is further configured to load preset special effect stickers from the background data of the target function after jumping from the display function menu page to the synthetic photographing interface, and display them on the synthetic photographing interface The preset special effect stickers.
在一些实施例中,所述至少一个交互控件,包括:旋转控件;所述操作部分30,还配置为在所述目标交互控件为所述旋转控件的情况下,展示旋转引导图标;接收针对于所述旋转引导图标的旋转操作,根据所述旋转操作确定所述虚拟对象的旋转方向与旋转角度;根据所述旋转方向与所述旋转角度,对所述虚拟对象进行旋转,并获取旋转后的虚拟对象对应的预设渲染数据,作为所述响应效果数据。In some embodiments, the at least one interactive control includes: a rotation control; the operation part 30 is further configured to display a rotation guide icon when the target interactive control is the rotation control; The rotation operation of the rotation guide icon determines the rotation direction and rotation angle of the virtual object according to the rotation operation; rotates the virtual object according to the rotation direction and the rotation angle, and obtains the rotated The preset rendering data corresponding to the virtual object is used as the response effect data.
在一些实施例中,所述至少一个交互控件,包括:信息显示控件;所述操作部分30,还配置为在所述目标交互控件为所述信息显示控件的情况下,获取所述虚拟对象对应的预设介绍数据,作为所述响应效果数据;所述预设介绍数据用于在预设显示位置上显示所述目标真实物品的介绍信息。In some embodiments, the at least one interactive control includes: an information display control; and the operation part 30 is further configured to acquire the corresponding information of the virtual object when the target interactive control is the information display control. The preset introduction data is used as the response effect data; the preset introduction data is used to display the introduction information of the target real item at a preset display position.
在一些实施例中,所述至少一个交互控件,包括:图像采集控件;所述操作部分30,还配置为在 所述目标交互控件为所述图像采集控件的情况下,对所述虚拟对象对应的当前的虚拟效果图像进行采集,得到当前对象图像;获取第一预设模板,结合所述第一预设模板与所述当前对象图像,生成模板对象图像,将所述模板对象图像作为所述响应效果数据;所述第一预设模板用于为展示所述当前对象图像提供预设的图像模板。In some embodiments, the at least one interactive control includes: an image capture control; and the operating part 30 is further configured to, when the target interactive control is the image capture control, corresponding to the virtual object Collect the current virtual effect image to obtain the current object image; obtain the first preset template, combine the first preset template and the current object image to generate a template object image, and use the template object image as the Response effect data; the first preset template is used to provide a preset image template for displaying the current object image.
在一些实施例中,所述第一预设模板还包括:预设识别码;所述预设识别码用于提供预设功能的链接。In some embodiments, the first preset template further includes: a preset identification code; the preset identification code is used to provide a link to a preset function.
在一些实施例中,所述预设识别码为小程序识别码,所述小程序识别码用于提供显示小程序入口的链接。In some embodiments, the preset identification code is an applet identification code, and the applet identification code is used to provide a link for displaying an entry of the applet.
在一些实施例中,所述操作部分30,还配置为在生成所述模板对象图像的情况下,跳转至分享页面,在所述分享页面上显示所述模板对象图像,所述分享页面包含第一分享控件;在接收到针对所述第一分享控件的分享操作的情况下,生成所述模板对象图像对应的第一小程序链接,将所述第一小程序链接分享至目标设备。In some embodiments, the operation part 30 is further configured to jump to a sharing page when the template object image is generated, and display the template object image on the sharing page, the sharing page includes A first sharing control; when receiving a sharing operation for the first sharing control, generating a first applet link corresponding to the template object image, and sharing the first applet link to a target device.
在一些实施例中,所述分享页面还包含第一保存控件;所述操作部分30,还配置为在接收到针对所述第一保存控件的保存操作的情况下,将所述模板对象图像保存至本地存储空间。In some embodiments, the sharing page further includes a first save control; and the operation part 30 is further configured to save the template object image when receiving a save operation for the first save control to local storage.
上述装置中,所述采集部分10,还配置为在进入图像采集界面的情况下,在所述图像采集界面上显示采集范围引导信息;所述采集范围引导信息包括预设采集范围边界;通过所述图像采集界面对所述真实对象进行图像采集,将所述预设采集范围边界内的图像作为所述目标图像。In the above device, the acquisition part 10 is further configured to display acquisition range guide information on the image acquisition interface when entering the image acquisition interface; the acquisition range guide information includes a preset acquisition range boundary; through the The image acquisition interface performs image acquisition on the real object, and takes the image within the boundary of the preset acquisition range as the target image.
在一些实施例中,所述真实对象包括:目标真实物品,所述虚拟对象为与所述目标真实物品对应的目标虚拟模型;所述渲染部分20还包括识别子部分,所述识别子部分,配置为对所述目标图像进行至少一种预设真实物品的目标识别,得到目标真实物品的检测结果;基于所述检测结果,获取所述目标真实物品对应的目标虚拟模型作为所述虚拟对象。In some embodiments, the real object includes: a target real item, and the virtual object is a target virtual model corresponding to the target real item; the rendering part 20 also includes an identification subsection, the identification subsection, It is configured to perform target recognition of at least one preset real item on the target image to obtain a detection result of the target real item; based on the detection result, obtain a target virtual model corresponding to the target real item as the virtual object.
在一些实施例中,所述图像采集部分10,还配置为在所述目标图像中未识别到预设真实物品的情况下,在所述图像采集界面上显示用于提示调整所述预设采集范围边界的位置的引导信息。In some embodiments, the image acquisition part 10 is further configured to display on the image acquisition interface a prompt to adjust the preset acquisition if no preset real item is recognized in the target image. Bootstrap information for the location of the bounds of the range.
在一些实施例中,所述显示装置1还包括播放部分;所述播放部分,还配置为在显示所述虚拟效果图像的情况下,播放所述虚拟效果图像对应的多媒体音频数据。In some embodiments, the display device 1 further includes a playing part; the playing part is further configured to play multimedia audio data corresponding to the virtual effect image when the virtual effect image is displayed.
在一些实施例中,所述渲染部分20,还配置为获取所述目标图像在预设屏幕坐标系中对应屏幕位置信息;基于所述目标图像进行姿态评估,得到所述目标真实物品在所述真实场景中的真实位置信息;从目标功能后台数据中,获取所述虚拟对象对应的目标预设渲染数据,基于所述真实位置信息与所述屏幕位置信息的映射关系,使用所述目标预设渲染数据对所述虚拟对象进行渲染,得到所述虚拟效果图像。In some embodiments, the rendering part 20 is further configured to acquire the corresponding screen position information of the target image in the preset screen coordinate system; perform pose estimation based on the target image, and obtain the position of the target real item in the The real position information in the real scene; from the background data of the target function, obtain the target preset rendering data corresponding to the virtual object, and use the target preset based on the mapping relationship between the real position information and the screen position information The rendering data renders the virtual object to obtain the virtual effect image.
在一些实施例中,所述目标图像包括:真实人物图像,所述虚拟对象包括:预设特效贴纸;所述渲染部分20,还配置为对所述真实人物图像与所述预设特效贴纸进行叠加,生成并展示叠加后的当前合成图像作为所述虚拟效果图像。In some embodiments, the target image includes: a real person image, and the virtual object includes: a preset special effect sticker; superimposing, generating and displaying the superimposed current composite image as the virtual effect image.
在一些实施例中,所述显示装置1通过小程序或网页客户端实现。In some embodiments, the display device 1 is implemented through a small program or a web client.
需要说明的是,以上装置实施例的描述,与上述方法实施例的描述是类似的,具有同方法实施例相似的有益效果。对于本公开装置实施例中未披露的技术细节,请参照本公开方法实施例的描述而理解。It should be noted that the description of the above device embodiment is similar to the description of the above method embodiment, and has similar beneficial effects as the method embodiment. For technical details not disclosed in the device embodiments of the present disclosure, please refer to the description of the method embodiments of the present disclosure for understanding.
本公开实施例还提供一种电子设备,图14为本公开实施例提供的电子设备2的结构示意图,如图14所示,包括:显示屏201、存储器202和处理器203,其中,显示屏201、存储器202和处理器203通过通信总线204连接;存储器202,配置为存储可执行计算机程序;处理器203,配置为执行存储器202中存储的可执行计算机程序时,结合显示屏201,实现本公开实施例提供的方法,例如,本公开实施例提供的显示方法。The embodiment of the present disclosure also provides an electronic device. FIG. 14 is a schematic structural diagram of the electronic device 2 provided by the embodiment of the present disclosure. As shown in FIG. 201. The memory 202 and the processor 203 are connected through a communication bus 204; the memory 202 is configured to store an executable computer program; the processor 203 is configured to execute the executable computer program stored in the memory 202, combined with the display screen 201, to realize the present invention The method provided by the disclosed embodiment, for example, the display method provided by the disclosed embodiment.
本公开实施例提供一种计算机可读存储介质,其上存储有计算机程序,用于引起处理器203执行时,实现本公开实施例提供的方法,例如,本公开实施例提供的显示方法。The embodiment of the present disclosure provides a computer-readable storage medium, on which a computer program is stored, configured to cause the processor 203 to implement the method provided in the embodiment of the present disclosure, for example, the display method provided in the embodiment of the present disclosure.
在本公开的一些实施例中,计算机可读存储介质可以是保持和存储由指令执行设备使用的指令的有形设备,可为易失性存储介质或非易失性存储介质。计算机可读存储介质可以是FRAM、ROM、PROM、EPROM、EEPROM、闪存、磁表面存储器、光盘、或CD-ROM等存储器;也可以是包括上述存储器之一或任意组合的各种设备。In some embodiments of the present disclosure, a computer-readable storage medium may be a tangible device that holds and stores instructions for use by an instruction execution device, and may be a volatile storage medium or a non-volatile storage medium. The computer-readable storage medium may be memory such as FRAM, ROM, PROM, EPROM, EEPROM, flash memory, magnetic surface memory, optical disk, or CD-ROM; it may also be various devices including one or any combination of the above memories.
在本公开的一些实施例中,可执行指令可以采用程序、软件、软件模块、脚本或代码的形式,按任意形式的编程语言(包括编译或解释语言,或者声明性或过程性语言)来编写,并且其可按任意形 式部署,包括被部署为独立的程序或者被部署为模块、组件、子例程或者适合在计算环境中使用的其它单元。In some embodiments of the present disclosure, executable instructions may take the form of programs, software, software modules, scripts, or code written in any form of programming language (including compiled or interpreted languages, or declarative or procedural languages) , and it may be deployed in any form, including as a stand-alone program or as a module, component, subroutine, or other unit suitable for use in a computing environment.
作为示例,可执行指令可以但不一定对应于文件系统中的文件,可以可被存储在保存其它程序或数据的文件的一部分,例如,存储在超文本标记语言(HTML,Hyper Text Markup Language)文档中的一个或多个脚本中,存储在专用于所讨论的程序的单个文件中,或者,存储在多个协同文件(例如,存储一个或多个模块、子程序或代码部分的文件)中。As an example, executable instructions may, but do not necessarily correspond to files in a file system, may be stored as part of a file that holds other programs or data, for example, in a Hyper Text Markup Language (HTML) document in one or more scripts, in a single file dedicated to the program in question, or in multiple cooperating files (for example, files that store one or more modules, subroutines, or sections of code).
作为示例,可执行指令可被部署为在一个计算设备上执行,或者在位于一个地点的多个计算设备上执行,又或者,在分布在多个地点且通过通信网络互连的多个计算设备上执行。As an example, executable instructions may be deployed to be executed on one computing device, or on multiple computing devices located at one site, or alternatively, on multiple computing devices distributed across multiple sites and interconnected by a communication network. to execute.
本领域内的技术人员应明白,本公开的实施例可提供为方法、系统、或计算机程序产品。因此,本公开可采用硬件实施例、软件实施例、或结合软件和硬件方面的实施例的形式。而且,本公开可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器和光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art should understand that the embodiments of the present disclosure may be provided as methods, systems, or computer program products. Accordingly, the present disclosure may take the form of a hardware embodiment, a software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present disclosure may take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, optical storage, etc.) having computer-usable program code embodied therein.
本公开是参照根据本公开实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present disclosure is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the present disclosure. It should be understood that each procedure and/or block in the flowchart and/or block diagram, and a combination of procedures and/or blocks in the flowchart and/or block diagram can be realized by computer program instructions. These computer program instructions may be provided to a general purpose computer, special purpose computer, embedded processor, or processor of other programmable data processing equipment to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing equipment produce a An apparatus for realizing the functions specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to operate in a specific manner, such that the instructions stored in the computer-readable memory produce an article of manufacture comprising instruction means, the instructions The device realizes the function specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device, causing a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process, thereby The instructions provide steps for implementing the functions specified in the flow diagram procedure or procedures and/or block diagram procedures or blocks.
本公开涉及增强现实领域,通过获取现实环境中的目标对象的图像信息,进而借助各类视觉相关算法实现对目标对象的相关特征、状态及属性进行检测或识别处理,从而得到与具体应用匹配的虚拟与现实相结合的AR效果。示例性的,目标对象可涉及与人体相关的脸部、肢体、手势、动作等,或者与物体相关的标识物、标志物,或者与场馆或场所相关的沙盘、展示区域或展示物品等。视觉相关算法可涉及视觉定位、SLAM、三维重建、图像注册、背景分割、对象的关键点提取及跟踪、对象的位姿或深度检测等。具体应用不仅可以涉及跟真实场景或物品相关的导览、导航、讲解、重建、虚拟效果叠加展示等交互场景,还可以涉及与人相关的特效处理,比如妆容美化、肢体美化、特效展示、虚拟模型展示等交互场景。可通过卷积神经网络,实现对目标对象的相关特征、状态及属性进行检测或识别处理。上述卷积神经网络是基于深度学习框架进行模型训练而得到的网络模型。This disclosure relates to the field of augmented reality. By acquiring the image information of the target object in the real environment, and then using various visual correlation algorithms to detect or identify the relevant features, states and attributes of the target object, and thus obtain the image information that matches the specific application. AR effect combining virtual and reality. Exemplarily, the target object may involve faces, limbs, gestures, actions, etc. related to the human body, or markers and markers related to objects, or sand tables, display areas or display items related to venues or places. Vision-related algorithms can involve visual positioning, SLAM, 3D reconstruction, image registration, background segmentation, object key point extraction and tracking, object pose or depth detection, etc. Specific applications can not only involve interactive scenes such as guided tours, navigation, explanations, reconstructions, virtual effect overlays and display related to real scenes or objects, but also special effects processing related to people, such as makeup beautification, body beautification, special effect display, virtual Interactive scenarios such as model display. The relevant features, states and attributes of the target object can be detected or identified through the convolutional neural network. The above-mentioned convolutional neural network is a network model obtained by performing model training based on a deep learning framework.
综上所述,通过采集真实场景中真实对象的目标图像,确定虚拟对象,并对虚拟对象进行渲染得到的虚拟效果图像,从而利用虚拟效果图像的增强现实效果提高并丰富了显示应用的显示效果。并且,电子设备可以通过至少一个交互控件接收用户的交互操作,并对虚拟对象进行相应的操作与更新展示,从而提高了显示内容的丰富性。在一些实施例中,通过将虚拟效果图像分享至目标设备,进一步丰富了显示小程序的互动性,并有利于显示小程序对应的虚拟服务产品的推广。在一些实施例中,通过合成拍照功能,可以为用户提供虚拟服务产品中预设主题的特效拍照,进一步丰富了虚拟服务产品的显示功能与用户的交互体验。In summary, by collecting the target image of the real object in the real scene, determining the virtual object, and rendering the virtual object to obtain a virtual effect image, the augmented reality effect of the virtual effect image is used to improve and enrich the display effect of the display application . In addition, the electronic device can receive the user's interactive operation through at least one interactive control, and perform corresponding operation and update display on the virtual object, thereby increasing the richness of the displayed content. In some embodiments, by sharing the virtual effect image to the target device, the interactivity of the displayed applet is further enriched, and it is beneficial to the promotion of the virtual service product corresponding to the displayed applet. In some embodiments, by synthesizing the photographing function, users can be provided with special effects photographing of preset themes in the virtual service product, which further enriches the display function of the virtual service product and the user's interactive experience.
以上所述,仅为本公开的较佳实施例而已,并非用于限定本公开的保护范围。The above descriptions are only preferred embodiments of the present disclosure, and are not intended to limit the protection scope of the present disclosure.
工业实用性Industrial Applicability
本公开实施例中,通过采集真实场景中真实对象的目标图像,确定虚拟对象,并对虚拟对象进行渲染得到的虚拟效果图像,从而利用虚拟效果图像的增强现实效果提高并丰富了显示应用的显示效果。并且,电子设备可以通过至少一个交互控件接收用户的交互操作,并对虚拟对象进行相应的操作与更新展示,从而提高了显示内容的丰富性。在一些实施例中,通过将虚拟效果图像分享至目标设备,进一步丰富了显示小程序的互动性,并有利于显示小程序对应的虚拟服务产品的推广。在一些实施例中, 通过合成拍照功能,可以为用户提供虚拟服务产品中预设主题的特效拍照,进一步丰富了虚拟服务产品的显示功能与用户的交互体验。In the embodiment of the present disclosure, by collecting the target image of the real object in the real scene, determining the virtual object, and rendering the virtual object to obtain a virtual effect image, the augmented reality effect of the virtual effect image is used to improve and enrich the display of the display application Effect. In addition, the electronic device can receive the user's interactive operation through at least one interactive control, and perform corresponding operation and update display on the virtual object, thereby increasing the richness of the displayed content. In some embodiments, by sharing the virtual effect image to the target device, the interactivity of the displayed applet is further enriched, and it is beneficial to the promotion of the virtual service product corresponding to the displayed applet. In some embodiments, by synthesizing the photographing function, the user can be provided with a special effect photographing of a preset theme in the virtual service product, which further enriches the display function of the virtual service product and the interactive experience of the user.

Claims (16)

  1. 一种显示方法,包括:A display method comprising:
    响应于对目标功能入口的触发操作,采集真实场景中真实对象的目标图像;Collecting target images of real objects in the real scene in response to a trigger operation on the target function entry;
    通过对所述目标图像进行识别,确定所述目标图像对应的虚拟对象,并在目标功能页面中展示对所述虚拟对象进行渲染得到的虚拟效果图像;所述目标功能页面包含至少一个交互控件;所述虚拟效果图像用于展示所述目标图像对应的增强现实效果;Identifying the target image, determining a virtual object corresponding to the target image, and displaying a virtual effect image obtained by rendering the virtual object on a target function page; the target function page includes at least one interactive control; The virtual effect image is used to display the augmented reality effect corresponding to the target image;
    响应于针对所述至少一个交互控件中目标交互控件的交互操作,确定所述虚拟对象对应的响应效果数据,并通过所述响应效果数据,更新展示的所述虚拟效果图像。In response to an interactive operation on a target interactive control in the at least one interactive control, determine response effect data corresponding to the virtual object, and update the displayed virtual effect image based on the response effect data.
  2. 根据权利要求1所述的方法,所述方法还包括:The method according to claim 1, said method further comprising:
    展示显示功能菜单页面,所述显示功能菜单页面用于展示至少一个功能入口;Displaying a display function menu page, the display function menu page is used to display at least one function entry;
    所述响应于对目标功能入口的触发操作,采集真实场景中真实对象的目标图像,包括:The step of collecting target images of real objects in a real scene in response to a trigger operation on a target function entry includes:
    响应于针对所述至少一个功能入口中目标功能入口的触发操作,进入目标功能对应的图像采集页面,采集真实场景中真实对象的目标图像。In response to a trigger operation directed at the target function entry in the at least one function entry, the image collection page corresponding to the target function is entered, and a target image of a real object in a real scene is collected.
  3. 根据权利要求1或2所述的方法,所述真实对象包括:真实人物;所述目标功能入口包括:合成拍照入口;所述响应于对目标功能入口的触发操作,采集真实场景中真实对象的目标图像,包括:According to the method according to claim 1 or 2, the real object comprises: a real person; the target function entry comprises: a synthetic photo entry; target image, including:
    从所述显示功能菜单页面跳转至合成拍照界面,并在所述合成拍照界面上展示拍照控件;Jumping from the display function menu page to a synthetic photographing interface, and displaying photographing controls on the synthetic photographing interface;
    在接收到针对所述拍照控件的交互操作的情况下,对所述真实场景中的所述真实人物进行图像采集,得到真实人物图像作为所述目标图像。In the case of receiving an interactive operation on the photographing control, image acquisition is performed on the real person in the real scene, and an image of the real person is obtained as the target image.
  4. 根据权利要求3所述的方法,所述从所述显示功能菜单页面跳转至合成拍照界面之后,所述方法还包括:The method according to claim 3, after jumping from the display function menu page to the synthetic camera interface, the method further comprises:
    从目标功能后台数据中加载预设特效贴纸,在所述合成拍照界面显示所述预设特效贴纸。Load preset special effect stickers from the background data of the target function, and display the preset special effect stickers on the composite photo interface.
  5. 根据权利要求1-3任一项所述的方法,所述至少一个交互控件,包括:旋转控件;所述响应于针对所述至少一个交互控件中目标交互控件的交互操作,确定所述虚拟对象对应的响应效果数据,包括:The method according to any one of claims 1-3, wherein the at least one interactive control includes: a rotation control; and determining the virtual object in response to an interactive operation on a target interactive control in the at least one interactive control Corresponding response effect data, including:
    在所述目标交互控件为所述旋转控件的情况下,展示旋转引导图标;If the target interactive control is the rotation control, displaying a rotation guide icon;
    接收针对于所述旋转引导图标的旋转操作,根据所述旋转操作确定所述虚拟对象的旋转方向与旋转角度;receiving a rotation operation on the rotation guide icon, and determining a rotation direction and a rotation angle of the virtual object according to the rotation operation;
    根据所述旋转方向与所述旋转角度,对所述虚拟对象进行旋转,并获取旋转后的虚拟对象对应的预设渲染数据,作为所述响应效果数据。The virtual object is rotated according to the rotation direction and the rotation angle, and preset rendering data corresponding to the rotated virtual object is acquired as the response effect data.
  6. 根据权利要求1-3任一项所述的方法,所述至少一个交互控件,包括:信息显示控件;所述响应于针对所述至少一个交互控件中目标交互控件的交互操作,确定所述虚拟对象对应的响应效果数据,包括:The method according to any one of claims 1-3, wherein the at least one interactive control includes: an information display control; and determining the virtual The response effect data corresponding to the object, including:
    在所述目标交互控件为所述信息显示控件的情况下,获取所述虚拟对象对应的预设介绍数据,作为所述响应效果数据;所述预设介绍数据用于在预设显示位置上显示所述目标真实物品的介绍信息。In the case where the target interactive control is the information display control, the preset introduction data corresponding to the virtual object is obtained as the response effect data; the preset introduction data is used for displaying at a preset display position Introduction information of the target real item.
  7. 根据权利要求1-3任一项所述的方法,所述至少一个交互控件,包括:图像采集控件;所述响应于针对所述至少一个交互控件中目标交互控件的交互操作,确定所述虚拟对象对应的响应效果数据,包括:According to the method according to any one of claims 1-3, the at least one interactive control includes: an image acquisition control; and determining the virtual The response effect data corresponding to the object, including:
    在所述目标交互控件为所述图像采集控件的情况下,对所述虚拟对象对应的当前的虚拟效果图像进行采集,得到当前对象图像;When the target interactive control is the image acquisition control, the current virtual effect image corresponding to the virtual object is collected to obtain the current object image;
    获取第一预设模板,结合所述第一预设模板与所述当前对象图像,生成模板对象图像,将所述模板对象图像作为所述响应效果数据;所述第一预设模板用于为展示所述当前对象图像提供预设的图像模板。Obtain a first preset template, combine the first preset template and the current object image to generate a template object image, and use the template object image as the response effect data; the first preset template is used for Displaying the current object image provides a preset image template.
  8. 根据权利要求7所述的方法,所述第一预设模板还包括:预设识别码;所述预设识别码用于提供预设功能的链接。According to the method according to claim 7, the first preset template further comprises: a preset identification code; the preset identification code is used to provide a link of a preset function.
  9. 根据权利要求1-8任一项所述的方法,所述采集真实场景中真实对象的目标图像,包括:The method according to any one of claims 1-8, said collecting target images of real objects in a real scene, comprising:
    在进入图像采集界面的情况下,在所述图像采集界面上显示采集范围引导信息;所述采集范围引导信息包括预设采集范围边界;In the case of entering the image acquisition interface, display acquisition range guide information on the image acquisition interface; the acquisition range guide information includes a preset acquisition range boundary;
    通过所述图像采集界面对所述真实对象进行图像采集,将所述预设采集范围边界内的图像作为所述目标图像。The image acquisition of the real object is performed through the image acquisition interface, and the image within the boundary of the preset acquisition range is used as the target image.
  10. 根据权利要求1-9任一项所述的方法,所述真实对象包括:目标真实物品,所述虚拟对象为与所述目标真实物品对应的目标虚拟模型;According to the method according to any one of claims 1-9, the real object comprises: a target real item, and the virtual object is a target virtual model corresponding to the target real item;
    所述通过对所述目标图像进行识别,确定所述目标图像对应的虚拟对象,包括:The determining the virtual object corresponding to the target image by identifying the target image includes:
    对所述目标图像进行至少一种预设真实物品的目标识别,得到目标真实物品的检测结果;Perform target recognition of at least one preset real item on the target image to obtain a detection result of the target real item;
    基于所述检测结果,获取所述目标真实物品对应的目标虚拟模型作为所述虚拟对象。Based on the detection result, a target virtual model corresponding to the target real item is acquired as the virtual object.
  11. 根据权利要求1-10任一项所述的方法,所述在目标功能页面中展示对所述虚拟对象进行渲染得到的虚拟效果图像,包括:According to the method according to any one of claims 1-10, the displaying the virtual effect image obtained by rendering the virtual object on the target function page includes:
    获取所述目标图像在预设屏幕坐标系中对应的屏幕位置信息;Acquiring screen position information corresponding to the target image in a preset screen coordinate system;
    基于所述目标图像进行姿态评估,得到所述目标真实物品在所述真实场景中的真实位置信息;performing attitude assessment based on the target image to obtain real position information of the target real item in the real scene;
    从目标功能后台数据中,获取所述虚拟对象对应的目标预设渲染数据,基于所述真实位置信息与所述屏幕位置信息的映射关系,使用所述目标预设渲染数据对所述虚拟对象进行渲染,得到所述虚拟效果图像。Obtain target preset rendering data corresponding to the virtual object from the target function background data, and use the target preset rendering data to process the virtual object based on the mapping relationship between the real position information and the screen position information rendering to obtain the virtual effect image.
  12. 一种显示装置,包括:A display device comprising:
    采集部分,配置为响应于对目标功能入口的触发操作,采集真实场景中真实对象的目标图像;The collection part is configured to collect a target image of a real object in a real scene in response to a trigger operation on a target function entry;
    渲染部分,配置为通过对所述目标图像进行识别,确定所述目标图像对应的虚拟对象,并在目标功能页面中展示对所述虚拟对象进行渲染得到的虚拟效果图像;所述目标功能页面包含至少一个交互控件;所述虚拟效果图像用于展示所述目标图像对应的增强现实效果;The rendering part is configured to determine the virtual object corresponding to the target image by identifying the target image, and display the virtual effect image obtained by rendering the virtual object on the target function page; the target function page includes At least one interactive control; the virtual effect image is used to display the augmented reality effect corresponding to the target image;
    操作部分,配置为响应于针对所述至少一个交互控件中目标交互控件的交互操作,确定所述虚拟对象对应的响应效果数据,并通过所述响应效果数据,更新展示的所述虚拟效果图像。The operation part is configured to determine response effect data corresponding to the virtual object in response to an interactive operation on a target interactive control in the at least one interactive control, and update the displayed virtual effect image through the response effect data.
  13. 一种电子设备,包括:An electronic device comprising:
    显示屏;存储器,配置为存储可执行计算机程序;display screen; memory configured to store an executable computer program;
    处理器,配置为执行所述存储器中存储的可执行计算机程序时,结合所述显示屏实现权利要求1至11任一项所述的方法。A processor configured to implement the method according to any one of claims 1 to 11 in combination with the display screen when executing the executable computer program stored in the memory.
  14. 一种计算机可读存储介质,其上存储有计算机程序,用于引起处理器执行时,实现权利要求1至11任一项所述的方法。A computer-readable storage medium, on which a computer program is stored for causing a processor to implement the method according to any one of claims 1 to 11.
  15. 一种计算机程序,包括计算机可读代码,在所述计算机可读代码在电子设备中运行的情况下,所述电子设备中的处理器执行时实现权利要求1至11任一所述的显示方法的步骤。A computer program, comprising computer-readable codes, when the computer-readable codes run in an electronic device, the processor in the electronic device executes the display method according to any one of claims 1 to 11 A step of.
  16. 一种计算机程序产品,包括计算机程序指令,该计算机程序指令使得计算机执行如权利要求1至11任一项所述的显示方法的步骤。A computer program product, comprising computer program instructions, which cause a computer to execute the steps of the display method according to any one of claims 1 to 11.
PCT/CN2022/113746 2021-08-20 2022-08-19 Display method and apparatus, electronic device, computer-readable storage medium, computer program, and computer program product WO2023020622A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110961689.4 2021-08-20
CN202110961689.4A CN113721804A (en) 2021-08-20 2021-08-20 Display method, display device, electronic equipment and computer readable storage medium

Publications (1)

Publication Number Publication Date
WO2023020622A1 true WO2023020622A1 (en) 2023-02-23

Family

ID=78677163

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/113746 WO2023020622A1 (en) 2021-08-20 2022-08-19 Display method and apparatus, electronic device, computer-readable storage medium, computer program, and computer program product

Country Status (2)

Country Link
CN (1) CN113721804A (en)
WO (1) WO2023020622A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117412019A (en) * 2023-12-14 2024-01-16 深圳市欧冠微电子科技有限公司 Aerial imaging and virtual reality dynamic backlight determination method and device and electronic equipment

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113721804A (en) * 2021-08-20 2021-11-30 北京市商汤科技开发有限公司 Display method, display device, electronic equipment and computer readable storage medium
CN114371780A (en) * 2021-12-31 2022-04-19 金地(集团)股份有限公司 Household intelligent old-age care implementation method and system
CN114371904B (en) * 2022-01-12 2023-09-15 北京字跳网络技术有限公司 Data display method and device, mobile terminal and storage medium
CN114398133A (en) * 2022-01-14 2022-04-26 北京字跳网络技术有限公司 Display method, display device, electronic equipment and storage medium
CN114390214B (en) * 2022-01-20 2023-10-31 脸萌有限公司 Video generation method, device, equipment and storage medium
CN115033148B (en) * 2022-06-13 2024-04-19 北京字跳网络技术有限公司 Document display method, device, electronic equipment and storage medium
CN115016688A (en) * 2022-06-28 2022-09-06 维沃移动通信有限公司 Virtual information display method and device and electronic equipment
CN117482528A (en) * 2022-07-25 2024-02-02 腾讯科技(成都)有限公司 Method, device, equipment and storage medium for processing summarized information of virtual scene
CN115712344A (en) * 2022-09-27 2023-02-24 汉华智能科技(佛山)有限公司 Scene interaction method, system and storage medium for intelligent electronic sacrifice

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190065027A1 (en) * 2017-08-31 2019-02-28 Apple Inc. Systems, Methods, and Graphical User Interfaces for Interacting with Augmented and Virtual Reality Environments
US20200117336A1 (en) * 2018-10-15 2020-04-16 Midea Group Co., Ltd. System and method for providing real-time product interaction assistance
CN111897431A (en) * 2020-07-31 2020-11-06 北京市商汤科技开发有限公司 Display method and device, display equipment and computer readable storage medium
CN112051961A (en) * 2020-09-04 2020-12-08 脸萌有限公司 Virtual interaction method and device, electronic equipment and computer readable storage medium
CN113721804A (en) * 2021-08-20 2021-11-30 北京市商汤科技开发有限公司 Display method, display device, electronic equipment and computer readable storage medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110677587A (en) * 2019-10-12 2020-01-10 北京市商汤科技开发有限公司 Photo printing method and device, electronic equipment and storage medium
CN111643899A (en) * 2020-05-22 2020-09-11 腾讯数码(天津)有限公司 Virtual article display method and device, electronic equipment and storage medium
CN111880659A (en) * 2020-07-31 2020-11-03 北京市商汤科技开发有限公司 Virtual character control method and device, equipment and computer readable storage medium
CN112148189A (en) * 2020-09-23 2020-12-29 北京市商汤科技开发有限公司 Interaction method and device in AR scene, electronic equipment and storage medium
CN112135059B (en) * 2020-09-30 2021-09-28 北京字跳网络技术有限公司 Shooting method, shooting device, electronic equipment and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190065027A1 (en) * 2017-08-31 2019-02-28 Apple Inc. Systems, Methods, and Graphical User Interfaces for Interacting with Augmented and Virtual Reality Environments
US20200117336A1 (en) * 2018-10-15 2020-04-16 Midea Group Co., Ltd. System and method for providing real-time product interaction assistance
CN111897431A (en) * 2020-07-31 2020-11-06 北京市商汤科技开发有限公司 Display method and device, display equipment and computer readable storage medium
CN112051961A (en) * 2020-09-04 2020-12-08 脸萌有限公司 Virtual interaction method and device, electronic equipment and computer readable storage medium
CN113721804A (en) * 2021-08-20 2021-11-30 北京市商汤科技开发有限公司 Display method, display device, electronic equipment and computer readable storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117412019A (en) * 2023-12-14 2024-01-16 深圳市欧冠微电子科技有限公司 Aerial imaging and virtual reality dynamic backlight determination method and device and electronic equipment

Also Published As

Publication number Publication date
CN113721804A (en) 2021-11-30

Similar Documents

Publication Publication Date Title
WO2023020622A1 (en) Display method and apparatus, electronic device, computer-readable storage medium, computer program, and computer program product
US11615592B2 (en) Side-by-side character animation from realtime 3D body motion capture
EP3129871B1 (en) Generating a screenshot
JP6013583B2 (en) Method for emphasizing effective interface elements
US9437038B1 (en) Simulating three-dimensional views using depth relationships among planes of content
CN109688451B (en) Method and system for providing camera effect
US20150185825A1 (en) Assigning a virtual user interface to a physical object
KR20230107844A (en) Personalized avatar real-time motion capture
US20140002443A1 (en) Augmented reality interface
KR20230107655A (en) Body animation sharing and remixing
CN114930399A (en) Image generation using surface-based neurosynthesis
JP2019012526A (en) Image processing method, computer program, and recording medium
US11443306B2 (en) Third-party resource authorization
US12020384B2 (en) Integrating augmented reality experiences with other components
WO2023045964A1 (en) Display method and apparatus, device, computer readable storage medium, computer program product, and computer program
CN114116086A (en) Page editing method, device, equipment and storage medium
WO2022206304A1 (en) Video playback method and apparatus, device, storage medium, and program product
WO2023220163A1 (en) Multi-modal human interaction controlled augmented reality
CN110853643A (en) Method, device, equipment and storage medium for voice recognition in fast application
US11948266B1 (en) Virtual object manipulation with gestures in a messaging system
US20230343037A1 (en) Persisting augmented reality experiences
US20240020910A1 (en) Video playing method and apparatus, electronic device, medium, and program product
US20240087244A1 (en) Cursor functionality for augmented reality content in messaging systems
US20240087246A1 (en) Trigger gesture for selection of augmented reality content in messaging systems
US20240087239A1 (en) Sculpting augmented reality content using gestures in a messaging system

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: 22857931

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE