Photographing method and device

By acquiring image features in the photo preview mode, determining the target sample and displaying prompt marks, the problem of angle and parameter adjustment during the photo shooting process is solved, and the quality of photography and user experience is improved.

CN120282010APending Publication Date: 2025-07-08WUXI WINGTECH INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510367920.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-26
Publication Date
2025-07-08

AI Technical Summary

Technical Problem

In the prior art, the adjustment of the angle and parameters of the photography process affects the quality of the photo, but there is a lack of effective auxiliary means, and users need to have proficient photography skills.

Method used

In the preview mode of photography, by acquiring image features, determining the target sample, and displaying prompt marks in the preview window, helping users adjust the camera angle and parameters, including exposure compensation, sensitivity, shutter speed, white balance, etc.

Benefits of technology

It improves the user experience during the photography process, helps users take more exquisite photos, and reduces their dependence on proficient photography skills.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120282010A_ABST
    Figure CN120282010A_ABST
Patent Text Reader

Abstract

The invention relates to the field of image processing, in particular to a photographing method and device. The method comprises the following steps: acquiring a first image in a photographing preview mode of photographing equipment; according to a first image feature of the first image, determining a target sample corresponding to the first image feature from a preset sample set; the preset sample piece set comprises a plurality of sample pieces; displaying a prompt mark corresponding to the target sample in a preview window; the prompt mark is used for prompting a user to change the photographing angle of the photographing equipment by using the prompt mark. The method is used for assisting a user in determining a proper photographing angle in the photographing process.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of image processing, and particularly to a photographing method and apparatus. Background Art

[0002] Currently, taking photos has become one of the daily leisure and entertainment activities for people. With the increasingly powerful photographing functions of photographing devices such as cameras and mobile phones, people can freely select various photographing functions to take photos to meet their needs. In the prior art, the photos can be beautified and special effects can be added to make the photos more beautiful and interesting.

[0003] However, the above prior art mainly focuses on the post-processing of the photos that have been taken, while the adjustment of the photographing angle and photographing parameters during the photographing process is also an important factor affecting the quality of the finished photos.

[0004] Therefore, during the photographing process, how the photographing device assists the user in determining the appropriate photographing angle and photographing parameters is a problem that needs to be solved currently. Summary of the Invention

[0005] To solve the above technical problems, this application provides a photographing method and apparatus.

[0006] In a first aspect, there is provided a photographing method, which includes: in the photographing preview mode of the photographing device, obtaining a first image; determining a target sample corresponding to the first image feature from a preset sample set according to the first image feature of the first image; the preset sample set includes multiple samples; displaying a prompt mark corresponding to the target sample in the preview window; the prompt mark is used to prompt the user to change the photographing angle of the photographing device by using the prompt mark.

[0007] In some implementations, the determining a target sample corresponding to the first image feature from a preset sample set according to the first image feature of the first image includes: determining n samples corresponding to the first image feature from the preset sample set according to the first image feature of the first image, where n is a positive integer greater than 1; displaying the n samples in the interface of the photographing preview mode; and determining the target sample in response to a first user operation of selecting the target sample from the n samples.

[0008] In some implementations, the first image feature includes: a first segmentation model diagram of the first image; the first segmentation model diagram is used to indicate the image area corresponding to a preset feature object in the first image.

[0009] In some implementations, the first image feature further includes: the content type of the first image and the 3A information of the first image; the 3A information includes: parameter information of autofocus, auto-exposure, and auto white balance.

[0010] In some implementations, the prompt mark is specifically used to indicate the position of a preset feature object in the picture, or the prompt mark is specifically used to indicate the direction for the user to move the photographing angle.

[0011] In some implementations, the method further includes: adjusting the photographing parameters of the photographing device according to the photographing parameters corresponding to the target sample; the photographing parameters include one or more of an exposure compensation parameter, an ISO value, a shutter speed, a white balance parameter, and a focusing distance.

[0012] In some implementations, the method further includes: when detecting a first parameter in which the difference between the photographing parameters corresponding to the target sample and the current photographing parameters of the photographing device is greater than a threshold, displaying an adjustment control corresponding to the first parameter in the interface of the photographing preview mode, and performing an interface highlighting process on the adjustment control corresponding to the first parameter.

[0013] In some implementations, the method further includes: receiving a second user operation on the adjustment control corresponding to the first parameter; displaying an adjustment axis corresponding to the first parameter and marking a target numerical position on the adjustment axis; the target numerical position is: the position corresponding to the numerical value of the first parameter in the current photographing parameters.

[0014] In a second aspect, a photographing device is provided, including: an obtaining unit, configured to obtain a first image in a photographing preview mode of a photographing device; a processing unit, configured to determine a target sample corresponding to the first image feature from a preset sample set according to the first image feature of the first image; the preset sample set includes multiple samples; the processing unit is further configured to display a prompt mark corresponding to the target sample in a preview window; the prompt mark is used to prompt the user to change the photographing angle of the photographing device by using the prompt mark.

[0015] In some implementations, the processing unit is configured to determine a target sample corresponding to the first image feature from a preset sample set according to the first image feature of the first image, including: the processing unit is configured to determine n samples corresponding to the first image feature from the preset sample set according to the first image feature of the first image, where n is a positive integer greater than 1; the processing unit is configured to display the n samples in the interface of the photographing preview mode; the processing unit is configured to determine the target sample in response to a first user operation of selecting the target sample from the n samples.

[0016] In some implementations, the first image feature includes: the first segmentation model diagram of the first image; the first segmentation model diagram is used to indicate the image area corresponding to the preset feature object in the first image.

[0017] In some implementations, the first image feature further includes: the content type of the first image and the 3A information of the first image; the 3A information includes: parameter information of autofocus, autoexposure, and automatic white balance.

[0018] In some implementations, the prompt mark is specifically used to indicate the position of the preset feature object in the picture, or, the prompt mark is specifically used to indicate the direction for the user to move the photographing angle.

[0019] In some implementations, the processing unit is further configured to adjust the photographing parameters of the photographing device according to the photographing parameters corresponding to the target sample; the photographing parameters include: one or more of exposure compensation parameters, sensitivity, shutter speed, white balance parameters, and focusing distance.

[0020] In some implementations, the processing unit is further configured to, when detecting a first parameter whose difference from the current photographing parameters of the photographing device is greater than a threshold among the photographing parameters corresponding to the target sample, display an adjustment control corresponding to the first parameter in the interface of the photographing preview mode, and perform an interface highlighting process on the adjustment control corresponding to the first parameter.

[0021] In some implementations, the processing unit is further configured to receive a second user operation on the adjustment control corresponding to the first parameter; the processing unit is further configured to display an adjustment axis corresponding to the first parameter and mark a target numerical position on the adjustment axis; the target numerical position is: the position corresponding to the numerical value of the first parameter in the current photographing parameters.

[0022] In a third aspect, an electronic device is provided, including a processor and a communication interface, the processor receives or sends data through the communication interface, and the processor is configured to implement the method according to the first aspect or any implementation manner in the first aspect.

[0023] In a fourth aspect, a computer-readable storage medium is provided, in which instructions are stored, and when the instructions run on a processor, the method according to the first aspect or any implementation manner in the first aspect is implemented.

[0024] In a fifth aspect, a computer program product is provided, and when the computer program product runs on a computer, the computer is enabled to implement the method according to the above-mentioned first aspect or any implementation manner in the first aspect.

[0025] The technical solution provided by this application has the following advantages compared with the prior art:

[0026] The method provided by this application can obtain an image (i.e., the first image) in the photo-taking preview mode during the photo-taking process, and determine the corresponding target sample from the preset sample set according to the first image feature of the first image, and then display a prompt mark corresponding to the target sample in the preview window to assist the user in finding a suitable photo-taking angle, so as to take more beautiful photos. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] The drawings herein are incorporated into the specification and form a part of this specification, showing embodiments consistent with this application, and are used together with the specification to explain the principles of this application.

[0028] In order to more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the following will briefly introduce the drawings required for use in the description of the embodiments or the prior art. Obviously, for those of ordinary skill in the art, other drawings can be obtained according to these drawings without creative efforts.

[0029] Figure 1 It is one of the flow schematic diagrams of a photo-taking method provided by an embodiment of this application;

[0030] Figure 2 It is one of the interface schematic diagrams in a photo-taking preview mode provided by an embodiment of this application;

[0031] Figure 3 It is a schematic diagram of a segmentation model diagram provided by an embodiment of this application;

[0032] Figure 4 It is one of the interface schematic diagrams in a photo-taking preview mode provided by an embodiment of this application;

[0033] Figure 5 It is one of the interface schematic diagrams in a photo-taking preview mode provided by an embodiment of this application;

[0034] Figure 6 It is one of the flow schematic diagrams of a photo-taking method provided by an embodiment of this application;

[0035] Figure 7 It is one of the interface schematic diagrams in a photo-taking preview mode provided by an embodiment of this application;

[0036] Figure 8 It is one of the flow schematic diagrams of a photo-taking method provided by an embodiment of this application;

[0037] Figure 9 It is one of the flow schematic diagrams of a photo-taking method provided by an embodiment of this application;

[0038] Figure 10The fifth schematic diagram of the interface in a photo-taking preview mode provided by an embodiment of the present application;

[0039] Figure 11 The fifth schematic diagram of the process flow of a photo-taking method provided by an embodiment of the present application;

[0040] Figure 12 The sixth schematic diagram of the interface in a photo-taking preview mode provided by an embodiment of the present application;

[0041] Figure 13 The first schematic diagram of the structure of a photo-taking device provided by an embodiment of the present application;

[0042] Figure 14 The second schematic diagram of the structure of a photo-taking device provided by an embodiment of the present application. Detailed implementation manners

[0043] In order to more clearly understand the above-mentioned objects, features, and advantages of the present application, the solution of the present application will be further described below. It should be noted that, without conflict, the embodiments of the present application and the features in the embodiments can be combined with each other.

[0044] In the following description, many specific details are set forth to facilitate a thorough understanding of the present application, but the present application can also be implemented in other ways different from those described herein; obviously, the embodiments in the specification are only a part of the embodiments of the present application, rather than all of the embodiments.

[0045] The technical solutions provided by the embodiments of the present application will be introduced below in conjunction with examples.

[0046] Currently, taking photos has become one of the daily leisure and entertainment items for people. With the increasingly powerful photo-taking functions of photo-taking devices such as cameras and mobile phones, people can freely select various photo-taking functions to take photos to meet their own needs. In the prior art, the photos can be beautified and special effects can be added and other processing methods to make the photos more beautiful and interesting.

[0047] In view of the above prior art, in the embodiments of the present application, it is considered that: the above prior art is mainly based on the post-processing of the photos that have been taken, and the adjustment of the photo-taking angle and photo-taking parameters during the photo-taking process is also an important factor affecting the quality of the finished photos. And in order to determine the appropriate photo-taking angle and photo-taking parameters during the photo-taking process, usually the user needs to have proficient photography skills.

[0048] Therefore, an embodiment of the present application provides a photo-taking method. When this photo-taking method is applied to a photo-taking device, it can enable the photo-taking device to assist the user in determining the appropriate photo-taking angle and photo-taking parameters during the photo-taking process.

[0049] The following describes the specific implementation of the photographing method provided by the embodiments of the present application in combination with specific examples. The photographing method provided by the embodiments of the present application can be applied to a photographing device. In actual application, the functions of the above-mentioned photographing device can be implemented by various electronic devices with photographing functions. For example, the photographing device can specifically be an electronic device with photographing functions such as a camera, a mobile phone, an augmented reality (AR) / virtual reality (VR) device, etc. The specific form of the photographing device in the embodiments of the present disclosure may not be particularly limited.

[0050] The following takes the operation process of the photographing device as an example to introduce the photographing method provided by the embodiments of the present disclosure. As Figure 1 shown, the method may include:

[0051] S101. The photographing device obtains a first image in the photographing preview mode of the photographing device.

[0052] Among them, the photographing preview mode can be understood as: after the photographing function of the photographing device is turned on, the stage where the photographing device is in preparation for photographing. In the photographing preview mode, the photographing device can provide real-time feedback of the image collected by the current camera in the preview window for the user to observe.

[0053] For example, as Figure 2 shown, it is a schematic diagram of the interface of a photographing preview mode provided by the embodiments of the present application. It can be seen that the interface 20 in this photographing preview mode includes a preview window 201, and the preview window 201 can display the image collected by the camera in real time.

[0054] The first image can specifically be the image collected by the current camera. Taking Figure 2 as an example, the first image can be an image of two mountains and a house shown in the preview window 201.

[0055] It can be understood that in the photographing preview mode, since the image collected by the photographing device can be continuously updated over time, the first image can specifically be one of the multiple images collected by the photographing device. For example, in the photographing preview mode, the image currently collected by the camera can be obtained every preset time interval t, and this image can be used as the first image to execute the content of the method provided by the embodiments of the present application based on this first image. For another example, in the photographing preview mode, the image collected by the camera can also be detected. Whenever it is detected that the content of the image has changed too much, it is determined that the photographer has changed the shooting scene at this time, and then the image currently collected by the camera is re-used as the first image to execute the content of the method provided by the embodiments of the present application based on this first image.

[0056] S102. The photographing device determines a target sample corresponding to the first image feature from a preset sample set according to the first image feature of the first image.

[0057] Among them, the preset sample set includes multiple samples. Among them, the preset sample set may include multiple samples of different content types. For example, the preset sample set may include: samples of photographing people and samples of photographing landscapes, etc.

[0058] Among them, the first image feature may specifically be a feature parameter reflecting information such as the color, composition, and content of the first image.

[0059] In one implementation, the first image feature may specifically include: the first segmentation model diagram of the first image. Among them, the first segmentation model diagram is used to indicate the image area corresponding to the preset feature object in the first image.

[0060] For example, taking the first image shown in the preview window 201 of Figure 2 as an example, the first segmentation model diagram corresponding to the first image may be as shown in Figure 3 . Among them, the first segmentation model diagram may include the image area corresponding to the preset feature object "mountain" in the first image and the image area corresponding to the preset feature object "house".

[0061] Furthermore, the target sample corresponding to the first image feature may be the sample with the highest similarity between the image area corresponding to the preset feature object and the image area corresponding to the preset feature object indicated in the first segmentation model diagram. For example, when the first segmentation model diagram is as shown in Figure 3 , the target sample may be the sample with the highest similarity between the segmentation model diagram and the first segmentation model diagram.

[0062] In addition, in some implementations, the first image feature further includes: the content type of the first image and the 3A information of the first image.

[0063] For example, the content type of the first image may specifically be one of the preset multiple content types. For example, the preset multiple content types may include: people, landscapes, snow-capped mountains, blue skies, grasslands, and deserts, etc. The content type of the first image may be one of the above content types.

[0064] The 3A information includes: parameter information of autofocus, autoexposure, and auto white balance.

[0065] Furthermore, the target sample corresponding to the first image feature can be the sample with the highest similarity in content type and 3A information to the content type and 3A information of the first image. For example, for each sample in the preset sample set, the first similarity between the content type of the sample and the content type of the first image, and the second similarity between the 3A information of the sample and the 3A information of the first image can be calculated respectively. Then, the first similarity and the second similarity are weighted and summed to obtain the similarity between the sample and the first image. Then, the sample with the highest similarity to the first image in the preset sample set is used as the target sample.

[0066] S103. The photographing device displays a prompt mark corresponding to the target sample in the preview window.

[0067] The prompt mark is used to prompt the user to change the photographing angle of the photographing device by using the prompt mark.

[0068] In one implementation, the prompt mark is specifically used to indicate the position of a preset feature object in the picture.

[0069] Exemplarily, as Figure 4 shown, in the preview window 201 of the photographing device, three prompt marks are displayed, namely, prompt mark 202a, prompt mark 202b, and prompt mark 202c. Among them, prompt mark 202a is used to indicate the position of the preset feature object "mountain" in the picture, prompt mark 202b is used to indicate the position of the preset feature object "house" in the picture, and prompt mark 202c is used to indicate the position of the preset feature object "person" in the picture. In this way, the user can use these prompt marks to change the photographing angle of the photographing device so that the "mountain", "house", and "person" are respectively placed at the positions corresponding to the respective prompt marks in the picture.

[0070] It can be understood that Figure 4 only the text - box with text is taken as an example of the prompt mark for illustration. In the actual application process, the prompt mark can also adopt other forms. For example, a picture of a mountain can be used as the prompt mark for the preset feature object "mountain", a picture of a house can be used as the prompt mark for the preset feature object "house", and so on. The specific form of the prompt mark can be not limited in the embodiments of the present application.

[0071] In another implementation, the prompt mark is specifically used to indicate the direction for the user to move the photographing angle.

[0072] Exemplarily, as Figure 5 shown, in the preview window 201 of the photographing device, a prompt mark 203 is displayed, which is used to indicate that the user moves the photographing angle to the right. In this way, the user can move the photographing angle to the right according to the prompt mark 203 so that the photographing angle corresponds to the photographing angle of the target sample.

[0073] In some implementations, such as Figure 6 As shown, in the method provided by the embodiments of the present application, S102 may specifically include:

[0074] S1021. The photographing device determines n sample images corresponding to the first image feature from a preset sample image set, where n is a positive integer greater than 1.

[0075] For example, the n sample images may be: the n sample images with the highest similarity between the image region corresponding to the preset feature object and the image region corresponding to the preset feature object indicated in the first segmentation model diagram. For example, when the first segmentation model diagram is as Figure 3 As shown, the target sample images may be the n sample images with the highest similarity between the segmentation model diagram in the preset sample image set and the first segmentation model diagram.

[0076] For another example, the n sample images may be: the n sample images with the highest similarity between the content type and 3A information and the content type and 3A information of the first image. For example, for each sample image in the preset sample image set, the first similarity between the content type of the sample image and the content type of the first image, and the second similarity between the 3A information of the sample image and the 3A information of the first image can be calculated respectively, and then the first similarity and the second similarity are weighted and summed to obtain the similarity between the sample image and the first image. Then, the n sample images with the highest similarity to the first image are determined from the preset sample image set.

[0077] S1022. The photographing device displays the n sample images in the interface of the photographing preview mode.

[0078] S1023. The photographing device determines the target sample image in response to a first user operation of selecting a target sample image from the n sample images.

[0079] Exemplarily, in the interface of the photographing preview mode as Figure 7 As shown, the n sample images (including sample image a, sample image b, sample image c, and sample image d in the figure) may be displayed in area 204. Then, after the photographing device receives the first user operation, it determines the target sample image from sample image a, sample image b, sample image c, and sample image d.

[0080] It can be understood that in Figure 7Among them, only by way of example, taking sample a, sample b, sample c, and sample d as examples, a possible form of displaying n samples in the interface of the camera preview mode is introduced. In the actual application process, the n samples can also be displayed in the interface of the camera preview mode in other forms. For example, the n samples can be tiled and displayed in the interface of the camera preview mode in a multi-row and multi-column manner; for another example, when the n samples also include other samples in addition to sample a, sample b, sample c, and sample d, in area 204, the user can switch to other samples by swiping left and right, etc. The embodiments of the present application may not limit the display manner of the n samples in the interface of the camera preview mode.

[0081] In some implementation manners, as Figure 8 shown, the method may further include:

[0082] S104. The photographing device adjusts the photographing parameters of the photographing device according to the photographing parameters corresponding to the target sample.

[0083] Among them, the photographing parameters include one or more of an exposure compensation parameter, an ISO, a shutter speed, a white balance parameter, and a focusing distance.

[0084] For example, after the photographing device determines the target sample according to S102, the photographing parameters of the photographing device can be set to the photographing parameters corresponding to the target sample. For another example, after the photographing device determines the target sample according to S102, based on the current photographing parameters of the photographing device, the photographing parameters of the photographing device can be adjusted accordingly according to the photographing parameters corresponding to the target sample, so that the photographing parameters of the photographing device are closer to the photographing parameters corresponding to the target sample.

[0085] In some designs, as Figure 9 shown, the method may further include:

[0086] S105. When the photographing device detects that there is a first parameter in the photographing parameters corresponding to the target sample and the current photographing parameters of the photographing device whose difference is greater than a threshold, a control for adjusting the first parameter is displayed in the interface of the camera preview mode, and an interface highlighting process is performed on the control for adjusting the first parameter.

[0087] Among them, the current photographing parameters of the photographing device can be specifically understood as: the photographing parameters of the photographing device before adjusting the photographing parameters of the photographing device according to the photographing parameters corresponding to the target sample.

[0088] For example, taking the ISO value in the camera parameters as an example, assume that the current ISO value in the camera device is 800, and the ISO value corresponding to the target sample is 163. If the camera device detects that the difference between the ISO value corresponding to the target sample and the current ISO value of the camera device is greater than a preset threshold (for example, if the preset threshold is 200, then the difference between 800 and 163 is greater than 200, that is, the difference between the ISO value corresponding to the target sample and the current ISO value of the camera device is greater than the preset threshold), then the first parameter is the ISO value. Furthermore, as Figure 10 shown, in the interface of the camera preview mode, an adjustment control 204 corresponding to the ISO value is displayed. The ISO value shown in the adjustment control 204 is 163, indicating that the ISO value of the camera device has been adjusted to the ISO value corresponding to the target sample. And the interface of the adjustment control 204 corresponding to the ISO value is highlighted. It can be seen that compared with the other adjustment controls on the left and right, the adjustment control 204 is highlighted in the form of a block diagram. In this way, it is convenient for the user to know the current ISO value situation.

[0089] In some possible designs, as Figure 11 shown, the method may further include:

[0090] S106. The camera device receives a second user operation on the adjustment control corresponding to the first parameter.

[0091] S107. The camera device displays an adjustment axis corresponding to the first parameter and marks the position of the target value on the adjustment axis.

[0092] Wherein, the position of the target value is: the position corresponding to the value of the first parameter in the current camera parameters.

[0093] Continuing Figure 10 shown in the example where the ISO value is the first parameter, when the camera device receives a click operation on Figure 10 the area 204 (which can be understood as the second user operation), as Figure 12 shown, an adjustment axis 205 corresponding to the ISO value is displayed in the interface, and the position of the ISO value 800 (i.e., the position of the target value) is marked on the adjustment axis 205. In this way, it is convenient for the user to know the value of the first parameter (the ISO value in this example) before adjusting the camera parameters of the camera device according to the camera parameters corresponding to the target sample.

[0094] Based on the same inventive concept, as an implementation of the above method, an embodiment of the present application further provides a camera device. This embodiment corresponds to the foregoing method embodiment. For the convenience of reading, the details in the foregoing method embodiment will not be described one by one in this embodiment, but it should be clear that the camera device in this embodiment can correspondingly implement all the contents in the foregoing method embodiment.

[0095] AsFigure 13 As shown, it is a schematic structural diagram of a voice synthesis device provided by an embodiment of the present application. Among them, it includes:

[0096] An acquisition unit 301, configured to acquire a first image in the photo preview mode of a photographing device;

[0097] A processing unit 302, configured to determine a target sample corresponding to the first image feature from a preset sample set according to the first image feature of the first image; the preset sample set includes multiple samples;

[0098] The processing unit 302 is further configured to display a prompt mark corresponding to the target sample in a preview window; the prompt mark is used to prompt a user to change the photographing angle of the photographing device by using the prompt mark.

[0099] In some implementation manners, the processing unit 302 is configured to determine a target sample corresponding to the first image feature from a preset sample set according to the first image feature of the first image, including:

[0100] The processing unit 302 is configured to determine n samples corresponding to the first image feature from a preset sample set according to the first image feature of the first image, where n is a positive integer greater than 1;

[0101] The processing unit 302 is configured to display the n samples in the interface of the photo preview mode;

[0102] The processing unit 302 is configured to determine the target sample in response to a first user operation of selecting the target sample from the n samples.

[0103] In some implementation manners, the first image feature includes: a first segmentation model diagram of the first image; the first segmentation model diagram is used to indicate an image area corresponding to a preset feature object in the first image.

[0104] In some implementation manners, the first image feature further includes: the content type of the first image and the 3A information of the first image; the 3A information includes: parameter information of autofocus, autoexposure, and auto white balance.

[0105] In some implementation manners, the prompt mark is specifically used to indicate the position of a preset feature object in the picture, or, the prompt mark is specifically used to indicate the direction for the user to move the photographing angle.

[0106] In some implementation manners, the processing unit 302 is further configured to adjust the photographing parameters of the photographing device according to the photographing parameters corresponding to the target sample; the photographing parameters include: one or more of exposure compensation parameters, sensitivity, shutter speed, white balance parameters, and focusing distance.

[0107] In some implementations, the processing unit 302 is further configured to, when detecting that there is a first parameter whose difference from the current photographing parameter of the photographing device is greater than a threshold value in the photographing parameters corresponding to the target sample, display an adjustment control corresponding to the first parameter in the interface of the photographing preview mode, and perform an interface highlighting process on the adjustment control corresponding to the first parameter.

[0108] In some implementations, the processing unit 302 is further configured to receive a second user operation on the adjustment control corresponding to the first parameter;

[0109] The processing unit 302 is further configured to display an adjustment axis corresponding to the first parameter and mark a target numerical position on the adjustment axis; the target numerical position is: the position corresponding to the numerical value of the first parameter in the current photographing parameter.

[0110] The voice synthesis device 30 provided in the embodiments of the present application can execute the methods of S101 - S107, and its implementation principle and technical effects are similar, which will not be elaborated here.

[0111] Based on the same inventive concept, the embodiments of the present application further provide an electronic device. Figure 14 As the structural schematic diagram of the electronic device provided in the embodiments of the present application, as Figure 14 shown, the electronic device provided in this embodiment includes: a memory 41 and a processor 402. The memory 401 is used to store a computer program, and the processor 402 is configured to make the data processing device execute any of the methods provided in the above embodiments when executing the computer program.

[0112] Based on the same inventive concept, the embodiments of the present application further provide a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the computing device is enabled to implement the methods provided in the above embodiments.

[0113] Based on the same inventive concept, the embodiments of the present application further provide a computer program product. When the computer program product runs on a computer, the computing device is enabled to implement the methods provided in the above embodiments.

[0114] Those skilled in the art should understand that the embodiments of the present application can be provided as a method, a system, or a computer program product. Therefore, the present application can adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware aspects. Moreover, the present application can adopt the form of a computer program product implemented on one or more computer-usable storage media containing computer-usable program codes.

[0115] The processor can be a Central Processing Unit (CPU), or it can also be other general-purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field-Programmable Gate Arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor or any conventional processor, etc.

[0116] The memory may include non-permanent memory in the form of computer-readable media, random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. The memory is an example of computer-readable media.

[0117] Computer-readable media includes permanent and non-permanent, removable and non-removable storage media. The storage media can implement information storage by any method or technology, and the information can be computer-readable instructions, data structures, program modules, or other data. Examples of the computer's storage media include, but are not limited to, Phase Change Memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read-Only Memory (ROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), flash memory or other memory technologies, Compact Disc Read-Only Memory (CD-ROM), Digital Versatile Disc (DVD) or other optical storage, magnetic cassette tapes, disk storage or other magnetic storage devices, or any other non-transmission media that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transitory media such as modulated data signals and carrier waves.

[0118] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements for some or all of the technical features. These modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.

Claims

1. A photographing method, characterized in that, The method includes: In the photo preview mode of the photographing device, obtain a first image; According to the first image feature of the first image, determine a target sample corresponding to the first image feature from a preset sample set; the preset sample set includes multiple samples; In the preview window, display a prompt mark corresponding to the target sample; the prompt mark is used to prompt the user to change the photographing angle of the photographing device by using the prompt mark.

2. The method according to claim 1, characterized in that, The determining, from the preset sample set, a target sample corresponding to the first image feature according to the first image feature of the first image includes: According to the first image feature of the first image, determine n samples corresponding to the first image feature from the preset sample set, where n is a positive integer greater than 1; Display the n samples in the interface of the photo preview mode; In response to a first user operation of selecting a target sample from the n samples, determine the target sample.

3. The method according to claim 1, wherein The first image feature includes: a first segmentation model diagram of the first image; the first segmentation model diagram is used to indicate an image area corresponding to a preset feature object in the first image.

4. The method according to claim 1, wherein The first image feature further includes: the content type of the first image and the 3A information of the first image; the 3A information includes: parameter information of autofocus, autoexposure, and automatic white balance.

5. The method according to claim 1, characterized in that The prompt mark is specifically used to indicate the position of the preset feature object in the picture, or the prompt mark is specifically used to indicate the direction for the user to move the photographing angle.

6. The method according to any one of claims 1-5, characterized in that, The method further includes: Adjust the photographing parameters of the photographing device according to the photographing parameters corresponding to the target sample; the photographing parameters include one or more of exposure compensation parameters, sensitivity, shutter speed, white balance parameters, and focusing distance.

7. The method according to claim 6, wherein The method further includes: When it is detected that there is a first parameter in the photographing parameters corresponding to the target sample and the current photographing parameters of the photographing device whose difference is greater than a threshold, display an adjustment control corresponding to the first parameter in the interface of the photo preview mode, and perform an interface highlighting process on the adjustment control corresponding to the first parameter.

8. The method according to claim 7, wherein The method further includes: Receive a second user operation on the adjustment control corresponding to the first parameter; Display an adjustment axis corresponding to the first parameter and mark a target numerical position on the adjustment axis; the target numerical position is: the position corresponding to the numerical value of the first parameter in the current photographing parameters.

9. A photographing device, characterized in that, It includes: An acquisition unit, configured to obtain a first image in the photo preview mode of the photographing device; A processing unit, configured to determine a target sample corresponding to the first image feature from a preset sample set according to the first image feature of the first image; the preset sample set includes multiple samples; The processing unit is further configured to display a prompt mark corresponding to the target sample in the preview window; the prompt mark is used to prompt the user to change the photographing angle of the photographing device by using the prompt mark.

10. An electronic device, characterized in that, It includes: A memory and a processor, the memory is used to store a computer program, and the processor is used to, when executing the computer program, enable the electronic device to implement the photographing method according to any one of claims 1-8.