IMAGE PROCESSING METHOD, APPARATUS, DEVICE, STORAGE MEDIUM, AND PROGRAM PRODUCT

JP2025508333AInactive Publication Date: 2025-03-26BEIJING ZITIAO NETWORK TECH CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
JP2024544825
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2022-01-28
Filing Date
2023-01-17
Publication Date
2025-03-26
Estimated Expiration
Not applicable · inactive patent

Smart Images

  • Figure 2025508333000001_ABST
    Figure 2025508333000001_ABST
Patent Text Reader

Abstract

The present disclosure relates to an image processing method, an apparatus, a device, a storage medium, and a program product. The image processing method includes: acquiring a first original video frame collected by a first camera in response to a start-up operation of a first camera, performing image editing processing on the first original video frame according to a first image editing effect, and obtaining and displaying a first target video frame; and switching to a second camera in response to a camera switching command, acquiring a second original video frame collected by the second camera, performing image editing processing on the second original video frame according to a second image editing effect, and obtaining and displaying a second target video frame.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] [CROSS REFERENCE TO RELATED APPLICATIONS] This application is based on and claims priority from a Chinese application having application number 202210107352.1 and filing date of January 28, 2022, the entire disclosure of which is incorporated herein by reference.

[0002] The present disclosure relates to the field of computer processing technology, and in particular to an image processing method, apparatus, device, storage medium and program product. [Background technology]

[0003] With the rapid development of Internet technology and terminal devices, various terminal devices, such as mobile phones and tablet computers, have become an indispensable part of people's work, and the functions of various media software installed on smart terminals are becoming increasingly powerful.

[0004] For example, media software installed on smart terminals can be used to manipulate virtual image materials to simulate a real environment, reducing the need for real materials, saving costs, and facilitating statistics on the manipulation results. Summary of the Invention

[0005] According to a first aspect, an embodiment of the present disclosure provides an image processing method including: in response to a start-up operation of a first camera, acquiring a first original video frame collected by the first camera, determining a first image editing effect corresponding to the first camera, performing an image editing process on the first original video frame according to the first image editing effect, and obtaining and displaying a first target video frame which is an effect image in which the first image editing effect has been applied to the first original video frame; and in response to a camera switching command, switching to a second camera and acquiring a second original video frame collected by the second camera, determining a second image editing effect corresponding to the second camera, performing an image editing process on the second original video frame according to the second image editing effect, and obtaining and displaying a second target video frame which is an effect image in which the second image editing effect has been applied to the second original video frame.

[0006] According to a second aspect, an embodiment of the present disclosure provides an image processing device including: a first original video frame acquisition module for acquiring a first original video frame collected by a first camera in response to a start-up operation of the first camera; a first editing effect determination module for determining a first image editing effect corresponding to the first camera; a first target video frame acquisition module for performing an image editing process on the first original video frame in accordance with the first image editing effect, and obtaining and displaying a first target video frame which is an effect image in which the first image editing effect is applied to the first original video frame; a second original video frame acquisition module for switching to a second camera in response to a camera switching command, and acquiring a second original video frame collected by the second camera; a second editing effect determination module for determining a second image editing effect corresponding to the second camera; and a second target video frame acquisition module for performing an image editing process on the second original video frame in accordance with the second image editing effect, and obtaining and displaying a second target video frame which is an effect image in which the second image editing effect is applied to the second original video frame.

[0007] According to a third aspect, an embodiment of the present disclosure provides an electronic device including one or more processors and a memory device for storing one or more programs, the one or more programs being executed by the one or more processors to cause the one or more processors to realize the image processing method described in any one of the first aspects above.

[0008] According to a fourth aspect, an embodiment of the present disclosure provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, causes an image processing method according to any one of the first aspects described above to be realized.

[0009] According to a fifth aspect, an embodiment of the present disclosure provides a computer program product including a computer program or instructions which, when executed by a processor, causes the image processing method according to any one of the first aspects above to be implemented.

[0010] According to a sixth aspect, an embodiment of the present disclosure provides a computer program comprising instructions which, when executed by a processor, cause the processor to perform the image processing method according to any one of the first aspects above. [Brief description of the drawings]

[0011] The above and other features, advantages, and aspects of the embodiments of the present disclosure will become more apparent from the following detailed description taken in conjunction with the accompanying drawings, in which the same or similar elements are designated by the same or similar reference numerals in all the accompanying drawings. It should be understood that the accompanying drawings are schematic and that objects and elements are not necessarily drawn to scale. [Figure 1] 1 is a flowchart of an image processing method according to an embodiment of the present disclosure. [Diagram 2] 11 is a flowchart of another image processing method according to an embodiment of the present disclosure. [Diagram 3] 1 is a schematic diagram illustrating a configuration of an image processing device according to an embodiment of the present disclosure. [Figure 4] FIG. 1 is a schematic diagram illustrating the configuration of an electronic device according to an embodiment of the present disclosure. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0012] Hereinafter, the embodiments of the present disclosure will be described in more detail with reference to the accompanying drawings. Although several embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be realized in various forms and should not be construed as being limited to the embodiments described herein. On the contrary, these embodiments are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the accompanying drawings and embodiments of the present disclosure are merely illustrative and do not limit the scope of protection of the present disclosure.

[0013] It should be understood that the steps described in the method embodiments of the present disclosure may be performed in different orders and / or in parallel, and that method embodiments may include additional steps and / or omit performance of steps as shown, and the scope of the present disclosure is not limited in this respect.

[0014] As used herein, the term "comprising" and variations thereof are open-ended, i.e., meaning "including, but not limited to." The term "based on" means "based at least in part on." The term "in one embodiment" means "at least one embodiment," the term "another embodiment" means "at least one other embodiment," and the term "some embodiments" means "at least some embodiments." Relevant definitions of other terms are provided below in the description.

[0015] It should be noted that concepts such as "first" and "second" described in this disclosure are merely intended to distinguish different devices, modules, or means, and are not intended to limit the order or interdependence of functions performed by these devices, modules, or means.

[0016] In addition, the modifiers "one" and "plurality" described in the present disclosure are schematic and not limiting. It is obvious to a person skilled in the art that unless otherwise specified, it should be understood as "one or more".

[0017] The names of messages or information exchanged between devices in the embodiments of the present disclosure are merely descriptive and do not limit the scope of these messages or information.

[0018] In the related art, there are mainly two kinds of interactive methods for additional image material.

[0019] The first interactive method is a method in which, when a specific image appears in a video frame, a corresponding additional image material is added to the video frame and displayed. Here, the specific image may be a face image, a foot image, a hand image, etc. For example, when a hand image appears in a video frame, a hawthorn candy image material is displayed at the hand position in the video frame.

[0020] The second type of interactive method is a method in which, when it is detected that a user has performed a specified action in a video frame, a corresponding additional image material is displayed in the video frame. Here, the specified action may be a pouting action, a blinking action, a heart-shaking action, etc. For example, when it is detected that a user has performed a pouting action in a video frame, a balloon image material is displayed in the mouth part in the video frame.

[0021] In the interactive method of the added image material, only a single image, for example, a head or a foot, can be identified, and when a video is shot, the head and foot cannot be identified in one video. Only when a video frame is collected using a front camera, multiple added image materials can be used in the collected video frame. Or, when a video frame is collected using a rear camera, multiple added image materials are used in the collected video frame. In this way, the front and rear cameras are not distinguished, and when multiple added image materials exist, multiple 3D added image materials are added to both the front and rear cameras, which consumes a huge amount of device performance. For example, when two image materials exist, two image materials are added to both the front and rear cameras, which consumes a huge amount of device performance.

[0022] In view of this, the embodiment of the present disclosure provides an image processing method that uses different image editing processing methods for video frames collected by different cameras, thereby realizing the use of multiple image editing effects in the same video collected by the front camera and the rear camera, i.e., using one image editing effect for the video collected by the front camera and another image editing effect for the video collected by the rear camera, thereby optimizing device performance. The image processing method according to the embodiment of the present application will be described in detail below with reference to the drawings.

[0023] FIG. 1 is a flow chart of an image processing method according to an embodiment of the present disclosure. This embodiment is applied to adding additional image material to a video. The method may be performed by an image processing device. The image processing device may be realized in software and / or hardware. The image processing device may be located in an electronic device.

[0024] For example, the electronic device may be a mobile terminal, a fixed terminal, or a portable terminal, such as a mobile phone, a site, a unit, a device, a multimedia computer, a multimedia tablet, an Internet node, a communicator, a desktop computer, a laptop computer, a notebook computer, a netbook computer, a tablet computer, a personal communication system (PCS) device, a personal navigation device, a personal digital assistant (PDA), an audio / video player, a digital camera / camcorder, a positioning device, a television receiver, a radio broadcast receiver, an e-book device, a gaming device, or any combination thereof, including accessories to these devices, external devices, or any combination thereof.

[0025] The electronic device may be a server, which may be a real server or a cloud server, which may be a single server or a server cluster.

[0026] As shown in FIG. 1, the image processing method according to the embodiment of the present disclosure mainly includes the following steps S101 to S106.

[0027] In step S101, in response to a start-up operation of the first camera, a first original video frame collected by the first camera is obtained.

[0028] The first camera and the second camera described later are two cameras provided in the same terminal device. Here, the first camera and the second camera described later may be external cameras connected to the terminal device, or may be cameras built into the terminal device. The above connection may be a wired connection or a wireless connection, and is not limited to this in the present embodiment. The camera built into the terminal device may be a front camera or a rear camera. For example, in the present embodiment, the first camera is a front camera of the terminal device, and the second camera is a rear camera of the terminal device.

[0029] For example, the first camera may be one camera or a set of cameras, and this embodiment does not limit the number of cameras included in the first camera.

[0030] In some embodiments, responding to the start-up operation of the first camera includes detecting that a user has launched a media application and receiving a start-up command for the first camera after detecting a trigger operation for a target image editing effect by the user, and starting the first camera in response to the start-up command.

[0031] In some embodiments, responding to the activation operation of the first camera may further include receiving an activation command for the first camera when the first camera is in an off state after detecting a trigger operation on a camera switching button by a user, and activating the first camera in response to the activation command. Here, the switching button may be a virtual button or a physical button, and is not limited thereto in the present embodiment.

[0032] For example, the first original video frame can be taken as a video frame collected by a first camera that has not been processed. Also, for example, the first original video frame can be taken as a video frame collected by a first camera that has been processed by a set process but has not been added with additional image material. The set process may be an image beautification process such as a skin smoother, makeup, or using a filter. The additional image material can be taken as a content that is added to the video frame and does not belong to the video frame image. The additional image material may be called a prop material, an effect material, or the like. This embodiment is not limited to this.

[0033] Obtaining the first original video frame collected by the first camera may include obtaining the first original video frame collected by the front camera in real time.

[0034] In some embodiments, when capturing a video with a target image editing effect applied, a first original video frame collected by a first camera is obtained in response to a first camera activation operation.

[0035] For example, an image editing effect can be understood as an effect in which additional image material is added to a video frame, and a target image editing effect can be understood as an image editing effect selected by a user.

[0036] In some embodiments, when a video is shot using a target image editing effect, this can be thought of as a user turning on the target image editing effect before shooting the video, and then using the target image editing effect to perform image editing processing on the shot video when the video is shot.

[0037] In some embodiments, turning on the target image editing effect may be by default turning on the target image editing effect when the user launches the media application, or may be turning on the image editing effect in response to a trigger action for the target image editing effect by the user after the user launches the media application.

[0038] In step S102, a first image editing effect corresponding to the first camera is determined.

[0039] For example, the first image editing effect may be considered as an image editing effect used when capturing video frames using a first camera.

[0040] In some embodiments, determining a first image editing effect corresponding to the first camera includes defaulting one of the target image editing effects to the first image editing effect after acquiring a first original video frame collected by the first camera.

[0041] In some embodiments, determining a first image editing effect corresponding to the first camera includes displaying a plurality of image editing effects included in the target image editing effects, and determining, based on a user selection operation, an image editing effect selected by a user as the first image editing effect corresponding to the first camera.

[0042] In step S103, an image editing process is performed on the first original video frame according to the first image editing effect, and a first target video frame, which is an effect image in which the first image editing effect is applied to the first original video frame, is obtained and displayed.

[0043] In this embodiment, performing image editing processing on the first original video frame according to a first image editing effect to obtain a first target video frame can be regarded as applying the first image editing effect to the first original video frame.

[0044] In some embodiments, the first image editing effect is to add additional image material to a designated position in the first original video frame. The designated position may be a human body part such as an eye, a mouth, a head, a hand, etc. in the first original video frame, or a static object such as a building, a flower, a tree, etc. in the first original video frame. No specific limitation is made in this embodiment.

[0045] In some embodiments, the first image editing effect is to add additional image material to a designated position of the first original video frame after the user completes a designated action. The designated action may be a blinking action, a pouting action, a waving action, a kicking action, etc., performed by the user in the first original video frame. No specific limitation is made in this embodiment.

[0046] In some embodiments, performing an image editing process on the first original video frame in accordance with the first image editing effect to obtain a first target video frame includes detecting whether a first head image is present in the first original video frame, and if a first head image is present in the first original video frame, performing an image editing process on the first original video frame in accordance with the first image editing effect to obtain a first target video frame.

[0047] The first head image can be taken as the face image that is identified and detected in the first original video frame. In this embodiment, three algorithms are provided: a face identification method, a foot identification algorithm and a whole body identification algorithm.

[0048] In some embodiments, the face identification algorithm is bound to the first camera. That is, when it detects that the first camera is activated, the face identification algorithm is activated. The face identification algorithm detects whether a head image exists in the first original video frame. In the present embodiment, there is no further specific limitation on how the face identification algorithm performs head identification.

[0049] In some embodiments, performing an image editing process on the first original video frame according to the first image editing effect to obtain a first target video frame includes adding a first additional image material at a position corresponding to a first head image in the first original video frame to obtain a first target video frame.

[0050] Here, the first additional image material may be a virtual hat, a virtual hairpin (Chinese: "Xu Gui Jiang Zhi"), a virtual fluttering hairpin (Chinese: "Xu Gui Bu Yu"), a virtual hairpin (Chinese: "Xu Gui Jiang Zhi"), a virtual flower hairpin (Chinese: "Xu Gui Jiang Zhi"), etc. The style of the hat may be an animal-style hat, for example, a tiger-shaped hat, a rabbit-shaped hat, etc., or a normal-style hat, for example, a baseball cap, etc.

[0051] For example, identifying a head image in the first original video frame adds a first additional image material at the head location, for example displaying a virtual hat in the shape of a tiger at the head location.

[0052] In step S104, in response to a camera switching command, the camera is switched to a second camera and a second original video frame collected by the second camera is obtained.

[0053] For example, a camera switching command can be interpreted as a command to switch a currently active camera to an off state and to switch an off camera to an active state.

[0054] In this embodiment, before responding to the camera switching command, the first camera is in an active state and the second camera is in an off state. After responding to the camera switching command, the first camera is switched from the active state to the off state and the second camera is switched from the off state to the active state (i.e., the second camera is activated).

[0055] Responding to the camera switching command may include receiving a camera switching command after detecting an operation of a camera switching button by a user, and turning off the first camera and starting up the second camera in response to the switching command. Here, the switching button may be a virtual button or a physical button, and is not limited in this embodiment.

[0056] For example, the second original video frame can be taken as a video frame collected by a second camera. Second It can also be understood as a video frame collected by a camera, which has undergone a set of processing but no additional image material has been added. The set processing may be an image beautification process such as a skin smoother, makeup, or the use of a filter.

[0057] Acquiring the second video frames collected by the second camera may include acquiring the second video frames collected by the rear camera in real time.

[0058] In step S105, a second image editing effect corresponding to the second camera is determined.

[0059] The second image editing effect may be understood as an image editing effect used when a second camera is used to capture video frames.

[0060] In some embodiments, determining a second image editing effect corresponding to the second camera includes defaulting one of the target image editing effects to the second image editing effect after acquiring a second original video frame collected by the second camera.

[0061] In some embodiments, determining the second image editing effect corresponding to the second camera includes displaying a plurality of image editing effects included in the target image editing effects, and determining, based on a user selection operation, an image editing effect selected by the user as the second image editing effect corresponding to the second camera.

[0062] In step S106, an image editing process is performed on the second original video frame according to the second image editing effect, and a second target video frame, which is an effect image in which the second image editing effect is applied to the second original video frame, is obtained and displayed.

[0063] In this embodiment, performing image editing processing on the second original video frame in accordance with the second image editing effect to obtain a second target video frame can be regarded as applying the second image editing effect to the second original video frame.

[0064] In some embodiments, the second image editing effect is to add additional image material to a designated position in the second original video frame. The designated position may be a human body part such as a foot, a leg, etc. in the second original video frame. No specific limitation is made in this embodiment.

[0065] In some embodiments, performing an image editing process on the second original video frame in accordance with the second image editing effect to obtain a second target video frame includes detecting whether a foot image is present in the second original video frame, and if a foot image is present in the second original video frame, performing an image editing process on the second original video frame in accordance with the second image editing effect to obtain a second target video frame.

[0066] In this embodiment, three algorithms are provided: a face identification method, a foot identification algorithm and a whole body identification algorithm.

[0067] In some embodiments, the foot identification algorithm is bound to the second camera. That is, when it detects that the second camera is activated, the foot identification algorithm is activated. The foot identification algorithm detects whether a foot image exists in the second original video frame. In the present embodiment, there is no further specific limitation on how the foot identification algorithm performs foot identification.

[0068] For example, the foot image may be a barefoot image or a foot image with shoes on, and is not limited to this embodiment.

[0069] In some embodiments, a full-body identification algorithm is activated when a face identification algorithm is activated, and / or a full-body identification algorithm is activated when a foot identification algorithm is activated, and the full-body identification algorithm is used to assist the face identification algorithm and / or the foot identification algorithm in performing image identification, thereby improving image identification efficiency.

[0070] In some embodiments, performing an image editing process on the second original video frame according to the second image editing effect to obtain a second target video frame includes adding a second additional image material at a position corresponding to a foot image in the second original video frame to obtain a second target video frame.

[0071] For example, the second additional image material may be a virtual shoe. The style of the shoe may be an animal style. shoes , for example, tiger claw style, rabbit paw style, etc., or may be a normal style shoe, for example, sports shoes, etc.

[0072] In some embodiments, identifying a foot image in the second original video frame adds a second additional image material at the foot location, for example displaying a virtual shoe in the shape of a tiger claw at the foot location.

[0073] In this embodiment, a face recognition algorithm, a foot recognition algorithm, and a whole body recognition algorithm are provided. At the same time, for hats and shoes, the front lens and the rear lens are distinguished, and in the front lens, only the head is recognized and a virtual hat appears, and the presentation effect of the hat is ensured in priority. When the user switches to the rear lens to obtain a larger shooting space, the virtual shoes appear by default. When there are multiple additional image materials, the two camera lenses are distinguished, that is, the video frames collected by the two cameras are realized to display different additional image materials (i.e., the first additional image material is different from the second additional image material), and the terminal device performance is optimized.

[0074] An embodiment of the present disclosure provides an image processing method, including: in response to a start-up operation of a first camera, acquiring a first original video frame collected by the first camera, determining a first image editing effect corresponding to the first camera, performing an image editing process on the first original video frame according to the first image editing effect, and obtaining and displaying a first target video frame which is an effect image in which the first image editing effect is applied to the first original video frame; in response to a camera switching command, switching to a second camera to acquire a second original video frame collected by the second camera, determining a second image editing effect corresponding to the second camera, performing an image editing process on the second original video frame according to the second image editing effect, and obtaining and displaying a second target video frame which is an effect image in which the second image editing effect is applied to the second original video frame. In the embodiment of the present disclosure, different image editing processing methods are used for the video frames collected by different cameras, for example, the first image editing effect and the second image editing effect are different. In this way, multiple image editing effects can be used on the same video collected by the front camera and the rear camera, i.e., one image editing effect can be used on the video collected by the front camera and another image editing effect can be used on the video collected by the rear camera, thereby optimizing the performance of the terminal device.

[0075] Based on the above embodiment, the embodiment of the present disclosure further optimizes the above image processing method, and as shown in FIG. 2, the image processing method optimized by the embodiment of the present disclosure mainly includes the following steps S201 to S208.

[0076] In step S201, in response to a start-up operation of a first camera, a first original video frame collected by the first camera is obtained.

[0077] In step S202, a first image editing effect corresponding to the first camera is determined.

[0078] In step S203, an image editing process is performed on the first original video frame according to the first image editing effect, and a first target video frame, which is an effect image obtained by applying the first image editing effect to the first original video frame, is obtained and displayed.

[0079] In step S204, in response to a camera switching command, the camera is switched to a second camera and a second original video frame collected by the second camera is obtained.

[0080] In step S205, a second image editing effect corresponding to the second camera is determined.

[0081] In step S206, an image editing process is performed on the second original video frame according to the second image editing effect, and a second target video frame, which is an effect image in which the second image editing effect is applied to the second original video frame, is obtained and displayed.

[0082] In this embodiment, steps S201 to S206 are executed in the same manner as steps S101 to S106 in the above embodiment, and therefore, the description in the above embodiment may be referred to specifically, and no further description will be given in this embodiment.

[0083] In step S207, in response to a trigger operation on the screen, a third image editing effect corresponding to the second camera is determined.

[0084] The screen refers to a touch screen capable of receiving an operation signal, and the size and type of the screen are not specifically limited in this embodiment. When a trigger operation on the screen is detected, the screen responds to the trigger operation. The trigger operation on the screen may be a click operation or a double click operation on the screen.

[0085] The third image editing effect may be the same as or different from the first image editing effect. The third image editing effect is different from the second image editing effect. In some embodiments, the third image editing effect may be the same as the first image editing effect.

[0086] In some embodiments, when the second camera is activated, one of the target image editing effects defaults to a third image editing effect in response to a trigger action on the screen.

[0087] In step S208, an image editing process is performed on the second original video frame according to the third image editing effect, and a third target video frame, which is an effect image in which the third image editing effect is applied to the second original video frame, is obtained and displayed.

[0088] In this embodiment, performing image editing processing on the second original video frame according to the third image editing effect to obtain a third target video frame can be regarded as applying the third image editing effect to the second original video frame.

[0089] In some embodiments, the third image editing effect is to add additional image material to a designated position in the second original video frame. The designated position may be a human body part such as an eye, a mouth, a head, a hand, etc. in the second original video frame, or a static object such as a building, a flower, a tree, etc. in the second original video frame. No specific limitation is made in this embodiment.

[0090] In some embodiments, performing an image editing process on the second original video frame in accordance with the third image editing effect and obtaining and displaying a third target video frame includes detecting whether a second head image is present in the second original video frame, and if a second head image is present in the second original video frame, performing an image editing process on the second original video frame in accordance with the third image editing effect and obtaining and displaying a third target video frame.

[0091] The second head image can be taken as a head image that is identified and detected in the second original video frame. In some embodiments, a face identification algorithm is used to identify and detect whether a head image exists in the second original video frame. In this embodiment, there is no further specific limitation on how the face identification algorithm performs head identification.

[0092] In some embodiments, performing an image editing process on the second original video frame according to the third image editing effect to obtain a third target video frame includes adding a third additional image material at a position corresponding to the second head image in the second original video frame to obtain a third target video frame.

[0093] For example, the third additional image data may be a virtual hat, a virtual hairpin, a virtual fluttering (swaying) hairpin, a virtual hairpin, a virtual flower hairpin, etc. The style of the hat may be an animal-style hat, for example, a tiger-shaped hat, a rabbit-shaped hat, etc., or a normal-style hat, for example, a baseball cap, etc.

[0094] In some embodiments, identifying a head image in the second original video frame includes adding a third additional image material at the head location, for example displaying a virtual hat in the shape of a tiger at the head location.

[0095] When user loads sticker, it will launch front camera by default, and if face image is detected, it will display tiger hat on the screen. After user switches to rear lens, if foot image is detected, tiger shoes will appear on the screen display. When user clicks on the screen, it will detect whether there is face image or not. If face image is detected, it will display tiger hat on the screen.

[0096] Based on the above embodiments, the image processing method according to the embodiments of the present disclosure further includes, when it is detected that the user has used an additional image material package for the first time, displaying guide information to prompt the user on how to use the additional image material package.

[0097] The guide information may be either one of video and audio, or a combination of both. The guide information is for informing the user that a tiger-shaped hat is available when a face is photographed, and that tiger-shaped shoes are available when a foot is photographed. The guide information may further be used to inform the user in advance that when the tiger-shaped shoes appear by default after the user switches to the rear lens, the user can switch between the tiger-shaped shoes and the tiger-shaped hat by clicking the screen again in the rear lens state.

[0098] In this embodiment, by playing back the guide information, the user can clearly know how to use the image editing effect, and the user's usage experience can be improved.

[0099] 3 is a schematic diagram of an image processing device according to an embodiment of the present disclosure, which is applicable to adding a virtual effect prop to a video, and the image processing device may be realized in a software and / or hardware manner, and the image processing device may be disposed in an electronic device.

[0100] As shown in FIG. 3, the image processing device 30 according to an embodiment of the present disclosure mainly includes: a first original video frame acquisition module 31, a first editing effect determination module 32, a first target video frame acquisition module 33, a second original video frame acquisition module 34, a second editing effect determination module 35, and a second target video frame acquisition module 36.

[0101] The first original video frame acquisition module 31 is used for acquiring a first original video frame collected by the first camera in response to the activation operation of the first camera.

[0102] The first editing effect determining module 32 is used for determining a first image editing effect corresponding to the first camera.

[0103] The first target video frame acquisition module 33 is used to perform image editing processing on the first original video frame according to the first image editing effect, and obtain and display a first target video frame, which is an effect image obtained by applying the first image editing effect to the first original video frame.

[0104] The second original video frame acquisition module 34 is used for switching to a second camera in response to a camera switching command, and acquiring a second original video frame collected by the second camera.

[0105] The second editing effect determining module 35 is used for determining a second image editing effect corresponding to the second camera.

[0106] The second target video frame acquisition module 36 is used to perform image editing processing on the second original video frame according to the second image editing effect, and obtain and display a second target video frame, which is an effect image in which the second image editing effect is applied to the second original video frame.

[0107] In some embodiments, the first target video frame acquisition module 33 includes a first head image detection means for detecting whether a first head image is present in the first original video frame, and a first target video frame acquisition means for performing an image editing process on the first original video frame according to the first image editing effect if a first head image is present in the first original video frame to obtain a first target video frame.

[0108] In some embodiments, the first target video frame acquisition means is specifically used for adding a first additional image material at a position corresponding to the first head image in the first original video frame to obtain a first target video frame.

[0109] In some embodiments, the second target video frame acquisition module 36 includes a foot image detection means for detecting whether a foot image is present in the second original video frame, and a second target video frame acquisition means for performing an image editing process on the second original video frame according to the second image editing effect if a foot image is present in the second original video frame to obtain a second target video frame.

[0110] In some embodiments, the second target video frame acquisition means is specifically used for adding a second additional image material at a position corresponding to the foot image in the second original video frame to obtain a second target video frame.

[0111] In some embodiments, the first editing effect determination module 32 is used to, after obtaining a first original video frame collected by the first camera, determine one image editing effect among the target image editing effects as the first image editing effect by default, or display a plurality of image editing effects included in the target image editing effects, and determine the image editing effect selected by the user as the first image editing effect corresponding to the first camera based on a user's selection operation.

[0112] In some embodiments, the second editing effect determination module 35 is used to, after obtaining a second original video frame collected by a second camera, determine one image editing effect among the target image editing effects as the second image editing effect by default, or display multiple image editing effects included in the target image editing effects, and determine the image editing effect selected by the user as the second image editing effect corresponding to the second camera based on a user selection operation.

[0113] In some embodiments, the device further includes a third image editing effect determination module for determining a third image editing effect corresponding to the second camera in response to a trigger operation on a screen, and a third target video frame acquisition module for performing image editing processing on the second original video frame according to the third image editing effect, and obtaining and displaying a third target video frame.

[0114] In some embodiments, the third target video frame acquisition module includes a second head image detection means for detecting whether a second head image is present in the second original video frame, and a third target video frame acquisition means for performing an image editing process on the second original video frame according to the third image editing effect if a second head image is present in the second original video frame, to obtain and display a third target video frame.

[0115] In some embodiments, the third target video frame acquisition means is used to add a third additional image material at a position corresponding to the second head image in the second original video frame to obtain a third target video frame.

[0116] In some embodiments, the first image editing effect is different from the second image editing effect.

[0117] In some embodiments, the third image editing effect is different from the second image editing effect.

[0118] In some embodiments, the device further includes a guide information display module for displaying guide information to prompt the user on how to use the additional image material package when it detects that the user has used the additional image material package for the first time.

[0119] The image processing device according to the embodiments of the present disclosure can execute the steps performed in the image processing method according to the method embodiments of the present disclosure, and the execution steps and beneficial effects provided therein will not be further described here.

[0120] FIG. 4 is a schematic diagram of an electronic device in an embodiment of the present disclosure. The following specifically refers to FIG. 4, which shows a schematic diagram of a configuration suitable for implementing an electronic device 400 in an embodiment of the present disclosure. The electronic device 400 in an embodiment of the present disclosure may include, but is not limited to, mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablets), PMPs (portable multimedia players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and wearable terminal devices, and fixed terminals such as digital TVs, desktop computers, and smart home devices. The electronic device shown in FIG. 4 is merely an example and does not impose any limitations on the functions and scope of use of the embodiment of the present disclosure.

[0121] As shown in FIG. 4, the electronic device 400 may include a processing unit (e.g., a central processing unit, a graphics processor, etc.) 401 that performs various suitable operations and processes according to programs stored in a read only memory (ROM) 402 or loaded from a storage device 408 into a random access memory (RAM) 403 to perform various operations and processes according to embodiments of the present disclosure. Image Processing Method The RAM 403 further stores various programs and data necessary for the operation of the terminal device 400. The processing unit 401, the ROM 402 and the RAM 403 are connected to each other via a bus 404. An input / output (I / O) interface 405 is also connected to the bus 404.

[0122] Typically, input devices 406 including, for example, a touch screen, touch panel, keyboard, mouse, camera, microphone, accelerometer, gyro, etc., output devices 407 including, for example, a liquid crystal display (LCD), speaker, oscillator, etc., storage devices 408 including, for example, a magnetic tape, hard disk, etc., and communication devices 409 may be connected to the I / O interface 405. The communication devices 409 enable the terminal device 400 to exchange data with other devices via wireless or wired communication. It should be understood that while the terminal device 400 is shown in FIG. 4 with various devices, it is not intended to require that it implement or include all of the devices shown. More or less devices may alternatively be implemented or included.

[0123] In particular, according to embodiments of the present disclosure, the processes described above with reference to the flowcharts may be implemented as a computer software program. For example, embodiments of the present disclosure include a computer program product, which may include a computer program embodied in a non-transitory computer readable medium, the computer program including program code for performing the methods illustrated in the flowcharts, thereby implementing the above-described methods. Image Processing MethodIn such an embodiment, the computer program may be downloaded and installed from a network by the communication device 409, or installed from the storage device 408, or installed from the ROM 402. When the computer program is executed by the processing device 401, it performs the above-mentioned functions defined in the manner of the embodiment of the present disclosure.

[0124] It should be noted that the above computer readable medium in this disclosure may be a computer readable signal medium, or a computer readable storage medium, or any combination of both. 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. The computer readable storage medium may include, but is not limited to, as more specific examples, an electrical connection having one or more conductors, a portable computer disk, a hard disk, a random access memory (RAM), a read only memory (ROM), an erasable programmable read only memory (EPROM or flash memory), an optical fiber, a portable compact disk read only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In this disclosure, the computer readable storage medium may be any tangible medium that contains or stores a program, which may be used or used in conjunction with an instruction execution system, apparatus, or device. In this disclosure, the computer readable signal medium may include a data signal propagated in baseband or a data signal propagated as part of a carrier wave, carrying computer readable program code therein. The data signal thus propagated may take many forms, including, but not limited to, electromagnetic signals, optical signals, or any suitable combination thereof. The computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, which may transmit, propagate, or transmit a program for use in or in connection with an instruction execution system, apparatus, or device. The program code contained in the computer readable medium may be transmitted over any suitable medium, including, but not limited to, electrical wires, optical cables, RF (radio frequency), or the like, or any suitable combination thereof.

[0125] In some embodiments, the clients and servers may communicate using any now known or later developed network protocol, such as HTTP (HyperText Transfer Protocol), and may interconnect with any form or medium of digital data communication (e.g., a communications network). Examples of communications networks include a local area network ("LAN"), a wide area network ("WAN"), the Internet, and an end-to-end network (e.g., an ad hoc end-to-end network), as well as any now known or later developed network.

[0126] The computer-readable medium may be included in the electronic device, or may be separate from the electronic device.

[0127] The computer-readable medium has one or more programs stored therein, and when the one or more programs are executed by the terminal device, the terminal device is caused to execute the following operations: in response to a start-up operation of a first camera, acquire a first original video frame collected by the first camera, determine a first image editing effect corresponding to the first camera, perform an image editing process on the first original video frame according to the first image editing effect, and obtain and display a first target video frame which is an effect image in which the first image editing effect is applied to the first original video frame; and in response to a camera switching command, switch to a second camera to acquire a second original video frame collected by the second camera, determine a second image editing effect corresponding to the second camera, perform an image editing process on the second original video frame according to the second image editing effect, and obtain and display a second target video frame which is an effect image in which the second image editing effect is applied to the second original video frame.

[0128] Optionally, when the one or more programs above are executed by the terminal device, the terminal device may perform other steps described in the above embodiments.

[0129] Computer program code for carrying out the operations of the present disclosure can be written in one or more programming languages ​​or combinations thereof, including object-oriented programming languages ​​such as Java, Smalltalk, C++, and the like, as well as general procedural programming languages ​​such as "C" or similar programming languages, but are not limited to these. The program code can run entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer can be connected to the user's computer by any network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computer (e.g., via the Internet by an Internet Service Provider).

[0130] The flowcharts and block diagrams in the accompanying drawings illustrate possible system architectures, functions, and operations of systems, methods, and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowcharts or block diagrams may represent a module, program segment, or part of code, which includes one or more executable instructions for implementing a specified logical function. It should be noted that in some permutation implementations, the functions depicted in the blocks may occur in a different order than those depicted in the drawings. For example, two consecutively depicted blocks may be essentially executed in parallel, or may be executed in the reverse order depending on the functionality. It should be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be realized by a dedicated system based on hardware that performs the specified functions or operations, or by a combination of dedicated hardware and computer instructions.

[0131] Means according to the embodiments of the present disclosure may be realized by software or hardware, and the names of the means may not limit the means themselves.

[0132] The functions described herein above may be performed, at least in part, by one or more hardware logic components. For example, exemplary hardware logic components that may be used include, but are not limited to, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), etc.

[0133] In the present disclosure, a machine-readable medium may be a tangible medium, and may contain or store a program used by or in combination with an instruction execution system, apparatus, or device. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the above. More specific examples of machine-readable storage media include one or more wire-based electrical connections, portable computer disks, hard disks, random access memories (RAMs), read-only memories (ROMs), erasable programmable read-only memories (EPROMs or flash memories), optical fibers, portable compact disk read-only memories (CD-ROMs), optical storage devices, magnetic storage devices, or any suitable combination thereof.

[0134] According to one or more embodiments of the present disclosure, the present disclosure provides an image processing method including: in response to a start-up operation of a first camera, acquiring a first original video frame collected by the first camera, determining a first image editing effect corresponding to the first camera, performing an image editing process on the first original video frame according to the first image editing effect, and obtaining and displaying a first target video frame which is an effect image in which the first image editing effect is applied to the first original video frame; and in response to a camera switching command, switching to a second camera to acquire a second original video frame collected by the second camera, determining a second image editing effect corresponding to the second camera, performing an image editing process on the second original video frame according to the second image editing effect, and obtaining and displaying a second target video frame which is an effect image in which the second image editing effect is applied to the second original video frame.

[0135] According to one or more embodiments of the present disclosure, in an image processing method according to the present disclosure, performing image editing processing on the first original video frame according to the first image editing effect to obtain a first target video frame includes detecting whether a first head image is present in the first original video frame, and if a first head image is present in the first original video frame, performing image editing processing on the first original video frame according to the first image editing effect to obtain a first target video frame.

[0136] According to one or more embodiments of the present disclosure, in the image processing method of the present disclosure, performing image editing processing on the first original video frame according to the first image editing effect to obtain a first target video frame includes adding a first additional image material at a position corresponding to a first head image in the first original video frame to obtain a first target video frame.

[0137] According to one or more embodiments of the present disclosure, in the image processing method of the present disclosure, performing image editing processing on the second original video frame according to the second image editing effect to obtain a second target video frame includes detecting whether a foot image is present in the second original video frame, and if a foot image is present in the second original video frame, performing image editing processing on the second original video frame according to the second image editing effect to obtain a second target video frame.

[0138] According to one or more embodiments of the present disclosure, in the image processing method of the present disclosure, performing image editing processing on the second original video frame according to the second image editing effect to obtain a second target video frame includes adding a second additional image material at a position corresponding to a foot image in the second original video frame to obtain a second target video frame.

[0139] According to one or more embodiments of the present disclosure, in the image processing method of the present disclosure, determining a first image editing effect corresponding to the first camera includes: after obtaining a first original video frame collected by the first camera, setting one image editing effect among target image editing effects as the first image editing effect by default, or displaying a plurality of image editing effects included in the target image editing effects, and determining an image editing effect selected by a user as the first image editing effect corresponding to the first camera based on a user's selection operation.

[0140] According to one or more embodiments of the present disclosure, in the image processing method of the present disclosure, determining a second image editing effect corresponding to the second camera includes: after obtaining a second original video frame collected by the second camera, setting one image editing effect among the target image editing effects as the second image editing effect by default, or displaying a plurality of image editing effects included in the target image editing effects, and determining an image editing effect selected by a user as the second image editing effect corresponding to the second camera based on a user's selection operation.

[0141] According to one or more embodiments of the present disclosure, the image processing method of the present disclosure further includes: performing image editing processing on the second original video frame according to the second image editing effect, obtaining and displaying a second target video frame, and then determining a third image editing effect corresponding to the second camera in response to a trigger operation on a screen; and performing image editing processing on the second original video frame according to the third image editing effect, obtaining and displaying a third target video frame.

[0142] According to one or more embodiments of the present disclosure, in the image processing method of the present disclosure, performing image editing processing on the second original video frame according to the third image editing effect, and obtaining and displaying a third target video frame includes detecting whether a second head image is present in the second original video frame, and if a second head image is present in the second original video frame, performing image editing processing on the second original video frame according to the third image editing effect, and obtaining and displaying a third target video frame.

[0143] According to one or more embodiments of the present disclosure, in the image processing method of the present disclosure, performing image editing processing on the second original video frame according to the third image editing effect to obtain a third target video frame includes adding a third additional image material at a position corresponding to the second head image in the second original video frame to obtain a third target video frame.

[0144] According to one or more embodiments of the present disclosure, in the image processing method according to the present disclosure, the first image editing effect is different from the second image editing effect.

[0145] According to one or more embodiments of the present disclosure, in the image processing method according to the present disclosure, the third image editing effect is different from the second image editing effect.

[0146] According to one or more embodiments of the present disclosure, the image processing method of the present disclosure further includes, when it is detected that the user has used an additional image material package for the first time, displaying guide information to prompt the user on how to use the additional image material package.

[0147] According to one or more embodiments of the present disclosure, the embodiments of the present disclosure include a first original video frame acquisition module for acquiring a first original video frame collected by a first camera in response to a start-up operation of the first camera; a first editing effect determination module for determining a first image editing effect corresponding to the first camera; and a first target video frame acquisition module for performing an image editing process on the first original video frame according to the first image editing effect, and obtaining and displaying a first target video frame, which is an effect image in which the first image editing effect is applied to the first original video frame. a second original video frame acquisition module for switching to a second camera in response to a camera switching command and acquiring a second original video frame collected by the second camera; a second editing effect determination module for determining a second image editing effect corresponding to the second camera; and a second target video frame acquisition module for performing image editing processing on the second original video frame in accordance with the second image editing effect, and obtaining and displaying a second target video frame which is an effect image in which the second image editing effect is applied to the second original video frame.

[0148] According to one or more embodiments of the present disclosure, in an image processing device according to an embodiment of the present disclosure, a first target video frame acquisition module includes a first head image detection means for detecting whether a first head image exists in the first original video frame, and a first target video frame acquisition means for performing image editing processing on the first original video frame according to the first image editing effect when a first head image exists in the first original video frame to obtain a first target video frame.

[0149] According to one or more embodiments of the present disclosure, in an image processing device according to an embodiment of the present disclosure, a first target video frame acquisition means is specifically used for adding a first additional image material at a position corresponding to a first head image in the first original video frame to obtain a first target video frame.

[0150] According to one or more embodiments of the present disclosure, the second target video frame acquisition module includes a foot image detection means for detecting whether a foot image exists in the second original video frame, and a second target video frame acquisition means for performing image editing processing on the second original video frame according to the second image editing effect if a foot image exists in the second original video frame to obtain a second target video frame.

[0151] According to one or more embodiments of the present disclosure, in an image processing device according to an embodiment of the present disclosure, a second target video frame acquisition means is used to add a second additional image material at a position corresponding to the foot image in the second original video frame to obtain a second target video frame.

[0152] According to one or more embodiments of the present disclosure, in an image processing device according to an embodiment of the present disclosure, a first editing effect determination module is used for, after acquiring a first original video frame collected by the first camera, setting one image editing effect among the target image editing effects as the first image editing effect by default, or displaying a plurality of image editing effects included in the target image editing effects, and determining an image editing effect selected by a user as the first image editing effect corresponding to the first camera based on a user's selection operation.

[0153] According to one or more embodiments of the present disclosure, in an image processing device according to an embodiment of the present disclosure, a second editing effect determination module is used for, after acquiring a second original video frame collected by a second camera, setting one image editing effect among the target image editing effects as the second image editing effect by default, or displaying a plurality of image editing effects included in the target image editing effects, and determining the image editing effect selected by a user as the second image editing effect corresponding to the second camera based on the user's selection operation.

[0154] According to one or more embodiments of the present disclosure, an image processing device according to an embodiment of the present disclosure further includes a third image editing effect determination module for determining a third image editing effect corresponding to the second camera in response to a trigger operation on a screen, and a third target video frame acquisition module for performing image editing processing on the second original video frame according to the third image editing effect, and obtaining and displaying a third target video frame.

[0155] According to one or more embodiments of the present disclosure, in an image processing device according to an embodiment of the present disclosure, a third target video frame acquisition module includes a second head image detection means for detecting whether a second head image exists in the second original video frame, and a third target video frame acquisition means for performing image editing processing on the second original video frame according to the third image editing effect when a second head image exists in the second original video frame, and obtaining and displaying a third target video frame.

[0156] According to one or more embodiments of the present disclosure, in an image processing device according to an embodiment of the present disclosure, a third target video frame acquisition means is used to add a third additional image material at a position corresponding to the second head image in the second original video frame to obtain a third target video frame.

[0157] According to one or more embodiments of the present disclosure, in the image processing device according to the embodiments of the present disclosure, the first image editing effect is different from the second image editing effect.

[0158] According to one or more embodiments of the present disclosure, in the image processing device according to the embodiments of the present disclosure, the third image editing effect is different from the second image editing effect.

[0159] According to one or more embodiments of the present disclosure, an image processing device according to an embodiment of the present disclosure further includes a guide information display module for displaying guide information to prompt the user on how to use the additional image material package when it is detected that the user has used the additional image material package for the first time.

[0160] According to one or more embodiments of the present disclosure, the present disclosure provides an electronic device including one or more processors and a memory for storing one or more programs, the one or more programs, when executed by the one or more processors, causing the one or more processors to realize an image processing method described in any one of the present disclosure.

[0161] According to one or more embodiments of the present disclosure, the present disclosure provides a computer-readable storage medium (e.g., a non-transitory computer-readable storage medium) having stored thereon a computer program which, when executed by a processor, causes an image processing method described in any one of the present disclosures to be realized.

[0162] An embodiment of the present disclosure further provides a computer program product comprising a computer program or instructions which, when executed by a processor, causes the image processing method as described above to be implemented.

[0163] An embodiment of the present disclosure further provides a computer program comprising instructions which, when executed by a processor, cause the processor to perform an image processing method as described above.

[0164] The above is merely a description of the preferred embodiment and the technical principles applied in the present disclosure. It is obvious to those skilled in the art that the scope of the disclosure of the present disclosure is not limited to the technical solution based on the specific combination of the above technical features, but should also include other technical solutions formed by any combination of the above technical features or features equivalent thereto without departing from the concept of the above disclosure. For example, it also includes technical solutions formed by replacing the above features with technical features having similar functions disclosed in the present disclosure (not limited to them).

[0165] Also, although operations are described in a particular order, this should not be understood as requiring such operations to be performed in the particular order shown, or in sequential order. In certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details are included in the above description, they should not be construed as limiting the scope of the present disclosure. Some features described above and below in a single embodiment may be implemented in combination in a single embodiment. Conversely, various features described above and below in a single embodiment may be implemented in multiple embodiments alone or in any suitable subcombination.

[0166] Although the present subject matter has been described in language specific to structural features and / or methodological operations, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or operations described above. Rather, the specific features and operations described above are merely example forms of implementing the claims.

Claims

1. In response to an activation operation of a first camera, acquiring a first original video frame collected by the first camera; determining a first image editing effect corresponding to the first camera; performing an image editing process on the first original video frame according to the first image editing effect, and obtaining and displaying a first target video frame, which is an effect image in which the first image editing effect is applied to the first original video frame; in response to a camera switching command, switching to a second camera and acquiring a second original video frame collected by the second camera; determining a second image editing effect corresponding to the second camera; performing an image editing process on the second original video frame according to the second image editing effect, and obtaining and displaying a second target video frame, the second target video frame being an effect image in which the second image editing effect is applied to the second original video frame.

2. performing an image editing process on the first original video frame according to the first image editing effect to obtain a first target video frame; Detecting whether a first head image is present in the first original video frame; If a first head image exists in the first original video frame, performing an image editing process on the first original video frame according to the first image editing effect to obtain a first target video frame. The image processing method according to claim 1 .

3. performing an image editing process on the first original video frame according to the first image editing effect to obtain a first target video frame; adding a first additional image material to the first original video frame at a position corresponding to the first head image to obtain a first target video frame; The image processing method according to claim 2 .

4. performing an image editing process on the second original video frame according to the second image editing effect to obtain a second target video frame; Detecting whether a foot image is present in the second original video frame; and if a foot image exists in the second original video frame, performing an image editing process on the second original video frame according to the second image editing effect to obtain a second target video frame. The image processing method according to any one of claims 1 to 3.

5. performing an image editing process on the second original video frame according to the second image editing effect to obtain a second target video frame; adding a second additional image material to the second original video frame at a position corresponding to the foot image to obtain a second target video frame; The image processing method according to claim 4.

6. Determining a first image editing effect corresponding to the first camera includes: After acquiring a first original video frame collected by the first camera, a default image editing effect among the target image editing effects is set as the first image editing effect; or displaying a plurality of image editing effects included in the target image editing effect, and determining an image editing effect selected by a user as the first image editing effect corresponding to the first camera based on a selection operation by the user; The image processing method according to any one of claims 1 to 5.

7. Determining a second image editing effect corresponding to the second camera includes: After acquiring a second original video frame collected by a second camera, default one of the target image editing effects as the second image editing effect; or displaying a plurality of image editing effects included in the target image editing effect, and determining an image editing effect selected by a user as the second image editing effect corresponding to the second camera based on a selection operation by the user; The image processing method according to any one of claims 1 to 6.

8. performing an image editing process on the second original video frame according to the second image editing effect, and obtaining and displaying a second target video frame, and then determining a third image editing effect corresponding to the second camera in response to a trigger operation on a screen; performing an image editing process on the second original video frame according to a third image editing effect, and obtaining and displaying a third target video frame, which is an effect image in which the third image editing effect is applied to the second original video frame; The image processing method according to any one of claims 1 to 7.

9. performing an image editing process on the second original video frame according to the third image editing effect, and obtaining and displaying a third target video frame; Detecting whether a second head image is present in the second original video frame; and if a second head image exists in the second original video frame, performing an image editing process on the second original video frame according to the third image editing effect to obtain and display a third target video frame. The image processing method according to claim 8.

10. performing an image editing process on the second original video frame according to the third image editing effect to obtain a third target video frame; adding a third additional image material to the second original video frame at a position corresponding to the second head image to obtain a third target video frame; The image processing method according to claim 9.

11. the first image editing effect is different from the second image editing effect; The image processing method according to any one of claims 1 to 10.

12. the third image editing effect is different from the second image editing effect; The image processing method according to any one of claims 8 to 10.

13. and when detecting that the user has used the additional image material package for the first time, displaying guide information to prompt the user how to use the additional image material package. The image processing method according to any one of claims 1 to 12.

14. a first original video frame acquisition module for acquiring a first original video frame collected by the first camera in response to an activation operation of the first camera; a first editing effect determination module for determining a first image editing effect corresponding to the first camera; a first target video frame obtaining module for performing image editing processing on the first original video frame according to the first image editing effect, and obtaining and displaying a first target video frame, which is an effect image in which the first image editing effect is applied to the first original video frame; a second original video frame capturing module for switching to a second camera in response to a camera switching command and capturing a second original video frame collected by the second camera; a second editing effect determination module for determining a second image editing effect corresponding to the second camera; and a second target video frame acquisition module for performing image editing processing on the second original video frame according to the second image editing effect, and obtaining and displaying a second target video frame, which is an effect image in which the second image editing effect is applied to the second original video frame.

15. one or more processors; a storage device for storing one or more programs; An electronic device, wherein the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the image processing method according to any one of claims 1 to 13.

16. A computer-readable storage medium storing a computer program which, when executed by a processor, implements the image processing method according to any one of claims 1 to 13.

17. A computer program product comprising a computer program or instructions which, when executed by a processor, causes the image processing method according to any one of claims 1 to 13 to be implemented.

18. A computer program comprising instructions which, when executed by a processor, cause the processor to perform the image processing method according to any one of claims 1 to 13.

Citation Information

Patent Citations

  • Mobile phone with camera

    JP2001223924A

  • Photograph automatic vending machine

    JP2002214688A

  • Imaging device, imaging method and program

    JP2005039451A

  • Information processing device, method, and program

    JP2015023382A

  • Picture shooting game machine, image creation method and image creation program

    JP2016133977A