Shooting mode determination method and device, and shooting equipment
By obtaining environmental data to determine the shooting scene and recommending the target shooting mode, the problem of users having difficulty in choosing the appropriate shooting mode is solved, achieving more efficient shooting effects.
Patent Information
- Application Number
- CN202410347104.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-25
- Publication Date
- 2025-09-26
AI Technical Summary
It is difficult for users to determine the most suitable shooting mode according to their own needs, resulting in poor shooting effects.
By acquiring environmental data, determining the shooting scene, and recommending a matching target shooting mode from multiple preset shooting modes, the trigger control is displayed for the user to start directly.
It improves the accuracy and efficiency of shooting effects, reduces the complexity of user operations, and recommends the most suitable shooting mode.
Smart Images

Figure CN120711284A_ABST
Abstract
Description
Technical Field
[0001] The technical solution disclosed herein relates to the field of image acquisition technology, and in particular to a method, device, and shooting equipment for determining a shooting mode. Background Art
[0002] Nowadays, many electronic devices have camera functions. To provide better shooting effects, manufacturers usually pre-configure shooting modes suitable for different shooting scenarios in electronic devices, such as panoramic shooting mode, night scene shooting mode, snapshot mode, etc.
[0003] However, when taking photos, it is difficult for users to determine the most appropriate shooting mode according to their own needs, so they often use general modes to shoot, which makes it difficult for users to achieve the expected results in their photos. Summary of the Invention
[0004] In view of this, the present disclosure provides a shooting mode determination method, apparatus, and shooting device to assist users in determining the most suitable shooting mode.
[0005] According to a first aspect of an embodiment of the present disclosure, a method for determining a shooting mode is provided, the method comprising:
[0006] In response to detecting an image acquisition operation, acquiring target data; the target data at least includes environmental data;
[0007] determining a shooting scene based on the target data;
[0008] Determining at least one target shooting mode that matches the shooting scene from a plurality of preset shooting modes;
[0009] Displays trigger controls for at least one target capture mode.
[0010] According to a second aspect of an embodiment of the present disclosure, there is provided a shooting mode determination device, including:
[0011] an acquisition module, configured to acquire target data in response to detecting an image acquisition operation; the target data at least including environmental data;
[0012] A scene determination module, configured to determine a shooting scene based on the target data;
[0013] A mode determination module, configured to determine at least one target shooting mode that matches the shooting scene from a plurality of preset shooting modes;
[0014] The display module is used to display a trigger control of at least one target shooting mode.
[0015] According to a third aspect of an embodiment of the present disclosure, there is provided a photographing device, including:
[0016] A sensor, configured to collect target data in response to detecting an image collection operation; the target data at least includes environmental data;
[0017] The display interface is used to display a trigger control of at least one target shooting mode, where the target shooting mode is determined from a plurality of preset shooting modes and is at least one shooting mode that matches a shooting scene, where the shooting scene is determined based on the target data.
[0018] According to a fourth aspect of the embodiments of the present disclosure, there is provided an electronic device, including:
[0019] processor;
[0020] a memory for storing processor-executable instructions;
[0021] The processor is configured to implement the steps of any one of the shooting mode determination methods of the first aspect by running the executable instructions.
[0022] According to a fifth aspect of an embodiment of the present disclosure, a non-temporary computer-readable storage medium is provided, on which a computer program is stored. When the program is executed by a processor, the steps of the shooting mode determination method described in any one of the first aspects are implemented.
[0023] The technical solutions provided by the embodiments of the present disclosure may have the following beneficial effects:
[0024] When an image capture operation is detected, the most suitable shooting mode needs to be recommended to the user. In this case, target data including at least environmental data is obtained, so that a relatively accurate shooting scene can be obtained based on the environmental data. In this way, a target shooting mode suitable for the shooting scene can be recommended to the user, and then a trigger control for the target shooting mode is displayed, allowing the user to more conveniently activate at least one target shooting mode for shooting.
[0025] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0027] Figure 1 is a flowchart of a method for determining a shooting mode according to an exemplary embodiment of the present disclosure;
[0028] Figure 2a is a schematic diagram showing a method for determining a shooting mode according to an exemplary embodiment of the present disclosure;
[0029] Figure 2b is a schematic diagram showing another method for determining a shooting mode according to an exemplary embodiment of the present disclosure;
[0030] Figure 2c is a schematic diagram showing another method for determining a shooting mode according to an exemplary embodiment of the present disclosure;
[0031] Figure 2d is a schematic diagram showing another method for determining a shooting mode according to an exemplary embodiment of the present disclosure;
[0032] Figure 3 is a schematic diagram showing another method for determining a shooting mode according to an exemplary embodiment of the present disclosure;
[0033] Figure 4a is a schematic diagram showing another method for determining a shooting mode according to an exemplary embodiment of the present disclosure;
[0034] Figure 4b is a schematic diagram showing another method for determining a shooting mode according to an exemplary embodiment of the present disclosure;
[0035] Figure 4c is a schematic diagram showing another method for determining a shooting mode according to an exemplary embodiment of the present disclosure;
[0036] Figure 4d is a schematic diagram showing another method for determining a shooting mode according to an exemplary embodiment of the present disclosure;
[0037] Figure 5a is a schematic diagram showing another method for determining a shooting mode according to an exemplary embodiment of the present disclosure;
[0038] Figure 5b is a schematic diagram showing another method for determining a shooting mode according to an exemplary embodiment of the present disclosure;
[0039] Figure 5c is a schematic diagram showing another method for determining a shooting mode according to an exemplary embodiment of the present disclosure;
[0040] Figure 6 is a structural diagram of a shooting mode determination device according to an exemplary embodiment of the present disclosure;
[0041] Figure 7 It is a structural diagram of an electronic device according to an exemplary embodiment of the present disclosure. DETAILED DESCRIPTION
[0042] Exemplary embodiments will be described in detail herein, with examples illustrated in the accompanying drawings. In the following description, when referring to the drawings, identical numerals in different figures represent identical or similar elements, unless otherwise indicated. The embodiments described in the following exemplary embodiments are not intended to represent all possible embodiments consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
[0043] The terms used in this disclosure are for the purpose of describing specific embodiments only and are not intended to limit the disclosure. As used in this disclosure and the appended claims, the singular forms "a," "an," "the," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and / or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
[0044] It should be understood that although the terms first, second, third, etc. may be used in this disclosure to describe various information, such information should not be limited to these terms. These terms are only used to distinguish information of the same type from each other. For example, without departing from the scope of this disclosure, first information may also be referred to as second information, and similarly, second information may also be referred to as first information. Depending on the context, the word "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining."
[0045] Nowadays, many electronic devices have camera functions. To provide better shooting effects, manufacturers usually pre-configure shooting modes suitable for different shooting scenarios in electronic devices, such as panoramic shooting mode, night scene shooting mode, snapshot mode, etc.
[0046] However, when taking photos, it is difficult for users to determine the most appropriate shooting mode according to their own needs, so they often use general modes to shoot, which makes it difficult for users to achieve the expected results in their photos.
[0047] Based on this, the present disclosure provides a method that can automatically determine a shooting mode for a user, and the method is applied to electronic devices with image acquisition functions, such as mobile phones, tablets, electronic cameras, and the like. In addition, in the present disclosure, the electronic device needs to be able to obtain environmental data around the electronic device. For example, the electronic device is connected to (or is itself provided with) a device for collecting environmental data: a brightness detection sensor, an infrared sensor, a speed sensor, a distance sensor, a voice recognition, a receiving device, and the like.
[0048] In this way, when a user wants to perform an image capture operation, target data including at least environmental data can be acquired through these devices. Based on the target data, the shooting scene of the electronic device when performing image capture can be determined, and at least one target shooting mode that matches the current shooting scene can be determined from multiple preset shooting modes. A trigger control for the target shooting mode can be displayed, allowing the user to directly activate one or more target shooting modes by triggering the control.
[0049] Generally speaking, these environmental data are not presented in the form of image data, so electronic devices do not need to perform complex image analysis and image processing. The amount of data and computing resources required to process these environmental data are relatively small, thereby improving the recommendation speed while ensuring the accuracy of the recommendation.
[0050] This helps to quickly recommend a suitable target shooting mode to the user when the user just starts to perform image acquisition, and can prevent the user from using a general shooting mode to capture too many images that do not meet psychological expectations.
[0051] The following is a detailed introduction:
[0052] Figure 1 FIG. 1 is a flow chart of a method for determining a shooting mode according to an exemplary embodiment of the present disclosure. Figure 1 As shown, the method includes:
[0053] Step 101 : In response to detecting an image acquisition operation, acquiring target data; the target data at least includes environmental data.
[0054] Image acquisition operations include but are not limited to:
[0055] The user starts the camera operation, the user enters the shooting interface (or recording interface), the user schedules to perform automatic shooting (recording) or start a video conference after 1 minute, and the quick shooting operation, among which the quick shooting operation can directly capture images without entering the shooting interface.
[0056] After the image acquisition operation is detected, target data including at least environmental data is acquired, wherein the environmental data is data in the environment where the electronic device is located.
[0057] The environmental data in this embodiment does not rely on image analysis collected by image sensors, but refers to data directly collected by non-image sensors, including but not limited to: sound, ambient brightness, temperature and humidity, obstacle (such as people, objects, etc.) detection status, obstacle movement speed, etc.
[0058] Step 102: Determine a shooting scene based on the target data.
[0059] Since the target data at least includes environmental data, the specific shooting scene can be determined according to the environmental data in the target data.
[0060] For example, the following are several common methods for determining shooting scenes:
[0061] When the ambient light brightness is lower than the preset brightness value, the shooting scene is considered to be: night, or a scene with low brightness; when the shooting subject (such as an obstacle recognized by the sensor) is too far away, the shooting scene is considered to be: a shooting scene that requires long-distance shooting; when the shooting subject moves faster than the specified moving speed, the shooting scene is considered to be: a shooting scene that requires quick capture; when the sensor recognizes that the obstacle is a human body, the shooting scene is considered to be: a portrait shooting scene.
[0062] Step 103: Determine at least one target shooting mode that matches the shooting scene from among a plurality of preset shooting modes.
[0063] The present disclosure configures at least one shooting mode for each shooting scene, so that after determining the shooting scene, the shooting mode to be recommended to the user can be determined.
[0064] In one embodiment, each shooting mode corresponds to a shooting scene. For example, the mapping relationship between the shooting scene and the shooting mode can be pre-established as follows:
[0065] When shooting at night or in low-light conditions, the Night Scene shooting mode is recommended. When shooting at a distance, the Telephoto lens shooting mode is recommended. When shooting quickly, the Candid shooting mode is recommended. When shooting portraits, the Portrait mode is recommended.
[0066] In this way, the target shooting mode to be recommended can be determined according to the determined shooting scene.
[0067] In the present disclosure, target shooting mode includes but is not limited to at least one of the following:
[0068] Panoramic mode, night scene mode, high dynamic range mode, telephoto lens mode, wide-angle lens mode, snapshot mode, portrait mode, group photo mode, document mode, starry sky mode, super moon mode; the starry sky mode is used to capture starry sky images that meet the first requirement, and the super moon mode is used to capture moon images that meet the second requirement.
[0069] For example, the following briefly introduces each mode:
[0070] Panorama mode is used to capture wide-angle shots (such as landscapes).
[0071] Night mode: used to optimize low-light photography, improve dark details and overall brightness, and reduce noise.
[0072] HDR (High Dynamic Range) mode: used to expand the dynamic range and preserve details in highlights and shadows.
[0073] Telephoto lens mode: used to capture clear images from a distance, compress the sense of space, and is suitable for close-up or long-range shooting.
[0074] Wide-angle lens mode: used for shooting from a wide perspective, especially suitable for landscapes and buildings to show spatial depth.
[0075] Snapshot mode: used to quickly respond to capture instantaneous actions, reduce motion blur, and ensure clear capture.
[0076] Portrait mode: used to highlight the subject and blur the background to achieve professional-level portrait photography effects.
[0077] Group photo mode: mainly optimizes the focus and composition for group photos to ensure that everyone is clearly in the frame.
[0078] Document mode: Similar to the scanning function, it digitizes paper documents and ensures clear text lines.
[0079] Starry Sky Mode: Designed specifically for astronomical photography, it enhances the clarity of celestial bodies and the ability to record star trails at night.
[0080] Super Moon Mode: Optimizes exposure for the bright moon, delivering clear and textured moon photos.
[0081] Step 104: Display a trigger control for at least one target shooting mode.
[0082] Each shooting mode is pre-set with a trigger control. By displaying the trigger control of at least one target shooting mode, the user can quickly start the target shooting mode through the trigger control, so that the user does not need to find a path to open the target shooting mode.
[0083] The content of the trigger control includes, but is not limited to, text, patterns, numbers, and other symbols used to mark different shooting modes.
[0084] Optional, Figure 2a This is a schematic diagram showing a method for determining a shooting mode according to an exemplary embodiment of the present disclosure. Figure 2a Display the trigger controls for Target Capture mode as follows:
[0085] After the user enters the shooting interface, the image captured in real time by the image acquisition sensor will be displayed through the shooting interface. After determining at least one target shooting mode, the trigger control of at least one target shooting mode can be directly displayed on the shooting interface.
[0086] For example, if one of the target shooting modes is the panoramic mode, Figure 2a The shooting interface displays a trigger control 201 of one of the target shooting modes: the identifier of the trigger control 201 is used to indicate the "panoramic mode". At this time, if the user triggers the trigger control 201, the image acquisition can be directly performed in the panoramic mode on the shooting interface.
[0087] or, Figure 2b is a schematic diagram showing a method for determining a shooting mode according to an exemplary embodiment of the present disclosure. Figure 2b As shown:
[0088] A check box 2011 is set near the trigger control 201 (e.g., at a designated location in front). When the user triggers the check box 2011, it is assumed that the user wants to activate the panoramic mode for shooting. In this way, the trigger range can be reduced to the size of the check box 2011 (smaller than the display size of the trigger control 201), thereby reducing the detection and calculation workload of the electronic device.
[0089] The screen after the user selects Figure 2c shown.
[0090] For example, the logo of the trigger control 201 can also be changed to other styles, such as Figure 2d The illustrated style of the trigger control 202 or the style of the trigger control 203 is not limited to a specific style in the embodiment of the present disclosure.
[0091] Optional, Figure 3 is a schematic diagram showing another method for determining a shooting mode according to an exemplary embodiment of the present disclosure, which can be performed according to Figure 3 Display the trigger controls for Target Capture mode as follows:
[0092] Among them, the display interface of the electronic device does not display the shooting interface, but the main interface of the electronic device. Assuming that the user presses the quick shooting button (such as the volume button, etc.) in the main interface and it is considered that the image acquisition operation is detected, the target shooting mode can still be determined according to steps 101 to 103. Still taking the target shooting mode as the panoramic mode as an example, the trigger control 202 of the target shooting mode can be directly displayed in the main interface.
[0093] When the user triggers the trigger control 202, it is considered that the user wants to shoot in panoramic mode. At this time, the shooting interface can be directly and quickly started in panoramic mode. In this way, the user does not need to start the shooting interface additionally, which helps to reduce user operations.
[0094] Optionally, the electronic device performs image acquisition through an image acquisition sensor, so the target data also includes image data.
[0095] The method further comprises the following steps:
[0096] Images are collected by an image collection sensor, where the total number of the images is less than or equal to a first threshold; and image analysis is performed on the collected images to obtain the image data.
[0097] When the target data includes image data and environmental data, determining the shooting scene in combination with the image data and the environmental data helps to improve the accuracy of determining the shooting scene and the target shooting mode.
[0098] It should be noted that, in the present disclosure, it is not necessary to acquire a large number of images in order to obtain a relatively accurate shooting scene. Therefore, a first threshold can be pre-set here, and the number of image data in the target data can be controlled to be less than or equal to the first threshold.
[0099] For example, the first threshold may be set to 1, so as to reduce the complexity of calculations caused by performing complex image analysis on multiple images and the difficulty in quickly determining the target shooting mode.
[0100] For example, when the shooting mode includes a portrait snapshot mode, in order to determine whether the current shooting scene is suitable for the "portrait snapshot mode", it can be determined according to the following method:
[0101] An image is acquired, as well as a moving speed of an object detected by a sensor and / or a moving speed of the electronic device itself.
[0102] On the one hand, by performing a simple analysis on an image, it is possible to determine whether the image includes a human body (for example, the percentage of the human body in the image reaches a specified percentage); on the other hand, by obtaining the movement speed (the movement speed of the electronic device, or the movement speed of the detected object in the environment), the relative movement of the electronic device with respect to the current shooting scene can be determined. At this time, when it is determined that there is a human body in the image and the movement speed is greater than a certain speed threshold, it is considered that the current shooting scene is suitable for starting the portrait capture mode. The target shooting mode can be determined as the portrait capture mode.
[0103] Among them, the above-mentioned "portrait snapshot mode" can be a shooting mode set separately, or it can be determined as the target shooting mode by simultaneously determining "portrait mode" and "snap shot mode" and recommending them to the user at the same time. In this way, when the user starts the snapshot mode and the portrait mode at the same time, the "portrait snapshot" shooting function can be realized.
[0104] Optionally, the image data includes but is not limited to at least one of the following:
[0105] The exposure ratio of each image, the proportion of the object to be photographed in each image, and the type of object to be photographed in each image.
[0106] The exposure ratio can be used to reflect the brightness of the shooting environment in which the electronic device is located.
[0107] The type of the object to be photographed in each image is used to distinguish each object in the image, such as a person, a tree, the moon, the starry sky, etc.
[0108] The proportion of the object to be photographed is used to reflect the subject that the user wants to photograph. For example, when the percentage of the area of the portrait in the image to the total area of the image reaches 30% (an exemplary value), it is considered that the user wants to take a portrait. At this time, the target shooting mode can be determined to be: portrait mode; for another example, when the percentage of the area of the moon to the total area of the image reaches 20% (an exemplary value), it is considered that the user wants to take a picture of the moon. At this time, the target shooting mode can be determined to be: supermoon mode. For another example: when the percentage of the area of the document in the image to the total area of the image reaches 70% (an exemplary value), the target shooting mode can be determined to be: document mode.
[0109] Optionally, executing step 102 to determine a shooting scene based on the target data includes:
[0110] Based on the matching degree between the target data and each of the shooting scenes, at least one target shooting scene having a matching degree greater than or equal to a second threshold is determined; and a shooting mode corresponding to the target shooting scene is determined as the target shooting mode.
[0111] The degree of matching between the target data and the shooting scene can be determined by an intelligent model, or the conditions that need to be met can be preset for each shooting scene to determine the degree to which the target data meets the conditions corresponding to each shooting scene, thereby determining the degree of matching.
[0112] Exemplarily, the environmental data includes at least one of the following:
[0113] Ambient brightness; distance between the object to be photographed and the electronic device; moving speed of the object to be photographed; user's description of the target shooting mode.
[0114] Based on this, you can set it as shown in Table 1 below:
[0115] Table 1:
[0116]
[0117] The above table includes: matching conditions between preset target data and shooting scenes, and target shooting modes determined after the matching conditions are met:
[0118] Among them, "lux" is the international unit of illuminance, which represents the amount of luminous flux (lumens) received per unit area. Ambient illuminance <15lux means that the light intensity in the environment is very low.
[0119] For example, the above parameters can be obtained by:
[0120] The exposure ratio can be obtained by analyzing the image or detected by a device such as a surface vibration multispectral sensor. The exposure ratio <0.2 here means that the ratio between the brightness of the darkest area in the environment (or in the image) and the brightness of the brightest area is <0.2, which means that the environment is brighter. Conversely, if the exposure ratio is the ratio between the brightness of the brightest area in the environment (or in the image) and the brightness of the darkest area, then the exposure ratio can be set to be greater than or equal to 1. The brightest area can be the area with the highest average brightness value among a certain number of pixel areas, and the brightness of the brightest area is also the average brightness value. Similarly, the darkest area is the area with the lowest average brightness value among a certain number of pixel areas.
[0121] The shooting distance can be monitored using sensors such as TOF sensors (Time-of-Flight Sensors). The speed of an object can be detected using a DVS sensor (Dynamic Vision Sensor). People and faces can be obtained through image analysis or detected using sensors such as infrared sensors; the number of people can be determined through facial recognition; the moon, document, and starry sky can be determined using specific algorithms. Sound data such as "group photo," "moon," and "snapshot" can be detected using a microphone and then determined through voice recognition, speech-to-text, and other methods.
[0122] In the embodiment shown in the present disclosure, when the target data meets the matching conditions of multiple shooting scenes, the target shooting modes can be sorted according to the matching degree (the degree to which the target data meets the matching conditions), for example, sorted from high to low according to the matching degree.
[0123] The second threshold here can be set to a fixed value: for example, the matching degree reaches 80%, 100%, and the latter is 120% (a value exceeding the value at which the matching condition is satisfied).
[0124] Alternatively, it may be set to display the n target recommended modes with the highest matching degree first, where n≥1, and set the matching degree value between the target data and the target shooting mode corresponding to the nth shooting scene as the second threshold.
[0125] For example, assume that n=2, the exposure ratio of the target data is 0.19, and the object distance is 60m.
[0126] At this time, the order of matching from high to low is:
[0127] Telephoto lens mode, HDR mode.
[0128] Optionally, executing step 104 to display a trigger control for at least one target shooting mode includes the following solutions:
[0129] Solution 1: Display the trigger controls of each target shooting mode in sequence according to a preset order; the preset order is determined based on the matching degree.
[0130] In the display scheme of solution 1, users usually only select a target shooting mode to perform image acquisition. At this time, assuming the preset order is: telephoto lens mode, HDR mode, Figure 4a is a schematic diagram showing another method for determining a shooting mode according to an exemplary embodiment of the present disclosure. Figure 4a As shown:
[0131] The trigger control 401 of the telephoto lens mode is first displayed. Then, if the user does not trigger the trigger control 401 within a preset time period, it is considered that the user does not want this mode, and the trigger control 401 can be stopped from being displayed.
[0132] Then, follow the steps below: Figure 4b Another trigger control is displayed in a manner as shown in FIG. 4 : the trigger control 402 for the HDR mode.
[0133] Or solution 2, simultaneously displaying the trigger controls for each target shooting mode.
[0134] Solution 2, which displays multiple target shooting modes at the same time, helps users select multiple target shooting modes to perform image acquisition at the same time, or helps users select the most suitable target shooting mode from multiple recommended target shooting modes based on their personal preferences.
[0135] Display mode is as follows Figure 4cAs shown, since the matching degree of the telephoto lens mode is higher than that of the HDR mode, the trigger control 401 of the telephoto lens mode is located above the trigger control 402 of the HDR mode.
[0136] like Figure 4d As shown, if the user checks these two trigger controls (trigger control 401 and trigger control 402), the telephoto lens mode and the HDR mode are activated at the same time.
[0137] Optionally, the method further includes:
[0138] Acquire updated target data according to a preset period; and stop displaying the target shooting mode in response to determining that the matching degree between the updated target data and the shooting scene corresponding to the displayed target shooting mode does not meet a preset requirement.
[0139] After the trigger control for displaying the target shooting mode is activated, it is necessary to frequently detect whether the shooting scene has changed, so as to determine whether to change the displayed target shooting mode.
[0140] Therefore, it is necessary to obtain updated target data according to a preset period, so as to determine whether the shooting scene has changed based on the updated target data. The preset period can be: 2s, 5s, 20s, 60s. The specific value can be modified according to user needs.
[0141] For example, since the exposure ratio of the previously detected target data is 0.19 and the object distance is 60m, the target shooting modes determined in descending order of matching degree are: telephoto lens mode, HDR mode.
[0142] Then, the trigger controls corresponding to the telephoto lens mode and HDR mode are displayed.
[0143] Afterwards, the updated target data is retrieved and found to have an exposure ratio of 0.3 and an object distance of 60 meters. Assume that the preset requirement is that the percentage of target data that meets the matching conditions of the shooting scene is greater than or equal to 100% (i.e., the exposure ratio must be less than 0.2 and the object distance must be greater than 20 meters).
[0144] Then, if the exposure ratio is 0.3, which does not meet the preset requirement, the trigger controls corresponding to the HDR mode will stop being displayed, and only the trigger controls corresponding to the telephoto lens mode will be displayed.
[0145] Optionally, executing step 104 to display a trigger control for at least one target shooting mode includes:
[0146] At least one first control is displayed; each first control is used to indicate one of the target shooting modes; for each first control, in response to detecting a triggering operation on the first control, a second control is displayed; the second control is used to trigger the target shooting mode indicated by the first control, and the display size of the first control is smaller than the display size of the second control.
[0147] Figure 5a 、 Figure 5b 、 Figure 5c They are respectively display schematic diagrams of another shooting mode determination method according to an exemplary embodiment of the present disclosure.
[0148] The trigger control includes: a first control 501 and a second control 502 .
[0149] When displayed, first follow Figure 5a If it is detected that the user triggers the first control 501, then further Figure 5b The second control 502 is displayed in a manner including a text description of the target shooting mode “panoramic mode” and a check box.
[0150] After that, if it is detected that the user has checked the checkbox, Figure 5c and starts the panoramic mode to perform image acquisition.
[0151] Figure 5a to Figure 5b arrive Figure 5c Together, they form a solution for progressively displaying trigger controls. Through this progressive display solution, when only the first control 501 is displayed, the smaller display size of the first control can reduce interference with the screen, avoid obstructing the user's viewing of the scenery in the viewfinder, and remind the user that a recommended target shooting mode is available for activation. When the user wants to learn more about the specific target shooting mode, the first control 501 is triggered, which then displays more descriptive information about the target shooting mode: that is, the information displayed by the second control 502, including a specific text description and an interactive checkbox, allowing the user to quickly activate it.
[0152] In another optional embodiment, the first control may be displayed first, and after the user triggers the first control, the first control may be replaced by the second control for display. In this case, only the second control with more information may be displayed, which can reduce space usage.
[0153] In another embodiment, a quick start solution may also be provided:
[0154] exist Figure 5aIn the case of long pressing the first control 501, it is considered that the user has determined to start the target shooting mode indicated by the first control 501. Figure 5c to display and activate Panorama mode.
[0155] For the sake of simplicity, the aforementioned method embodiments are all expressed as a series of action combinations. However, those skilled in the art should know that the present disclosure is not limited to the order of the actions described, because according to the present disclosure, certain steps can be performed in other orders or simultaneously.
[0156] Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all optional embodiments, and the actions and modules involved are not necessarily required by the present disclosure.
[0157] Corresponding to the aforementioned embodiment of the method for realizing the application function, the present disclosure further provides a shooting device, including:
[0158] The sensor is configured to collect target data in response to detecting an image collection operation; the target data at least includes environmental data.
[0159] The display interface is used to display a trigger control of at least one target shooting mode, where the target shooting mode is determined from a plurality of preset shooting modes and is at least one shooting mode that matches a shooting scene, where the shooting scene is determined based on the target data.
[0160] Exemplarily, the photographing device can be a mobile phone, tablet, computer, camera, etc., equipped with a sensor capable of collecting ambient data. The photographing device also includes a display interface capable of displaying at least one target photographing mode determined based on the photographing scene determined by the target data, thereby enabling a recommendation of the photographing mode.
[0161] Corresponding to the aforementioned embodiment of the method for realizing the application function, the present disclosure further provides a shooting mode determination device, such as Figure 6 As shown, the device includes:
[0162] The acquisition module 601 is configured to acquire target data in response to detecting an image acquisition operation; the target data at least includes environmental data.
[0163] The scene determination module 602 is configured to determine a shooting scene based on the target data.
[0164] The mode determination module 603 is configured to determine at least one target shooting mode that matches the shooting scene from among a plurality of preset shooting modes.
[0165] The display module 604 is configured to display a trigger control for at least one target shooting mode.
[0166] Optionally, the target data also includes image data.
[0167] The device further comprises:
[0168] The image acquisition module is configured to acquire images through an image acquisition sensor, wherein the total number of the images is less than or equal to a first threshold.
[0169] The image analysis module is used to perform image analysis on the collected image to obtain the image data.
[0170] Optionally, the image data includes at least one of the following:
[0171] The exposure ratio of each image; the proportion of the object to be photographed in each image; the type of object to be photographed in each image.
[0172] Optionally, when the scene determination module 602 is used to determine the shooting scene based on the target data, it is used to:
[0173] Based on the matching degree between the target data and each of the shooting scenes, at least one target shooting scene having a matching degree greater than or equal to a second threshold is determined.
[0174] The shooting mode corresponding to the target shooting scene is determined as the target shooting mode.
[0175] Optionally, when the display module 604 is used to display a trigger control of at least one target shooting mode, it is used to:
[0176] The trigger controls of each target shooting mode are displayed in sequence according to a preset order; the preset order is determined based on the matching degree; or, the trigger controls of each target shooting mode are displayed simultaneously.
[0177] Optionally, the device further includes:
[0178] The updating module is used to obtain updated target data according to a preset period.
[0179] The control module is configured to stop displaying the target shooting mode in response to determining that a matching degree between the updated target data and a shooting scene corresponding to the displayed target shooting mode does not meet a preset requirement.
[0180] Optionally, when the display module 604 is used to display a trigger control of at least one target shooting mode, it is used to:
[0181] At least one first control is displayed; each first control is used to indicate one of the target shooting modes.
[0182] For each of the first controls, in response to detecting a triggering operation on the first control, a second control is displayed; the second control is used to trigger the target shooting mode indicated by the first control, and the display size of the first control is smaller than the display size of the second control.
[0183] Optionally, the environmental data includes at least one of the following:
[0184] Ambient brightness; distance between the object to be photographed and the electronic device; moving speed of the object to be photographed; user's description of the target shooting mode.
[0185] Optionally, the target shooting mode includes at least one of the following:
[0186] Panoramic mode, night scene mode, high dynamic range mode, telephoto lens mode, wide-angle lens mode, snapshot mode, portrait mode, group photo mode, document mode, starry sky mode, super moon mode; the starry sky mode is used to capture starry sky images that meet the first requirement, and the super moon mode is used to capture moon images that meet the second requirement.
[0187] For the device embodiments, since they basically correspond to the method embodiments, the relevant parts can be referred to the partial description of the method embodiments. The device embodiments described above are merely illustrative, wherein the units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the disclosed solution. A person of ordinary skill in the art can understand and implement it without paying any creative work.
[0188] Accordingly, an embodiment of the present disclosure provides an electronic device, comprising: a processor; and a memory for storing processor-executable instructions; wherein the processor is configured to implement the steps of any of the above-mentioned shooting mode determination methods by running the executable instructions.
[0189] Figure 7 7 is a schematic diagram illustrating the structure of an electronic device according to an exemplary embodiment of the present disclosure. For example, electronic device 700 may be a user device, specifically a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, or a wearable device such as a smartwatch, smart glasses, a smart bracelet, or a smart running shoe.
[0190] Reference Figure 7, the electronic device 700 may include one or more of the following components: a processing component 702 , a memory 704 , a power component 706 , a multimedia component 708 , an audio component 710 , an input / output (I / O) interface 712 , a sensor component 714 , and a communication component 716 .
[0191] The processing component 702 generally controls the overall operation of the electronic device 700, such as operations associated with display, phone calls, data communications, camera operation, and recording operations. The processing component 702 may include one or more processors 720 to execute instructions to perform all or part of the steps of the above-described method. In addition, the processing component 702 may include one or more modules to facilitate interaction between the processing component 702 and other components. For example, the processing component 702 may include a multimedia module to facilitate interaction between the multimedia component 708 and the processing component 702.
[0192] The memory 704 is configured to store various types of data to support operations on the device 700. Examples of such data include instructions for any application or method operating on the electronic device 700, contact data, phone book data, messages, pictures, videos, etc. The memory 704 can be implemented by any type of volatile or non-volatile storage device, or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk, or optical disk.
[0193] The power supply component 706 provides power to the various components of the electronic device 700. The power supply component 706 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the electronic device 700.
[0194] The multimedia component 708 includes a screen that provides an output interface between the electronic device 700 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, slides, and gestures on the touch panel. The touch sensors may not only sense the boundaries of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 708 includes a front camera and / or a rear camera. When the electronic device 700 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
[0195] The audio component 710 is configured to output and / or input audio signals. For example, the audio component 710 includes a microphone (MIC), which is configured to receive external audio signals when the electronic device 700 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal can be further stored in the memory 704 or transmitted via the communication component 716. In some embodiments, the audio component 710 also includes a speaker for outputting audio signals.
[0196] I / O interface 712 provides an interface between processing component 702 and peripheral interface modules, such as a keyboard, click wheel, buttons, etc. These buttons may include but are not limited to: a home button, volume buttons, a start button, and a lock button.
[0197] The sensor assembly 714 includes one or more sensors for providing various aspects of status assessment for the electronic device 700. For example, the sensor assembly 714 can detect the open / closed state of the electronic device 700, the relative positioning of components, such as the display and keypad of the electronic device 700. The sensor assembly 714 can also detect changes in the position of the electronic device 700 or a component of the electronic device 700, the presence or absence of user contact with the electronic device 700, the orientation or acceleration / deceleration of the electronic device 700, and temperature changes of the electronic device 700. The sensor assembly 714 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 714 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 714 may also include an accelerometer, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0198] The communication component 716 is configured to facilitate wired or wireless communication between the electronic device 700 and other devices. The electronic device 700 can access a wireless network based on a communication standard, such as WiFi, 4G or 5G, 4G LTE, 5G NR or a combination thereof. In an exemplary embodiment, the communication component 716 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 716 further includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
[0199] In an exemplary embodiment, the electronic device 700 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the above methods.
[0200] In an exemplary embodiment, a non-temporary computer-readable storage medium is also provided, such as a memory 704 including instructions, which, when executed by the processor 720 of the electronic device 700, enables the electronic device 700 to execute any of the above-described methods.
[0201] The non-transitory computer-readable storage medium may be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
[0202] Other embodiments of the present disclosure will readily occur to those skilled in the art after considering the specification and practicing the invention disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art not disclosed herein. The description and examples are to be considered as exemplary only, with the true scope and spirit of the present disclosure being indicated by the following claims.
[0203] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes can be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims
1. A method for determining a shooting mode, characterized in that: include: In response to detecting the image acquisition operation, acquiring target data; The target data at least includes environmental data; determining a shooting scene based on the target data; Determining at least one target shooting mode that matches the shooting scene from a plurality of preset shooting modes; Displays trigger controls for at least one target capture mode.
2. The method according to claim 1, characterized in that The target data also includes image data; The method further comprises: collecting images by an image acquisition sensor, wherein the total number of the images is less than or equal to a first threshold; Perform image analysis on the collected image to obtain the image data.
3. The method according to claim 2, characterized in that The image data includes at least one of the following: The exposure ratio of each image; The proportion of the object to be photographed in each image; The type of object in each image.
4. The method according to claim 1, wherein The determining of the shooting scene based on the target data includes: Based on the matching degree between the target data and each of the shooting scenes, determining at least one target shooting scene having a matching degree greater than or equal to a second threshold; The shooting mode corresponding to the target shooting scene is determined as the target shooting mode.
5. The method according to claim 4, characterized in that The trigger control for displaying at least one target shooting mode includes: Displaying trigger controls for each target shooting mode in sequence according to a preset order; the preset order is determined based on the matching degree; Alternatively, trigger controls for each of the target shooting modes are displayed simultaneously.
6. The method according to claim 1, characterized in that The method further comprises: Obtain updated target data according to a preset period; In response to determining that the matching degree between the updated target data and the shooting scene corresponding to the displayed target shooting mode does not meet a preset requirement, the target shooting mode is stopped from being displayed.
7. The method according to claim 1, characterized in that The trigger control for displaying at least one target shooting mode includes: Displaying at least one first control; each first control is used to indicate one of the target shooting modes; For each of the first controls, in response to detecting a triggering operation on the first control, a second control is displayed; the second control is used to trigger the target shooting mode indicated by the first control, and the display size of the first control is smaller than the display size of the second control.
8. The method according to claim 2, characterized in that The environmental data includes at least one of the following: Ambient brightness; The distance between the object to be photographed and the electronic device; The moving speed of the object to be photographed; The user's description of the target shooting mode.
9. The method according to claim 1, characterized in that The target shooting mode includes at least one of the following: Panoramic mode, night scene mode, high dynamic range mode, telephoto lens mode, wide-angle lens mode, snapshot mode, portrait mode, group photo mode, document mode, starry sky mode, super moon mode; the starry sky mode is used to capture starry sky images that meet the first requirement, and the super moon mode is used to capture moon images that meet the second requirement.
10. A shooting mode determination device, characterized in that: include: an acquisition module, configured to acquire target data in response to detecting an image acquisition operation; The target data at least includes environmental data; A scene determination module, configured to determine a shooting scene based on the target data; A mode determination module, configured to determine at least one target shooting mode that matches the shooting scene from a plurality of preset shooting modes; The display module is used to display a trigger control of at least one target shooting mode.
11. A photographing device, characterized in that: include: a sensor for collecting target data in response to detecting an image collection operation; The target data at least includes environmental data; The display interface is used to display a trigger control of at least one target shooting mode, where the target shooting mode is determined from a plurality of preset shooting modes and is at least one shooting mode that matches a shooting scene, where the shooting scene is determined based on the target data.
12. An electronic device, characterized in that: include: processor; a memory for storing processor-executable instructions; The processor is configured to implement the steps of any one of the methods of claims 1 to 9 by running the executable instructions.
13. A non-transitory computer-readable storage medium, characterized in that When the instructions in the storage medium are executed by a processor of the mobile terminal, the mobile terminal is enabled to perform the steps of any one of the methods according to claims 1 to 9.
14. A computer program product, characterized in that include: A computer program, which, when executed by a processor, implements the steps of the method according to any one of claims 1 to 9.