Shooting method and device

By obtaining user's dressing style characteristics information and using dressing style recognition model recommendation shooting style filters, the problem of being unable to take portrait photos with unique styles and temperaments in the existing technology is solved, and the shooting effect of thousands of people and faces is achieved.

CN114125285BActive Publication Date: 2025-07-08VIVO MOBILE COMM CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111369179.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-18
Publication Date
2025-07-08
Estimated Expiration
2041-11-18

AI Technical Summary

Technical Problem

In the prior art, the cameras of electronic devices cannot take portrait photos with their own unique style and temperament for each user, and cannot achieve the needs of thousands of people.

Method used

By obtaining the user's dressing style feature information displayed in the shooting preview interface, using the preset dressing style recognition model to determine the target dressing style information, and displaying matching shooting style filters to improve the accuracy of the shooting style effect.

Benefits of technology

It has achieved a more in line with the user's personal image recommendation, meeting the portrait photography needs of thousands of people.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114125285B_ABST
    Figure CN114125285B_ABST
Patent Text Reader

Abstract

The present application discloses a shooting method and apparatus. The method includes: when a shooting preview interface is displayed, acquiring feature information of an object displayed in the shooting preview interface for reflecting the user's dressing style; wherein, the feature information includes at least one of user attribute feature information and user dressing attribute feature information; the user dressing attribute feature information includes at least one of user upper body dressing attribute feature information, user lower body dressing attribute feature information, and user dressing type feature information; determining target dressing style information of the object according to the feature information and a preset dressing style recognition model; and displaying a shooting style filter matching the target dressing style information.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the field of image technology, and more specifically, relates to a shooting method and device. Background Art

[0002] In current electronic devices, whether it is the front camera or the rear camera, the portrait effect is relatively single and cannot reflect the unique style and temperament of an individual, that is, it is impossible to meet the demand for portrait photos with different styles for thousands of people. However, both men and women hope to be able to take portrait photos with their own unique styles and temperaments. Summary of the Invention

[0003] The purpose of the embodiments of this application is to provide a shooting method and device, which can solve the problem in the prior art that it is impossible to take portrait photos with the unique styles and temperaments of each user for each user.

[0004] In a first aspect, the embodiments of this application provide a shooting method, and the method includes:

[0005] When displaying a shooting preview interface, obtain feature information of an object displayed in the shooting preview interface for reflecting the user's dressing style; wherein, the feature information includes at least one of user attribute feature information and user dressing attribute feature information; the user dressing attribute feature information includes at least one of user upper body dressing attribute feature information, user lower body dressing attribute feature information, and user dressing type feature information;

[0006] Determine the target dressing style information of the object according to the feature information and a preset dressing style recognition model;

[0007] Display a shooting style filter matching the target dressing style information.

[0008] In a second aspect, the embodiments of this application provide a shooting device, and the device includes:

[0009] An obtaining module, configured to obtain feature information of an object displayed in the shooting preview interface for reflecting the user's dressing style when displaying the shooting preview interface; wherein, the feature information includes at least one of user attribute feature information and user dressing attribute feature information; the user dressing attribute feature information includes at least one of user upper body dressing attribute feature information, user lower body dressing attribute feature information, and user dressing type feature information;

[0010] A determining module, configured to determine the target dressing style information of the object according to the feature information and a preset dressing style recognition model;

[0011] A display module, configured to display a shooting style filter matching the target dressing style information.

[0012] In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instruction stored on the memory and executable on the processor. When the program or instruction is executed by the processor, the steps of the method described in the first aspect are implemented.

[0013] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented.

[0014] In a fifth aspect, an embodiment of the present application provides a chip, which includes a processor and a communication interface. The communication interface is coupled to the processor, and the processor is configured to run a program or instruction to implement the method described in the first aspect.

[0015] In an embodiment of the present application, on the one hand, based on a preset dressing style recognition model and the feature information of the object shown in the shooting preview interface for reflecting the user's dressing style, the target dressing style information of the object is obtained, and then a shooting style filter matching the target dressing style information is recommended, thereby improving the accuracy of shooting style effect recommendation. On the other hand, starting from the user's dressing attribute feature information, a more suitable photo-taking style for the user's personal image can be obtained, realizing the demand for personalized portrait photos. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] The drawings incorporated in the specification and constituting a part of the specification illustrate embodiments of the present invention and, together with the description, are used to explain the principles of the present invention.

[0017] Figure 1 It is a flowchart of the shooting method provided by an embodiment of the present application;

[0018] Figure 2 It is a schematic structural diagram of the shooting device provided by an embodiment of the present application;

[0019] Figure 3 It is a schematic structural diagram of the electronic device provided by an embodiment of the present application;

[0020] Figure 4 It is a schematic structural diagram of the electronic device provided by another embodiment of the present application. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0021] Next, the technical solutions in the embodiments of the present application will be clearly described in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art belong to the scope of protection of the present application.

[0022] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, rather than to describe a specific order or sequence. It should be understood that such data can be interchanged under appropriate circumstances so that the embodiments of the present application can be implemented in an order other than those illustrated or described herein, and the objects distinguished by "first", "second", etc. are usually of the same category, and the number of objects is not limited. For example, the first object can be one or multiple. In addition, "and / or" in the specification and claims means at least one of the connected objects, and the character " / " generally indicates an "or" relationship between the associated objects before and after.

[0023] Next, in conjunction with the accompanying drawings, the shooting method provided by the embodiments of the present application will be described in detail through specific embodiments and their application scenarios.

[0024] Please refer to Figure 1 , which is a flowchart of a shooting method provided by an embodiment of the present application. This method can be applied to an electronic device, which can be a mobile phone, a tablet computer, a laptop computer, etc. Figure 1 In, the shooting method may include the following steps 1100 to 1300, which will be described in detail below.

[0025] Step 1100, in the case of displaying a shooting preview interface, obtain the feature information of the object displayed in the shooting preview interface for reflecting the user's dressing style.

[0026] The shooting preview interface is the interface displayed after entering the camera application. Among them, the shooting object is displayed in the shooting preview interface.

[0027] The feature information for reflecting the user's dressing style includes at least one of user attribute feature information and user dressing attribute feature information.

[0028] The user attribute feature information may be user gender information. For example, the user is female, or the user's gender is male.

[0029] The user dressing attribute feature information includes at least one of user upper body dressing attribute feature information, user lower body dressing attribute feature information, and user dressing type feature information.

[0030] The characteristic information of the user's upper body dressing attributes may include the style of the upper body sleeves, the style of the upper body clothes, the material of the upper body clothes, and the type of the upper body clothes. The style of the upper body sleeves includes, but is not limited to: long sleeves, medium sleeves, three-quarter sleeves, and sleeveless. The style of the upper body clothes includes, but is not limited to: long styles and short styles. The material of the upper body clothes includes, but is not limited to: pure cotton, silk, denim, knitting, sequins, and leather. The type of the upper body clothes includes, but is not limited to: business, casual, sports, and formal dresses.

[0031] The characteristic information of the user's lower body dressing attributes may include the style of the skirt, the style of the pants, the material of the lower body clothes, and the type of the lower body clothes. The style of the skirt includes, but is not limited to: short skirts, mid-length skirts, and long skirts. The style of the pants includes, but is not limited to: shorts, long pants, and three-quarter pants. The material of the lower body clothes includes, but is not limited to: pure cotton, silk, denim, knitting, sequins, and leather. The type of the lower body clothes includes, but is not limited to: jeans, sweatpants, casual pants, and dress pants.

[0032] The characteristic information of the user's dressing type includes, but is not limited to: business, casual, sports, and formal dresses.

[0033] Example 1. The characteristic information used to reflect the user's dressing style has 6 pieces of characteristic information, and the 6 pieces of characteristic information may be the user's gender, the style of the upper body sleeves, the style of the upper body clothes, the material of the upper body clothes, the type of the upper body clothes, and the user's dressing type. Here, the values of the user's gender, the style of the upper body sleeves, the style of the upper body clothes, the material of the upper body clothes, the type of the upper body clothes, and the user's dressing type may be female, long sleeves, long style, pure cotton, shirt, and business, respectively.

[0034] Example 2. The characteristic information used to reflect the user's dressing style has 9 pieces of characteristic information, and the 9 pieces of characteristic information may be the user's gender, the style of the upper body sleeves, the style of the upper body clothes, the material of the upper body clothes, the type of the upper body clothes, the user's dressing type, pants, the material of the lower body clothes, and the type of the lower body clothes. Here, the values of the user's gender, the style of the upper body sleeves, the style of the upper body clothes, the material of the upper body clothes, the type of the upper body clothes, the user's dressing type, pants, the material of the lower body clothes, and the type of the lower body clothes may be female, long sleeves, long style, pure cotton, shirt, business, long pants, pure cotton, and dress pants, respectively.

[0035] In this embodiment, when the shooting preview interface is displayed in step 1100, obtaining the characteristic information of the object displayed in the shooting preview interface for reflecting the user's dressing style may further include the following steps 1110 to 1120:

[0036] Step 1110, obtaining a first image of the object collected by the target camera.

[0037] The target camera can be the front camera or the rear camera in the electronic device.

[0038] It can be understood that when the user takes a selfie of himself / herself, the front camera of the electronic device is usually turned on. Conversely, the rear camera of the electronic device is turned on.

[0039] In one example, obtaining the first image of the object collected by the target camera in step 1110 may further include: when the front camera is in the on state, obtaining the first image of the object collected by the front camera.

[0040] In this example, when the front camera is in the on state, since usually only the upper body of the user is displayed in the shooting preview interface, here, only the upper body image of the object displayed in the shooting preview interface can be collected through the front camera.

[0041] In one example, obtaining the first image of the object collected by the target camera in step 1110 may further include: when the rear camera is in the on state, obtaining the first image of the object collected by the rear camera.

[0042] For example, when the rear camera is in the on state, if the upper body of the user is displayed in the shooting preview interface, only the upper body image of the object displayed in the shooting preview interface can be collected through the rear camera.

[0043] For another example, when the rear camera is in the on state, if the lower body of the user is displayed in the shooting preview interface, the lower body image of the object displayed in the shooting preview interface can be collected through the rear camera.

[0044] In one example, obtaining the first image of the object collected by the target camera in step 1110 may further include: obtaining the first image of the object collected by the target camera at different zoom ratios.

[0045] In this example, when the target camera is the rear camera, in addition to being able to recognize the upper body clothing of the user, it can also recognize the lower body clothing of the user, and then recommend a more accurate clothing style for the user. Here, since when the rear camera recognizes the clothing of the person, the whole body clothing of the user may not be seen due to the distance. Here, the zoom ratio of the rear camera can be changed to recognize the whole body clothing of the user. For example, the first images of the object displayed in the shooting preview interface at different zoom ratios such as zoom ratio 1X and zoom ratio 3X can be collected to assist in recognizing the whole body clothing of the user.

[0046] Step 1120: Identify the first image and obtain the feature information of the object for reflecting the user's dressing style.

[0047] In this embodiment, after capturing the first image of the object displayed on the shooting preview interface through the target camera, the first image can be identified to obtain the feature information of the object for reflecting the user's dressing style.

[0048] In this embodiment, before performing step 1100 to obtain the feature information of the object displayed on the shooting preview interface for reflecting the user's dressing style, the shooting method of the present disclosure may further include steps 2100 to 2300:

[0049] Step 2100: Receive a first input to the shooting preview interface.

[0050] The first input may be a touch input to the shooting preview interface. The touch input may be a click input, and the click input may be a single click input, for example.

[0051] Exemplarily, when the shooting preview interface is displayed, a shooting function is displayed on the shooting preview interface, which may include, but is not limited to: a video function, a shooting function, a slow motion function, and a portrait function. Here, the first input may be the user's input for clicking the "portrait function".

[0052] Step 2200: In response to the first input, control the electronic device to enter the portrait shooting mode.

[0053] Continuing with the above example, after the user clicks the "portrait function", the electronic device can be controlled to enter the portrait shooting mode, and only when the electronic device enters the portrait shooting mode, the step of obtaining the feature information of the object displayed on the shooting preview interface for reflecting the user's dressing style is executed.

[0054] After performing the step of obtaining the feature information of the object displayed on the shooting preview interface for reflecting the user's dressing style when the shooting preview interface is displayed, enter:

[0055] Step 1200: Determine the target dressing style information of the object according to the feature information and a preset dressing style recognition model.

[0056] The preset dressing style recognition model is used to identify the dressing style information of the object. The input of the preset dressing style recognition model is the above-mentioned feature information of the object for reflecting the user's dressing style, and the output is the dressing style information of the object. The user's dressing style information includes, but is not limited to: solid color simplicity, elegant intellectuality, sweet cool, dark, fresh, and youthful campus.

[0057] In this embodiment, after obtaining the feature information of the object shown in the shooting preview interface for reflecting the user's dressing style according to the above step 1100, the feature information can be substituted into a preset dressing style recognition model to obtain the target dressing style information of the object shown in the shooting preview interface.

[0058] After determining the target dressing style information of the object according to the feature information and the preset dressing style recognition model, enter:

[0059] Step 1300, display a shooting style filter matching the target dressing style information.

[0060] In this embodiment, after identifying the target dressing style information of the object shown in the shooting preview interface, a shooting style filter matching the target dressing style information can be recommended and displayed. It can be understood that the matching shooting style filter can be one or more, and this embodiment does not limit this here.

[0061] According to the embodiments of the present application, on the one hand, based on a preset dressing style recognition model and the feature information of the object shown in the shooting preview interface for reflecting the user's dressing style, the target dressing style information of the object is obtained, and then a shooting style filter matching the target dressing style information is recommended, thereby improving the accuracy of shooting style effect recommendation. On the other hand, since it starts from the user's dressing attribute feature information, a more suitable photo-taking style for the user's personal image can be obtained, meeting the need for personalized portrait photos.

[0062] In one embodiment, after performing the above step 1300 to display a shooting style filter matching the target dressing style information, the shooting method of the embodiments of the present disclosure can further include the following steps 3100 to 3200:

[0063] Step 3100, receive a second input to the shooting preview interface.

[0064] The second input can be a touch input to the shooting preview interface, and this touch input can be a click input, and this click input can be a single click input for example.

[0065] Exemplarily, when the shooting preview interface is displayed, a shooting button is displayed in the shooting preview interface. Here, the second input can be an input where the user clicks the "shooting button".

[0066] Step 3200, in response to the second input, perform shooting on the object based on the shooting style filter.

[0067] In one example, when only one matching shooting style filter is obtained, in response to the second input, the object can be directly shot based on this shooting style filter.

[0068] Continuing with the above example, after clicking the capture button, the object can be shot based on the one matching shooting style filter obtained.

[0069] In one example, when multiple matching shooting style filters are obtained, the user can first determine the target shooting style filter from the multiple shooting style filters, and then receive the second input to the shooting preview interface, and in response to this second input, shoot the object based on the target shooting style filter.

[0070] According to this embodiment, it can shoot the object displayed in the shooting preview interface based on the matching shooting style filter, so as to obtain a shooting style that better suits the user's personal image, and meet the demand for personalized portrait photos.

[0071] In one embodiment, before performing step 1100 above to obtain the feature information of the object displayed in the shooting preview interface for reflecting the user's dressing style, the shooting method of the embodiments of the present disclosure may further include the following steps 4100 to 4400:

[0072] Step 4100, obtain accurate user images of the user's dressing style as training samples.

[0073] According to this step 4100, the mapping function can be trained with the training samples to obtain the above-mentioned preset dressing style recognition model.

[0074] Each training sample includes the corresponding feature information of the object for reflecting the user's dressing style and the dressing style information of this object.

[0075] The more the number of training samples, the more accurate the training result is usually. However, after the number of training samples reaches a certain amount, the increase in the accuracy of the training result will become slower and slower until it stabilizes. Here, the number of required training samples can be determined by taking into account both the accuracy of the training result and the data processing cost.

[0076] Step 4200, obtain the above-mentioned preset dressing style recognition model according to the training samples.

[0077] According to this embodiment, the dressing style recognition model can be trained with the training samples to obtain the above-mentioned preset dressing style recognition model.

[0078] In this embodiment, a preset dressing style recognition model can be obtained by various fitting means based on the feature information of the object in the training samples for reflecting the user's dressing style and the dressing style information of the object. For example, a preset dressing style recognition model can be obtained by using any multiple linear regression model, which is not limited herein.

[0079] The multiple linear regression model can be a polynomial function that simply reflects the preset dressing style recognition model. Among them, the coefficients of each order of the polynomial function are unknown. By substituting the vector values of the feature vectors of the training samples and the corresponding user dressing styles into the polynomial function, the coefficients of each order of the polynomial function can be determined, and then the preset dressing style recognition model can be obtained.

[0080] According to this embodiment, a preset dressing style recognition model can be trained based on the feature information of the object in each training sample for reflecting the user's dressing style and the dressing style information of the object.

[0081] Next, a shooting method of an example is shown. In this example, the shooting method includes the following steps:

[0082] Step 5100, display a shooting preview interface.

[0083] Step 5200, receive a first input to the shooting preview interface.

[0084] Step 5200, in response to the first input, control the electronic device to enter the portrait shooting mode and turn on the front camera of the electronic device.

[0085] Step 5300, acquire a first image of the object collected by the front camera.

[0086] Step 5400, recognize the first image to obtain the feature information of the object for reflecting the user's dressing style.

[0087] Example 1, the feature information for reflecting the user's dressing style has 6 pieces of feature information, and the 6 pieces of feature information can be the user's gender, the style of the upper body sleeves, the style of the upper body clothes, the material of the upper body clothes, the type of the upper body clothes, and the user's dressing type. Here, the values of the user's gender, the style of the upper body sleeves, the style of the upper body clothes, the material of the upper body clothes, the type of the upper body clothes, and the user's dressing type can be female, long sleeves, long style, pure cotton, shirt, and business respectively.

[0088] Step 5500, obtain the target dressing style information of the object according to the above feature information and the preset dressing style recognition model.

[0089] Step 5600, display a shooting style filter matching the target dressing style information.

[0090] Step 5700: Receive a second input for the shooting preview interface.

[0091] Step 5800: In response to the second input, shoot the object based on the shooting style filter.

[0092] According to this example, starting from the user's dressing attribute characteristics, a more user - tailored shooting style can be obtained, meeting the need for personalized portrait photos for thousands of users.

[0093] It should be noted that for the shooting method provided in the embodiments of this application, the execution subject can be a shooting device or a control module in the shooting device for executing the shooting method. In the embodiments of this application, the shooting control method executed by the shooting device is taken as an example to illustrate the shooting device provided in the embodiments of this application.

[0094] Corresponding to the above - mentioned embodiments, see Figure 2 In the embodiments of this application, a shooting device 200 is further provided. The device 200 includes an acquisition module 201, a determination module 202, and a display module 203.

[0095] The acquisition module 201 is configured to, when the shooting preview interface is displayed, acquire feature information of the object displayed in the shooting preview interface for reflecting the user's dressing style; wherein, the feature information includes at least one of user attribute feature information and user dressing attribute feature information; the user dressing attribute feature information includes at least one of user upper - body dressing attribute feature information, user lower - body dressing attribute feature information, and user dressing type feature information.

[0096] The determination module 202 is configured to determine the target dressing style information of the object according to the feature information and a preset dressing style recognition model.

[0097] The display module 203 is configured to display a shooting style filter matching the target dressing style information.

[0098] In one embodiment, the device 200 further includes a control module and a first reception module (not shown in the figure).

[0099] The first reception module is configured to receive a first input for the shooting preview interface;

[0100] The control module is configured to, in response to the first input, control the electronic device to enter the portrait shooting mode.

[0101] In one embodiment, the acquisition module 201 is specifically configured to: acquire a first image of the object collected by a target camera; and identify the first image to obtain the feature information of the object for reflecting the user's dressing style.

[0102] In one embodiment, the obtaining module 201 is specifically configured to: obtain first images of the object collected by the target camera at different zoom ratios.

[0103] In one embodiment, the apparatus 200 further includes a second receiving module and a photographing module (not shown in the figure).

[0104] The second receiving module is configured to receive a second input to the photographing preview interface.

[0105] The photographing module is configured to photograph the object based on the photographing style filter in response to the second input.

[0106] In an embodiment of the present application, on the one hand, according to a preset dressing style recognition model and feature information of the object displayed in the photographing preview interface for reflecting the user's dressing style, the target dressing style information of the object is obtained, and then a photographing style filter matching the target dressing style information is recommended, thereby improving the accuracy of the recommendation of the photographing style effect. On the other hand, starting from the user's dressing attribute feature information, a photographing style that is more in line with the user's personal image can be obtained, realizing the demand for portrait photos with different styles for different people.

[0107] The photographing apparatus in the embodiment of the present application may be a device, or a component, an integrated circuit, or a chip in a terminal. The device may be a mobile electronic device or a non-mobile electronic device. Exemplarily, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a handheld computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (PDA), etc., and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a personal computer (PC), a television (TV), a teller machine, or a self-service machine, etc. The embodiment of the present application does not make a specific limitation.

[0108] The photographing apparatus in the embodiment of the present application may be a device with an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems. The embodiment of the present application does not make a specific limitation.

[0109] The photographing apparatus provided in the embodiment of the present application can implement each process implemented in the above method embodiment. To avoid repetition, it will not be described in detail here.

[0110] Corresponding to the above embodiments, optionally, as Figure 3 shown, an embodiment of the present application further provides an electronic device 300, including a processor 301, a memory 302, a program or instruction stored on the memory 302 and operable on the processor 301. When the program or instruction is executed by the processor 301, it implements each process of the above-described shooting method embodiment and can achieve the same technical effects. To avoid repetition, it will not be elaborated here.

[0111] It should be noted that the electronic device in the embodiment of the present application includes the above-mentioned mobile electronic device and non-mobile electronic device.

[0112] Figure 4 It is a schematic diagram of the hardware structure of an electronic device according to an embodiment of the present application.

[0113] The electronic device 400 includes but is not limited to: a radio frequency unit 401, a network module 402, an audio output unit 403, an input unit 404, a sensor 405, a display unit 406, a user input unit 407, an interface unit 408, a memory 409, and a processor 410, etc.

[0114] Those skilled in the art can understand that the electronic device 400 may further include a power source (such as a battery) for supplying power to each component. The power source can be logically connected to the processor 410 through a power management system, so as to implement functions such as management of charging, discharging, and power consumption management through the power management system. Figure 4 The structure of the electronic device shown in does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown, or combine certain components, or have different component arrangements, which will not be elaborated here.

[0115] Among them, the processor 410 is used to obtain, when the shooting preview interface is displayed, the feature information of the object displayed in the shooting preview interface for reflecting the user's dressing style; wherein, the feature information includes at least one of user attribute feature information and user dressing attribute feature information; the user dressing attribute feature information includes at least one of user upper body dressing attribute feature information, user lower body dressing attribute feature information, and user dressing type feature information.

[0116] In one embodiment, the processor 410 is further used to receive a first input to the shooting preview interface; in response to the first input, control the electronic device to enter the portrait shooting mode.

[0117] In one embodiment, the processor 410 is further used to obtain a first image of the object collected by a target camera; identify the first image to obtain the feature information of the object for reflecting the user's dressing style.

[0118] In one embodiment, the processor 410 is further configured to obtain the first image of the object captured by the target camera at different zoom ratios.

[0119] In one embodiment, the processor 410 is further configured to receive a second input to the shooting preview interface; in response to the second input, capture the object based on the shooting style filter.

[0120] In an embodiment of the present application, on the one hand, according to a preset dressing style recognition model and the feature information of the object displayed in the shooting preview interface for reflecting the user's dressing style, the target dressing style information of the object is obtained, and then a shooting style filter matching the target dressing style information is recommended, thereby improving the accuracy of shooting style effect recommendation. On the other hand, starting from the user's dressing attribute feature information, a more suitable photo-taking style for the user's personal image can be obtained, realizing the need for personalized portrait photos.

[0121] It should be understood that in the embodiment of the present application, the input unit 404 may include a Graphics Processing Unit (GPU) 4041 and a microphone 4042. The graphics processor 4041 processes the image data of static pictures or videos obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The display unit 406 may include a display panel 4061, and the display panel 4061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 407 includes a touch panel 4071 and other input devices 4072. The touch panel 4071 is also called a touch screen. The touch panel 4071 may include two parts: a touch detection device and a touch controller. The other input devices 4072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, power on / off keys, etc.), a trackball, a mouse, and a joystick, which will not be elaborated here. The memory 409 may be used to store software programs and various data, including but not limited to application programs and operating systems. The processor 410 may integrate an application processor and a modem processor. Among them, the application processor mainly processes the operating system, user interface, application programs, etc., and the modem processor mainly processes wireless communication. It can be understood that the above modem processor may not be integrated into the processor 410.

[0122] The embodiment of the present application further provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, it implements each process of the above information search method embodiment and can achieve the same technical effect. To avoid repetition, it will not be elaborated here.

[0123] Among them, the processor is the processor in the electronic device described in the foregoing embodiment. The readable storage medium includes computer-readable storage media, such as computer read-only memory (ROM), random access memory (RAM), magnetic disk, or optical disc, etc.

[0124] Another embodiment of the present application provides a chip, which includes a processor and a communication interface. The communication interface is coupled to the processor. The processor is used to run programs or instructions to implement each process of the foregoing embodiment of the information search method, and can achieve the same technical effects. To avoid repetition, it will not be elaborated here.

[0125] It should be understood that the chip mentioned in the embodiments of the present application may also be referred to as a system-on-chip, system chip, chip system, or system-on-chip, etc.

[0126] It should be noted that in this article, the term "including", "comprising", or any other variant thereof is intended to cover a non-exclusive inclusion, such that a process, method, article, or device including a series of elements not only includes those elements, but also includes other elements not explicitly listed, or further includes elements inherent to such process, method, article, or device. Without further limitation, an element defined by the statement "including a..." does not exclude the existence of additional identical elements in the process, method, article, or device including the element. In addition, it should be pointed out that the methods and devices in the embodiments of the present application are not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in a reverse order according to the functions involved. For example, the methods described may be performed in an order different from that described, and various steps may be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.

[0127] Through the description of the above embodiments, those skilled in the art can clearly understand that the methods in the above embodiments can be implemented by means of software plus a necessary general hardware platform. Of course, they can also be implemented by hardware, but in many cases, the former is a better implementation method. Based on such an understanding, the technical solution of the present application, in essence, or the part that contributes to the prior art, can be embodied in the form of a computer software product. The computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disc), and includes several instructions to enable a terminal (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in the various embodiments of the present application.

[0128] The embodiments of the present application have been described above in conjunction with the accompanying drawings. However, the present application is not limited to the above specific embodiments. The above specific embodiments are merely illustrative and not restrictive. Under the inspiration of the present application, those of ordinary skill in the art can also make many forms without departing from the purpose of the present application and the scope protected by the claims, and all of them fall within the protection scope of the present application.

Claims

1. A shooting method, characterized in that, The method includes: When the electronic device enters the portrait shooting mode and displays the shooting preview interface, obtaining the feature information of the object displayed in the shooting preview interface for reflecting the user's dressing style; wherein, the feature information includes user attribute feature information and user dressing attribute feature information; the user attribute feature information is the user's gender information, and the user dressing attribute feature information includes: user upper body dressing attribute feature information, user lower body dressing attribute feature information, and user dressing type feature information. The user upper body dressing attribute feature information includes the material of the upper body clothes, the user lower body dressing attribute feature information includes the material of the lower body clothes, and the user dressing type feature information includes business, casual, sporty, and formal; Determining the target dressing style information of the object according to the feature information and a preset dressing style recognition model; Displaying a shooting style filter matching the target dressing style information.

2. The method according to claim 1, characterized in that, Before obtaining the feature information of the object displayed in the shooting preview interface for reflecting the user's dressing style, it further includes: Receiving a first input to the shooting preview interface; In response to the first input, controlling the electronic device to enter the portrait shooting mode.

3. The method according to claim 1, wherein The obtaining of the feature information of the object displayed in the shooting preview interface for reflecting the user's dressing style includes: Obtaining a first image of the object collected by a target camera; Identifying the first image to obtain the feature information of the object for reflecting the user's dressing style.

4. The method according to claim 3, wherein The obtaining of the image of the object collected by the target camera includes: Obtaining the first image of the object collected by the target camera at different zoom ratios.

5. The method according to claim 1, characterized in that, After displaying the shooting style filter matching the target dressing style information, it further includes: Receiving a second input to the shooting preview interface; In response to the second input, shooting the object based on the shooting style filter.

6. A photographing device, characterized in that, The device includes: An obtaining module, configured to obtain the feature information of the object displayed in the shooting preview interface for reflecting the user's dressing style when the electronic device enters the portrait shooting mode and displays the shooting preview interface; wherein, the feature information includes user attribute feature information and user dressing attribute feature information; the user attribute feature information is the user's gender information, and the user dressing attribute feature information includes: user upper body dressing attribute feature information, user lower body dressing attribute feature information, and user dressing type feature information. The user upper body dressing attribute feature information includes the material of the upper body clothes, the user lower body dressing attribute feature information includes the material of the lower body clothes, and the user dressing type feature information includes business, casual, sporty, and formal; A determining module, configured to determine the target dressing style information of the object according to the feature information and a preset dressing style recognition model; A display module, configured to display a shooting style filter matching the target dressing style information.

7. The device according to claim 6, characterized in that The device further includes a control module and a first receiving module: The first receiving module is configured to receive a first input to the shooting preview interface; The control module is configured to control the electronic device to enter the portrait shooting mode in response to the first input.

8. The device according to claim 6, characterized in that, The acquisition module is specifically configured to: Acquire a first image of the object captured by the target camera; Identify the first image to obtain feature information of the object for reflecting the user's dressing style.

9. The device according to claim 8, characterized in that, The acquisition module is specifically configured to: Acquire first images of the object captured by the target camera at different zoom ratios.

10. The device according to claim 6, characterized in that, The apparatus further includes a second receiving module and a shooting module, The second receiving module is configured to receive a second input to the shooting preview interface; The shooting module is configured to shoot the object based on the shooting style filter in response to the second input.

Citation Information

Patent Citations

  • Filter adjustment method and mobile terminal

    CN109462727A

  • Picture processing method and electronic equipment

    CN111161133A