Recommendation method of video recording mode, electronic equipment and readable storage medium
Patent Information
- Application Number
- CN202380072925.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2022-10-26
- Filing Date
- 2023-08-17
- Publication Date
- 2025-05-30
AI Technical Summary
Existing electronic devices have a relatively single recording mode in the video recording function. Users need to independently select the beautification function to obtain the desired beautification effect, resulting in poor user experience.
Provides a video recording mode recommendation method that uses AI controls to detect recording scenes and recommend corresponding recording modes. Users can turn on or off the recommended recording modes through icon operations to improve the intelligence and user experience of the recording mode.
By automatically detecting scenes and recommending recording modes, users do not need to choose independently, which improves the adaptability and user experience of recording modes and meets diverse scene recording needs.
Smart Images

Figure CN120077670A_ABST
Abstract
Description
Method for recommending video recording mode, electronic device and readable storage medium
[0001] This application claims priority to the Chinese patent application filed with the State Intellectual Property Office on October 26, 2022, with application number 202211328543.7 and application name “A method for recommending a video recording mode, an electronic device and a readable storage medium”, the entire contents of which are incorporated by reference into this application. Technical Field
[0002] The present application relates to the field of camera application technology, and in particular to a method for recommending a video recording mode, an electronic device, and a readable storage medium. Background Art
[0003] Currently, many electronic devices equipped with cameras provide photo and video recording functions. In order to meet the diverse needs of users, electronic devices provide multiple photo modes, such as beauty, night scene, large aperture, etc. Users can independently select one of the photo modes provided by the electronic device.
[0004] However, the video recording modes provided by electronic devices are relatively simple, usually only providing simple beauty functions, which also requires users to independently select the beauty function to obtain the beauty effect they want, resulting in a poor user experience.
[0005] Summary of the Invention
[0006] The present application provides a method for recommending a recording mode, an electronic device, and a readable storage medium, which can recommend a recording mode corresponding to the current scene to a user based on the recording scene in which the electronic device is located, thereby improving the user experience.
[0007] To achieve the above objectives, this application adopts the following technical solutions:
[0008] In a first aspect, the present application provides a method for recommending a video recording mode, the method comprising:
[0009] The electronic device displays a first preview interface of the video recording function, the first preview interface including the AI control and a preview image captured by the camera, and the AI control is turned on;
[0010] When it is detected at the first moment that the recording scene of the electronic device is the first scene, the electronic device displays an icon of the first recording mode corresponding to the first scene on the first preview interface;
[0011] When it is detected at a second moment that the recording scene of the electronic device is not the first scene, the electronic device cancels display of the icon of the first recording mode on the first preview interface, and the second moment is later than the first moment;
[0012] When it is detected at the third moment that the recording scene of the electronic device is the second scene, the electronic device displays an icon of the second recording mode corresponding to the second scene on the first preview interface, and the third moment is later than the second moment;
[0013] The electronic device receives a first operation input by a user on an icon of a second recording mode;
[0014] In response to the first operation, the electronic device displays a second preview interface of the second recording mode.
[0015] In the present application, the electronic device can display an icon of the recording mode corresponding to the current recording scene on the first preview interface of the recording function according to the currently detected recording scene to recommend the recording mode corresponding to the current recording scene, thereby avoiding the problem that the user cannot select a suitable recording mode when independently selecting the recording mode; it can also cancel the display of the recording mode icon when it is detected that the current recording scene corresponding to the recommended recording mode is not satisfied during the display of the recording mode icon, thereby improving the intelligence level of the recording mode recommendation and improving the user experience; the electronic device can also provide multiple recording modes corresponding to multiple recording scenes to meet the user's diverse scene recording needs; the electronic device can display a second preview interface of the second recording mode in response to a first operation input on the second recording mode icon, that is, the operation on the icon can trigger the electronic device to adopt the currently recommended recording mode.
[0016] As an implementation of the first aspect of the present application, the first recording mode is a first sub-mode. When the electronic device displays the first recording mode corresponding to the first scene on the first preview interface, the recommendation method further includes:
[0017] When the icon of the first recording mode indicates an on state, the electronic device receives a second operation, and the second operation acts on the icon of the first recording mode indicating an on state;
[0018] In response to the second operation, the electronic device switches the icon representing the on state of the first video recording mode on the first preview interface to an icon representing the off state;
[0019] When the icon of the first recording mode indicates an off state, the electronic device receives a third operation, and the third operation acts on the icon of the first recording mode indicating an off state;
[0020] In response to the third operation, the electronic device switches the icon representing the off state of the first video recording mode on the first preview interface to an icon representing the on state.
[0021] In this application, the icon for the recording mode can have an on state and an off state, and the user can trigger the icon to switch states by operating on the icon; the icon in the off state indicates that the electronic device does not adopt the currently recommended recording mode to obtain the preview screen, and the user can trigger the electronic device to adopt the currently recommended recording mode to obtain the preview screen by clicking the icon; the icon in the on state indicates that the electronic device is adopting the currently recommended recording mode to obtain the preview screen; in this way, the user can conveniently turn on or off the currently recommended recording mode.
[0022] As another implementation of the first aspect of the present application, when the electronic device displays the icon of the first sub-mode on the first preview interface, the initial state of the icon of the first sub-mode is the on state.
[0023] In this application, when an electronic device recommends an icon for a certain recording mode, the icon can be set to be enabled by default. That is, when the electronic device displays the icon for the recording mode, the currently recommended recording mode is used by default to obtain a preview image, thereby avoiding the need for the user to click the icon to trigger the electronic device to use the currently recommended recording mode to obtain a preview image or to perform subsequent recording. Generally, modes that improve image quality can improve recording quality, and such recording modes can be set to be initially enabled.
[0024] As another implementation of the first aspect of the present application, the second recording mode is a second sub-mode. During the process in which the electronic device displays an icon of the second recording mode corresponding to the second scene on the first preview interface, the recommendation method further includes:
[0025] When the icon of the second recording mode indicates an off state, the electronic device receives a third operation, and the third operation acts on the icon of the second recording mode indicating an off state;
[0026] In response to the third operation, the electronic device displays a second preview interface of the second recording mode, where the second preview interface includes a first control for indicating closing or canceling the recommendation of the second recording mode;
[0027] When the electronic device displays the second preview interface of the second recording mode, the electronic device receives a fourth operation, and the fourth operation acts on the first control;
[0028] In response to the fourth operation, the electronic device displays a first preview interface of the video recording function.
[0029] In this application, there are also some recording modes that are related to recording shooting habits or special shooting needs; this type of recording mode is usually related to special shooting needs, so this type of recording mode can set a separate preview interface that is different from the first preview interface of the recording function to indicate that the electronic device is using the current type of recording mode to generate a preview screen, which can remind the user that this type of mode is currently being used for preview.
[0030] As another implementation of the first aspect of the present application, when the first control is used to indicate turning off the second recording mode, the icon of the second recording mode in the first preview interface displayed by the electronic device in response to the fourth operation indicates the turned-off state;
[0031] The first control is used to indicate that when the recommendation of the second recording mode is canceled, the first preview interface displayed by the electronic device in response to the fourth operation does not include an icon for the second recording mode.
[0032] In an embodiment of the present application, the function of the first control can be set to turn off the recording mode according to a specific application scenario or the characteristics of a user group, that is, after the electronic device detects that the user clicks the first control, the recording mode can be turned off, but the icon of the recording mode is still displayed so that the user can use the recording mode to record again; the function of the first control can also be set to cancel the recommended recording mode according to a specific application scenario or the characteristics of a user group, that is, after the electronic device detects that the user clicks the first control, the recommendation of the recording mode can be canceled and the icon of the recording mode is no longer displayed; personalized selection can be made during specific implementation.
[0033] As another implementation of the first aspect of the present application, when the electronic device displays the icon of the second sub-mode on the first preview interface, the initial state of the icon of the second sub-mode is a closed state.
[0034] In this application, as the second type of sub-mode related to video shooting habits or special shooting needs, users usually adopt this mode only when they are sure that there is a need. Therefore, the initial state can be set to the off state, which improves the user experience.
[0035] As another implementation of the first aspect of the present application, the second video recording mode supports recording at the first focal length;
[0036] When it is detected at the third moment that the recording scene of the electronic device is the second scene, the electronic device displays an icon of the second recording mode corresponding to the second scene on the first preview interface, including:
[0037] When it is detected at the third moment that the recording scene of the electronic device is the second scene and the focal length of the camera of the electronic device is the first focal length, the electronic device displays an icon of the second recording mode corresponding to the second scene on the first preview interface.
[0038] In this application, before an electronic device recommends a recording mode, the focal length of the camera of the electronic device needs to be a multiple of the focal length supported by the recording mode, so as to avoid the situation where the recording mode is recommended when the focal length before recommending the recording mode does not meet the focal length supported by the recording mode, or the recording mode cannot be used or the focal length previously selected by the user cannot be used.
[0039] As another implementation of the first aspect of the present application, the second video recording mode does not support recording of the second focal length;
[0040] During the process in which the electronic device displays the icon of the second recording mode corresponding to the second scene on the first preview interface, the recommendation method further includes:
[0041] The electronic device receives a fifth operation, where the fifth operation is used to switch the focal length of the camera from the first focal length to the second focal length;
[0042] In response to the fifth operation, the electronic device cancels display of the icon of the second video recording mode on the first preview interface, and switches the focal length of the camera from the first focal length to the second focal length.
[0043] In this application, if the user selects a focal length multiplier that is not supported in the currently recommended recording mode through operations on the preview interface, it means that the user has a strong desire to select a focal length multiplier that is not supported in the current mode for recording. In this case, in order to improve the user experience, the electronic device can cancel the recommendation of the recording mode and instead use the focal length multiplier selected by the user to generate the preview screen and recording.
[0044] As another implementation of the first aspect of the present application, the second video recording mode supports recording at a third focal length;
[0045] During the process in which the electronic device displays the icon of the second recording mode corresponding to the second scene on the first preview interface, the recommendation method further includes:
[0046] The electronic device receives a sixth operation, where the sixth operation is used to switch the focal length of the camera from the first focal length to a third focal length;
[0047] In response to the sixth operation, the electronic device continues to display the icon of the second video recording mode on the first preview interface, and switches the focal length of the camera from the first focal length to the third focal length.
[0048] In this application, when the user modifies the focal length multiplier of the camera by operating on the electronic device, it indicates that the user has a greater willingness to record video with the modified focal length multiplier. Therefore, the focal length in the interface can be set to be consistent with the focal length before starting the HDR mode to improve the user experience.
[0049] As another implementation of the first aspect of the present application, after the electronic device switches the focal length of the camera from the first focal length to the third focal length on the first preview interface, the recommendation method further includes:
[0050] When the icon of the second recording mode displayed on the first preview interface of the electronic device is in an on state, the electronic device receives a seventh operation, the seventh operation acts on the second control on the first preview interface, and the second control is used to start recording a video;
[0051] In response to the seventh operation, the electronic device starts recording video at a third focal length and a second video recording mode.
[0052] In this application, after the electronic device turns on the recommended recording mode, the user can operate on the second control for starting video recording. When the electronic device receives the operation on the second control, the focal length magnification of the camera indicates the focal length magnification that the user intends to adopt. Therefore, in response to the operation, the electronic device records the video in the turned-on recording mode and the currently modified focal length, thereby improving the user experience.
[0053] As another implementation of the first aspect of the present application, before the electronic device cancels display of the icon of the first recording mode on the first preview interface, the icon of the first recording mode is in a first state, and the first state is not an initial state of the icon of the first recording mode;
[0054] After the electronic device displays the icon of the second recording mode corresponding to the second scene on the first preview interface, the recommendation method further includes:
[0055] When it is detected at the fourth moment that the recording scene of the electronic device is not the second scene, the electronic device cancels display of the icon of the second recording mode on the first preview interface, and the fourth moment is later than the third moment;
[0056] When it is detected at the fifth moment that the recording scene of the electronic device is the first scene, and the time interval between the fifth moment and the second moment is less than the first time duration, the electronic device displays an icon of the first recording mode corresponding to the first scene on the first preview interface, the current state of the icon of the first recording mode is the first state, and the fifth moment is later than the fourth moment;
[0057] When it is detected at the fifth moment that the recording scene of the electronic device is the first scene, and the time interval between the fifth moment and the second moment is greater than or equal to the first time duration, the electronic device displays the icon of the first recording mode corresponding to the first scene on the first preview interface, and the current state of the icon of the first recording mode is the initial state of the icon of the first recording mode.
[0058] In this application, if the icon of a recording mode was not in its initial state when the electronic device last canceled the recommendation of a recording mode, then when the recording mode is recommended again, if the interval is short, the state determined based on the user's last usage habits can be used as the initial state when the same recording mode is currently recommended. This method of learning the initial state of this recommendation based on the user's historical usage habits can make the recommended state more in line with the user's personal usage habits, reduce the situation where the user switches again, and improve the user experience.
[0059] As another implementation of the first aspect of the present application, the recommendation method further includes:
[0060] During the process of displaying the icon of the second recording mode corresponding to the second scene on the first preview interface, the electronic device receives an eighth operation, and the eighth operation acts on the AI control in the enabled state;
[0061] In response to the eighth operation, the electronic device cancels display of the icon of the second recording mode corresponding to the second scene on the first preview interface.
[0062] In this application, the status of the AI control displayed on the first preview interface of the recording function can control the electronic device to recommend the corresponding recording mode based on the currently detected scene; in order to meet the needs of different users, the recommendation function of the electronic device can also be turned off through the AI control, avoiding the situation where the recommended icon is displayed on the first preview interface of the recording function, so that the personalized needs of users can be met.
[0063] As another implementation of the first aspect of the present application, before the electronic device displays the icon of the first recording mode corresponding to the first scene on the first preview interface, the recommendation method further includes:
[0064] The electronic device displays the recommendation symbol on the first preview interface, and the display process of the recommendation symbol is a gradual display process.
[0065] In this application, a recommendation symbol can be used to prompt the user that the AI function has been activated and the corresponding scene has been detected.
[0066] As another implementation of the first aspect of the present application, the process in which the electronic device displays the icon of the first recording mode corresponding to the first scene on the first preview interface is a gradual display process;
[0067] Before the electronic device displays the icon of the first recording mode corresponding to the first scene on the first preview interface or during the gradual display of the icon, the recommendation method further includes:
[0068] The electronic device cancels display of the recommendation symbol on the first preview interface, and the disappearance process of the recommendation symbol is a gradual disappearance process.
[0069] In this application, the icon of the recording mode can interact with the user to trigger the electronic device to turn on or off the currently recommended recording mode.
[0070] As another implementation of the first aspect of the present application, after the electronic device displays the second duration of the icon of the first recording mode corresponding to the first scene on the first preview interface, the recommendation method further includes:
[0071] The electronic device displays first text information on the first preview interface, wherein the display process of the first text information includes a process of gradually expanding the text, and the first text information is used to represent the meaning of the icon of the first recording mode;
[0072] After the first text message is displayed for a third period of time, the electronic device cancels the display of the first text message. The disappearance process of the first text message includes a gradual retraction of the text. There is a first bottom plate at the bottom of the first text message. The first bottom plate expands as the first text message expands and retracts as the first text message retracts.
[0073] In this application, the first text message is used to prompt the user of the specific meaning of the icon. The first text message is usually displayed floating above the preview interface, so the colors of the first text message and the preview screen below the first text message may be relatively close. In this case, it is difficult for the user to see the specific content of the first text message. Therefore, the embodiment of the present application can also display a base plate at the bottom of the first text message. The color of the base plate contrasts with the color of the first text message, making it easier for the user to see the specific content of the first text message and thus understand the specific mode of the currently recommended icon.
[0074] As another implementation of the first aspect of the present application, the electronic device does not display the recommendation symbol before the icon of the second recording mode corresponding to the second scene is displayed on the first preview interface.
[0075] In the present application, after the electronic device turns on the recording function, a recommendation symbol can be displayed when the recording mode is recommended for the first time, and the recommendation symbol will no longer be displayed when the recording mode is not recommended for the first time. This avoids displaying the recommendation symbol every time the recording mode is recommended, causing interference to the user, and delaying the display of the icon of the mode that is not recommended for the first time.
[0076] As another implementation of the first aspect of the present application, after the electronic device displays an icon of the second recording mode corresponding to the second scene on the first preview interface, the recommendation method further includes:
[0077] When it is detected at the sixth moment that the recording scene of the electronic device is not the second scene, the electronic device cancels display of the icon of the second recording mode on the first preview interface, and the sixth moment is later than the third moment;
[0078] When it is detected at the seventh moment that the recording scene of the electronic device is the first scene, the electronic device displays the icon of the first recording mode corresponding to the first scene on the first preview interface. When the electronic device displays the icon of the first recording mode but this is not the first time after the recording function is turned on, the first text information of the first recording mode is no longer displayed. The seventh moment is later than the sixth moment.
[0079] In this application, when the electronic device turns on the recording function, the text information and bottom panel of the mode can be displayed when a recording mode is recommended for the first time. When a recording mode is recommended for a non-first time after the recording function is turned on, the user has already understood the meaning of the recording mode, so there is no need to display the text information and bottom panel again, thereby avoiding blocking the preview screen displayed at the bottom when the text information and bottom panel are displayed again, causing interference to the user.
[0080] As another implementation of the first aspect of the present application, the initial state of the first recording mode icon is off. If the electronic device recommends displaying the first recording mode icon for the first time, after the electronic device displays the first recording mode icon corresponding to the first scene on the first preview interface for a fourth time period, the recommendation method further includes:
[0081] The electronic device displays a prompt message, where the prompt message is used to prompt the user to click the icon of the first recording mode to start the first recording mode.
[0082] In an embodiment of the present application, when an electronic device recommends a recording mode for the first time, a prompt message may be displayed after a certain period of time to prompt the user to click on the displayed icon to turn on the recording mode represented by the icon, thereby reducing the possibility that the user is unclear about how to use the recording mode.
[0083] As another implementation of the first aspect of the present application, when the recording scene of the electronic device is a first scene, the electronic device displays an icon of a first recording mode corresponding to the first scene on the first preview interface, including:
[0084] The electronic device detects that the recommended condition of the first recording mode is currently met, and then displays an icon of the first recording mode corresponding to the first scene on the first preview interface;
[0085] When the first scene is a macro scene, the recommended conditions for the first recording mode are related to the distance of the object being photographed and the ambient light intensity captured by the electronic device;
[0086] When the first scene is an HDR scene, the recommended conditions for the first recording mode are related to the ambient light intensity and overexposure ratio;
[0087] When the first scene is a night scene, the recommended conditions for the first recording mode are related to the ambient light intensity;
[0088] When the first scene is a portrait scene, the recommended condition for the first recording mode is related to the proportion of the face in the preview image captured by the camera;
[0089] When the first scene is a multi-camera recording scene, the recommended condition for the first recording mode is related to whether the preview image captured by the camera contains a preset target;
[0090] When the first scene is the protagonist scene, the recommended condition for the first recording mode is related to the number of faces in the preview image captured by the camera and the proportion of the largest face in the preview image.
[0091] In this application, parameters in the recommended conditions corresponding to different scenes are set according to the application environment of different scenes. For example, the macro scene is suitable for close-range shooting, so the distance between the photographed object and the camera of the electronic device can be used as a parameter in the recommended conditions; the HDR scene is suitable for overexposure conditions, so the anti-interference gain, ambient light intensity and overexposure ratio can be used as parameters in the recommended conditions; the night scene is suitable for darker shooting environments, so the ambient light intensity can be used as a parameter in the recommended conditions; the portrait scene is suitable for shooting faces, so the proportion of faces in the preview picture captured by the camera in the preview picture can be used as a parameter in the recommended conditions; the multi-lens scene is suitable for shooting multiple targets, so whether the preview picture captured by the camera contains preset targets can be used as a parameter in the recommended conditions; the protagonist scene is suitable for shooting scenes with multiple people, so the number of faces in the preview picture captured by the camera and the proportion of the largest face in the preview picture can be used as parameters in the recommended conditions; of course, in actual applications, in order to distinguish it from the night scene mode, the limitation of ambient light intensity can also be added to the recommended conditions of the above-mentioned non-night scene mode.
[0092] The conditions for canceling the recommendation corresponding to the recommendation conditions of the recording mode can be that when the recommendation conditions of the recording mode are not met, the conditions for canceling the recommendation are met; or they can be set to conditions that are looser than the range of parameters in the recommendation conditions, so that after the recording mode is recommended, even if the recommendation conditions are not met for a short time, the recommendation of the recording mode will not be canceled.
[0093] As another implementation of the first aspect of the present application, when the recording scene of the electronic device is not the first scene, the electronic device cancels display of the icon of the first recording mode on the first preview interface, including:
[0094] When the electronic device detects that a condition for canceling the recommendation of the first recording mode is currently met, the electronic device cancels display of the icon of the first recording mode corresponding to the first scene on the first preview interface.
[0095] In a second aspect, an electronic device is provided, comprising a processor, wherein the processor is configured to execute a computer program stored in a memory to implement any one of the methods of the first aspect of the present application.
[0096] In a third aspect, a chip system is provided, comprising a processor coupled to a memory, wherein the processor executes a computer program stored in the memory to implement any method of the first aspect of the present application.
[0097] In a fourth aspect, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by one or more processors, it implements any method of the first aspect of the present application.
[0098] In a fifth aspect, the present application provides a computer program product, which, when executed on a device, enables the device to execute any one of the methods in the first aspect of the present application.
[0099] It can be understood that the beneficial effects of the second to fifth aspects mentioned above can be found in the relevant description of the first aspect mentioned above, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0100] FIG1 is a schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application;
[0101] FIG2 is a schematic diagram of a main interface of a camera application of an electronic device provided in an embodiment of the present application;
[0102] FIG3 is a schematic diagram of different states of an AI control on a preview interface of a video recording function of an electronic device provided by an embodiment of the present application;
[0103] FIG4 is a flow chart of a method for recommending a video recording mode according to an embodiment of the present application;
[0104] FIG5 is a schematic diagram of interface changes when an electronic device according to an embodiment of the present application recommends a directly enterable recording mode;
[0105] FIG6 is a schematic diagram showing the time relationship when an electronic device according to an embodiment of the present application recommends a video recording mode that can be directly entered;
[0106] FIG7 is a schematic diagram of an interface showing text prompt information when an electronic device recommends an HDR mode icon for the first time according to an embodiment of the present application;
[0107] FIG8 is a schematic diagram of a preview interface of a video recording mode that cannot be directly accessed according to an embodiment of the present application;
[0108] FIG9 is a schematic diagram of interface changes corresponding to a focus adjustment operation when the electronic device recommends a video recording mode according to an embodiment of the present application;
[0109] FIG10 is a schematic diagram showing interface changes when an electronic device according to an embodiment of the present application recommends a directly enterable recording mode;
[0110] FIG11 is a schematic diagram of an interface of an icon of a directly enterable recording mode in different states according to an embodiment of the present application;
[0111] FIG12 is a schematic diagram showing interface changes when an electronic device switches to a video recording mode according to an embodiment of the present application;
[0112] FIG13 is a schematic diagram showing the time relationship when switching recording modes at different times during the process of recommending a recording mode according to an embodiment of the present application;
[0113] FIG14 is a schematic diagram showing the time relationship of recommending another recording mode after canceling the recommendation of one recording mode according to an embodiment of the present application. DETAILED DESCRIPTION
[0114] In the following description, specific details such as specific system structures and technologies are provided for illustration rather than limitation to facilitate a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details.
[0115] It should be understood that when used in the present specification and the appended claims, the term "comprising" indicates the presence of described features, integers, steps, operations, elements and / or components, but does not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or collections thereof.
[0116] It should also be understood that in the embodiments of this application, "one or more" refers to one, two, or more than one; "and / or" describes the relationship between associated objects, indicating that three relationships can exist. For example, "A and / or B" can mean: A exists alone, A and B exist simultaneously, and B exists alone, where A and B can be singular or plural. The character " / " generally indicates that the associated objects are in an "or" relationship.
[0117] In addition, in the description of this application specification and the appended claims, the terms "first", "second", "third", "fourth", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance.
[0118] References to "one embodiment" or "some embodiments" in this specification mean that a particular feature, structure, or characteristic described in conjunction with that embodiment is included in one or more embodiments of the present application. Thus, phrases such as "in one embodiment," "in some embodiments," "in other embodiments," and "in other embodiments" appearing in various places in this specification do not necessarily refer to the same embodiment, but rather mean "one or more but not all embodiments," unless otherwise specifically emphasized. The terms "including," "comprising," "having," and variations thereof all mean "including but not limited to," unless otherwise specifically emphasized.
[0119] The video recording mode recommendation method provided in the embodiments of the present application is applicable to electronic devices equipped with cameras, such as large-screen devices, tablet computers, mobile phones, laptop computers, ultra-mobile personal computers (UMPCs), netbooks, and personal digital assistants (PDAs). The embodiments of the present application do not limit the specific type of electronic device.
[0120] Figure 1 shows a schematic diagram of the structure of an electronic device. Electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, antenna 1, antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, a camera 193, a display 194, and a subscriber identification module (SIM) card interface 195. Sensor module 180 may include a pressure sensor 180A, a touch sensor 180K, and the like.
[0121] It should be understood that the structures illustrated in the embodiments of the present application do not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown, or may combine or separate certain components, or arrange the components differently. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
[0122] The processor 110 may include one or more processing units. For example, the processor 110 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU). The different processing units may be independent devices or integrated into one or more processors.
[0123] The controller may be the nerve center and command center of the electronic device 100. The controller may generate an operation control signal according to the instruction operation code and the timing signal to complete the control of fetching and executing instructions.
[0124] Processor 110 may also include a memory for storing instructions and data. In some embodiments, the memory in processor 110 is a cache memory. This memory can store instructions or data that have just been used or are being recycled by processor 110. If processor 110 needs to use the same instruction or data again, it can directly retrieve it from the memory. This avoids duplicate accesses, reduces processor 110 latency, and thus improves system efficiency.
[0125] The USB interface 130 is an interface that complies with USB standards, and may be a Mini USB interface, a Micro USB interface, a USB Type C interface, etc. The USB interface 130 may be used to connect a charger to charge the electronic device 100, or may be used to transmit data between the electronic device 100 and peripheral devices.
[0126] The external memory 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 via the external memory interface 120 to implement data storage functions. For example, files such as music and videos can be stored on the external memory card.
[0127] The internal memory 121 can be used to store computer executable program code, which includes instructions. The processor 110 executes various functional applications and data processing of the electronic device 100 by running the instructions stored in the internal memory 121. The internal memory 121 may include a program storage area and a data storage area. The program storage area may store an operating system and at least one application required for a function (such as a sound playback function, an image playback function, etc.).
[0128] In addition, the internal memory 121 may include a high-speed random access memory and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc.
[0129] The charging management module 140 is configured to receive charging input from a charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 may receive charging input from the wired charger via the USB interface 130.
[0130] The power management module 141 is used to connect 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 to provide power to the processor 110, the internal memory 121, the external memory, the display 194, the camera 193, and the wireless communication module 160.
[0131] In some other embodiments, the power management module 141 may also be provided in the processor 110. In some other embodiments, the power management module 141 and the charging management module 140 may also be provided in the same device.
[0132] The wireless communication function of the electronic device 100 can be implemented through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.
[0133] 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 a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In other embodiments, the antennas can be used in conjunction with a tuning switch.
[0134] The mobile communication module 150 can provide wireless communication solutions, including 2G / 3G / 4G / 5G, for the electronic device 100. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a low-noise amplifier (LNA), and the like. The mobile communication module 150 can receive electromagnetic waves from the antenna 1, filter and amplify the received electromagnetic waves, and transmit them to the modem processor for demodulation. The mobile communication module 150 can also amplify the signals modulated by the modem processor and convert them into electromagnetic waves for radiation via the antenna 1.
[0135] The wireless communication module 160 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc., which are applied to the electronic device 100. The wireless communication module 160 can be one or more devices that integrate at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110. The wireless communication module 160 can also receive the signal to be sent from the processor 110, frequency modulate it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.
[0136] 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 , so that electronic device 100 can communicate with the network and other devices through wireless communication technology.
[0137] The electronic device 100 can implement audio functions such as music playback and recording through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone jack 170D, and the application processor.
[0138] The audio module 170 is used to convert digital audio signals into analog audio signals for output, and is also used to convert analog audio input into digital audio signals. The audio module 170 can also be used to encode and decode audio signals. In some embodiments, the audio module 170 can be provided in the processor 110, or some functional modules of the audio module 170 can be provided in the processor 110.
[0139] The speaker 170A, also called a "speaker", is used to convert audio electrical signals into sound signals. The electronic device 100 can listen to music or listen to hands-free calls through the speaker 170A.
[0140] The receiver 170B, also called a "handset", is used to convert audio electrical signals into sound signals. When the electronic device 100 receives a call or a voice message, the user can place the receiver 170B close to the ear to hear the voice.
[0141] Microphone 170C, also known as "microphone" or "microphone", is used to convert sound signals into electrical signals. When making a call or sending a voice message, the user can speak by putting their mouth close to the microphone 170C to input the sound signal into the microphone 170C. The electronic device 100 can be provided with at least one microphone 170C. In other embodiments, the electronic device 100 can be provided with two microphones 170C, which can not only monitor voice information but also realize noise reduction function. In other embodiments, the electronic device 100 can also be provided with three, four or more microphones 170C to realize the collection of sound signals, noise reduction, identification of sound sources, and directional recording functions.
[0142] The headphone jack 170D is used to connect a wired headphone and can be the USB interface 130 or a 3.5mm open mobile terminal platform (OMTP) standard interface or a cellular telecommunications industry association of the USA (CTIA) standard interface.
[0143] The pressure sensor 180A is used to sense pressure signals and convert them into electrical signals. In some embodiments, the pressure sensor 180A can be provided on the display screen 194. There are many types of pressure sensors 180A, such as resistive pressure sensors, inductive pressure sensors, capacitive pressure sensors, etc. A capacitive pressure sensor can be a device comprising at least two parallel plates having a conductive material. When a force acts on the pressure sensor 180A, the capacitance between the electrodes changes. The electronic device 100 determines the intensity of the pressure based on the change in capacitance. When a touch operation is applied to the display screen 194, the electronic device 100 detects the intensity of the touch operation based on the pressure sensor 180A. The electronic device 100 can also calculate the position of the touch based on the detection signal of the pressure sensor 180A.
[0144] The touch sensor 180K is also called a "touch panel." The touch sensor 180K can be disposed on the display screen 194. The touch sensor 180K and the display screen 194 form a touch screen, also called a "touch screen." The touch sensor 180K is used to detect touch operations applied thereto or in the vicinity thereof. The touch sensor can transmit the detected touch operations to the application processor to determine the type of touch event. Visual output related to the touch operations can be provided via the display screen 194. In other embodiments, the touch sensor 180K can also be disposed on the surface of the electronic device 100, in a location different from that of the display screen 194.
[0145] The buttons 190 include a power button, a volume button, and the like. The buttons 190 may be mechanical buttons or touch buttons. The electronic device 100 may receive key inputs and generate key signal inputs related to user settings and function control of the electronic device 100.
[0146] Motor 191 can generate vibration prompts. Motor 191 can be used for incoming call vibration prompts, and can also be used for touch vibration feedback.
[0147] Electronic device 100 implements display functionality through a GPU, display screen 194, and an application processor. A GPU is a microprocessor for image processing that connects display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs that execute program instructions to generate or modify display information.
[0148] The display screen 194 is used to display images, videos, etc. In some embodiments, the electronic device 100 may include 1 or N display screens 194 , where N is a positive integer greater than 1.
[0149] The camera 193 is used to capture still images or videos. In some embodiments, the electronic device 100 may include 1 or N cameras 193, where N is a positive integer greater than 1.
[0150] The SIM card interface 195 is used to connect a SIM card. The SIM card can be connected to and disconnected from the electronic device 100 by inserting or removing the SIM card into or from the SIM card interface 195. The electronic device 100 may support one or N SIM card interfaces, where N is a positive integer greater than one.
[0151] The embodiments of the present application do not particularly limit the specific structure of the execution body of the method for recommending a recording mode. As long as the code recording the method for recommending a recording mode according to the embodiments of the present application can be executed, the method for recommending a recording mode according to the embodiments of the present application can be processed. For example, the execution body of the method for recommending a recording mode according to the embodiments of the present application can be a functional module in an electronic device that can call and execute a program, or a processing device used in an electronic device, such as a chip.
[0152] Currently, many electronic devices equipped with cameras offer both photo and video recording functions. To meet diverse user needs, these devices often offer a variety of photo modes, such as beautification, wide aperture, and night scene. Users can choose to improve their photos by selecting one of these modes.
[0153] Referring to Figure 2, a schematic diagram of the main interface of a camera application provided in an embodiment of the present application is shown. In this embodiment, the main interface of the camera application is a preview interface corresponding to the photo function. That is, this interface can preview the images captured by the camera in real time and also provides a "photo control" for initiating photo capture. The preview screen in the interface schematic provided in this embodiment of the application is only used to indicate that the current interface will display the preview screen and does not impose any restrictions on the content of the preview screen.
[0154] The user clicks the camera application icon on the system desktop of the electronic device (or uses a pre-set shortcut gesture) to start the camera application; after the electronic device receives the user's click operation on the camera application icon, it starts the camera application and displays the main interface of the camera application (the preview interface corresponding to the photo taking function).
[0155] The preview interface for the camera function can display multiple mode controls, such as the wide aperture control, night scene control, portrait control, camera control, video control, and multi-camera video control in the interface shown in Figure 2. Wide aperture, night scene, and portrait are all different sub-modes under the camera function.
[0156] When a user takes a portrait photo, he or she can click on the "portrait control". After the electronic device receives the operation of clicking on the "portrait control", it displays a preview interface of the portrait mode. The electronic device generates a preview screen from the original screen captured by the camera based on the algorithm provided for the portrait mode; subsequently, after receiving the operation of clicking on the "photo control", the corresponding portrait photo can be generated according to the preview screen.
[0157] When taking photos at night, the user can click on the "night scene control". After the electronic device receives the operation of clicking the "night scene control", it displays a preview interface of the night scene mode. The electronic device adjusts the camera parameters and / or generates a preview picture from the original picture captured by the camera based on the algorithm provided for the night scene mode; subsequently, after receiving the operation of clicking the "photo control", the corresponding night scene photo can be generated according to the preview picture.
[0158] The selection of sub-modes under these camera functions usually requires the user to independently judge the sub-mode applicable to the current camera scene. Some sub-modes are easy to judge, for example, portrait mode, which can be selected when preparing to shoot a face. However, some sub-modes are not easy to judge, for example, night mode, which the user may select at night; the actual night mode may be suitable for scenes with low light, for example, in a dimly lit room during the day, the night mode is also required to achieve a better photo effect, which will result in the user being unable to independently select the appropriate camera mode. The specific meaning of some sub-modes may even require users to have some professional knowledge to understand, for example, large aperture mode. Users who are not familiar with cameras may not understand the applicable scenarios of large aperture, resulting in users not understanding the usage scenarios of this mode at all, or even not choosing to use this mode at all.
[0159] In actual applications, the video recording function provided by electronic devices is simpler, either only providing a simple beauty function or providing multiple sub-modes; however, like the photo function, users are required to independently select different sub-modes for recording based on the desired effect, resulting in a poor user experience.
[0160] In view of this, an embodiment of the present application provides a method for recommending a recording mode, which can set multiple sub-modes for the recording function in an electronic device. In the recording mode, the electronic device predicts the current scene based on the preview image and / or other acquisition parameters (for example, ambient light intensity, etc.) collected in real time by the camera, and after predicting that the current scene belongs to a certain scene, the predicted scene (or corresponding sub-mode) is displayed (recommended) to the user; the electronic device can directly enter the sub-mode corresponding to the predicted scene (that is, the original image is processed using the algorithm of the sub-mode corresponding to the predicted scene to obtain a preview image). Of course, the user can also choose whether to use the algorithm of the sub-mode corresponding to the predicted scene to process the original image to obtain a preview image.
[0161] It should be noted that the method for recommending different sub-modes in the video recording mode provided in the embodiments of this application can also be applied to recommending different sub-modes in the photo shooting mode. The subsequent embodiments of this application use the video recording function as an example. However, those skilled in the art will understand that the video recording function in the subsequent embodiments of this application can also be the photo shooting function.
[0162] Refer to (a) in Figure 3, which is a schematic diagram of a preview interface corresponding to a video recording function provided in an embodiment of the present application.
[0163] The user clicks on the "recording control" on the main interface of the camera application shown in Figure 2 (the preview interface corresponding to the photo mode); after the electronic device receives the user's click operation on the "recording control", it displays the preview interface corresponding to the recording function (this interface can be recorded as the first preview interface).
[0164] Referring to (a) in Figure 3, the preview interface corresponding to the recording function displays a preview screen captured by the camera and an AI control. The AI control is used to start the artificial intelligence (AI) function. The AI function in the embodiment of the present application provides an AI algorithm for the electronic device to predict the current recording scene (or recording mode). That is, in the recording mode of the camera application, after the AI function is turned on, the electronic device can predict the current scene (or mode) based on the preview screen and / or other acquisition parameters captured by the camera in real time; after predicting that the current scene (or mode) belongs to a certain scene (or mode), the predicted scene (or mode) is displayed (recommended) to the user.
[0165] Of course, in actual applications, the AI function in the video recording mode can be turned on or off. In the video recording mode, if the AI function is turned off, the electronic device no longer predicts the current scene (or mode) based on the preview image and / or other acquisition parameters captured in real time by the camera.
[0166] As an example of starting and closing the AI control, referring to (a) in FIG3 , there is a slash on the AI control in the preview interface corresponding to the recording function, indicating that the AI function is in the off state; referring to (b) in FIG3 , there is no slash on the AI control in the preview interface corresponding to the recording function, indicating that the AI function is in the on state.
[0167] Of course, in actual applications, other forms of icons can also be used to indicate the on and off states of the AI function in recording mode. For example, when the AI control is white (or black), it means that the AI function is off; when the AI control is lit in other colors (for example, yellow, red, etc.) or colors, it means that the AI function is on. The embodiment of the present application does not limit the display effect of the AI control in the on and off states.
[0168] By clicking on the AI control, the user can trigger the electronic device to switch the AI function on and off. When the AI function is on, if the user clicks on the AI control, the electronic device will receive the click of the AI control in the on state and turn off the AI function. When the AI function is off, if the user clicks on the AI control, the electronic device will receive the click of the AI control in the off state and turn on the AI function.
[0169] In addition, the AI function can be turned on (or off) as the default state. After the electronic device enters the recording mode, the AI function is in the default state. The user can trigger the electronic device to switch the AI function from the default state to another state by clicking the AI control. Of course, the above-mentioned AI function can also be set in the settings function of the camera application. That is, the AI control will not appear in the interface shown in (a) or (b) of Figure 3, and the user can further turn the AI function on or off in the settings control.
[0170] When the AI function shown in (b) of FIG3 is turned on, the electronic device predicts the current scene (or mode) based on the preview image and / or other acquisition parameters acquired in real time by the camera.
[0171] In an embodiment of the present application, multiple sub-modes can be set for the video recording function, such as macro mode, portrait mode, HDR mode, night scene mode, protagonist mode and multi-lens mode.
[0172] In specific implementation, the video recording function of the electronic device can be set to one or more of the sub-modes listed above, or other sub-modes other than the sub-modes listed above. Of course, the names of the sub-modes may also be different, and the embodiments of the present application do not limit this.
[0173] The AI function within the electronic device also provides conditions for recommending and canceling different sub-modes. When the electronic device detects that the recommendation conditions for any sub-mode are currently met, it can recommend (or choose not to enter) that sub-mode. When the electronic device detects that the cancellation conditions for a sub-mode currently in the recommended state are currently met, it can cancel the recommendation of that sub-mode.
[0174] 4 , which is a flow chart of an electronic device recommending a recording mode through an AI algorithm when the AI function is turned on, according to an embodiment of the present application.
[0175] In step S401, the electronic device determines whether a recommendation condition corresponding to any sub-mode is currently satisfied based on the preview image and / or acquisition parameters acquired in real time by the camera.
[0176] The embodiment of the present application takes the case of satisfying the recommendation conditions corresponding to sub-mode A as an example. The recommendation conditions and cancellation conditions of different sub-modes can be referred to the detailed description of the subsequent embodiments.
[0177] In step S402, the electronic device displays the recommended animation of the sub-mode corresponding to the satisfied recommendation condition.
[0178] In the embodiment of the present application, the electronic device displays a recommended animation of sub-mode A. The recommended animation includes an icon showing sub-mode A.
[0179] In an embodiment of the present application, the icon of sub-mode A may not be displayed through the recommended animation provided in the embodiment of the present application. Instead, the electronic device directly displays the icon of sub-mode A on the interface when it determines that the recommendation conditions corresponding to sub-mode A are currently met based on the preview image and / or acquisition parameters acquired in real time by the camera.
[0180] The icon of the sub-mode A may be displayed on the preview interface corresponding to the current recording function.
[0181] In the case where sub-mode A is an effect-type sub-mode, the electronic device will directly enter the sub-mode while displaying the recommended motion effect of sub-mode A, that is, execute steps S403 to S405.
[0182] When sub-mode A is a recording mode sub-mode, the electronic device enters the sub-mode after receiving a click operation on the icon, that is, the electronic device executes steps S403 to S405 after executing step S406.
[0183] In actual applications, some sub-modes can be set as modes that the electronic device can directly enter when it determines that the recommended conditions of the sub-mode are met; some sub-modes can be set as modes that the electronic device cannot directly enter when it determines that the recommended conditions of the sub-mode are met, and the electronic device needs to be triggered by the user before entering.
[0184] As an example, some sub-modes that enhance video recording effects or optimize image quality in videos (referred to as effect-type sub-modes) can be set so that the electronic device can directly enter them when their recommended conditions are met, for example, macro mode.
[0185] Some sub-modes (recording method sub-modes) tailored to user recording habits or designed for specific scenarios can be configured so that the electronic device cannot directly enter the mode even if the recommended conditions are met, requiring user triggering. Examples include HDR mode, portrait mode, protagonist mode, multi-lens mode, and night scene mode.
[0186] Of course, in actual applications, whether a sub-mode is a mode that can be directly entered by an electronic device (which can be recorded as a first-type sub-mode) or a mode that cannot be directly entered (which can be recorded as a second-type sub-mode) can be set according to actual conditions. The above examples are only for illustration and do not impose any restrictions on this application.
[0187] Step S406: The electronic device receives a click operation on the icon.
[0188] As mentioned above, the embodiment of the present application can display the icon of sub-mode A through a recommended animation, or can directly display the icon of sub-mode A. Of course, in actual applications, the icon of sub-mode A can also be displayed in other ways. The icon of sub-mode A is used to implement interaction with the user.
[0189] Step S403 : The electronic device captures the original image using the recording parameters of the sub-mode corresponding to the satisfied recommendation condition.
[0190] Different sub-modes can set different recording parameters. For example, in multi-lens mode, at least two cameras need to be turned on; in night mode, the flash can be turned on, etc. In the embodiment of the present application, the recording parameters corresponding to sub-mode A can be used to capture the original image.
[0191] In step S404 , the electronic device processes the original image using the AI algorithm of the sub-mode corresponding to the satisfied recommendation condition to obtain a preview image.
[0192] Different sub-modes can also set different AI algorithms to be in the original picture captured by the camera. As an example, in portrait mode, the beauty algorithm is used to process the original picture to obtain a preview picture after beauty.
[0193] Step S405: the electronic device displays the preview image.
[0194] Based on step S403 and step S404 , it can be understood that different sub-modes in the electronic device are set with different recording parameters and different AI algorithms.
[0195] In actual applications, two or more sub-modes among the multiple sub-modes set by the electronic device may also be set with the same recording parameters and different AI algorithms, or with different recording parameters and the same AI algorithm.
[0196] The following situations may also exist: the recording parameters of submode A and submode B are the same, and the recording parameters of submode A and submode C are different. The AI algorithms of submode A and submode B are different, and the AI algorithms of submode A and submode C are the same.
[0197] Of course, in actual applications, regardless of whether the recording parameters and AI algorithms between the sub-modes are the same, the recording parameters used when recording the original picture in sub-mode A can be understood as the recording parameters corresponding to sub-mode A, and the AI algorithm used when generating the preview picture based on the original picture captured under sub-mode A can be understood as the AI algorithm corresponding to sub-mode A.
[0198] As another embodiment of the present application, after step S405, the following steps may be further included:
[0199] The electronic device determines that the conditions for canceling the recommendation corresponding to the recommended sub-mode are currently met based on the preview image and / or acquisition parameters captured in real time by the camera. The electronic device then cancels the recommendation of the sub-mode currently being recommended and cancels the display of the icon of the currently recommended sub-mode on the preview interface.
[0200] Based on FIG. 4 , it can be understood that different sub-modes under the video recording function can be divided into two categories: one is a sub-mode that the electronic device can directly enter, and the other is a sub-mode that the electronic device cannot directly enter.
[0201] The following describes the interface change process of the electronic device when it determines that the recommendation conditions of a sub-mode are currently met, the electronic device cannot directly enter the sub-mode, and the electronic device needs to be triggered by the user to enter the sub-mode. The HDR mode is used as an example of the sub-mode that the electronic device cannot directly enter.
[0202] To facilitate understanding of the subsequent embodiments, it is necessary to explain “recommend,” “on,” “off,” and “cancel recommendation” of the HDR mode.
[0203] In a shooting scenario, when the electronic device is in the recommended HDR mode, the HDR mode may be turned off by default. When the HDR mode is turned off, the electronic device does not use the recording parameters corresponding to the HDR mode to capture the original image, nor does it use the algorithm corresponding to the HDR mode to process the original image. Instead, the electronic device uses the default recording parameters and algorithm of the video recording function of the electronic device to obtain the preview image.
[0204] During the period when the electronic device recommends HDR mode, the HDR mode can also be switched to the on state (that is, the electronic device enters the HDR mode). When the HDR mode is on, the electronic device uses the recording parameters corresponding to the HDR mode to capture the original image, and uses the algorithm corresponding to the HDR mode to process the original image to obtain a preview image. When the HDR mode is on, the user clicks on the "recording control", and the electronic device will capture the video recorded in the HDR mode. When the HDR mode is on, if the user triggers the electronic device to no longer obtain the preview image in HDR mode by operating on the preview interface, the electronic device will turn off the HDR mode.
[0205] After the electronic device turns off the HDR mode, the electronic device may still recommend the HDR mode, but the HDR mode is switched to an off state.
[0206] After the electronic device cancels the recommendation of HDR mode, the HDR mode will no longer be in the on or off state.
[0207] After understanding the meaning of the above different states, the changes in the interface during the recommendation process of the HDR mode will be described.
[0208] When the AI function is enabled, the electronic device will display the recommended HDR mode effect based on the preview image and / or acquisition parameters captured by the camera in real time. The recommended HDR mode effect will be displayed above the preview interface of the video recording function.
[0209] For ease of understanding, the following will describe the display process of the recommended animation effect in conjunction with the interface change diagram shown in FIG5 and the interface change time relationship shown in FIG6 .
[0210] Referring to (a) in Figure 5, when it is detected that the recommendation conditions corresponding to the above-mentioned HDR mode are met, the electronic device first displays a recommendation symbol above the preview interface of the recording function. The recommendation symbol can be an identification symbol of any shape. The recommendation symbol can prompt the user that the AI function that has been activated is detecting or detecting the corresponding scene. As an example, the recommendation symbol can be a bubble. The recommendation animation includes: the process of the recommendation symbol appearing and the process of the recommendation symbol disappearing. The recommendation symbol appearance process can be a gradual display process: a process from transparent to clear, and the recommendation symbol disappearance process can be a gradual disappearance process: a process from clear to transparent.
[0211] As shown in Figure 6, the display process of the recommendation symbol includes the process of the recommendation symbol appearing and the process of the recommendation symbol disappearing. Among them, during the disappearance of the recommendation symbol, the HDR mode icon appears. The HDR mode icon is used to interact with the user. For example, the electronic device can be triggered to turn on the HDR mode through operations on the HDR mode icon. The process of the HDR icon appearing can also be a gradual display process: a process from transparent to clear. The time it takes for the icon to change from transparent to clear can be less than or equal to the time it takes for the recommendation symbol to change from clear to transparent. That is, when the recommendation symbol completely disappears, the icon has become clear.
[0212] Referring to FIG5( b ), the electronic device displays an HDR mode icon above the preview interface of the video recording function. After the HDR mode icon appears on the preview interface, it may remain displayed until the electronic device cancels the recommendation of the HDR mode.
[0213] As shown in Figure 6, after the recommendation symbol disappears and the icon appears, the text "HDR Mode" corresponding to the HDR mode will be displayed immediately or recommended for a period of time (e.g., the second duration). This text is used to inform the user of the specific meaning of the icon. The text corresponding to the HDR mode includes the process of gradually expanding the text, displaying (or scrolling) the text (which can be displayed for a third duration), and gradually retracting the text.
[0214] Referring to (c) in Figure 5, there is a schematic diagram of displaying text next to the icon in HDR mode. Among them, there is a base plate at the bottom of the text, and the display timing of the base plate is the same as the display timing of the text. The horizontal length of the base plate can be extended and retracted as the text is expanded and retracted. In actual applications, the text is displayed in a floating manner above the preview interface, so there may be a situation where the color of the text and the preview screen below the text are relatively close. In this case, it is difficult for the user to see the specific content of the text. Therefore, the embodiment of the present application can also display the base plate at the bottom of the text. The contrast between the color of the base plate and the color of the text makes it easier for the user to see the specific content of the text, thereby understanding the specific mode of the currently recommended icon.
[0215] In actual applications, the maximum horizontal length of the baseboard is fixed. Some sub-modes have shorter text, while others have longer text. The longer text may exceed the maximum horizontal length of the baseboard. In this case, to fully display the text of the sub-mode, the text of the sub-mode can be controlled to scroll horizontally within the range of the baseboard. For example, at time t1, the text displayed on the baseboard is "HDR Mode". At time t2, the text displayed on the baseboard is "DR Mode".
[0216] 6 , the text and the base plate are unfolded and folded at the same time.
[0217] Figure 5(d) shows the HDR mode icon after the text and baseplate are retracted. This icon is the same as the icon shown in Figure 5(b), meaning that after the text and baseplate are retracted, the icon will revert to the HDR mode icon shown in Figure 5(b).
[0218] After the text and the bottom panel are completely collapsed into the icon shown in (d) in FIG. 5 , the icon of the HDR mode shown in (d) in FIG. 5 will be displayed continuously.
[0219] Of course, in actual applications, there may be some situations that will cause the preview interface to no longer display the HDR mode icon.
[0220] As an example, after the user clicks the icon to trigger the electronic device to enter the HDR mode, the electronic device will display the preview interface of the HDR mode (please refer to the description of subsequent embodiments for details), and the HDR mode icon may not be displayed in the preview interface of the HDR mode.
[0221] As another example, after the electronic device detects that the recommendation conditions for the HDR mode are met, the electronic device no longer displays the HDR mode icon on the preview interface of the currently displayed video recording function.
[0222] In the embodiment shown in FIG6 , the length of each time period does not represent the absolute length of time. The length of each time period can be set according to actual conditions. The embodiment of the present application does not limit the specific length of each time period.
[0223] During the HDR mode recommendation process described in FIG5 , if the user clicks the AI control on the preview interface, the electronic device will cancel the HDR mode recommendation in response to this action, and the HDR mode icon will no longer be displayed on the preview interface. The electronic device may also cancel the HDR mode recommendation if it detects that the conditions for canceling the HDR mode recommendation are currently met.
[0224] In order to avoid electronic devices frequently switching between recommending and canceling a sub-mode, the conditions for canceling the recommendation of the sub-mode can be set to include the duration. For example, the condition for canceling the recommendation of the HDR mode can be that the HDR mode will only be canceled if the distance between the detected object and the camera is greater than 17 cm for more than 2 seconds.
[0225] When an electronic device recommends HDR mode, the display and disappearance of the recommendation symbol typically takes approximately one second, the text expansion process typically takes several hundred milliseconds, and the text display or scrolling process typically takes approximately two seconds. Therefore, during the HDR mode recommendation process, the electronic device may determine that the conditions for canceling the HDR mode recommendation are met during the text display or scrolling phase, the text retraction phase, and after the text is completely retracted.
[0226] If the conditions for canceling the HDR mode recommendation are detected during the text display or scrolling stage, the preview stage can continue to display the text display or scrolling process. After the text display or scrolling process ends, the text and background plate will continue to be retracted. After the text and background plate are completely retracted, the HDR icon disappears (the disappearance process can also be a process of gradually becoming transparent), which means that the HDR mode recommendation is canceled. Of course, the text and background plate can also be retracted immediately, and the HDR icon disappears at the same time (the disappearance process can also be a process of gradually becoming transparent).
[0227] If the conditions for canceling the HDR mode recommendation are detected during the text and background retraction phase, the preview phase can continue to display the text and background retraction process. After the text and background are completely retracted, the HDR icon disappears (this disappearance process can also be a gradual process of becoming transparent), indicating that the HDR mode recommendation has been canceled. Of course, the text and background can also be retracted immediately, and the HDR icon disappears at the same time (this disappearance process can also be a gradual process of becoming transparent).
[0228] If, after the text and background are completely retracted (only the HDR icon is displayed), the conditions for canceling the recommendation of the HDR mode are detected to be met, the HDR icon on the preview interface disappears (the disappearance process can also be a process of gradually becoming transparent), which means that the recommendation of the HDR mode is canceled.
[0229] Of course, in actual applications, the time from the start of the recommended animation to the end of the text display or scrolling process is about 3 seconds (not much different from the 2 seconds in the conditions for canceling the recommendation). Therefore, during this period, the recommendation conditions of this mode are rarely met. Even if the HDR icon disappears after the animation display of the text and the base plate is completed (that is, completely retracted), it will not affect the user experience. Therefore, in the specific implementation, there is no restriction on the specific interface change process of detecting that the conditions for canceling the recommendation of the HDR mode are met before the text and the base plate are completely retracted.
[0230] As another embodiment of the present application, when the electronic device first determines that the recommended conditions for the HDR mode are currently met and starts to display the recommended animation, in order to prevent the user from not understanding the meaning of the recommended icon of the HDR mode or not understanding how to use the HDR mode, text information can be used for prompts and guidance.
[0231] As an example, referring to Figure 6, if the user does not click the HDR mode icon to turn on the HDR mode within a period of time (for example, 1 second, 2 seconds, 3 seconds, 5 seconds, etc.) after the text and the bottom plate are completely retracted to display (d) in Figure 5, the text "Click to enter this mode" will be displayed above the recommended icon of the HDR mode. For details, please refer to the interface shown in Figure 7.
[0232] Of course, after displaying the text "Click to enter this mode" for a certain period of time (for example, 1 second) or receiving a click operation on the icon by the user or receiving other operations from the user, the text "Click to enter this mode" will disappear.
[0233] If it is not the first time that the HDR mode recommendation conditions are met and the animation effect is recommended, the text guidance can be discontinued. Of course, a more lightweight guidance method can also be used at the same time (if the user does not click the HDR mode icon within a period of time after the text and the baseboard are retracted).
[0234] As an example, a micro-motion effect (eg, a small bounce, etc.) is set for the icon, but this embodiment of the present application does not limit this.
[0235] In the embodiment of the present application, "the first time it is determined that the recommended conditions for the HDR mode are currently met" can be the first time after the electronic device leaves the factory or is restored to factory settings or flashed, or the first time after the electronic device is turned on, or the first time after the electronic device starts the camera application, or the first time after the electronic device turns on the video recording function of the camera application. The embodiment of the present application does not impose any restrictions on this.
[0236] During the display of the recommended dynamic effects in HDR mode, the user can click the HDR mode icon to turn on HDR mode (enter HDR mode). After the user turns on HDR mode, the electronic device will execute steps S403 to S405 in the above embodiment. After the user clicks the "recording control" for starting recording, the electronic device will begin to capture the original image using the recording parameters of HDR mode, and process the original image based on the HDR mode algorithm to obtain a video recorded in HDR mode.
[0237] In actual applications, it can be set that after the HDR mode icon appears, the electronic device can respond to the user's click operation on the HDR mode icon to enter the HDR mode.
[0238] Of course, in actual applications, it can also be set that the electronic device can respond to click operations on the HDR mode icon in certain time periods to enter the HDR mode; and not respond to click operations on the HDR mode icon in other time periods.
[0239] As an example, during the time period when the recommended animation reaches the time period when the text is expanded or scrolled as shown in Figure 6, and the time period after the text and the bottom panel are folded, the electronic device can respond to the click operation on the HDR mode icon in the two time periods to enter the HDR mode.
[0240] It should be noted that the above time periods are only used as examples. In actual applications, time periods different from the time periods listed above can be set as time periods during which electronic devices can respond to click operations on icons; of course, recommended animations different from the above embodiments can also be used to select and actually use part or all of the time periods in the recommended animations as time periods during which electronic devices can respond to click operations on icons.
[0241] In addition, for sub-modes that cannot be directly entered by the electronic device and require user triggering, the icon is white (or black) before the electronic device receives the user's triggering operation, that is, the initial state of the currently recommended sub-mode that cannot be directly entered is the off state. The user needs to click the off-state icon to trigger the sub-mode to switch to the on state.
[0242] Of course, in actual applications, the icon of the closed sub-mode may also be displayed in other forms. For example, a slash may be added above the icon of the sub-mode, that is, the icon with the slash added indicates that the current sub-mode is in the closed state.
[0243] Correspondingly, when the user clicks the icon of the closed state of the sub-mode, the user responds to the click operation to turn on the sub-mode, and at the same time, the white (or black) icon on the preview interface corresponding to the recording function will be displayed as another color or color icon. Of course, when the user clicks the icon of the open state of the sub-mode, the electronic device responds to the click operation to turn off the sub-mode, and at the same time, the other color or color icon on the preview interface corresponding to the recording function will be displayed as a white (or black) icon.
[0244] As another embodiment of the present application, the user clicks the HDR mode icon during the time period when the electronic device can respond to the click operation on the HDR mode icon. In response to this operation (the operation on the icon of the recording mode that cannot be directly entered can be recorded as the first operation, for example, a single-click operation), the electronic device will display the preview interface of the HDR mode shown in Figure 8. That is, after the electronic device enters the sub-mode that cannot be directly entered, the electronic device will display the preview interface set for the sub-mode instead of using the preview interface commonly used for the recording function. In this embodiment of the present application, the preview interface of the recording mode that cannot be directly entered can be recorded as the second preview interface.
[0245] The preview interface shown in Figure 8 displays the HDR mode and a "recording control" for starting recording. When the user clicks the recording control, the electronic device receives the click operation on the recording control and starts recording using the recording parameters of the HDR mode provided by the AI function, and generates a recorded video based on the algorithm of the HDR mode provided by the AI function.
[0246] If the user does not want to use the HDR mode for recording, they can click the close button "×" on the right side of the HDR mode (the close button on the preview interface corresponding to the recording mode that cannot be directly entered can be recorded as the first control, and the operation on the first control can be recorded as the fourth operation) to trigger the electronic device to close or cancel the recommended HDR mode. That is, in a specific implementation, the close button "×" can be set to turn off the HDR mode; the close button "×" can also be set to cancel the recommended HDR mode.
[0247] As an embodiment of the function of the close button to turn off the HDR mode, when detecting that the user has clicked the close button, the electronic device may switch from the interface shown in FIG8 to the interface shown in FIG5(d). Subsequently, the user may also click the HDR mode icon in the interface shown in FIG5(d) to trigger the electronic device to turn on the HDR mode and display the HDR mode preview interface shown in FIG8.
[0248] As an embodiment of the function of the close button to cancel the recommendation of HDR mode, when it is detected that the user clicks the close button, the electronic device will switch from the interface shown in Figure 8 to the interface shown in (b) in Figure 3, that is, the preview interface of the recording function no longer recommends HDR mode.
[0249] The specific solution can be set according to the actual situation.
[0250] As another embodiment of the present application, the preview interface corresponding to the above-mentioned recording function may also include other controls: for example, a focal length control (0.5, 1, 2, 3, and 6 in the figure all represent different focal lengths). The user can trigger the electronic device to switch the current focal length by operating on the focal length control (clicking or sliding, etc.). The number after which the "×" is placed indicates the currently used focal length.
[0251] If the HDR mode in the embodiment of the present application only supports 1x and 2x focal length recording, during the process of the electronic device recommending the HDR mode, for example, during the process of displaying the HDR mode icon shown in Figure 9 (a), the user clicks on the 0.5x focal length. In response to this operation, the electronic device will cancel the recommendation of the HDR mode, the HDR mode icon will no longer be displayed on the preview interface, and the focal length will be switched to 0.5x focal length, specifically refer to Figure 9 (b). The focal length multiples that are not supported by the recording mode of the embodiment of the present application include the second focal length (for example, 0.5x focal length).
[0252] In the embodiment of the present application, the zoom operation is only an example. In actual applications, if other recording parameters that are not supported in the current mode are used, it is determined that the user explicitly needs to use the recording parameters for recording. In this case, the electronic device cancels the recommendation of the HDR mode, the HDR icon on the preview interface disappears, and the electronic device will no longer use the HDR mode to generate a preview interface and record.
[0253] Generally, if the user selects recording parameters that are not supported in the current mode through operations on the preview interface, it means that the user has a strong intention to select recording parameters that are not supported in the current mode for recording. In this case, in order to improve the user experience, the HDR mode can be canceled from being recommended, and the preview screen and recording can be generated using the recording parameters selected by the user.
[0254] Of course, in the process of displaying the icon of the HDR mode shown in (a) of Figure 9, if the user clicks on the 2x focal length, the electronic device will continue to recommend the icon for displaying the HDR mode, and the focal length will be switched to 2x focal length. Specifically, with reference to (c) in Figure 9, the user can continue to click on the icon of the HDR mode to trigger the electronic device to turn on the HDR mode. The focal length multiples supported by the video recording mode of the embodiment of the present application include a first focal length (for example, 1x focal length) and a third focal length (for example, 2x focal length). Of course, in actual applications, other focal length multiples may also be supported.
[0255] In the interface scenario shown in (c) in Figure 9, when the user clicks the HDR mode icon, the electronic device will display the preview interface of the HDR mode shown in (d) in Figure 9. The focal length (2 times the focal length) in this interface is the same as the focal length (2 times the focal length) before the HDR mode is started.
[0256] Generally, when a user modifies the default focal length of the camera by operating on an electronic device, it means that the user is more willing to record with the modified focal length. Therefore, the focal length in the interface (2x focal length) can be set to be consistent with the focal length (2x focal length) before starting the HDR mode to improve the user experience.
[0257] Of course, in the interface scenario shown in (d) of Figure 9, if the user clicks the close button "×" on the right side of the HDR mode, the electronic device will turn off or cancel the recommendation of the HDR mode. At the same time, the focal length can be restored to the default 1x focal length or 2x focal length before the HDR mode was turned on. This embodiment of the application does not limit this.
[0258] In the interface scenario shown in (d) in Figure 9, the user clicks the "recording control" (in the embodiment of the present application, the control used to start recording can be recorded as the second control), and the electronic device records the video in HDR mode and 2x focal length.
[0259] As another embodiment of the present application, in the interface shown in (c) in Figure 9, the user clicks on the "recording control". Since the current HDR mode is off, the electronic device does not record the video in HDR mode, but records the video in the default mode of the video recording function.
[0260] It should be noted that the above embodiment takes the HDR mode as an example. In actual applications, the HDR mode in the above example can be replaced by a sub-mode that cannot be directly entered by any electronic device.
[0261] The following describes the interface change process of the electronic device when it determines that the recommendation conditions of a sub-mode are currently met and the electronic device can directly enter the sub-mode. The sub-mode that the electronic device can directly enter is taken as an example of the macro mode.
[0262] When the AI function is enabled, the electronic device will display the recommended macro mode animation based on the preview image and / or acquisition parameters captured by the camera in real time. This recommended animation will be displayed above the video recording preview interface.
[0263] It should be noted that the recommended animation effects for Macro mode are the same as those for HDR mode, except that the icons and text displayed are different. The mode that can be directly entered uses the preview interface of the recording function, and there is no need to set up a separate preview interface for this mode. For ease of understanding, the following will describe the display process of the recommended animation effects by combining the interface change diagram shown in Figure 10 and the interface change time relationship shown in Figure 6.
[0264] 10 (a), the electronic device first displays a recommendation symbol above the preview interface of the video recording function. The description of the recommendation symbol may refer to the description in the embodiment shown in FIG5.
[0265] 6 , when the recommendation symbol disappears, the macro mode icon appears. The process of the icon appearing can be described with reference to the embodiment shown in FIG5 .
[0266] Referring to FIG10( b ), the electronic device displays a macro mode icon above the video recording preview interface. After the macro mode icon appears on the preview interface, it may remain displayed until the electronic device cancels the macro mode recommendation.
[0267] 6 , after the recommendation symbol disappears and the icon appears, the text "Macro Mode" corresponding to the macro mode will be displayed. The text corresponding to the macro mode includes the text expansion process, the text display (or scrolling) process, and the text folding process.
[0268] Refer to Figure 10(c), which shows a diagram of text displayed next to the macro mode icon. Below the text is a base plate, which is displayed at the same time as the text. The base plate's horizontal length can expand and contract as the text expands and collapses.
[0269] In actual applications, the maximum horizontal length of the baseplate is fixed. Some sub-modes have shorter text, while others have longer text, potentially exceeding the maximum horizontal length of the baseplate. In this case, to fully display the text of the sub-mode, the text of the sub-mode can be controlled to scroll horizontally within the range of the baseplate. For example, at time t1, the text displayed on the baseplate is "Macro Mode." At time t2, the text displayed on the baseplate is "Distance Mode."
[0270] 6 , the text and the base plate are unfolded and folded at the same time.
[0271] Figure 10(d) shows the macro mode icon with the text and the baseplate retracted. This icon is the same as the icon shown in Figure 10(b), meaning that after the baseplate is retracted, the macro mode icon will be restored to that shown in Figure 10(b).
[0272] After the text and bottom plate are completely retracted into the icon shown in (d) in Figure 10, the icon of the macro mode shown in (d) in Figure 10 will continue to be displayed until the recommendation of the macro mode is cancelled or until the electronic device starts recording video using the macro mode.
[0273] In the process of the electronic device recommending the macro mode icon, the time period during which the electronic device can respond to the click operation on the macro icon to enter the macro mode can refer to the relevant description in the above-mentioned HDR mode and will not be repeated here.
[0274] In addition, it should be noted that during the recording process of the macro mode, a sub-mode that an electronic device can directly enter, the icon of the mode may not be displayed.
[0275] As another embodiment of the present application, when the electronic device first determines that the macro mode recommendation conditions are currently met and begins to display the recommended animation, in order to prevent the user from not understanding the meaning of the macro mode recommendation icon or how to use the macro mode, a text message can be used to provide prompts and guidance. The specific description of the text guidance process is referred to the relevant description of the HDR mode and is not repeated here.
[0276] As mentioned above, the preview interface of the macro mode and the preview interface of the video recording function are the same interface. In order to distinguish whether the macro mode is currently on or off, the icon when the macro mode is on and off can be set to be different.
[0277] For example, when the electronic device determines that the recommended conditions for macro mode are currently met, the electronic device displays the recommended macro mode animation on the video recording function preview interface. When the macro mode icon is displayed, it will be directly displayed in a non-black and white or color to indicate that macro mode is currently activated (that is, the initial state of the directly entered video recording mode is on). When the macro mode icon is displayed in black or white, it means that macro mode is off.
[0278] As another example, referring to the macro mode icon shown in (a) of FIG11 , when a slash is displayed above the macro mode icon, it indicates that macro mode is off. Referring to the macro mode icon shown in (b) of FIG11 , when no slash is displayed above the macro mode icon, it indicates that macro mode is on. Referring to the preview interface of the video recording function shown in (c) of FIG11 , when the macro icon disappears from the preview interface, it indicates that the recommended macro mode has been canceled.
[0279] The user clicks on the icon of the macro mode in the turned-on state (as an example of the second operation performed on the icon of the video recording mode that can be entered directly). In response to this operation, the electronic device will turn off the macro mode. The electronic device will no longer capture the original picture with the recording parameters provided by the AI function for the macro mode, nor will it process the original picture based on the algorithm provided by the AI function for the macro mode to obtain a preview picture. Instead, the electronic device uses the default recording parameters of the video recording function provided by the electronic device to capture the picture.
[0280] The user clicks on the icon of the macro mode in the off state (as an example of the third operation acting on the icon of the recording mode that can be entered directly). In response to this operation, the electronic device will start the macro mode. The electronic device will capture the original picture with the recording parameters provided by the AI function for the macro mode, and process the original picture based on the algorithm provided by the AI function for the macro mode to obtain a preview picture.
[0281] As another embodiment of the present application, the preview interface corresponding to the recording function may also include other controls: for example, a focal length control, and the user can trigger the electronic device to switch the current focal length by operating on the focal length control (clicking or sliding, etc.).
[0282] The interface changes when the user selects a focal length multiplier supported by the macro mode and the interface changes when the user selects a focal length multiplier not supported by the macro mode can refer to the above description of the HDR mode, which will not be repeated here.
[0283] As another embodiment of a mode that the electronic device can automatically enter, referring to FIG. 12( a ), the electronic device directly enters the macro mode when detecting that the recommended conditions for the macro mode are currently met.
[0284] Subsequently, referring to (b) in FIG12 , the user manually turns off the macro mode. In response to the operation, the electronic device turns off the macro mode, and a slash is displayed on the macro mode icon on the preview interface of the video recording function.
[0285] Subsequently, referring to (c) in Figure 12, the user holds the electronic device and moves it in the shooting space. The electronic device detects that the conditions for canceling the recommendation of the macro mode are currently met, and at the same time, the recommendation conditions for another mode (for example, portrait mode) are met. The electronic device will cancel the recommendation of the macro mode and recommend the other mode.
[0286] As another example of the electronic device displaying (c) in Figure 12, in actual application, the user holds the electronic device and moves it in the shooting space. The electronic device detects that the conditions for canceling the recommendation of Macro mode are currently met, and the electronic device cancels the recommendation of Macro mode. The preview interface will not display the icon for Macro mode. The user continues to hold the electronic device and moves it in the shooting space. The electronic device detects that the recommendation conditions for another mode (e.g., Portrait mode) are currently met. The electronic device will recommend the other mode, and the preview interface will display the icon for the other mode.
[0287] Subsequently, referring to (d) in Figure 12, the user continues to hold the electronic device and move it in the shooting space. The electronic device detects that the conditions for canceling the recommendation of the other mode (for example, portrait mode) are currently met. The electronic device cancels the recommendation of the other mode, and the icon of the other mode is not displayed on the preview interface of the recording function.
[0288] Subsequently, referring to (e) in FIG12 , the user continues to hold the electronic device and move it within the shooting space. The electronic device detects that the recommendation conditions for a macro mode (e.g., portrait mode) are currently met, and recommends the macro mode. If the electronic device recommends the same recording mode again after the recording mode is turned on (e.g., recommending macro mode for the second time), the display of the recommendation symbol and macro mode text may be omitted, and the icon for the same recording mode may be directly displayed.
[0289] In the present application, when a recording mode is recommended for the first time after the recording function is turned on, the recommendation animation shown in the above embodiment can be recommended to the recording mode starting from displaying the recommendation symbol. However, the recommendation symbol is usually used to remind that the recording mode is recommended, and is not used to distinguish between different recording modes. In order to avoid the appearance of bubbles when recommending recording modes later to interfere with the user, the display of the recommendation symbol for non-first recommendations after the recording function is turned on can be cancelled.
[0290] When a recording mode is recommended for the first time after the recording function is turned on, the text information and bottom plate of the recording mode can be displayed to remind the user of the meaning of the icon of the recording mode. There is no need to display the text information and bottom plate again when the same recording mode is recommended for a non-first time after the recording function is turned on. This avoids the situation where the preview screen displayed at the bottom is blocked when the text information and bottom plate of the same recording mode are displayed again, causing interference to the user.
[0291] Referring to (e) in FIG12 , if the time interval between the electronic device's last cancellation of macro mode recommendation and the current detection of the macro mode recommendation condition being met is short (e.g., less than the first duration), the macro mode state (e.g., off) when the macro mode is currently recommended is determined based on the macro mode state before the last cancellation of macro mode recommendation. Furthermore, the process of displaying and disappearing the recommendation symbol and the process of expanding, displaying, and retracting the text panel are not performed when macro mode is currently recommended.
[0292] In this application, if the icon of a recording mode was not in its initial state when the electronic device last canceled the recommendation of a recording mode, then when the recording mode is recommended again, if the interval is short, the state determined based on the user's last usage habits can be used as the initial state when the same recording mode is currently recommended. This method of learning the initial state of this recommendation based on the user's historical usage habits can make the recommended state more in line with the user's personal usage habits, reduce the situation where the user switches again, and improve the user experience.
[0293] In the embodiment of the present application, the triggering moments corresponding to the above-mentioned interface schematics can be recorded as different moments, and different moments are distinguished by first, second, etc. The descriptions such as first moment and second moment are only used to distinguish the events corresponding to different moments and do not have any other limiting effect. Moments with different labels can be named according to the order in which the above-mentioned different events occur (the order of the labels does not equal the order in which the events occur).
[0294] Referring to (f) in Figure 12 , if the time interval between the electronic device's last cancellation of the macro mode recommendation and the current detection of the macro mode recommendation conditions being met is long (for example, greater than or equal to the first duration), the macro mode status will be the system default recommended status when macro mode is recommended this time. Macro mode is a mode that the electronic device can enter directly, so it is enabled.
[0295] It should be noted that in this embodiment of the application, Macro mode is used as the mode that the electronic device can directly enter when its recommendation conditions are currently met. In actual applications, the recommendation process for any mode that the electronic device can directly enter and the interface changes during the recommendation process can refer to the process of recommending Macro mode by the electronic device and the interface changes described above.
[0296] In addition, some of the embodiments described above can be applied to the recommendation process of sub-modes that can be directly entered by the electronic device, and can also be applied to sub-modes that cannot be directly entered by the electronic device. The specific scope of application is determined according to its internal logic. It does not mean that the embodiment using the HDR mode as an example cannot be applied to the recommendation process of sub-modes that can be directly entered by the electronic device, nor does it mean that the embodiment using the macro mode as an example cannot be applied to the recommendation process of sub-modes that cannot be directly entered by the electronic device.
[0297] In an embodiment of the present application, of the two recording modes recommended successively by the electronic device, the first recommended recording mode can be recorded as the first recording mode (for example, it can be recommended at the first moment), and the corresponding scene can be recorded as the first scene, and the second recommended recording mode can be recorded as the second recording mode (for example, it can be recommended at the third moment), and the corresponding scene can be recorded as the second scene, where the third moment is later than the first moment. As mentioned above, when recommending the latter recording mode, the recommendation of the former recording mode can be canceled first, that is, the recommendation of the first recording mode can be canceled at the second moment. The second moment is between the first moment and the third moment. Of course, the types of the two recording modes recommended before and after are not limited.
[0298] The above describes the recommendation process of two types of modes. In actual applications, when the electronic device recommends one mode, it can also switch to recommending another mode. First, the possible switching process between modes is described.
[0299] In an embodiment of the present application, when the electronic device determines that a recommendation condition for a sub-mode is met based on a preview image and / or other acquisition parameters captured in real time by a camera, the electronic device can directly enter the sub-mode, or recommend the sub-mode to the user, and the user selects and triggers the electronic device to enter the sub-mode. In the case where the electronic device currently recommends a sub-mode in the recording mode, the electronic device needs to detect whether a condition for canceling the recommendation of the sub-mode is currently met, so as to cancel the recommendation of the sub-mode if the condition for canceling the recommendation of the sub-mode is met.
[0300] The electronic device may also determine that the recommendation conditions for multiple sub-modes are currently met based on the preview image and / or other acquisition parameters captured in real time by the camera. If the electronic device determines that the recommendation conditions for multiple sub-modes are currently met, the electronic device may simultaneously recommend the multiple sub-modes that meet the requirements to the user, and the user may select which sub-mode to trigger the electronic device to enter.
[0301] In practical applications, priorities may also be set for multiple sub-modes, and the electronic device may recommend a sub-mode with a higher priority or enter a sub-mode with a higher priority.
[0302] As an example, the priorities can be set from high to low as follows: macro mode, night scene mode, portrait mode, HDR mode, protagonist mode, multi-lens recording, etc.
[0303] As another example, the priorities may be set to be sorted from high to low as follows: macro mode, night scene mode, HDR mode, portrait mode, protagonist mode, multi-lens recording, etc.
[0304] The above-mentioned priority settings are only used as examples. In actual applications, other sorting methods can also be used, and this application will not give examples one by one.
[0305] As an embodiment of switching between modes of the present application, when a sub-mode is currently in the recording mode, the electronic device can also detect whether the recommendation conditions of other sub-modes are currently met, so as to cancel the recommended current sub-mode and recommend another sub-mode with a higher priority if the recommendation conditions of other sub-modes are met and the priority of other sub-modes is higher than the priority of the current sub-mode (even if the conditions for canceling the recommendation of the current sub-mode are not currently met).
[0306] The following describes in detail the interface display process when switching between the two modes.
[0307] As shown in Figure 6, the process of an electronic device recommending a mode includes the following stages: the process of disappearance of the recommendation symbol display (about 1s), the process of icon display combined with text base expansion (about 300ms), the process of icon display combined with text display or scrolling (about 2s), the process of icon display combined with text base folding (about 300ms), and the process of independent icon display.
[0308] To promptly recommend recording modes to users, the duration of each recording mode's recommendation criteria is typically less than 1 second. Therefore, at various stages of the recommendation process, the electronic device may detect that a higher-priority sub-mode meets the recommendation criteria. In this case, the electronic device may cancel the current sub-mode and recommend a higher-priority sub-mode.
[0309] The following describes the interface change process when a higher priority sub-mode recommendation condition is detected at each stage. The sub-mode before switching is marked as sub-mode A, and the sub-mode after switching is marked as sub-mode B.
[0310] Referring to stage (1) in FIG13 , during the display process of the recommendation symbol, the electronic device detects that the recommendation conditions of another sub-mode B with a higher priority are met, and the electronic device recommends another sub-mode B with a higher priority. The display process of the recommendation symbol is completed on the preview interface of the recording function, and then the display process of the icon of sub-mode B is started (the recommendation symbol gradually disappears during this process), and then the text of sub-mode B and the expansion of the bottom plate are continued to be displayed next to the icon of sub-mode B.
[0311] Referring to stage (2) in FIG13 , during the disappearance of the recommendation symbol (during the display of the sub-mode icon), the electronic device detects that the recommendation conditions of another sub-mode B with a higher priority are met, and the electronic device recommends another sub-mode B with a higher priority. The preview interface of the recording function shows the end of the disappearance of the recommendation symbol (the icon of sub-mode A appears), and then the disappearance of the icon of sub-mode A begins. After a period of time (for example, 1 second) after the disappearance of the icon of sub-mode A, the display of the icon of sub-mode B is executed, and then the text of sub-mode B and the expansion of the bottom plate are continued to be displayed next to the icon of sub-mode B.
[0312] Referring to stage (3) in FIG13 , during the process of the text and the bottom plate of sub-mode A being expanded, the electronic device detects that the recommendation conditions of another sub-mode B with a higher priority are met, and the electronic device recommends another sub-mode B with a higher priority. The process of the text and the bottom plate being expanded continues to be displayed on the preview interface of the video recording function. After the text and the bottom plate are fully expanded, the text and the bottom plate disappear immediately, and then the process of the icon of sub-mode A disappearing begins. After a period of time (for example, 1 second) after the icon of sub-mode A disappears, the process of displaying the icon of sub-mode B is executed, and then the process of the text and the bottom plate expanding of sub-mode B continues to be displayed next to the icon of sub-mode B.
[0313] As another embodiment of the present application, when it comes to stage (3), the expansion process of the text and the base plate can also be canceled, the text and the base plate on the preview interface of the video function disappear immediately, and then the icon disappearance process of sub-mode A begins...
[0314] Referring to stage (4) in FIG13 , during the display of the text and the bottom plate of sub-mode A (regardless of whether the text is scrolling), the electronic device detects that the recommendation conditions of another sub-mode B with a higher priority are met, and the electronic device recommends another sub-mode B with a higher priority. The text and the bottom plate on the preview interface of the video recording function disappear immediately, and then the disappearance process of the icon of sub-mode A begins. After a period of time (for example, 1 second) after the icon of sub-mode A disappears, the display process of the icon of sub-mode B is executed, and then the process of expanding the text and bottom plate of sub-mode B is continued to be displayed next to the icon of sub-mode B.
[0315] Refer to stage (5) in Figure 13. During the process of retracting the text and bottom plate of sub-mode A, the electronic device detects that the recommendation conditions of another sub-mode B with a higher priority are met. The electronic device recommends another sub-mode B with a higher priority. The text and bottom plate on the preview interface of the video recording function continue to retract. After they are completely retracted, the icon of sub-mode A disappears. After a period of time (for example, 1 second) after the icon of sub-mode A disappears, the icon of sub-mode B is displayed. Then, the process of expanding the text and bottom plate of sub-mode B continues to be displayed next to the icon of sub-mode B.
[0316] As another embodiment of the present application, when it comes to stage (5), the process of retracting the text and the bottom plate can also be canceled, and the text and the bottom plate on the preview interface of the video function disappear immediately, and then the icon disappearance process of sub-mode A begins...
[0317] Refer to stage (6) in Figure 13. During the process of completely retracting the text and bottom plate of sub-mode A to display the icon of sub-mode A, the electronic device detects that the recommendation conditions of another sub-mode B with a higher priority are met. The electronic device recommends another sub-mode B with a higher priority. The process of disappearing the icon of sub-mode A begins on the preview interface of the video recording function. After a period of time (for example, 1 second) after the icon of sub-mode A disappears, the process of displaying the icon of sub-mode B is executed. Then, the process of expanding the text and bottom plate of sub-mode B is continued to be displayed next to the icon of sub-mode B.
[0318] In addition, stage (6) in the above example is applicable when the interval between the electronic device detecting that the recommendation condition of another higher priority sub-mode B is met and the electronic device detecting that the recommendation condition of sub-mode A is met is short (for example, less than 5 seconds). If the interval between the electronic device detecting that the recommendation condition of another higher priority sub-mode B is met and the electronic device detecting that the recommendation condition of sub-mode A is met is long (for example, greater than or equal to 5 seconds), when the electronic device recommends another higher priority sub-mode B, the icon of sub-mode A starts to disappear on the preview interface of the video recording function, and after a period of time (for example, 1 second) after the icon of sub-mode A disappears, the recommendation animation of sub-mode B is executed from the beginning, that is, execution starts from the recommendation symbol display process.
[0319] As another embodiment of the present application, it can also be set that the electronic device can switch to another sub-mode B only after the text is fully expanded. That is, in the above example, the electronic device no longer switches to another sub-mode B from stage (1) to stage (3), and the electronic device switches to another sub-mode B only from stage (4) to stage (6).
[0320] As another embodiment of the present application, the electronic device may also be configured to detect whether the conditions for canceling the recommendation of submode A are met during the process of recommending submode A, but no longer detect whether the conditions for recommending other submodes are met. That is, the electronic device may no longer recommend another submode during the process of recommending one submode. Only after the electronic device detects that the conditions for canceling the recommendation of the currently recommended submode are met and cancels the recommendation of submode A, will it detect whether the conditions for recommending other submodes are met to recommend other submodes. For example, after canceling the recommendation of submode A, the electronic device switches to recommending submode B.
[0321] As an example, referring to (a) in FIG14 , the events shown in the figure all occur during a single activation of the video recording function. The electronic device cancels the recommendation of sub-mode A, and after a period of time (e.g., 2 seconds, 5 seconds, 8 seconds, 15 seconds, etc.) after the icon of sub-mode A on the preview interface of the video recording function completely disappears, the electronic device detects that the recommendation conditions for sub-mode B are met. The electronic device then displays the icon of sub-mode B on the preview interface of the video recording function and executes the process of expanding, displaying, and retracting the text and bottom panel after the icon is displayed as shown in FIG13 .
[0322] During specific implementation, the interval between when the electronic device cancels display of the icon of sub-mode A and displays the icon of sub-mode B may be set to be greater than 1 second.
[0323] In addition, to avoid frequent display of recommendation symbols that are irrelevant to the specific meaning of different modes, it can also be set that after the current recording function is turned on, the recommendation symbol is only displayed (the process of display and disappearance) when the sub-mode icon is recommended for the first time, and the recommendation symbol is no longer displayed when other sub-modes or the same sub-mode are recommended subsequently. If the user exits the recording function, turns on the photo function in the middle, and then turns on the recording function again, the recommendation symbol is displayed (the process of display and disappearance) when the sub-mode icon is recommended for the first time after recording is turned on again, and the recommendation symbol is no longer displayed when other sub-modes or the same sub-mode are recommended subsequently.
[0324] Of course, as mentioned above, if the video recording function is turned on, during the period when the video recording function is turned on, if the same sub-mode is recommended again, the process of expanding, displaying and retracting the text and the bottom plate may not be displayed.
[0325] As an example, referring to (b) in Figure 14, the events in this diagram all occur during the activation of the video recording function. After the text of sub-mode B and the process of expanding, displaying, and retracting the bottom plate are completed, the interface will display the icon of sub-mode B. If the electronic device detects that the conditions for canceling the recommendation of sub-mode B are met, the icon of sub-mode B on the preview interface of the video recording function disappears. After the icon of sub-mode B disappears for a period of time, if it is detected again that the recommendation conditions of sub-mode A are met, the electronic device will recommend sub-mode A again, and the icon of sub-mode A will be displayed on the preview interface of the video recording function. However, the text of sub-mode A and the process of expanding, displaying, and retracting the bottom plate will no longer be displayed.
[0326] In addition, the embodiments of the present application involve a large number of operations. Instead of naming each operation with a different name, in actual applications, "first" or "second" can be added before the operation to distinguish operations at different times or on different controls. Of course, the "first" or "second" in "first operation" or "second operation" does not indicate the order of the operations.
[0327] After describing the recommendation process and switching process of the two types of sub-modes, the recommendation conditions and cancellation conditions of each sub-mode will be described in detail below.
[0328] In this application, parameters in the recommended conditions corresponding to different scenes are set according to the application environment of different scenes. For example, the macro scene is suitable for close-range shooting, so the distance between the photographed object and the camera of the electronic device can be used as a parameter in the recommended conditions; the HDR scene is suitable for overexposure conditions, so the anti-interference gain, ambient light intensity and overexposure ratio can be used as parameters in the recommended conditions; the night scene is suitable for darker shooting environments, so the ambient light intensity can be used as a parameter in the recommended conditions; the portrait scene is suitable for shooting faces, so the proportion of faces in the preview picture captured by the camera in the preview picture can be used as a parameter in the recommended conditions; the multi-lens scene is suitable for shooting multiple targets, so whether the preview picture captured by the camera contains preset targets can be used as a parameter in the recommended conditions; the protagonist scene is suitable for shooting scenes with multiple people, so the number of faces in the preview picture captured by the camera and the proportion of the largest face in the preview picture can be used as parameters in the recommended conditions; of course, in actual applications, in order to distinguish it from the night scene mode, the limitation of ambient light intensity can also be added to the recommended conditions of the above-mentioned non-night scene mode.
[0329] The cancellation conditions corresponding to the recommended recording mode conditions can be set to indicate that the recommendation is cancelled when the recommended recording mode conditions are not met. Alternatively, the conditions can be set to be more relaxed than the parameter range in the recommended conditions, so that even if the recommended recording mode conditions are not met for a short period of time after the recording mode is recommended, the recommendation of the recording mode will not be cancelled. For details, please refer to the description of the subsequent embodiments.
[0330] As an example of a recommended condition for the macro mode, the macro mode is generally used in close-range shooting scenes, so the recommended condition for the macro mode may be set to be that the object distance is less than the distance value d1 (eg, less than 12 cm).
[0331] It should be noted that the specific value of d1 is related to the recording algorithm in the macro mode provided by the electronic device and the camera on the electronic device. For example, the macro mode in the recording function of electronic device A is more effective when shooting objects less than 12 cm, so the recommended condition for the macro mode in electronic device A is a physical distance less than 12 cm. The macro mode in the recording function of electronic device B is more effective when shooting objects less than 30 cm, so the recommended condition for the macro mode in electronic device B is a physical distance less than 30 cm.
[0332] The electronic device may be provided with a ranging sensor, which is located near the camera. For example, the ranging sensor and the camera are located on the same side of the electronic device (e.g., both are located on the back of the electronic device, the back being the side opposite the display screen), and the distance between the ranging sensor and the camera on that side is less than a certain distance (e.g., less than 1.5 cm).
[0333] Of course, in actual applications, the electronic device can use other methods to measure distance. For example, the electronic device calculates the depth of field of the object closest to the depth of field camera through the preview image captured by the depth of field camera, and the depth of field is the distance of the object.
[0334] The embodiment of the present application does not limit the method of measuring the distance between the shooting target and the camera.
[0335] In actual applications, when a user holds an electronic device to record a video, the distance between the camera on the electronic device and the object may be close at a certain moment. In this case, the user may not really want to take a close-up photo of the object. Therefore, in order to avoid the accuracy of the video recording mode recommended by the electronic device, a time limit can be added to the recommended conditions of the macro mode.
[0336] As another example, the recommended condition for the macro mode is that the object distance is less than the distance value d1 for a period longer than the time t1 (eg, 0.5 s).
[0337] In addition, if the macro mode provided by the electronic device only supports 1x focal length recording, the recommended condition for the macro mode may also include: the current focal length is 1x. That is, the recommended condition for the macro mode may also include: the object distance is less than the distance value d1 for a period longer than the time t1, and the current focal length is 1x.
[0338] In an embodiment of the present application, a night scene mode is provided in the recording function of the electronic device. The night scene mode is suitable for scenes where the ambient light intensity is extremely dark. In order to distinguish it from the night scene mode, the recommended conditions for the macro mode can also be set. The ambient light intensity can also be increased to normal indoor light on the basis of the above recommended conditions.
[0339] An ambient light sensor can be provided on the electronic device. The specific location of the ambient light sensor on the electronic device is not limited. The ambient light sensor can collect the surrounding ambient light intensity. In the embodiment of the present application, it can be arranged that the recommended conditions for the macro mode can only be met when the ambient light intensity collected by the ambient light sensor is less than lux1 (the smaller the value, the brighter it is). That is, the recommended conditions for the macro mode can also be: the object distance is less than the distance value d1 for a time longer than time t1, and the current focal length is 1 times the focal length, and the ambient light intensity is less than lux1. Of course, the recommended conditions for the macro mode can also be: the object distance is less than the distance value d1 for a time longer than time t1, and the current focal length is 1 times the focal length, and the ambient light intensity is less than lux1 for a time longer than time t1.
[0340] It should be noted that the recommended conditions for the macro mode listed above are only for example. In actual applications, other recommended conditions different from the recommended conditions listed above can be set based on the applicable scenarios of the macro mode of the electronic device. The embodiments of this application will not be given one by one.
[0341] As an example of a condition for canceling the macro mode recommendation, the condition for canceling the macro mode recommendation can be set to be that the object distance is greater than a distance value d2 (for example, greater than 17 cm). It should be noted that the specific value of d2 is also related to the macro mode recording algorithm provided by the electronic device and the camera on the electronic device.
[0342] As another example of a condition for canceling the recommendation of the macro mode, the condition for canceling the recommendation of the macro mode may be set as: the object distance is greater than the distance value d2 for a time period greater than the time t2 (for example, 2 seconds).
[0343] As mentioned above, if the macro mode provided by the electronic device only supports 1x focal length recording, and the electronic device detects the user's zoom operation, and the operation after zooming is not 1x focal length, the electronic device will also cancel the recommendation of the macro mode. Therefore, the conditions for canceling the recommendation of the macro mode can also be set as: the object distance is greater than the distance value d2 for a time longer than time t2 (for example, 2s), or it is detected that the user changes the focal length to a non-1x focal length.
[0344] Correspondingly, the condition for canceling the recommendation of the macro mode may also be set as: the ambient light intensity is greater than or equal to lux1, and the duration is greater than time t2.
[0345] As an example of recommended conditions for HDR mode, HDR mode is often used in overexposed scenes, such as shooting faces against the light at sunset (which does not meet the portrait conditions), or some landscapes (with high contrast, blue sky, white clouds, green plants, and shadows). Therefore, overexposed conditions can be used as recommended conditions.
[0346] For example, the recommended conditions for HDR mode can be set as follows: (1) adrc gain (anti-interference gain) is greater than g1 (for example, 3.6), (2) LV (a parameter used to measure the intensity of ambient light, the larger the value, the higher the brightness) is greater than LV1 (for example, 50), (3) LV is less than or equal to LV2 (for example, 60), and the overexposure ratio is greater than 10 / 1000; or, LV is greater than LV2 and less than LV3 (for example, 75), and the overexposure ratio is greater than 12 / 1000; or, LV is greater than or equal to LV3, and the overexposure ratio is greater than 14 / 1000.
[0347] Among them, (1) to (3) need to be met at the same time.
[0348] In addition, in order to avoid misjudgment, the duration of the above three conditions can also be set to be greater than 1 second.
[0349] This example is only an example of an overexposure scenario. In actual applications, different recommendation conditions can be set based on the different cameras of the electronic device.
[0350] Of course, if the HDR mode supports 1x focal length to 6x focal length, the recommended conditions for HDR can also be set as: based on the above conditions, the focal length is any one of 1x focal length to 6x focal length.
[0351] As an example of the conditions for canceling the recommended HDR mode, when any of the following conditions is met for a duration greater than 2 seconds (adrc gain is less than 3.2; or, LV is less than 60 and the overexposure ratio is less than 10 / 1000; or, LV is less than 75 and the overexposure ratio is less than 11 / 1000; or, LV is greater than 75 and the overexposure ratio is less than 13 / 1000).
[0352] As another example of a condition for canceling the recommendation of the HDR mode, the focal length is not any of 1X to 6X.
[0353] The focus of the embodiments of the present application is not on the specific contents of the recommendation conditions and the conditions for canceling the recommendation of each sub-mode. In actual applications, different recommendation conditions and conditions for canceling the recommendation can be set according to different sub-modes.
[0354] For other sub-modes in the video recording mode of the embodiment of the present application, reference may be made to the brief description of the subsequent recommendation conditions and the conditions for canceling the recommendation.
[0355] As an example of a recommended condition for Night Mode, Night Mode is typically suitable for scenes with extremely low ambient light intensity. For example, a park at night with distant streetlights, or a birthday party indoors with only candlelight. Therefore, the recommended condition for Night Mode can be set to: ambient light intensity greater than lux2 (a larger value indicates darker light, for example, 400).
[0356] Of course, to improve the accuracy of the video recording mode recommended by the electronic device, a time limit can be added to the recommended conditions for night scene mode. That is, the recommended condition for night scene mode can be set as: the ambient light intensity is greater than lux2 (the larger the value, the darker it is) for a time period greater than t3.
[0357] In addition, if the night scene mode of the electronic device only supports recording of 1x focal length and 2x focal length, the recommended conditions for the night scene mode can also be: the time when the ambient light intensity is greater than lux2 (the larger the value, the darker it is) is greater than t3, and the current focal length is 1x focal length or 2x focal length.
[0358] As an example of a condition for canceling the recommendation for the night scene mode, the condition for canceling the recommendation for the night scene mode can be set to include: the ambient light intensity is less than lux3 (the smaller the value, the brighter it is, for example, 370), and the duration is greater than 2s.
[0359] As another example of a condition for canceling the recommendation of the night scene mode, the condition for canceling the recommendation of the night scene mode may also be set as: the user manually zooms the image so that the focal length is neither 1x nor 2x.
[0360] In actual applications, it is sufficient to meet any one of the above-listed conditions for canceling the recommendation.
[0361] As an example of recommended conditions for Portrait mode, a detected face must have at least one of the width and height of the largest face detection frame greater than 15% of the frame, a duration greater than 0.33 seconds, and a focal length of 1x or 2x. Of course, you can also add the following condition: the ambient light intensity is normal indoor light (for example, the ambient light intensity is less than 1 lux).
[0362] As an example of a condition for canceling the recommendation for Portrait mode, the maximum width or height of the detected largest face detection frame is less than 10% of the frame width and lasts for more than 2 seconds. Alternatively, the user manually zooms, and the resulting focal length is not 1x or 2x. Alternatively, the ambient light intensity is greater than or equal to lux1.
[0363] As an example of recommended conditions for protagonist mode, when the number of detected faces is greater than or equal to 2, the width and height of the largest face detection frame occupy less than a first ratio (e.g., 15%) and greater than a second ratio (e.g., 7%), and the duration lasts for a period of time (e.g., 0.33s). Ensure normal indoor lighting (e.g., the lux value on the Qualcomm platform is less than 350, and the LV value on the MediaTek platform is greater than 28), and the current focal length is a focal length supported by protagonist mode.
[0364] As an example of a condition for canceling the recommendation for protagonist mode, one of the width and height ratios of the detected largest face detection frame is less than a third ratio (e.g., 5%), or one of the width and height ratios is greater than a fourth ratio (e.g., 15%), and the duration lasts longer than 2 seconds. Alternatively, the zoom exceeds the supported focal length range.
[0365] As an example of recommended conditions for multi-camera recording, a specific animal (e.g., a cat or dog) is detected in the picture, and the duration is greater than 0.53 seconds (for example only), and the focal length is 1 to 6 times the focal length.
[0366] An example of a condition that cancels the recommendation for multi-camera recording is that a specific animal cannot be recognized for more than 2 seconds, or the user's zoom operation exceeds the range supported by the mode.
[0367] The above embodiment lists the recommendation conditions and cancellation conditions of multiple sub-modes in the recording mode. In actual applications, other recommendation conditions and cancellation conditions may also be adopted.
[0368] The specific values of the parameters in the embodiments of the present application are for illustration only and do not impose any limitation on the present application. In practical applications, the above parameters may also be other values.
[0369] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.
[0370] An embodiment of the present application further provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments can be implemented.
[0371] An embodiment of the present application further provides a computer program product. When the computer program product is run on an electronic device, the electronic device can implement the steps in the above-mentioned various method embodiments.
[0372] If the integrated unit is implemented in the form of 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 present application implements all or part of the processes in the above-mentioned embodiment method, which can be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and when the computer program is executed by the processor, it can implement the steps of the above-mentioned various method embodiments. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include at least: any entity or device capable of carrying the computer program code to the first device, a recording medium, a computer memory, a read-only memory (ROM), a random access memory (RAM), an electric carrier signal, a telecommunication signal and a software distribution medium. For example, a USB flash drive, a mobile hard disk, a magnetic disk or an optical disk. In some jurisdictions, according to legislation and patent practice, computer-readable media cannot be electric carrier signals and telecommunication signals.
[0373] The present application also provides a chip system, comprising a processor coupled to a memory, the processor executing a computer program stored in the memory to implement the steps of any method embodiment of the present application. The chip system can be a single chip or a chip module composed of multiple chips.
[0374] In the above embodiments, the description of each embodiment has its own focus. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant description of other embodiments.
[0375] Those skilled in the art will appreciate that the units and method steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0376] The above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. These modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the various embodiments of the present application, and should all be included in the scope of protection of the present application.
Claims
1. A method for recommending a video recording mode, characterized in that: include: The electronic device displays a first preview interface of a video recording function, the first preview interface including an AI control and a preview image captured by a camera, and the AI control is in an enabled state; When it is detected at a first moment that the recording scene of the electronic device is a first scene, the electronic device displays an icon of a first recording mode corresponding to the first scene on the first preview interface; When it is detected at a second moment that the recording scene of the electronic device is not the first scene, the electronic device cancels display of the icon of the first recording mode on the first preview interface, and the second moment is later than the first moment; When it is detected at a third moment that the recording scene of the electronic device is the second scene, the electronic device displays an icon of a second recording mode corresponding to the second scene on the first preview interface, and the third moment is later than the second moment; The electronic device receives a first operation input by a user on an icon of the second recording mode; In response to the first operation, the electronic device displays a second preview interface of the second recording mode.
2. The recommendation method according to claim 1, wherein: The first recording mode is a first type of sub-mode, and during the process in which the electronic device displays the first recording mode corresponding to the first scene on the first preview interface, the recommendation method further includes: When the icon of the first recording mode indicates an on state, the electronic device receives a second operation, the second operation being applied to the icon of the first recording mode indicating an on state; In response to the second operation, the electronic device switches the icon representing the on state of the first video recording mode on the first preview interface to an icon representing the off state; When the icon of the first recording mode indicates an off state, the electronic device receives a third operation, the third operation being applied to the icon of the first recording mode indicating an off state; In response to the third operation, the electronic device switches the icon representing the off state of the first video recording mode on the first preview interface to an icon representing the on state.
3. The recommendation method according to claim 2, wherein: When the electronic device displays the icon of the first sub-mode on the first preview interface, the initial state of the icon of the first sub-mode is an on state.
4. The recommendation method according to claim 1, wherein: The second recording mode is a second sub-mode, and in response to the first operation, the electronic device displays a second preview interface of the second recording mode, including: In response to a first operation performed on an icon representing an off state of the second recording mode, the electronic device displays a second preview interface of the second recording mode, where the second preview interface includes a first control for indicating closing or canceling a recommendation for the second recording mode; When the electronic device displays the second preview interface of the second recording mode, the electronic device receives a fourth operation, and the fourth operation acts on the first control; In response to the fourth operation, the electronic device displays a first preview interface of the video recording function.
5. The recommendation method according to claim 4, wherein: When the first control is used to indicate turning off the second recording mode, the icon of the second recording mode in the first preview interface displayed by the electronic device in response to the fourth operation indicates a turned-off state; When the first control is used to indicate that the second recording mode is canceled from being recommended, the first preview interface displayed by the electronic device in response to the fourth operation does not include an icon for the second recording mode.
6. The recommendation method according to claim 4 or 5, characterized in that: When the electronic device displays the icon of the second sub-mode on the first preview interface, the initial state of the icon of the second sub-mode is a closed state.
7. The recommendation method according to any one of claims 1 to 6, characterized in that: The second video recording mode supports recording at the first focal length; When it is detected at the third moment that the recording scene of the electronic device is the second scene, the electronic device displays an icon of the second recording mode corresponding to the second scene on the first preview interface, including: When it is detected at the third moment that the recording scene of the electronic device is the second scene and the focal length of the camera of the electronic device is the first focal length, the electronic device displays an icon of a second recording mode corresponding to the second scene on the first preview interface.
8. The recommendation method according to claim 7, wherein: The second recording mode does not support recording at the second focal length; In the process of the electronic device displaying the icon of the second recording mode corresponding to the second scene on the first preview interface, the recommendation method further includes: The electronic device receives a fifth operation, where the fifth operation is used to switch the focal length of the camera from the first focal length to the second focal length; In response to the fifth operation, the electronic device cancels display of the icon of the second recording mode on the first preview interface, and switches the focal length of the camera from the first focal length to the second focal length.
9. The recommendation method according to claim 7 or 8, characterized in that: The second video recording mode supports recording at a third focal length; In the process of the electronic device displaying the icon of the second recording mode corresponding to the second scene on the first preview interface, the recommendation method further includes: The electronic device receives a sixth operation, where the sixth operation is used to switch the focal length of the camera from the first focal length to the third focal length; In response to the sixth operation, the electronic device continues to display the icon of the second recording mode on the first preview interface, and switches the focal length of the camera from the first focal length to the third focal length.
10. The recommendation method according to claim 9, wherein: After the electronic device switches the focal length of the camera from the first focal length to the third focal length on the first preview interface, the recommendation method further includes: When the icon of the second recording mode displayed on the first preview interface of the electronic device is in an on state, the electronic device receives a seventh operation, where the seventh operation acts on a second control on the first preview interface, where the second control is used to start recording a video; In response to the seventh operation, the electronic device starts recording video with the third focal length and the second video recording mode.
11. The recommendation method according to any one of claims 1 to 10, characterized in that: Before the electronic device cancels display of the icon of the first recording mode on the first preview interface, the icon of the first recording mode is in a first state, and the first state is not an initial state of the icon of the first recording mode; After the electronic device displays the icon of the second recording mode corresponding to the second scene on the first preview interface, the recommendation method further includes: When it is detected at a fourth moment that the recording scene of the electronic device is not the second scene, the electronic device cancels display of the icon of the second recording mode on the first preview interface, and the fourth moment is later than the third moment; When it is detected at a fifth moment that the recording scene of the electronic device is the first scene, and the time interval between the fifth moment and the second moment is less than the first time duration, the electronic device displays the icon of the first recording mode corresponding to the first scene on the first preview interface, the current state of the icon of the first recording mode is the first state, and the fifth moment is later than the fourth moment; When it is detected at the fifth moment that the recording scene of the electronic device is the first scene, and the time interval between the fifth moment and the second moment is greater than or equal to the first time duration, the electronic device displays the icon of the first recording mode corresponding to the first scene on the first preview interface, and the current state of the icon of the first recording mode is the initial state of the icon of the first recording mode.
12. The recommendation method according to any one of claims 1 to 11, characterized in that: The recommended method further includes: During a process in which the electronic device displays an icon of a second recording mode corresponding to the second scene on the first preview interface, the electronic device receives an eighth operation, where the eighth operation acts on the AI control in the enabled state; In response to the eighth operation, the electronic device cancels display of the icon of the second recording mode corresponding to the second scene on the first preview interface.
13. The recommendation method according to claim 1, wherein: Before the electronic device displays the icon of the first recording mode corresponding to the first scene on the first preview interface, the recommendation method further includes: The electronic device displays a recommendation symbol on the first preview interface, and the display process of the recommendation symbol is a gradual display process.
14. The recommendation method according to claim 13, wherein: The process of the electronic device displaying the icon of the first recording mode corresponding to the first scene on the first preview interface is a gradual display process; Before the electronic device displays the icon of the first recording mode corresponding to the first scene on the first preview interface or during the gradual display of the icon, the recommendation method further includes: The electronic device cancels display of the recommendation symbol on the first preview interface, and the disappearance process of the recommendation symbol is a gradual disappearance process.
15. The recommendation method according to claim 13 or 14, characterized in that: After the electronic device displays the icon of the first recording mode corresponding to the first scene on the first preview interface for a second duration, the recommendation method further includes: The electronic device displays first text information on the first preview interface, wherein the display process of the first text information includes a process of gradually expanding the text, and the first text information is used to indicate the meaning of the icon of the first recording mode; After the first text information is displayed for a third period of time, the electronic device cancels the display of the first text information. The disappearance process of the first text information includes a gradual retraction of the text. There is a first bottom plate at the bottom of the first text information. The first bottom plate expands as the first text information expands and retracts as the first text information retracts.
16. The recommendation method according to claim 15, wherein: Before the electronic device displays the icon of the second recording mode corresponding to the second scene on the first preview interface, the electronic device does not display the recommendation symbol.
17. The recommendation method according to claim 15, wherein: After the electronic device displays the icon of the second recording mode corresponding to the second scene on the first preview interface, the recommendation method further includes: When it is detected at a sixth moment that the recording scene of the electronic device is not the second scene, the electronic device cancels display of the icon of the second recording mode on the first preview interface, and the sixth moment is later than the third moment; When it is detected at the seventh moment that the video recording scene of the electronic device is the first scene, the electronic device The first preview interface displays an icon of the first recording mode corresponding to the first scene. When the electronic device displays the icon of the first recording mode other than for the first time after the recording function is turned on, the electronic device no longer displays the first text information of the first recording mode. The seventh moment is later than the sixth moment.
18. The recommendation method according to any one of claims 1 to 17, characterized in that: The initial state of the first recording mode icon is an off state. If the electronic device recommends displaying the first recording mode icon for the first time, after the electronic device displays the first recording mode icon corresponding to the first scene on the first preview interface for a fourth time period, the recommendation method further includes: The electronic device displays prompt information, where the prompt information is used to prompt a user to click an icon of the first recording mode to start the first recording mode.
19. The recommendation method according to claim 1, wherein: When the recording scene of the electronic device is a first scene, the electronic device displays an icon of a first recording mode corresponding to the first scene on the first preview interface, including: When the electronic device detects that a recommendation condition for the first recording mode is currently met, the electronic device displays an icon of the first recording mode corresponding to the first scene on the first preview interface; Wherein, when the first scene is a macro scene, the recommended condition of the first recording mode is related to the distance of the photographed object and the ambient light intensity collected by the electronic device; When the first scene is an HDR scene, the recommended condition of the first recording mode is related to the anti-interference gain, the ambient light intensity, and the overexposure ratio; When the first scene is a night scene, the recommended condition of the first recording mode is related to the ambient light intensity; When the first scene is a portrait scene, the recommendation condition for the first recording mode is related to a proportion of a face in a preview image captured by the camera in the preview image; When the first scene is a multi-camera recording scene, the recommendation condition for the first recording mode is related to whether the preview image captured by the camera contains a preset target; When the first scene is a protagonist scene, the recommendation condition for the first recording mode is related to the number of faces in the preview image captured by the camera and the proportion of the largest face in the preview image.
20. The recommendation method according to claim 1, wherein: When the recording scene of the electronic device is not the first scene, the electronic device cancels display of the icon of the first recording mode on the first preview interface, including: If the electronic device detects that a condition for canceling the recommendation of the first recording mode is currently satisfied, the electronic device cancels display of the icon of the first recording mode corresponding to the first scene on the first preview interface.
21. An electronic device, characterized in that: The electronic device includes a processor, and the processor is configured to run a computer program stored in a memory, so that the electronic device implements the method according to any one of claims 1 to 20.
22. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program, and when the computer program is executed by one or more processors, the method according to any one of claims 1 to 20 is implemented.