Shooting parameter adjustment method, electronic device, and storage medium
Patent Information
- Application Number
- CN202111282872.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-11-01
- Publication Date
- 2026-08-18
- Estimated Expiration
- 2041-11-01
AI Technical Summary
在进行上述动作过程中,涉及到手机翻转(直板手机)、折叠/展开(折叠手机)等操作,非常影响拍照体验
Smart Images

Figure CN116069156B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of smart terminals, and more particularly to a method for adjusting shooting parameters, an electronic device, and a storage medium. Background Technology
[0002] For smartphone users, taking photos is one of the most basic operations. Furthermore, as users' demands for photo quality have increased, shooting modes such as filter modes and sky-replacement modes have been developed to meet these needs. Traditionally, selfies involved placing a front-facing camera on the side of the phone screen. However, current smartphones are pursuing higher screen-to-body ratios, leaving no space for a camera on the side of the screen. Based on users' selfie needs, the industry has offered two selfie solutions: one is an under-display camera; the other is using a rear camera module for selfies.
[0003] For selfies using the rear camera module, the inability of users to preview the image quality led to the development of a small rear screen solution. This solution integrates a small screen on the back of the phone for previewing the photo, addressing the issue of users not being able to decide when to take a satisfactory picture. However, this only solves the problem of being able to take a picture. When users need to adjust specific parameters such as ISO aperture, shutter speed, exposure compensation, filter intensity, white balance, beauty mode, zoom, and sharpness, they still need to use the front-facing screen to make these adjustments before taking the selfie with the rear camera. These actions involve flipping (for candybar phones) and folding / unfolding (for foldable phones), significantly impacting the photography experience. Summary of the Invention
[0004] This application provides a method, electronic device, and storage medium for adjusting shooting parameters, thereby providing a way to adjust the shooting parameters of a rear camera, facilitating the adjustment of the shooting parameters of the rear camera and improving the user's operating experience.
[0005] In a first aspect, embodiments of this application provide a method for adjusting shooting parameters, applied to an electronic device. The electronic device includes a first screen and a second screen, which are respectively located on both sides of the electronic device, and include:
[0006] In response to a detected first gesture from the user on a first screen, the first gesture is recognized; wherein, the electronic device can be a smart device with a rear camera, such as a mobile phone, tablet, etc. The first screen can be a small screen on the back of the electronic device next to the rear camera. The second screen can be the main screen on the front of the electronic device.
[0007] If the first gesture is detected to match the preset parameter adjustment gesture, the shooting parameters of the parameter adjustment gesture that matches the first gesture are adjusted based on the first gesture; wherein, the preset parameter adjustment gesture is preset by the user on the second screen.
[0008] In this embodiment, the user can adjust the shooting parameters by preset parameters on the main screen and then adjust the shooting parameters on the small screen, which facilitates the adjustment of the shooting parameters of the rear camera and improves the user's operating experience.
[0009] To simplify user operations, make them easier to remember, and improve the user experience, one possible implementation includes preset parameter adjustment gestures such as up-and-down swiping gestures and / or left-and-right swiping gestures.
[0010] One possible implementation involves recognizing the first gesture, including:
[0011] The validity of a first gesture is identified; wherein the validity of the first gesture is determined by the movement speed of the first gesture; wherein the movement speed of the first gesture can be the movement speed of the user's finger on the touch point of the first screen. In a specific implementation, the movement speed can be characterized by the number of rows or columns of pixels moving in a certain direction per unit time (e.g., 1 microsecond).
[0012] If the first gesture is a valid gesture, then the first gesture is recognized.
[0013] In this embodiment of the application, by performing a validity judgment before recognizing the first gesture, user misoperation can be avoided.
[0014] In one possible implementation, after recognizing that the first gesture matches a preset parameter adjustment gesture, the method further includes:
[0015] The first screen displays a ruler and a cursor. The cursor corresponds to the touch point on the first screen of the first gesture, and the value on the ruler corresponding to the cursor represents the shooting parameters. The ruler may include scales, each scale corresponding to a value, which in turn corresponds to a shooting parameter value. The cursor can be generated based on the user's finger touch point on the first screen; as the user's finger moves, the touch point moves, and the cursor moves accordingly.
[0016] In this embodiment of the application, displaying a ruler and a cursor on the display interface can help users adjust the values of shooting parameters more accurately.
[0017] One possible implementation also includes:
[0018] In response to a detected second gesture from the user on the first screen, the second gesture is recognized; wherein, the second gesture can be used to switch the shooting parameters corresponding to the current parameter adjustment gesture. The number of such parameter adjustment gestures can be one or more.
[0019] If the second gesture is detected to match the preset parameter change gesture, the shooting parameters corresponding to one or more parameter adjustment gestures will be switched based on the second gesture.
[0020] In this embodiment, the user switches the shooting parameters corresponding to the parameter adjustment gesture by using a second gesture on the small screen, thereby avoiding the need for the user to switch shooting parameters on the main screen, making the operation more convenient and improving the user's operating experience.
[0021] One possible implementation also includes:
[0022] In response to a detected third gesture from the user on the first screen, a first icon and a second icon are displayed on the first screen's display interface; wherein the first icon may be a lock icon and the second icon may be a cancel icon. The third gesture may be a stop gesture, which allows the user to bring up the aforementioned first and second icons.
[0023] In response to detected user interaction with the first icon, lock the current values of the shooting parameters; or
[0024] In response to the detected user interaction with the second icon, the adjustment of the shooting parameters is canceled.
[0025] In this embodiment, the cancel icon and lock icon are brought up by a stop gesture, and the shooting parameters can be locked or canceled by operating the cancel icon or lock icon, thereby improving the user's operating experience.
[0026] In one possible implementation, the display interface of the first screen also includes a ruler, with the first icon and the second icon located on the left and right sides or the top and bottom sides of the ruler, respectively.
[0027] In this embodiment of the application, since the display area of the small screen is usually small, placing the first icon and the second icon on the left and right sides or the top and bottom sides of the ruler can avoid user misoperation.
[0028] In one possible implementation, the electronic device further includes shooting modes, including a normal shooting mode and a wide-angle shooting mode. The method also includes:
[0029] In response to a detected fourth gesture from the user on the first screen, the parameters corresponding to the wide-angle shooting mode are switched based on the fourth gesture. This fourth gesture can be used to switch parameters within the shooting mode, for example, between 1X and 0.5X in wide-angle shooting mode.
[0030] In this embodiment of the application, the user's fourth gesture can be used to switch parameters in the shooting mode, thereby improving the efficiency of parameter switching and thus improving the user experience.
[0031] Secondly, embodiments of this application provide a shooting parameter adjustment device applied to an electronic device, the electronic device including a first screen and a second screen, the first screen and the second screen being located on opposite sides of the electronic device, including:
[0032] The recognition module is used to recognize the first gesture in response to the detected first gesture of the user on the first screen;
[0033] The adjustment module is used to adjust the shooting parameters of the parameter adjustment gesture that matches the first gesture if it is detected that the first gesture matches the preset parameter adjustment gesture. The preset parameter adjustment gesture is preset by the user on the second screen.
[0034] In one possible implementation, the preset parameter adjustment gestures include up-and-down swiping gestures and / or left-and-right swiping gestures.
[0035] In one possible implementation, the aforementioned identification module is also used for
[0036] The validity of the first gesture is identified; wherein, the validity of the first gesture is determined by the movement speed of the first gesture.
[0037] If the first gesture is a valid gesture, then the first gesture is recognized.
[0038] In one possible implementation, the above-mentioned shooting parameter adjustment device further includes:
[0039] The display module is used to display a ruler and a cursor on the display interface of the first screen. The cursor corresponds to the touch point of the first gesture on the first screen, and the value on the ruler corresponding to the cursor is used to represent the value of the shooting parameters.
[0040] In one possible implementation, the above-mentioned shooting parameter adjustment device further includes:
[0041] The first switching module is used to respond to the detected second gesture of the user on the first screen, and to recognize the second gesture; if the recognized second gesture matches the preset parameter change gesture, the shooting parameters corresponding to one or more parameter adjustment gestures are switched based on the second gesture.
[0042] In one possible implementation, the above-mentioned shooting parameter adjustment device further includes:
[0043] The abort module is used to respond to a detected third gesture by the user on the first screen by displaying a first icon and a second icon on the display interface of the first screen.
[0044] In response to detected user interaction with the first icon, lock the current values of the shooting parameters; or
[0045] In response to the detected user interaction with the second icon, the adjustment of the shooting parameters is canceled.
[0046] In one possible implementation, the display interface of the first screen further includes a ruler, with the first icon and the second icon located on the left and right sides or the top and bottom sides of the ruler, respectively.
[0047] In one possible implementation, the electronic device further includes a shooting mode, which includes a normal shooting mode and a wide-angle shooting mode. The aforementioned shooting parameter adjustment device further includes:
[0048] The second switching module is used to respond to the detected fourth gesture of the user on the first screen and switch the parameters corresponding to the wide-angle shooting mode based on the fourth gesture.
[0049] Thirdly, embodiments of this application provide an electronic device, including:
[0050] The memory stores computer program code, including instructions. The electronic device includes a first screen and a second screen, which are located on opposite sides of the electronic device. When the electronic device reads the instructions from the memory, it performs the following steps:
[0051] In response to a detected first gesture by the user on the first screen, the first gesture is recognized;
[0052] If the first gesture is detected to match the preset parameter adjustment gesture, the shooting parameters of the parameter adjustment gesture that matches the first gesture are adjusted based on the first gesture; wherein, the preset parameter adjustment gesture is preset by the user on the second screen.
[0053] In one possible implementation, the preset parameter adjustment gestures include up-and-down swiping gestures and / or left-and-right swiping gestures.
[0054] In one possible implementation, when the above instruction is executed by the electronic device, causing the electronic device to perform the step of recognizing the first gesture, the steps include:
[0055] The validity of the first gesture is identified; wherein, the validity of the first gesture is determined by the movement speed of the first gesture.
[0056] If the first gesture is a valid gesture, then the first gesture is recognized.
[0057] In one possible implementation, when the above instruction is executed by the electronic device, after the electronic device performs the step of recognizing that the first gesture matches the preset parameter adjustment gesture, it further performs the following steps:
[0058] The first screen displays a ruler and a cursor. The cursor corresponds to the touch point of the first gesture on the first screen, and the value on the ruler corresponding to the cursor is used to represent the value of the shooting parameters.
[0059] In one possible implementation, when the above instructions are executed by the electronic device, the electronic device further performs the following steps:
[0060] In response to a detected second gesture by the user on the first screen, the second gesture is recognized;
[0061] If the second gesture is detected to match the preset parameter change gesture, the shooting parameters corresponding to one or more parameter adjustment gestures will be switched based on the second gesture.
[0062] In one possible implementation, when the above instructions are executed by the electronic device, the electronic device further performs the following steps:
[0063] In response to a detected third gesture from the user on the first screen, a first icon and a second icon are displayed on the first screen's display interface;
[0064] In response to detected user interaction with the first icon, lock the current values of the shooting parameters; or
[0065] In response to the detected user interaction with the second icon, the adjustment of the shooting parameters is canceled.
[0066] In one possible implementation, the display interface of the first screen also includes a ruler, with the first icon and the second icon located on the left and right sides or the top and bottom sides of the ruler, respectively.
[0067] In one possible implementation, the electronic device further includes a shooting mode, which includes a normal shooting mode and a wide-angle shooting mode. When the above instruction is executed by the electronic device, the electronic device also performs the following steps:
[0068] In response to a detected fourth gesture from the user on the first screen, the parameters corresponding to the wide-angle shooting mode are switched based on the fourth gesture.
[0069] Fourthly, embodiments of this application provide a computer-readable storage medium storing a computer program that, when run on a computer, causes the computer to perform the method described in the first aspect.
[0070] Fifthly, embodiments of this application provide a computer program that, when executed by a computer, performs the method described in the first aspect.
[0071] In one possible design, the program in the fifth aspect can be stored wholly or partially on a storage medium packaged with the processor, or it can be stored wholly or partially on a memory not packaged with the processor. Attached Figure Description
[0072] Figure 1 A schematic diagram of the hardware structure of the electronic device provided in the embodiments of this application;
[0073] Figure 2 A schematic diagram illustrating an application scenario for an embodiment of this application;
[0074] Figure 3 A flowchart illustrating an embodiment of the shooting parameter adjustment method provided in this application;
[0075] Figure 4 A schematic diagram of an embodiment of the parameter adjustment gesture setting interface provided in this application;
[0076] Figure 5 A schematic diagram of another embodiment of the parameter adjustment gesture setting interface provided in this application;
[0077] Figure 6 A schematic diagram of an embodiment of the parameter change display interface provided in this application;
[0078] Figure 7 A schematic diagram of another embodiment of the parameter change display interface provided in this application;
[0079] Figure 8 A schematic diagram of yet another embodiment of the parameter change display interface provided in this application;
[0080] Figure 9 A schematic diagram of yet another embodiment of the parameter change display interface provided in this application;
[0081] Figure 10 A schematic diagram of yet another embodiment of the parameter change display interface provided in this application;
[0082] Figure 11 A schematic diagram of yet another embodiment of the parameter change display interface provided in this application;
[0083] Figure 12 A flowchart illustrating another embodiment of the shooting parameter adjustment method provided in this application;
[0084] Figure 13a A schematic diagram of the display interface for the locking parameters provided in an embodiment of this application;
[0085] Figure 13b A schematic diagram of the display interface for canceling parameter adjustment provided in an embodiment of this application;
[0086] Figure 14 This is a schematic diagram of the device provided in an embodiment of this application. Detailed Implementation
[0087] The technical solutions of the embodiments of this application will be described below with reference to the accompanying drawings. In the description of the embodiments of this application, unless otherwise stated, " / " means "or," for example, A / B can mean A or B; the term "and / or" in this document is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, and B existing alone.
[0088] Hereinafter, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of embodiments of this application, unless otherwise stated, "a plurality of" means two or more.
[0089] For smartphone users, taking photos is one of the most basic operations. Furthermore, as users' demands for photo quality have increased, shooting modes such as filter modes and sky-replacement modes have been developed to meet these needs. Traditionally, selfies involved placing a front-facing camera on the side of the phone screen. However, current smartphones are pursuing higher screen-to-body ratios, leaving no space for a camera on the side of the screen. Based on users' selfie needs, the industry has offered two selfie solutions: one is an under-display camera; the other is using a rear camera module for selfies.
[0090] For selfies using the rear camera module, the inability of users to preview the image quality led to the development of a small rear screen solution. This solution integrates a small screen on the back of the phone for previewing the photo, addressing the issue of users not being able to decide when to take a satisfactory picture. However, this only solves the problem of being able to take a picture. When users need to adjust specific parameters such as ISO aperture, shutter speed, exposure compensation, filter intensity, white balance, beauty mode, zoom, and sharpness, they still need to use the front-facing screen to make these adjustments before taking the selfie with the rear camera. These actions involve flipping (for candybar phones) and folding / unfolding (for foldable phones), significantly impacting the photography experience.
[0091] The following is combined Figure 1 First, we introduce the exemplary electronic devices provided in the following embodiments of this application. Figure 1 A schematic diagram of the structure of the electronic device 100 is shown.
[0092] Electronic device 100 may include processor 110, external memory interface 120, internal memory 121, universal serial bus (USB) interface 130, charging management module 140, power management module 141, battery 142, antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, headphone jack 170D, sensor module 180, button 190, motor 191, indicator 192, camera 193, display screen 194, and subscriber identification module (SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, a barometric pressure sensor 180C, a magnetic sensor 180D, an accelerometer sensor 180E, a distance sensor 180F, a proximity sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.
[0093] It is understood that the structures illustrated in the embodiments of the present invention do not constitute a specific limitation on the electronic device 100. In other embodiments of this application, the electronic device 100 may include more or fewer components than illustrated, or combine some components, or split some components, or have different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
[0094] The processor 110 may include one or more processing units, such as an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural network processing unit (NPU). Different processing units may be independent devices or integrated into one or more processors. In this embodiment, the processor 110 may receive the image stream from the rear camera and output a preview image; adjust the rendering parameters of the preview image or adjust the hardware parameters of the rear camera when the touch sensor 180K detects a specific gesture; and change the shooting parameters adjusted by the gesture on the small screen based on the user's gesture recognized by the gesture recognition unit.
[0095] The controller can generate operation control signals based on the instruction opcode and timing signals to complete the control of instruction fetching and execution.
[0096] The processor 110 may also include a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. This memory can store instructions or data that the processor 110 has just used or that are used repeatedly. If the processor 110 needs to use the instruction or data again, it can retrieve it directly from the memory. This avoids repeated accesses, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.
[0097] In some embodiments, the processor 110 may include one or more interfaces. Interfaces may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.
[0098] The I2C interface is a bidirectional synchronous serial bus, including a serial data line (SDA) and a serial clock line (SCL). In some embodiments, the processor 110 may include multiple I2C buses. The processor 110 can couple to the touch sensor 180K, charger, flash, camera 193, etc., through different I2C bus interfaces. For example, the processor 110 can couple to the touch sensor 180K through the I2C interface, enabling the processor 110 and the touch sensor 180K to communicate through the I2C bus interface, thereby realizing the touch function of the electronic device 100.
[0099] The I2S interface can be used for audio communication. In some embodiments, the processor 110 may include multiple I2S buses. The processor 110 can be coupled to the audio module 170 via the I2S bus to enable communication between the processor 110 and the audio module 170. In some embodiments, the audio module 170 can transmit audio signals to the wireless communication module 160 via the I2S interface to enable the function of answering phone calls through a Bluetooth headset.
[0100] The PCM interface can also be used for audio communication, sampling, quantizing, and encoding analog signals. In some embodiments, the audio module 170 and the wireless communication module 160 can be coupled via the PCM bus interface. In some embodiments, the audio module 170 can also transmit audio signals to the wireless communication module 160 via the PCM interface, enabling the function of answering phone calls through a Bluetooth headset. Both the I2S interface and the PCM interface can be used for audio communication.
[0101] The UART interface is a universal serial data bus used for asynchronous communication. This bus can be a bidirectional communication bus. It converts the data to be transmitted between serial and parallel communication. In some embodiments, the UART interface is typically used to connect the processor 110 and the wireless communication module 160. For example, the processor 110 communicates with the Bluetooth module in the wireless communication module 160 via the UART interface to implement Bluetooth functionality. In some embodiments, the audio module 170 can transmit audio signals to the wireless communication module 160 via the UART interface to enable music playback through Bluetooth headphones.
[0102] The MIPI interface can be used to connect the processor 110 to peripheral devices such as the display screen 194 and the camera 193. The MIPI interface includes a camera serial interface (CSI) and a display serial interface (DSI). In some embodiments, the processor 110 and the camera 193 communicate via the CSI interface to enable the electronic device 100 to capture images. The processor 110 and the display screen 194 communicate via the DSI interface to enable the electronic device 100 to display images.
[0103] The GPIO interface can be configured via software. It can be configured as a control signal or a data signal. In some embodiments, the GPIO interface can be used to connect the processor 110 to a camera 193, a display screen 194, a wireless communication module 160, an audio module 170, a sensor module 180, etc. The GPIO interface can also be configured as an I2C interface, an I2S interface, a UART interface, a MIPI interface, etc.
[0104] USB port 130 is a USB standard compliant interface, specifically a Mini USB port, Micro USB port, USB Type-C port, etc. USB port 130 can be used to connect a charger to charge electronic device 100, and can also be used for data transfer between electronic device 100 and peripheral devices. It can also be used to connect headphones for audio playback. This interface can also be used to connect other electronic devices, such as AR devices.
[0105] It is understood that the interface connection relationships between the modules illustrated in the embodiments of the present invention are merely illustrative and do not constitute a structural limitation on the electronic device 100. In other embodiments of this application, the electronic device 100 may also employ different interface connection methods or combinations of multiple interface connection methods as described in the above embodiments.
[0106] The charging management module 140 receives charging input from a charger. The charger can be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 receives charging input from the wired charger via the USB interface 130. In some wireless charging embodiments, the charging management module 140 receives wireless charging input via the wireless charging coil of the electronic device 100. While charging the battery 142, the charging management module 140 can also supply power to the electronic device via the power management module 141.
[0107] The power management module 141 connects the battery 142, the charging management module 140, and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140, providing power to the processor 110, internal memory 121, display screen 194, camera 193, and wireless communication module 160, etc. The power management module 141 can also monitor parameters such as battery capacity, battery cycle count, and battery health status (leakage current, impedance). In some other embodiments, the power management module 141 may also be located within the processor 110. In other embodiments, the power management module 141 and the charging management module 140 may be located in the same device.
[0108] The wireless communication function of electronic device 100 can be realized through antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, modem processor and baseband processor, etc.
[0109] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 100 can be used to cover one or more communication frequency bands. Different antennas can also be multiplexed to improve antenna utilization. For example, antenna 1 can be multiplexed as a diversity antenna for a wireless local area network. In some other embodiments, the antennas can be used in conjunction with tuning switches.
[0110] The mobile communication module 150 can provide solutions for wireless communication, including 2G / 3G / 4G / 5G, applied to the electronic device 100. The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves via antenna 1, and perform filtering, amplification, and other processing on the received electromagnetic waves before transmitting them to a modem processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modem processor and convert it into electromagnetic waves for radiation via antenna 1. In some embodiments, at least some functional modules of the mobile communication module 150 may be housed in the processor 110. In some embodiments, at least some functional modules of the mobile communication module 150 and at least some modules of the processor 110 may be housed in the same device.
[0111] The modem processor may include a modulator and a demodulator. The modulator modulates the low-frequency baseband signal to be transmitted into a mid-to-high frequency signal. The demodulator demodulates the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After processing by the baseband processor, the low-frequency baseband signal is transmitted to the application processor. The application processor outputs sound signals through an audio device (not limited to speaker 170A, receiver 170B, etc.) or displays images or videos through the display screen 194. In some embodiments, the modem processor may be a separate device. In other embodiments, the modem processor may be independent of the processor 110 and may be housed in the same device as the mobile communication module 150 or other functional modules.
[0112] The wireless communication module 160 can provide solutions for wireless communication applications on the electronic device 100, including wireless local area networks (WLANs) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), and infrared (IR) technologies. The wireless communication module 160 can be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via antenna 2, performs frequency modulation and filtering of the electromagnetic wave signals, and sends the processed signal to processor 110. The wireless communication module 160 can also receive signals to be transmitted from processor 110, perform frequency modulation and amplification, and convert them into electromagnetic waves for radiation via antenna 2.
[0113] In some embodiments, antenna 1 of electronic device 100 is coupled to mobile communication module 150, and antenna 2 is coupled to wireless communication module 160, enabling electronic device 100 to communicate with networks and other devices via wireless communication technology. The wireless communication technology may include Global System for Mobile Communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Time Division Code Division Multiple Access (TD-SCDMA), Long Term Evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technologies, etc. The GNSS may include the Global Positioning System (GPS), the Global Navigation Satellite System (GLONASS), the BeiDou Navigation Satellite System (BDS), the Quasi-Zenith Satellite System (QZSS), and / or satellite-based augmentation systems (SBAS).
[0114] Electronic device 100 implements display functions through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, connected to the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations and for graphics rendering. Processor 110 may include one or more GPUs, which execute program instructions to generate or modify display information.
[0115] Display screen 194 is used to display images, videos, etc. Display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), a Mini LED, a MicroLED, a Micro-OLED, a quantum dot light-emitting diode (QLED), etc. In some embodiments, electronic device 100 may include one or N displays 194, where N is a positive integer greater than 1. In this embodiment, electronic device 100 may include a main screen and a small screen. The main screen may be located on the front of electronic device 100, and the small screen may be located on the back of electronic device 100. The main screen can be used to display a window for a camera application and can be used to display preview images. This small screen can be a small screen integrated on the back of the electronic device 100, displaying a preview image when the user takes a selfie using the rear camera. In normal mode (e.g., standby mode), the small screen can display a clock.
[0116] Electronic device 100 can perform shooting functions through ISP, camera 193, video codec, GPU, display 194 and application processor.
[0117] The ISP (Image Signal Processor) is used to process data fed back from the camera 193. For example, when taking a picture, the shutter is opened, and light is transmitted through the lens to the camera's photosensitive element. The light signal is converted into an electrical signal, and the camera's photosensitive element transmits the electrical signal to the ISP for processing, transforming it into an image visible to the naked eye. The ISP can also perform algorithmic optimization of image noise, brightness, and skin tone. The ISP can also optimize parameters such as exposure and color temperature of the shooting scene. In some embodiments, the ISP can be set in the camera 193.
[0118] Camera 193 is used to capture still images or videos. An object is projected onto a photosensitive element by generating an optical image through the lens. The photosensitive element can be a charge-coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the light signal into an electrical signal, which is then passed to an ISP for conversion into a digital image signal. The ISP outputs the digital image signal to a DSP for processing. The DSP converts the digital image signal into image signals in standard RGB, YUV, or other formats. In some embodiments, the electronic device 100 may include one or N cameras 193, where N is a positive integer greater than 1.
[0119] Digital signal processors (DSPs) are used to process digital signals. Besides digital image signals, they can also process other digital signals. For example, when electronic device 100 selects a frequency, the DSP can perform Fourier transforms on the frequency energy.
[0120] Video codecs are used to compress or decompress digital video. Electronic device 100 may support one or more video codecs. Thus, electronic device 100 can play or record videos in various encoding formats, such as Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, etc.
[0121] An NPU (Neural Processing Unit) is a computational processor for neural networks (NNs). By borrowing the structure of biological neural networks, such as the transmission patterns between neurons in the human brain, it can rapidly process input information and continuously learn on its own. NPUs enable intelligent cognitive applications in electronic devices, such as image recognition, facial recognition, speech recognition, and text understanding.
[0122] The external storage interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100. The external memory card communicates with the processor 110 through the external storage interface 120 to perform data storage functions. For example, music, video, and other files can be saved on the external memory card.
[0123] Internal memory 121 can be used to store computer executable program code, which includes instructions. Internal memory 121 may include a program storage area and a data storage area. The program storage area may store the operating system, at least one application program required for a function (such as sound playback, image playback, etc.), etc. The data storage area may store data created during the use of electronic device 100 (such as audio data, phonebook, etc.). Furthermore, internal memory 121 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, universal flash storage (UFS), etc. Processor 110 executes various functional applications and data processing of electronic device 100 by running instructions stored in internal memory 121 and / or instructions stored in memory located in the processor.
[0124] Electronic device 100 can implement audio functions, such as music playback and recording, through audio module 170, speaker 170A, receiver 170B, microphone 170C, headphone jack 170D, and application processor.
[0125] The audio module 170 is used to convert digital audio information into analog audio signals for output, and also to convert analog audio input into digital audio signals. The audio module 170 can also be used for encoding and decoding audio signals. In some embodiments, the audio module 170 may be located in the processor 110, or some functional modules of the audio module 170 may be located in the processor 110.
[0126] The speaker 170A, also known as a "loudspeaker," is used to convert audio electrical signals into sound signals. The electronic device 100 can listen to music or make hands-free calls through the speaker 170A.
[0127] The receiver 170B, also known as the "earpiece," is used to convert audio electrical signals into sound signals. When the electronic device 100 answers a telephone call or voice message, the receiver 170B can be brought close to the ear to listen to the voice.
[0128] Microphone 170C, also known as a "microphone" or "voice transducer," is used to convert sound signals into electrical signals. When making a phone call or sending a voice message, the user can speak by bringing their mouth close to microphone 170C, inputting the sound signal into microphone 170C. Electronic device 100 may have at least one microphone 170C. In some embodiments, electronic device 100 may have two microphones 170C, which, in addition to collecting sound signals, can also perform noise reduction. In other embodiments, electronic device 100 may also have three, four, or more microphones 170C, which can collect sound signals, reduce noise, identify the sound source, and perform directional recording, etc.
[0129] The 170D headphone jack is used to connect wired headphones. The 170D headphone jack can be a USB 130 interface or a 3.5mm Open Mobile Terminal Platform (OMTP) standard interface, a CTIA (Cellular Telecommunications Industry Association of the USA) standard interface.
[0130] Pressure sensor 180A is used to sense pressure signals and convert them into electrical signals. In some embodiments, pressure sensor 180A can be disposed on display screen 194. There are many types of pressure sensors 180A, such as resistive pressure sensors, inductive pressure sensors, and capacitive pressure sensors. A capacitive pressure sensor may include at least two parallel plates with conductive material. When force is applied to pressure sensor 180A, the capacitance between the electrodes changes. Electronic device 100 determines the pressure intensity based on the change in capacitance. When a touch operation is applied to display screen 194, electronic device 100 detects the intensity of the touch operation based on pressure sensor 180A. Electronic device 100 can also calculate the touch position based on the detection signal from pressure sensor 180A. In some embodiments, touch operations applied to the same touch position but with different touch operation intensities can correspond to different operation commands. For example, when a touch operation with an intensity less than a first pressure threshold is applied to the SMS application icon, a command to view an SMS is executed. When a touch operation with an intensity greater than or equal to the first pressure threshold is applied to the SMS application icon, a command to create a new SMS is executed.
[0131] The gyroscope sensor 180B can be used to determine the motion attitude of the electronic device 100. In some embodiments, the gyroscope sensor 180B can determine the angular velocity of the electronic device 100 about three axes (i.e., the x, y, and z axes). The gyroscope sensor 180B can be used for image stabilization. For example, when the shutter is pressed, the gyroscope sensor 180B detects the angle of the shake of the electronic device 100, calculates the distance that the lens module needs to compensate based on the angle, and allows the lens to counteract the shake of the electronic device 100 by moving in the opposite direction, thus achieving image stabilization. The gyroscope sensor 180B can also be used in navigation and motion-sensing game scenarios.
[0132] The barometric pressure sensor 180C is used to measure air pressure. In some embodiments, the electronic device 100 calculates altitude using the air pressure value measured by the barometric pressure sensor 180C to assist in positioning and navigation.
[0133] The magnetic sensor 180D includes a Hall sensor. The electronic device 100 can use the magnetic sensor 180D to detect the opening and closing of the flip cover. In some embodiments, when the electronic device 100 is a flip phone, the electronic device 100 can detect the opening and closing of the flip cover using the magnetic sensor 180D. Then, based on the detected opening and closing state of the cover or the flip cover, features such as automatic flip unlocking can be set.
[0134] The 180E accelerometer can detect the magnitude of acceleration of electronic device 100 in various directions (typically three axes). When electronic device 100 is stationary, it can detect the magnitude and direction of gravity. It can also be used to identify the posture of electronic devices and applied to applications such as screen orientation switching and pedometers.
[0135] A distance sensor 180F is used to measure distance. Electronic device 100 can measure distance via infrared or laser. In some embodiments, during a shooting scene, electronic device 100 can utilize the distance sensor 180F to measure distance for rapid focusing.
[0136] The proximity sensor 180G may include, for example, a light-emitting diode (LED) and a light detector, such as a photodiode. The LED may be an infrared LED. The electronic device 100 emits infrared light outward through the LED. The electronic device 100 uses the photodiode to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it can be determined that there is an object near the electronic device 100. When insufficient reflected light is detected, the electronic device 100 can determine that there is no object near the electronic device 100. The electronic device 100 may use the proximity sensor 180G to detect when a user holds the electronic device 100 close to their ear for a call, so as to automatically turn off the screen to save power. The proximity sensor 180G can also be used in holster mode and pocket mode for automatic unlocking and locking of the screen.
[0137] The ambient light sensor 180L is used to sense the brightness of ambient light. The electronic device 100 can adaptively adjust the brightness of the display screen 194 based on the sensed ambient light brightness. The ambient light sensor 180L can also be used to automatically adjust the white balance when taking pictures. The ambient light sensor 180L can also work with the proximity sensor 180G to detect whether the electronic device 100 is in a pocket to prevent accidental touches.
[0138] The fingerprint sensor 180H is used to collect fingerprints. The electronic device 100 can utilize the characteristics of the collected fingerprints to achieve fingerprint unlocking, accessing application locks, taking photos with fingerprints, answering calls with fingerprints, etc.
[0139] Temperature sensor 180J is used to detect temperature. In some embodiments, electronic device 100 uses the temperature detected by temperature sensor 180J to execute a temperature handling strategy. For example, when the temperature reported by temperature sensor 180J exceeds a threshold, electronic device 100 performs thermal protection by reducing the performance of a processor located near temperature sensor 180J to reduce power consumption. In other embodiments, when the temperature is below another threshold, electronic device 100 heats battery 142 to prevent abnormal shutdown of electronic device 100 due to low temperature. In still other embodiments, when the temperature is below yet another threshold, electronic device 100 boosts the output voltage of battery 142 to prevent abnormal shutdown due to low temperature.
[0140] Touch sensor 180K, also known as a "touch device," can be located on display screen 194. The touch sensor 180K and display screen 194 together form a touchscreen, also known as a "touchscreen." Touch sensor 180K detects touch operations applied to or near it. The touch sensor can transmit the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through display screen 194. In other embodiments, touch sensor 180K may also be located on the surface of electronic device 100, in a different position than display screen 194. In this embodiment, touch sensor 180K can monitor touch points on the small screen in real time, perform gesture recognition based on the touch points, and determine touch gestures.
[0141] The bone conduction sensor 180M can acquire vibration signals. In some embodiments, the bone conduction sensor 180M can acquire vibration signals from the vibrating bone segments of the human vocal cords. The bone conduction sensor 180M can also contact the human pulse to receive blood pressure signals. In some embodiments, the bone conduction sensor 180M can also be incorporated into headphones to form bone conduction headphones. The audio module 170 can parse the voice signals from the vibrating bone segments of the vocal cords acquired by the bone conduction sensor 180M to realize voice functionality. The application processor can parse heart rate information from the blood pressure signals acquired by the bone conduction sensor 180M to realize heart rate detection functionality.
[0142] Buttons 190 include a power button, volume buttons, etc. Buttons 190 can be mechanical buttons or touch-sensitive buttons. Electronic device 100 can receive button input and generate key signal inputs related to user settings and function control of electronic device 100.
[0143] Motor 191 can generate vibration alerts. Motor 191 can be used for incoming call vibration alerts or for touch vibration feedback. For example, different vibration feedback effects can correspond to touch operations performed on different applications (such as taking photos, playing audio, etc.). Motor 191 can also correspond to different vibration feedback effects for touch operations performed on different areas of the display screen 194. Different application scenarios (such as time reminders, receiving messages, alarm clocks, games, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect can also be customized.
[0144] Indicator 192 can be an indicator light, used to indicate charging status, power changes, or to indicate messages, missed calls, notifications, etc.
[0145] The SIM card interface 195 is used to connect a SIM card. The SIM card can be inserted into or removed from the SIM card interface 195 to make contact with and separate from the electronic device 100. The electronic device 100 can support one or N SIM card interfaces, where N is a positive integer greater than 1. The SIM card interface 195 can support NanoSIM cards, MicroSIM cards, SIM cards, etc. Multiple cards can be inserted into the same SIM card interface 195 simultaneously. The multiple cards can be of the same or different types. The SIM card interface 195 is also compatible with different types of SIM cards. The SIM card interface 195 is also compatible with external memory cards. The electronic device 100 interacts with the network through the SIM card to realize functions such as calls and data communication. In some embodiments, the electronic device 100 uses an eSIM, i.e., an embedded SIM card. The eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100.
[0146] Now combined Figures 2-12, Figure 13a and Figure 13b The method for adjusting shooting parameters provided in the embodiments of this application will be described.
[0147] Figure 2 The diagram illustrates an application scenario of the parameter adjustment method described in this application. Figure 2 As shown, the above application scenario includes user 200 and electronic device 100. User 200 can adjust shooting parameters on the small screen on the back of electronic device 100 and can take selfies using the rear camera.
[0148] like Figure 3 The diagram shown is a flowchart of one embodiment of the shooting parameter adjustment method provided in this application, including:
[0149] Step 301: Configure the parameter adjustment gestures on the main screen.
[0150] Specifically, users can open the camera application of electronic device 100 and access its settings menu to configure parameter adjustment gestures on the small screen. Since the small screen is typically small, it can only support a limited number of parameter adjustment gestures, making it impossible to assign a specific gesture to each shooting parameter. Furthermore, if each shooting parameter were assigned a gesture, users would experience memory bias due to the large number of gestures, making it difficult to match the gestures with the shooting parameters, thus hindering smooth operation. Therefore, in this embodiment, preferably, two parameter adjustment gestures can be set, for example, one is a vertical swipe gesture, and the other is a left-right swipe gesture. It is understood that three or more parameter adjustment gestures can also be set; this embodiment does not impose a special limitation on the number of parameter adjustment gestures.
[0151] Since the number of parameter adjustment gestures is usually less than the total number of shooting parameters, meaning that only some shooting parameters can usually be adjusted at a time, the parameter adjustment gestures can be pre-set to determine the shooting parameters controlled by each gesture. For example, the camera application settings interface can have a "Rear Selfie" menu bar, where users can select whether to enable parameter adjustment gestures and the shooting parameters controlled by each gesture.
[0152] Now combined Figure 4 and Figure 5 The process of setting the gestures for adjusting the above parameters is explained. For example... Figure 4As shown, interface 400 is the settings interface of the camera application. Interface 400 may include a rear selfie menu bar 410, which can be used to enable parameter adjustment gestures and select shooting parameters controlled by the parameter adjustment gestures. These shooting parameters may include ISO aperture, shutter speed, exposure compensation, filter intensity, white balance, beauty mode, zoom, and sharpness. In practice, the user can click on the rear selfie menu bar 410 to open a shooting parameter selection box 411. This shooting parameter selection box 411 may include options such as off, ISO aperture, shutter speed, exposure compensation, filter intensity, white balance, beauty mode, zoom, and sharpness, used to enable or disable the aforementioned parameter adjustment gestures and select shooting parameters. For example, users can select the "off" option to turn off the above parameter adjustment gestures. Users can also select any one of the above shooting parameters such as ISO aperture, shutter speed, exposure compensation, filter intensity, white balance, beauty mode, zoom, and sharpness to turn on the above parameter adjustment gestures and use the parameter adjustment gestures to control the selected shooting parameters.
[0153] like Figure 5 As shown, interface 500 is the settings interface of the camera application. Interface 500 may include a rear selfie menu bar 510, which can be used to enable parameter adjustment gestures and select the shooting parameters controlled by the parameter adjustment gestures. Parameter adjustment gestures may include up-and-down swipe gestures and left-and-right swipe gestures. These gestures can control corresponding shooting parameters. It is understood that these gestures can control the same shooting parameters or different shooting parameters. Next, we will explain using the example of using up-and-down and left-and-right swipe gestures to control different shooting parameters. Left-and-right swipe gestures can be used to adjust hardware shooting parameters, which can be parameters controlling physical hardware such as the CMOS sensor, such as ISO aperture, shutter speed, exposure compensation, and white balance. Up-and-down swipe gestures can be used to adjust software shooting parameters, which can be parameters used for image processing during algorithm-based image generation, such as filter intensity, beautification, zoom, and sharpening. It is understood that the above correspondence between left-right and up-down swipe gestures and shooting parameters is merely illustrative. This correspondence can be interchanged; for example, left-right swipe gestures can be used to adjust software shooting parameters, while up-down swipe gestures can be used to adjust hardware shooting parameters. Figure 5The rear selfie menu bar 510 may include a vertical swipe gesture menu 511 and a horizontal swipe gesture menu 512. Users can tap the vertical swipe gesture menu 511 to access a first shooting parameter selection box 5111, which can be used to adjust software shooting parameters. This first shooting parameter selection box 5111 may include options such as off, filter intensity, beauty mode, zoom, and sharpening. Users can tap the horizontal swipe gesture menu 512 to access a second shooting parameter selection box 5121, which can be used to adjust hardware shooting parameters. This second shooting parameter selection box 5121 may include options such as off, ISO aperture, shutter speed, exposure compensation, and white balance.
[0154] Step 302: Use the rear camera to acquire an image.
[0155] Specifically, after the user sets the above parameters and adjusts the gestures, the electronic device 100 can use its rear camera to capture images, for example, for taking a selfie. In response to the user's operation, the electronic device 100 can use its rear camera to acquire images, for example, it can capture the user's facial image.
[0156] Step 303: Detect the user's touch operation on the small screen and perform gesture recognition on the touch operation.
[0157] Specifically, after the rear camera captures an image, a preview image can be displayed on a small screen. Then, the user can perform touch operations on the small screen. In response to the detected user touch operation on the small screen, the electronic device 100 acquires the user's gesture and can perform gesture recognition to determine the type of the gesture, for example, whether the gesture is a vertical swipe or a horizontal swipe.
[0158] In practice, users move their fingers on the small screen, and the 180K touch sensor on the small screen can perform gesture recognition by tracking the movement trajectory of the touch point.
[0159] Step 304: Adjust the corresponding shooting parameters by adjusting the gesture based on the recognized parameters.
[0160] Specifically, when recognizing user gestures, if the camera application only presets up and down swipe gestures, for example, ... Figure 4 In the illustrated embodiment, it can be determined whether the detected parameter adjustment gesture is a preset up-and-down swipe gesture; if the camera application presets up-and-down swipe gestures and left-and-right swipe gestures, for example, Figure 5 In the illustrated embodiment, it can be determined whether the recognized parameter adjustment gesture is a preset up-and-down swipe gesture or a preset left-and-right swipe gesture.
[0161] Furthermore, since the numerical adjustment process for shooting parameters is quite detailed, the speed of the gesture can be used to identify whether a gesture is valid. For example, if the user's gesture (touch point) moves at a speed less than a preset value, the gesture is considered valid; if the speed is greater than or equal to the preset value, the gesture is considered invalid. For vertical swipe gestures, if the gesture (touch point) moves too fast (e.g., greater than or equal to the preset value), even if the gesture is recognized as a vertical swipe, no adjustment to the shooting parameters will be triggered. If the gesture (touch point) moves too fast, the gesture can be recognized as a vertical swipe gesture used to adjust shooting parameters. For horizontal swipe gestures, since human hand operation is typically a light swipe left or right, the speed of the gesture can also be used for differentiation. If the gesture moves too fast (e.g., greater than or equal to the preset value), and the gesture originates from the edge of the screen, the gesture can be recognized as a swipe gesture to launch / switch cameras; if the gesture moves too fast, the gesture can be recognized as a horizontal swipe gesture used to adjust shooting parameters. The movement speed of a gesture (touch point) can be defined by the number of rows / columns of pixels moving in a certain direction per unit time (e.g., 1 microsecond). For example, for a vertical swipe gesture, it is the number of rows of pixels the touch point traverses in the vertical direction within 1 microsecond.
[0162] Next, once a valid parameter adjustment gesture is recognized, the value of the shooting parameter corresponding to that gesture can be adjusted. For example, the filter intensity value can be adjusted based on the distance the finger moves on the screen or the number of rows of pixels the touch point moves in the vertical direction, and a preview image displayed on the small screen can be rendered based on the adjusted filter intensity value.
[0163] In practical implementation, the adjustment process of the aforementioned shooting parameters can be presented visually. For example, a ruler is generated at a predetermined location or near the user's gesture, displaying the current shooting parameter values in large font. Then, a cursor is displayed based on the user's touch point, and the adjustment process of the shooting parameters is visually presented through the movement of the cursor on the ruler.
[0164] Now combined Figure 6 The adjustment methods for the above shooting parameters are explained. For example... Figure 6As shown, the electronic device 100 may include a small-screen display interface 600. When a user's finger slides up and down a preset distance on the small-screen display interface, and the sliding speed is less than a preset value, a ruler 610 can be displayed on the display interface 600, and a cursor 620 can be generated at the current touch point of the corresponding finger. The cursor 620 can move on the ruler 610 as the finger moves. When the scale changes, the corresponding large-font value can also change with the scale change. The scale on the ruler 610 corresponds to the intensity value of the shooting parameter (e.g., filter intensity). For example, if the current finger moves to a position where the filter intensity value is 3, then when rendering the preview image, the filter intensity value of 3 is used for rendering. At this time, if the user slides the finger down, the filter intensity value is decreased; if the user slides the finger up, the filter intensity value is increased. It can be understood that the above... Figure 6 The example shown only illustrates how to adjust shooting parameters using the up-and-down swipe gesture. The left-and-right swipe gesture can be used to adjust shooting parameters in the same way as the up-and-down swipe gesture, and will not be described again here.
[0165] It should be noted that the scale on the small screen of the ruler 610 is not fixed and can be dynamically adjusted according to the current shooting parameters and the user's touch position. For example, assuming the filter intensity value before adjustment is 3, then when the ruler 610 is displayed, the user's touch position corresponds to the scale mark 3 on the ruler 610 (e.g., ...). Figure 6 (As shown). Assuming the filter intensity value before adjustment is 7, then when the scale 610 is displayed, the position of scale 7 corresponds to the position of the vernier 620. When switching to adjust another shooting parameter (e.g., sharpness), the scale displayed on the small screen of the scale 610 will also change accordingly due to the change in the value of the shooting parameter.
[0166] In this embodiment, shooting parameters are adjusted via gesture interaction on the small screen. When taking selfies with the rear camera, shooting parameters can be adjusted through simple interaction with the small screen, eliminating the need to operate the main screen. This makes it more convenient, provides a better selfie experience, and allows access to a wider range of camera functions. The gesture interaction method is simple and convenient; the phone can be held with one hand while the other hand interacts with the small screen. The adjustment effect is previewed in real-time on the small screen, allowing for easy adjustment of shooting parameters and output of satisfactory images. Furthermore, the gesture adjustment supports multiple gestures, allowing for the adjustment of the same or different parameters, enriching the operational scenarios.
[0167] It is understandable that the above Figure 3The illustrated embodiments only modify the shooting parameters in the current shooting mode (e.g., normal shooting) and do not constitute a limitation on the embodiments of this application. In some embodiments, modifications to shooting parameters in shooting mode switching scenarios may also be included. For example, a user can switch the current normal shooting mode to a wide-angle shooting mode. In this wide-angle shooting mode, in step 303 above, the user can also perform a gesture to change the shooting mode parameters on the small screen (e.g., double-tap on the small screen). Then, in step 304, if the electronic device 100 detects the user's gesture to change the shooting mode parameters (e.g., double-tap on the small screen) on the small screen, the parameters of the current shooting mode can be adjusted. Since the current shooting mode is a wide-angle shooting mode, the parameters of the wide-angle shooting mode may include the main camera 1X and the wide-angle 0.5X. Therefore, the double-tap gesture can be used to cycle between the main camera 1X and the wide-angle 0.5X, thereby realizing the modification of the shooting mode parameters.
[0168] The above Figures 3-6 This section introduces a scenario where shooting parameters are adjusted via gestures on a small screen. The following section will then demonstrate... Figures 7-11 This section details scenarios for switching parameter settings. Since the number of parameter adjustment gestures is limited (e.g., typically two: up / down swipe and left / right swipe), the range of shooting parameters that can be adjusted via these gestures is limited. If the shooting parameters the user wants to adjust are not pre-set, they must return to the main screen to change the settings and then adjust the specific shooting parameters via gesture, or directly set the shooting parameters on the main screen; this increases the complexity of parameter adjustment. Therefore, in this embodiment, a parameter change gesture can be added. This parameter change gesture can be used to perform the parameter change function of the parameter adjustment gesture. This parameter change gesture can be a user gesture applied to a smaller screen or a gesture applied to the main screen.
[0169] Method 1: Parameter change gestures applied on the small screen.
[0170] When a user's gesture is applied to the small screen, the electronic device 100 can recognize the user's gesture. If the electronic device 100 recognizes it as a parameter change gesture, it can be used to change the currently adjustable shooting parameters. For example, a user can draw an arc exceeding a semicircle on the small screen with a gesture. When the electronic device 100 detects the user's gesture exceeding a semicircle, it can be considered a parameter change gesture. At this time, the currently adjustable shooting parameters can be changed. Assuming the currently adjustable shooting parameter is filter intensity, it can be changed to the next shooting parameter (e.g., beauty mode) in the shooting parameter list (e.g., the first shooting parameter selection box 5111).
[0171] Now combined Figure 7 To illustrate, suppose the currently adjustable shooting parameter is filter intensity. In the parameter list, the next adjustable shooting parameter is beauty mode. When the user draws an arc exceeding a semicircle on the small screen, the electronic device 100 recognizes the parameter change gesture. At this point, the currently adjustable shooting parameter is changed to beauty mode, and the name of the shooting parameter is displayed on the small screen. Understandably, the user can repeatedly perform the above parameter change gesture until they switch to the desired shooting parameter.
[0172] For example, edge gestures can also be used, allowing users to slide their fingers along the edge of a small screen, which corresponds to the top and bottom of the parameter list. In other words, as the user slides their finger along the small screen, the shooting parameters in the parameter list can switch from top to bottom, or vice versa. Specifically, switching from top to bottom corresponds to a clockwise swipe, and switching from bottom to top corresponds to a counter-clockwise swipe. That is, a clockwise swipe slides down the parameter list to change adjustable shooting parameters, and a counter-clockwise swipe slides up the parameter list to change adjustable shooting parameters.
[0173] Now combined Figure 8 To illustrate, suppose the currently adjustable shooting parameter is filter intensity. In the parameter list, the next adjustable shooting parameter is beauty mode. When the user's finger slides along the edge of the small screen, the electronic device 100 recognizes the parameter change gesture. At this point, as the user's finger slides, the currently adjustable shooting parameter is first changed to beauty mode, and the name of the shooting parameter is displayed on the small screen. Understandably, as the user's finger slides further, the above shooting parameter continuously changes until it switches to the shooting parameter the user desires.
[0174] It is understandable that the above Figure 7 and Figure 8 The gestures described are merely illustrative and do not constitute a limitation on the embodiments of this application. In some embodiments, other types of gestures can also be used to change adjustable shooting parameters. Furthermore, the above... Figure 7 and Figure 8 The illustrated embodiment only addresses a scenario where a single parameter adjustment gesture is preset. In other words, a single parameter change gesture can only change one adjustable shooting parameter at a time. However, when multiple (e.g., two) parameter adjustment gestures are preset, a single parameter change gesture can simultaneously change multiple adjustable shooting parameters.
[0175] Now combined Figure 9 and Figure 10This section explains a scenario where a single gesture for changing one parameter simultaneously changes multiple adjustable shooting parameters. Assume there are two parameter adjustment gestures: a vertical swipe gesture and a horizontal swipe gesture (e.g., ...). Figure 5 As shown in the image, the adjustable shooting parameter in the parameter list corresponding to the up-and-down swipe gesture is the filter intensity, while the adjustable shooting parameter in the parameter list corresponding to the left-and-right swipe gesture is off. When the user performs a swipe gesture as shown in the image, the adjustable shooting parameter will be off. Figure 9 The parameters shown change the gesture (e.g., drawing an arc that exceeds a semicircle) or as... Figure 10 After the parameter change gesture shown (e.g., sliding a finger along the edge of the small screen), the currently adjustable shooting parameter in the parameter list corresponding to the up and down swipe gesture is changed to beauty mode, and the adjustable shooting parameter in the parameter list corresponding to the left and right swipe gesture is changed to ISO aperture. At the same time, text prompts for beauty mode and ISO aperture are displayed on the small screen display interface.
[0176] Furthermore, in scenarios where multiple parameter adjustment gestures are preset, changing a parameter gesture at any given time can also change only one adjustable shooting parameter. For example, for the aforementioned edge gesture (e.g., sliding a finger along the edge of the small screen), the edge gesture can be divided into left and right sides. That is, when the user's finger slides along the left half of the small screen's edge, the shooting parameter corresponding to one parameter adjustment gesture can be changed; when the user's finger slides along the right half of the small screen's edge, the shooting parameter corresponding to another parameter adjustment gesture can be changed.
[0177] Furthermore, a current parameter adjustment gesture can be locked, and the adjustable shooting parameters corresponding to that locked gesture can be changed. For example, when a user adjusts a parameter gesture, a ruler appears on the small screen display (e.g., ...). Figure 6 After clicking the ruler (610) in the middle, you can press and hold the ruler to fix it. In other words, at this time, you can lock the current parameter adjustment gesture to the parameter adjustment gesture that needs to be adjusted.
[0178] Now combined Figure 11 The scenarios for adjusting the above-mentioned lock parameters using gestures will be explained. For example... Figure 11 As shown, after a user brings up the up-down ruler using a finger gesture, they can long-press to fix the ruler on the small screen display. At this point, the current up-down swipe gesture is locked as the parameter adjustment gesture to be changed; the shooting parameter corresponding to the up-down swipe gesture is beauty mode, and the shooting parameter corresponding to the left-right swipe gesture is white balance. Then, the user can use the parameter change gesture to modify only the shooting parameter corresponding to the up-down swipe gesture (e.g., beauty mode), thus obtaining the modified shooting parameter (e.g., zoom), without changing the shooting parameter corresponding to the left-right swipe gesture (e.g., white balance).
[0179] Method 2: Parameter change gestures applied to the main screen.
[0180] In practice, whether it is a candybar phone or a foldable phone, the back of the phone (i.e., the main screen) is easily operated when taking a selfie. For example, the shooting parameters can be changed by tapping the back of the phone.
[0181] For scenarios where only one parameter adjustment gesture is set, simply change the shooting parameter adjusted by the gesture to the next option in the parameter list after detecting the parameter change gesture. For example, use a single-click gesture to switch the parameter list sequentially, or use a double-click gesture to switch the parameter list in reverse order.
[0182] For scenarios involving multiple parameter adjustment gestures, the shooting parameters for multiple gestures can be changed simultaneously. For example, tapping the back of the phone (e.g., the home screen) can change the shooting parameters for two different gestures at the same time, or it can change the shooting parameters for only one gesture. In practice, you can first double-tap the back of the phone to lock one of the parameter adjustment gestures. A horizontal and vertical ruler will be displayed on a small screen to indicate that the gesture is locked, along with text indicating that the parameter adjustment gesture in that direction is locked. Then, you can click to change the type of parameter adjusted by that gesture.
[0183] Optionally, for scenarios involving multiple parameter adjustment gestures, Method 1 and Method 2 can be combined to change the shooting parameters. The user can select and lock the parameter adjustment gesture to be changed by clicking or double-clicking the back of the electronic device 100 (e.g., the home screen), and then adjust the shooting parameters of the locked gesture using the parameter change gesture. For example, taking a mobile phone as an example, the user can double-click the back of the phone to enter selection mode, displaying rulers for left-right and up-down swipe gestures on a small screen. The user can select the parameter adjustment gesture to change by selecting the ruler. Next, the user can select the ruler on the small screen and lock it; or switch between left-right and up-down swipe gestures by clicking the back of the phone, and then select the parameter adjustment gesture to change by double-clicking the back of the phone to select the ruler; for example, after selecting the up-down swipe gesture, the ruler corresponding to the up-down swipe gesture is highlighted on the small screen. Finally, the user can change the shooting parameters of the currently locked parameter adjustment gesture (e.g., the up-down swipe gesture) using the parameter change gesture.
[0184] In this embodiment, shooting parameters adjustable via gestures are switched using simple user gestures. When preset shooting parameters cannot be adjusted using the current parameter adjustment gestures, the shooting parameters can be switched using preset switching gestures. This increases the number of adjustable shooting parameters without needing to switch to the main screen for resetting, thereby improving the user experience.
[0185] The above Figures 7-11 The scenario of switching parameter settings has been introduced. Next, the following text will... Figure 12 , Figure 13a and Figure 13b This section details the scenarios for canceling or locking parameter adjustments. Canceling parameter adjustments is suitable when the user is dissatisfied with the current parameter settings; in this case, the user can cancel the adjustment for the current shooting parameters. Locking parameters is suitable when the user is satisfied with the current parameter adjustments; in this case, the user can lock the current shooting parameters and use them for shooting.
[0186] like Figure 12 The diagram shown is a flowchart of another embodiment of the shooting parameter adjustment method provided in this application, including:
[0187] Step 1201: After detecting a parameter adjustment gesture, monitor the stop gesture in real time.
[0188] Specifically, when the electronic device 100 detects a user's parameter adjustment gesture (e.g., a vertical swipe or a horizontal swipe), it can monitor a stop gesture in real time. This stop gesture can be used to display a cancel icon and a lock icon. The cancel icon can be used to cancel the adjustment of the shooting parameters for this session, and the lock icon can be used to lock the adjustment of the shooting parameters for this session.
[0189] Step 1202: In response to the detected user's stop gesture, display a cancel icon and a lock icon on the small screen.
[0190] Step 1203: In response to the user's first operation on the cancel icon, terminate the adjustment of shooting parameters, or in response to the user's second operation on the lock icon, lock the value of the adjusted shooting parameters for this time.
[0191] Specifically, during the process of adjusting shooting parameters, users may sometimes want to cancel the adjustment. For example, if the image preview effect after repeatedly adjusting the shooting parameters is consistently worse than before the adjustment, the user may want to restore the previous shooting parameter values; or, the user may think that the current shooting parameter values are very suitable and want to lock those parameter values to prevent accidental adjustments. In this case, the user can provide a stop gesture, which could be, for example, a long press on the screen for a preset time, such as 3 seconds.
[0192] During shooting parameter adjustment, users can long-press the screen to display cancel and lock icons on the smaller screen. Users can then swipe to the cancel or lock icon to cancel the parameter adjustment or lock the current value. In practice, due to the small display area, the cancel and lock icons can be positioned on either side of the ruler to avoid accidental touches.
[0193] Now combined Figure 13a and Figure 13b An example is provided. Figure 13a and Figure 13b As shown, users can perform a stop gesture (e.g., long press) on the small screen display interface 1300, thereby bringing up the cancel and lock icons. At this time, the display interface 1300 can display the cancel icon 1301 and the lock icon 1302. The cancel icon 1301 and the lock icon 1302 are located on the left and right sides of the ruler 1303, respectively. Then, the user can... Figure 13a In the displayed interface 1300, sliding a finger to the lock icon 1302 locks the current shooting parameter (e.g., white balance) value to 3; or the user can... Figure 13b In the display interface 1300 shown, sliding your finger to the cancel icon 1301 cancels the adjustment of the shooting parameters, that is, it restores the shooting parameters to their original values.
[0194] It is understandable that the above Figure 13a and Figure 13b The above description of the up-and-down swipe gesture is merely illustrative and does not constitute a limitation on the embodiments of this application. When the above parameter adjustment gesture is a left-and-right swipe gesture, the cancel icon and lock icon can be located on the top and bottom sides of the ruler, respectively. In this case, the ruler is placed horizontally. Then, the user can slide their finger up or down to the cancel icon or lock icon to perform the corresponding operation. Specific operations can be found in the above description. Figure 13a and Figure 13b The embodiments shown are not described in detail here.
[0195] Figure 14 This is a schematic diagram of the structure of one embodiment of the parameter adjustment device of this application, as shown. Figure 14 As shown, the aforementioned shooting parameter adjustment device 1400 is applied to an electronic device, which includes a first screen and a second screen, located on opposite sides of the electronic device. The device may include a recognition module 1410 and an adjustment module 1420.
[0196] The recognition module 1410 is used to recognize the first gesture in response to a detected first gesture of the user on the first screen;
[0197] The adjustment module 1420 is used to adjust the value of the shooting parameters of the parameter adjustment gesture that matches the first gesture if the first gesture is detected to match the preset parameter adjustment gesture; wherein the preset parameter adjustment gesture is preset by the user on the second screen.
[0198] In one possible implementation, the preset parameter adjustment gestures include up-and-down swiping gestures and / or left-and-right swiping gestures.
[0199] In one possible implementation, the identification module 1410 is further used for
[0200] The validity of the first gesture is identified; wherein, the validity of the first gesture is determined by the movement speed of the first gesture.
[0201] If the first gesture is a valid gesture, then the first gesture is recognized.
[0202] In one possible implementation, the above-mentioned shooting parameter adjustment device 1400 further includes:
[0203] The display module 1430 is used to display a ruler and a cursor on the display interface of the first screen. The cursor corresponds to the touch point of the first gesture on the first screen, and the value on the ruler corresponding to the cursor is used to represent the value of the shooting parameters.
[0204] In one possible implementation, the above-mentioned shooting parameter adjustment device 1400 further includes:
[0205] The first switching module 1440 is used to respond to the detected second gesture of the user on the first screen, and to recognize the second gesture; if the recognized second gesture matches the preset parameter change gesture, the shooting parameters corresponding to one or more parameter adjustment gestures are switched based on the second gesture.
[0206] In one possible implementation, the above-mentioned shooting parameter adjustment device 1400 further includes:
[0207] The abort module 1450 is used to display a first icon and a second icon on the display interface of the first screen in response to a detected third gesture by the user on the first screen.
[0208] In response to detected user interaction with the first icon, lock the current values of the shooting parameters; or
[0209] In response to the detected user interaction with the second icon, the adjustment of the shooting parameters is canceled.
[0210] In one possible implementation, the display interface of the first screen further includes a ruler, with the first icon and the second icon located on the left and right sides or the top and bottom sides of the ruler, respectively.
[0211] In one possible implementation, the electronic device further includes shooting modes, including a normal shooting mode and a wide-angle shooting mode. The aforementioned shooting parameter adjustment device 1400 also includes:
[0212] The second switching module 1460 is used to switch parameters corresponding to the wide-angle shooting mode based on the detected fourth gesture of the user on the first screen.
[0213] It is understood that the interface connection relationships between the modules illustrated in the embodiments of this application are merely illustrative and do not constitute a structural limitation on the electronic device 100. In other embodiments of this application, the electronic device 100 may also employ different interface connection methods or combinations of multiple interface connection methods as described in the above embodiments.
[0214] It is understood that the aforementioned electronic device 100, etc., includes hardware structures and / or software modules corresponding to the execution of each function in order to achieve the above-mentioned functions. Those skilled in the art should readily recognize that, based on the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein, the embodiments of this application can be implemented in hardware or a combination of hardware and computer software. Whether a function is executed by hardware or by computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the embodiments of this application.
[0215] This application embodiment can divide the above-described electronic device 100 and the like into functional modules according to the above method example. For example, each function can be divided into its own functional module, or two or more functions can be integrated into one processing module. The integrated module can be implemented in hardware or as a software functional module. It should be noted that the module division in this application embodiment is illustrative and only represents one logical functional division. In actual implementation, there may be other division methods.
[0216] Through the above description of the embodiments, those skilled in the art will clearly understand that, for the sake of convenience and brevity, only the division of the above functional modules is used as an example. In practical applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. The specific working process of the system, device, and unit described above can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.
[0217] In the embodiments of this application, the functional units can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0218] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solutions of the embodiments of this application, essentially, or the parts that contribute to the prior art, or all or part of the technical solutions, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) or processor to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as flash memory, portable hard disk, read-only memory, random access memory, magnetic disk, or optical disk.
[0219] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any changes or substitutions within the technical scope disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. A method for adjusting shooting parameters, applied to electronic devices, characterized in that, The electronic device includes a first screen and a second screen, the first screen and the second screen being located on opposite sides of the electronic device, and the method includes: In response to a detected first gesture by the user on the first screen, the first gesture is identified; If the first gesture is detected to match a preset parameter adjustment gesture, then during the movement of the first gesture, the value of the shooting parameter of the parameter adjustment gesture that matches the first gesture is adjusted based on the first gesture; wherein, the preset parameter adjustment gesture is preset by the user on the second screen.
2. The method according to claim 1, characterized in that, The preset parameter adjustment gestures include up-and-down swiping gestures and / or left-and-right swiping gestures.
3. The method according to claim 1 or 2, characterized in that, The process of recognizing the first gesture includes: The validity of the first gesture is identified; wherein, the validity of the first gesture is determined by the movement speed of the first gesture. If the first gesture is a valid gesture, then the first gesture is recognized.
4. The method according to any one of claims 1-3, characterized in that, If the method detects that the first gesture matches a preset parameter adjustment gesture, the method further includes: The first screen displays a ruler and a cursor, wherein the cursor corresponds to the touch point of the first gesture on the first screen, and the value on the ruler corresponding to the cursor is used to represent the value of the shooting parameters.
5. The method according to any one of claims 1-4, characterized in that, The method further includes: In response to a detected second gesture by the user on the first screen, the second gesture is identified; If the second gesture is detected to match a preset parameter change gesture, then the shooting parameters corresponding to one or more of the parameter adjustment gestures are switched based on the second gesture.
6. The method according to any one of claims 1-5, characterized in that, The method further includes: In response to a detected third gesture by the user on the first screen, a first icon and a second icon are displayed on the display interface of the first screen; In response to a detected user interaction with the first icon, the current value of the shooting parameters is locked; or In response to the detected user action on the second icon, the adjustment of the shooting parameter values is cancelled.
7. The method according to claim 6, characterized in that, The display interface of the first screen also includes a ruler, with the first icon and the second icon located on the left and right sides or the top and bottom sides of the ruler, respectively.
8. The method according to any one of claims 1-7, characterized in that, The electronic device further includes shooting modes, including a normal shooting mode and a wide-angle shooting mode, and the method further includes: In response to a detected fourth gesture by the user on the first screen, the parameters corresponding to the wide-angle shooting mode are switched based on the fourth gesture.
9. An electronic device, characterized in that, Includes: a memory for storing computer program code, the computer program code including instructions, which, when the electronic device reads the instructions from the memory, cause the electronic device to perform the method as described in any one of claims 1-8.
10. A computer-readable storage medium, characterized in that, Includes computer instructions that, when executed on the electronic device, cause the electronic device to perform the method as described in any one of claims 1-8.
Citation Information
Patent Citations
Shooting control method and system
CN106933620A