Processing method, intelligent terminal and storage medium
Through the processing method on the smart terminal, the shooting parameters are automatically determined based on the target image and target parameters, which solves the complexity problem of users needing to manually adjust the shooting parameters, and achieves convenient shooting operations and improved user experience.
Patent Information
- Application Number
- CN202411639384.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-14
- Publication Date
- 2025-04-15
AI Technical Summary
When shooting images using a smart terminal, users need to manually adjust the shooting parameters, which is complicated and affects the user experience.
A processing method is provided that can automatically determine shooting parameters based on target images and target parameters without manual adjustment by the user. The method includes identifying a scene of the target image and adjusting the shooting parameters based on the target parameters.
It automatically determines the shooting parameters corresponding to the required image, which is convenient to operate, improves user experience, and is suitable for devices with low computing power.
Smart Images

Figure CN119835360A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of terminal technology, and in particular to a processing method, an intelligent terminal and a storage medium. Background Art
[0002] With the rapid development of electronic technology, smart terminals are widely used, bringing convenience to users' work and life.
[0003] In the process of conceiving and implementing this application, the inventors found that there are at least the following problems: when using a smart terminal to capture images, if you want to capture images that meet your needs, you need to manually adjust the shooting parameters, but the above method is complicated to operate and affects the user experience.
[0004] The preceding description is intended to provide general background information and does not necessarily constitute prior art. Summary of the invention
[0005] In response to the above technical problems, the present application provides a processing method, an intelligent terminal and a storage medium, which can automatically determine the shooting parameters corresponding to the required image without the user having to manually adjust the shooting parameters. The operation is convenient and the user experience is improved.
[0006] The present application provides a processing method, which can be applied to a first device, comprising the steps of:
[0007] S1: Determine shooting parameters according to a first target image and a first target parameter.
[0008] Optionally, before step S1, the method further includes:
[0009] In response to the first target image satisfying the first condition, step S1 is executed.
[0010] Optionally, the first condition is satisfied, including at least one of the following:
[0011] Contains the target object;
[0012] The clarity is less than the preset clarity threshold;
[0013] Received preset action.
[0014] Optionally, step S1 comprises the steps of:
[0015] S11: determining a shooting scene according to a recognition result of the first target image;
[0016] S12: Determine a shooting parameter corresponding to the shooting scene based on the first target parameter.
[0017] Optionally, the recognition result of the first target image is obtained by recognizing the first target image through a scene recognition model.
[0018] Optionally, step S12 includes: acquiring, through the second device, shooting parameters to be optimized of the first target image, and determining shooting parameters corresponding to the shooting scene according to the first target parameters and the shooting parameters to be optimized.
[0019] Optionally, the method for determining or acquiring the first target image includes at least one of the following:
[0020] provided by a second device;
[0021] Calculated by the first device based on the AI model;
[0022] Calculated by a second device based on an AI model;
[0023] Determined by the first device based on the AI model and obtained by the first device or the second device;
[0024] The information is determined by the second device based on the AI model and obtained by the first device or the second device.
[0025] Optionally, the method for determining or obtaining the first target parameter includes at least one of the following:
[0026] provided by the first device and / or the second device;
[0027] Calculated by the first device and / or the second device based on the AI model.
[0028] Optionally, outputting shooting scene prompt information corresponding to the shooting parameters;
[0029] Applying the capture parameters to the first device and / or the second device;
[0030] fusing the first target image with a second target image obtained based on the shooting parameters;
[0031] When the image condition is met, outputting a first target image and / or a second target image acquired based on the shooting parameters;
[0032] The first target image and / or the second target image acquired based on the shooting parameters is sent to the second device.
[0033] The present application also provides an intelligent terminal, comprising: a memory and a processor, wherein a processing program is stored in the memory, and when the processing program is executed by the processor, any of the processing methods described above is implemented.
[0034] The present application also provides a storage medium, wherein the storage medium stores a computer program, and when the computer program is executed by a processor, any of the processing methods described above is implemented.
[0035] As described above, the processing method of the present application can be applied to the first device, including: determining the shooting parameters according to the first target image and the first target parameter. In this way, by combining the first target image and the first target parameter, the shooting parameters are automatically determined to shoot the image required by the user based on the determined shooting parameters, and the shooting parameters corresponding to the required image can be automatically determined without the user having to manually adjust the shooting parameters, which is convenient to operate and improves the user experience. And / or, for devices with low computing power, it is also possible to quickly determine the shooting parameters for shooting. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] The drawings herein are incorporated into the specification and constitute a part of the specification, illustrate embodiments consistent with the present application, and are used together with the specification to explain the principles of the present application. In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the description of the embodiments are briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without creative labor.
[0037] Figure 1 A schematic diagram of the hardware structure of a smart terminal for implementing each embodiment of the present application;
[0038] Figure 2 A communication network system architecture diagram provided for an embodiment of the present application;
[0039] Figure 3 is a flowchart of a processing method according to the first embodiment;
[0040] Figure 4 It is a flowchart of a processing method according to the second embodiment.
[0041] The realization of the purpose, functional features and advantages of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings. The above-mentioned drawings have shown clear embodiments of this application, which will be described in more detail later. These drawings and textual descriptions are not intended to limit the scope of the concept of this application in any way, but to illustrate the concept of this application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION
[0042] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.
[0043] It should be noted that, in this article, the terms "include", "comprises" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "includes a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element. In addition, components, features, and elements with the same name in different embodiments of the present application may have the same meaning or different meanings, and their specific meanings need to be determined by their explanation in the specific embodiment or further combined with the context of the specific embodiment.
[0044] It should be understood that, although the terms first, second, third, etc. may be used to describe various information in this article, these information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of this article, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the word "if" as used herein can be interpreted as "at the time of" or "when" or "in response to determination". Furthermore, as used in this article, the singular forms "one", "one" and "the" are intended to also include plural forms, unless there is an opposite indication in the context. It should be further understood that the terms "comprising" and "including" indicate that there are the described features, steps, operations, elements, components, projects, kinds, and / or groups, but do not exclude the existence, occurrence or addition of one or more other features, steps, operations, elements, components, projects, kinds, and / or groups. The terms "or", "and / or", "including at least one of the following" etc. used in this application can be interpreted as inclusive, or mean any one or any combination. For example, “comprising at least one of the following: A, B, C” means “any of the following: A; B; C; A and B; A and C; B and C; A and B and C”, and for another example, “A, B or C” or “A, B and / or C” means “any of the following: A; B; C; A and B; A and C; B and C; A and B and C”. An exception to this definition will only occur when a combination of elements, functions, steps or operations are inherently mutually exclusive in some manner.
[0045] It should be understood that, although the various steps in the flowchart in the embodiment of the present application are displayed in sequence according to the indication of the arrows, these steps are not necessarily performed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and it can be performed in other orders. Moreover, at least a portion of the steps in the figure may include a plurality of sub-steps or a plurality of stages, and these sub-steps or stages are not necessarily performed at the same time, but can be performed at different times, and their execution order is not necessarily performed in sequence, but can be performed in turn or alternately with other steps or at least a portion of the sub-steps or stages of other steps.
[0046] As used herein, the words "if" and "if" may be interpreted as "at the time of" or "when" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrases "if it is determined" or "if (stated condition or event) is detected" may be interpreted as "when it is determined" or "in response to determining" or "when detecting (stated condition or event)" or "in response to detecting (stated condition or event)", depending on the context.
[0047] It should be noted that in this article, step codes such as S1, S2, etc. are used for the purpose of expressing the corresponding content more clearly and concisely, and do not constitute a substantial limitation on the sequence.
[0048] It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0049] In the subsequent description, the suffixes such as "module", "component" or "unit" used to represent elements are only used to facilitate the description of the present application, and have no specific meanings. Therefore, "module", "component" or "unit" can be used in a mixed manner.
[0050] The smart terminal may be implemented in various forms. For example, the smart terminal described in this application may include smart terminals such as mobile phones, tablet computers, laptop computers, PDAs, portable media players (PMPs), navigation devices, wearable devices, smart bracelets, pedometers, etc., as well as fixed terminals such as digital TVs and desktop computers.
[0051] The following description will be made by taking a mobile terminal as an example, and those skilled in the art will understand that, in addition to components specifically used for mobile purposes, the construction according to the embodiments of the present application can also be applied to fixed-type terminals.
[0052] See also Figure 1 , which is a schematic diagram of the hardware structure of a mobile terminal for implementing various embodiments of the present application, the mobile terminal 100 may include: RF (Radio Frequency, radio frequency) unit 101, WiFi module 102, audio output unit 103, A / V (audio / video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111 and other components. Those skilled in the art can understand that Figure 1 The structure of the mobile terminal shown in the figure does not constitute a limitation on the mobile terminal. The mobile terminal may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.
[0053] Combine the following Figure 1 The following is a detailed introduction to the various components of the mobile terminal:
[0054] The radio frequency unit 101 can be used for receiving and sending signals during information transmission or communication. Specifically, after receiving the downlink information of the base station, it is sent to the processor 110 for processing; in addition, the uplink data is sent to the base station. Generally, the radio frequency unit 101 includes but is not limited to an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, etc. In addition, the radio frequency unit 101 can also communicate with the network and other devices through wireless communication. The above-mentioned wireless communications can use any communication standard or protocol, including but not limited to GSM (Global System of Mobile communication), GPRS (General Packet Radio Service), CDMA2000 (Code Division Multiple Access 2000), WCDMA (Wideband Code Division Multiple Access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access), FDD-LTE (Frequency Division Duplexing-Long Term Evolution), TDD-LTE (Time Division Duplexing-Long Term Evolution), 5G and 6G, etc.
[0055] WiFi is a short-range wireless transmission technology. The mobile terminal can help users send and receive emails, browse web pages and access streaming media through the WiFi module 102. It provides users with wireless broadband Internet access. Figure 1 The WiFi module 102 is shown, but it is understandable that it is not an essential component of the mobile terminal and can be omitted as needed without changing the essence of the invention.
[0056] The audio output unit 103 can convert the audio data received by the RF unit 101 or the WiFi module 102 or stored in the memory 109 into an audio signal and output it as sound when the mobile terminal 100 is in a call signal reception mode, a talk mode, a recording mode, a voice recognition mode, a broadcast reception mode, etc. Moreover, the audio output unit 103 can also provide audio output related to a specific function performed by the mobile terminal 100 (for example, a call signal reception sound, a message reception sound, etc.). The audio output unit 103 may include a speaker, a buzzer, etc.
[0057] The A / V input unit 104 is used to receive audio or video signals. The A / V input unit 104 may include a graphics processor (GPU) 1041 and a microphone 1042, and the graphics processor 1041 processes the image data of a static picture or video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The processed image frame can be displayed on the display unit 106. The image frame processed by the graphics processor 1041 can be stored in the memory 109 (or other storage medium) or sent via the radio frequency unit 101 or the WiFi module 102. The microphone 1042 can receive sound (audio data) via the microphone 1042 in a telephone call mode, a recording mode, a voice recognition mode, and other operating modes, and can process such sound into audio data. The processed audio (voice) data can be converted into a format output that can be sent to a mobile communication base station via the radio frequency unit 101 in the case of a telephone call mode. The microphone 1042 can implement various types of noise elimination (or suppression) algorithms to eliminate (or suppress) noise or interference generated in the process of receiving and sending audio signals.
[0058] The mobile terminal 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Optionally, the light sensor includes an ambient light sensor and a proximity sensor. Optionally, the ambient light sensor can adjust the brightness of the display panel 1061 according to the brightness of the ambient light, and the proximity sensor can turn off the display panel 1061 and / or the backlight when the mobile terminal 100 is moved to the ear. As a type of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in all directions (generally three axes), and can detect the magnitude and direction of gravity when stationary. It can be used for applications that identify the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tapping), etc.; as for other sensors that can be configured on the mobile phone, such as fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., they will not be repeated here.
[0059] The display unit 106 is used to display information input by the user or information provided to the user. The display unit 106 may include a display panel 1061, which may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.
[0060] The user input unit 107 can be used to receive input digital or character information, and to generate key signal input related to the user settings and function control of the mobile terminal. Optionally, the user input unit 107 may include a touch panel 1071 and other input devices 1072. The touch panel 1071, also known as a touch screen, can collect the user's touch operation on or near it (such as the user's operation on the touch panel 1071 or near the touch panel 1071 using any suitable object or accessory such as a finger, stylus, etc.), and drive the corresponding connection device according to a pre-set program. The touch panel 1071 may include two parts: a touch detection device and a touch controller. Optionally, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into the touch point coordinates, and then sends it to the processor 110, and can receive and execute the command sent by the processor 110. In addition, the touch panel 1071 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may further include other input devices 1072. Optionally, the other input devices 1072 may include, but are not limited to, one or more of a physical keyboard, a function key (such as a volume control key, a switch key, etc.), a trackball, a mouse, a joystick, etc., which are not specifically limited here.
[0061] Optionally, the touch panel 1071 may cover the display panel 1061. When the touch panel 1071 detects a touch operation on or near it, it transmits the information to the processor 110 to determine the type of touch event. Then, the processor 110 provides corresponding visual output on the display panel 1061 according to the type of touch event. Figure 1 In the figure, the touch panel 1071 and the display panel 1061 are used as two independent components to implement the input and output functions of the mobile terminal. However, in some embodiments, the touch panel 1071 and the display panel 1061 can be integrated to implement the input and output functions of the mobile terminal, which is not limited here.
[0062] The interface unit 108 serves as an interface through which at least one external device can be connected to the mobile terminal 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, an audio input / output (I / O) port, a video I / O port, a headphone port, etc. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the mobile terminal 100 or may be used to transmit data between the mobile terminal 100 and an external device.
[0063] The memory 109 can be used to store software programs and various data. The memory 109 can mainly include a program storage area and a data storage area. Optionally, the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area can store data created according to the use of the mobile phone (such as audio data, a phone book, etc.), etc. In addition, the memory 109 can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.
[0064] The processor 110 is the control center of the mobile terminal. It uses various interfaces and lines to connect various parts of the entire mobile terminal. It executes various functions of the mobile terminal and processes data by running or executing software programs and / or modules stored in the memory 109, and calling data stored in the memory 109, so as to monitor the mobile terminal as a whole. The processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor and a modem processor. Optionally, the application processor mainly processes the operating system, user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 110.
[0065] The mobile terminal 100 may also include a power supply 111 (such as a battery) for supplying power to various components. Preferably, the power supply 111 may be logically connected to the processor 110 via a power management system, thereby implementing functions such as charging, discharging, and power consumption management through the power management system.
[0066] although Figure 1 Not shown, the mobile terminal 100 may further include a Bluetooth module, etc., which will not be described in detail here.
[0067] In order to facilitate understanding of the embodiments of the present application, the communication network system on which the mobile terminal of the present application is based is described below.
[0068] See also Figure 2 , Figure 2 A communication network system architecture diagram is provided for an embodiment of the present application, wherein the communication network system is an LTE system of universal mobile communication technology, and the LTE system includes a UE (User Equipment) 201, an E-UTRAN (Evolved UMTS Terrestrial Radio Access Network) 202, an EPC (Evolved Packet Core) 203 and an operator's IP service 204, which are connected in sequence for communication.
[0069] Optionally, UE201 may be the above-mentioned terminal 100, which will not be described in detail here.
[0070] E-UTRAN 202 includes eNodeB 2021 and other eNodeBs 2022 , etc. Optionally, eNodeB 2021 may be connected to other eNodeBs 2022 via a backhaul (eg, an X2 interface), and eNodeB 2021 is connected to EPC 203 , and eNodeB 2021 may provide UE 201 with access to EPC 203 .
[0071] EPC203 may include MME (Mobility Management Entity) 2031, HSS (Home Subscriber Server) 2032, other MMEs 2033, SGW (Serving Gate Way) 2034, PGW (PDN Gate Way) 2035 and PCRF (Policy and Charging Rules Function) 2036, etc. Optionally, MME 2031 is a control node that processes signaling between UE 201 and EPC 203, and provides bearer and connection management. HSS 2032 is used to provide some registers to manage functions such as home location register (not shown in the figure), and store some user-specific information such as service features and data rates. All user data can be sent through SGW2034, PGW2035 can provide IP address allocation and other functions for UE 201, PCRF2036 is the policy and charging control policy decision point for service data flow and IP bearer resources, which selects and provides available policy and charging control decisions for the policy and charging execution function unit (not shown in the figure).
[0072] The IP service 204 may include the Internet, an intranet, an IMS (IP Multimedia Subsystem) or other IP services.
[0073] Although the above introduction takes the LTE system as an example, those skilled in the art should know that the present application is not only applicable to the LTE system, but also to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA, 5G and future new network systems (such as 6G), etc., without limitation here.
[0074] Based on the above-mentioned mobile terminal hardware structure and communication network system, various embodiments of the present application are proposed.
[0075] First embodiment
[0076] Reference Figure 3 , Figure 3 is a flow chart of a processing method according to the first embodiment. The processing method of the embodiment of the present application can be applied to a first device (such as a smart terminal such as a mobile phone), including step S1:
[0077] S1: Determine shooting parameters according to a first target image and a first target parameter.
[0078] Optionally, the first target image may be a preview image acquired by the first device, or may be an image captured, stored or processed by the first device or other devices other than the first device. For example, the first target image may be an image captured by the first device based on default shooting parameters of the subject.
[0079] Optionally, the first target parameter may be a display parameter of a display device of the first device and / or the second device, such as the color temperature of a display screen, or may be an external environmental parameter, such as ambient light brightness, scene type such as indoor or outdoor, weather type such as sunny or rainy, or may be a parameter of the object to be photographed, such as the corresponding height, color of clothes worn, etc. when the object to be photographed is a person.
[0080] Optionally, the first target parameter may also be a device parameter of the first device and / or the second device, such as a shooting aperture range, a shooting sensitivity range, etc.
[0081] Optionally, the objects to be photographed include but are not limited to food, scenery, buildings, people, night scenes, etc.
[0082] Optionally, the shooting parameters include at least one of shooting posture, shooting angle, shooting mode, shooting aperture, shooting shutter and shooting sensitivity.
[0083] It is understandable that, since the first target parameter may affect the shooting effect, the shooting parameter may be determined according to the first target image and the first target parameter, so as to shoot based on the determined shooting parameter. It should be noted that the first target image may be a reference image corresponding to the image to be shot, or may be an image shot based on the current shooting parameter.
[0084] Through the above method, it is possible to automatically determine the shooting parameters corresponding to the required image without the user having to manually adjust the shooting parameters, which is convenient to operate and improves the user experience.
[0085] Optionally, before step S1, the method further includes:
[0086] In response to the first target image satisfying the first condition, step S1 is executed.
[0087] Optionally, before determining the shooting parameters based on the first target image and the first target parameters, it can be detected whether the first target image satisfies the first condition, and when the first target image satisfies the first condition, step S1 is executed, and / or when the first target image does not satisfy the first condition, step S1 is not executed, so that the shooting parameters are not determined based on the first target image and the first target parameters when it is not necessary, so as to reduce the occupation of computing resources.
[0088] Optionally, the first condition is satisfied, including at least one of the following:
[0089] Contains the target object;
[0090] The clarity is less than the preset clarity threshold;
[0091] Received preset action.
[0092] Optionally, the target object can be set according to actual needs, for example, it can be at least one of a person, a landscape, a food, a building, and a night view, and is not specifically limited here.
[0093] It can be understood that when the first target image includes the target object, if the user's shooting skills are poor but he wants to take a good picture of the target object, he can determine the shooting parameters according to the first target image and the first target parameters, so that the first device and / or the second device can shoot the target object based on the determined shooting parameters.
[0094] Optionally, when the clarity of the first target image is less than a preset clarity threshold, it means that the image quality of the first target image is poor, that is, an image that meets the requirements cannot be obtained based on the current shooting parameters. Then, the shooting parameters can be determined based on the first target image and the first target parameters, so that the first device and / or the second device can capture an image with a clarity greater than the preset clarity threshold based on the determined shooting parameters.
[0095] Optionally, the preset operations can be set according to actual needs, such as touch operation, air gesture operation, voice operation, etc.
[0096] Optionally, when the first target image is a preview image of the first device, if the first device receives a preset operation, indicating that the user wants to adjust the current shooting parameters of the first device, the shooting parameters can be determined based on the first target image and the first target parameters, so that the image captured by the first device based on the determined shooting parameters meets the user's needs.
[0097] Optionally, the method for determining or acquiring the first target image includes at least one of the following:
[0098] provided by a second device;
[0099] Calculated by the first device based on the AI model;
[0100] Calculated by a second device based on an AI model;
[0101] Determined by the first device based on the AI model and obtained by the first device or the second device;
[0102] The information is determined by the second device based on the AI model and obtained by the first device or the second device.
[0103] Optionally, the second device includes an associated device, a network device or a cloud server, etc., which is communicatively connected to the first device.
[0104] Optionally, after receiving the user operation, the second device may send the selected image or the photographed image as the first target image to the first device, and the first device acquires the first target image accordingly.
[0105] For example, when the computing power of the second device is low, the second device can send the first target image of the subject to be photographed to the first device, so that the first device can determine the shooting parameters according to the first target image and the first target parameters of the second device, so that the second device can shoot the subject to be photographed based on the determined shooting parameters, thereby obtaining an image that meets the requirements. That is, even devices with low computing power can quickly determine shooting parameters for shooting.
[0106] Optionally, when an AI model is deployed locally on the first device or the second device, if the user needs to take an image including a specified target, such as a sunset image, a moon image, etc., the shooting requirements for the specified target can be input into the AI model to use the corresponding output image of the AI model as the first target image.
[0107] Exemplarily, when a user needs to take a picture of the moon, the user can input the moon shooting requirement into the AI model of the first device. The first device calculates the moon image taken without interference from external light based on the AI model as the first target image, which is equivalent to using the moon image calculated based on the AI model as a reference image. Further, based on the first target image and the first target parameters, the shooting parameters required for photographing the moon under the current external light interference can be determined.
[0108] Optionally, when an AI model is deployed locally on the first device or the second device, if the user needs to take an image including a specified target, such as a sunset image, a moon image, etc., the shooting requirements for the specified target can be input into the AI model, and the AI model can output recommended shooting parameters for the specified target accordingly, and then the image taken by the first device or the second device based on the recommended shooting parameters can be used as the first target image.
[0109] Exemplarily, when a user needs to take a sunset image, the user can input the sunset shooting requirement into the AI model of the second device. The second device calculates the recommended shooting parameters for shooting the sunset based on the AI model. The first device can use the sunset image shot based on the recommended shooting parameters as the first target image. However, due to the influence of parameters such as the color temperature of the display screen of the first device, the user may not be satisfied with the first target image displayed on the first device. At this time, the shooting parameters required for shooting the sunset can be determined based on the first target image and the first target parameters.
[0110] In this way, the first target image can be flexibly determined or acquired in different ways, thereby further improving the convenience of operation.
[0111] Optionally, the method for determining or obtaining the first target parameter includes at least one of the following:
[0112] provided by the first device and / or the second device;
[0113] Calculated by the first device and / or the second device based on the AI model.
[0114] Optionally, when the first target parameter is a device parameter of the first device and / or the second device, such as display parameters, shooting aperture range, shooting sensitivity range, etc., the first target parameter can be directly determined by the first device and / or the second device. For example, when the computing power of the second device is low and cannot accurately or quickly determine the shooting parameters, the second device can send its own device parameters as the first target parameters to the first device, so that the first device obtains the first target parameters accordingly.
[0115] Optionally, when the first target parameter is an external environmental parameter such as ambient light brightness, scene type, etc., or a parameter of the object to be photographed, it can be calculated by an AI model deployed on the first device or the second device.
[0116] Exemplarily, if the first target parameter is a scene type, the user can input an identification request for the scene type to the AI model, so that the AI model identifies the scene type of the preview image captured by the first device, and uses the scene type calculated by the AI model as the first target parameter. Alternatively, when the computing power of the first device is low, the first device may send the captured preview image to the second device, so that the local AI model of the second device identifies the scene type of the preview image, and sends the scene type calculated by the AI model as the first target parameter to the first device.
[0117] In this way, the first target parameter can be flexibly determined or obtained in different ways, thereby further improving the convenience of operation.
[0118] Optionally, step S1 comprises the steps of:
[0119] S11: determining a shooting scene according to a recognition result of the first target image;
[0120] S12: Determine a shooting parameter corresponding to the shooting scene based on the first target parameter.
[0121] Optionally, the first device may recognize the first target image, and determine the shooting scene according to the recognition result of the first target image, and then determine the shooting parameters corresponding to the shooting scene based on the first target parameter. Optionally, the shooting scene may include at least one of the following: night scene, sunny scene, rainy scene, portrait scene, landscape scene, animal scene, street scene, and file scene, which are not specifically limited here.
[0122] Optionally, the recognition result of the first target image may be obtained by recognizing the first target image through a scene recognition model. The scene recognition model may be obtained by training based on different images and corresponding scenes. Optionally, the scene recognition model may be set in the first device and / or the second device.
[0123] Optionally, determining the shooting parameters corresponding to the shooting scene based on the first target parameter may be adjusting preset shooting parameters corresponding to the shooting scene based on the first target parameter to obtain the shooting parameters corresponding to the shooting scene.
[0124] It can be understood that for different shooting scenes, corresponding preset shooting parameters can be pre-set respectively, and since the first target parameter may affect the display effect or shooting effect of the image, that is, affect the user's judgment of the image quality, the preset shooting parameters corresponding to the shooting scene can be adjusted based on the first target parameter. For example, when the first target parameter is the color temperature of the display screen, since the color temperature affects the display effect of the image, that is, the lower the color temperature, the warmer the color, and the higher the color temperature, the colder the color, therefore, the preset shooting parameters corresponding to the shooting scene can be adjusted according to the color temperature to obtain the shooting parameters corresponding to the shooting scene.
[0125] Optionally, step S12 includes: acquiring, through the second device, shooting parameters to be optimized of the first target image, and determining shooting parameters corresponding to the shooting scene according to the first target parameters and the shooting parameters to be optimized.
[0126] Optionally, when the computing power of the second device is better than that of the first device (for example, the CPU frequency is higher, the RAM memory is larger, etc.), or the second device has an AI model, the first device may send a shooting parameter identification request for the first target image to the second device, so as to obtain the shooting parameters to be optimized of the first target image through the second device. Meanwhile, considering that the first target parameters will also affect the display effect of the image, the shooting parameters corresponding to the shooting scene can be determined according to the first target parameters and the shooting parameters to be optimized.
[0127] For example, taking the shooting parameters including shooting sensitivity and the first target parameters including color temperature as an example, assuming that the first target image is a reference image of the moon, the first device can send a shooting parameter identification request for the first target image to the second device, and the second device can identify the shooting sensitivity corresponding to the first target image as the shooting parameter to be optimized based on the local AI model, and return the shooting sensitivity to the first device, and the first device can adjust the shooting sensitivity returned by the second device according to the color temperature, and use the adjusted shooting sensitivity as the shooting parameter corresponding to the moon scene. In this way, the shooting parameters can be accurately and quickly determined, further improving the convenience of operation.
[0128] Optionally, the method further comprises at least one of the following:
[0129] Output shooting scene prompt information corresponding to shooting parameters;
[0130] Applying the capture parameters to the first device and / or the second device;
[0131] fusing the first target image with a second target image obtained based on the shooting parameters;
[0132] When the image condition is met, outputting a first target image and / or a second target image acquired based on the shooting parameters;
[0133] The first target image and / or the second target image acquired based on the shooting parameters is sent to the second device.
[0134] Optionally, in order to enable the user to shoot an image that meets the requirements through the first device, the first device may output shooting scene prompt information corresponding to the shooting parameters, and the specific output form of the shooting scene prompt information may be voice, text, or text combined with a picture, etc. For example, when the shooting parameters include a shooting angle, the corresponding shooting angle prompt information may be output in text form.
[0135] Optionally, the first device may directly shoot based on the determined shooting parameters to apply the shooting parameters to the first device, or may transmit the determined shooting parameters to the second device so that the second device shoots based on the determined shooting parameters. For example, when the computing power or computing resources of the second device are limited, and the computing power or computing resources of the first device are better, the first device may determine the shooting parameters according to the first target image and the first target parameters, and then send the determined shooting parameters to the second device, so that the second device does not need to perform step S1, thereby reducing the occupation of the computing resources of the second device.
[0136] Optionally, there may be a need for image fusion in some scenarios. For example, when photographing an object to be photographed, some parts of the object to be photographed need to be blurred while other parts need to be clear, or the object to be photographed using different shooting parameters needs to be presented simultaneously in one image, or the front and back postures of the object to be photographed in motion need to be presented simultaneously in one image, etc. Therefore, the first target image and the second target image obtained based on the shooting parameters can be fused.
[0137] For example, taking the object to be photographed as a building, the first target image taken of the building and the second target image taken of the building based on the shooting parameters can be fused to splice the left part of the building in the first target image and the right part of the building in the second target image, so as to display them in the image generated after the fusion.
[0138] Optionally, satisfying the image condition may be that the first device satisfies the image condition, or the first target image and / or the second target image satisfies the image condition.
[0139] Optionally, the first device satisfies the image condition, which may be that a current shooting parameter of the first device is a critical shooting parameter allowed to be adjusted by the first device, etc. For example, taking the shooting parameter as the shooting aperture, assuming that the maximum shooting aperture of the first device (i.e., the critical shooting aperture) is F4, if the shooting aperture determined based on the first target image and the first target parameter is F4, then it means that the first device satisfies the image condition.
[0140] Optionally, the first target image and / or the second target image satisfies the image condition, which may be that the first target image and / or the second target image receives a preset trigger operation such as a single-click, a double-click, etc. For example, after obtaining the second target image based on the determined shooting parameters, if a single-click operation of the user is received on the second target image, it indicates that the user wants the first device to output the second target image, and the first device may output the second target image accordingly; for another example, if a double-click operation of the user is received on the second target image, it indicates that the user wants the first device to output the first target image and the second target image, and the first device may output the first target image and the second target image accordingly, etc.
[0141] Optionally, in order to compare or save the first target image and the second target image, the first device may send the first target image and / or the second target image obtained based on the shooting parameters to the second device, so that the second device performs corresponding operations.
[0142] Through the technical solution of this embodiment, it is possible to automatically determine the shooting parameters corresponding to the required image without the user having to manually adjust the shooting parameters, which is convenient to operate and improves the user experience. And / or, even for devices with low computing power, it is possible to quickly determine the shooting parameters for shooting.
[0143] Second embodiment
[0144] Based on the same inventive concept as the above embodiments, refer to Figure 4 , Figure 4 : is a flow chart of a processing method according to a second embodiment. The processing method of the embodiment of the present application can be applied to a second device (such as a smart terminal such as a mobile phone), and includes the following steps:
[0145] S2: Acquire a second target image according to shooting parameters, where the shooting parameters are determined by the first device according to the first target image and the first target parameters.
[0146] Optionally, after obtaining the shooting parameters determined by the first device according to the first target image and the first target parameters, the second device can shoot according to the shooting parameters to obtain the second target image. It can be understood that when the computing power of the second device is low and the computing power of the first device is better (for example, the CPU frequency is higher, the RAM memory is larger, etc.), or the first device has an AI model, the shooting parameters can be determined by the first device according to the first target image and the first target parameters, so that the second device can shoot based on the determined shooting parameters, which can effectively reduce the occupation of the computing resources of the second device and avoid the second device from freezing due to problems such as low computing power.
[0147] Optionally, the first target image may be an image captured by the first device or the second device based on default shooting parameters of the object to be captured, etc.
[0148] Optionally, the first target parameter may be a display parameter of a display device of the first device and / or the second device, and / or an external environment parameter, and / or a parameter of an object to be photographed.
[0149] Optionally, the first target parameter may also be a device parameter of the first device and / or the second device, such as a shooting aperture range, a shooting sensitivity range, etc.
[0150] Through the above method, it is possible to automatically determine the shooting parameters corresponding to the required image without the user having to manually adjust the shooting parameters, which is convenient to operate and improves the user experience.
[0151] Optionally, the method further comprises:
[0152] A first target image and / or a first target parameter is sent to the first device.
[0153] Optionally, when it is necessary to determine the shooting parameters through the first device, the second device may send the first target image and / or the first target parameters to the first device, so that the first device determines the shooting parameters based on the first target image and the first target parameters.
[0154] Optionally, in the case that the first device has the first target parameter, the first target parameter may not be sent to the first device.
[0155] Optionally, in the case that the first device is able to acquire the first target image, the first target image may not be sent to the first device.
[0156] Optionally, the method further comprises:
[0157] Acquire the shooting parameters to be optimized of the first target image, and send the shooting parameters to be optimized to the first device.
[0158] Optionally, when the computing power of the second device is superior to that of the first device, or the second device has an AI model, the second device may receive a shooting parameter identification request for the first target image sent by the first device, so as to obtain the shooting parameters to be optimized of the first target image through the second device, and send the shooting parameters to be optimized to the first device.
[0159] Through the technical solution of this embodiment, it is possible to automatically determine the shooting parameters corresponding to the required image without the user having to manually adjust the shooting parameters, which is convenient to operate and improves the user experience. And / or, even for devices with low computing power, it is possible to quickly determine the shooting parameters for shooting.
[0160] An embodiment of the present application further provides an intelligent terminal, including a memory and a processor, wherein a processing program is stored in the memory, and when the processing program is executed by the processor, the processing method in any of the above embodiments is implemented.
[0161] An embodiment of the present application further provides a storage medium, on which a processing program is stored, and when the processing program is executed by a processor, the processing method in any of the above embodiments is implemented.
[0162] In the embodiments of the smart terminal and storage medium provided in the present application, all technical features of any of the above-mentioned processing method embodiments may be included, and the expanded and explained contents of the specification are basically the same as those of the embodiments of the above-mentioned methods, and will not be repeated here.
[0163] The embodiment of the present application also provides a computer program product, which includes a computer program code. When the computer program code runs on a computer, the computer executes the processing method in the various possible implementation modes as described above.
[0164] An embodiment of the present application also provides a chip, including a memory and a processor, the memory is used to store computer programs, and the processor is used to call and run computer programs from the memory, so that a device equipped with the chip executes the processing methods in various possible implementation modes as described above.
[0165] It is understood that the above scenarios are only examples and do not constitute a limitation on the application scenarios of the technical solutions provided in the embodiments of the present application. The technical solutions of the present application can also be applied to other scenarios. For example, it is known to those skilled in the art that with the evolution of the system architecture and the emergence of new business scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.
[0166] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.
[0167] The steps in the method of the embodiment of the present application can be adjusted in order, combined and deleted according to actual needs.
[0168] The units in the device of the embodiment of the present application can be merged, divided and deleted according to actual needs.
[0169] In the present application, the same or similar terminology concepts, technical solutions and / or application scenario descriptions are generally described in detail only the first time they appear. When they appear again later, they are generally not repeated for the sake of brevity. When understanding the technical solutions and other contents of the present application, for the same or similar terminology concepts, technical solutions and / or application scenario descriptions that are not described in detail later, reference can be made to the previous related detailed descriptions.
[0170] In the present application, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0171] The various technical features of the technical solution of the present application can be arbitrarily combined. In order to make the description concise, not all possible combinations of the various technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of the present application.
[0172] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as above, and includes a number of instructions for a terminal device (which can be a mobile phone, a computer, a server, a controlled terminal, or a network device, etc.) to execute the method of each embodiment of the present application.
[0173] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loading and executing computer program instructions on a computer, the process or function according to the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. Computer instructions can be stored in a storage medium, or transmitted from one storage medium to another storage medium. For example, computer instructions can be transmitted from a website site, computer, server or data center to another website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) mode. The storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integration. Available media can be magnetic media, (e.g., floppy disk, storage disk, tape), optical media (e.g., DVD), or semiconductor media (e.g., solid-state storage disk Solid State Disk (SSD)), etc.
[0174] The above are only preferred embodiments of the present application, and are not intended to limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.
Claims
1. A processing method, applied to a first device, characterized in that: Includes steps: S1: Determine shooting parameters according to a first target image and a first target parameter.
2. The method according to claim 1, characterized in that Before step S1, the method further includes: In response to the first target image satisfying the first condition, step S1 is executed.
3. The method according to claim 2, characterized in that The first condition is met, including at least one of the following: Contains the target object; The clarity is less than the preset clarity threshold; Received preset action.
4. The method according to claim 1, characterized in that: Step S1, comprising the steps of: S11: determining a shooting scene according to a recognition result of the first target image; S12: Determine a shooting parameter corresponding to the shooting scene based on the first target parameter.
5. The method according to claim 4, characterized in that Also includes at least one of the following: The recognition result of the first target image is obtained by recognizing the first target image through the scene recognition model; Step S12 includes: obtaining the to-be-optimized shooting parameters of the first target image through the second device, and determining the shooting parameters corresponding to the shooting scene according to the first target parameters and the to-be-optimized shooting parameters.
6. The method according to claim 1, characterized in that The method of determining or acquiring the first target image includes at least one of the following: provided by a second device; Calculated by the first device based on the AI model; Calculated by a second device based on an AI model; Determined by the first device based on the AI model and obtained by the first device or the second device; The information is determined by the second device based on the AI model and obtained by the first device or the second device.
7. The method according to claim 1, characterized in that The method for determining or obtaining the first target parameter includes at least one of the following: provided by the first device and / or the second device; Calculated by the first device and / or the second device based on the AI model.
8. The method according to claim 1, characterized in that Also includes at least one of the following: Output shooting scene prompt information corresponding to shooting parameters; Applying the capture parameters to the first device and / or the second device; fusing the first target image with a second target image obtained based on the shooting parameters; When the image condition is met, outputting a first target image and / or a second target image acquired based on the shooting parameters; The first target image and / or the second target image acquired based on the shooting parameters is sent to the second device.
9. An intelligent terminal, characterized in that: include: A memory and a processor, wherein a processing program is stored in the memory, and when the processing program is executed by the processor, the processing method according to any one of claims 1 to 8 is implemented.
10. A storage medium, characterized in that: The storage medium stores a processing program, and when the processing program is executed by the processor, the processing method according to any one of claims 1 to 8 is implemented.