WO2024041417A1 - 信息显示方法、装置、电子设备及存储介质 - Google Patents

信息显示方法、装置、电子设备及存储介质 Download PDF

Info

Publication number
WO2024041417A1
WO2024041417A1 PCT/CN2023/113213 CN2023113213W WO2024041417A1 WO 2024041417 A1 WO2024041417 A1 WO 2024041417A1 CN 2023113213 W CN2023113213 W CN 2023113213W WO 2024041417 A1 WO2024041417 A1 WO 2024041417A1
Authority
WO
WIPO (PCT)
Prior art keywords
display
special effects
information
image
target
Prior art date
Application number
PCT/CN2023/113213
Other languages
English (en)
French (fr)
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 WO2024041417A1 publication Critical patent/WO2024041417A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/63Control of cameras or camera modules by using electronic viewfinders
    • H04N23/631Graphical user interfaces [GUI] specially adapted for controlling image capture or setting capture parameters
    • H04N23/632Graphical user interfaces [GUI] specially adapted for controlling image capture or setting capture parameters for displaying or modifying preview images prior to image capturing, e.g. variety of image resolutions or capturing parameters
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/40Filling a planar surface by adding surface attributes, e.g. colour or texture
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/62Control of parameters via user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2200/00Indexing scheme for image data processing or generation, in general
    • G06T2200/24Indexing scheme for image data processing or generation, in general involving graphical user interfaces [GUIs]

Definitions

  • Embodiments of the present disclosure relate to image processing technology, for example, to an information display method, device, electronic device, and storage medium.
  • the shooting controls when shooting or generating special effects videos based on application software, the shooting controls will be displayed in the display interface, and will be displayed in the original display form.
  • the disadvantage of this method is that: the shooting controls and the display interface
  • the display content in the video is inconsistent, resulting in a poor display effect of the final special effects video.
  • the present disclosure provides an information display method, device, electronic equipment and storage medium, so that when it is detected that special effects addition conditions are met, the display information of the shooting control can be adjusted based on the special effects display image, thereby achieving the integration of the shooting control and the rendering screen. Effect.
  • an embodiment of the present disclosure provides an information display method, which method includes:
  • the first display area is different from the second display area, and the second display area surrounds the first display area.
  • embodiments of the present disclosure also provide an information display device, which includes:
  • a first filling module configured to fill the special effects display image into the first display area of the shooting control in response to detecting that special effects adding conditions are met;
  • the second filling module is configured to determine the target display information of the second display area on the shooting control based on the special effects display image, and display the second display area based on the target display information;
  • the first display area is different from the second display area, and the second display area surrounds the first display area.
  • embodiments of the present disclosure also provide an electronic device, including:
  • a storage device arranged to store at least one program
  • the at least one processor When the at least one program is executed by the at least one processor, the at least one processor is caused to implement the information display method as described in any one of the embodiments of the present disclosure.
  • embodiments of the disclosure further provide a storage medium containing computer-executable instructions that, when executed by a computer processor, perform the information display method as described in any embodiment of the disclosure.
  • Figure 1 is a schematic flowchart of an information display method provided by an embodiment of the present disclosure
  • Figure 2 is a schematic diagram of a shooting control provided by an embodiment of the present disclosure
  • Figure 3 is a schematic diagram of a shooting control provided by an embodiment of the present disclosure.
  • Figure 4 is a schematic diagram of a shooting control provided by an embodiment of the present disclosure.
  • Figure 5 is a schematic diagram of a shooting control provided by an embodiment of the present disclosure.
  • Figure 6 is a schematic flowchart of an information display method provided by an embodiment of the present disclosure.
  • Figure 7 is a schematic flowchart of an information display method provided by an embodiment of the present disclosure.
  • Figure 8 is a schematic diagram of a terminal display interface provided by an embodiment of the present disclosure.
  • Figure 9 is a schematic diagram of a shooting control arrangement provided by an embodiment of the present disclosure.
  • Figure 10 is a schematic structural diagram of an information display device provided by an embodiment of the present disclosure.
  • FIG. 11 is a schematic structural diagram of an electronic device provided by an embodiment of the present disclosure.
  • the term “include” and its variations are open-ended, ie, “including but not limited to.”
  • the term “based on” means “based at least in part on.”
  • the term “one embodiment” means “at least one embodiment”; the term “another embodiment” means “at least one additional embodiment”; and the term “some embodiments” means “at least some embodiments”. Relevant definitions of other terms will be given in the description below.
  • a prompt message is sent to the user to clearly remind the user that the operation requested by the user will require the acquisition and use of the user's personal information. Therefore, users can autonomously choose whether to provide personal information to software or hardware such as electronic devices, applications, servers or storage media that perform the operations of the technical solution of the present disclosure based on the prompt information.
  • the method of sending prompt information to the user may be, for example, a pop-up window, and the prompt information may be presented in the form of text in the pop-up window.
  • the pop-up window can also contain a selection control for the user to choose "agree” or "disagree” to provide personal information to the electronic device.
  • the technical solutions of the embodiments of the present disclosure can be applied in any scene where special effects video needs to be generated.
  • the middle area of the shooting control can be determined based on the user's trigger operation.
  • the special effects display image is used to determine the display effect of the shooting control based on the special effects display image.
  • the image to be processed in the display interface is rendered based on the target special effect corresponding to the special effects display image, thereby generating the shooting control and rendering screen.
  • the fused special effects image is displayed on the display interface.
  • Figure 1 is a schematic flow chart of an information display method provided by an embodiment of the disclosure.
  • the embodiment of the disclosure is suitable for processing an image to be processed based on application software, so that the shooting control in the display interface is integrated with the rendered image to be processed.
  • the method can be executed by an information display device, which can be implemented in the form of at least one of software and hardware.
  • it can be implemented by an electronic device.
  • the electronic device can be a mobile terminal, a personal computer (Personal computer). Computer, PC) client or server, etc.
  • the method includes:
  • the device for executing the method for generating special effects video can be integrated in Application software that supports special effects video processing functions, and the software can be installed on electronic devices.
  • the electronic device can be a mobile terminal or a PC.
  • the application software can be a type of software for image or video processing, which will not be described in detail here, as long as it can realize image or video processing.
  • the application software can also be a specially developed application to add special effects and display the special effects in the software, or integrate the special effects into the corresponding page. Users can process the special effects video through the integrated page on the PC. .
  • a control for triggering the special effects can be developed in advance.
  • the special effects triggering operation can be responded to, thereby The special effects display image fills the first display area of the shooting control.
  • the special effects display image may be a special effects preview image based on the target special effect selected by the user, or may be a preview image stored in a specific database that conforms to the special effect display effect selected by the user.
  • the shooting control may be a pre-developed button for realizing the shooting function. In practical applications, when it is detected that the user triggers the control, the image displayed in the current display interface can be captured.
  • the first display area is the central circular area of the shooting control. For example, as shown in Figure 2, it is a shooting control, and the area filled with black in the middle is the first display area.
  • the special effects display image can usually be filled in the first display area of the shooting control only when the special effects adding conditions are met.
  • the special effects adding conditions may include at least one of the following: detection of triggering the shooting control; detection of Triggered by the special effects display image on the display interface; it is detected that the display duration of the image to be processed reaches the preset display duration; it is detected that the display posture of the target part of the target object is consistent with the preset display posture.
  • the special effects adding condition can be met, so that the special effects display image is filled into the first display area of the shooting control.
  • a control for triggering special effects props can be set in advance.
  • a special effects display image display page can pop up on the display interface.
  • the conditions for adding special effects can be met, and the special effects display image can be filled into the first display area of the shooting control.
  • Another implementation method can be: the user can use the camera device of the mobile terminal to Shoot videos or images, or actively upload images based on pre-developed controls in the application software.
  • the real-time captured images obtained by the application or the images actively uploaded by the user are the images to be processed.
  • the terminal device when detecting When the user triggers the shooting control, the terminal device can face the user in real time to collect the image, and use the collected image as the image to be processed.
  • the image display countdown can also be displayed in the display interface.
  • the countdown time is the preset display duration.
  • the display duration of the image to be processed reaches the preset display duration, that is, when the image display countdown returns to zero, it can mean that the conditions for adding special effects are met.
  • the display posture can be set as a special effect triggering action in advance.
  • the target object can be a user or an animal, etc.
  • the target part may be at least one limb part associated with the target object.
  • the special effects display image is determined, so that the special effects display image can be filled into the first display area of the shooting control.
  • filling the special effects display image into the first display area of the shooting control includes: updating the original image of the first display area in the shooting control based on the special effects display image.
  • the original image of the first display area may be a preset display image without any processing.
  • the image corresponding to the middle black area is the original image of the first display area.
  • the special effects display image can be moved to the first display area of the shooting control through a triggering operation, so that the special effects display image updates the original image in the first display area.
  • the triggering operation may include at least one of sliding, clicking, or long pressing.
  • S120 Determine the target display information of the second display area on the shooting control according to the special effects display image, and display the second display area according to the target display information.
  • the first display area is different from the second display area, and the second display area surrounds the first display area.
  • the second display area is a ring area surrounding the first display area.
  • the annular area outside the first display area is the second display area.
  • the target display information may be updated image display information of the second display area.
  • Target display information of the second display area is determined based on the special effect display image in the first display area.
  • determining the target display information of the second display area on the shooting control based on the special effects display image includes: determining the target display information of the second display area on the shooting control based on at least one color area in the special effects display image.
  • the color area may be the area occupied by various colors included in the special effects display image in the special effects display image.
  • the special effects display image is an image composed of blue, green, red and yellow
  • the corresponding color areas are the blue area, green area, red area and yellow area.
  • the color area in the special effects display image can be identified based on the image color recognition algorithm, so that the color area of the second display area can be determined based on the color recognition result.
  • Target display information The advantage of this setting is that it can make the display effects of the first display area and the second display area of the shooting control more coordinated, thereby improving the overall display effect of the shooting control.
  • the color area in the special effects display image may be at least one.
  • the target display information in the second display area may only include one color information; when there are multiple color areas, the color areas may be filtered according to preset filtering rules to obtain the target Display information.
  • the special effects display image is a preview image of the corresponding target special effect.
  • the target special effects corresponding to the special effects display image can be retrieved at the same time. and loaded so that the target special effects render the image to be processed in the display interface. Therefore, when determining the target display information of the second display area, not only the color area of the image must be displayed according to the special effects, but also combined with the special effects display image.
  • the display conditions of the corresponding target special effects are jointly determined.
  • determining the target display information of the second display area on the shooting control based on the special effects display image includes: determining the target display information based on the special effects display image and the loading status of the target special effects corresponding to the special effects display image.
  • the target special effect may be the special effect that is finally rendered on the image to be processed.
  • the corresponding relationship between the special effects display image and the target special effects can be constructed in advance.
  • the target special effects corresponding to the special effects display image can be loaded.
  • the target display information of the second display area is determined.
  • the loading status of the target special effect may include loading completed and loading status, so the method of determining the target display information can be determined respectively according to the different loading statuses of the target special effect.
  • the method of determining the target display information can be described below.
  • the target display information is determined based on the special effects display image and the loading status of the target special effects corresponding to the special effects display image, including: using the color information corresponding to the largest color area as the target Display information.
  • the area areas of multiple color areas corresponding to the special effects display image can be determined based on the image color recognition algorithm. For example, the area areas of the multiple areas are After comparing and determining the color information corresponding to the color area with the largest area, the color information can be used as the target display information of the second display area.
  • the advantage of this setting is that it can make the overall display effect of the shooting control more complete, thus improving the characteristics of the display interface. Effective display effect.
  • the color areas corresponding to the special effects display image include blue areas, green areas, red areas and yellow areas. Among these four areas, the area corresponding to the yellow area is the largest. Therefore, Yellow can be used as the target display information of the second display area.
  • the target display information is determined based on the special effects display image and the loading state of the target special effects corresponding to the special effects display image, including: color information corresponding to the maximum color area, as the first display information; use the color information corresponding to the second largest color area as the dynamic display information in the second display area; determine the target display information based on the first display information and the dynamic display information based on the first display information
  • the second display area is filled, and the second display area is traversed as a scroll bar based on the dynamic display information.
  • the target special effects may require a certain loading time due to the current network status or the current terminal device status.
  • the special effects display images to be selected for previewing the special effects to be selected are all pre-loaded. Therefore, during the loading process of the target special effects, the shooting can be adjusted in advance based on the special effects display images. Display information of the control.
  • the dynamic display information may be dynamically changing display information in the second display area.
  • the target special effects corresponding to the special effects display image can be loaded. Since the loading process of the target special effects requires a certain amount of time, time, in order to reflect the loading status of the target special effects, the area areas of multiple color areas in the special effects display image can be determined, and the color information corresponding to the largest area area is used as the first display information. At the same time, the color information corresponding to the largest area area is used. The corresponding color information is used as dynamic display information.
  • the first display information is updated to the second display area, and at the same time, the dynamic display information is used as a scroll bar to cycle through the second display area.
  • the target display information It also includes the first display information and dynamic display information; when the target special effects are loaded, the dynamic display The information can disappear.
  • the target display information is the first display information.
  • the largest color area in the special effects display image is the yellow area
  • the second largest color area is the red area. Therefore, yellow can be used as the first display information and red as the dynamic display information to determine the target.
  • Display information that is, fill the second display area with yellow, and use red as a scroll bar to cycle through the second display area.
  • Area B in Figure 5 is the scroll bar area.
  • the target display information can be determined based on the above method.
  • the special effects display image can be The color information corresponding to the color area is used as the first display information, and the color information preset by the system can be used as the dynamic display information, thereby ultimately determining the target display information.
  • the color information preset by the system can be any color, optionally, it can be black or white.
  • the display form of dynamic display information in the second display area is not limited to scroll bars, but can also be other dynamic display forms. Any display form that can represent the loading status of the target special effect can be used as dynamic display information.
  • the display form is not limited in the embodiments of the present disclosure.
  • the dynamic display information can also be used based on the dynamic display information.
  • the information performs certain processing on the first display area to make the first display area and the second display area more coordinated.
  • it also includes: covering the special effects display image in the first display area with a mask layer corresponding to the dynamic display information according to the preset transparency.
  • a mask layer is a layer covering an area, and the layer can be in a transparent or semi-transparent state.
  • the preset transparency can be expressed in the form of a percentage. Through the preset transparency, the stage between the mask layer and the colorless transparency can be divided into 100 parts. It can be understood that when the preset transparency value is lower, the effect of the mask layer will be better. It tends to be opaque. When the transparency value is higher, the effect of the mask layer tends to be more transparent.
  • the default transparency can be any value, optional, it can be 30%, 40% or 50% etc.
  • the mask layer can be covered on the special effects display image
  • the rendering state of the image to be selected in the display interface is also in the rendering state.
  • the display interface will present a semi-transparent image. The effect of layer coverage.
  • the image settings and dynamics can be displayed for the special effects in the first display area when the target special effects are in the loading state. Display the mask corresponding to the information.
  • the mask layer corresponding to the dynamic display information can also be determined, that is, the mask layer corresponding to the dynamic display information can be The corresponding color is used as the color of the mask layer.
  • the mask layer is covered in the special effects display image in the first display area according to the preset transparency, so that the special effects display image can be modified during the process of dynamic display information traversing the second display area. Perform masking processing.
  • the advantage of this setting is that it can improve the overall display effect of the first display area and the second display area of the shooting control, and at the same time improve the coordination between the shooting control and the display content in the display interface.
  • the technical solution of the embodiment of the present disclosure fills the special effects display image into the first display area of the shooting control when it is detected that the special effects adding conditions are met, and determines the target display of the second display area on the shooting control based on the special effects display image. information, and displays the second display area according to the target display information, which solves the problem in related technologies that when adding target special effects to the image to be processed, the shooting control does not match the target special effects, resulting in poor display effects of the display screen, achieving
  • the display information of the shooting control can be adjusted based on the special effects display image to make the display effects of the first display area and the second display area of the shooting control more coordinated, thereby achieving the integration of the shooting control and the rendering screen. Integrated effect.
  • Figure 6 is a schematic flowchart of an information display method provided by an embodiment of the present disclosure.
  • the special effects display image corresponding to the special effects display image can be loaded.
  • Target special effects and render the target special effects onto the image to be processed For its implementation, please refer to the technical solution of this embodiment. Among them, the same or corresponding technical terms as those in the above embodiments I won’t go into details here.
  • the method includes the following steps:
  • the user can input a trigger operation to the shooting control displayed on the display interface to realize the collection of the image, and use the collected image as the image to be processed, for example , when it is detected that the conditions for adding special effects are met, the special effects display image can be filled into the first display area of the shooting control. In this process, the corresponding special effects can also be added to the image to be processed, so that the shooting control and the image to be processed can be integrated One body.
  • the target special effect may be a filter special effect corresponding to the special effect display image.
  • the corresponding relationship between the special effects display image to be selected and the special effects to be selected can be established in advance.
  • the corresponding special effects display image can be retrieved.
  • the corresponding target special effects are loaded, so that after the target special effects are loaded, the image to be processed can be rendered based on the target special effects.
  • the special effects display image may also be determined from a plurality of special effects display images to be selected. In this embodiment, there may be multiple ways of determining the special effects display image. Next, how to determine the special effects display image will be introduced.
  • Method 1 In response to multiple special effects display images to be selected being superimposed and displayed on the display interface, the special effects display image to be selected is placed on the top layer of the display interface as the special effects display image.
  • Method 2 If multiple special effects display images to be selected are displayed in tiles on the display interface, the first special effect display image to be selected will be displayed according to the first preset direction as the special effects display image.
  • the first preset direction may be a sliding direction from left to right with the shooting control as the center, or a sliding direction from right to left.
  • multiple special effects display images to be selected can be displayed in the display interface, and displayed tiled on both sides of the shooting control.
  • the special effects to be selected can be determined Display the first preset direction of the image, and use the first special effect display image to be selected displayed in this direction as the special effects display image.
  • Method 3 Use the triggered special effects display image to be selected as the special effects display image.
  • the user can select from the multiple special effect display images to be selected by triggering operations, and can issue a determination instruction based on the determination control, so that the current The selected special effects display image to be selected is used as the special effects display image.
  • S220 Determine the target display information of the second display area on the shooting control according to the special effects display image, and display the second display area according to the target display information.
  • the technical solution of the embodiment of the present disclosure fills the special effects display image into the first display area of the shooting control when it is detected that the special effects adding conditions are met, and loads the target special effects corresponding to the special effects display image to render and collect based on the target special effects.
  • the image to be processed, and, based on the special effects display image, the target display information of the second display area on the shooting control is determined, and the second display area is displayed based on the target display information, achieving greater integration between the shooting control and the rendered image to be processed
  • the flexibility of the special effects image processing scheme is enhanced, and the display effect of the rendered picture is improved.
  • Figure 7 is a schematic flowchart of an information display method provided by an embodiment of the present disclosure. Based on the foregoing embodiment, when it is detected that the special effects display image moves out of the first display area, it can be based on the to-be-done image that moves into the first display area. Select the special effects display image to determine the target display information in the second display area. For its implementation, please refer to the technical solution of this embodiment. Wherein, the same as or corresponding to the above embodiments The technical terminology will not be repeated here.
  • the method includes the following steps:
  • S320 Determine the target display information of the second display area on the shooting control according to the special effects display image, and display the second display area according to the target display information.
  • the relationship between the special effects display image and the special effect display image to be selected can be determined by panning left and right.
  • the user can input a sliding operation on the special effects display image in the first display area to move the special effects display image out of the first display area.
  • the special effects display image to be selected adjacent to the special effects display image can be used as the special effects display image to be selected to be moved into the first display area.
  • the special effects display image to be selected adjacent to the left side of the special effects display image can be used as the special effects display image to be moved into the first display area.
  • the special effects display image to be selected when it is detected that the special effects display image is moved out of the first display area by sliding to the left, the special effects display image adjacent to the right side of the special effects display image to be selected can be used as the special effects display image to be moved into the first display area. Display image of the special effects to be selected in the area.
  • the image corresponding to the black area in the figure can be used as the special effect display image, and the image corresponding to the striped area can be used as the special effect display image to be selected.
  • the image corresponding to the black area moves out of the first display area by shifting to the right, at the same time, the image corresponding to the stripe area adjacent to the image corresponding to the black area can be used as an image to be moved into the first display area. Select the special effects display image.
  • S340 Determine the target display information to be updated of the special effects display image to be selected, and in response to the coincidence degree of the special effects display image to be selected and the first display area reaching the preset coincidence threshold, update the target display information of the second display area based on the target display information to be updated.
  • Target display information
  • the target display information to be updated may be the color area information of the special effect display image to be selected to be moved into the first display area.
  • the special effects display image to be selected to be moved into the first display area can be determined, and in the process of the special effects display image to be selected moving into the first display area , based on the image color recognition algorithm, the color area of the special effect display image to be selected is recognized, and the color information corresponding to the largest color area and the color information corresponding to the second largest color area can be used as the target display information to be updated.
  • the overlapping degree may be the overlapping area of the first display area and the special effect display image to be selected that is moved into the first display area.
  • the degree of coincidence can be expressed as a percentage.
  • the preset coincidence threshold can be set in advance and is set as a standard value for detecting whether the special effect display image to be selected moved into the first display area is within the display range of the first display area. It should be noted that the degree of coincidence can be determined based on any method. Alternatively, it can be determined by detecting the distance between the center of the special effect display image to be selected and the center of the first display area.
  • the special effect display image to be selected after determining the special effect display image to be selected to be moved into the first display area, the special effect display image to be selected can be moved into the first display area.
  • the special effect display image to be selected can be displayed based on the image color recognition algorithm.
  • the color area of the image is detected, so that the display information of the target to be updated can be determined. For example, when it is detected that the coincidence degree of the special effect display image to be selected and the first display area reaches the preset coincidence threshold, then the target display information to be updated can be determined.
  • the display information updates the target display information in the second display area.
  • the special effects display image to be selected and the first display area does not reach the preset overlap threshold, it can be explained that the special effects display image is still within the detection range of the first display area. At this time, it can be based on The special effects display image to be selected and the special effects display image jointly determine the target display information of the second display area.
  • the method further includes: in response to the coincidence degree of the first display area and the special effect display image to be selected not reaching the preset coincidence degree threshold, determining the special effect display image to be selected and the special effect display image and the second display area.
  • Distance information based on the distance information, determine the superposition ratio of the target display information to be updated and the target display information, so as to display the second display area based on the superimposed target display information.
  • the distance information between the special effects display image and the second display area can be determined based on the displacement detection algorithm. , and the distance information between the special effect display image to be selected and the second display area. For example, based on the two distance information, the superposition ratio between the target display information to be updated and the target display information is determined.
  • the distance between the center point of the special effects display image and the center point of the first display area can be determined. Since the distance between the first display area and the second display area can be determined in advance, based on the above two distances information, the distance information between the special effects display image and the second display area can be determined; another implementation method can be: determining a rectangular frame based on the boundary information of the special effects display image, and also determining a rectangular frame based on the boundary information of the second display area. The rectangular frame determines the distance between the center points of the two rectangular frames, which is the distance information between the special effects display image and the second display area.
  • the method selected as the method for determining distance information can be set according to actual conditions, and is not limited here by the embodiments of the present disclosure. It should be noted that the determination method of the distance information between the special effect display image to be selected and the second display area can also be determined based on the above determination methods.
  • the overlay ratio can be that the proportion of the target display information is smaller than the target to be updated.
  • the proportion of display information if the distance information between the special effects display image and the second display area is less than the distance information between the special effects display image to be selected and the second display area, then the overlay ratio can be that the proportion of the target display information is greater than the distance information to be selected.
  • the proportion of the target display information is updated, so that the superimposed target display information can be determined based on the superimposed ratio, and the second display area is displayed based on the superimposed target display information.
  • the special effects display images to be selected can be displayed on both sides of the shooting control.
  • multiple special effects display images to be selected are displayed on both sides of the shooting control at the same time, it will occupy a large space in the display interface, thus Affects the display effect of special effects.
  • it also includes: in response to the number of special effects display images to be selected including multiple, taking the special effects display image in the first display area as the center, sequentially reducing the number of special effects display images located on both sides of the special effects display image. Select the display size of special effects display images and display them in stacks.
  • the display size of the special effect display image to be selected may be the image display area.
  • the depth information of multiple special effects display images to be selected can be determined. The smaller the depth value, the larger the corresponding display size of the special effects display image to be selected.
  • the special effects display images to be selected with a small depth value can be arranged first, and some areas of the adjacent special effects display images to be selected can be blocked, so as to achieve a stacked display effect. .
  • the display size of the special effects display image currently displayed in the first display area can be used as the original display size.
  • the original display size Basically, the display sizes of the special effects display images to be selected located on both sides of the special effects display image are sequentially reduced, and multiple special effects display images to be selected are stacked and displayed.
  • the advantage of this setting is that it can make the arrangement relationship between multiple special effects display images to be selected more reasonable, reduce the space occupied by the special effects display images to be selected in the display interface, and make multiple special effects display images to be selected It forms a spatial perspective effect and improves the special effects display effect of shooting controls.
  • element A can be used as a special effect display image, and its display size is set to C.
  • Elements A′ and A′′ are special effect display images to be selected, and element A′ and element A′′ The display size is smaller than element A.
  • the special effects display image to be selected when moved into the first display area, its corresponding display size can be supplemented so that the special effects display image in the first display area always maintains the original display size.
  • the display size of element A′ when element A′ moves to the position of element A, the display size of element A′ will be supplemented to C, and when element A′′ moves to the position of element A′, The display size corresponding to element A′′ will also be supplemented and corrected to the display size of element A′.
  • the technical solution of the embodiment of the present disclosure fills the special effects display image into the first display area of the shooting control when it is detected that the special effects adding conditions are met, and determines the target display of the second display area on the shooting control based on the special effects display image. information, and display the second display area according to the target display information. For example, when detecting the operation of moving the special effects display image from the first display area, the special effects display image to be selected to be moved into the first display area is determined, and the special effects display image to be selected is determined.
  • the target display information to be updated of the special effects display image is used to update the target display information of the second display area based on the target display information to be updated when the coincidence degree of the special effects display image to be selected and the first display area reaches a preset overlap threshold, to achieve It improves the effect of dynamic switching between the special effects display image and the special effects display image to be selected, improves the richness and interest of the shooting control display effect, and thereby improves the display effect of the special effects rendering picture.
  • Figure 10 is a schematic structural diagram of an information display device provided by an embodiment of the present disclosure. As shown in Figure 10, the device includes: a first filling module 410 and a second filling module 420.
  • the first filling module 410 is configured to fill the special effects display image into the first display area of the shooting control in response to detecting that the special effects adding conditions are met;
  • the second filling module 420 is configured to determine the target display information of the second display area on the shooting control according to the special effects display image, and display the second display area according to the target display information;
  • the first display area is different from the second display area, and the second display area surrounds the first display area.
  • the special effects adding conditions include at least one of the following:
  • the device further includes: a target special effects loading module.
  • the target special effects loading module is configured to load the target special effects corresponding to the special effects display image in the process of filling the special effects display image into the first display area of the shooting control, so as to based on the target Special effects rendering captures images to be processed.
  • the device further includes: a first special effects display image determination module, a second special effects display image determination module and a third special effects display image determination module.
  • the first special effects display image determination module is configured to, before loading the target special effects corresponding to the special effects display images, respond to the overlay display of multiple special effects display images to be selected on the display interface, and place the to-be-selected special effects display images placed on the top layer of the display interface.
  • Special effects display image as the special effects display image; or,
  • the second special effects display image determination module is configured to display the plurality of special effects display images to be selected in tiles in the display interface, and use the first special effects display image to be selected according to the first preset direction as the special effect display image. display images; or,
  • the third special effects display image determination module is configured to use the triggered special effects display image to be selected as the special effects display image.
  • the first filling module 410 is configured to update the original image of the first display area in the shooting control based on the special effect display image.
  • the second filling module 420 includes a target display image determination sub-module.
  • the target display image determination sub-module is configured to determine the target display information of the second display area on the shooting control based on at least one color area in the special effects display image.
  • the target display image determination sub-module includes a target display image determination unit.
  • the target display image determining unit is configured to determine the target display information according to the special effects display image and the loading status of the target special effects corresponding to the special effects display image.
  • the target display image determining unit is configured to use the color information corresponding to the maximum color area as the target display information.
  • the target display image determination unit includes a first display information determination subunit, a dynamic display information determination subunit and a target display information determination subunit.
  • the first display information determination subunit is set to use the color information corresponding to the maximum color area as Display information first;
  • the dynamic display information determination subunit is configured to use the color information corresponding to the second largest color area as the dynamic display information in the second display area;
  • the target display information determining subunit is configured to determine the target display information based on the first display information and the dynamic display information to fill the second display area based on the first display information, based on the dynamic display information. Display information traverses the second display area as a scroll bar.
  • the device further includes: a skin covering module.
  • a skin covering module is configured to cover the special effects display image of the first display area with a mask layer corresponding to the dynamic display information according to a preset transparency.
  • the device further includes: a special effect display image determination module to be selected and a target display information to be updated determination module.
  • the special effects display image to be selected determining module is configured to determine the special effects display image to be selected to be moved into the first display area in response to detecting an operation of moving the special effects display image from the first display area;
  • the target display information to be updated determining module is configured to determine the target display information to be updated of the special effects display image to be selected, in response to the coincidence degree of the special effects display image to be selected and the first display area reaching a preset coincidence degree. Threshold, update the target display information of the second display area based on the target display information to be updated.
  • the device further includes: a distance information determination module and a superposition ratio determination module.
  • the distance information determination module is configured to determine that the degree of coincidence between the first display area and the special effects display image to be selected does not reach a preset coincidence threshold, and determine that the special effects display image to be selected and the special effects display image are the same as the special effects display image to be selected. distance information of the second display area;
  • a superposition ratio determination module is configured to determine a superposition ratio of the target display information to be updated and the target display information based on the distance information, so as to display the second display area based on the superimposed target display information.
  • the device further includes: a special effect display image display module to be selected.
  • the special effects display image display module to be selected is configured to respond to the number of special effects display images to be selected, including a plurality of special effects display images to be selected, with the special effects display image in the first display area as the center, and to sequentially reduce the number of special effects display images to be selected on both sides of the special effects display image. Select the display size of special effects display images and display them in stacks.
  • the first display area is a central circular area of the shooting control
  • the second display area is an annular area surrounding the first display area
  • the technical solution of the embodiment of the present disclosure fills the special effects display image into the first display area of the shooting control when it is detected that the special effects adding conditions are met, and determines the target display of the second display area on the shooting control based on the special effects display image. information, and displays the second display area according to the target display information, which solves the problem in related technologies that when adding target special effects to the image to be processed, the shooting control does not match the target special effects, resulting in poor display effects of the display screen, achieving
  • the display information of the shooting control can be adjusted based on the special effects display image to make the display effects of the first display area and the second display area of the shooting control more coordinated, thereby achieving the integration of the shooting control and the rendering screen. Integrated effect.
  • the information display device provided by the embodiments of the present disclosure can execute the information display method provided by any embodiment of the present disclosure, and has corresponding functional modules and effects for executing the method.
  • FIG. 11 is a schematic structural diagram of an electronic device provided by an embodiment of the present disclosure.
  • FIG. 11 shows a schematic structural diagram of an electronic device (such as the terminal device or server in FIG. 11 ) 500 suitable for implementing embodiments of the present disclosure.
  • Terminal devices in embodiments of the present disclosure may include, but are not limited to, mobile phones, notebook computers, digital broadcast receivers, personal digital assistants (Personal Digital Assistants, PDAs), tablet computers (PAD), portable multimedia players (Portable Media Players), etc. , PMP), mobile terminals such as vehicle-mounted terminals (such as vehicle-mounted navigation terminals), and fixed terminals such as digital TVs, desktop computers, etc.
  • the electronic device shown in FIG. 11 is only an example and should not impose any limitations on the functions and scope of use of the embodiments of the present disclosure.
  • the electronic device 500 may include a processor (such as a central processing unit, a graphics processor, etc.) 501.
  • the processor 501 may process data according to a program stored in a read-only memory (Read-Only Memory, ROM) 502 or from The storage device 508 loads the program in the random access memory (Random Access Memory, RAM) 503 to perform various appropriate actions and processes.
  • RAM Random Access Memory
  • various programs and data required for the operation of the electronic device 500 are also stored.
  • the processor 501, ROM 502 and RAM 503 are connected to each other through a bus 504.
  • An input/output (I/O) interface 505 is also connected to bus 504.
  • input devices 506 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; including, for example, a Liquid Crystal Display (LCD) , an output device 507 such as a speaker, a vibrator, etc.; a storage device 508 including a magnetic tape, a hard disk, etc.; and a communication device 509.
  • Communication device 509 may allow electronic device 500 to communicate wirelessly or wiredly with other devices to exchange data.
  • FIG. 11 illustrates electronic device 500 with various means, it should be understood that implementation or availability of all illustrated means is not required. More or fewer means may alternatively be implemented or provided.
  • embodiments of the present disclosure include a computer program product including a computer program carried on a non-transitory computer-readable medium, the computer program containing program code for performing the method illustrated in the flowchart.
  • the computer program may be downloaded and installed from the network via communication device 509, or from storage device 508, or from ROM 502.
  • the processor 501 When the computer program is executed by the processor 501, the above-mentioned functions defined in the method of the embodiment of the present disclosure are performed.
  • the electronic device provided by the embodiments of the present disclosure and the video determination method provided by the above embodiments belong to the same concept.
  • Technical details that are not described in detail in this embodiment can be referred to the above embodiments, and this embodiment It has the same effect as the above embodiment.
  • Embodiments of the present disclosure provide a computer-readable storage medium on which a computer program is stored.
  • the program is executed by a processor, the information display method provided by the above embodiments is implemented.
  • the computer-readable storage medium mentioned above in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium, or any combination of the above two.
  • the computer-readable storage medium may be, for example, but is not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus or device, or any combination thereof.
  • Examples of computer readable storage media may include, but are not limited to: an electrical connection having at least one conductor, a portable computer disk, a hard drive, random access memory (RAM), read only memory (ROM), erasable programmable read only memory ( Erasable Programmable Read-Only Memory (EPROM), flash memory, optical fiber, portable compact disk read-only memory (Compact Disc Read-Only Memory, CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above.
  • a computer-readable storage medium may be any tangible medium that contains or stores a program for use by or in connection with an instruction execution system, apparatus, or device.
  • a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code therein. Such propagated data signals may take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above.
  • a computer-readable signal medium may also be any computer-readable storage medium other than computer-readable storage media that can be sent, propagated, or transmitted for use by or in connection with an instruction execution system, apparatus, or device program.
  • Program code contained on a computer-readable storage medium can be transmitted using any appropriate medium, including but not limited to: wires, optical cables, radio frequency (Radio Frequency, RF), etc., or any suitable combination of the above.
  • the client and server can communicate using any currently known or future developed network protocol, such as HyperText Transfer Protocol (HTTP), and can communicate with digital data in any form or medium.
  • HTTP HyperText Transfer Protocol
  • Communications e.g., communications network
  • Examples of communication networks include Local Area Network (LAN), Wide Area Network (Wide Area Network (WAN), the Internet (e.g., the Internet), and end-to-end networks (e.g., ad hoc end-to-end networks), as well as any currently known or future developed network.
  • LAN Local Area Network
  • WAN Wide Area Network
  • the Internet e.g., the Internet
  • end-to-end networks e.g., ad hoc end-to-end networks
  • the above-mentioned computer-readable storage medium may be included in the above-mentioned electronic device; it may also exist independently without being assembled into the electronic device.
  • the computer-readable storage medium carries at least one program.
  • the electronic device executes the at least one program.
  • the first display area is different from the second display area, and the second display area surrounds the first display area.
  • the computer-readable medium carries at least one program.
  • the electronic device executes the at least one program.
  • the first display area is different from the second display area, and the second display area surrounds the first display area.
  • Computer program code for performing the operations of the present disclosure may be written in at least one programming language, including but not limited to object-oriented programming languages such as Java, Smalltalk, C++, and conventional programming languages, or a combination thereof.
  • a procedural programming language such as "C” or a similar programming language.
  • the program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server.
  • the remote computer may be connected to the user computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (such as through the Internet using an Internet service provider).
  • LAN local area network
  • WAN wide area network
  • Internet service provider such as AT&T, MCI, Sprint, EarthLink, MSN, GTE, etc.
  • each block in the flowchart or block diagrams may represent a module, segment, or portion of code that contains at least one operable function for implementing the specified logical function.
  • Execute instructions may also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown one after another may actually execute substantially in parallel, or they may sometimes execute in the reverse order, depending on the functionality involved.
  • the units involved in the embodiments of the present disclosure can be implemented in software or hardware.
  • the name of the unit does not constitute a limitation on the unit itself.
  • the first acquisition unit can also be described as "the unit that acquires at least two Internet Protocol addresses.”
  • exemplary types of hardware logic components include: field programmable gate array (Field Programmable Gate Array, FPGA), application specific integrated circuit (Application Specific Integrated Circuit, ASIC), application specific standard product (Application Specific Standard Parts (ASSP), System on Chip (SOC), Complex Programmable Logic Device (CPLD), etc.
  • a machine-readable storage medium may be a tangible medium that may contain or store a program for use by or in connection with an instruction execution system, apparatus, or device.
  • the machine-readable storage medium may be a machine-readable signal medium or a machine-readable storage medium.
  • Machine-readable storage media may include, but are not limited to, electronic, magnetic, optical, electromagnetic, Infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing.
  • machine-readable storage media include an electrical connection based on at least one wire, a portable computer disk, a hard disk, random access memory (RAM), read only memory (ROM), erasable programmable read only memory (EPROM), flash memory Flash memory, optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above.
  • RAM random access memory
  • ROM read only memory
  • EPROM erasable programmable read only memory
  • flash memory Flash memory flash memory Flash memory
  • optical fiber portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above.
  • Example 1 provides an information display method, which method includes:
  • the first display area is different from the second display area, and the second display area surrounds the first display area.
  • Example 2 provides an information display method, and the special effect adding conditions include at least one of the following:
  • Example 3 provides an information display method, which method further includes:
  • Example 4 provides an information display method, which method further includes:
  • the special effect display image to be selected is placed on the topmost layer of the display interface as the special effects display image;
  • the first special effect display image to be selected according to the first preset direction is used as the special effects display image;
  • the triggered special effect display image to be selected is used as the special effect display image.
  • Example 5 provides an information display method, which method further includes:
  • Example 6 provides an information display method, which method further includes:
  • Example 7 provides an information display method, which further includes:
  • the target display information is determined according to the special effects display image and the loading status of the target special effects corresponding to the special effects display image.
  • Example 8 provides an information display method, which further includes:
  • the color information corresponding to the maximum color area is used as the target display information.
  • Example 9 provides an information display method, which further includes:
  • the target display information is determined to The second display area is filled based on the first display information, and the second display area is traversed as a scroll bar based on the dynamic display information.
  • Example 10 provides an information display method, which method further includes:
  • a mask layer corresponding to the dynamic display information is covered on the special effects display image of the first display area according to a preset transparency.
  • Example 11 provides an information display method, which method further includes:
  • determining the special effects display image to be selected to be moved into the first display area in response to detecting the operation of moving the special effects display image from the first display area, determining the special effects display image to be selected to be moved into the first display area;
  • Example 12 provides an information display method, which method further includes:
  • a superposition ratio of the target display information to be updated and the target display information is determined to display the second display area based on the superimposed target display information.
  • Example 13 provides an information display method, which method further includes:
  • the display of the special effects display images to be selected on both sides of the special effects display image is sequentially reduced. size, and displayed stacked.
  • Example 14 provides an information display method, This method also includes:
  • the first display area is a central circular area of the shooting control
  • the second display area is an annular area surrounding the first display area
  • Example 15 provides an information display device, which includes:
  • a first filling module configured to fill the special effects display image into the first display area of the shooting control in response to detecting that special effects adding conditions are met;
  • the second filling module is configured to determine the target display information of the second display area on the shooting control based on the special effects display image, and display the second display area based on the target display information;
  • the first display area is different from the second display area, and the second display area surrounds the first display area.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

本公开实施例提供了一种信息显示方法、装置、电子设备及存储介质,该方法包括:响应于检测到满足特效添加条件,将特效展示图像填充至拍摄控件的第一显示区域;以及,根据特效展示图像,确定拍摄控件上第二显示区域的目标显示信息,并依据目标显示信息显示第二显示区域;其中,第一显示区域区别于第二显示区域,第二显示区域外包围第一显示区域。

Description

信息显示方法、装置、电子设备及存储介质
本申请要求在2022年8月23日提交中国专利局、申请号为202211013961.7的中国专利申请的优先权,该申请的全部内容通过引用结合在本申请中。
技术领域
本公开实施例涉及图像处理技术,例如涉及一种信息显示方法、装置、电子设备及存储介质。
背景技术
随着网络技术的发展,越来越多的应用程序进入了用户的生活,例如一系列可以拍摄短视频的软件,深受用户的喜爱。
相关技术中,在基于应用软件拍摄特效视频或生成特效视频时,拍摄控件会显示于显示界面中,并且,会以原有的显示形式进行显示,这种方式的缺点在于:拍摄控件与显示界面中的显示内容不协调,从而导致最终生成的特效视频的展示效果较差。
发明内容
本公开提供一种信息显示方法、装置、电子设备及存储介质,以实现在检测到满足特效添加条件时,可以基于特效展示图像调整拍摄控件的显示信息,从而达到拍摄控件与渲染画面融合一体的效果。
第一方面,本公开实施例提供了一种信息显示方法,该方法包括:
响应于检测到满足特效添加条件,将特效展示图像填充至拍摄控件的第一显示区域;以及,
根据所述特效展示图像,确定拍摄控件上第二显示区域的目标显示信息,并依据所述目标显示信息显示所述第二显示区域;
其中,所述第一显示区域区别于所述第二显示区域,所述第二显示区域外包围所述第一显示区域。
第二方面,本公开实施例还提供了一种信息显示装置,该装置包括:
第一填充模块,设置为响应于检测到满足特效添加条件,将特效展示图像填充至拍摄控件的第一显示区域;以及,
第二填充模块,设置为根据所述特效展示图像,确定拍摄控件上第二显示区域的目标显示信息,并依据所述目标显示信息显示所述第二显示区域;
其中,所述第一显示区域区别于所述第二显示区域,所述第二显示区域外包围所述第一显示区域。
第三方面,本公开实施例还提供了一种电子设备,包括:
至少一个处理器;
存储装置,设置为存储至少一个程序,
当所述至少一个程序被所述至少一个处理器执行,使得所述至少一个处理器实现如本公开实施例任一所述的信息显示方法。
第四方面,本公开实施例还提供了一种包含计算机可执行指令的存储介质,所述计算机可执行指令在由计算机处理器执行时执行如本公开实施例任一所述的信息显示方法。
附图说明
图1是本公开实施例所提供的一种信息显示方法流程示意图;
图2是本公开实施例所提供的一种拍摄控件的示意图;
图3是本公开实施例所提供的一种拍摄控件的示意图;
图4是本公开实施例所提供的一种拍摄控件的示意图;
图5是本公开实施例所提供的一种拍摄控件的示意图;
图6是本公开实施例所提供的一种信息显示方法流程示意图;
图7是本公开实施例所提供的一种信息显示方法流程示意图;
图8是本公开实施例所提供的一种终端显示界面的示意图;
图9是本公开实施例所提供的一种拍摄控件排布方式的示意图;
图10是本公开实施例所提供的一种信息显示装置结构示意图;
图11是本公开实施例所提供的一种电子设备的结构示意图。
具体实施方式
本文使用的术语“包括”及其变形是开放性包括,即“包括但不限于”。术语“基于”是“至少部分地基于”。术语“一个实施例”表示“至少一个实施例”;术语“另一实施例”表示“至少一个另外的实施例”;术语“一些实施例”表示“至少一些实施例”。其他术语的相关定义将在下文描述中给出。
需要注意,本公开中提及的“第一”、“第二”等概念仅用于对不同的装置、模块或单元进行区分,并非用于限定这些装置、模块或单元所执行的功能的顺序或者相互依存关系。
需要注意,本公开中提及的“一个”、“多个”的修饰是示意性而非限制性的,本领域技术人员应当理解,除非在上下文另有明确指出,否则应该理解为“至少一个”。
本公开实施方式中的多个装置之间所交互的消息或者信息的名称仅用于说明,而并不是用于对这些消息或信息的范围进行限制。
可以理解的是,在使用本公开实施例公开的技术方案之前,均应当依据相关法律法规通过恰当的方式对本公开所涉及个人信息的类型、使用范围、使用场景等告知用户并获得用户的授权。
例如,在响应于接收到用户的主动请求时,向用户发送提示信息,以明确地提示用户,用户请求执行的操作将需要获取和使用到用户的个人信息。从而,使得用户可以根据提示信息来自主地选择是否向执行本公开技术方案的操作的电子设备、应用程序、服务器或存储介质等软件或硬件提供个人信息。
作为一种可选的但非限定性的实现方式,响应于接收到用户的主动请求, 向用户发送提示信息的方式例如可以是弹窗的方式,弹窗中可以以文字的方式呈现提示信息。此外,弹窗中还可以承载供用户选择“同意”或者“不同意”向电子设备提供个人信息的选择控件。
可以理解的是,上述通知和获取用户授权过程仅是示意性的,不对本公开的实现方式构成限定,其它满足相关法律法规的方式也可应用于本公开的实现方式中。
可以理解的是,本技术方案所涉及的数据(包括但不限于数据本身、数据的获取或使用)应当遵循相应法律法规及相关规定的要求。
在介绍本技术方案之前,可以先对应用场景进行示例性说明。可以将本公开实施例的技术方案应用在任意需要生成特效视频的场景中,例如,可以在基于相关应用程序或应用软件拍摄图像或视频的过程中,基于用户的触发操作确定拍摄控件的中间区域的特效展示图像,并基于该特效展示图像确定拍摄控件的显示效果,示例性的,基于该特效展示图像所对应的目标特效对显示界面中的待处理图像进行渲染,从而生成拍摄控件与渲染画面相融合的特效图像,并将该特效图像在显示界面中进行展示。
图1是本公开实施例所提供的一种信息显示方法流程示意图,本公开实施例适用于基于应用软件对待处理图像进行处理,以使显示界面中的拍摄控件与渲染后的待处理图像相融合的情形,该方法可以由信息显示装置来执行,该装置可以通过软件和硬件中至少之一的形式实现,可选的,通过电子设备来实现,该电子设备可以是移动终端、个人计算机(Personal Computer,PC)端或服务器等。
如图1所示,所述方法包括:
S110、响应于检测到满足特效添加条件,将特效展示图像填充至拍摄控件的第一显示区域。
其中,执行本公开实施例提供的生成特效视频的方法的装置,可以集成在 支持特效视频处理功能的应用软件中,且该软件可以安装至电子设备中,可选的,电子设备可以是移动终端或者PC端等。应用软件可以是对图像或视频处理的一类软件,在此不再一一赘述,只要可以实现图像或视频处理即可。应用软件还可以是专门研发的应用程序,来实现添加特效并将特效展示在软件中,亦或将特效集成在相应的页面中,用户可以通过PC端中集成的页面来实现对特效视频的处理。
在本实施例中,在支持特效视频处理功能的应用软件或应用程序中,可以预先开发用于触发特效的控件,当检测到用户触发该控件时,即可对特效触发操作进行响应,从而将特效展示图像填充至拍摄控件的第一显示区域。
其中,特效展示图像可以是基于用户选择的目标特效的特效预览图像,还可以是存储于特定数据库的,符合用户所选择特效显示效果的预览图像。拍摄控件可以为预先开发的,用于实现拍摄功能的按键。在实际应用中,当检测到用户触发该控件时,即可对当前显示界面中显示的图像进行拍摄。第一显示区域为拍摄控件的中心圆面区域。示例性的,如图2所示,即为拍摄控件,中间由黑色填充的区域为第一显示区域。
在实际应用中,通常在满足特效添加条件的情况下,才可以将特效展示图像填充拍摄控件的第一显示区域,那么,特效添加条件可以包括如下至少一种:检测到触发拍摄控件;检测到触发于显示界面上的特效展示图像;检测到待处理图像的展示时长达到预设展示时长;检测到目标对象目标部位的展示姿态与预设展示姿态相一致。
在本实施例中,当检测用户触发拍摄控件时,则可以满足特效添加条件,从而将特效展示图像填充至拍摄控件的第一显示区域。还可以是,可以预先设置用于触发特效道具的控件,当检测到用户触发该控件时,可以在显示界面上弹出特效展示图像显示页面,当检测用户触发该页面中任意一幅特效展示图像时,则可以满足特效添加条件,即可将此特效展示图像填充至拍摄控件的第一显示区域。还有一种实现方式可以为:用户可以基于移动终端的摄像装置实时 拍摄视频或图像,或者,基于应用软件内预先开发的控件主动上传图像,因此可以理解,应用所获取的实时拍摄的图像或用户主动上传的图像即为待处理图像,在实际应用中,当检测到用户触发拍摄控件时,终端设备可以是实时面向用户以实现图像的采集,并将采集后的图像作为待处理图像,同时,在获取待处理图像后,还可以在显示界面中显示图像展示倒计时,倒计时时间即为预先设置的展示时长,当待处理图像的展示时长到达预设展示时长,即,图像展示倒计时归零时,则可以说明满足特效添加条件。还有另一种实现方式可以为:可以预先将展示姿态设置为特效触发动作,当检测到视野范围内目标对象的目标部位的展示姿态与预先设置的展示姿态一致时,则可以说明满足特效添加条件。可选的,目标对象可以为用户或者动物等。目标部位可以是与目标对象相关联的至少一个肢体部位。本领域技术人员应当理解,选择何种事件作为特效添加条件可以根据实际情况进行设置,本公开实施例在此不做限定。
在实际应用中,在检测到满足特效添加条件时,确定特效展示图像,从而可以将特效展示图像填充至拍摄控件的第一显示区域。
可选的,将特效展示图像填充至拍摄控件的第一显示区域,包括:基于特效展示图像更新拍摄控件中第一显示区域的原始图像。
在本实施例中,第一显示区域的原始图像可以为预先设置的,未经过任何处理的显示图像。示例性的,如图2所示,中间黑色区域所对应的图像即为第一显示区域的原始图像。
在实际应用中,在确定特效展示图像后,则可以通过触发操作将特效展示图像移动至拍摄控件的第一显示区域,以使此特效展示图像对第一显示区域的原始图像进行更新。可选的,触发操作可以包括滑动、点击或长按中的至少一种。这样设置的好处在于:可以基于特效展示图像调整拍摄控件的显示信息,从而达到拍摄控件与渲染画面融合一体的效果。
S120、根据特效展示图像,确定拍摄控件上第二显示区域的目标显示信息,并依据目标显示信息显示第二显示区域。
需要说明的是,S110与S120并不存在时序上的执行关系,这两个步骤可以是并行执行的。
其中,第一显示区域区别于所述第二显示区域,第二显示区域外包围第一显示区域。第二显示区域为包围第一显示区域的圆环区域。示例性的,如图2所示,第一显示区域外的圆环区域即为第二显示区域。在本实施例中,目标显示信息可以为第二显示区域经过更新后的图像显示信息。
在实际应用中,在将特效展示图像填充至拍摄控件的第一显示区域后,由于第一显示区域与第二显示区域同属于拍摄控件,为了使得拍摄控件整体特效显示效果更加完整,因此,可以根据第一显示区域中的特效展示图像,确定第二显示区域的目标显示信息。
可选的,根据特效展示图像,确定拍摄控件上第二显示区域的目标显示信息,包括:根据特效展示图像中的至少一个色彩区域,确定拍摄控件上第二显示区域的目标显示信息。
在本实施例中,色彩区域可以为特效展示图像中所包含的各种颜色在特效展示图像中的所占区域。示例性的,如图3所示,当特效展示图像是由蓝色、绿色、红色以及黄色组成的图像时,其对应的色彩区域即为蓝色区域、绿色区域、红色区域以及黄色区域。
在实际应用中,在将特效展示图像更新至拍摄控件的第一显示区域时,可以基于图像色彩识别算法对特效展示图像中的色彩区域进行识别,从而可以基于色彩识别结果确定第二显示区域的目标显示信息。这样设置的好处在于:可以使得拍摄控件的第一显示区域与第二显示区域的显示效果更加协调,从而提高拍摄控件的整体显示效果。
需要说明的是,特效展示图像中的色彩区域可以为至少一个。当色彩区域仅为一个时,第二显示区域中的目标显示信息可以仅包括一种色彩信息;当色彩区域为多个时,则可以根据预先设置的筛选规则对色彩区域进行筛选,以得到目标显示信息。
在实际应用中,特效展示图像是与其相对应的目标特效的预览图像,在将特效展示图像更新至拍摄控件的第一显示区域内时,可以同时调取与该特效展示图像相对应的目标特效并加载,以使目标特效对显示界面中的待处理图像进行渲染,因此,在确定第二显示区域的目标显示信息时,不仅要根据特效展示图像的色彩区域,还可以结合与特效展示图像相对应的目标特效的显示情况来共同确定。
可选的,根据特效展示图像,确定拍摄控件上第二显示区域的目标显示信息,包括:根据特效展示图像以及与特效展示图像相对应的目标特效的加载状态,确定目标显示信息。
在本实施例中,目标特效可以为最终渲染至待处理图像上的特效。在实际应用中,可以预先构建特效展示图像与目标特效之间的对应关系,当将特效展示图像更新至拍摄控件的第一显示区域内的同时,可以加载与特效展示图像相对应的目标特效,并根据特效展示图像中的色彩区域信息以及目标特效的加载状态,确定第二显示区域的目标显示信息。这样设置的好处在于:可以呈现一种动态展示的效果,从而增强了拍摄控件展示效果的丰富性和趣味性。
需要说明的是,目标特效的加载状态可以包括加载完成和加载中状态,从而目标显示信息的确定方式可以根据目标特效不同的加载状态来分别确定,下面可以对目标显示信息的确定方式进行阐述。
可选的,当加载状态为加载完成状态时,根据特效展示图像以及与特效展示图像相对应的目标特效的加载状态,确定目标显示信息,包括:将最大色彩区域所对应的颜色信息,作为目标显示信息。
在实际应用中,当目标特效的加载状态为加载完成时,则可以基于图像色彩识别算法,确定与特效展示图像相对应的多个色彩区域的区域面积,示例性的,将多个区域面积进行比对,并确定区域面积最大的色彩区域所对应的颜色信息,即可将该颜色信息作为第二显示区域的目标显示信息。这样设置的好处在于:可以使得拍摄控件的整体显示效果更加完整,从而提高了显示界面的特 效显示效果。
示例性的,如图4所示,特效展示图像所对应的颜色区域包括蓝色区域、绿色区域、红色区域和黄色区域,在这四种区域中,黄色区域所对应的区域面积最大,因此,可以将黄色作为第二显示区域的目标显示信息。
可选的,当加载状态为加载中状态时,根据特效展示图像以及与所述特效展示图像相对应的目标特效的加载状态,确定目标显示信息,包括:将最大色彩区域所对应的颜色信息,作为第一显示信息;将次于最大色彩区域所对应的颜色信息,作为第二显示区域中的动态显示信息;基于第一显示信息和动态显示信息,确定目标显示信息,以基于第一显示信息填充第二显示区域,基于动态显示信息作为滚动条遍历第二显示区域。
需要说明的是,为了降低应用软件在终端设备中的内存占用率,对于预先存储至应用软件中的多个待选择特效,可以仅加载其中的一部分,对于未加载的待选择特效,可以在实际应用过程中,实时加载,此时,可能会由于当前网络状态,或者,当前终端设备状态等原因,导致目标特效需要一定的加载时间。
还需说明的是,在应用软件中,用于对待选择特效进行特效预览的待选择特效展示图像均是预先加载完成的,因此,可以在目标特效的加载过程中,预先基于特效展示图像调整拍摄控件的显示信息。
在本实施例中,动态显示信息可以为第二显示区域中处于动态变化的显示信息。在实际应用中,对于部分未预先加载的目标特效,当将特效展示图像更新至第一显示区域中时,则可以对特效展示图像相对应的目标特效进行加载,由于目标特效的加载过程需要一定的时间,为了体现目标特效的加载状态,可以确定特效展示图像中多个色彩区域的区域面积,并将最大区域面积所对应的颜色信息作为第一显示信息,同时,将次于最大区域面积所对应的颜色信息作为动态显示信息,示例性的,将第一显示信息更新至第二显示区域,同时,将动态显示信息作为滚动条在第二显示区域中进行循环遍历,此时,目标显示信息同时包括第一显示信息和动态显示信息;当目标特效加载完成时,动态显示 信息则可以消失,此时,目标显示信息即为第一显示信息。这样设置的好处在于:可以动态显示目标特效的加载状态,提高了拍摄控件的整体显示效果,并且,增强了特效显示效果的趣味性。
示例性的,如图5所示,特效展示图像中的最大色彩区域为黄色区域,次于最大色彩区域为红色区域,因此,可以将黄色作为第一显示信息,红色作为动态显示信息,确定目标显示信息,即,将黄色填充至第二显示区域,同时将红色作为滚动条循环遍历第二显示区域,图5中B区域即为滚动条区域。
需要说明的是,当特效展示图像中包括至少两种色彩区域时,则可以基于上述方法确定目标显示信息,然而,当特效展示图像中的色彩区域小于两种时,则可以将特效展示图像的色彩区域所对应的颜色信息作为第一显示信息,可以将系统预先设置的颜色信息作为动态显示信息,从而最终确定目标显示信息。系统预先设置的颜色信息可以为任意颜色,可选的,可以为黑色或白色。
还需说明的是,动态显示信息在第二显示区域中的显示形态不仅限于滚动条,还可以为其他动态显示形态,只要是可以表征目标特效的加载状态的显示形态均可作为动态显示信息的显示形态,本公开实施例对此不作限定。
在实际应用中,当目标特效处于加载中状态时,为了提高拍摄控件第一显示区域和第二显示区域的整体效果,在基于动态显示信息遍历第二显示区域的过程中,还可以基于动态显示信息对第一显示区域做一定的处理,以使第一显示区域与第二显示区域更加协调。
基于此,在上述技术方案的基础上,还包括:将与动态显示信息相对应的蒙层按照预设透明度覆盖在第一显示区域的特效展示图像上。
本领域技术人员可以理解,蒙层即为覆盖在一区域上的图层,并且,该图层可以为透明或者半透明状态。预设透明度可以以百分数的形式表示,通过预设透明度,可以将蒙层和无色透明之间的阶段分为100份,可以理解,预设透明度值较低时,蒙层所呈现的效果更趋向于不透明,透明度值较高时,蒙层所呈现的效果更趋向于透明。预设透明度可以为任意值,可选的,可以为30%、 40%或者50%等。在本实施例中,可以将蒙层覆盖在特效展示图像上
需要说明的是,当目标特效处于加载中状态时,显示界面中待选择图像的渲染状态也处于渲染中的状态,此时,为了体现特效切换效果,显示界面会呈现一种被半透明的图层覆盖的效果,同时,为了提高显示界面中的显示内容与拍摄控件的显示信息之间的协调度,可以在目标特效处于加载中状态时,为第一显示区域中的特效展示图像设置与动态显示信息相对应的蒙层。
在实际应用中,在目标特效处于加载中状态时,在基于动态显示信息作为滚动条遍历第二显示区域的同时,还可以确定与动态显示信息相对应的蒙层,即,将动态显示信息所对应的颜色作为蒙层的颜色,示例性的,将蒙层按照预设透明度覆盖在第一显示区域的特效展示图像中,以在动态显示信息遍历第二显示区域的过程中,对特效展示图像进行蒙层处理。这样设置的好处在于:可以提高拍摄控件第一显示区域与第二显示区域的整体显示效果,同时提高拍摄控件与显示界面中显示内容之间的协调度。
本公开实施例的技术方案,通过当检测到满足特效添加条件时,将特效展示图像填充至拍摄控件的第一显示区域,以及,根据特效展示图像,确定拍摄控件上第二显示区域的目标显示信息,并依据目标显示信息显示第二显示区域,解决了相关技术中为待处理图像添加目标特效时,存在拍摄控件与目标特效不适配,从而引起显示画面的显示效果不佳的问题,达到了在检测到满足特效添加条件时,可以基于特效展示图像调整拍摄控件的显示信息,以使拍摄控件的第一显示区域和第二显示区域的显示效果更加协调,从而达到拍摄控件与渲染画面融合一体的效果。
图6是本公开实施例所提供的一种信息显示方法流程示意图,在前述实施例的基础上,在将特效展示图像填充至第一显示区域的过程中,可以加载与特效展示图像相对应的目标特效,并将目标特效渲染至待处理图像上。其实施方式可以参见本实施例技术方案。其中,与上述实施例相同或者相应的技术术语 在此不再赘述。
如图6所示,该方法包括如下步骤:
S210、响应于检测到满足特效添加条件,将特效展示图像填充至拍摄控件的第一显示区域,并加载与特效展示图像相对应的目标特效,以基于目标特效渲染采集的待处理图像。
需要说明的是,当用户基于终端设备的摄像装置采集图像时,可以通过对显示界面上显示的拍摄控件输入触发操作,以实现图像的采集,并将采集后的图像作为待处理图像,示例性的,当检测到满足特效添加条件时,可以将特效展示图像填充至拍摄控件的第一显示区域,在此过程中,待处理图像也可以添加相应的特效,以使拍摄控件与待处理图像融合一体。
在本实施例中,目标特效可以为与特效展示图像相对应的滤镜特效。在实际应用中,可以预先建立待选择特效展示图像与待选择特效之间的对应关系,当检测到用户从多幅待选择特效展示图像中确定特效展示图像时,则可以调取与特效展示图像相对应的目标特效并加载,从而可以在目标特效加载完成后,基于目标特效渲染待处理图像。
需要说明的是,在加载与特效展示图像相对应的目标特效之前,还可以从多幅待选择特效展示图像中确定特效展示图像。在本实施例中,确定特效展示图像的方式可以包括多种,接下来介绍如何确定特效展示图像。
方式一:响应于多个待选择特效展示图像于显示界面叠加显示,将置于显示界面最上层的待选择特效展示图像,作为特效展示图像。
在实际应用中,当用户触发特效添加条件时,显示界面中会显示多个待选择特效展示图像,并且,这些待选择特效展示图像可以在拍摄控件的一侧叠加显示,此时,可以将位于显示界面最上层的待选择特效展示图像,作为特效展示图像。
方式二:若多个待选择特效展示图像于显示界面中平铺显示,则将依据第一预设方向首个显示的待选择特效展示图像,作为特效展示图像。
在本实施例中,第一预设方向可以为以拍摄控件为中心,由左向右滑动的方向,或者,由右向左滑动的方向。
在实际应用中,当检测到满足特效添加条件时,则可以将多个待选择特效展示图像展示在显示界面中,并且,是在拍摄控件两侧平铺展示,此时,可以确定待选择特效展示图像的第一预设方向,并将该方向上首个显示的待选择特效展示图像,作为特效展示图像。
方式三:将触发的待选择特效展示图像,作为特效展示图像。
示例性的,当多个待选择特效展示图像展示在显示界面中时,用户可以通过触发操作在多个待选择特效展示图像中进行选择,并可以基于确定控件下发确定指令,从而可以将当前选择的待选择特效展示图像作为特效展示图像。
需要说明的是,基于上述三种方式确定特效展示图像的好处在于:可以增强特效展示图像确定方案的灵活性。
S220、根据特效展示图像,确定拍摄控件上第二显示区域的目标显示信息,并依据目标显示信息显示第二显示区域。
本公开实施例的技术方案,通过当检测到满足特效添加条件时,将特效展示图像填充至拍摄控件的第一显示区域,并加载与特效展示图像相对应的目标特效,以基于目标特效渲染采集待处理图像,以及,根据特效展示图像,确定拍摄控件上第二显示区域的目标显示信息,并依据目标显示信息显示第二显示区域,实现了拍摄控件与渲染后的待处理图像之间更加融合的效果,同时,通过设置多种特效展示图像的方式,增强了特效图像处理方案的灵活性,提高了渲染画面的显示效果。
图7是本公开实施例所提供的一种信息显示方法流程示意图,在前述实施例的基础上,当检测到特效展示图像移出第一显示区域时,则可以基于移入第一显示区域中的待选择特效展示图像,确定第二显示区域中的目标显示信息。其实施方式可以参见本实施例技术方案。其中,与上述实施例相同或者相应的 技术术语在此不再赘述。
如图7所示,该方法包括如下步骤:
S310、响应于检测到满足特效添加条件,将特效展示图像填充至拍摄控件的第一显示区域。
S320、根据特效展示图像,确定拍摄控件上第二显示区域的目标显示信息,并依据目标显示信息显示第二显示区域。
S330、响应于检测到从第一显示区域中移出特效展示图像的操作,确定待移入第一显示区域的待选择特效展示图像。
在实际应用中,特效展示图像与待选择特效展示图像之间可以通过左右平移来确定。用户可以通过对第一显示区域中的特效展示图像输入滑动操作,以使该特效展示图像移出第一显示区域。当检测到特效展示图像从第一显示区域中移出时,则可以将与该特效展示图像相邻的待选择特效展示图像作为待移入第一显示区域的待选择特效展示图像。需要说明的是,当检测到特效展示图像是通过向右滑动移出第一显示区域中时,则可以将该特效展示图像的左侧相邻的待选择特效展示图像作为待移入第一显示区域中的待选择特效展示图像;当检测到特效展示图像是通过向左滑动移出第一显示区域中时,则可以将该特效展示图像的右侧相邻的待选择特效展示图像作为待移入第一显示区域中的待选择特效展示图像。
示例性的,如图8所示,可以将图中黑色区域所对应的图像作为特效展示图像,将条纹区域所对应的图像作为待选择特效展示图像。当黑色区域所对应的图像通过向右平移,移出第一显示区域中时,同时,可以将与黑色区域所对应的图像相邻的条纹区域所对应的图像作为待移入第一显示区域中的待选择特效展示图像。
S340、确定待选择特效展示图像的待更新目标显示信息,以响应于待选择特效展示图像与第一显示区域的重合度达到预设重合度阈值,基于待更新目标显示信息更新第二显示区域的目标显示信息。
在本实施例中,待更新目标显示信息可以为待移入第一显示区域中的待选择特效展示图像的色彩区域信息。在实际应用中,当检测到特效展示图像移出第一显示区域中时,则可以确定待移入第一显示区域的待选择特效展示图像,并在该待选择特效展示图像移入第一显示区域的过程中,基于图像色彩识别算法对该待选择特效展示图像进行色彩区域识别,并可以将最大色彩区域所对应的颜色信息以及次于最大色彩区域所对应的颜色信息作为待更新目标显示信息。
在本实施例中,重合度可以为第一显示区域与移入第一显示区域的待选择特效展示图像的重合面积。重合度可以以百分比的形式表示。预设重合度阈值可以为预先设置的,设置为检测移入第一显示区域中的待选择特效展示图像是否在第一显示区域的显示范围内的标准值。需要说明的是,重合度可以基于任意方式确定,可选的,可以通过检测待选择特效展示图像的中心与第一显示区域的中心之间的距离来确定。
在实际应用中,在确定待移入第一显示区域的待选择特效展示图像后,即可将该待选择特效展示图像移入第一显示区域,同时,可以基于图像色彩识别算法对该待选择特效展示图像的色彩区域进行检测,从而可以确定待更新目标显示信息,示例性的,当检测到待选择特效展示图像与第一显示区域的重合度达到预设重合度阈值时,则可以基于待更新目标显示信息对第二显示区域中的目标显示信息进行更新。
需要说明的是,当待选择特效展示图像与第一显示区域的重合度未达到预设重合度阈值时,则可以说明特效展示图像还处于第一显示区域的检测范围内,此时,可以基于待选择特效展示图像以及特效展示图像,共同确定第二显示区域的目标显示信息。
在上述技术方案的基础上,还包括:响应于第一显示区域和待选择特效展示图像的重合度未达到预设重合度阈值,确定待选择特效展示图像和特效展示图像与第二显示区域的距离信息;基于距离信息,确定待更新目标显示信息和目标显示信息的叠加比例,以基于叠加后的目标显示信息显示第二显示区域。
在本实施例中,在特效展示图像移出第一显示区域,以及待选择特效展示图像移入第一显示区域的过程中,可以基于位移检测算法确定特效展示图像与第二显示区域之间的距离信息,以及待选择特效展示图像与第二显示区域之间的距离信息,示例性的,基于两种距离信息,确定待更新目标显示信息与目标显示信息之间的叠加比例。
示例性地,可以确定特效展示图像的中心点与第一显示区域的中心点之间的距离,由于第一显示区域与第二显示区域之间的距离可以预先确定,因此,基于上述两个距离信息,可以确定特效展示图像与第二显示区域之间的距离信息;还有一种实现方式可以为:基于特效展示图像的边界信息确定一个矩形框,同时基于第二显示区域的边界信息同样确定一个矩形框,确定两个矩形框的中心点之间的距离,即为特效展示图像与第二显示区域之间的距离信息。本领域技术人员应当理解,选择何种方式作为距离信息的确定方式可以根据实际情况进行设置,本公开实施例在此不做限定。需要说明的是,待选择特效展示图像与第二显示区域之间的距离信息的确定方式同样可以基于上述几种确定方式确定。
示例性的,若特效展示图像与第二显示区域之间的距离信息大于待选择特效展示图像与第二显示区域之间的距离信息,则叠加比例可以为目标显示信息的占比小于待更新目标显示信息的占比;若特效展示图像与第二显示区域之间的距离信息小于待选择特效展示图像与第二显示区域之间的距离信息,则叠加比例可以为目标显示信息的占比大于待更新目标显示信息的占比,从而可以基于叠加比例确定叠加后的目标显示信息,以基于叠加后的目标显示信息显示第二显示区域。这样设置的好处在于:可以体现特效展示图像与待选择特效展示图像之间动态转换的效果,提高了拍摄控件特效展示效果的丰富性和趣味性。
在实际应用中,待选择特效展示图像可以是在拍摄控件两侧进行展示,当多个待选择特效展示图像同时在拍摄控件两侧展示时,会导致在显示界面中的占用空间较大,从而影响特效显示效果。
基于此,在上述技术方案的基础上,还包括:响应于待选择特效展示图像的数量包括多个,以第一显示区域中的特效展示图像为中心,依次减小位于特效展示图像两侧待选择特效展示图像的显示尺寸,并堆叠显示。
在本实施例中,待选择特效展示图像的显示尺寸可以为图像显示面积。在实际应用中,将多个待选择特效展示图像进行堆叠显示,可以确定多个待选择特效展示图像的深度信息,深度值越小的待选择特效展示图像,其对应的显示尺寸越大,在多个待选择特效展示图像排布过程中,可以将深度值小的待选择特效展示图像排在首位,并对其相邻的待选择特效展示图像的部分区域进行遮挡,从而达到堆叠显示的效果。
在实际应用中,当多个待选择特效展示图像在显示界面中展示时,可以以第一显示区域中当前显示的特效展示图像的显示尺寸为原始显示尺寸,示例性的,在原始显示尺寸的基础上,依次减小位于特效展示图像两侧的待选择特效展示图像的显示尺寸,并将多个待选择特效展示图像堆叠显示。这样设置的好处在于:可以使多个待选择特效展示图像之间的排布关系更加合理,可以缩小待选择特效展示图像在显示界面中的占用空间,并且,可以使得多个待选择特效展示图像形成一个空间上的透视效果,提高了拍摄控件的特效展示效果。
示例性的,如图9所示,可以将元素A作为特效展示图像,设定其显示尺寸为C,元素A′和元素A″为待选择特效展示图像,并且,元素A′和元素A″的显示尺寸小于元素A,可以设定元素A′的显示尺寸为C*n%,元素A″的显示尺寸为C*n%*m%,同时,还可以通过切割元素A′和元素A″的部分形态,减小其显示尺寸,从而达到堆叠显示的效果。
需要说明的是,当待选择特效展示图像移入第一显示区域中时,其对应的显示尺寸可以被补充,以使第一显示区域中特效展示图像始终保持原始显示尺寸。示例性的,如图9所示,当元素A′移动至元素A所在位置时,元素A′的显示尺寸则会被补充至C,并且,当元素A″移动至元素A′所在位置时,元素A″所对应的显示尺寸也会被补充修正至元素A′的显示尺寸。
本公开实施例的技术方案,通过当检测到满足特效添加条件时,将特效展示图像填充至拍摄控件的第一显示区域,以及,根据特效展示图像,确定拍摄控件上第二显示区域的目标显示信息,并依据目标显示信息显示第二显示区域,示例性的,当检测从第一显示区域中移出特效展示图像的操作时,确定待移入第一显示区域的待选择特效展示图像,确定待选择特效展示图像的待更新目标显示信息,以在待选择特效展示图像与第一显示区域的重合度达到预设重合度阈值时,基于待更新目标显示信息更新第二显示区域的目标显示信息,实现了特效展示图像与待选择特效展示图像动态切换的效果,提高了拍摄控件展示效果的丰富性和趣味性,从而提高了特效渲染画面的展示效果。
图10是本公开实施例所提供的一种信息显示装置结构示意图,如图10所示,所述装置包括:第一填充模块410和第二填充模块420。
第一填充模块410,设置为响应于检测到满足特效添加条件,将特效展示图像填充至拍摄控件的第一显示区域;以及,
第二填充模块420,设置为根据所述特效展示图像,确定拍摄控件上第二显示区域的目标显示信息,并依据所述目标显示信息显示所述第二显示区域;
其中,所述第一显示区域区别于所述第二显示区域,所述第二显示区域外包围所述第一显示区域。
在上述技术方案的基础上,所述特效添加条件包括下述至少一种:
检测到触发拍摄控件;
检测到触发于显示界面上的特效展示图像;
检测到待处理图像的展示时长达到预设展示时长;
检测到目标对象目标部位的展示姿态与预设展示姿态相一致。
在上述技术方案的基础上,所述装置还包括:目标特效加载模块。
目标特效加载模块,设置为在将特效展示图像填充至拍摄控件的第一显示区域的过程中,加载与所述特效展示图像相对应的目标特效,以基于所述目标 特效渲染采集的待处理图像。
在上述技术方案的基础上,所述装置还包括:第一特效展示图像确定模块、第二特效展示图像确定模块和第三特效展示图像确定模块。
第一特效展示图像确定模块,设置为在加载与特效展示图像相对应的目标特效之前,响应于多个待选择特效展示图像于显示界面叠加显示,将置于所述显示界面最上层的待选择特效展示图像,作为所述特效展示图像;或,
第二特效展示图像确定模块,设置为响应于多个所述待选择特效展示图像于显示界面中平铺显示,将依据第一预设方向首个显示的待选择特效展示图像,作为所述特效展示图像;或,
第三特效展示图像确定模块,设置为将触发的待选择特效展示图像,作为所述特效展示图像。
在上述技术方案的基础上,第一填充模块410,设置为基于所述特效展示图像更新所述拍摄控件中第一显示区域的原始图像。
在上述技术方案的基础上,第二填充模块420包括目标显示图像确定子模块。
目标显示图像确定子模块,设置为根据所述特效展示图像中的至少一个色彩区域,确定拍摄控件上第二显示区域的目标显示信息。
在上述技术方案的基础上,目标显示图像确定子模块包括目标显示图像确定单元。
目标显示图像确定单元,设置为根据所述特效展示图像以及与所述特效展示图像相对应的目标特效的加载状态,确定所述目标显示信息。
在上述技术方案的基础上,目标显示图像确定单元,设置为将最大色彩区域所对应的颜色信息,作为所述目标显示信息。
在上述技术方案的基础上,目标显示图像确定单元包括第一显示信息确定子单元、动态显示信息确定子单元和目标显示信息确定子单元。
第一显示信息确定子单元,设置为将最大色彩区域所对应的颜色信息,作 为第一显示信息;
动态显示信息确定子单元,设置为将次于所述最大色彩区域所对应的颜色信息,作为所述第二显示区域中的动态显示信息;
目标显示信息确定子单元,设置为基于所述第一显示信息和所述动态显示信息,确定所述目标显示信息,以基于所述第一显示信息填充所述第二显示区域,基于所述动态显示信息作为滚动条遍历所述第二显示区域。
在上述技术方案的基础上,所述装置还包括:蒙皮覆盖模块。
蒙皮覆盖模块,设置为将与所述动态显示信息相对应的蒙层按照预设透明度覆盖在所述第一显示区域的特效展示图像上。
在上述技术方案的基础上,所述装置还包括:待选择特效展示图像确定模块和待更新目标显示信息确定模块。
待选择特效展示图像确定模块,设置为响应于检测到从所述第一显示区域中移出所述特效展示图像的操作,确定待移入所述第一显示区域的待选择特效展示图像;
待更新目标显示信息确定模块,设置为确定所述待选择特效展示图像的待更新目标显示信息,以响应于所述待选择特效展示图像与所述第一显示区域的重合度达到预设重合度阈值,基于所述待更新目标显示信息更新所述第二显示区域的目标显示信息。
在上述技术方案的基础上,所述装置还包括:距离信息确定模块和叠加比例确定模块。
距离信息确定模块,设置为响应于所述第一显示区域和所述待选择特效展示图像的重合度未达到预设重合度阈值,确定所述待选择特效展示图像和所述特效展示图像与所述第二显示区域的距离信息;
叠加比例确定模块,设置为基于所述距离信息,确定所述待更新目标显示信息和所述目标显示信息的叠加比例,以基于叠加后的目标显示信息显示所述第二显示区域。
在上述技术方案的基础上,所述装置还包括:待选择特效展示图像显示模块。
待选择特效展示图像显示模块,设置为响应于待选择特效展示图像的数量包括多个,以所述第一显示区域中的特效展示图像为中心,依次减小位于所述特效展示图像两侧待选择特效展示图像的显示尺寸,并堆叠显示。
在上述技术方案的基础上,所述第一显示区域为拍摄控件的中心圆面区域,所述第二显示区域为包围所述第一显示区域的圆环区域。
本公开实施例的技术方案,通过当检测到满足特效添加条件时,将特效展示图像填充至拍摄控件的第一显示区域,以及,根据特效展示图像,确定拍摄控件上第二显示区域的目标显示信息,并依据目标显示信息显示第二显示区域,解决了相关技术中为待处理图像添加目标特效时,存在拍摄控件与目标特效不适配,从而引起显示画面的显示效果不佳的问题,达到了在检测到满足特效添加条件时,可以基于特效展示图像调整拍摄控件的显示信息,以使拍摄控件的第一显示区域和第二显示区域的显示效果更加协调,从而达到拍摄控件与渲染画面融合一体的效果。
本公开实施例所提供的信息显示装置可执行本公开任意实施例所提供的信息显示方法,具备执行方法相应的功能模块和效果。
值得注意的是,上述装置所包括的单元和模块只是按照功能逻辑进行划分的,但并不局限于上述的划分,只要能够实现相应的功能即可;另外,功能单元的名称也只是为了便于相互区分,并不用于限制本公开实施例的保护范围。
图11是本公开实施例所提供的一种电子设备的结构示意图。下面参考图11,图11示出了适于用来实现本公开实施例的电子设备(例如图11中的终端设备或服务器)500的结构示意图。本公开实施例中的终端设备可以包括但不限于诸如移动电话、笔记本电脑、数字广播接收器、个人数字助理(Personal Digital Assistant,PDA)、平板电脑(PAD)、便携式多媒体播放器(Portable Media Player, PMP)、车载终端(例如车载导航终端)等等的移动终端以及诸如数字TV、台式计算机等等的固定终端。图11示出的电子设备仅仅是一个示例,不应对本公开实施例的功能和使用范围带来任何限制。
如图11所示,电子设备500可以包括处理器(例如中央处理器、图形处理器等)501,处理器501可以根据存储在只读存储器(Read-Only Memory,ROM)502中的程序或者从存储装置508加载到随机访问存储器(Random Access Memory,RAM)503中的程序而执行各种适当的动作和处理。在RAM 503中,还存储有电子设备500操作所需的各种程序和数据。处理器501、ROM 502以及RAM 503通过总线504彼此相连。输入/输出(Input/Output,I/O)接口505也连接至总线504。
通常,以下装置可以连接至I/O接口505:包括例如触摸屏、触摸板、键盘、鼠标、摄像头、麦克风、加速度计、陀螺仪等的输入装置506;包括例如液晶显示器(Liquid Crystal Display,LCD)、扬声器、振动器等的输出装置507;包括例如磁带、硬盘等的存储装置508;以及通信装置509。通信装置509可以允许电子设备500与其他设备进行无线或有线通信以交换数据。虽然图11示出了具有各种装置的电子设备500,但是应理解的是,并不要求实施或具备所有示出的装置。可以替代地实施或具备更多或更少的装置。
特别地,根据本公开的实施例,上文参考流程图描述的过程可以被实现为计算机软件程序。例如,本公开的实施例包括一种计算机程序产品,其包括承载在非暂态计算机可读介质上的计算机程序,该计算机程序包含用于执行流程图所示的方法的程序代码。在这样的实施例中,该计算机程序可以通过通信装置509从网络上被下载和安装,或者从存储装置508被安装,或者从ROM 502被安装。在该计算机程序被处理器501执行时,执行本公开实施例的方法中限定的上述功能。
本公开实施例提供的电子设备与上述实施例提供的视频确定方法属于同一构思,未在本实施例中详尽描述的技术细节可参见上述实施例,并且本实施例 与上述实施例具有相同的效果。
本公开实施例提供了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现上述实施例所提供的信息显示方法。
需要说明的是,本公开上述的计算机可读存储介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任意组合。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的例子可以包括但不限于:具有至少一个导线的电连接、便携式计算机磁盘、硬盘、随机访问存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(Erasable Programmable Read-Only Memory,EPROM)、闪存、光纤、便携式紧凑磁盘只读存储器(Compact Disc Read-Only Memory,CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本公开中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。而在本公开中,计算机可读信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读信号介质还可以是计算机可读存储介质以外的任何计算机可读存储介质,该计算机可读信号介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。计算机可读存储介质上包含的程序代码可以用任何适当的介质传输,包括但不限于:电线、光缆、射频(Radio Frequency,RF)等等,或者上述的任意合适的组合。
在一些实施方式中,客户端、服务器可以利用诸如超文本传输协议(HyperText Transfer Protocol,HTTP)之类的任何当前已知或未来研发的网络协议进行通信,并且可以与任意形式或介质的数字数据通信(例如,通信网络)互连。通信网络的示例包括局域网(Local Area Network,LAN),广域网(Wide  Area Network,WAN),网际网(例如,互联网)以及端对端网络(例如,ad hoc端对端网络),以及任何当前已知或未来研发的网络。
上述计算机可读存储介质可以是上述电子设备中所包含的;也可以是单独存在,而未装配入该电子设备中。
上述计算机可读存储介质承载有至少一个程序,当上述至少一个程序被该电子设备执行时,使得该电子设备:
当检测到满足特效添加条件时,将特效展示图像填充至拍摄控件的第一显示区域;以及,
根据所述特效展示图像,确定拍摄控件上第二显示区域的目标显示信息,并依据所述目标显示信息显示所述第二显示区域;
其中,所述第一显示区域区别于所述第二显示区域,所述第二显示区域外包围所述第一显示区域。
或者,上述计算机可读介质承载有至少一个程序,当上述至少一个程序被该电子设备执行时,使得该电子设备:
响应于检测到满足特效添加条件,将特效展示图像填充至拍摄控件的第一显示区域;以及,
根据所述特效展示图像,确定拍摄控件上第二显示区域的目标显示信息,并依据所述目标显示信息显示所述第二显示区域;
其中,所述第一显示区域区别于所述第二显示区域,所述第二显示区域外包围所述第一显示区域。
可以以至少一种程序设计语言或其组合来编写用于执行本公开的操作的计算机程序代码,上述程序设计语言包括但不限于面向对象的程序设计语言—诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机 的情形中,远程计算机可以通过任意种类的网络——包括局域网(LAN)或广域网(WAN)—连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。
附图中的流程图和框图,图示了按照本公开各种实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,该模块、程序段、或代码的一部分包含至少一个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和流程图中的每个方框、以及框图和流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。
描述于本公开实施例中所涉及到的单元可以通过软件的方式实现,也可以通过硬件的方式来实现。其中,单元的名称并不构成对该单元本身的限定,例如,第一获取单元还可以被描述为“获取至少两个网际协议地址的单元”。
本文中以上描述的功能可以至少部分地由至少一个硬件逻辑部件来执行。例如,非限制性地,可以使用的示范类型的硬件逻辑部件包括:现场可编程门阵列(Field Programmable Gate Array,FPGA)、专用集成电路(Application Specific Integrated Circuit,ASIC)、专用标准产品(Application Specific Standard Parts,ASSP)、片上系统(System on Chip,SOC)、复杂可编程逻辑设备(Complex Programmable Logic Device,CPLD)等等。
在本公开的上下文中,机器可读存储介质可以是有形的介质,其可以包含或存储以供指令执行系统、装置或设备使用或与指令执行系统、装置或设备结合地使用的程序。机器可读存储介质可以是机器可读信号介质或机器可读储存介质。机器可读存储介质可以包括但不限于电子的、磁性的、光学的、电磁的、 红外的、或半导体系统、装置或设备,或者上述内容的任何合适组合。机器可读存储介质的示例包括基于至少一个线的电气连接、便携式计算机盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦除可编程只读存储器(EPROM)、快闪存储器、光纤、便捷式紧凑盘只读存储器(CD-ROM)、光学储存设备、磁储存设备、或上述内容的任何合适组合。
根据本公开的一个或多个实施例,【示例一】提供了一种信息显示方法,该方法包括:
响应于检测到满足特效添加条件,将特效展示图像填充至拍摄控件的第一显示区域;以及,
根据所述特效展示图像,确定拍摄控件上第二显示区域的目标显示信息,并依据所述目标显示信息显示所述第二显示区域;
其中,所述第一显示区域区别于所述第二显示区域,所述第二显示区域外包围所述第一显示区域。
根据本公开的一个或多个实施例,【示例二】提供了一种信息显示方法,特效添加条件包括下述至少一种:
检测到触发拍摄控件;
检测到触发于显示界面上的特效展示图像;
检测到待处理图像的展示时长达到预设展示时长;
检测到目标对象目标部位的展示姿态与预设展示姿态相一致。
根据本公开的一个或多个实施例,【示例三】提供了一种信息显示方法,该方法,还包括:
可选的,加载与所述特效展示图像相对应的目标特效,以基于所述目标特效渲染采集的待处理图像。
根据本公开的一个或多个实施例,【示例四】提供了一种信息显示方法,该方法,还包括:
可选的,响应于多个待选择特效展示图像于显示界面叠加显示,将置于所述显示界面最上层的待选择特效展示图像,作为所述特效展示图像;或,
响应于多个所述待选择特效展示图像于显示界面中平铺显示,将依据第一预设方向首个显示的待选择特效展示图像,作为所述特效展示图像;或,
将触发的待选择特效展示图像,作为所述特效展示图像。
根据本公开的一个或多个实施例,【示例五】提供了一种信息显示方法,该方法,还包括:
可选的,基于所述特效展示图像更新所述拍摄控件中第一显示区域的原始图像。
根据本公开的一个或多个实施例,【示例六】提供了一种信息显示方法,该方法,还包括:
可选的,根据所述特效展示图像中的至少一个色彩区域,确定拍摄控件上第二显示区域的目标显示信息。
根据本公开的一个或多个实施例,【示例七】提供了一种信息显示方法,该方法,还包括:
可选的,根据所述特效展示图像以及与所述特效展示图像相对应的目标特效的加载状态,确定所述目标显示信息。
根据本公开的一个或多个实施例,【示例八】提供了一种信息显示方法,该方法,还包括:
可选的,将最大色彩区域所对应的颜色信息,作为所述目标显示信息。
根据本公开的一个或多个实施例,【示例九】提供了一种信息显示方法,该方法,还包括:
可选的,将最大色彩区域所对应的颜色信息,作为第一显示信息;
将次于所述最大色彩区域所对应的颜色信息,作为所述第二显示区域中的动态显示信息;
基于所述第一显示信息和所述动态显示信息,确定所述目标显示信息,以 基于所述第一显示信息填充所述第二显示区域,基于所述动态显示信息作为滚动条遍历所述第二显示区域。
根据本公开的一个或多个实施例,【示例十】提供了一种信息显示方法,该方法,还包括:
可选的,将与所述动态显示信息相对应的蒙层按照预设透明度覆盖在所述第一显示区域的特效展示图像上。
根据本公开的一个或多个实施例,【示例十一】提供了一种信息显示方法,该方法,还包括:
可选的,响应于检测到从所述第一显示区域中移出所述特效展示图像的操作,确定待移入所述第一显示区域的待选择特效展示图像;
确定所述待选择特效展示图像的待更新目标显示信息,以响应于所述待选择特效展示图像与所述第一显示区域的重合度达到预设重合度阈值,基于所述待更新目标显示信息更新所述第二显示区域的目标显示信息。
根据本公开的一个或多个实施例,【示例十二】提供了一种信息显示方法,该方法,还包括:
可选的,响应于所述第一显示区域和所述待选择特效展示图像的重合度未达到预设重合度阈值,确定所述待选择特效展示图像和所述特效展示图像与所述第二显示区域的距离信息;
基于所述距离信息,确定所述待更新目标显示信息和所述目标显示信息的叠加比例,以基于叠加后的目标显示信息显示所述第二显示区域。
根据本公开的一个或多个实施例,【示例十三】提供了一种信息显示方法,该方法,还包括:
可选的,响应于待选择特效展示图像的数量包括多个,以所述第一显示区域中的特效展示图像为中心,依次减小位于所述特效展示图像两侧待选择特效展示图像的显示尺寸,并堆叠显示。
根据本公开的一个或多个实施例,【示例十四】提供了一种信息显示方法, 该方法,还包括:
可选的,所述第一显示区域为拍摄控件的中心圆面区域,所述第二显示区域为包围所述第一显示区域的圆环区域。
根据本公开的一个或多个实施例,【示例十五】提供了一种信息显示装置,该装置包括:
第一填充模块,设置为响应于检测到满足特效添加条件,将特效展示图像填充至拍摄控件的第一显示区域;以及,
第二填充模块,设置为根据所述特效展示图像,确定拍摄控件上第二显示区域的目标显示信息,并依据所述目标显示信息显示所述第二显示区域;
其中,所述第一显示区域区别于所述第二显示区域,所述第二显示区域外包围所述第一显示区域。

Claims (17)

  1. 一种信息显示方法,包括:
    响应于检测到满足特效添加条件,将特效展示图像填充至拍摄控件的第一显示区域;以及,
    根据所述特效展示图像,确定拍摄控件上第二显示区域的目标显示信息,并依据所述目标显示信息显示所述第二显示区域;
    其中,所述第一显示区域区别于所述第二显示区域,所述第二显示区域外包围所述第一显示区域。
  2. 根据权利要求1所述的方法,其中,所述特效添加条件包括下述至少一种:
    检测到触发拍摄控件;
    检测到触发于显示界面上的特效展示图像;
    检测到待处理图像的展示时长达到预设展示时长;
    检测到目标对象目标部位的展示姿态与预设展示姿态相一致。
  3. 根据权利要求1所述的方法,其中,在将特效展示图像填充至拍摄控件的第一显示区域的过程中,还包括:
    加载与所述特效展示图像相对应的目标特效,以基于所述目标特效渲染采集的待处理图像。
  4. 根据权利要求3所述的方法,其中,在加载与所述特效展示图像相对应的目标特效之前,还包括:
    响应于多个待选择特效展示图像于显示界面叠加显示,将置于所述显示界面最上层的待选择特效展示图像,作为所述特效展示图像;或,
    响应于多个所述待选择特效展示图像于显示界面中平铺显示,将依据第一预设方向首个显示的待选择特效展示图像,作为所述特效展示图像;或,
    将触发的待选择特效展示图像,作为所述特效展示图像。
  5. 根据权利要求1所述的方法,其中,所述将特效展示图像填充至拍摄控件的第一显示区域,包括:
    基于所述特效展示图像更新所述拍摄控件中第一显示区域的原始图像。
  6. 根据权利要求1所述的方法,其中,所述根据所述特效展示图像,确定拍摄控件上第二显示区域的目标显示信息,包括:
    根据所述特效展示图像中的至少一个色彩区域,确定拍摄控件上第二显示区域的目标显示信息。
  7. 根据权利要求1或6所述的方法,其中,所述根据所述特效展示图像,确定拍摄控件上第二显示区域的目标显示信息,包括:
    根据所述特效展示图像以及与所述特效展示图像相对应的目标特效的加载状态,确定所述目标显示信息。
  8. 根据权利要求7所述的方法,其中,所述加载状态包括加载完成状态,所述根据所述特效展示图像以及与所述特效展示图像相对应的目标特效的加载状态,确定所述目标显示信息,包括:
    将最大色彩区域所对应的颜色信息,作为所述目标显示信息。
  9. 根据权利要求7所述的方法,其中,所述加载状态包括加载中状态,所述根据所述特效展示图像以及与所述特效展示图像相对应的目标特效的加载状态,确定所述目标显示信息,包括:
    将最大色彩区域所对应的颜色信息,作为第一显示信息;
    将次于所述最大色彩区域所对应的颜色信息,作为所述第二显示区域中的动态显示信息;
    基于所述第一显示信息和所述动态显示信息,确定所述目标显示信息,以基于所述第一显示信息填充所述第二显示区域,基于所述动态显示信息作为滚动条遍历所述第二显示区域。
  10. 根据权利要求9所述的方法,还包括:
    将与所述动态显示信息相对应的蒙层按照预设透明度覆盖在所述第一显示区域的特效展示图像上。
  11. 根据权利要求1所述的方法,还包括:
    响应于检测到从所述第一显示区域中移出所述特效展示图像的操作,确定待移入所述第一显示区域的待选择特效展示图像;
    确定所述待选择特效展示图像的待更新目标显示信息,以响应于所述待选择特效展示图像与所述第一显示区域的重合度达到预设重合度阈值,基于所述待更新目标显示信息更新所述第二显示区域的目标显示信息。
  12. 根据权利要求11所述的方法,还包括:
    响应于所述第一显示区域和所述待选择特效展示图像的重合度未达到预设重合度阈值,确定所述待选择特效展示图像和所述特效展示图像与所述第二显示区域的距离信息;
    基于所述距离信息,确定所述待更新目标显示信息和所述目标显示信息的叠加比例,以基于叠加后的目标显示信息显示所述第二显示区域。
  13. 根据权利要求1所述的方法,还包括:
    响应于待选择特效展示图像的数量包括多个,以所述第一显示区域中的特效展示图像为中心,依次减小位于所述特效展示图像两侧待选择特效展示图像的显示尺寸,并堆叠显示。
  14. 根据权利要求1所述的方法,其中,所述第一显示区域为拍摄控件的中心圆面区域,所述第二显示区域为包围所述第一显示区域的圆环区域。
  15. 一种信息显示装置,包括:
    第一填充模块(410),设置为响应于检测到满足特效添加条件,将特效展示图像填充至拍摄控件的第一显示区域;以及,
    第二填充模块(420),设置为根据所述特效展示图像,确定拍摄控件上第二显示区域的目标显示信息,并依据所述目标显示信息显示所述第二显示区域;
    其中,所述第一显示区域区别于所述第二显示区域,所述第二显示区域外包围所述第一显示区域。
  16. 一种电子设备,包括:
    至少一个处理器;
    存储装置,设置为存储至少一个程序,
    当所述至少一个程序被所述至少一个处理器执行,使得所述至少一个处理器实现如权利要求1-14中任一所述的信息显示方法。
  17. 一种包含计算机可执行指令的存储介质,所述计算机可执行指令在由计算机处理器执行时执行如权利要求1-14中任一所述的信息显示方法。
PCT/CN2023/113213 2022-08-23 2023-08-16 信息显示方法、装置、电子设备及存储介质 WO2024041417A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202211013961.7A CN117666859A (zh) 2022-08-23 2022-08-23 信息显示方法、装置、电子设备及存储介质
CN202211013961.7 2022-08-23

Publications (1)

Publication Number Publication Date
WO2024041417A1 true WO2024041417A1 (zh) 2024-02-29

Family

ID=89995390

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/113213 WO2024041417A1 (zh) 2022-08-23 2023-08-16 信息显示方法、装置、电子设备及存储介质

Country Status (3)

Country Link
US (1) US20240073513A1 (zh)
CN (1) CN117666859A (zh)
WO (1) WO2024041417A1 (zh)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112702531A (zh) * 2020-12-29 2021-04-23 维沃移动通信有限公司 拍摄方法、装置及电子设备
CN114415906A (zh) * 2017-06-04 2022-04-29 苹果公司 用户界面相机效果

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114415906A (zh) * 2017-06-04 2022-04-29 苹果公司 用户界面相机效果
CN112702531A (zh) * 2020-12-29 2021-04-23 维沃移动通信有限公司 拍摄方法、装置及电子设备

Also Published As

Publication number Publication date
US20240073513A1 (en) 2024-02-29
CN117666859A (zh) 2024-03-08

Similar Documents

Publication Publication Date Title
US9451173B2 (en) Electronic device and control method of the same
EP4333424A1 (en) Video sharing method and apparatus, device, and medium
CN111510645B (zh) 视频处理方法、装置、计算机可读介质和电子设备
US20220253492A1 (en) Method, an apparatus, an electronic device and a storage medium for multimedia information processing
CN113076048B (zh) 视频的展示方法、装置、电子设备和存储介质
US11853543B2 (en) Method and apparatus for controlling display of video call interface, storage medium and device
WO2017166682A1 (zh) 拍照参数菜单的加载方法和装置
CN114077375A (zh) 交互方法及装置、电子设备及存储介质
US20230316529A1 (en) Image processing method and apparatus, device and storage medium
US9641768B2 (en) Filter realization method and apparatus of camera application
WO2023169305A1 (zh) 特效视频生成方法、装置、电子设备及存储介质
CN113747227B (zh) 视频播放方法、装置、存储介质以及电子设备
CN114020387A (zh) 终端的截屏方法及装置、存储介质和电子设备
CN111833459B (zh) 一种图像处理方法、装置、电子设备及存储介质
WO2024041417A1 (zh) 信息显示方法、装置、电子设备及存储介质
CN112351221B (zh) 图像特效处理方法、装置、电子设备和计算机可读存储介质
CN115086745B (zh) 一种直播视频处理方法、装置、设备及介质
US11805219B2 (en) Image special effect processing method and apparatus, electronic device and computer-readable storage medium
CN115082368A (zh) 图像处理方法、装置、设备及存储介质
EP3716004A1 (en) Display control method and apparatus of display screen and storage medium
CN110489040B (zh) 特征模型展示的方法及装置、终端和存储介质
WO2016147589A1 (ja) 情報コード画像表示システム、情報コード画像表示端末、情報コード画像表示プログラム、サーバ及び情報コード画像生成プログラム
CN114793485A (zh) 投屏交互方法、投屏系统及终端设备
CN113542711A (zh) 一种图像显示方法和终端
CN112995539B (zh) 一种移动终端及图像处理方法

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

Country of ref document: EP

Kind code of ref document: A1