Terminal equipment, application camera control method and storage medium
By providing a variety of preset camera categories and custom parameter configuration functions in the terminal device, the problem of inability to effectively preset the built-in camera parameters of the terminal device in the prior art is solved, and a better match between the application camera functions and user needs is achieved.
Patent Information
- Application Number
- CN202411745727.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-29
- Publication Date
- 2025-04-25
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The prior art cannot effectively preset the parameters of the built-in camera of the terminal device, such as noise reduction intensity, exposure time, color restoration, etc., resulting in limited improvement in the application of the camera and difficult to meet user needs.
By providing a variety of preset camera categories and camera parameter templates in the terminal device, users can select corresponding templates according to actual needs and support users to customize configuration parameter values to formulate target camera parameters.
It realizes dynamic adjustment of application camera parameters according to user needs, making application camera functions more in line with user needs and improving image acquisition effect.
Smart Images

Figure CN119883397A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of image processing technology and discloses a terminal device, an application camera control method and a storage medium. Background Art
[0002] Currently, there are an increasing number of applications with camera functions. For applications with camera functions, the application side will often set some camera parameters for the application based on the user's functional requirements for the application camera, so that when the terminal device runs the application, the application's camera function can be enabled based on the set camera parameters, so that the image acquisition effect of the application camera can be as close as possible to the user's functional requirements for the application camera.
[0003] However, the application side cannot predict which terminal devices the application will run on, that is, the application side cannot obtain the relevant information about the built-in camera of the terminal device in advance. Therefore, the application side cannot pre-set the parameters such as noise reduction intensity, exposure time, color reproduction, etc., which need to be adapted in combination with the camera hardware information and image processing algorithm of the built-in camera. This leads to very limited improvement in the effect of the application camera and is difficult to meet user needs. Summary of the invention
[0004] The embodiments of the present application provide a terminal device, an application camera control method and a storage medium, which are used to formulate target camera parameters under multiple camera categories through the built-in camera of the device and the camera parameters set by the application. Users can select corresponding templates based on actual needs, and support user-defined configuration parameter values to make the application camera function more in line with user needs.
[0005] To achieve the above purpose, the technical solution of the embodiment of the present application is implemented as follows:
[0006] In a first aspect, an embodiment of the present application provides a terminal device, including a memory and a processor:
[0007] The memory is configured to execute: storing camera parameters corresponding to a plurality of preset camera categories;
[0008] The processor is configured to execute: in response to a user's customized instruction for a target application, displaying a camera category interface of the target application through a display; the camera category interface includes the plurality of preset camera categories;
[0009] In response to a user's category confirmation instruction on the camera category page, a parameter configuration interface is displayed through a display; the parameter configuration interface includes target camera parameters corresponding to the target camera category, and the target camera parameters include application camera parameters carried by the target application and built-in camera parameters of the terminal device; the target camera category is confirmed by the user from the multiple preset camera categories;
[0010] In response to the user's instruction to end editing the parameter configuration interface, a parameter application interface is displayed through the display; the parameter application interface includes the parameter editing value of the target camera parameter, and the parameter editing value is used to instruct the target application to enable the camera function.
[0011] In a second aspect, an embodiment of the present application further provides an application camera control method, including:
[0012] In response to a user's customized instruction for a target application, displaying a camera category interface of the target application through a display; the camera category interface includes a plurality of preset camera categories;
[0013] In response to a category selection instruction of the user on the camera category page, a parameter configuration interface is displayed through a display; the parameter configuration interface includes: target camera parameters corresponding to the target camera category, the target camera category is confirmed by the user from the plurality of preset camera categories; the target camera parameters include: application camera parameters carried by the target application and built-in camera parameters of the terminal device;
[0014] In response to the user's update confirmation instruction for the parameter configuration interface, a parameter application interface is displayed through the display; the parameter application interface includes a second camera parameter; the second camera parameter represents the parameter update result of the user on the target camera parameter, and the second camera parameter is used to instruct the target application to enable the second camera parameter to perform an image acquisition operation.
[0015] In a third aspect, an embodiment of the present application further provides an application camera control device, including:
[0016] The category selection module is configured to execute: in response to a user's customized instruction for a target application, display a camera category interface of the target application through a display; the camera category interface includes a plurality of preset camera categories;
[0017] The parameter configuration module is configured to execute: in response to a category selection instruction of the user on the camera category page, display a parameter configuration interface through a display; the parameter configuration interface includes: target camera parameters corresponding to the target camera category, the target camera category is confirmed by the user from the plurality of preset camera categories; the target camera parameters include: application camera parameters carried by the target application and built-in camera parameters of the terminal device;
[0018] The parameter application module is configured to execute: in response to a user's update confirmation instruction for the parameter configuration interface, display a parameter application interface through a display; the parameter application interface includes a second camera parameter; the second camera parameter represents the parameter update result of the user on the target camera parameter, and the second camera parameter is used to instruct the target application to enable the second camera parameter to perform an image acquisition operation.
[0019] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by a computer, the computer executes the method described in the second aspect.
[0020] In a fifth aspect, an embodiment of the present application provides a computer program product, which includes: a computer program code, and when the computer program code runs on a computer, the computer executes the method described in the second aspect.
[0021] In an embodiment of the present application, the terminal device displays a plurality of preset camera categories in the camera category interface in response to the user's customized instructions for the target application, and then displays the target camera parameters corresponding to the target camera category through the parameter configuration interface after the user determines the target camera category of the target application; the target camera parameters include the application camera parameters carried by the target application and the built-in camera parameters of the terminal device. The user can update the numerical value of the target camera parameters in the parameter configuration interface so that the terminal device enables the camera function of the target application based on the updated target camera parameters. In the above process, the corresponding target camera category can be selected based on the user's own camera function requirements for the target application, and the user is supported to customize the camera parameters under the target camera category, thereby realizing customized adaptation of camera parameters for the application, so that the application camera function is more in line with user needs.
[0022] Other features and advantages of the present application will be described in the following description, and partly become apparent from the description, or be understood by practicing the present application. The purpose and other advantages of the present application can be realized and obtained by the structures specifically pointed out in the written description, claims, and drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0024] Figure 1A schematic diagram of the structure of a terminal device provided in an embodiment of the present application;
[0025] Figure 2 An overall flow chart of an application camera control method provided in an embodiment of the present application;
[0026] Figure 3 A schematic diagram of a category selection interface provided in an embodiment of the present application;
[0027] Figure 4 A schematic diagram of camera usage and common applications under each preset camera category provided in an embodiment of the present application;
[0028] Figure 5 A schematic diagram of a category recommendation component in a category selection interface provided in an embodiment of the present application;
[0029] Figure 6 A schematic diagram of application description information of a target application at an application download end provided in an embodiment of the present application;
[0030] Figure 7 A flow chart for generating target camera parameters provided in an embodiment of the present application;
[0031] Figure 8 A schematic diagram of target camera parameters provided in an embodiment of the present application;
[0032] Fig. 9 A schematic diagram of a parameter configuration interface provided in an embodiment of the present application;
[0033] Fig.10 A schematic diagram of a built-in configuration component in a parameter configuration interface provided in an embodiment of the present application;
[0034] Fig.11 A schematic diagram of adjusting a display frame to a state to be edited provided in an embodiment of the present application;
[0035] Fig.12 A schematic diagram of editing built-in camera parameters provided in an embodiment of the present application;
[0036] Fig.13 A schematic diagram of an application configuration component provided in an embodiment of the present application;
[0037] Fig.14 A schematic diagram of an update prompt interface provided in an embodiment of the present application;
[0038] Fig.15 A schematic diagram of a process for editing application camera parameters provided in an embodiment of the present application;
[0039] Fig.16 A schematic diagram of a parameter recommendation component in a parameter configuration interface provided in an embodiment of the present application;
[0040] Fig.17 A schematic diagram of a parameter recommendation interface provided in an embodiment of the present application;
[0041] Fig.18 A schematic diagram of a process for replacing current parameter values with recommended parameter values provided in an embodiment of the present application;
[0042] Fig.19 A schematic diagram of the structure of a camera control device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0043] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present application.
[0044] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. On the contrary, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the attached claims.
[0045] To facilitate understanding of the technical solution provided by this application, the technical background of this application is described in detail below:
[0046] For example, mobile phones, tablet computers and other terminal devices equipped with camera modules usually preset a set of default camera parameters based on pre-recorded image processing algorithms (such as noise reduction algorithms, histogram equalization algorithms, etc.) and camera hardware information (such as camera pixels, camera aperture size, camera photosensitive area, etc.). Taking mobile phones as an example, when users enable the camera application that comes with the phone, this set of default camera parameters will be used for image acquisition.
[0047] Mobile phones usually carry many kinds of applications. For applications with camera functions, some popular applications will build some camera parameters into the applications based on the user's functional requirements for the application camera in order to improve user satisfaction, so that the image acquisition effect of the application camera can be as close as possible to the user's functional requirements for the application camera.
[0048] For applications that do not have default camera parameters, when the mobile phone enables the camera function of such applications, the default camera parameters originally used for the mobile phone's built-in camera application will be used to capture images.
[0049] In addition, for applications with default camera parameters, since the application cannot know the camera hardware information of the terminal device in advance, the application cannot pre-set camera parameters such as exposure time, color reproduction, etc., which need to be adapted in combination with the camera hardware information, and camera parameters such as noise reduction intensity, which need to be combined with the type of noise reduction algorithm built into the device.
[0050] Therefore, when the camera function of such an application is enabled on a mobile phone, the default camera parameters originally used for the mobile phone's built-in camera application are often used to collect images in combination with the built-in camera parameters of the application. This results in very limited improvement in the effect of the application camera, making it difficult to meet user needs.
[0051] In view of this, the inventive concept of the embodiment of the present application is as follows: the terminal device can display a variety of preset camera categories in the camera category interface in response to the user's customized instructions for the target application, and then after the user determines the target camera category of the target application, the target camera parameters corresponding to the target camera category are displayed through the parameter configuration interface; the target camera parameters include the application camera parameters carried by the target application and the built-in camera parameters of the terminal device. The user can update the numerical value of the target camera parameters in the parameter configuration interface, so that the terminal device enables the camera function of the target application based on the updated target camera parameters. In the above process, the corresponding target camera category can be selected based on the user's own camera function requirements for the target application, and the user is supported to customize the camera parameters under the target camera category, thereby realizing customized adaptation of camera parameters for the application, so that the application camera function is more in line with user needs.
[0052] Figure 1 A schematic diagram of the structure of the terminal device 100 according to an embodiment of the present application is shown. Figure 1 As shown, the terminal device 100 may include at least one of a tuner and demodulator 210, a communication device 220, a detector 230, an external device interface 240, a processor 250, a display 260, an audio output interface 270, a memory 280, a power supply, and a user input interface 290.
[0053] In some embodiments, the processor 250 may include a central processing unit, a video processor, an audio processor, a graphics processor, a RAM, a ROM, and a first interface to an nth interface for input / output. The display 260 may be a display with a touch function, such as a touch display. The detector 230 is used to collect signals from the external environment or interact with the outside. The processor 250 and the tuner-demodulator 210 may be located in different split devices, that is, the tuner-demodulator 210 may also be in an external device of the main device where the processor 250 is located, such as an external set-top box.
[0054] In some embodiments, the processor 250 can control the operation of the display device and respond to the user's operation through various software control programs stored in the memory. The processor 250 controls the overall operation of the terminal device 100.
[0055] In some embodiments, the display 260 may include a display screen component for presenting images, a driving component for driving image display, a component for receiving an image signal output from a processor, and a component for displaying video content, image content, and a menu control interface and a user control UI interface. The display 260 may be a liquid crystal display, an OLED display, and a projection display.
[0056] The communication device 220 is a component for communicating with an external device or server according to various communication protocol types. For example, the communication device may include at least one of a Wifi module, a Bluetooth module, a wired Ethernet module, and other network communication protocol chips or near field communication protocol chips, and an infrared receiver. The terminal device 100 can establish the transmission and reception of control signals and data signals with an external control device or server through the communication device 220.
[0057] The detector 230 is used to collect signals from the external environment or the external interaction. For example, the detector 230 may include a light receiver, a sensor for collecting the intensity of ambient light; or, the detector 230 may include an image collector, such as a camera, which may be used to collect external environment scenes, user attributes or user interaction gestures; or, the detector 230 may include a sound collector, such as a microphone, etc., for receiving external sounds.
[0058] The external device interface 240 may include, but is not limited to, any one or more of the following interfaces: a high-definition multimedia interface (HDMI), an analog or digital high-definition component input interface (component), a composite video input interface (CVBS), a USB input interface (USB), an RGB interface, etc. It may also be a composite input / output interface formed by the above multiple interfaces.
[0059] In some embodiments, the processor 250 and the tuner-demodulator 210 may be located in different separate devices, that is, the tuner-demodulator 210 may also be located in an external device of the main device where the processor 250 is located.
[0060] In some embodiments, the processor 250 can control the operation of the terminal device 100 and respond to the user's operation through various software control programs stored in the memory 280. The processor 250 can control the overall operation of the terminal device 100. For example, in response to receiving a user command for selecting a UI object to be displayed on the display 260, the processor 250 performs an operation related to the object selected by the user command.
[0061] The user may input a user command through a graphical user interface (GUI) displayed on the display 260, and the user input interface receives the user input command through the graphical user interface (GUI). Alternatively, the user may input a user command through a specific sound or gesture, and the user input interface recognizes the sound or gesture through a sensor to receive the user input command.
[0062] The user input interface 290 may be used to receive a control signal from a control device.
[0063] In some embodiments, the memory 280 stores camera parameters corresponding to a plurality of preset camera categories; the processor 250 is configured to execute Figure 2 An application control method is shown, Figure 2 The overall process of an application control method provided by an embodiment of the present application is shown as follows Figure 2 As shown, the method may include the following steps:
[0064] Step 201: In response to a user's customized instruction for a target application, displaying a camera category interface of the target application through a display; the camera category interface includes the plurality of preset camera categories;
[0065] Take a mobile phone as an example to illustrate the terminal device that carries the target application. Figure 3 As shown, the user can trigger the customized instruction through the target application by double-clicking, long pressing, and other preset triggering methods. The mobile terminal can respond to the customized instruction of the target application and display the category selection interface of the target application in a full-screen interface. The category selection interface can include multiple preset camera categories set for the application terminal in the embodiment of the present application. In addition, in order to apply to more scenarios, the category selection interface can also adopt Figure 3 The small window shown is displayed, and its specific display method can be set according to actual needs, and this application does not limit this.
[0066] The present application embodiment counts the camera usage of common applications with camera functions on the market, and divides the applications into the following categories according to their camera usage: Figure 4 The three preset camera categories shown:
[0067] The first camera category is used for scanning and recognizing images. The applications corresponding to the first camera category are mainly payment and shopping applications. Users enable the camera function through such applications mainly to scan codes for payment or recognize images to search for products.
[0068] The second camera category is used for portrait capture. The corresponding applications of the second camera category are mainly video production and beauty camera applications. Users enable the camera function through such applications mainly to take better portraits or landscape photos.
[0069] The third camera category is used for scanning code, recognizing images and capturing portraits. The applications corresponding to the third camera category can be understood as comprehensive applications. The camera functions of such applications are frequently used in both scanning code, recognizing images and capturing portraits. Such applications can be, for example, chat and game applications that have payment and photo and screen recording functions.
[0070] In some embodiments, the camera category page may have the following Figure 5 As shown, a category recommendation component is provided, and related prompt words such as "Not sure how to choose the camera category?" can be set next to the component to remind the user that when they do not know how to choose the camera category of the target application, they can click on the category recommendation component and let the system make recommendations.
[0071] When the user does not know how to select the camera category of the target application, the user can click on the category recommendation component to send a trigger instruction to the mobile phone. The mobile phone can respond to the user's trigger instruction on the category recommendation component in the camera category page and display the category recommendation interface through the display. Figure 5 As shown, the category recommendation page may include at least one recommended camera category; each recommended camera category is one of a plurality of preset camera categories.
[0072] In some embodiments, the mobile phone terminal can respond to the user's trigger instruction on the category recommendation component in the camera category page, obtain the application description information of the target application on the application download terminal, and then determine the recommended camera category of the target application from the preset camera categories based on the application description information.
[0073] Specifically, in actual application download scenarios, users often download target applications through download terminals such as the "application store" that comes with the device or application websites found through web searches. Figure 6As shown, after the user enables the device's built-in application store, he or she can jump to the target application's application download terminal by entering the application name of the target application in the search bar. The target application usually carries application description information about the application in the application download terminal. For example Figure 6 The target application "XX Beauty Camera" shown in the application description information may be "A beauty camera focused on young people, with 4K shooting mode, and multiple photo editing black technologies such as water light skin, 3D rhinoplasty, and tooth correction!". It can be seen that the target application records the main purpose of the target application's camera function in the application description information on the application download end.
[0074] In some embodiments, the mobile terminal can be used by the user to click the aforementioned Figure 5 After the category recommendation component is shown, the application download interface is called, and then the application description information of the target application is read from the application download end, and then the semantic recognition algorithm is used to perform keyword recognition on the application description information to obtain at least one recommended camera category. It should be understood that when there are multiple recommended camera categories, they can be sorted from high to low according to the recognition accuracy and displayed in the aforementioned category recommendation interface.
[0075] For example, when the application description information carries words such as payment and shopping, the first camera category can be used as the recommended camera category for the target application. For another example, when the application description information carries words such as beauty, face slimming, scenery, and video production, the second camera category can be used as the recommended camera category for the target application. For another example, when the application description information carries words such as chat and game, the third camera category can be used as the recommended camera category for the target application.
[0076] In some embodiments, the recommended camera category can be pre-set for popular applications (such as the top 50 popular applications downloaded from the application store). When the application downloaded by the user is a top 50 application, if the category recommendation component is clicked on the category selection interface, the terminal device can directly call the pre-set recommended camera category of the application according to the application name of the application. For less popular applications, the aforementioned semantic recognition algorithm can be used to obtain its recommended camera category through keyword recognition.
[0077] Step 202: In response to a category confirmation instruction of the user on the camera category page, a parameter configuration interface is displayed through a display; the parameter configuration interface includes target camera parameters corresponding to the target camera category, and the target camera parameters include application camera parameters carried by the target application and built-in camera parameters of the terminal device; the target camera category is confirmed by the user from the multiple preset camera categories;
[0078] Continue as Figure 5As shown, the user can select a target recommended category from the recommended camera categories displayed on the category recommendation interface, and the mobile terminal responds to the user's category confirmation instruction in the target recommended category by displaying the parameter configuration interface in step 202 through the display.
[0079] In the embodiment of the present application, corresponding target camera parameters are set for each preset camera category, and the target camera parameters may include two types of camera parameters: application camera parameters carried by the target application and built-in camera parameters of the terminal device.
[0080] In the embodiment of the present application, the target camera parameters corresponding to any target camera category can be obtained by Figure 7 The process shown is determined as follows: Figure 7 As shown, the following steps are included:
[0081] Step 701: selecting a built-in camera parameter having a different meaning from the application camera parameter from the default camera parameters set in the device camera of the terminal device; the default camera parameter is set based on the built-in camera of the terminal device;
[0082] As mentioned above, terminal devices equipped with camera modules, such as mobile phones and tablets, usually preset a set of default camera parameters based on pre-recorded image processing algorithms and camera hardware information. This set of default parameters is used when the mobile phone's built-in camera is used for image acquisition. There is usually no particularly obvious emphasis on the purpose of the camera. It can be understood as a relatively balanced set of parameters for image quality, clarity, image recognition speed, etc. The default camera parameters may include: exposure time, camera frame rate, sensitivity, white balance, contrast, sharpness, halo, noise reduction intensity, flash brightness, noise level, color reproduction, color saturation and other common camera parameters that are factory-adapted for mobile phones.
[0083] Since the application camera parameters are set by the application side based on the user's camera requirements for its own application, it is believed in the embodiment of the present application that it can better meet the user's camera requirements during use. Therefore, when obtaining the target camera parameters, it is necessary to first select the built-in camera parameters that do not appear in the application camera parameters from the default camera parameters.
[0084] Step 702: adjusting the parameter values of the built-in camera parameters based on the target camera category, the camera hardware information of the built-in camera, and the image processing algorithm;
[0085] In some embodiments, the built-in camera parameters may include: exposure time, noise reduction intensity, flash brightness, noise level, color reproduction, color saturation, some or all of which are related to scanning code recognition and improving image quality, and need to be adapted in combination with camera hardware information and built-in image processing algorithms, so the application end cannot pre-adapt. Furthermore, since each preset camera category (i.e., the first to third camera categories mentioned above) can reflect the user's demand for application camera functions, corresponding built-in camera parameters can be set for each preset camera category.
[0086] In some embodiments, the built-in camera parameters under the first camera category may include sensitivity, contrast, exposure time, noise reduction strength, and flash brightness, which are parameters that can improve image clarity and image recognition speed. The built-in camera parameters under the second camera category may include sensitivity, contrast, noise level, color reproduction, color saturation, etc., which are parameters that can improve image quality and make portraits and landscapes more realistic and full in color. The built-in camera parameters under the third camera category may include the remaining default camera parameters except for the application camera parameters.
[0087] On this basis, the embodiment of the present application sets corresponding parameter adjustment values for the built-in camera parameters under each preset camera category. In this way, the target camera category selected by the user can determine the camera purpose. Then, in combination with the camera purpose, camera hardware information and image processing algorithm, a parameter adjustment value that can better reflect the camera purpose is set for each built-in camera parameter.
[0088] It should be noted that the specific numerical values of the parameter adjustment values need to be adapted in combination with the built-in image processing algorithm and camera hardware parameters of the mobile phone. This application does not limit this. The focus of this step is to combine the user's camera function requirements for the application end (i.e., the target camera category) and the image processing capabilities of the built-in camera on the mobile phone (i.e., the image processing algorithm and camera hardware parameters) to adapt in advance the parameter adjustment values that meet the user's camera function requirements for the application end as much as possible.
[0089] In some embodiments, if the target camera category is the first camera category, the exposure time, noise reduction intensity and flash brightness can be used as built-in camera parameters corresponding to the camera category. During implementation, the exposure time and noise reduction intensity can be reduced by the corresponding parameter adjustment values under the camera category, and the flash brightness can be increased by the corresponding parameter adjustment value under the camera category. Specifically, when the camera category is the first camera category, in order to improve the image recognition efficiency, the flash brightness should be increased to improve the image clarity, the noise reduction intensity should be used to make the edge contour of the lighter QR code clearer and easier to recognize, and the exposure time should be reduced to increase the decoding speed and thus improve the image recognition efficiency.
[0090] In some embodiments, if the target camera category is the second camera category, the noise level, color reproduction and color saturation can be used as the built-in camera parameters corresponding to the camera category. During implementation, the noise level, color reproduction and color saturation are all increased by the corresponding parameter adjustment values under the camera category; specifically, when the camera category is the second camera category, in order to improve the image quality, the noise level should be increased to make the image quality clearer and more three-dimensional, and the color reproduction and color saturation should also be increased to improve the color effect of the image.
[0091] In some embodiments, if the target camera category is the third camera category, no corresponding built-in camera parameters are set for the camera category. The reason is that as mentioned above, the applications of the third camera category are frequently used in both scanning code recognition and portrait collection. Based on this, for such applications, the default camera parameters that come with the mobile phone can be selected to adapt to the requirements of scanning code recognition, improving image quality, etc. For example, the default camera parameter "exposure time" is compared with the application camera parameters to confirm that it is a built-in camera parameter. Then if the target camera category is the third camera category, the parameter value of "exposure time" preset by the factory on the mobile phone can be directly used, and there is no need to perform the aforementioned step 702 to adjust the parameter value of "exposure time".
[0092] Step 703: Determine the target camera parameters corresponding to the target camera category according to the application camera parameters and the target camera parameters;
[0093] That is, the application camera parameters and the built-in camera parameters whose parameter values have been updated in step 702 are both used as the target camera parameters corresponding to the target camera category.
[0094] For ease of understanding, the following example is taken from the target application of the first camera category mentioned above. Assume that the default camera parameters of the mobile phone may include: exposure time, camera frame rate, sensitivity, white balance, contrast, noise reduction intensity, flash brightness, noise level, color reproduction, color saturation: application camera parameters include: sensitivity, white balance, contrast;
[0095] When implementing Figure 8 As shown, the built-in camera parameters with different meanings from the application camera parameters are found in advance from the default camera parameters of the mobile phone: exposure time, camera frame rate, sharpness, halo, noise reduction intensity, flash brightness, noise level, color reproduction, and color saturation.
[0096] For the built-in camera parameters under the first camera category: the exposure time and the noise reduction strength are reduced by the corresponding parameter adjustment values under the camera category, and the flash brightness is increased by the corresponding parameter adjustment value under the camera category, thereby completing the parameter value adjustment operation for the built-in camera parameters in step 702. After the adjustment is completed, the application camera parameters and the built-in camera parameters are used as the target camera parameters corresponding to the target camera category.
[0097] Step 203: In response to the user's instruction to end editing the parameter configuration interface, a parameter application interface is displayed through the display; the parameter application interface includes the parameter editing value of the target camera parameter, and the parameter editing value is used to instruct the target application to enable the camera function.
[0098] When the user selects the target camera category of the target application from the aforementioned category selection interface, the user is redirected to the parameter configuration interface, which displays the target camera parameters corresponding to the target camera category. Figure 8 Take an example to illustrate, Fig. 9 As shown: After the user clicks the first camera category from the category selection interface (i.e., sets the target camera category of the target application to the first camera category), the user is redirected to the parameter configuration interface, where the following information is displayed: Figure 8 All target camera parameters corresponding to the first camera category are shown.
[0099] In some embodiments, each built-in camera parameter in the parameter configuration interface is provided with a corresponding built-in configuration component; the user can trigger an instruction to the mobile phone by clicking on the first configuration component in the parameter configuration interface, and the mobile phone adjusts the display box of the first specified parameter in the parameter configuration interface to a to-be-edited state in response to the user's trigger instruction to the first configuration component in the parameter configuration interface; the first configuration component is any one of the built-in configuration components; the first specified parameter is the built-in camera parameter corresponding to the first configuration component.
[0100] Continue with the above Fig. 9 Take the parameter configuration interface shown in the figure as an example. Fig.10 As shown, Fig.10 There are corresponding built-in configuration components next to all the built-in camera parameters shown. The built-in configuration component clicked by the user is called the first configuration component, for example Fig.11 As shown, after the user clicks the first configuration component next to "exposure time", the display box of "exposure time" (i.e., the first specified parameter) in the current interface can be adjusted to a waiting-to-edit state. In specific implementation, the parameter value display box of "exposure time" can be adjusted to a waiting-to-edit state, and the user can trigger the end editing instruction by double-clicking the parameter value display box of "exposure time", and insert an input cursor in the parameter value display box, so that the user can customize the parameter value of "exposure time" by inputting the cursor.
[0101] After completing the editing operation of each display frame, the user can send an end editing instruction to the mobile phone, and the mobile phone can respond to the user's end editing instruction of the display frame and display the parameter application interface. The parameter application interface is the display of the result after the user adjusts the camera parameters in the parameter configuration interface. Fig.11 Example description, specific Fig.12 As shown, a confirmation key indicating that the user has ended the editing operation on each built-in camera parameter is set at the bottom of the parameter configuration interface. Assuming that the user has only edited the current parameter value of "exposure time", the user can click the confirmation key to trigger the end editing instruction in the display box after editing the current parameter value of "exposure time" from "cc" to "ss". The mobile phone can jump to the parameter application interface in response to the instruction. The parameter application interface displays the parameter editing value of each target camera parameter corresponding to the target camera category.
[0102] Among them, for the target camera parameters that are not edited by the user (i.e. Fig.12 For the parameters except "exposure time" in the parameter application interface, the parameter editing value in the parameter application interface is the parameter value displayed in the parameter configuration interface. Fig.12 The parameter editing value displayed in the parameter application interface is the "ss" edited by the user.
[0103] It should be noted that the above embodiment only supports users to update the parameter values of the built-in camera parameters in the target camera parameters. The main reason is that the application camera parameters are set by the application end according to the user's camera requirements for its own application. In the embodiment of the present application, it is believed that it can better meet the user's camera requirements during use. If the user blindly adjusts the application camera parameters, there is a risk of reducing image quality. Therefore, the user may not be allowed to adjust the application camera parameters.
[0104] To apply to more scenarios, each application camera parameter in the parameter configuration interface may have a corresponding application configuration component. The user may trigger a command to the mobile phone by clicking on the second configuration component in the parameter configuration interface; wherein the second configuration component is any one of the application configuration components; and the second specified parameter is the application camera parameter corresponding to the second configuration component.
[0105] With the aforementioned Fig.10 Take the parameter configuration interface shown in the figure as an example. Fig.13 As shown, Fig.13 There are corresponding application configuration components next to all the application camera parameters shown, and the application configuration component clicked by the user is called the second configuration component, for example Fig.14As shown, when the user clicks the second configuration component next to "Contrast", the mobile phone can display Fig.14 The update prompt interface shown displays a prompt message for instructing the user whether to confirm updating the application camera parameters: "This parameter is set by the application, are you sure to change the parameter value?".
[0106] When the user confirms the modification, click Fig.14 The confirmation button in the update prompt interface shown in the figure is pressed to send a confirmation instruction. Fig.15 As shown, in response to the user's confirmation instruction on the update prompt interface, the second specified parameter (i.e., the aforementioned Fig.14 The "contrast" in the parameter configuration interface is adjusted to the editable state. Figure 11-12 The parameter value editing process shown is to modify the parameter value of "Contrast", thereby meeting the user's custom setting requirements for application camera parameters.
[0107] In addition, considering that the specific use of camera parameters in image acquisition is not clear to most users, that is, users may only feel that the application camera function does not meet their expectations, but do not know how to adjust the camera parameters. Based on this, the parameter configuration interface of the embodiment of the present application can also be as follows Fig.16 As shown in FIG. 1 , a corresponding parameter recommendation component is set for each target camera parameter. Fig.15 Take the parameter configuration interface shown in the figure as an example. When the user does not know how to adjust the camera parameters, he can click the corresponding parameter recommendation component. The mobile terminal can respond to the user's click operation on the parameter recommendation component in the parameter configuration interface and display the parameter recommendation interface; the parameter recommendation interface includes at least one recommended parameter value of a third specified parameter; the third specified parameter is the target camera parameter corresponding to the parameter recommendation component. For example, click Fig.16 If the parameter recommendation component next to "exposure time" is shown, then "exposure time" is the third specified parameter.
[0108] In some embodiments, after the user clicks on the parameter recommendation component, the terminal device can obtain the reference camera parameters used by the reference device when running the target application, and the terminal device can determine the recommended parameter values according to the reference camera parameters. Wherein, the reference device is the same model as the terminal device, for example, if the terminal device is a model A mobile phone of a certain brand, then other mobile phones of the model with the target application installed are the reference devices.
[0109] like Fig.17As shown in the figure, assuming that the third specified parameter corresponding to the parameter recommendation component clicked by the user is "exposure time", then the parameter value set for "exposure time" in the target application of each reference device is the recommended parameter value. Specifically, based on the user's prior permission, the parameter values set for "exposure time" in the target applications of a specified number (for example, 10,000) of reference devices can be obtained, and the top N groups of parameter values with the highest frequency (for example, Top10) can be counted as recommended parameter values. Then, according to Fig.17 As shown, each recommended parameter value is recommended to the user for selection in descending order of frequency of occurrence.
[0110] In some embodiments, the parameter recommendation interface may automatically enable parameter modification permissions, for example Fig.18 As shown in the figure, after the user clicks the parameter recommendation component of "exposure time", the corresponding parameter recommendation interface pops up. After the user selects the recommended parameter value "A1" from the parameter recommendation interface, the user can directly return to the parameter configuration interface and modify the parameter value of "exposure time" in the parameter configuration interface to "A1".
[0111] In addition, considering that some high-end models currently have underwater modes, users can give instructions to their phones in water after enabling underwater mode. It should be understood that no matter which of the aforementioned camera categories is used, the primary issue to be addressed when enabling the camera underwater is image clarity. The brightness underwater is usually low, and the current practice is mainly to force the flash to be turned on when the phone performs the image acquisition function after the underwater mode is activated to increase the light intensity, but this method has very limited effect on improving image quality.
[0112] Based on this, after the terminal device of the embodiment of the present application enables the camera function in the target application, it can pre-determine whether the underwater mode has been enabled. If the underwater mode is currently enabled, the current diving depth and sensitivity can be obtained through the preset sensor. Then, the target camera parameters currently adapted to the camera function of the target application are adjusted according to the diving depth and sensitivity. That is, the target camera parameters currently saved by the target application in the aforementioned parameter application interface.
[0113] In some embodiments, after the user enables the camera function of the target application, it is detected whether the terminal device has currently enabled the underwater mode. If the underwater mode is enabled, the current diving depth and sensitivity are obtained. When the diving depth and sensitivity meet any diving condition, the parameter value of the specified camera parameter in the application parameter interface is adjusted to the parameter calibration value set under the diving condition; wherein the specified camera parameters include: exposure time, flash brightness, blue tone elimination, camera frame rate, part or all of them.
[0114] In some embodiments, the preset diving conditions may include some or all of the following diving conditions:
[0115] Condition 1: The diving depth is less than the depth threshold, and the sensitivity is less than the sensitivity threshold;
[0116] Condition 2: The diving depth is less than the depth threshold, and the sensitivity is not less than the sensitivity threshold;
[0117] Condition three: the diving depth is not less than the depth threshold, and the sensitivity is less than the sensitivity threshold;
[0118] Condition 4: The diving depth is not less than the depth threshold, and the sensitivity is not less than the sensitivity threshold.
[0119] Among them, the depth threshold can be set to 1M, and the sensitivity threshold can be set to 2000ISO.
[0120] Since the mobile phone cannot directly know the impact of the current underwater brightness on the image acquisition effect, the diving depth and sensitivity can be obtained through the sensor, and the impact of the current underwater overall environment on image clarity can be judged from the two dimensions of water depth and light.
[0121] For the above condition 1, when the diving depth is less than 1M and the sensitivity is less than 2000ISO, it indicates that the current underwater environment has a lesser impact on the image clarity. Compared with the non-underwater mode, the flash brightness and exposure time can be appropriately increased to improve the image clarity. In addition, since the overall underwater environment tends to be blue, the blue tone elimination can be appropriately increased to avoid distortion caused by the image being too blue. At the same time, the frame rate can be appropriately lowered to ensure the stability of the image quality of underwater image acquisition. For example, the flash brightness can be adjusted to level 4, the exposure time can be adjusted to level 4, the blue tone elimination can be adjusted to level 4, and the frame rate can be controlled at around 24 frames.
[0122] For the above condition 2, when the diving depth is less than 1M and the sensitivity is ≥2000ISO, it indicates that the current underwater environment has a moderate impact on the image clarity. Compared with the above condition 1, due to the lower sensitivity under the current conditions, the flash brightness and exposure time should be further increased to improve the image clarity. At the same time, the frame rate should be further reduced to ensure the stability of the image quality of underwater image acquisition. For example, the flash brightness can be adjusted to level 5, the exposure time can be adjusted to level 5, the blue tone elimination can be adjusted to level 4, and the frame rate can be controlled at about 20 frames.
[0123] For the above condition three, when the diving depth is ≥1M and the sensitivity is <2000ISO, it indicates that the current underwater environment has a moderate impact on the image clarity. Compared with the above condition one, due to the lower sensitivity under the current conditions and the deeper current diving depth, the blue tone elimination should be further improved to avoid distortion caused by the image being too blue. At the same time, the frame rate should be further reduced to ensure the stability of the image quality of underwater image acquisition. For example, the flash brightness can be adjusted to level 4, the exposure time can be adjusted to level 4, the blue tone elimination can be adjusted to level 5, and the frame rate can be controlled at around 20 frames.
[0124] For the above condition 4, when the diving depth is ≥1M and the sensitivity is ≥2000ISO, it indicates that the current underwater environment has a greater impact on the image clarity. Compared with the above condition 1, due to the higher sensitivity under the current conditions, the flash brightness and exposure time should be further increased to improve the image clarity. In addition, due to the deeper current diving depth, the blue tone elimination should be further improved to avoid distortion caused by the image being too blue. For example, the flash brightness can be adjusted to level 5, the exposure time can be adjusted to level 5, the blue tone elimination can be adjusted to level 5, and the frame rate can be controlled at around 15 frames.
[0125] In the above process, the embodiment of the present application can formulate the target camera parameters under different camera categories according to the camera parameters set by the built-in camera of the device and the application. The user can select the target camera category of the target application in the category selection interface based on actual needs, and supports the user to customize the camera parameters under the target camera category, thereby realizing customized adaptation of camera parameters for the application, so that the application camera function is more in line with user needs. For terminal devices with underwater mode, when the device enables the target application underwater, the embodiment of the present application can obtain the current diving depth and sensitivity through the preset sensor. Then adjust the specified camera parameters currently adapted to the target application according to the diving depth and sensitivity to improve the image acquisition effect of the camera underwater.
[0126] Based on the same inventive concept, the present application embodiment also provides an application camera control device, specifically as follows Fig.19 As shown, it may include:
[0127] The category selection module 191 is configured to execute: in response to a user's customized instruction for a target application, display a camera category interface of the target application through a display; the camera category interface includes a plurality of preset camera categories;
[0128] The parameter configuration module 192 is configured to execute: in response to a category selection instruction of the user on the camera category page, display a parameter configuration interface through a display; the parameter configuration interface includes: target camera parameters corresponding to the target camera category, the target camera category is confirmed by the user from the plurality of preset camera categories; the target camera parameters include: application camera parameters carried by the target application and built-in camera parameters of the terminal device;
[0129] The parameter application module 193 is configured to execute: in response to the user's update confirmation instruction for the parameter configuration interface, display the parameter application interface through the display; the parameter application interface includes the second camera parameter; the second camera parameter represents the parameter update result of the user for the target camera parameter, and the second camera parameter is used to instruct the target application to enable the second camera parameter to perform an image acquisition operation.
[0130] In some embodiments, the camera category page is provided with a category recommendation component; in response to the user's category confirmation instruction on the camera category page, the category selection module 191 is specifically configured to display a parameter configuration interface through a display:
[0131] In response to a user triggering instruction on a category recommendation component in the camera category page, displaying a category recommendation interface through a display; the category recommendation page includes at least one recommended camera category; each recommended camera category is one of the plurality of preset camera categories;
[0132] In response to a user confirmation instruction for a category in a target recommended category, the parameter configuration interface is displayed through a display; the target recommended category is one of the at least one recommended camera category and is the same as the target camera category.
[0133] In some embodiments, each built-in camera parameter in the parameter configuration interface is provided with a corresponding built-in configuration component; executing the configuration instruction of the parameter configuration interface in response to the user, displaying the parameter application interface through the display, the parameter application module 193 is specifically configured as follows:
[0134] In response to a user triggering instruction on a first configuration component in the parameter configuration interface, a display box of a first designated parameter in the parameter configuration interface is adjusted to a waiting-to-edit state; the first configuration component is any one of the built-in configuration components; the first designated parameter is a built-in camera parameter corresponding to the first configuration component;
[0135] In response to the user's instruction to end editing the display frame, the parameter application interface is displayed.
[0136] In some embodiments, each application camera parameter in the parameter configuration interface is provided with a corresponding application configuration component; the parameter configuration module 192 is further configured as follows:
[0137] In response to a user triggering instruction for a second configuration component in the parameter configuration interface, an update prompt interface is displayed through a display; the update prompt interface includes prompt information for indicating whether the user confirms to update the application camera parameters;
[0138] In response to a user confirmation instruction on the update prompt interface, a display box of a second designated parameter in the parameter configuration interface is adjusted to a waiting-to-edit state; the second configuration component is any one of the application configuration components; the second designated parameter is an application camera parameter corresponding to the second configuration component;
[0139] In response to the user's instruction to end editing the display frame, the parameter application interface is displayed.
[0140] In some embodiments, the parameter configuration interface is provided with a parameter recommendation component corresponding to each target camera parameter; before executing the response to the user's instruction to end editing the display frame, the parameter configuration module 192 is further configured to:
[0141] In response to a user clicking on a parameter recommendation component in the parameter configuration interface, a parameter recommendation interface is displayed; the parameter recommendation interface includes a recommended parameter value of at least one third specified parameter; the third specified parameter is a target camera parameter corresponding to the parameter recommendation component.
[0142] In some embodiments, the recommended parameter value is determined based on a reference camera parameter, which is a camera parameter used by a reference device when running the target application; the reference device has the same device model as the terminal device; and the reference camera parameter has the same meaning as the third specified parameter.
[0143] In some embodiments, the parameter application module 193 is further configured to:
[0144] In response to a camera activation instruction issued by a user to the target application, if it is detected that the terminal device has activated the underwater mode, obtaining a current diving depth and sensitivity;
[0145] When the diving depth and the sensitivity meet any diving condition, the parameter value of the specified camera parameter in the application parameter interface is adjusted to the parameter calibration value set under the diving condition; wherein the specified camera parameter includes: exposure time, flash brightness, blue tone elimination, camera frame rate, part or all of them;
[0146] The diving conditions include some or all of the following conditions:
[0147] Condition 1: The diving depth is less than the depth threshold, and the sensitivity is less than the sensitivity threshold;
[0148] Condition 2: The diving depth is less than the depth threshold, and the sensitivity is not less than the sensitivity threshold;
[0149] Condition three: the diving depth is not less than the depth threshold, and the sensitivity is less than the sensitivity threshold;
[0150] Condition 4: The diving depth is not less than the depth threshold, and the sensitivity is not less than the sensitivity threshold.
[0151] In some embodiments, the preset camera categories include: part or all of a first camera category representing a category used for scanning code recognition and image recognition, a second camera category representing a category used for portrait capture, and a third camera category representing a category used for scanning code recognition and image capture.
[0152] An embodiment of the present application further provides a computer storage medium, in which computer program instructions are stored. When the instructions are executed on a computer, the computer executes any one of the steps of the above-mentioned camera control method.
[0153] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.
[0154] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0155] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0156] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of instruction steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable device. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0157] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.
Claims
1. A terminal device, characterized in that: Including memory and processor: The memory is configured to execute: storing camera parameters corresponding to a plurality of preset camera categories; The processor is configured to execute: in response to a user's customized instruction for a target application, displaying a camera category interface of the target application through a display; the camera category interface includes the plurality of preset camera categories; In response to a user's category confirmation instruction on the camera category page, a parameter configuration interface is displayed through a display; the parameter configuration interface includes target camera parameters corresponding to the target camera category, and the target camera parameters include application camera parameters carried by the target application and built-in camera parameters of the terminal device; the target camera category is confirmed by the user from the multiple preset camera categories; In response to the user's instruction to end editing the parameter configuration interface, a parameter application interface is displayed through the display; the parameter application interface includes the parameter editing value of the target camera parameter, and the parameter editing value is used to instruct the target application to enable the camera function.
2. The terminal device according to claim 1, characterized in that: The camera category page is provided with a category recommendation component; executing the response to the user's category confirmation instruction on the camera category page, displaying a parameter configuration interface through the display, the processor is specifically configured to: In response to a user triggering instruction on a category recommendation component in the camera category page, displaying a category recommendation interface through a display; the category recommendation page includes at least one recommended camera category; each recommended camera category is one of the plurality of preset camera categories; In response to a user confirmation instruction for a category in the target recommendation category, displaying the parameter configuration interface through a display; The target recommendation category is one of the at least one recommended camera category and is the same as the target camera category.
3. The terminal device according to claim 1, characterized in that: Each built-in camera parameter in the parameter configuration interface is provided with a corresponding built-in configuration component; executing the configuration instruction of the parameter configuration interface in response to the user, and displaying the parameter application interface through the display, the processor is specifically configured to: In response to a user triggering instruction on a first configuration component in the parameter configuration interface, a display box of a first designated parameter in the parameter configuration interface is adjusted to a waiting-to-edit state; the first configuration component is any one of the built-in configuration components; the first designated parameter is a built-in camera parameter corresponding to the first configuration component; In response to the user's instruction to end editing the display frame, the parameter application interface is displayed.
4. The terminal device according to claim 1, characterized in that: Each application camera parameter in the parameter configuration interface is provided with a corresponding application configuration component; the processor is further configured to: In response to a user triggering instruction for a second configuration component in the parameter configuration interface, an update prompt interface is displayed through a display; the update prompt interface includes prompt information for indicating whether the user confirms to update the application camera parameters; In response to a user confirmation instruction on the update prompt interface, a display box of a second designated parameter in the parameter configuration interface is adjusted to a waiting-to-edit state; the second configuration component is any one of the application configuration components; the second designated parameter is an application camera parameter corresponding to the second configuration component; In response to the user's instruction to end editing the display frame, the parameter application interface is displayed.
5. The terminal device according to claim 3 or 4, characterized in that: The parameter configuration interface is provided with a parameter recommendation component corresponding to each target camera parameter; before executing the response to the user's instruction to end editing the display frame, the processor is further configured to: In response to a user clicking on a parameter recommendation component in the parameter configuration interface, displaying a parameter recommendation interface; the parameter recommendation interface includes a recommended parameter value of at least one third specified parameter; The third specified parameter is the target camera parameter corresponding to the parameter recommendation component.
6. The terminal device according to claim 5, characterized in that: The recommended parameter value is determined based on a reference camera parameter, which is a camera parameter used by a reference device when running the target application; the reference device has the same device model as the terminal device; and the reference camera parameter has the same meaning as the third specified parameter.
7. The terminal device according to any one of claims 1 to 4, characterized in that: The processor is further configured to: In response to a camera activation instruction issued by a user to the target application, if it is detected that the terminal device has activated the underwater mode, obtaining a current diving depth and sensitivity; When the diving depth and the sensitivity meet any diving condition, the parameter value of the specified camera parameter in the application parameter interface is adjusted to the parameter calibration value set under the diving condition; wherein the specified camera parameter includes: exposure time, flash brightness, blue tone elimination, camera frame rate, part or all of them; The diving conditions include some or all of the following conditions: Condition 1: The diving depth is less than the depth threshold, and the sensitivity is less than the sensitivity threshold; Condition 2: The diving depth is less than the depth threshold, and the sensitivity is not less than the sensitivity threshold; Condition three: the diving depth is not less than the depth threshold, and the sensitivity is less than the sensitivity threshold; Condition 4: The diving depth is not less than the depth threshold, and the sensitivity is not less than the sensitivity threshold.
8. The terminal device according to any one of claims 1 to 4, characterized in that: The preset camera categories include: part or all of a first camera category representing a camera used for scanning code and recognizing images, a second camera category representing a camera used for capturing portraits, and a third camera category representing a camera used for scanning code and recognizing images and capturing portraits.
9. An application camera control method, characterized in that: The method comprises: In response to a user's customized instruction for a target application, displaying a camera category interface of the target application through a display; the camera category interface includes a plurality of preset camera categories; In response to a category selection instruction of the user on the camera category page, a parameter configuration interface is displayed through a display; the parameter configuration interface includes: target camera parameters corresponding to the target camera category, the target camera category is confirmed by the user from the plurality of preset camera categories; the target camera parameters include: application camera parameters carried by the target application and built-in camera parameters of the terminal device; In response to the user's update confirmation instruction for the parameter configuration interface, a parameter application interface is displayed through the display; the parameter application interface includes a second camera parameter; the second camera parameter represents the parameter update result of the user on the target camera parameter, and the second camera parameter is used to instruct the target application to enable the second camera parameter to perform an image acquisition operation.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by a computer, the computer is caused to perform the method according to claim 9 .