Image shooting method and device, electronic equipment and storage medium
By providing shooting assistance functions in the terminal shooting interface, it helps users adjust composition methods, human postures and shooting parameters, solving the problem of high learning costs and inefficient interactions when shooting images, and improving shooting efficiency and image quality.
Patent Information
- Application Number
- CN202311632397.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-30
- Publication Date
- 2025-05-30
AI Technical Summary
When users use the terminal to take pictures, they need to select appropriate shooting locations and parameters, resulting in high learning costs and low human-computer interaction efficiency.
By displaying the shooting assist controls in the shooting interface, the shooting assist function is activated, and prompt information is provided based on the recognition results of the preview image, helping users adjust the composition method, human posture and shooting parameters until the difference between the preview image and the target image is less than the threshold.
It improves the human-computer interaction efficiency when users take images, allowing users to more easily capture the expected image and approach the target image.
Smart Images

Figure CN120075585A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of computer technology, and particularly to an image shooting method, apparatus, electronic device, and storage medium. Background Art
[0002] With the development of terminal technology, the shooting performance of terminals has been continuously improved, and the images captured by terminals are already close to those captured by professional devices. Moreover, due to the portability of terminals, more and more people are accustomed to using terminals for shooting. However, for users to capture the expected images with terminals, they need to select both appropriate shooting positions and appropriate shooting parameters, resulting in a relatively high learning cost for users and low human-computer interaction efficiency. Therefore, how to assist users in efficiently capturing the expected images and improving human-computer interaction efficiency is a technical problem that urgently needs to be solved. Summary of the Invention
[0003] Embodiments of this application provide an image shooting method, apparatus, electronic device, and storage medium, which can enable the images captured by users with the assistance of prompt information to be as close as possible to the images expected by users, thereby improving human-computer interaction efficiency. The technical solutions are as follows:
[0004] According to one aspect of the embodiments of this application, an image shooting method is provided. The method includes:
[0005] Responding to a trigger operation on a shooting assistance control displayed in the shooting interface of the terminal to activate the shooting assistance function;
[0006] Identifying the preview image in the shooting interface based on the shooting assistance function to obtain prompt information, where the prompt information is used to prompt at least one of adjusting the composition method of shooting the preview image, adjusting the posture of the human body in the preview image, and adjusting shooting parameters;
[0007] When the preview image in the shooting interface is updated due to adjusting the shooting method according to the prompt information, displaying the updated prompt information until the difference between the preview image and the target image is less than the difference threshold, where the target image is an optimized image of the preview image;
[0008] Responding to a shooting operation and performing image shooting based on the adjusted shooting method.
[0009] According to another aspect of the embodiments of this application, an image shooting apparatus is provided. The apparatus includes:
[0010] A function activation module, configured to respond to a trigger operation on a shooting assistance control displayed in the shooting interface of the terminal to activate the shooting assistance function;
[0011] An image recognition module, configured to recognize a preview image in the shooting interface based on the shooting assistance function, so as to obtain a prompt message, where the prompt message is used to prompt at least one of adjusting the composition method of shooting the preview image, adjusting the posture of the human body in the preview image, and adjusting shooting parameters;
[0012] An information display module, configured to display the updated prompt message until the difference between the preview image and the target image is less than a difference threshold when the shooting method is adjusted according to the prompt message, resulting in an update of the preview image in the shooting interface, where the target image is an image obtained by optimizing the preview image;
[0013] An image shooting module, configured to perform image shooting based on the adjusted shooting method in response to a shooting operation.
[0014] According to another aspect of the embodiments of the present application, an electronic device is provided. The electronic device includes a processor and a memory; the memory stores at least one program code, and the at least one program code is configured to be executed by the processor to implement the image shooting method as described in the above aspect.
[0015] According to another aspect of the embodiments of the present application, a computer-readable storage medium is provided. The storage medium stores at least one program code, and the at least one program code is configured to be executed by a processor to implement the image shooting method as described in the above aspect.
[0016] According to another aspect of the embodiments of the present application, a chip is provided. The chip includes a programmable logic circuit and / or program instructions, and when the chip runs on a computer device, it is configured to implement the image shooting method as described in the above aspect.
[0017] According to another aspect of the embodiments of the present application, a computer program product is provided. The computer program product stores at least one program code, and the at least one program code is configured to be executed by a processor to implement the image shooting method as described in the above aspect.
[0018] The embodiments of the present application provide an image shooting method. By recognizing the preview image in the shooting interface during the shooting process, it is possible to provide shooting guidance to the user based on the recognition result from dimensions such as the composition method of shooting, the posture of the human body, and shooting parameters in the form of prompt information, so that the image obtained by the user based on the assistance of the prompt information is as close as possible to the image expected by the user, improving the human-computer interaction efficiency. Description of the Drawings
[0019] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0020] Figure 1 It is a schematic diagram of an implementation environment of an image capturing method provided in an embodiment of the present application;
[0021] Figure 2 is a flow chart of an image capturing method provided by an embodiment of the present application;
[0022] Figure 3 is a flow chart of another image capturing method provided by an embodiment of the present application;
[0023] Figure 4 is a schematic diagram of a shooting interface provided according to an embodiment of the present application;
[0024] Figure 5 It is a schematic diagram of a training process of a recognition model provided according to an embodiment of the present application;
[0025] Figure 6 It is a schematic diagram of a training process of a generation model provided according to an embodiment of the present application;
[0026] Figure 7 is a schematic diagram of prompt information provided according to an embodiment of the present application;
[0027] Figure 8 is a schematic diagram of another prompt information provided according to an embodiment of the present application;
[0028] Figure 9 is a schematic diagram of another prompt information provided according to an embodiment of the present application;
[0029] Figure 10 is a schematic diagram of another prompt information provided according to an embodiment of the present application;
[0030] Figure 11 is a schematic diagram of another prompt information provided according to an embodiment of the present application;
[0031] Figure 12 is a flowchart of an auxiliary shooting method exemplarily shown according to an embodiment of the present application;
[0032] Figure 13 is a flow chart of another image capturing method provided according to an embodiment of the present application;
[0033] Figure 14It is a schematic structural diagram of an image capturing device provided by an embodiment of the present application;
[0034] Figure 15 It is a block diagram of the structure of an electronic device provided by an embodiment of the present application. Detailed implementation manners
[0035] To make the objectives, technical solutions, and advantages of the present application clearer, the following will further describe the embodiments of the present application in detail with reference to the accompanying drawings.
[0036] As used herein, "at least one" means one or more, and "a plurality" means two or more. "And / or" describes the association relationship of associated objects and indicates that three relationships may exist. For example, A and / or B may represent: A exists alone, A and B exist simultaneously, and B exists alone. The character " / " generally represents an "or" relationship between the associated objects before and after.
[0037] It should be noted that the information (including but not limited to user device information, user personal information, etc.), data (including but not limited to data for analysis, stored data, displayed data, etc.), and signals involved in the present application are all authorized by the user or fully authorized by all parties, and the collection, use, and processing of relevant data need to comply with the relevant laws, regulations, and standards of relevant countries and regions. For example, the mode identifier, activation priority, and security level of the customization mode involved in the present application are obtained under full authorization.
[0038] The image capturing method provided by the embodiments of the present application can be executed by an electronic device. Taking the electronic device as a terminal as an example, Figure 1 It is a schematic diagram of the implementation environment of an image capturing method provided by an embodiment of the present application. Refer to Figure 1 , this implementation environment includes a terminal 101. In some embodiments, this implementation environment further includes a server 102. The terminal 101 and the server 102 are connected through a wireless network.
[0039] In some embodiments, the terminal 101 can be various types of terminals such as a mobile phone, a desktop computer, a laptop computer, a tablet computer, a smart voice interaction device, and a vehicle-mounted terminal. The terminal 101 is configured with a capturing module, such as a camera module, or is connected to a capturing device, such as an external camera. The terminal 101 is installed with an application program for capturing, and this application program can be a system-native camera program or a third-party multi-capturing program, and the embodiments of the present application do not limit this.
[0040] In some embodiments, the server 102 is an independent physical server, and can also be a server cluster or a distributed system composed of multiple physical servers. It can also be a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN (Content Delivery Network), and big data and artificial intelligence platforms. The server 102 is used to provide background services for the terminal 101.
[0041] In some embodiments, the server 102 undertakes the main computing work, and the terminal 101 undertakes the secondary computing work; or, the server 102 undertakes the secondary computing work, and the terminal 101 undertakes the main computing work; or, a distributed computing architecture is adopted between the server 102 and the terminal 101 for collaborative computing.
[0042] Figure 2 It is a flowchart of an image capturing method provided by an embodiment of the present application. In this method, the electronic device can be configured as a terminal. In the embodiments of the present application, it is described by taking the execution by the terminal as an example. Refer to Figure 2 , the method includes:
[0043] 201. In response to a trigger operation on a shooting assistance control displayed in the shooting interface of the terminal, start the shooting assistance function.
[0044] In the embodiments of the present application, the shooting interface of the terminal can be the shooting interface of the terminal's native camera, or can also be the shooting interface provided by an application installed on the terminal. The embodiments of the present application do not limit this. The shooting interface displays a shooting assistance control and a preview image collected by the camera. Among them, the shooting assistance control is used to control the opening and closing of the shooting assistance function. By triggering the shooting assistance control, the user can turn on the shooting assistance function.
[0045] 202. Based on the shooting assistance function, identify the preview image in the shooting interface to obtain a prompt message, where the prompt message is used to prompt at least one of adjusting the composition method of the shooting preview image, adjusting the posture of the human body in the preview image, and adjusting shooting parameters.
[0046] In the embodiments of the present application, the shooting assistance function determines how to assist the user in shooting by identifying the preview image, and then generates a prompt message. The user is assisted through the prompt message. Among them, the target user is the user using the terminal, and the prompt message is used to prompt at least one of adjusting the composition method of shooting, adjusting the posture of the human body in the preview image, and adjusting shooting parameters. By displaying the prompt message, the user is prompted on how to adjust the composition method, or how to adjust the human body posture, or how to adjust the shooting parameters.
[0047] 203. When the shooting method is adjusted according to the prompt information and the preview image in the shooting interface is updated, display the updated prompt information until the difference between the preview image and the target image is less than the difference threshold.
[0048] In the embodiments of the present application, if the user makes an adjustment according to the prompt information, such as adjusting the position of the camera, the preview image will be updated. Correspondingly, the terminal can update the prompt information according to the updated preview image for further shooting assistance. The target image is an image obtained by optimizing the preview image, that is, the image expected by the user.
[0049] 204. In response to the shooting operation, perform image shooting based on the adjusted shooting method.
[0050] In the embodiments of the present application, through the shooting assistance of the prompt information, the user can adjust the composition method, body posture, and shooting parameters multiple times until a satisfactory shooting effect is obtained. After the user is satisfied, the user can trigger the shooting operation to perform image shooting.
[0051] The embodiments of the present application provide an image shooting method. By recognizing the preview image in the shooting interface during the shooting process, it is possible to provide shooting guidance to the user from adjustment dimensions such as the composition method of shooting, the posture of the human body, and shooting parameters based on the recognition result, so that the image captured by the user based on the assistance of the prompt information is as close as possible to the image expected by the user, improving the human-computer interaction efficiency.
[0052] Figure 3 It is a flowchart of another image shooting method provided by the embodiments of the present application. In the embodiments of the present application, it is described by taking the execution by the terminal as an example. Refer to Figure 3 , the method includes:
[0053] 301. Display the shooting interface of the terminal, and the shooting interface displays a preview image and shooting assistance controls.
[0054] In the embodiments of the present application, the user can take pictures or videos through the shooting interface. The embodiments of the present application are described by taking the assistance of the user in taking pictures as an example. The user starts the native camera program or other shooting programs of the terminal. The terminal displays the shooting interface, and the user can view the preview image through the viewfinder in the shooting interface. In addition to the viewfinder, the shooting interface also includes multiple parameter adjustment controls and shooting assistance controls. The user triggers the shooting assistance control to turn on or off the shooting assistance function.
[0055] For example, refer to Figure 4 as shown, Figure 4It is a schematic diagram of a shooting interface provided according to an embodiment of the present application. The shooting interface includes a viewfinder 401 and a control area 402. A shooting assistance control 403 is displayed in the control area 402. As Figure 4 shown in (a) of Figure 4 , the shooting assistance control is in an untriggered state, indicating that the shooting assistance function is not enabled. As
[0056] 302. In response to a trigger operation on the shooting assistance control, start the shooting assistance function.
[0057] In the embodiment of the present application, a shooting assistance control and a preview image collected by a camera are displayed on the shooting interface. Among them, the shooting assistance control is used to control the opening and closing of the shooting assistance function. The user can trigger the shooting assistance control to turn on the shooting assistance function.
[0058] 303. Based on the shooting assistance function, identify the preview image in the shooting interface to obtain multiple adjustment dimensions that need to be adjusted and the adjustment methods quantified for each adjustment dimension.
[0059] In the embodiment of the present application, the multiple adjustment dimensions include adjustment dimensions belonging to the composition method, adjustment dimensions belonging to the human body posture, and adjustment dimensions belonging to the shooting parameters. Such as differences in shooting angles, shooting focal lengths, human body postures, color temperatures, and color tones.
[0060] In some embodiments, the shooting assistance function can be implemented based on an artificial intelligence assistance model. When the shooting assistance function is turned on, the terminal obtains a preview image and inputs the preview image into the artificial intelligence assistance model. Among them, the artificial intelligence assistance model is used to determine the difference between the input image and the target image. The target image is an image obtained by optimizing the input image based on the historical shooting preferences of the target user by the artificial intelligence assistance model. The target user is the user using the terminal.
[0061] In some embodiments, the artificial intelligence assistance model includes an identification model and a generation model. The terminal identifies the preview image in the shooting interface based on the shooting assistance function to obtain multiple adjustment dimensions that need to be adjusted and the adjustment methods quantified for each adjustment dimension, including the following (1)-(5).
[0062] (1) The terminal uses the identification model to identify the image category to which the preview image belongs. Based on this image category, the scene included in the preview image can be determined, such as scenery, people, buildings, and animals.
[0063] (2) The terminal determines the target preference feature data belonging to the image category from the historical preference feature data of the target user.
[0064] In the embodiments of the present application, the terminal can obtain corresponding historical preference feature data according to the image category to which the preview image belongs. Correspondingly, the terminal first obtains a plurality of historical preference feature data according to the image category to which the preview image belongs, then extracts features from the preview image to obtain preview image features, and obtains historical preference feature data with a similarity greater than the similarity threshold to the preview image features from the above-mentioned plurality of historical preference feature data as target preference feature data.
[0065] Among them, the historical preference feature data of the target user is the preference feature data extracted according to the historical shooting behavior of the target user using this terminal. This historical preference feature data can reflect the shooting habits and shooting needs of the target user. For example, the target user likes to use filters, or the target user likes to shoot landscapes, etc.
[0066] It should be noted that the steps of feature extraction from the preview image include: performing data preprocessing on the preview image, such as enhancement, noise reduction, or rotation, etc. Then, low-level features and high-level features are extracted. Among them, the low-level features include edge features and texture features. The high-level features include object features and scene features. Then, the features are processed such as dimensionality reduction and normalization.
[0067] (3) Process the target preference feature data based on the generative model in the artificial intelligence assistance model to obtain a target image.
[0068] In the embodiments of the present application, the terminal generates a new image through the historical preference feature data obtained in step (2), and this new image is called the target image. The target image is optimized from the preview image through the historical preference feature data. In other words, the content in the target image is the same as the content in the preview image, but the display effect of the target image is better than that of the preview image. For example, the target image uses filters, adjusts the focal length, adjusts the shooting angle, etc.
[0069] The training steps of the artificial intelligence assistance model are described below. The training steps are divided into two parts. The first part is to train an identification model based on the first sample image set. Among them, the first sample image set includes sample images of multiple categories and the category labels of each sample image. The second part is to train the generative model based on the second sample image set and multiple groups of reference images. Among them, the second sample image set includes the historical shooting images of the target user, and the multiple groups of reference images are used to provide references for shooting effects.
[0070] First, introduce the first part. The sample images in the first sample image set include various categories of sample images, such as landscape images, portrait images, building images, and animal images, etc. The recognition model is a deep learning model. Through the sample images in the first sample image set and the category labels of the sample images, the recognition model can be supervised trained to improve the recognition accuracy of the recognition model.
[0071] For example, refer to Figure 5 as shown Figure 5 is a schematic diagram of a training process of a recognition model provided according to an embodiment of the present application. Figure 5 In (a) therein, the training process of the recognition model is exemplarily shown, Figure 5 and in (b) therein, the verification process of the recognition model is exemplarily shown.
[0072] Secondly, introduce the second part. The second sample image set includes images taken by the target user in a historical time period, called historical captured images. The reference images are images with good shooting effects, such as the photographic works of professionals or highly praised works on the Internet, etc. The terminal performs data preprocessing on the historical captured images, such as normalization, noise reduction, and enhancement, etc. Then feature extraction is performed, such as illumination features, color features, composition features, and aesthetic features, etc. Then the features are processed, such as dimensionality reduction, normalization, etc. Finally, a historical captured feature set corresponding to the second sample image set is obtained. The historical captured feature set includes the image features corresponding to each historical captured image in the second sample image set. The terminal inputs the image features in the historical captured feature set into the generation model, and uses the reference image as the training target to train the generation model.
[0073] For example, refer to Figure 6 as shown Figure 6 is a schematic diagram of a training process of a generation model provided according to an embodiment of the present application. Figure 6 In (a) therein, the training process of the generation model is exemplarily shown, Figure 6 and in (b) therein, the verification process of the generation model is exemplarily shown. Figure 6 In (c) therein, the process of generating the historical captured feature set based on the second sample image set is exemplarily shown.
[0074] It should be noted that the model structures of the above recognition model and generation model are not limited in the embodiments of the present application.
[0075] (4) Determine the image difference information based on the difference between the target image and the preview image.
[0076] In the embodiments of the present application, the image difference information is used to indicate the differences between the target image and the preview image in each adjustment dimension, such as the difference in shooting angle, the difference in shooting focal length, the difference in human body posture, the color temperature difference, and the hue difference, etc.
[0077] (5) The terminal determines multiple adjustment dimensions to be adjusted and the adjustment method quantified for each adjustment dimension based on the preview shooting information and the image difference information.
[0078] In the embodiment of the present application, since it is desired to provide the user with shooting assistance in multiple dimensions, the terminal can determine multiple adjustment dimensions and the adjustment method quantified for each adjustment dimension based on the difference between the target image and the preview image, and then generate corresponding prompt information. It should be noted that the prompt information can prompt the adjustment methods of multiple adjustment dimensions at one time or sequentially. For example, in which direction the shooting angle needs to be adjusted by how many degrees, what the shooting focal length needs to be adjusted to, what the color temperature is adjusted to, and what the hue is adjusted to, etc.
[0079] 304. Display the prompt information on the shooting interface.
[0080] In the embodiment of the present application, the prompt information is used to prompt at least one of adjusting the composition method of the shooting preview image, adjusting the posture of the human body in the preview image, and adjusting the shooting parameters. For the convenience of description, it is taken as an example that the prompt information first prompts the adjustment of the composition method of the shooting preview image, then prompts the adjustment of the posture of the human body in the preview image, and finally prompts the adjustment of the shooting parameters. The embodiment of the present application does not limit the order of the prompts.
[0081] In some embodiments, the terminal can first determine whether there is at least one first adjustment dimension among the multiple adjustment dimensions, and the first adjustment dimension is an adjustment dimension belonging to the composition method. In the case that there is at least one first adjustment dimension among the multiple adjustment dimensions, based on the adjustment method quantified by the at least one first adjustment dimension, the first prompt information is determined as the prompt information, and the first prompt information is used to prompt at least one of adjusting the shooting position, shooting angle, and shooting focal length. Correspondingly, in the case that there is no first adjustment dimension among the multiple adjustment dimensions, it is identified whether there is a human body in the preview image. In the case that there is a human body in the preview image and there is at least one second adjustment dimension among the multiple adjustment dimensions, the second prompt information is determined as the prompt information. Wherein, the second adjustment dimension is an adjustment dimension belonging to the human body posture, and the second prompt information is used to prompt the adjustment of the human body posture. In the case that there is no human body in the preview image, or there is no second adjustment dimension among the multiple adjustment dimensions, the third prompt information is determined as the prompt information. Wherein, the third prompt information is used to prompt at least one of adjusting the filter parameters, exposure parameters, hue parameters, and color temperature parameters. By sequentially judging whether it is necessary to adjust the composition method, whether it is necessary to adjust the human body posture, and whether it is necessary to adjust the shooting parameters, the user can clearly know how to adjust and quickly adjust to the place, which has a good shooting assistance effect and improves the human-computer interaction efficiency.
[0082] In some embodiments, the adjustment dimensions belonging to the composition method include the position dimension, the angle dimension, and the scaling dimension. In this application, an example is given of sequentially prompting to adjust the position, adjust the angle, and adjust the shooting focal length. Correspondingly, when there is at least one first adjustment dimension among multiple adjustment dimensions, it is determined whether the position dimension exists in the at least one first adjustment dimension. When the position dimension exists, the position adjustment information is determined as the prompt information, and the position adjustment information is used to indicate horizontal or vertical adjustment of the terminal. When the position dimension does not exist, it is determined whether the angle dimension exists in the at least one first adjustment dimension. When the angle dimension exists, the angle adjustment information is determined as the prompt information, and the angle adjustment information is used to indicate the direction and angle of rotating the terminal. When the angle dimension does not exist, it is determined whether the scaling dimension exists in the at least one first adjustment dimension. When the scaling dimension exists, the scaling adjustment information is determined as the prompt information, and the scaling adjustment information is used to indicate increasing or decreasing the focal length of the terminal.
[0083] It should be noted that the above embodiments are described in the order of determining whether to adjust the composition method, whether to adjust the human body posture, and whether to adjust the shooting parameters. Optionally, the determination can also be made in other orders, such as first determining whether to adjust the human body posture, then determining whether to adjust the composition method, and finally determining whether to adjust the shooting parameters. The embodiments of this application do not limit this.
[0084] It should be noted that the above embodiments prompt the composition method in the order of the position dimension, the angle dimension, and the scaling dimension. Optionally, the prompting can also be performed in other orders, such as first prompting the angle dimension, then prompting the position dimension, and finally prompting the scaling dimension. The embodiments of this application do not limit this.
[0085] In the embodiments of this application, the terminal guides the user for shooting through the prompt information determined by the above steps.
[0086] In some embodiments, the prompt information is used to prompt to adjust the composition method of the shooting preview image. Based on the shooting assistance function, the preview image in the shooting interface is recognized to obtain multiple adjustment dimensions that need to be adjusted and the adjustment methods quantified for each adjustment dimension; based on at least one first adjustment dimension among the multiple adjustment dimensions and the adjustment methods quantified for each first adjustment dimension, the first prompt information is determined, the first adjustment dimension is an adjustment dimension belonging to the composition method, and the first prompt information is used to prompt at least one of adjusting the shooting position, the shooting angle, and the shooting focal length.
[0087] In some embodiments, the first prompt information is position adjustment information, and the position adjustment information is used to indicate horizontal or vertical adjustment of the shooting position. Correspondingly, the terminal determines at least one first adjustment dimension among multiple adjustment dimensions; determines the position dimension from at least one first adjustment dimension; and determines the position adjustment information based on the adjustment method quantified by the position dimension.
[0088] For example, Figure 7 is a schematic diagram of a kind of prompt information provided according to an embodiment of the present application. As Figure 7 shown, the prompt information is position adjustment information, which is used to prompt the user to adjust the shooting position of the terminal. Figure 7 The arrow in is used to indicate the direction of position adjustment. Such as translating the terminal upward, translating the terminal leftward, or translating the terminal obliquely upward, etc. Optionally, the prompt information may further include the translation distance, which is not limited in the embodiments of the present application.
[0089] In some embodiments, the first prompt information is angle adjustment information, and the angle adjustment information is used to indicate the rotation direction and rotation angle of the shooting angle. The terminal determines at least one first adjustment dimension among multiple adjustment dimensions; determines the angle dimension from at least one first adjustment dimension; and determines the angle adjustment information based on the adjustment method quantified by the angle dimension.
[0090] For example, Figure 8 is a schematic diagram of another kind of prompt information provided according to an embodiment of the present application. As Figure 8 shown, the prompt information is angle adjustment information, which is used to prompt the user to adjust the shooting angle of the terminal. Figure 8 (a) in is used to indicate that the user adjusts the shooting angle along the screen normal direction. The screen normal direction is the direction perpendicular to the screen. In other words, it is to keep the plane where the screen is located unchanged and rotate the terminal with the direction perpendicular to the screen as the axis. Figure 8 (b) in is used to indicate that the user adjusts the shooting angle along the screen wide side axis direction. The screen wide side axis direction is the direction where the screen border is located. In other words, it is to adjust the left and right shooting angles along the screen border, or adjust the pitching shooting angle. Optionally, the prompt information may further include the specific angle size, such as rotating 5 degrees along the screen normal direction.
[0091] In some embodiments, the first prompt information is zoom adjustment information, and the zoom adjustment information is used to indicate enlarging or reducing the shooting focal length. The terminal determines at least one first adjustment dimension among multiple adjustment dimensions; determines the zoom dimension from at least one first adjustment dimension; and determines the zoom adjustment information based on the adjustment method quantified by the zoom dimension.
[0092] For example, Figure 9 is a schematic diagram of another kind of prompt information provided according to an embodiment of the present application. As Figure 9As shown, the prompt information is zoom adjustment information for prompting the user to adjust the shooting focal length of the terminal. Figure 9 The two arrows in Figure 9 point inward and are used to indicate reducing the shooting focal length, that is, reducing the lens magnification. If the two arrows point outward, they are used to indicate increasing the shooting focal length, that is, increasing the lens magnification, such as adjusting from 1x to 2x. Optionally, the prompt information may further include the target shooting focal length to which it is recommended to adjust, and the embodiments of the present application do not limit this.
[0093] In some embodiments, the prompt information is used to prompt the adjustment of the posture of the human body in the preview image. The terminal recognizes the preview image in the shooting interface based on the shooting assistance function, obtains multiple adjustment dimensions that need to be adjusted and the adjustment methods quantified for each adjustment dimension; determines whether there is a human body in the preview image; in the case where there is a human body in the preview image, based on at least one second adjustment dimension among the multiple adjustment dimensions and the adjustment methods quantified for each second adjustment dimension, determines the second prompt information, where the second adjustment dimension is an adjustment dimension belonging to the human body posture, and the second prompt information is used to prompt the adjustment of the human body posture.
[0094] For example, Figure 10 is a schematic diagram of another prompt information provided according to the embodiments of the present application. As Figure 10 shown, this prompt information is the second prompt information for prompting the adjustment of the human body posture. Figure 10 The human-shaped dotted line shown in (a) in Figure 10 is the recommended human body posture, and the user can judge whether to adjust the human body posture according to the actual needs. Optionally, Figure 10 the prompt information shown in (b) in Figure 10 exemplarily shows the case where no human body is detected: "No human body recognized".
[0095] In some embodiments, the prompt information is used to prompt the adjustment of shooting parameters. The terminal recognizes the preview image in the shooting interface based on the shooting assistance function, obtains multiple adjustment dimensions that need to be adjusted and the adjustment methods quantified for each adjustment dimension; based on at least one third adjustment dimension among the multiple adjustment dimensions and the adjustment methods quantified for each third adjustment dimension, determines the third prompt information, where the third adjustment dimension is an adjustment dimension belonging to the shooting parameters, and the third prompt information is used to prompt the adjustment of at least one of the filter parameters, exposure parameters, hue parameters, and color temperature parameters.
[0096] In some embodiments, the third prompt information is filter parameter adjustment information, and the filter parameter adjustment information is used to indicate the recommended shooting filter. The terminal determines at least one third adjustment dimension among the multiple adjustment dimensions; determines the filter dimension from the at least one third adjustment dimension; and determines the filter parameter adjustment information based on the shooting filter corresponding to the filter dimension.
[0097] In some embodiments, the third prompt information is exposure parameter adjustment information, and the exposure parameter adjustment information is used to indicate a recommended exposure value. The terminal determines at least one third adjustment dimension from multiple adjustment dimensions; determines an exposure dimension from the at least one third adjustment dimension; and determines the exposure parameter adjustment information based on the exposure value corresponding to the exposure dimension.
[0098] In some embodiments, the third prompt information is tone parameter adjustment information, and the tone parameter adjustment information is used to indicate a recommended tone value. The terminal determines at least one third adjustment dimension from multiple adjustment dimensions; determines a tone dimension from the at least one third adjustment dimension; and determines the tone parameter adjustment information based on the tone value corresponding to the tone dimension.
[0099] In some embodiments, the third prompt information is color temperature parameter adjustment information, and the color temperature parameter adjustment information is used to indicate a recommended color temperature value. The terminal determines at least one third adjustment dimension from multiple adjustment dimensions; determines a color temperature dimension from the at least one third adjustment dimension; and determines the color temperature parameter adjustment information based on the color temperature value corresponding to the color temperature dimension.
[0100] For example, Figure 11 is a schematic diagram of another prompt information provided according to an embodiment of the present application. Figure 11 As shown, the prompt information is the third prompt information, which is used to prompt at least one of the whole filter parameters, exposure parameters, hue parameters and color temperature parameters. Figure 11 (a) in FIG. 1 shows a prompt message prompting the user to adjust the filter parameters. Optionally, the user can select the corresponding filter according to the prompt, or select other filters and confirm by clicking in the middle of the screen. Optionally, if the user does not select the recommended filter, the subsequent prompt process can be skipped directly. Figure 11 (b) in the figure shows a prompt message prompting the user to adjust the exposure parameters. Figure 11 (c) in the figure shows a prompt message prompting the user to adjust the color temperature parameters. Figure 11 (d) in the figure shows a prompt message prompting the user to adjust the color tone. It should be noted that the user may also be prompted to adjust other shooting parameters, which is not limited in the embodiment of the present application.
[0101] In some embodiments, the terminal displays prompt information through the shooting guidance module. Figure 12 As shown, Figure 12 FIG. 1 is a flowchart of an auxiliary shooting method according to an embodiment of the present application. Figure 12As shown, it includes the following processes: 1201. Turn on the shooting assistance function (which can also be called the shooting guidance function). 1202. Determine whether to perform shooting position guidance. 1203. Extract the position adjustment parameters. 1204. Prompt the user to adjust the shooting position through a prompt message. 1205. Determine whether to perform shooting angle guidance. 1206. Extract the angle adjustment parameters. 1207. Prompt the user to adjust the shooting angle through a prompt message. 1208. Determine whether to perform shooting focal length guidance. 1209. Extract the focal length adjustment parameters. 1210. Prompt the user to adjust the shooting focal length through a prompt message. 1211. Determine whether to perform human body posture guidance. 1212. Extract the human body outline. 1213. Prompt the user to adjust the human body posture through a prompt message. 1214. Determine whether to provide shooting parameter suggestions. 1215. Extract the shooting parameter values. 1216. Display the suggested shooting parameter values through a prompt message. 1217. End the shooting guidance.
[0102] 305. In the case where the preview image in the shooting interface is updated due to adjusting the shooting method according to the prompt message, display the updated prompt message until the difference between the preview image and the target image is less than the difference threshold.
[0103] In the embodiments of the present application, after the user adjusts at least one of the composition method, human body posture, or shooting parameters according to the prompt message, the preview image will be updated. At this time, the terminal can repeat step 303 above to update the prompt message, and then display the updated prompt message. If the difference between the preview image and the target image is less than the difference threshold, step 303 above will no longer be executed, and the display of the prompt message will be cancelled.
[0104] In some embodiments, when the shooting guidance ends, the terminal can prompt the user to take a photo by at least one of vibration, voice, or light. Optionally, the user can end the shooting guidance at any time during the prompt process. Correspondingly, the terminal can display an end control in the shooting interface, and this end control is used to turn off the shooting assistance function after being triggered to end the shooting guidance.
[0105] In some embodiments, the user can also adjust the shooting parameters by means of voice control. Correspondingly, the terminal receives voice input. Then, according to the adjustment method indicated by the voice input, the shooting parameters are adjusted. Among them, the shooting parameters include at least one of the above-mentioned filter parameters, exposure parameters, hue parameters, and color temperature parameters. Adjusting the shooting parameters by means of voice input can improve the efficiency of adjusting the shooting parameters, thereby improving the shooting efficiency.
[0106] 306. In response to the shooting operation, perform image shooting based on the adjusted shooting method.
[0107] In an embodiment of the present application, after the user makes adjustments with the assistance of shooting prompts, the user can trigger a shooting operation to take an image.
[0108] It should be noted that, to make the image shooting method described in the above steps easier to understand, refer to Figure 13 as shown in Figure 13 which is a flowchart of another image shooting method provided according to an embodiment of the present application. The above flowchart includes the following steps: 1301. The user enters the AIGC (Artificial Intelligence Generated Content) shooting guidance mode, that is, the shooting assistance function is enabled. 1302. Identify the preview image collected by the camera. 1303. Extract the image features of the preview image. 1304. Determine whether the shooting position is correct. 1305. Determine whether the shooting angle is correct. 1306. Determine whether the shooting focal length is correct. 1307. Determine whether there is a human body. 1308. Determine whether the human body posture is correct. 1309. Determine whether shooting parameters have been selected. The shooting parameters include filters, exposure, hue, and color temperature. 1310. Prompt shooting through sensor vibration. 1311. Suggest adjusting shooting parameters through prompt information. 1312. Provide shooting guidance through prompt information. 1313. Extract the user's historical shooting preference features. 1314. Train the artificial intelligence assistance model.
[0109] An embodiment of the present application provides an image shooting method. By optimizing the preview image in the shooting interface during the shooting process, it is possible to provide shooting guidance to the user from adjustment dimensions such as the shooting composition method, the human body posture, and the shooting parameters based on the difference between the optimized target image and the preview image, so that the image captured by the user with the assistance of prompt information is as close as possible to the image expected by the user, improving the human-computer interaction efficiency.
[0110] All of the above optional technical solutions can be combined arbitrarily to form optional embodiments of the present application, which will not be elaborated herein one by one.
[0111] The following is an embodiment of the apparatus of the present application, which can be used to execute the embodiment of the method of the present application. For details not disclosed in the embodiment of the apparatus of the present application, please refer to the embodiment of the method of the present application.
[0112] Figure 14 is a schematic structural diagram of an image shooting apparatus provided by an embodiment of the present application. Refer to Figure 14 and the apparatus includes: a function startup module 1401, an image recognition module 1402, an information display module 1403, and an image shooting module 1404.
[0113] A function startup module 1401, configured to start a shooting assistance function in response to a triggering operation on a shooting assistance control displayed in a shooting interface of a terminal;
[0114] An image recognition module 1402, configured to recognize a preview image in the shooting interface based on the shooting assistance function to obtain a prompt message, where the prompt message is used to prompt at least one of adjusting the composition method of the shooting preview image, adjusting the posture of the human body in the preview image, and adjusting shooting parameters;
[0115] An information display module 1403, configured to display the updated prompt message until the difference between the preview image and the target image is less than a difference threshold when the shooting method is adjusted according to the prompt message, resulting in an update of the preview image in the shooting interface, where the target image is an image obtained by optimizing the preview image;
[0116] An image shooting module 1404, configured to perform image shooting based on the adjusted shooting method in response to a shooting operation.
[0117] In some embodiments, the prompt message is used to prompt adjusting the composition method of the shooting preview image;
[0118] The image recognition module 1402 includes:
[0119] An image recognition unit, configured to recognize a preview image in the shooting interface based on the shooting assistance function to obtain multiple adjustment dimensions that need to be adjusted and the adjustment methods quantified for each adjustment dimension;
[0120] A first determination unit, configured to determine a first prompt message based on at least one first adjustment dimension among the multiple adjustment dimensions and the adjustment methods quantified for each first adjustment dimension, where the first adjustment dimension is an adjustment dimension belonging to the composition method, and the first prompt message is used to prompt at least one of adjusting the shooting position, shooting angle, and shooting focal length.
[0121] In some embodiments, the first prompt message is position adjustment information, and the position adjustment information is used to indicate horizontal or vertical adjustment of the shooting position;
[0122] The first determination unit is configured to determine at least one first adjustment dimension among the multiple adjustment dimensions; determine a position dimension from the at least one first adjustment dimension; and determine the position adjustment information based on the adjustment method quantified for the position dimension.
[0123] In some embodiments, the first prompt message is angle adjustment information, and the angle adjustment information is used to indicate the rotation direction and rotation angle of the shooting angle;
[0124] The first determination unit is configured to determine at least one first adjustment dimension among multiple adjustment dimensions; determine an angle dimension from the at least one first adjustment dimension; and determine angle adjustment information based on the adjustment method quantified by the angle dimension.
[0125] In some embodiments, the first prompt information is zoom adjustment information, and the zoom adjustment information is used to indicate zooming in or out the shooting focal length;
[0126] The first determination unit is configured to determine at least one first adjustment dimension among multiple adjustment dimensions; determine a zoom dimension from the at least one first adjustment dimension; and determine zoom adjustment information based on the adjustment method quantified by the zoom dimension.
[0127] In some embodiments, the prompt information is used to prompt adjusting the posture of the human body in the preview image;
[0128] The image recognition module 1402 includes:
[0129] The image recognition unit is configured to recognize the preview image in the shooting interface based on the shooting assistance function, and obtain multiple adjustment dimensions to be adjusted and the adjustment method quantified for each adjustment dimension;
[0130] The second determination unit is configured to determine whether there is a human body in the preview image;
[0131] The second determination unit is further configured to, when there is a human body in the preview image, determine second prompt information based on at least one second adjustment dimension among the multiple adjustment dimensions and the adjustment method quantified for each second adjustment dimension, where the second adjustment dimension is an adjustment dimension belonging to the human body posture, and the second prompt information is used to prompt adjusting the human body posture.
[0132] In some embodiments, the prompt information is used to prompt adjusting shooting parameters;
[0133] The image recognition module 1402 includes:
[0134] The image recognition unit is configured to recognize the preview image in the shooting interface based on the shooting assistance function, and obtain multiple adjustment dimensions to be adjusted and the adjustment method quantified for each adjustment dimension;
[0135] The third determination unit is configured to determine third prompt information based on at least one third adjustment dimension among the multiple adjustment dimensions and the adjustment method quantified for each third adjustment dimension, where the third adjustment dimension is an adjustment dimension belonging to shooting parameters, and the third prompt information is used to prompt adjusting at least one of filter parameters, exposure parameters, hue parameters, and color temperature parameters.
[0136] In some embodiments, the third prompt information is filter parameter adjustment information, and the filter parameter adjustment information is used to indicate the recommended shooting filter;
[0137] A third determination unit, configured to determine at least one third adjustment dimension from multiple adjustment dimensions; determine a filter dimension from the at least one third adjustment dimension; and determine filter parameter adjustment information based on a shooting filter corresponding to the filter dimension.
[0138] In some embodiments, the third prompt information is exposure parameter adjustment information, and the exposure parameter adjustment information is used to indicate a recommended exposure value;
[0139] A third determination unit, configured to determine at least one third adjustment dimension from multiple adjustment dimensions; determine an exposure dimension from the at least one third adjustment dimension; and determine exposure parameter adjustment information based on an exposure value corresponding to the exposure dimension.
[0140] In some embodiments, the third prompt information is hue parameter adjustment information, and the hue parameter adjustment information is used to indicate a recommended hue value;
[0141] A third determination unit, configured to determine at least one third adjustment dimension from multiple adjustment dimensions; determine a hue dimension from the at least one third adjustment dimension; and determine hue parameter adjustment information based on a hue value corresponding to the hue dimension.
[0142] In some embodiments, the third prompt information is color temperature parameter adjustment information, and the color temperature parameter adjustment information is used to indicate a recommended color temperature value;
[0143] A third determination unit, configured to determine at least one third adjustment dimension from multiple adjustment dimensions; determine a color temperature dimension from the at least one third adjustment dimension; and determine color temperature parameter adjustment information based on a color temperature value corresponding to the color temperature dimension.
[0144] In some embodiments, the shooting assistance function is implemented based on an artificial intelligence assistance model, and the artificial intelligence assistance model is used to determine the difference between an input image and a target image. The target image is an image obtained by optimizing the input image based on the historical shooting preferences of a target user through the artificial intelligence assistance model, and the target user is a user of the terminal;
[0145] An image recognition unit, configured to recognize a preview image based on a recognition model in an artificial intelligence assistance model to obtain an image category of the preview image; determine target preference feature data belonging to the image category from historical preference feature data of a target user; process the target preference feature data based on a generation model in the artificial intelligence assistance model to obtain a target image; determine image difference information based on a difference between the target image and the preview image, where the image difference information is used to indicate differences between the target image and the preview image in each adjustment dimension; and determine a plurality of adjustment dimensions to be adjusted and an adjustment method quantified for each adjustment dimension based on preview shooting information and the image difference information, where the preview shooting information is used to indicate a current shooting method of the terminal.
[0146] In some embodiments, the training steps of the artificial intelligence assistance model include:
[0147] Train a recognition model based on a first sample image set, where the first sample image set includes sample images of multiple categories and a category label of each sample image;
[0148] Train a generation model based on a second sample image set and multiple groups of reference images, where the second sample image set includes historical captured images of the target user, and the multiple groups of reference images are used to provide references for shooting effects.
[0149] In some embodiments, the device further includes:
[0150] A voice receiving module, configured to receive voice input;
[0151] A parameter adjustment module, configured to adjust shooting parameters according to the adjustment method indicated by the voice input, where the shooting parameters include at least one of a filter parameter, an exposure parameter, a hue parameter, and a color temperature parameter.
[0152] An image capturing device provided by an embodiment of the present application can optimize a preview image in a shooting interface during shooting, and can provide shooting guidance to a user in adjustment dimensions such as a shooting composition method, a human body posture, and shooting parameters based on a difference between an optimized target image and the preview image, so that an image captured by the user based on the assistance of prompt information is as close as possible to an image expected by the user, thereby improving the human-computer interaction efficiency.
[0153] It should be noted that, when the device provided in the above embodiment implements its functions, only the division of the above functional modules is used for illustration. In actual applications, the above functions may be allocated to different functional modules according to needs, that is, the internal structure of the server is divided into different functional modules to complete all or part of the functions described above. In addition, the device provided in the above embodiment and the method embodiment belong to the same concept, and the specific implementation process thereof can be found in the method embodiment and will not be elaborated here.
[0154] An embodiment of the present application provides an electronic device, which includes a processor and a memory; the memory stores at least one program code, and the at least one program code is used to be executed by the processor to implement the image capture method provided in each of the above method embodiments.
[0155] Figure 15 It is a structural block diagram of an electronic device 1500 provided according to an embodiment of the present application. In some embodiments, the electronic device 1500 is a smart phone, a tablet computer, a computer with wireless communication function, a wearable device, etc. The electronic device 1500 in the present application includes at least one or more of the following components: a processor 1510, a memory 1520, and at least two wireless links 730.
[0156] In some embodiments, the processor 1510 includes one or more processing cores. The processor 1510 connects various parts within the entire electronic device 1500 through various interfaces and lines. By running or executing the program code stored in the memory 1520, and by calling the data stored in the memory 1520, it executes various functions of the electronic device 1500 and processes data. In some embodiments, the processor 1510 is implemented in at least one of the following hardware forms: Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), and Programmable Logic Array (PLA). The processor 1510 can integrate one or several combinations of a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), a Neural-network Processing Unit (NPU), and a modem. Among them, the CPU mainly processes the operating system, user interface, application programs, etc.; the GPU is responsible for the rendering and drawing of the content to be displayed on the display screen; the NPU is used to implement Artificial Intelligence (AI) functions; the modem is used to process wireless communication. It can be understood that the above modem can also be not integrated into the processor 1510 and be implemented separately through a chip.
[0157] In some embodiments, the processor 1510 is used to control the operating conditions of at least two wireless links 730. Correspondingly, the processor 1510 is a processor integrated with a Wireless Fidelity (Wi-Fi) chip. Among them, the Wi-Fi chip is a chip with dual Wi-Fi processing capabilities. For example, the Wi-Fi chip is a Dual Band Dual Concurrent (DBDC) chip, or a Dual Band Simultaneous (DBS) chip, etc.
[0158] In some embodiments, the memory 1520 includes a Random Access Memory (RAM). In some embodiments, the memory 1520 includes a Read-Only Memory (ROM). In some embodiments, the memory 1520 includes a non-transitory computer-readable storage medium. The memory 1520 can be used to store program codes. The memory 1520 can include a program storage area and a data storage area. Among them, the program storage area can store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the following various method embodiments, etc.; the data storage area can store data created according to the use of the electronic device 1500 (such as audio data, a phone book), etc.
[0159] In some embodiments, the memory 1520 stores reception schemes for receiving beacon frames of different wireless links 730. Also, the identifiers of access nodes connected to different wireless links 730, the identifiers of the wireless links 730, etc.
[0160] The at least two wireless links 730 are used to connect to different Access Points (APs) and receive downlink data sent by the APs. Among them, the different access nodes are access nodes in the same router or access nodes in different routers.
[0161] In some embodiments, the electronic device 1500 also includes a display screen. The display screen is a display component that displays a user interface. In some embodiments, the display screen is a display screen with a touch function, through which the user can use any suitable object such as a finger or a stylus to perform touch operations on the display screen. In some embodiments, the display screen is generally arranged on the front panel of the electronic device 1500. In some embodiments, the display screen is designed to be a full screen, a curved screen, a special-shaped screen, a double-sided screen, or a folding screen. In some embodiments, the display screen is also designed to be a combination of a full screen and a curved screen, a combination of a special-shaped screen and a curved screen, etc., which is not limited in this embodiment.
[0162] In addition, those skilled in the art will appreciate that the structure of the electronic device 1500 shown in the above figures does not limit the electronic device 1500, and the electronic device 1500 includes more or fewer components than shown, or combines certain components, or arranges components differently. For example, the electronic device 1500 also includes components such as a microphone, a speaker, an input unit, a sensor, an audio circuit, a module, a power supply, and a Bluetooth module, which will not be described in detail here.
[0163] The present application also provides a computer-readable storage medium, which stores at least one program code, and the at least one program code is loaded and executed by the processor to implement the image capturing method shown in the above embodiments.
[0164] The present application also provides a chip, which includes a programmable logic circuit and / or program instructions. When the chip runs on a terminal, it is used to implement the image capture method shown in the above embodiments.
[0165] The present application also provides a computer program product, which stores at least one program code, and the at least one program code is used to be executed by a processor to implement the image capturing method shown in the above embodiments.
[0166] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.
[0167] Those skilled in the art can understand that all or part of the steps in the image capturing method of the above embodiment can be completed by hardware, or by a program to instruct the relevant hardware to complete the steps. The program can be stored in a computer-readable storage medium, and the storage medium mentioned above can be a read-only memory, a disk or an optical disk, etc. The above description is only an optional embodiment of the present application and is not intended to limit the present application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.
Claims
1. An image capturing method, characterized in that, the method includes: responding to a triggering operation on a shooting assistance control displayed in a shooting interface of a terminal, and starting a shooting assistance function; identifying a preview image in the shooting interface based on the shooting assistance function to obtain a prompt message, where the prompt message is used to prompt at least one of adjusting a composition method for shooting the preview image, adjusting a posture of a human body in the preview image, and adjusting shooting parameters; when the preview image in the shooting interface is updated due to adjusting the shooting method according to the prompt message, displaying the updated prompt message until the difference between the preview image and a target image is less than a difference threshold, where the target image is an image obtained by optimizing the preview image; responding to a shooting operation, and performing image shooting based on the adjusted shooting method.
2. The method according to claim 1, characterized in that, the prompt message is used to prompt adjusting a composition method for shooting the preview image; the identifying a preview image in the shooting interface based on the shooting assistance function to obtain a prompt message includes: identifying a preview image in the shooting interface based on the shooting assistance function to obtain a plurality of adjustment dimensions to be adjusted and an adjustment method quantified for each adjustment dimension; determining a first prompt message based on at least one first adjustment dimension among the plurality of adjustment dimensions and the adjustment method quantified for each first adjustment dimension, where the first adjustment dimension is an adjustment dimension belonging to a composition method, and the first prompt message is used to prompt at least one of adjusting a shooting position, a shooting angle, and a shooting focal length.
3. The method according to claim 2, characterized in that, the first prompt message is a position adjustment message, and the position adjustment message is used to indicate horizontally or vertically adjusting a shooting position; the determining a first prompt message based on at least one first adjustment dimension among the plurality of adjustment dimensions and the adjustment method quantified for each first adjustment dimension includes: determining the at least one first adjustment dimension among the plurality of adjustment dimensions; determining a position dimension from the at least one first adjustment dimension; determining the position adjustment message based on the adjustment method quantified for the position dimension.
4. The method according to claim 2, characterized in that, the first prompt message is an angle adjustment message, and the angle adjustment message is used to indicate a rotation direction and a rotation angle of a shooting angle; the determining a first prompt message based on at least one first adjustment dimension among the plurality of adjustment dimensions and the adjustment method quantified for each first adjustment dimension includes: determining the at least one first adjustment dimension among the plurality of adjustment dimensions; determining an angle dimension from the at least one first adjustment dimension; determining the angle adjustment message based on the adjustment method quantified for the angle dimension.
5. The method according to claim 2, characterized in that, the first prompt message is a zoom adjustment message, and the zoom adjustment message is used to indicate zooming in or out a shooting focal length; Determining first prompt information based on at least one first adjustment dimension among the multiple adjustment dimensions and the adjustment method quantified for each first adjustment dimension includes: Among the multiple adjustment dimensions, determining the at least one first adjustment dimension; From the at least one first adjustment dimension, determining a scaling dimension; Based on the adjustment method quantified for the scaling dimension, determining the scaling adjustment information.
6. The method according to claim 1, wherein, the prompt information is used to prompt adjustment of the posture of the human body in the preview image; The obtaining of prompt information by recognizing the preview image in the shooting interface based on the shooting assistance function includes: Recognizing the preview image in the shooting interface based on the shooting assistance function to obtain multiple adjustment dimensions that need to be adjusted and the adjustment method quantified for each adjustment dimension; Determining whether there is a human body in the preview image; In the case where there is a human body in the preview image, based on at least one second adjustment dimension among the multiple adjustment dimensions and the adjustment method quantified for each second adjustment dimension, determining second prompt information, where the second adjustment dimension is an adjustment dimension belonging to the human body posture, and the second prompt information is used to prompt adjustment of the human body posture.
7. The method according to claim 1, wherein, the prompt information is used to prompt adjustment of shooting parameters; The obtaining of prompt information by recognizing the preview image in the shooting interface based on the shooting assistance function includes: Recognizing the preview image in the shooting interface based on the shooting assistance function to obtain multiple adjustment dimensions that need to be adjusted and the adjustment method quantified for each adjustment dimension; Based on at least one third adjustment dimension among the multiple adjustment dimensions and the adjustment method quantified for each third adjustment dimension, determining third prompt information, where the third adjustment dimension is an adjustment dimension belonging to shooting parameters, and the third prompt information is used to prompt adjustment of at least one of filter parameters, exposure parameters, hue parameters, and color temperature parameters.
8. The method according to claim 7, wherein, the third prompt information is filter parameter adjustment information, and the filter parameter adjustment information is used to indicate a recommended shooting filter; Determining third prompt information based on at least one third adjustment dimension among the multiple adjustment dimensions and the adjustment method quantified for each third adjustment dimension includes: Among the multiple adjustment dimensions, determining the at least one third adjustment dimension; From the at least one third adjustment dimension, determining a filter dimension; Based on the shooting filter corresponding to the filter dimension, determining the filter parameter adjustment information.
9. The method according to claim 7, wherein, the third prompt information is exposure parameter adjustment information, and the exposure parameter adjustment information is used to indicate a recommended exposure value; Determining third prompt information based on at least one third adjustment dimension among the multiple adjustment dimensions and the adjustment method quantified for each third adjustment dimension includes: Among the multiple adjustment dimensions, determining the at least one third adjustment dimension; From the at least one third adjustment dimension, determining an exposure dimension; Determine the exposure parameter adjustment information based on the exposure value corresponding to the exposure dimension.
10. The method according to claim 7, wherein, the third prompt information is hue parameter adjustment information, and the hue parameter adjustment information is used to indicate the recommended hue value; the determining of the third prompt information based on at least one third adjustment dimension among the multiple adjustment dimensions and the adjustment method quantified for each third adjustment dimension includes: determine the at least one third adjustment dimension among the multiple adjustment dimensions; determine a hue dimension from the at least one third adjustment dimension; determine the hue parameter adjustment information based on the hue value corresponding to the hue dimension.
11. The method according to claim 7, wherein, the third prompt information is color temperature parameter adjustment information, and the color temperature parameter adjustment information is used to indicate the recommended color temperature value; the determining of the third prompt information based on at least one third adjustment dimension among the multiple adjustment dimensions and the adjustment method quantified for each third adjustment dimension includes: determine the at least one third adjustment dimension among the multiple adjustment dimensions; determine a color temperature dimension from the at least one third adjustment dimension; determine the color temperature parameter adjustment information based on the color temperature value corresponding to the color temperature dimension.
12. The method according to any one of claims 2 - 11, wherein, the shooting assistance function is implemented based on an artificial intelligence assistance model, and the artificial intelligence assistance model is used to determine the difference between an input image and a target image, and the target image is an image obtained by optimizing the input image based on the historical shooting preferences of a target user through the artificial intelligence assistance model, and the target user is the user using the terminal; the recognizing of the preview image in the shooting interface based on the shooting assistance function to obtain multiple adjustment dimensions to be adjusted and the adjustment method quantified for each adjustment dimension includes: recognize the preview image based on the recognition model in the artificial intelligence assistance model to obtain the image category of the preview image; determine the target preference feature data belonging to the image category from the historical preference feature data of the target user; process the target preference feature data based on the generation model in the artificial intelligence assistance model to obtain a target image; determine image difference information based on the difference between the target image and the preview image, and the image difference information is used to indicate the differences between the target image and the preview image in each adjustment dimension; determine the multiple adjustment dimensions to be adjusted and the adjustment method quantified for each adjustment dimension based on the preview shooting information and the image difference information, and the preview shooting information is used to indicate the current shooting method of the terminal.
13. The method according to claim 12, wherein, the training steps of the artificial intelligence assistance model include: training the recognition model based on a first sample image set, and the first sample image set includes sample images of multiple categories and the category labels of each sample image; Train the generative model based on the second sample image set and multiple groups of reference images, where the second sample image set includes historical captured images of the target user, and the multiple groups of reference images are used to provide references for shooting effects.
14. The method according to claim 1, wherein, the method further includes: receiving voice input; adjusting the shooting parameters according to the adjustment method indicated by the voice input, where the shooting parameters include at least one of filter parameters, exposure parameters, hue parameters, and color temperature parameters.
15. An image shooting device, wherein, the device includes: a function startup module, configured to startup a shooting assistance function in response to a trigger operation on a shooting assistance control displayed in a shooting interface of a terminal; an image recognition module, configured to recognize a preview image in the shooting interface based on the shooting assistance function to obtain a prompt message, where the prompt message is used to prompt at least one of adjusting a composition method for shooting the preview image, adjusting a posture of a human body in the preview image, and adjusting shooting parameters; an information display module, configured to display an updated prompt message until a difference between the preview image and a target image is less than a difference threshold when adjusting a shooting method according to the prompt message causes an update of the preview image in the shooting interface, where the target image is an image obtained by optimizing the preview image; an image shooting module, configured to perform image shooting based on the adjusted shooting method in response to a shooting operation.
16. The device according to claim 15, wherein, the prompt message is used to prompt adjusting a composition method for shooting the preview image; the image recognition module includes: an image recognition unit, configured to recognize a preview image in the shooting interface based on the shooting assistance function to obtain multiple adjustment dimensions that need to be adjusted and an adjustment method quantified for each adjustment dimension; a first determination unit, configured to determine a first prompt message based on at least one first adjustment dimension among the multiple adjustment dimensions and the adjustment method quantified for each first adjustment dimension, where the first adjustment dimension is an adjustment dimension belonging to a composition method, and the first prompt message is used to prompt at least one of adjusting a shooting position, a shooting angle, and a shooting focal length.
17. The device according to claim 16, wherein, the first prompt message is position adjustment information, and the position adjustment information is used to indicate horizontal or vertical adjustment of a shooting position; the first determination unit is configured to determine the at least one first adjustment dimension among the multiple adjustment dimensions; determine a position dimension from the at least one first adjustment dimension; and determine the position adjustment information based on the adjustment method quantified for the position dimension.
18. The device according to claim 16, wherein, the first prompt message is angle adjustment information, and the angle adjustment information is used to indicate a rotation direction and a rotation angle of a shooting angle; The first determination unit is configured to determine the at least one first adjustment dimension from the multiple adjustment dimensions; determine an angle dimension from the at least one first adjustment dimension; and determine the angle adjustment information based on the adjustment method quantified by the angle dimension.
19. The apparatus according to claim 16, wherein, the first prompt information is zoom adjustment information, and the zoom adjustment information is used to indicate zooming in or out the shooting focal length; The first determination unit is configured to determine the at least one first adjustment dimension from the multiple adjustment dimensions; determine a zoom dimension from the at least one first adjustment dimension; and determine the zoom adjustment information based on the adjustment method quantified by the zoom dimension.
20. The apparatus according to claim 15, wherein, the prompt information is used to prompt adjusting the posture of the human body in the preview image; The image recognition module includes: an image recognition unit configured to recognize the preview image in the shooting interface based on the shooting assistance function to obtain multiple adjustment dimensions that need to be adjusted and the adjustment method quantified for each adjustment dimension; a second determination unit configured to determine whether there is a human body in the preview image; The second determination unit is further configured to, when there is a human body in the preview image, determine second prompt information based on at least one second adjustment dimension in the multiple adjustment dimensions and the adjustment method quantified for each second adjustment dimension, where the second adjustment dimension is an adjustment dimension belonging to the human body posture, and the second prompt information is used to prompt adjusting the human body posture.
21. The apparatus according to claim 15, wherein, the prompt information is used to prompt adjusting shooting parameters; The image recognition module includes: an image recognition unit configured to recognize the preview image in the shooting interface based on the shooting assistance function to obtain multiple adjustment dimensions that need to be adjusted and the adjustment method quantified for each adjustment dimension; a third determination unit configured to determine third prompt information based on at least one third adjustment dimension in the multiple adjustment dimensions and the adjustment method quantified for each third adjustment dimension, where the third adjustment dimension is an adjustment dimension belonging to shooting parameters, and the third prompt information is used to prompt adjusting at least one of filter parameters, exposure parameters, hue parameters, and color temperature parameters.
22. The apparatus according to claim 21, wherein, the third prompt information is filter parameter adjustment information, and the filter parameter adjustment information is used to indicate a recommended shooting filter; The third determination unit is configured to determine the at least one third adjustment dimension from the multiple adjustment dimensions; determine a filter dimension from the at least one third adjustment dimension; and determine the filter parameter adjustment information based on the shooting filter corresponding to the filter dimension.
23. The apparatus according to claim 21, wherein, the third prompt information is exposure parameter adjustment information, and the exposure parameter adjustment information is used to indicate a recommended exposure value; The third determination unit is configured to determine the at least one third adjustment dimension among the multiple adjustment dimensions; determine an exposure dimension from the at least one third adjustment dimension; and determine the exposure parameter adjustment information based on the exposure value corresponding to the exposure dimension.
24. The apparatus according to claim 21, wherein, the third prompt information is hue parameter adjustment information, and the hue parameter adjustment information is used to indicate a recommended hue value; the third determination unit is configured to determine the at least one third adjustment dimension among the multiple adjustment dimensions; determine a hue dimension from the at least one third adjustment dimension; and determine the hue parameter adjustment information based on the hue value corresponding to the hue dimension.
25. The apparatus according to claim 21, wherein, the third prompt information is color temperature parameter adjustment information, and the color temperature parameter adjustment information is used to indicate a recommended color temperature value; the third determination unit is configured to determine the at least one third adjustment dimension among the multiple adjustment dimensions; determine a color temperature dimension from the at least one third adjustment dimension; and determine the color temperature parameter adjustment information based on the color temperature value corresponding to the color temperature dimension.
26. The apparatus according to any one of claims 16-25, wherein, the shooting assistance function is implemented based on an artificial intelligence assistance model, and the artificial intelligence assistance model is used to determine the difference between an input image and a target image, where the target image is an image obtained by optimizing the input image based on the historical shooting preferences of a target user through the artificial intelligence assistance model, and the target user is the user using the terminal; the image recognition unit is configured to recognize the preview image based on the recognition model in the artificial intelligence assistance model to obtain the image category of the preview image; determine target preference feature data belonging to the image category from the historical preference feature data of the target user; process the target preference feature data based on the generation model in the artificial intelligence assistance model to obtain a target image; determine image difference information based on the difference between the target image and the preview image, where the image difference information is used to indicate the differences between the target image and the preview image in each adjustment dimension; and determine the multiple adjustment dimensions to be adjusted and the quantization adjustment method for each adjustment dimension based on the preview shooting information and the image difference information, where the preview shooting information is used to indicate the current shooting method of the terminal.
27. The apparatus according to claim 26, wherein, the training steps of the artificial intelligence assistance model include: training the recognition model based on a first sample image set, where the first sample image set includes sample images of multiple categories and the category labels of each sample image; training the generation model based on a second sample image set and multiple groups of reference images, where the second sample image set includes the historical shooting images of the target user, and the multiple groups of reference images are used to provide references for shooting effects.
28. The apparatus according to claim 15, wherein, the apparatus further includes: A voice receiving module, configured to receive voice input; A parameter adjustment module, configured to adjust the shooting parameters according to the adjustment method indicated by the voice input, where the shooting parameters include at least one of a filter parameter, an exposure parameter, a hue parameter, and a color temperature parameter.
29. An electronic device, characterized in that the electronic device includes a processor and a memory; the memory stores at least one program code, and the at least one program code is used to be executed by the processor to implement the image shooting method according to any one of claims 1 to 14.
30. A computer-readable storage medium, characterized in that the storage medium stores at least one program code, and the at least one program code is used to be executed by a processor to implement the image shooting method according to any one of claims 1 to 14.
31. A chip, characterized in that the chip includes programmable logic circuits and / or program instructions, and when the chip runs on a terminal, it is used to implement the image shooting method according to any one of claims 1 to 14.
32. A computer program product, including a computer program, characterized in that the computer program product stores at least one program code, and the at least one program code is used to be executed by a processor to implement the image shooting method according to any one of claims 1 to 14.