Light supplementing method and system suitable for shooting of Internet of things equipment
Technical Field
The invention relates to the technical field of Internet of things, in particular to a light supplementing method and system suitable for shooting of Internet of things equipment
Background
The internet of things is an important component of a new generation of information technology and an important development stage of the information era, and the internet of things is named as follows: "Internet of things (Iot)". As the name implies, the Internet of things is the Internet with connected objects. This has two layers: firstly, the core and the foundation of the internet of things are still the internet, and the internet is an extended and expanded network on the basis of the internet; and secondly, the user side extends and expands to any article to perform information exchange and communication, namely, the article information. The internet of things is widely applied to network fusion through communication perception technologies such as intelligent perception, identification technology and pervasive computing, and is also called as the third wave of development of the world information industry after computers and the internet. The internet of things is an application expansion of the internet, and is not a network, but a business and an application. Therefore, the application innovation is the core of the development of the internet of things, and the innovation 2.0 taking the user experience as the core is the soul of the development of the internet of things. With the continuous development of the internet of things, more and more internet of things (internet of things) devices are also present in life, and many situations of the internet of things devices need to take pictures and record, for example, for small-sized Iot devices such as a car recorder, it is not easy to obtain clear pictures in an environment with low brightness. The traditional method adopts a flash lamp, but the method needs to run a complex algorithm, needs strong CPU support and is not suitable for Iot equipment with weak computing capability.
CN107770392A the present invention relates to a method for mobile phone active lighting based on state analysis, which comprises using a mobile phone active lighting platform based on state analysis to start active detection and active lighting of photographing shape of surrounding human body under the condition of sufficient mobile phone power, the mobile phone active lighting platform based on state analysis comprises: and the state extraction equipment is arranged on an integrated circuit board of the mobile phone and is used for acquiring the current state of the mobile phone, wherein the current state of the mobile phone is a low power state or a multi-power state. And the image acquisition equipment is connected with the state extraction equipment and is used for receiving the current state of the mobile phone, starting an active shooting mode when the current state of the mobile phone is a multi-power state so as to obtain an active shooting image, and meanwhile, receiving a passive shooting operation initiated by a user. However, the method needs to run a complex algorithm, needs strong CPU support, and is not suitable for use in the Iot device with weak computing power.
Disclosure of Invention
The invention aims to provide a light supplement method and a light supplement system suitable for shooting of Internet of things equipment, aiming at the defects of the prior art, and the light supplement method and the light supplement system can provide a good shooting environment for Iot equipment with weak computing capability.
In order to achieve the purpose, the invention adopts the following technical scheme:
a light supplementing method suitable for shooting of Internet of things equipment comprises the following steps:
s1, detecting the lighting equipment in the preset range and establishing a lighting equipment list;
s2, acquiring an environment brightness value of the photographic object, and judging whether the environment brightness value is lower than a preset brightness value;
and S3, if the brightness is lower than a preset brightness value, adjusting the lighting equipment of the lighting equipment list according to a preset rule, and supplementing light to the photographing environment by the lighting equipment.
Preferably, step S1 is preceded by the step of:
and judging whether scene detection information is received or not, if so, entering the step S1, otherwise, judging whether the scene detection information is in an automatic detection state or not, and if so, entering the step S1.
Preferably, the rotation angle of the lighting device is adjustable, and step S3 specifically includes the steps of:
acquiring a distance DS between the lighting device and the photographic subject1,DS2,DS3,…,DSn];
Selecting a reference distance D, and obtaining a difference DK (DS-D) of the distance DS between the lighting equipment and the photographing object and the reference distance D1,DK2,DK3,…,DKn];
Selecting DK minimum DKminThe corresponding lighting equipment calculates the rotation angle AL of the lighting equipment according to the environment brightness value;
and adjusting the rotation angle of each lighting device according to the rotation angle AL, wherein the rotation angle of each lighting device is adjusted according to a formula a [ i ] ═ AL × i, i ═ rand (1, n), i represents a weighted value, MAX is a maximum value and is 1, and n represents the total number of lighting devices.
Preferably, the brightness of the lighting device is adjustable, and the step S3 specifically includes the steps of:
acquiring a distance DS between the lighting device and the photographic subject1,DS2,DS3,…,DSn];
Selecting a reference distance D, and obtaining a difference DK (DS-D) of the distance DS between the lighting equipment and the photographing object and the reference distance D1,DK2,DK3,…,DKn];
Selecting DK minimum DKminThe corresponding lighting equipment calculates the brightness value BL of the lighting equipment according to the environment brightness value;
and adjusting the brightness value of each lighting device according to the brightness value BL, wherein the brightness value of each lighting device is adjusted according to a formula B [ i ] ═ BL × i, i ═ rand (1, n), i represents a weighted value, MAX is a maximum value and is 1, and n represents the total number of lighting devices.
Preferably, the rotation angle and the brightness of the lighting device are both adjustable, and step S3 specifically includes the steps of:
acquiring a distance DS between the lighting device and the photographic subject1,DS2,DS3,…,DSn];
Selecting a reference distance D, and obtaining a difference DK (DS-D) of the distance DS between the lighting equipment and the photographing object and the reference distance D1,DK2,DK3,…,DKn];
Selecting DK minimum DKminThe corresponding lighting equipment calculates the rotation angle AL and the brightness value BL of the lighting equipment according to the environment brightness value;
and adjusting the rotation angle and the brightness value of each lighting device according to the rotation angle AL and the brightness value BL, wherein the rotation angle and the brightness value of each lighting device are adjusted according to the formula a [ i ] ═ AL × i, B [ i ] ═ BL × i, i ═ rand (1, n), i represents a weighted value, MAX is the maximum value and is 1, and n represents the total number of lighting devices.
Correspondingly, still provide a light filling system suitable for thing networking device shoots, include:
the detection module is used for detecting the lighting equipment in a preset range and establishing a lighting equipment list;
the acquisition and judgment module is used for acquiring an environment brightness value of a photographic object and judging whether the environment brightness value is lower than a preset brightness value or not;
and the adjusting light supplementing module is used for adjusting the lighting equipment of the lighting equipment list according to a preset rule if the brightness value is lower than a preset brightness value, and the lighting equipment supplements light to the photographing environment.
Preferably, the method further comprises the following steps:
and the judging and receiving module is used for judging whether scene detection information is received or not, if so, starting the detection module, otherwise, judging whether the scene detection information is in an automatic detection state or not, and if so, starting the detection module.
Preferably, the rotation angle of the lighting device is adjustable, and the light supplement module is adjusted:
a first acquisition unit configured to acquire a distance DS [ DS ] between the illumination apparatus and the photographic subject1,DS2,DS3,…,DSn];
A first selection obtaining unit configured to select a reference distance D, and obtain a difference DK-D ═ DK between the lighting device and the subject distance DS and the reference distance D1,DK2,DK3,…,DKn];
A first selection calculation unit for selecting DK minimum DKminThe corresponding lighting equipment calculates the rotation angle AL of the lighting equipment according to the environment brightness value;
and a rotation angle calculation unit, configured to adjust a rotation angle of each lighting device according to the rotation angle AL, where the rotation angle of each lighting device is adjusted according to a formula a [ i ] ═ AL × i, i ═ rand (1, n), i represents a weighted value, MAX is a maximum value and takes 1, and n represents the total number of lighting devices.
Preferably, the brightness of the lighting device is adjustable, and the adjusting and light supplementing module includes:
a second acquisition unit configured to acquire a distance DS [ DS ] between the illumination apparatus and the photographic subject1,DS2,DS3,…,DSn];
A second selection obtaining unit configured to select a reference distance D and obtain a difference DK-D ═ DK between the lighting device and the subject distance DS and the reference distance D1,DK2,DK3,…,DKn];
A second selection calculation unit for selecting the DK minimum DKminCorresponding lighting device according to the ambient brightness valueCalculating a brightness value BL of the lighting device;
and a brightness adjusting unit, configured to adjust a brightness value of each lighting device according to the brightness value BL, where the brightness value of each lighting device is adjusted according to a formula B [ i ] ═ BL × i, i ═ rand (1, n), i represents a weighted value, MAX is a maximum value and takes 1, and n represents the total number of lighting devices.
Preferably, the rotation angle and the brightness of the lighting device are both adjustable, and the light supplement adjusting module includes:
a third acquisition unit configured to acquire a distance DS [ DS ] between the illumination apparatus and the photographic subject1,DS2,DS3,…,DSn];
A third selection obtaining unit, configured to select a reference distance D, and obtain a difference DK ═ DS-D ═ DK between the lighting apparatus and the subject distance DS and the reference distance D1,DK2,DK3,…,DKn];
A third selection calculation unit for selecting the DK minimum DKminThe corresponding lighting equipment calculates the rotation angle AL and the brightness value BL of the lighting equipment according to the environment brightness value;
and the supplementary lighting adjusting unit is used for adjusting the rotation angle and the brightness value of each lighting device according to the rotation angle AL and the brightness value BL, wherein the rotation angle and the brightness value of each lighting device are adjusted according to a formula A [ i ] ═ AL [ i ], B [ i ] ═ BL [ i ], i is rand (1, n), i represents a weighted value, MAX is the maximum value and takes 1, and n represents the total number of the lighting devices.
Compared with the prior art, the light supplementing device has the advantages that the light intensity required by the photographing object is calculated through the Internet of things device, so that the rotation angle or the brightness value of the lighting device is adjusted to achieve the light supplementing effect of the photographing environment of the photographing object, a good photographing environment can be provided for the Internet of things device without complex algorithm and strong operation, and the light supplementing effect of the system can be enhanced through the joint work of multiple groups of lighting devices.
Drawings
Fig. 1 is a flowchart of a light supplement method suitable for shooting by an internet of things device according to a first embodiment;
FIG. 2 is a detailed step diagram of one step S13 according to an embodiment;
fig. 3 is a structural diagram of a light supplement system suitable for shooting by an internet of things device according to the first embodiment;
fig. 4 is a flowchart of a light supplement method suitable for shooting by an internet of things device according to the second embodiment;
FIG. 5 is a detailed step diagram of the second step S23 according to the embodiment;
fig. 6 is a structural diagram of a light supplement system suitable for shooting by the internet of things device according to the second embodiment;
fig. 7 is a flowchart of a light supplement method suitable for shooting by an internet of things device according to the third embodiment;
FIG. 8 is a detailed step diagram of the third step S33 of the embodiment;
fig. 9 is a structural diagram of a light supplement system suitable for shooting by the internet of things device according to the third embodiment;
fig. 10 is an overall structural view of the present invention.
Detailed Description
The following are specific embodiments of the present invention and are further described with reference to the drawings, but the present invention is not limited to these embodiments.
Example one
The embodiment provides a light supplement method suitable for shooting of internet of things equipment, and as shown in fig. 1, the light supplement method comprises the following steps:
s11, detecting the lighting equipment in the preset range and establishing a lighting equipment list;
s12, acquiring an environment brightness value of the photographic object, and judging whether the environment brightness value is lower than a preset brightness value;
and S13, if the brightness is lower than a preset brightness value, adjusting the lighting equipment of the lighting equipment list according to a preset rule, and supplementing light to the photographing environment by the lighting equipment.
The conventional photographing method in the dark environment generally adopts a light supplement lamp form to supplement light, but the method needs to operate a complex algorithm, needs strong CPU support and is not suitable for Iot equipment with weak computing capability. The light filling system that this embodiment designed does not need complicated algorithm and powerful operation, can obtain good effect of shooing under the dark surrounds, and the light filling system of shooing that this embodiment provided combines by thing networking device and lighting apparatus, and the lighting parameter through adjusting lighting apparatus reaches the good light filling effect to the different environment of shooing of object of shooing.
Preferably, step S11 is preceded by the step of:
and judging whether scene detection information is received or not, if so, entering the step S11, otherwise, judging whether the scene detection information is in an automatic detection state or not, and if so, entering the step S11.
As shown in fig. 10, the photographing mode of the Iot device I is turned on, and if the photographing mode is the automatic mode, the Iot device I immediately performs scene detection. If an indoor scene is detected, immediately searching surrounding lighting equipment groups II, 1,2 …, wherein n is the equipment number of each lighting equipment, and establishing a lighting equipment list; if the mode is manual mode and the detection function is on, the surrounding lighting device group II is also searched immediately, and a lighting device list is established.
The Iot equipment I calculates the brightness value of a shot object scene, and if the brightness value is lower than a normal value or a set level, an automatic control program of a light supplementing system is automatically started, so that the rotation angle A of the lighting equipment is changed or the equipment brightness L of the lighting equipment is adjusted, and the brightness of the shot object III is increased until the set standard is reached.
Preferably, the rotation angle of the lighting device is adjustable, as shown in fig. 2, step S13 specifically includes the steps of:
S13A, acquiring the distance DS between the lighting equipment and the photographing object1,DS2,DS3,…,DSn];
S13B, selecting a reference distance D, and obtaining a difference DK (DS-D) between the distance DS between the lighting equipment and the photographing object and the reference distance D [ DK1,DK2,DK3,…,DKn];
S13C, selecting DK minimum DKminThe corresponding lighting equipment calculates the rotation angle AL of the lighting equipment according to the environment brightness value;
s13d, the rotation angle of each lighting device is adjusted according to the rotation angle AL, where the rotation angle of each lighting device is adjusted according to the formula a [ i ] ═ AL × i, i ═ rand (1, n), i represents a weighted value, MAX is the maximum value and takes 1, and n represents the total number of lighting devices.
In this embodiment, the rotation angle of the lighting device is adjustable, and the rotation angle a of the lighting device is adjusted by giving priority to the current distance D between the photographing object III and the device. The specific automatic control program flow is as follows:
(1) calculating a distance DS between the lighting apparatus I and the subject III to obtain DS ═ DS1, DS2, DS3, …, DSn ], and subscripts 1,2,3, n denote respective apparatus numbers;
(2) calculating the difference (DS-D) between the distance DS between the lighting equipment I and the photographing object III and the reference distance D in the lighting equipment list, obtaining the difference DK between the photographing object III and the current distance D between the photographing object III and the equipment as [ DK1, DK2, DK3, …, DKn ], and arranging the difference DK between the photographing object III and the current distance D between the photographing object III and the equipment as [ DK1, DK2, DK3, …, DKn ] in a descending order;
(3) selecting the equipment number corresponding to the minimum value in the difference DK between the photographing object III and the current distance D of the equipment, adjusting the rotation angle A of the equipment number to meet the brightness requirement of the photographing object III, and recording the rotation angle A at the moment as AL which is called as the total adjustment angle.
(4) Calculating the rotation angle of each device in the lighting device list according to the total AL adjusting brightness to complete the light configuration and the photographing process, wherein the angle adjusting algorithm comprises the following steps: AL is the total adjustment angle, i is the weighted value of the current device, and is closely related to the ranking result of (2), with smaller difference DK being weighted more heavily. The weight I of the device is rand (MAX, n), MAX represents the maximum value, and 1 is taken, where n is the total number of lighting devices acquired by the Iot device.
For example, assume that the Iot device acquires 5 lighting devices,
establishing a distance list DS ═ DS1, DS2, DS3, DS4 and DS5 according to (1);
the difference DK between the subject III and the current distance D of the apparatus is obtained as in (2) DS-D ═ DK1, DK2, DK3, DK4, DK5], and DK ═ DS-D ═ DK1, DK2, DK3, DK4, DK5] are arranged in descending order, provided that DK ═ DS-D ═ DK3, DK4, DK1, DK5, DK2, that is, the apparatus 3 is closest to the subject III and the apparatus 5 is farthest from the subject III.
The total adjustment angle AL is obtained according to (3), assuming AL is 100 degrees.
According to (4), I ═ rand (MAX, n) ═ rand (1,5), weights of 5 devices are calculated as I ═ 1, I2, I3, I4, I5 ═ 0.2,0.08,0.37,0.25, 0.1;
calculating the adjusting angle of each device as a [ i ] ═ AL × i as a [ i ] ═ a1, a2, A3, a4, a5] ═ 20,8,37,25,10, controlling the rotation angle a of each device in the lighting device list to rotate and adjust according to the value of each device as [ i ], namely, the adjusting angle of the lighting device 1 is 37 degrees, the adjusting angle of the device 2 is 10 degrees, and repeating the steps of light configuration and photographing.
Correspondingly, this embodiment still provides a light filling system suitable for thing networking device shoots, as shown in fig. 3, include:
the detection module 11 is used for detecting the lighting devices within a preset range and establishing a lighting device list;
the obtaining and judging module 12 is configured to obtain an environment brightness value of a photographic object, and judge whether the environment brightness value is lower than a preset brightness value;
and the adjusting light supplementing module 13 is configured to adjust the lighting devices of the lighting device list according to a preset rule if the light supplementing value is lower than a preset brightness value, and the lighting devices supplement light to the photographing environment.
Preferably, the method further comprises the following steps:
and the judging and receiving module is used for judging whether scene detection information is received or not, if so, starting the detection module, otherwise, judging whether the scene detection information is in an automatic detection state or not, and if so, starting the detection module.
Preferably, the rotation angle of the lighting device is adjustable, and the light supplement module is adjusted:
a first acquiring unit 131, configured to acquire a distance DS ═ DS between the lighting apparatus and the photographic subject1,DS2,DS3,…,DSn];
A first selection obtaining unit 132, configured to select a reference distance D, and obtain a distance DS between the lighting device and the photographing object and a distance D between the lighting device and the photographing objectThe difference DK between the reference distances D is DS-D [ DK1,DK2,DK3,…,DKn];
A first selection calculation unit 133 for selecting the DK minimum DKminThe corresponding lighting equipment calculates the rotation angle AL of the lighting equipment according to the environment brightness value;
a rotation angle calculating unit 134, configured to adjust a rotation angle of each lighting device according to the rotation angle AL, where the rotation angle of each lighting device is adjusted according to a formula a [ i ] ═ AL × i, i ═ rand (1, n), i represents a weighted value, MAX is a maximum value and takes 1, and n represents the total number of lighting devices.
According to the embodiment, the rotation angle of the lighting equipment is adjusted through the intensity of light required by the shooting object calculated by the Internet of things equipment so as to achieve the light supplementing effect of the shooting environment of the shooting object, and a good shooting environment can be provided for the Internet of things equipment without complex algorithm and strong operation.
Example two
The embodiment further provides a light supplement method suitable for shooting of internet of things equipment, and different from the first embodiment, the luminance value of the lighting equipment in the embodiment is adjustable, as shown in fig. 3, the method includes the steps of:
s21, detecting the lighting equipment in the preset range and establishing a lighting equipment list;
s22, acquiring an environment brightness value of the photographic object, and judging whether the environment brightness value is lower than a preset brightness value;
and S23, if the brightness is lower than a preset brightness value, adjusting the lighting equipment of the lighting equipment list according to a preset rule, and supplementing light to the photographing environment by the lighting equipment.
Preferably, step S21 is preceded by the step of:
and judging whether scene detection information is received or not, if so, entering the step S21, otherwise, judging whether the scene detection information is in an automatic detection state or not, and if so, entering the step S21.
Preferably, the brightness of the lighting device is adjustable, as shown in fig. 4, step S23 specifically includes the steps of:
S23A. obtain the illumination and establishPreparing a distance DS ═ DS from the subject1,DS2,DS3,…,DSn];
S23B, selecting a reference distance D, and obtaining a difference DK between the distance DS between the lighting equipment and the photographing object and the reference distance D, wherein the difference DK is DS-D ═ DK1,DK2,DK3,…,DKn];
S23C, selecting the DK minimum DKminThe corresponding lighting equipment calculates the brightness value BL of the lighting equipment according to the environment brightness value;
s23d, adjusting the brightness value of each lighting device according to the brightness value BL, where the brightness value of each lighting device is adjusted according to the formula B [ i ] ═ BL × i, i ═ rand (1, n), i represents a weighted value, MAX is the maximum value and takes 1, and n represents the total number of lighting devices.
Correspondingly, this embodiment still provides a light filling system suitable for thing networking device shoots, as shown in fig. 5, include:
the detection module 21 is used for detecting the lighting devices within a preset range and establishing a lighting device list;
the obtaining and judging module 22 is configured to obtain an environment brightness value of the photographic subject, and judge whether the environment brightness value is lower than a preset brightness value;
and the adjusting light supplementing module 23 is configured to adjust the lighting device of the lighting device list according to a preset rule if the brightness value is lower than a preset brightness value, and the lighting device supplements light to the photographing environment.
Preferably, the method further comprises the following steps:
and the judging and receiving module is used for judging whether scene detection information is received or not, if so, starting the detection module, otherwise, judging whether the scene detection information is in an automatic detection state or not, and if so, starting the detection module.
Preferably, the brightness of the lighting device is adjustable, as shown in fig. 6, the adjustable light supplement module includes:
a second acquiring unit 231 for acquiring a distance DS ═ DS between the lighting device and the photographic subject1,DS2,DS3,…,DSn];
A second selection obtaining unit 232, configured to select a reference distance D, and obtain a difference DK ═ DS-D ═ DK between the lighting apparatus and the subject distance DS and the reference distance D1,DK2,DK3,…,DKn];
A second selection calculation unit 233 for selecting a DK minimum DKminThe corresponding lighting equipment calculates the brightness value BL of the lighting equipment according to the environment brightness value;
and a brightness adjusting unit 234, configured to adjust a brightness value of each lighting device according to the brightness value BL, where the brightness value of each lighting device is adjusted according to a formula B [ i ] ═ BL × i, i ═ rand (1, n), i represents a weighted value, MAX is a maximum value and takes 1, and n represents the total number of lighting devices.
According to the embodiment, the intensity of light required by the photographing object is calculated through the Internet of things equipment, so that the brightness of the lighting equipment is adjusted to achieve the light supplementing effect of the photographing environment of the photographing object, and a good photographing environment can be provided for the Internet of things equipment without complex algorithm and strong operation.
EXAMPLE III
The embodiment provides a light supplement method suitable for shooting of internet of things equipment, and the difference from the second embodiment is that both the lighting equipment and the brightness value of the embodiment are adjustable, as shown in fig. 7, the method includes the steps of:
s31, detecting the lighting equipment in the preset range and establishing a lighting equipment list;
s32, acquiring an environment brightness value of the photographic object, and judging whether the environment brightness value is lower than a preset brightness value;
and S33, if the brightness is lower than a preset brightness value, adjusting the lighting equipment of the lighting equipment list according to a preset rule, and supplementing light to the photographing environment by the lighting equipment.
Preferably, step S31 is preceded by the step of:
and judging whether scene detection information is received or not, if so, entering the step S1, otherwise, judging whether the scene detection information is in an automatic detection state or not, and if so, entering the step S1.
Preferably, the rotation angle and the brightness of the lighting device are both adjustable, as shown in fig. 8, step S33 specifically includes the steps of:
S33A, acquiring a distance DS between the lighting equipment and the photographing object1,DS2,DS3,…,DSn];
S33B, selecting a reference distance D, and obtaining a difference DK between the distance DS between the lighting equipment and the photographing object and the reference distance D, wherein DS-D is [ DK1,DK2,DK3,…,DKn];
S33C, selecting a DK minimum DKminThe corresponding lighting equipment calculates the rotation angle AL and the brightness value BL of the lighting equipment according to the environment brightness value;
and S33D, adjusting the rotation angle and the brightness value of each lighting device according to the rotation angle AL and the brightness value BL, wherein the rotation angle and the brightness value of each lighting device are adjusted according to the formula A [ i ] ═ AL × i, B [ i ] ═ BL × i, i ═ rand (1, n), i represents a weighted value, MAX is the maximum value and is 1, and n represents the total number of the lighting devices.
The rotation angle AL and the brightness value BL can be a plurality of different values, the system can randomly generate different proportions, and the generated supplementary lighting effect is the same.
Correspondingly, this embodiment still provides a light filling system suitable for thing networking device shoots, as shown in fig. 9, include:
the detection module 31 is configured to detect lighting devices within a preset range and establish a lighting device list;
the obtaining and judging module 32 is configured to obtain an environment brightness value of the photographic object, and judge whether the environment brightness value is lower than a preset brightness value;
and an adjusting light supplement module 33, configured to adjust the lighting device of the lighting device list according to a preset rule if the light supplement value is lower than a preset brightness value, where the lighting device supplements light to the photographing environment.
Preferably, the method further comprises the following steps:
and the judging and receiving module is used for judging whether scene detection information is received or not, if so, starting the detection module, otherwise, judging whether the scene detection information is in an automatic detection state or not, and if so, starting the detection module.
Preferably, the rotation angle and the brightness of the lighting device are both adjustable, and the light supplement adjusting module includes:
a third acquiring unit 331 configured to acquire a distance DS ═ DS between the lighting apparatus and the photographic subject1,DS2,DS3,…,DSn];
A third selected area obtaining unit 332 for selecting a reference distance D, and obtaining a difference DK ═ DS-D ═ DK between the lighting device and the subject distance DS and the reference distance D1,DK2,DK3,…,DKn];
A third selecting and calculating unit 333 for selecting the DK minimum DKminThe corresponding lighting equipment calculates the rotation angle AL and the brightness value BL of the lighting equipment according to the environment brightness value;
and a fill light adjusting unit 334, configured to adjust a rotation angle and a brightness value of each lighting device according to the rotation angle AL and the brightness value BL, where the rotation angle and the brightness value of each lighting device are adjusted according to a formula a [ i ] ═ AL × i, B [ i ] ═ BL × i, i ═ rand (1, n), i represents a weighted value, MAX is a maximum value and takes 1, and n represents the total number of lighting devices.
According to the embodiment, the rotation angle and the brightness value of the lighting equipment are adjusted through the intensity of light required by the shooting object calculated by the Internet of things equipment so as to achieve the light supplementing effect of the shooting environment of the shooting object, and a good shooting environment can be provided for the Internet of things equipment without complex algorithm and strong operation.
The specific embodiments described herein are merely illustrative of the spirit of the invention. Various modifications or additions may be made to the described embodiments or alternatives may be employed by those skilled in the art without departing from the spirit or ambit of the invention as defined in the appended claims.