CN117176855A - Shooting light supplementing method, device and medium - Google Patents
Shooting light supplementing method, device and medium Download PDFInfo
- Publication number
- CN117176855A CN117176855A CN202210577423.4A CN202210577423A CN117176855A CN 117176855 A CN117176855 A CN 117176855A CN 202210577423 A CN202210577423 A CN 202210577423A CN 117176855 A CN117176855 A CN 117176855A
- Authority
- CN
- China
- Prior art keywords
- light
- information
- supplementing
- terminal
- light supplementing
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 230000001502 supplementing effect Effects 0.000 title claims abstract description 262
- 238000000034 method Methods 0.000 title claims abstract description 82
- 230000008569 process Effects 0.000 claims abstract description 23
- 230000006870 function Effects 0.000 claims description 43
- 239000013589 supplement Substances 0.000 claims description 8
- 238000012545 processing Methods 0.000 description 12
- 238000004891 communication Methods 0.000 description 10
- 230000000694 effects Effects 0.000 description 7
- 230000008859 change Effects 0.000 description 6
- 238000005516 engineering process Methods 0.000 description 5
- 238000012360 testing method Methods 0.000 description 5
- 230000003287 optical effect Effects 0.000 description 4
- 230000005236 sound signal Effects 0.000 description 4
- 238000010586 diagram Methods 0.000 description 3
- 238000003384 imaging method Methods 0.000 description 3
- 230000001133 acceleration Effects 0.000 description 2
- 230000002411 adverse Effects 0.000 description 2
- 230000000712 assembly Effects 0.000 description 2
- 238000000429 assembly Methods 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 238000007726 management method Methods 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 230000006978 adaptation Effects 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000000903 blocking effect Effects 0.000 description 1
- 238000012512 characterization method Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 239000011521 glass Substances 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Landscapes
- Studio Devices (AREA)
- Telephone Function (AREA)
Abstract
The disclosure relates to a shooting light supplementing method, a shooting light supplementing device and a medium, and relates to the technical field of shooting. The shooting light supplementing method in the present disclosure includes: acquiring environment light information of the environment where the terminal is located and temperature information of the terminal based on the received light supplementing request; determining light supplementing information according to the ambient light information and the temperature information, wherein the light supplementing information is used for representing a light supplementing mode and/or light supplementing parameters; and according to the light supplementing information, supplementing light to the shooting process using the front-facing camera. According to the shooting light supplementing method, light supplementing information is determined according to temperature information and environment light information of the terminal, and then in the shooting process of a user using the front-end camera, the light supplementing effect is more consistent with the current state of the terminal and the shooting environment, so that the situation that light supplementing is still carried out under the condition that the temperature of the terminal is too high is avoided, the temperature of the terminal is further increased, and the use experience of the user is affected.
Description
Technical Field
The disclosure relates to the technical field of shooting, and in particular relates to a shooting light supplementing method, device and medium.
Background
Along with the popularization of mobile phones and social software, mobile phone self-timer and video call have become a part of daily life of people, and the imaging quality of self-timer and video call has become the focus of attention of users.
If the user is in an environment with darker light, when the user uses the front camera to shoot, in order to obtain a better shooting effect, shooting light supplement is needed. At present, when shooting light filling is carried out, the temperature of the terminal equipment cannot be considered, and when the temperature of the terminal equipment is in a higher state, the light filling is still carried out, so that the temperature of the terminal equipment is further increased, and the use experience of a user is seriously influenced.
Disclosure of Invention
In order to overcome the problems in the related art, the present disclosure provides a photographing light supplementing method, apparatus and medium.
According to a first aspect of embodiments of the present disclosure, there is provided a photographing light supplementing method, applied to a terminal, the photographing light supplementing method including:
acquiring the ambient light information of the environment where the terminal is located and the temperature information of the terminal based on the received light supplementing request;
determining light supplementing information according to the ambient light information and the temperature information, wherein the light supplementing information is used for representing a light supplementing mode and/or a light supplementing parameter;
and according to the light supplementing information, supplementing light in a shooting process using the front camera.
In an exemplary embodiment, the determining the light filling information according to the ambient light information and the temperature information includes:
if the temperature information exceeds a first preset threshold value, prohibiting the use of a light supplementing function;
and if the temperature information is smaller than or equal to the first preset threshold value, determining light supplementing information according to the ambient light information.
In an exemplary embodiment, the determining the light filling information according to the ambient light information includes:
the method comprises the steps of obtaining soft light configuration information, wherein the soft light configuration information is used for representing whether a soft light is configured by the terminal or not;
if the terminal is not provided with the soft light, determining to adopt a screen backlight light supplementing mode for light supplementing;
and determining screen backlight light supplementing parameters according to the ambient light information.
In an exemplary embodiment, the photographing light supplementing method further includes:
if the terminal is configured with the soft light, a screen backlight light supplementing mode and/or a soft light supplementing mode is adopted for light supplementing;
and determining the screen backlight light supplementing parameter and/or the soft light supplementing parameter according to the ambient light information.
In an exemplary embodiment, the acquiring, based on the received light supplementing request, the ambient light information of the environment in which the terminal is located and the temperature information of the terminal includes:
acquiring application configuration information of an application program for sending the light supplementing request;
acquiring white list configuration information, wherein the white list configuration information comprises identification information of all application programs allowing the use of a light supplementing function in a terminal;
and if the application configuration information exists in the white list configuration information, acquiring the ambient light information of the environment where the terminal is located and the temperature information of the terminal.
In an exemplary embodiment, the photographing light supplementing method further includes:
re-acquiring ambient light information and/or temperature information every preset time interval;
and determining whether the current light supplementing information needs to be adjusted according to the re-acquired ambient light information and/or temperature information.
According to a second aspect of embodiments of the present disclosure, there is provided a photographing light supplementing apparatus, applied to a terminal, the photographing light supplementing apparatus including:
the first acquisition module is configured to acquire the ambient light information of the environment where the terminal is located and the temperature information of the terminal based on the received light supplementing request;
the first determining module is configured to determine light supplementing information according to the ambient light information and the temperature information, wherein the light supplementing information is used for representing a light supplementing mode and/or a light supplementing parameter;
and the light supplementing module is configured to supplement light for a shooting process using the front camera according to the light supplementing information.
In an exemplary embodiment, the first determination module is further configured to:
if the temperature information exceeds a first preset threshold value, prohibiting the use of a light supplementing function;
and if the temperature information is smaller than or equal to the first preset threshold value, determining light supplementing information according to the ambient light information.
In an exemplary embodiment, the first determination module is further configured to:
the method comprises the steps of obtaining soft light configuration information, wherein the soft light configuration information is used for representing whether a soft light is configured by the terminal or not;
if the terminal is not provided with the soft light, determining to adopt a screen backlight light supplementing mode for light supplementing;
and determining screen backlight light supplementing parameters according to the ambient light information.
In an exemplary embodiment, the photographing light filling device further includes:
the second determining module is configured to determine to perform light supplementing by adopting a screen backlight light supplementing mode and/or a soft light supplementing mode if the terminal is configured with the soft light;
and the third determining module is configured to determine a screen backlight light supplementing parameter and/or a soft light supplementing parameter according to the ambient light information.
In an exemplary embodiment, the first acquisition module is further configured to:
acquiring application configuration information of an application program for sending the light supplementing request;
acquiring white list configuration information, wherein the white list configuration information comprises identification information of all application programs allowing the use of a light supplementing function in a terminal;
and if the application configuration information exists in the white list configuration information, acquiring the ambient light information of the environment where the terminal is located and the temperature information of the terminal.
In an exemplary embodiment, the photographing light filling device further includes:
the second acquisition module is configured to acquire the ambient light information and/or the temperature information again every preset time;
and the adjusting module is configured to determine whether the current light supplementing information needs to be adjusted according to the acquired ambient light information and/or temperature information.
According to a third aspect of the embodiments of the present disclosure, there is provided a photographing light supplementing apparatus, including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to perform the shooting light filling method according to the first aspect of the embodiments of the present disclosure.
According to a fourth aspect of embodiments of the present disclosure, there is provided a non-transitory computer readable storage medium, which when executed by a processor of an apparatus, performs the shooting light filling method as described in the first aspect of embodiments of the present disclosure.
The method has the following beneficial effects: according to the shooting light supplementing method, light supplementing information is determined according to temperature information and environment light information of the terminal, and then in the shooting process of a user using the front-end camera, the light supplementing effect is more consistent with the current state of the terminal and the shooting environment, so that the situation that light supplementing is still carried out under the condition that the temperature of the terminal is too high is avoided, the temperature of the terminal is further increased, and the use experience of the user is affected.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description, serve to explain the principles of the application.
Fig. 1 is a flowchart illustrating a method of photographing light filling according to an exemplary embodiment;
FIG. 2 is a flow chart illustrating a method of determining light filling information from ambient light information according to an exemplary embodiment;
FIG. 3 is a flowchart illustrating a method of photographing light filling according to an exemplary embodiment;
fig. 4 is a flowchart illustrating a photographing light supplementing method according to an exemplary embodiment;
FIG. 5 is a flowchart illustrating a method of capturing light supplements, according to an exemplary embodiment;
FIG. 6 is a block diagram of a photographic light device, according to an example embodiment;
fig. 7 is a block diagram illustrating a photographing light supplementing apparatus according to an exemplary embodiment.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the application. Rather, they are merely examples of apparatus and methods consistent with aspects of the application as detailed in the accompanying claims.
Along with the popularization of mobile phones and social software, mobile phone self-timer and video call have become a part of daily life of people, and the imaging quality of self-timer and video call has become the focus of attention of users. If the user is in an environment with darker light, when the user uses the front camera to shoot, in order to obtain a better shooting effect, shooting light supplement is needed.
For this reason, various devices for assisting self-timer, such as a light compensating lamp and a light compensating ring, are appeared, but these devices are troublesome to carry and cannot be used at any time and any place in real time, such as video call in places with dark light, so that it is difficult to carry the light compensating device with them. The mobile phone is from taking light filling function can be fine solution user's self-timer light filling demand, provides better use experience for the user.
At present, when shooting light filling is carried out, the temperature of the terminal equipment cannot be considered, and when the temperature of the terminal equipment is in a higher state, the light filling is still carried out, so that the temperature of the terminal equipment is further increased, and the use experience of a user is seriously influenced.
In order to solve the above-mentioned problem, the present disclosure provides a photographing light supplementing method for supplementing light in a self-photographing process using a front camera. According to the shooting light supplementing method, light supplementing information is determined according to temperature information and environment light information of the terminal, and then in the shooting process of a user using the front-end camera, the light supplementing effect is more consistent with the current state of the terminal and the shooting environment, so that the situation that light supplementing is still carried out under the condition that the temperature of the terminal is too high is avoided, the temperature of the terminal is further increased, and the use experience of the user is affected.
According to an exemplary embodiment, the present embodiment provides a photographing light supplementing method, which is applied to a terminal. The terminal comprises electronic equipment such as a smart phone and a tablet and has a front camera light supplementing function. Fig. 1 is a flowchart illustrating a method of photographing light filling according to an exemplary embodiment, and as shown in fig. 1, the method of photographing light filling includes the steps of:
step S101: acquiring environment light information of the environment where the terminal is located and temperature information of the terminal based on the received light supplementing request;
step S102: determining light supplementing information according to the ambient light information and the temperature information, wherein the light supplementing information is used for representing a light supplementing mode and/or light supplementing parameters;
step S103: and according to the light supplementing information, supplementing light to the shooting process using the front-facing camera.
In step S101, when an application program in the terminal needs to perform light filling for a shooting process using the front camera, a light filling request is sent to a controller of the terminal, and the controller of the terminal obtains ambient light information of an environment in which the terminal is located and temperature information of the terminal based on the received light filling request. The ambient light information of the environment where the terminal is located is light information affecting the light supplementing effect, and may be brightness information of the ambient light or color temperature information of the ambient light. The temperature information of the terminal can be terminal screen temperature information, terminal shell temperature information or temperature information of a terminal processor. Both ambient light information and temperature information may be obtained by sensors provided on the terminal. For example, temperature information of the housing is acquired by a temperature sensor provided on the housing; for another example, environmental information around the terminal device is collected by a light sensor provided on the terminal.
In step S102, light filling information is determined according to the ambient light information and the temperature information, wherein the light filling information is used for characterizing a light filling mode and/or a light filling parameter. The light supplementing mode comprises front soft light supplementing and screen backlight supplementing, the light supplementing parameters comprise soft light supplementing parameters and screen backlight supplementing parameters, and the light supplementing parameters comprise light supplementing brightness, light supplementing duration and the like. And determining light supplementing information, namely determining a used light supplementing mode and corresponding light supplementing parameters according to the ambient light information and the temperature information.
In step S103, after the controller of the terminal determines the light supplementing information, the controller controls the screen to increase brightness according to the light supplementing information to supplement light, or turns on the soft light to supplement light, so as to improve the shooting effect of the user using the front camera. Of course, it can be understood that if the controller of the terminal finally determines that the light supplementing information characterization does not need to be supplemented, or the current state of the terminal is not suitable for supplementing light, the controller may not perform any processing, and does not perform any light supplementing processing on the process of shooting by using the front camera.
According to an exemplary embodiment, this embodiment provides a photographing light supplementing method, and other steps involved in this embodiment are the same as those of the embodiment in the above embodiment, and this embodiment further describes an implementation of step S102. In the implementation process, step S102 determines light supplementing information according to the ambient light information and the temperature information, including the following two cases:
first kind: and if the temperature information exceeds a first preset threshold value, prohibiting the use of the light supplementing function.
The first preset threshold is an empirical value, which may be 60 degrees celsius, for example. When the temperature information of the terminal exceeds a first preset threshold value, the current temperature of the terminal is higher, the power consumption is larger, the light supplementing function is also a function with larger power consumption, if the light supplementing function is used at the moment or the strong light supplementing function is used, the temperature of the terminal can be further increased, the device in the terminal is damaged to a certain extent, meanwhile, the phenomenon of blocking can occur, and the user experience is affected. Therefore, when the temperature information exceeds the first preset threshold, the use of the light supplementing function is prohibited, so that adverse effects caused by the use of the light supplementing function are avoided.
Second kind: and if the temperature information is smaller than or equal to a first preset threshold value, determining light supplementing information according to the ambient light information.
When the temperature information of the terminal is smaller than or equal to a first preset threshold value, the terminal temperature is not high, the current power consumption of the terminal is within an acceptable range, and the terminal is not adversely affected by the light supplementing function. At this time, the terminal determines light supplementing information according to the ambient light information of the environment.
It should be noted that, a second preset threshold may be further set, where the second preset threshold is smaller than the first preset threshold, and when the terminal temperature information is smaller than the first preset threshold and larger than the second preset threshold, the terminal may use the light compensating function, but the light compensating function used at this time is a light compensating function with low power consumption, for example, the brightness of the light compensating lamp is reduced by reducing the current of the light compensating lamp, so as to reduce the power consumption of the light compensating function. When the terminal temperature information is smaller than a second preset threshold value, the light supplementing function can be normally used. And after the light supplementing information is determined according to the temperature information, the light supplementing information is further determined according to the ambient light information of the environment where the terminal is located.
After determining that the light supplementing function can be used, because the light supplementing effect can be influenced by the ambient light information of the environment where the terminal is located, for example, when the ambient light information is the brightness information of the ambient light, if the ambient light brightness is lower, when the light supplementing lamp is normally used, the situation that the user glasses flash to enable normal shooting cannot be performed easily occurs, and meanwhile, the problem that the noise of the shot image is more because the light supplementing brightness is not matched with the ambient light brightness occurs. Therefore, it is necessary to further determine the light supplementing information from the ambient light information.
According to an exemplary embodiment, as shown in fig. 2, this embodiment is an illustration of the implementation of the step of determining light supplementing information according to ambient light information in the above embodiment, and includes the following steps in the implementation process:
step S201: the method comprises the steps of obtaining soft light configuration information, wherein the soft light configuration information is used for representing whether a terminal configures soft light or not;
step S202: if the terminal is not provided with the soft light, determining to adopt a screen backlight light supplementing mode for supplementing light;
step S203: determining screen backlight light supplementing parameters according to the ambient light information;
step S204: if the terminal is configured with the soft light, the screen backlight light supplementing mode and/or the soft light supplementing mode are/is determined to be adopted for light supplementing;
step S205: and determining the screen backlight light supplementing parameter and/or the soft light supplementing parameter according to the ambient light information.
The sequence of step S202 and step S04 is not sequential, step S203 is performed after step S202, and step S204 is performed after step S205.
In the case of using the light filling function in steps S203 and S204, it is necessary to determine the mode in which the terminal can provide the front-end image capturing light filling. And acquiring soft light configuration information of the terminal, and determining whether soft light is configured in the terminal according to the soft light configuration information. And if the terminal is not provided with the soft light, determining to perform light filling in a screen backlight light filling mode.
When the screen backlight light supplementing parameter is determined according to the ambient light information, taking the ambient light information as the ambient light brightness information as an example, the screen backlight light supplementing parameter can be a screen brightness value, and the screen backlight light supplementing parameter can be determined according to the corresponding relation between the ambient light brightness value and the screen brightness. The corresponding relation between the ambient light brightness value and the screen brightness is an empirical value, and the screen brightness with the best light supplementing effect under the current ambient light brightness can be provided.
In one example, two brightness thresholds are set for the ambient light brightness value, a first brightness threshold and a second brightness threshold, respectively, from light to dark. When the ambient light brightness value is larger than the first brightness threshold value, light supplementing is not needed, and the screen brightness is the initial screen brightness and is recorded as the first brightness; when the ambient light brightness value is smaller than or equal to the first brightness threshold value and larger than the second brightness threshold value, a screen backlight light supplementing mode with the screen brightness being the second brightness is used; when the ambient light brightness value is smaller than or equal to the second brightness threshold value, a screen backlight light supplementing mode with the screen brightness being the third brightness is used. Wherein, the brightness values of the first brightness, the second brightness and the third brightness gradually increase.
For steps S205 and S206, when it is determined that the terminal is configured with the soft light according to the obtained soft light configuration information, the light supplementing mode may be a soft light supplementing mode, or a screen backlight supplementing mode, or a light supplementing mode combining the soft light supplementing mode and the screen backlight supplementing mode. After the light supplementing mode is determined, light supplementing parameters corresponding to the light supplementing mode are determined according to the ambient light information. For example, when the soft light supplementing mode is adopted, the soft light brightness can be determined according to the corresponding relation between the environment light information and the soft light information, including the corresponding relation between the environment light brightness and the soft light brightness, that is, the soft light supplementing parameter can be determined.
In an example, two preset thresholds for brightness of the environment are set, from bright to dark, a first preset threshold for brightness and a second preset threshold for brightness respectively. When the brightness value of the ambient light is larger than a first brightness preset threshold value, a light supplementing mode of screen backlight light supplementing is used; when the ambient light brightness value is smaller than or equal to the first brightness preset threshold value and larger than the second brightness preset threshold value, a light supplementing mode of combining screen backlight light supplementing and soft light supplementing is used; and when the ambient light brightness value is less than or equal to the second brightness preset threshold value, using a soft light supplementing mode.
In an exemplary embodiment of the disclosure, a light supplementing mode and/or a light supplementing parameter is determined according to whether a soft light and ambient light information are provided, and light supplementing is performed on a front camera shooting process according to the light supplementing information. Because the light filling function is determined according to the characteristics of the terminal and the ambient light information of the terminal, the light filling effect can be more in line with the current state of the terminal and the shooting environment, and the light filling effect and the shooting scene are better matched so that the effect of the shot image is better.
According to an exemplary embodiment, there is provided a photographing light filling method, and fig. 3 is a flowchart illustrating a photographing light filling method according to an exemplary embodiment, and as shown in fig. 3, the photographing light filling method includes the steps of:
step S301: acquiring application configuration information of an application program for sending a light supplementing request;
step S302: acquiring white list configuration information, wherein the white list configuration information comprises identification information of all application programs allowing the use of a light supplementing function in the terminal;
step S303: if the application configuration information does not exist in the white list configuration information, prohibiting the use of the light supplementing function;
step S304: if the application configuration information exists in the white list configuration information, acquiring the ambient light information of the environment where the terminal is located and the temperature information of the terminal;
step S305: determining light supplementing information according to the ambient light information and the temperature information, wherein the light supplementing information is used for representing a light supplementing mode and/or light supplementing parameters;
step S306: and according to the light supplementing information, supplementing light to the shooting process using the front-facing camera.
The content of steps S304-S306 is the same as that of steps S101-S103, and will not be described again.
In step S301, when an application program in the terminal needs to use the light filling function, a light filling request is sent to a structure in which the terminal controls light filling. After receiving the light filling request, acquiring application configuration information of an application program sending the light filling request, wherein the application configuration information is identification information and test information of the application program in the terminal, for example, the identification information is a unique identification code, an ID or a name of the application program, and the test information is whether the application program passes the light filling function test.
In step S302, white list configuration information is stored in the terminal, and the white list configuration information includes identification information of all applications in the terminal that are permitted to use the light filling function. For example, identification information of WeChat, identification of photographing APP, etc.
When downloading a new application program, the terminal determines whether to add the new application program to the white list configuration information according to the configuration information of the downloaded application program. After the terminal determines the white list configuration information, the user can modify the white list configuration information, for example, add or delete an application program in the white list configuration information, and prompt the user that the risk may exist when the user joins the application program which does not meet the test standard.
In step S303, after the white list configuration information is obtained, whether the application configuration information of the application program sending the light supplementing request exists in the white list configuration information is queried, and if the application program does not exist in the white list configuration information, it is indicated that the application program is not allowed to use the light supplementing function of the terminal, so that the application program is prohibited from using the light supplementing function; if application configuration information of an application program sending a light supplementing request exists in the white list configuration information, which indicates that the application program is allowed to use the light supplementing function of the terminal in the running process, environment light information of the environment where the terminal is located and temperature information of the terminal are obtained in the running process or when the application is started, and the light supplementing information is determined according to the environment light information and the temperature information in the subsequent steps.
According to an exemplary embodiment, whether the application program sending the light filling request can use the light filling function is determined through the white list configuration information, so that the light filling of the application program can be controlled, and the situation that the light filling function is used by an application which does not meet the test standard and the experience risk of using the light filling function is brought to the terminal is avoided.
In an exemplary embodiment of the present disclosure, a photographing light filling method is provided, and fig. 4 is a flowchart illustrating a photographing light filling method according to an exemplary embodiment, and as shown in fig. 4, the photographing light filling method includes the steps of:
step S401: acquiring application configuration information of an application program for sending a light supplementing request;
step S402: acquiring white list configuration information, wherein the white list configuration information comprises identification information of all application programs allowing the use of a light supplementing function in the terminal;
step S403: if the application configuration information does not exist in the white list configuration information, prohibiting the use of the light supplementing function;
step S404: if the application configuration information exists in the white list configuration information, acquiring the ambient light information of the environment where the terminal is located and the temperature information of the terminal;
step S405: determining light supplementing information according to the ambient light information and the temperature information, wherein the light supplementing information is used for representing a light supplementing mode and/or light supplementing parameters;
step S406: according to the light supplementing information, supplementing light in a shooting process using the front camera;
step S407: re-acquiring ambient light information and/or temperature information every preset time interval;
step S408: and determining whether the current light supplementing information needs to be adjusted according to the acquired ambient light information and/or temperature information.
The content of steps S401 to S406 is the same as that of steps S301 to S306, and will not be described again.
After the light supplementing information of the terminal is determined, in the light supplementing process, the temperature information of the terminal or the ambient light information of the terminal may change, so that the light supplementing experience is affected. Thus, the ambient light information and/or the temperature information is re-acquired every predetermined time period. The preset duration is an empirical value, for example, one minute. And determining whether the light supplementing information in the current light supplementing process needs to be adjusted according to the re-acquired ambient light information and/or temperature information. For example, the change value of the re-acquired ambient light information and the first acquired ambient light information is determined, when the change value exceeds a preset threshold value, the light supplementing information is adjusted according to the re-acquired information, and when the change value does not exceed the preset threshold value, the light supplementing information is not required to be adjusted.
In the exemplary embodiment of the disclosure, the ambient light information and/or the temperature information is obtained again every preset time, whether the light supplementing information needs to be adjusted is determined, the light supplementing strategy can be adjusted timely according to the state of the terminal or the ambient light information, and the user experience is improved.
According to an exemplary embodiment, the present embodiment provides a photographing light filling method, and fig. 5 is a flowchart illustrating a method of photographing light filling according to an exemplary embodiment, and as shown in fig. 5, the photographing light filling method includes the steps of:
step S501: receiving a light supplementing request sent by an application program in a terminal, and acquiring application configuration information of the application program sending the light supplementing request;
step S502: acquiring white list configuration information, wherein the white list configuration information comprises identification information of all application programs allowing the use of a light supplementing function in the terminal;
step S503: determining whether application configuration information exists in the white list configuration information;
if yes, go to step S505; if not, go to step S504.
Step S504: the use of the light supplementing function is forbidden;
step S505: acquiring environment light information of the environment where the terminal is located and temperature information of the terminal based on the received light supplementing request;
step S506: determining whether the temperature information exceeds a first preset threshold;
if yes, go to step S504; if not, go to step S507.
Step S507: obtaining soft light configuration information;
step S508: determining whether the terminal is configured with a soft light;
if yes, go to step S510; if not, step S509 is executed.
Step S509: performing light filling by adopting a screen backlight light filling mode, and determining screen backlight light filling parameters according to the ambient light information;
step S509 is completed and step S511 is performed.
Step S510: the screen backlight light supplementing mode and/or the soft light supplementing mode are adopted for supplementing light, and the screen backlight light supplementing parameters and/or the soft light supplementing parameters are determined according to the ambient light information;
after step S510 is performed, step S511 is performed.
Step S511: according to the light supplementing information, supplementing light in a shooting process using the front camera;
step S512: re-acquiring ambient light information and/or temperature information every preset time interval;
step S513: and determining whether the current light supplementing information needs to be adjusted according to the acquired ambient light information and/or temperature information.
If yes, return to step S508; if not, the processing is not performed.
According to an exemplary embodiment, there is provided a photographing light supplementing apparatus, applied to a terminal, as shown in fig. 6, including:
a first obtaining module 601, configured to obtain, based on the received light supplementing request, ambient light information of an environment in which the terminal is located and temperature information of the terminal;
a first determining module 602 configured to determine light filling information according to the ambient light information and the temperature information, wherein the light filling information is used for representing a light filling mode and/or a light filling parameter;
the light supplementing module 603 is configured to supplement light to a photographing process using the front camera according to the light supplementing information.
In an exemplary embodiment, the first determination module 602 is further configured to:
if the temperature information exceeds a first preset threshold value, prohibiting the use of the light supplementing function;
and if the temperature information is smaller than or equal to a first preset threshold value, determining light supplementing information according to the ambient light information.
In an exemplary embodiment, the first determination module 602 is further configured to:
the method comprises the steps of obtaining soft light configuration information, wherein the soft light configuration information is used for representing whether a terminal configures soft light or not;
if the terminal is not provided with the soft light, determining to adopt a screen backlight light supplementing mode for supplementing light;
and determining the screen backlight light supplementing parameters according to the ambient light information.
In an exemplary embodiment, the photographing light supplementing apparatus further includes: :
a second determining module 604, configured to determine to perform light filling in a screen backlight light filling mode and/or a soft light filling mode if the terminal is configured with soft light;
the third determining module 605 is configured to determine a screen backlight light filling parameter and/or a soft light filling parameter according to the ambient light information.
In an exemplary embodiment, the first acquisition module 601 is further configured to:
acquiring application configuration information of an application program for sending a light supplementing request;
acquiring white list configuration information, wherein the white list configuration information comprises identification information of all application programs allowing the use of a light supplementing function in a terminal;
and if the application configuration information exists in the white list configuration information, acquiring the ambient light information of the environment where the terminal is located and the temperature information of the terminal.
In an exemplary embodiment, the photographing light supplementing apparatus further includes:
a second obtaining module 606 configured to re-obtain the ambient light information and/or the temperature information every predetermined time period;
an adjustment module 607 configured to determine whether the current light filling information needs adjustment based on the re-acquired ambient light information and/or temperature information.
The specific manner in which the various modules perform the operations in the apparatus of the above embodiments have been described in detail in connection with the embodiments of the method, and will not be described in detail herein.
Fig. 7 is a block diagram of a photographing light filling apparatus 700 according to an exemplary embodiment when the photographing light filling apparatus is a terminal.
Referring to fig. 7, an apparatus 700 may include one or more of the following components: a processing component 702, a memory 704, a power component 706, a multimedia component 708, an audio component 710, an input/output (I/O) interface 712, a sensor component 714, and a communication component 716.
The processing component 702 generally controls overall operation of the apparatus 700, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 702 may include one or more processors 720 to execute instructions to perform all or part of the steps of the methods described above. Further, the processing component 702 can include one or more modules that facilitate interaction between the processing component 702 and other components. For example, the processing component 702 may include a multimedia module to facilitate interaction between the multimedia component 708 and the processing component 702.
The memory 704 is configured to store various types of data to support operations at the apparatus 700. Examples of such data include instructions for any application or method operating on the apparatus 700, contact data, phonebook data, messages, pictures, videos, and the like. The memory 704 may be implemented by any type or combination of volatile or nonvolatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk.
The power supply component 706 provides power to the various components of the apparatus 700. The power components 706 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the device 700.
The multimedia component 708 includes a screen between the device 700 and the user that provides an output interface. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may sense not only the boundary of a touch or sliding action, but also the duration and pressure associated with the touch or sliding operation. In some embodiments, the multimedia component 708 includes a front-facing camera and/or a rear-facing camera. The front-facing camera and/or the rear-facing camera may receive external multimedia data when the apparatus 700 is in an operational mode, such as a photographing mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
The audio component 710 is configured to output and/or input audio signals. For example, the audio component 710 includes a Microphone (MIC) configured to receive external audio signals when the device 700 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may be further stored in the memory 704 or transmitted via the communication component 716. In some embodiments, the audio component 710 further includes a speaker for outputting audio signals.
The I/O interface 712 provides an interface between the processing component 702 and peripheral interface modules, which may be a keyboard, click wheel, buttons, etc. These buttons may include, but are not limited to: homepage button, volume button, start button, and lock button.
The sensor assembly 714 includes one or more sensors for providing status assessment of various aspects of the apparatus 700. For example, the sensor assembly 714 may detect an on/off state of the device 700, a relative positioning of the assemblies, such as a display and keypad of the device 700, a change in position of the device 700 or one of the assemblies of the device 700, the presence or absence of user contact with the device 700, an orientation or acceleration/deceleration of the device 700, and a change in temperature of the device 700. The sensor assembly 714 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 714 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 714 may also include an acceleration sensor, a gyroscopic sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 716 is configured to facilitate communication between the apparatus 700 and other devices in a wired or wireless manner. The apparatus 700 may access a wireless network based on a communication standard, such as WiFi,2G or 3G, or a combination thereof. In one exemplary embodiment, the communication component 716 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, the communication component 716 further includes a Near Field Communication (NFC) module to facilitate short range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, ultra Wideband (UWB) technology, bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 700 may be implemented by one or more Application Specific Integrated Circuits (ASICs), digital Signal Processors (DSPs), digital Signal Processing Devices (DSPDs), programmable Logic Devices (PLDs), field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic elements for executing the methods described above.
In an exemplary embodiment, a non-transitory computer readable storage medium is also provided, such as memory 704, including instructions executable by processor 720 of apparatus 700 to perform the above-described method. For example, the non-transitory computer readable storage medium may be ROM, random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.
A non-transitory computer readable storage medium, which when executed by a processor of an apparatus, causes the apparatus to perform a shooting light filling method comprising the shooting light filling method in any of the embodiments described above.
Other embodiments of the application will be apparent to those skilled in the art from consideration of the specification and practice of the application disclosed herein. This application is intended to cover any variations, uses, or adaptations of the application following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the application pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the application being indicated by the following claims.
It is to be understood that the application is not limited to the precise arrangements and instrumentalities shown in the drawings, which have been described above, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the application is limited only by the appended claims.
Claims (14)
1. The shooting light filling method is applied to a terminal and is characterized by comprising the following steps of:
acquiring the ambient light information of the environment where the terminal is located and the temperature information of the terminal based on the received light supplementing request;
determining light supplementing information according to the ambient light information and the temperature information, wherein the light supplementing information is used for representing a light supplementing mode and/or a light supplementing parameter;
and according to the light supplementing information, supplementing light in a shooting process using the front camera.
2. The photographing light filling method according to claim 1, wherein the determining light filling information according to the ambient light information and the temperature information comprises:
if the temperature information exceeds a first preset threshold value, prohibiting the use of a light supplementing function;
and if the temperature information is smaller than or equal to the first preset threshold value, determining light supplementing information according to the ambient light information.
3. The photographing light filling method according to claim 2, wherein the determining light filling information according to the ambient light information comprises:
the method comprises the steps of obtaining soft light configuration information, wherein the soft light configuration information is used for representing whether a soft light is configured by the terminal or not;
if the terminal is not provided with the soft light, determining to adopt a screen backlight light supplementing mode for light supplementing;
and determining screen backlight light supplementing parameters according to the ambient light information.
4. The photographic light-filling method according to claim 3, characterized in that the photographic light-filling method further comprises:
if the terminal is configured with the soft light, a screen backlight light supplementing mode and/or a soft light supplementing mode is adopted for light supplementing;
and determining the screen backlight light supplementing parameter and/or the soft light supplementing parameter according to the ambient light information.
5. The photographing light filling method according to claim 1, wherein the acquiring the ambient light information of the environment in which the terminal is located and the temperature information of the terminal based on the received light filling request comprises:
acquiring application configuration information of an application program for sending the light supplementing request;
acquiring white list configuration information, wherein the white list configuration information comprises identification information of all application programs allowing the use of a light supplementing function in a terminal;
and if the application configuration information exists in the white list configuration information, acquiring the ambient light information of the environment where the terminal is located and the temperature information of the terminal.
6. The photographic light-filling method according to claim 1, characterized in that the photographic light-filling method further comprises:
re-acquiring ambient light information and/or temperature information every preset time interval;
and determining whether the current light supplementing information needs to be adjusted according to the re-acquired ambient light information and/or temperature information.
7. The utility model provides a shoot light filling device, is applied to the terminal, its characterized in that, shoot light filling device includes:
the first acquisition module is configured to acquire the ambient light information of the environment where the terminal is located and the temperature information of the terminal based on the received light supplementing request;
the first determining module is configured to determine light supplementing information according to the ambient light information and the temperature information, wherein the light supplementing information is used for representing a light supplementing mode and/or a light supplementing parameter;
and the light supplementing module is configured to supplement light for a shooting process using the front camera according to the light supplementing information.
8. The photographic light filling device of claim 7, wherein the first determination module is further configured to:
if the temperature information exceeds a first preset threshold value, prohibiting the use of a light supplementing function;
and if the temperature information is smaller than or equal to the first preset threshold value, determining light supplementing information according to the ambient light information.
9. The photographic light device of claim 8, wherein the first determination module is further configured to:
the method comprises the steps of obtaining soft light configuration information, wherein the soft light configuration information is used for representing whether a soft light is configured by the terminal or not;
if the terminal is not provided with the soft light, determining to adopt a screen backlight light supplementing mode for light supplementing;
and determining screen backlight light supplementing parameters according to the ambient light information.
10. The photographic light filling device of claim 9, further comprising:
the second determining module is configured to determine to perform light supplementing by adopting a screen backlight light supplementing mode and/or a soft light supplementing mode if the terminal is configured with the soft light;
and the third determining module is configured to determine a screen backlight light supplementing parameter and/or a soft light supplementing parameter according to the ambient light information.
11. The photographic light filling device of claim 7, wherein the first acquisition module is further configured to:
acquiring application configuration information of an application program for sending the light supplementing request;
acquiring white list configuration information, wherein the white list configuration information comprises identification information of all application programs allowing the use of a light supplementing function in a terminal;
and if the application configuration information exists in the white list configuration information, acquiring the ambient light information of the environment where the terminal is located and the temperature information of the terminal.
12. The photographic light filling device of claim 7, further comprising:
the second acquisition module is configured to acquire the ambient light information and/or the temperature information again every preset time;
and the adjusting module is configured to determine whether the current light supplementing information needs to be adjusted according to the acquired ambient light information and/or temperature information.
13. A photographing light supplementing device, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to perform the photographic light method of any one of claims 1-6.
14. A non-transitory computer-readable storage medium, wherein the instructions in the storage medium, when executed by a processor of a photographic light filling device, perform the photographic light filling method of any one of claims 1-6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210577423.4A CN117176855A (en) | 2022-05-25 | 2022-05-25 | Shooting light supplementing method, device and medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210577423.4A CN117176855A (en) | 2022-05-25 | 2022-05-25 | Shooting light supplementing method, device and medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN117176855A true CN117176855A (en) | 2023-12-05 |
Family
ID=88945511
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210577423.4A Pending CN117176855A (en) | 2022-05-25 | 2022-05-25 | Shooting light supplementing method, device and medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117176855A (en) |
-
2022
- 2022-05-25 CN CN202210577423.4A patent/CN117176855A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10674088B2 (en) | Method and device for acquiring image, terminal and computer-readable storage medium | |
CN110796988B (en) | Backlight adjusting method and device | |
CN108040360B (en) | Method and device for controlling screen display | |
CN105245775B (en) | camera imaging method, mobile terminal and device | |
CN108200279B (en) | Backlight adjusting method, device and equipment | |
CN111261081B (en) | Screen display method and device | |
CN112821508B (en) | Charging method, device and storage medium | |
CN107371222B (en) | Virtual card disabling method and device | |
CN110879658A (en) | Method and device for adjusting display brightness, electronic equipment and storage medium | |
CN106775246B (en) | Screen brightness adjusting method and device | |
CN109922203B (en) | Terminal, screen off method and device | |
CN117176855A (en) | Shooting light supplementing method, device and medium | |
CN112086075B (en) | Screen display parameter adjusting method and device and storage medium | |
CN112037719B (en) | Screen brightness adjusting method and device | |
CN106170038B (en) | Recording method and device | |
CN114390211B (en) | Exposure convergence method, device, electronic equipment and storage medium | |
CN112437234B (en) | Flash lamp, and flash lamp control method and device | |
CN114666439B (en) | Method, device and medium for adjusting dark color mode display state | |
CN117354413A (en) | Display control method, display control device, electronic equipment and readable storage medium | |
CN107027110B (en) | Flow control method and device | |
CN116567411A (en) | Power consumption control method, device, equipment and medium | |
CN117252769A (en) | Image processing method, device, electronic equipment and storage medium | |
CN118175420A (en) | Image acquisition method, device, equipment and storage medium | |
CN116634263A (en) | Power consumption control method, device, equipment and medium | |
CN116626966A (en) | Method and device for reducing power consumption of camera terminal, electronic equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |