Shooting method, intelligent terminal and storage medium
The method of obtaining target preview parameters and automatically editing and processing the shooting content through the smart terminal solves the problem of lengthy picture production process after shooting at the smart terminal, realizing full-link automation, and improving user experience.
Patent Information
- Application Number
- CN202510073229.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-16
- Publication Date
- 2025-05-02
AI Technical Summary
The current process of drawing pictures after shooting at smart terminals is relatively long, and users need to manually filter and edit pictures.
Provide a shooting method, which automatically edits and processes the shooting content by obtaining target preview parameters, and displays the processed pictures, simplifying the user's operation process.
It realizes full-link automation of shooting, filtering, editing and display after users set preview parameters, simplifying the process of shooting and drawing and improving user experience.
Smart Images

Figure CN119922414A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of smart terminals, and in particular to a shooting method, a smart terminal and a storage medium. Background Art
[0002] Currently, after shooting materials using a smart terminal, it is necessary to select suitable materials and retouch the selected materials.
[0003] In the process of conceiving and implementing the present application, the inventors discovered that there are at least the following problems: the current process of shooting and outputting images is lengthy.
[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 shooting method, a smart terminal and a storage medium, so that users can simplify the shooting process.
[0006] The present application provides a shooting method, comprising:
[0007] In response to satisfying the first condition, obtaining a target preview parameter;
[0008] In response to satisfying a second condition, photographing the target content;
[0009] Editing the captured image based on the target preview parameters;
[0010] Display the processed images.
[0011] Optionally, satisfying the first condition includes at least one of the following:
[0012] Get the preset instructions for the recommended preview parameters;
[0013] Get the imported preview parameters;
[0014] Obtaining a voice description and / or text description of the target image and / or preview parameters;
[0015] Get the reference image.
[0016] Optionally, the step of displaying the processed image includes:
[0017] The processed images are displayed separately based on multiple target preview parameters.
[0018] Optionally, the step of obtaining target preview parameters includes at least one of the following:
[0019] Using the recommended preview parameter as the target preview parameter;
[0020] Using the imported preview parameters as the target preview parameters;
[0021] Acquiring the target preview parameter from the voice description and / or text description;
[0022] Extracting the target preview parameter based on the reference picture;
[0023] In response to satisfying the third condition, the target preview parameter is adjusted to obtain an adjusted target preview parameter.
[0024] Optionally, the step of displaying the processed image includes:
[0025] The processed images are displayed separately based on multiple target preview parameters.
[0026] Optionally, satisfying the second condition includes at least one of the following:
[0027] Get the preset shooting instructions;
[0028] When the first duration after obtaining the target preview parameter arrives.
[0029] Optionally, the step of editing the captured picture based on the target preview parameter includes:
[0030] Adjusting the parameters of the captured image to the target preview parameters;
[0031] and / or, screening and / or adjusting the picture after parameter adjustment by using the first preset model;
[0032] And / or, obtaining waste pieces from the picture after the parameter adjustment and synthesizing based on the waste pieces through a second preset model.
[0033] Optionally, the intelligent terminal includes a photo editing area, and the method further includes:
[0034] The name of the parameter currently being adjusted is displayed in real time in the image editing area.
[0035] Optionally, the intelligent terminal includes a preview area, the preview area includes at least one first preview area and at least one second preview area, and the step of displaying the processed image includes:
[0036] Moving the processed image to the first preview area for display;
[0037] In response to the picture saving operation, the picture to be saved in the first preview area is saved to the gallery and displayed in the second preview area.
[0038] The present application also provides a smart terminal, including: a memory and a processor, wherein a shooting program is stored in the memory, and when the shooting program is executed by the processor, the steps of the above method are implemented.
[0039] 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, the steps of the above method are implemented.
[0040] As described above, the shooting method of the present application includes: in response to satisfying a first condition, obtaining target preview parameters; in response to satisfying a second condition, shooting the target content; editing and processing the shot picture; and displaying the processed picture.
[0041] Through the above technical solution, users can realize the full-link display of shooting, material screening, post-editing and picture display after setting the preview parameters, without additional operation, thereby simplifying the shooting process and improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] 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.
[0043] Figure 1 A schematic diagram of the hardware structure of a smart terminal for implementing various embodiments of the present application;
[0044] Figure 2 A communication network system architecture diagram provided for an embodiment of the present application;
[0045] Figure 3 is a schematic flow chart of a photographing method according to the first embodiment;
[0046] Figure 4 is a schematic diagram of an interface of a shooting method according to a first embodiment;
[0047] Figure 5 is a schematic flow chart of a photographing method according to a second embodiment;
[0048] Figure 6 It is a schematic diagram of selecting preview parameters for the shooting method of the present application;
[0049] Figure 7 It is a schematic diagram of shooting by the shooting method of the present application;
[0050] Figure 8 is a schematic flow chart of a photographing method according to a third embodiment;
[0051] Fig. 9 is a schematic flow chart of a photographing method according to a fourth embodiment;
[0052] Fig.10 It is a schematic diagram of editing and processing the photographed picture by the photographing method of the present application;
[0053] Fig.11 is a schematic flow chart of a photographing method according to a fifth embodiment;
[0054] Fig.12 This is a schematic diagram of the shooting method of this application. Click to view the enlarged image effect;
[0055] Fig.13 It is a schematic diagram of the picture saved by the shooting method of the present application;
[0056] Fig.14 It is a schematic diagram of the shooting method of this application, which is to swipe left and right to view the gallery content;
[0057] Fig.15 It is a specific flow chart of the shooting method of this application.
[0058] 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
[0059] 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, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. 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.
[0060] 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.
[0061] 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.
[0062] 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.
[0063] 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.
[0064] It should be noted that in this article, step codes such as S10 and S20 are used for the purpose of expressing the corresponding content more clearly and concisely, and do not constitute a substantial limitation on the sequence. When implementing the step, those skilled in the art may execute S20 first and then S10, etc., but these should all be within the scope of protection of this application.
[0065] 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.
[0066] 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.
[0067] 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.
[0068] 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.
[0069] 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.
[0070] Combine the following Figure 1 The following is a detailed introduction to the various components of the mobile terminal:
[0071] 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.
[0072] WiFi is a short-range wireless transmission technology. Mobile terminals can help users send and receive emails, browse web pages, and access streaming media through 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.
[0073] 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.
[0074] 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.
[0075] 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.
[0076] 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.
[0077] 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.
[0078] 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.
[0079] 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.
[0080] 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.
[0081] 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.
[0082] 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.
[0083] although Figure 1 Not shown, the mobile terminal 100 may further include a Bluetooth module, etc., which will not be described in detail here.
[0084] 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.
[0085] 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.
[0086] Optionally, UE201 may be the above-mentioned terminal 100, which will not be described in detail here.
[0087] 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 .
[0088] 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).
[0089] The IP service 204 may include the Internet, an intranet, an IMS (IP Multimedia Subsystem) or other IP services.
[0090] 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.
[0091] Based on the above-mentioned mobile terminal hardware structure and communication network system, various embodiments of the present application are proposed.
[0092] First embodiment
[0093] Reference Figure 3 , Figure 3 is a flow chart of a photographing method according to the first embodiment. The photographing method according to the embodiment of the present application comprises steps S10-S40:
[0094] Step S10, in response to satisfying the first condition, obtaining target preview parameters;
[0095] In this embodiment, the user can select the target preview parameters so that the captured picture can be edited automatically based on the target preview parameters.
[0096] Optionally, the first condition may include at least one of the following:
[0097] Get the preset instructions for the recommended preview parameters;
[0098] Get the imported preview parameters;
[0099] Obtaining a voice description and / or text description of the target image and / or preview parameters;
[0100] Get the reference image.
[0101] Optionally, the step of obtaining the target preview parameter may include at least one of the following:
[0102] Using the recommended preview parameter as the target preview parameter;
[0103] Using the imported preview parameters as the target preview parameters;
[0104] Acquiring the target preview parameter from the voice description and / or text description;
[0105] Extracting the target preview parameter based on the reference picture;
[0106] In response to satisfying the third condition, the target preview parameter is adjusted to obtain an adjusted target preview parameter.
[0107] Optionally, the intelligent terminal may recommend preview parameters to the user so that the user can select the preview parameters.
[0108] Reference Figure 4 , Figure 4 It is a schematic diagram of the interface of the shooting method according to the first embodiment.
[0109] like Figure 4 As shown, the “Recommended Presets” items include No Effect, Portrait, Travel Photography - Neutral, Travel Photography - Cold, Travel Photography - Distant Mountains, Oil Painting, Impression, etc.
[0110] Optionally, each recommended preset includes different preview parameters.
[0111] Optionally, users can also import customized preview parameters.
[0112] like Figure 4 As shown, the smart terminal provides a "My Preset" item to save and / or display the customized preview parameters imported by the user.
[0113] Optionally, the user may describe the target image and / or preview parameters by voice and / or text, and the smart terminal may extract the target preview parameters by voice recognition and / or text recognition and semantic analysis.
[0114] In one scenario, the steps of extracting target preview parameters through speech recognition by the smart terminal include: the smart terminal preprocesses the recognized speech to remove background noise, extracts features from the preprocessed speech, and uses a pre-trained acoustic model to recognize the extracted features to extract the target preview parameters. Among them, the acoustic model can be constructed and trained using a deep neural network (DNN), a recurrent neural network (RNN), a long short-term memory network (LSTM), and a convolutional neural network (CNN).
[0115] In another scenario, the steps for the smart terminal to extract target preview parameters through text recognition include: preprocessing the text image uploaded by the user, segmenting the text area in the preprocessed image into independent characters, extracting features from the segmented characters, and using classifiers such as support vector machines to classify the extracted features, thereby identifying the target preview parameters.
[0116] In another scenario, the intelligent terminal uses natural language processing technology to perform semantic analysis on the text obtained by speech recognition or text recognition, and extracts key information related to the target preview parameters from the text. Among them, the semantic model can be constructed and trained using n-gram model, entity relationship model (ER model), recurrent neural network (RNN), convolutional neural network (CNN), Transformer model, etc.
[0117] Users can also directly upload reference images. The smart terminal analyzes the reference images through a pre-built image analysis model to obtain the preview parameters used by the reference images and use them as target preview parameters.
[0118] Optionally, the training process of the image parsing model is as follows:
[0119] (1) Collect a large number of images containing various preview parameters and their corresponding parameter information to form a training data set. Preprocess the data, including image enhancement, resizing, and normalization, to improve the generalization ability of the model.
[0120] (2) Select appropriate deep learning models based on application scenarios and data characteristics, such as convolutional neural networks (CNNs), Transformers, etc.
[0121] (3) Use the training data set to train the model and optimize the model parameters through the back propagation algorithm. During the training process, data enhancement, learning rate adjustment, regularization and other techniques can be used to improve the performance and stability of the model.
[0122] (4) Use the validation data set to evaluate the trained model, including indicators such as accuracy, recall, and F1 score. Based on the evaluation results, tune the model to improve its performance.
[0123] Optionally, the preview parameters may include basic image parameters and preview function parameters, etc.
[0124] Optionally, basic image parameters include resolution, size, color mode, file format, exposure, contrast, highlight, shadow, brightness, light sensitivity, color temperature, hue, saturation, hue, etc.; preview function parameters include zoom ratio, rotation angle, etc.
[0125] Optionally, the user can also readjust the initial preview parameters.
[0126] Optionally, the user can directly readjust the initial preview parameters to obtain the target preview parameters, refer to Figure 4 ,exist Figure 4 In the second screen, users can adjust color, crop, process faces, select filters, and adjust color balance, white balance, exposure, saturation, etc.
[0127] Optionally, the user can also make a voice description and / or a text description, so that the smart terminal adjusts the initial preview parameters from the voice description and / or text description in response to obtaining the voice description and / or text description of the target image and / or preview parameters to obtain the target preview parameters.
[0128] In response to satisfying the third condition, the target preview parameter is adjusted to obtain the adjusted target preview parameter. The user can readjust the target preview parameter to meet the user's needs and improve the user's experience.
[0129] Step S20, in response to satisfying the second condition, photographing the target content;
[0130] Optionally, satisfying the second condition includes at least one of the following:
[0131] Get the preset shooting instructions;
[0132] When the first duration after obtaining the target preview parameter arrives.
[0133] Optionally, the user can shoot the target content by triggering a shooting button. In addition, the target content can also be automatically shot when the first duration after adjusting the target preview parameters arrives.
[0134] Optionally, the user can set the target preview parameters and then issue a shooting command. At this time, the smart terminal automatically performs the full-link operation of shooting, editing the shot pictures, and displaying the processed pictures.
[0135] Optionally, when the first duration after the user sets the target preview parameters arrives, the smart terminal automatically performs the full-link operation of shooting, editing the shot pictures, and displaying the processed pictures.
[0136] Step S30, editing the captured image based on the target preview parameters;
[0137] Optionally, the captured image can be edited based on the target preview parameters, and the image after parameter adjustment can also be edited through a preset AI model.
[0138] Step S40, displaying the processed image.
[0139] Optionally, the shooting method of the present application can be used in a smart terminal, wherein the style of the smart terminal is not limited in the present application, and the smart terminal can be a single-sided screen, a double-sided screen, a three-folding screen, etc. The interface is divided into three areas, including a shooting area (camera area), a photo editing area, and a preview area, wherein the order and position of the three areas are not limited.
[0140] Optionally, if the smart terminal has a single-screen, the screen is divided into three areas.
[0141] Optionally, if the smart terminal has a three-fold screen, three areas can be divided into each screen. Figure 4 As shown, the first screen of the smart terminal displays the shooting area (camera area), the second screen displays the photo editing area, and the third screen displays the preview area.
[0142] Based on the advantages of the three-fold large screen, an efficient "what you shoot is what you get" solution can be displayed in an integrated manner, including camera shooting, gallery editing and gallery preview.
[0143] Second embodiment
[0144] Based on the above Figure 3 The first embodiment shown in FIG. 1 is a second embodiment of the present application. This embodiment proposes a shooting method. Figure 5 , Figure 5 is a flowchart of a photographing method according to the second embodiment.
[0145] The step S40 of displaying the processed image includes step S41:
[0146] Step S41, displaying the processed pictures respectively based on multiple target preview parameters.
[0147] Please refer to Figure 4 ,exist Figure 4 The effects of no effect, travel photography-neutral, travel photography-cold, and travel photography-distant mountains were selected, corresponding to different target preview parameters. The processed pictures were displayed separately in the third screen based on each group of target preview parameters.
[0148] The processed images are displayed separately based on each group of target preview parameters, and can be compared horizontally, and the appropriate preset parameters under the current environment can be judged in multiple dimensions to improve the quality of the output images, so that the same batch of images output in the same time and space have a unified texture effect, thereby improving the efficiency of "what you shoot is what you get".
[0149] Reference Figure 6 , Figure 6 It is a schematic diagram of selecting preview parameters for the shooting method of this application.
[0150] Optionally, a preset number of preview parameters can be selected to Figure 6 Taking the schematic diagram in as an example, it can be stipulated that the user can select up to 4 preview parameters.
[0151] For users who have no psychological expectations, selecting multiple preview parameters allows for horizontal comparison and multi-dimensional judgment of appropriate preset parameters in the current environment. The preset parameters can also be adapted to environments in different environments to improve the quality of output images, so that the same batch of images output in the same time and space have a unified texture effect, thereby improving the efficiency of "what you shoot is what you get".
[0152] Optionally, after selecting the target preview parameters, the user can click the capture button to take a photo. Figure 7 As shown, Figure 7 It is a schematic diagram of shooting by the shooting method of the present application. After the user clicks the shooting button, shooting pictures, editing pictures and picture previewing are automatically executed in sequence.
[0153] Users can set target preview parameters in a variety of ways to better meet user needs and improve user experience.
[0154] Third embodiment
[0155] Based on the above Figure 3 The first embodiment shown in FIG. 1 is a third embodiment of the present application. This embodiment proposes a shooting method. Figure 8 , Figure 8 3 is a flow chart of a shooting method according to the third embodiment. The step S30, editing the shot picture based on the target preview parameter, includes steps S31-S33:
[0156] Step S31, adjusting the parameters of the captured image to the target preview parameters;
[0157] Optionally, the parameters of the captured image may be adjusted according to the target preview parameters.
[0158] Step S32, and / or, screening and / or adjusting the picture after parameter adjustment by using the first preset model;
[0159] Optionally, the pictures after parameter adjustment may be screened by the first preset model, and blurred, distorted or abnormal pictures may be discarded.
[0160] Optionally, the first preset model can be used to screen the pictures after parameter adjustment according to the AI aesthetic scoring standard.
[0161] Optionally, the picture after parameter adjustment can be adjusted through the first preset model, and the color, brightness, exposure, etc. can be adjusted, and the blurred part, distorted part or abnormal part can also be adjusted.
[0162] Step S33, and / or, obtaining waste films from the picture after the parameter adjustment and synthesizing based on the waste films through a second preset model.
[0163] Optionally, waste films may be blurred, distorted or abnormal pictures in the pictures after parameter adjustment; waste films may also be blurred, distorted or abnormal pictures that are discarded after the pictures after parameter adjustment are screened by the first preset model; waste films may also be pictures that do not meet user requirements or are not selected by the user.
[0164] The waste film can be processed by the second preset model to obtain a picture that meets the user's requirements.
[0165] This embodiment can integrate camera shooting, gallery editing and gallery preview to present an efficient solution of "what you shoot is what you get".
[0166] Fourth embodiment
[0167] Based on the above Figure 8 The third embodiment shown in FIG. 4 is a fourth embodiment of the present application. This embodiment proposes a shooting method. Fig. 9 , Fig. 9 is a flow chart of a photographing method according to the fourth embodiment. The intelligent terminal includes a photo editing area, and the photographing method further includes step S34:
[0168] Step S34, displaying the name of the parameter currently being adjusted in real time in the image editing area.
[0169] Reference Fig.10 , Fig.10 It is a schematic diagram of editing and processing the photographed picture by the photographing method of the present application.
[0170] like Fig.10 As shown, when the parameters of the captured image are adjusted according to the target preview parameters, the name of the currently adjusted parameter is displayed in real time in the image editing area, such as "correcting angle ...".
[0171] By displaying the name of the parameter currently being adjusted in real time in the photo editing area, the user's sense of participation can be increased, thereby improving the user experience.
[0172] Fifth embodiment
[0173] Based on the above Figure 3 The first embodiment shown in FIG. 5 is a fifth embodiment of the present application. This embodiment proposes a shooting method. Fig.11 , Fig.11 1 is a flowchart of a photographing method according to the fifth embodiment. The smart terminal includes a preview area, the preview area includes at least one first preview area and at least one second preview area, and the step S40 of displaying the processed image includes steps S42-S43:
[0174] Step S42, moving the processed image to the first preview area for display;
[0175] Reference Fig.12 , Fig.12 It is a schematic diagram of the shooting method of the present application, wherein the processed image is displayed in the first preview area of the third screen, and supports clicking to view the large image effect. Clicking again can reduce to the original preview image, or click the multiple selection box to save to the gallery.
[0176] Step S43, in response to the picture saving operation, the picture to be saved in the first preview area is saved to the gallery, and is displayed in the second preview area.
[0177] Reference Fig.13 , Fig.13 It is a schematic diagram of saving pictures in the shooting method of the present application. By clicking the multiple-selection box, the picture to be saved in the first preview area can be saved to the gallery.
[0178] Optionally, the second preview area may display the contents of the gallery.
[0179] Reference Fig.14 , Fig.14 It is a schematic diagram of the present application shooting method of sliding left and right to view the gallery content. The gallery content can be viewed by sliding left and right.
[0180] By displaying the processed images through at least one first preview area and at least one second preview area, horizontal comparison can be made and appropriate preset parameters under the current environment can be determined in multiple dimensions, thereby improving the quality of image output and the efficiency of "what you shoot is what you get".
[0181] For example, to help understand the implementation process of the shooting method obtained in the above embodiment, please refer to Fig.15 , Fig.15 is a specific flow chart of the shooting method of the present application. Optionally, the process includes steps S51-S57:
[0182] S51, the user selects at most four preset parameters. Optionally, the preset parameters may be preset parameters recommended by the smart terminal or may be preset parameters customized by the user.
[0183] S52, determining whether a second fine-tuning of parameters is required.
[0184] S53, if yes, the user customizes and adjusts the preset parameters for the second time, and then executes step S54.
[0185] S54, taking pictures via camera.
[0186] S55, adjusting the parameters of the captured image according to preset parameters to obtain a processed image.
[0187] S56, moving the processed image to the photo list for display.
[0188] S57: If cyclic photo taking is required, return to step S54.
[0189] An embodiment of the present application also provides an intelligent terminal, including a memory and a processor, wherein a shooting program is stored in the memory, and when the shooting program is executed by the processor, the steps of the shooting method in any of the above embodiments are implemented.
[0190] An embodiment of the present application further provides a storage medium, on which a shooting program is stored. When the shooting program is executed by a processor, the steps of the shooting method in any of the above embodiments are implemented.
[0191] In the embodiments of the smart terminal and storage medium provided in the present application, all technical features of any of the above-mentioned shooting method embodiments may be included, and the expanded and explained contents of the specification are basically the same as those of the above-mentioned method embodiments, and will not be repeated here.
[0192] The embodiment of the present application further provides a computer program product, which includes a computer program code. When the computer program code runs on a computer, the computer executes the methods in the above various possible implementation modes.
[0193] An embodiment of the present application also provides a chip, including a memory and a processor, the memory is used to store a computer program, and the processor is used to call and run the computer program from the memory, so that a device equipped with the chip executes the methods in various possible implementation modes as described above.
[0194] 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.
[0195] 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.
[0196] The steps in the method of the embodiment of the present application can be adjusted in order, combined and deleted according to actual needs.
[0197] The units in the device of the embodiment of the present application can be merged, divided and deleted according to actual needs.
[0198] 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.
[0199] 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.
[0200] 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.
[0201] 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.
[0202] 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.
[0203] 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 shooting method, characterized in that: include: In response to satisfying the first condition, obtaining a target preview parameter; In response to satisfying a second condition, photographing the target content; Editing the captured image based on the target preview parameters; Display the processed images.
2. The method according to claim 1, characterized in that The first condition is satisfied including at least one of the following: Get the preset instructions for the recommended preview parameters; Get the imported preview parameters; Obtaining a voice description and / or text description of the target image and / or preview parameters; Get the reference image.
3. The method according to claim 2, characterized in that The step of obtaining the target preview parameter includes at least one of the following: Using the recommended preview parameter as the target preview parameter; Using the imported preview parameters as the target preview parameters; Acquiring the target preview parameter from the voice description and / or text description; Extracting the target preview parameter based on the reference picture; In response to satisfying the third condition, the target preview parameter is adjusted to obtain an adjusted target preview parameter.
4. The method according to claim 3, characterized in that The step of displaying the processed image comprises: The processed images are displayed separately based on multiple target preview parameters.
5. The method according to any one of claims 1 to 4, characterized in that The second condition is satisfied including at least one of the following: Get the preset shooting instructions; When the first duration after obtaining the target preview parameter arrives.
6. The method according to any one of claims 1 to 4, characterized in that The step of editing the captured image based on the target preview parameters comprises: Adjusting the parameters of the captured image to the target preview parameters; and / or, screening and / or adjusting the picture after parameter adjustment by using the first preset model; And / or, obtaining waste pieces from the picture after the parameter adjustment and synthesizing based on the waste pieces through a second preset model.
7. The method according to claim 6, characterized in that The intelligent terminal includes a photo editing area, and the method further includes: The name of the parameter currently being adjusted is displayed in real time in the image editing area.
8. The method according to any one of claims 1 to 4, characterized in that The intelligent terminal includes a preview area, the preview area includes at least one first preview area and at least one second preview area, and the step of displaying the processed image includes: Moving the processed image to the first preview area for display; In response to the picture saving operation, the picture to be saved in the first preview area is saved to the gallery and displayed in the second preview area.
9. An intelligent terminal, characterized in that: include: A memory and a processor, wherein a shooting program is stored in the memory, and when the shooting program is executed by the processor, the steps of the shooting method according to any one of claims 1 to 8 are implemented.
10. A storage medium, characterized in that: The storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the shooting method according to any one of claims 1 to 8 are implemented.