Light control method of lamp and storage medium
By acquiring information from camera equipment and user input, filtering and matching target lighting fixtures, and generating personalized lighting control commands, the problem of relying on professional knowledge for adjusting live streaming lighting equipment is solved, achieving precise and personalized lighting control and reducing costs.
Patent Information
- Application Number
- CN202610030687.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-01-12
- Publication Date
- 2026-02-13
AI Technical Summary
In existing technologies, the adjustment of live streaming lighting equipment relies on professional knowledge, resulting in high costs. Furthermore, automated adjustment solutions cannot provide targeted and precise brightness control and lighting position planning for different users.
By acquiring the display parameters of the camera equipment, the model information of the lighting fixtures, and the user's facial preference instructions and skin tone selection instructions, the system filters target lighting fixtures, matches lighting character combinations, and generates personalized lighting control instructions to achieve precise adjustment of live streaming lighting fixtures.
It achieves professional-grade live streaming lighting effects with zero barriers to entry, reduces reliance on professional knowledge, and improves the accuracy of brightness control and personalized adaptation capabilities.
Smart Images

Figure CN121531534A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of intelligent lighting, in particular to a light control method of a lamp and a storage medium. BACKGROUND
[0002] In the related art, professional adjustment of live broadcast lighting equipment highly depends on the user's own professional knowledge or the guidance of professionals, resulting in high costs (time, technology, and manpower) for each adjustment. In addition, some automatic lighting adjustment schemes in the related art are only basic general settings and cannot perform targeted and accurate brightness control and lighting position scheme planning according to different users. SUMMARY
[0003] The present application provides a light control method of a lamp and a storage medium to automatically achieve professional live broadcast lighting effects for users in a zero-threshold manner.
[0004] In a first aspect, the present application provides a light control method of a lamp, applied to a lamp control system in a video live broadcast scene, wherein the lamp control system is connected to at least one camera device and at least two lamps; and the method comprises: obtaining current display parameters sent by the camera device in a connected state, model information of the lamps, and face preference instructions and skin color selection instructions input by a user; based on the model information, screening target lamps that meet a first preset condition from the at least two lamps; matching in a plurality of target combination modes corresponding to the face preference instructions to obtain a target combination result corresponding to the target lamps that meet a second preset condition; matching the skin color selection instructions with a preset mapping relationship to obtain target display parameters of the target lamps in the target combination result; matching the target display parameters with the current display parameters to obtain a control instruction; adjusting the target lamps based on the control instruction.
[0005] In a second aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program is loaded by a processor to execute the steps in the method.
[0006] In the embodiments of the present application, by acquiring the current display parameter sent by the camera device in the connected state, the model information of the lamp, and the face preference instruction and the skin color selection instruction input by the user, the target lamp satisfying the first preset condition is screened out from at least two lamps based on the model information, the target combination result corresponding to the target lamp satisfying the second preset condition is obtained by matching in the multiple target combination modes corresponding to the face preference instruction, the target display parameter of the target lamp in the target combination result is obtained by matching the skin color selection instruction with the preset mapping relationship, and the target lamp is adjusted based on the control instruction obtained by matching the target display parameter with the current display parameter, so that the precise and personalized control of the live broadcast lamp can be realized, thereby solving the technical problems that the live broadcast light adjustment in the related art relies on professional knowledge, resulting in high cost, and the general setting cannot be adapted to the user demand. BRIEF DESCRIPTION OF DRAWINGS
[0007] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed in the embodiment description will be briefly introduced. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative labor.
[0008] Figure 1 is a flowchart of a light control method of a lamp provided by some embodiments of the present application; Figure 2 is a structural diagram of a lamp control system provided by some embodiments of the present application; Figure 3 is another flowchart of a light control method of a lamp provided by some embodiments of the present application; Figure 4 is a structural diagram of a light control device of a lamp provided by some embodiments of the present application; Figure 5 is a hardware structural diagram of an electronic device provided by some embodiments of the present application. DETAILED DESCRIPTION
[0009] The technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only some embodiments of the present application, not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative labor are within the scope of protection of the present application.
[0010] In the description of this application, it should be understood that the terms "center," "longitudinal," "lateral," "length," "width," "thickness," "upper," "lower," "front," "rear," "left," "right," "vertical," "horizontal," "top," "bottom," "inner," and "outer," etc., indicating orientation or positional relationships based on the orientation or positional relationships shown in the accompanying drawings, are used only for the convenience of describing this application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation, and therefore should not be construed as a limitation of this application. Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features. Thus, features defined with "first" and "second" may explicitly or implicitly include one or more of the stated features. In the description of this application, "a plurality of" means two or more, unless otherwise explicitly specified.
[0011] "A and / or B" includes the following three combinations: A only, B only, and a combination of A and B.
[0012] The use of "applies to" or "configured to" in this application implies open and inclusive language, which does not exclude the applicability to or configuration to devices performing additional tasks or steps. Additionally, the use of "based on" implies openness and inclusivity, because processes, steps, calculations, or other actions "based on" one or more of the stated conditions or values may in practice be based on additional conditions or values beyond those stated.
[0013] In this application, the term "exemplary" is used to mean "used as an example, illustration, or description." Any embodiment described as "exemplary" in this application is not necessarily to be construed as being more preferred or advantageous than other embodiments. The following description is provided to enable any person skilled in the art to make and use this application. Details are set forth in the following description for purposes of explanation. It should be understood that those skilled in the art will recognize that this application can be made without using these specific details. In other instances, well-known structures and processes are not described in detail to avoid obscuring the description of this application with unnecessary detail. Therefore, this application is not intended to be limited to the embodiments shown, but is consistent with the broadest scope of the principles and features disclosed in this application.
[0014] In related technologies, some automated lighting adjustment solutions (such as those relying on ambient light sensors) are only basic, general settings and cannot provide targeted and precise brightness control and lighting layout planning based on different users' personal characteristics (such as skin color) and personalized preferences (such as face orientation and light ratio).
[0015] This embodiment provides a lighting control method for lamps, applied to a lighting control system in a live video streaming scenario. The lighting control system connects at least one camera device and at least two lamps; such as Figure 1 As shown, the method includes: Step 101: Obtain the current display parameters, lamp model information, and user-input facial preference and skin tone selection commands sent by the connected camera device.
[0016] In this embodiment, as Figure 2 As shown, this method can be applied to a lighting control system 201 connected to at least one camera device 202 and at least two lamps 203. The live video streaming scenario can be a scenario where a user transmits video content to a viewer in real time via a camera device, such as a live streamer demonstrating products or sharing knowledge. The lamps can be devices used to provide illumination. The camera device can be a device used to capture video streams, such as a camcorder or a dedicated live streaming camera. The current display parameters can be quantified brightness parameters of the target area in the real-time captured image, such as the brightness value of the face area in standardized units (Institute of Radio Engineers, IRE) measured by video signal level. The model information can be information characterizing the specifications and performance of the lamps, such as the wattage, soft light characteristics, and color capabilities of the lamps. The facial preference command can be a user-input command indicating their preference for facial lighting direction, such as a user selecting a direction directly in front, 45° to the left, or 45° to the right as the main light direction. Skin color selection instructions can be user-input instructions that indicate the user's skin color type. For example, a user can select an instruction based on the ST03 skin color parameter in the Monk skin color scale.
[0017] In some embodiments, before obtaining the current display parameters sent by the connected camera device, the method further includes: When video information is received from a camera device, it is determined that the camera device is in a connected state.
[0018] The "connected" status refers to a stable data transmission between the camera device and the control system, such as a wired connection established via cable or network cable. The video information can be dynamic image data captured and transmitted by the camera device, such as a live video stream containing a broadcaster's face. When the lighting control system successfully receives the video information sent by the camera device, it can determine that the camera device is in a connected state, thus verifying the validity of the connection between the camera device and the system.
[0019] In other embodiments, device interface scanning technology can be used to detect the connection method between the camera device and the control system. If it is determined that the connection method between the camera device and the control system is a wired connection, periodic signal interaction commands are sent to the camera device to monitor the delay time and success rate of the command response. If there is a timeout failure or data packet loss, the connection is determined to be unstable, and the user should be prompted to check the cable or interface.
[0020] Step 102: Based on the model information, select target lamps that meet the first preset conditions from at least two lamps.
[0021] In this embodiment, the at least two lamps can be controllable lamps of no fewer than two. The first preset condition can be whether the lamp's brightness parameters are adjustable and / or whether the lamp's model information is pre-stored in a configuration table. The target lamp can be a lamp selected from the at least two lamps that meets the first preset condition. For example, the target lamp can be a lamp with adjustable brightness parameters and / or a lamp whose model information is pre-stored in a configuration table. The configuration table can be a scoring configuration table.
[0022] In this embodiment, all currently connected lamps can be scanned using the device communication protocol to obtain the model information of each lamp; the model information is then compared with target model information in a preset configuration table to filter out lamps whose model information matches the target model information. The target model information can be the model information of lamps with adjustable brightness parameters and / or the model information of lamps pre-existing in the configuration table.
[0023] Step 103: Match among multiple target combinations corresponding to the facial preference command to obtain the target combination result corresponding to the target lamp that meets the second preset condition.
[0024] In this embodiment, the second preset condition can be a condition used to filter the target combination results, such as the overall score of the target combination method not being lower than a preset threshold, or the lamp role adaptability meeting the lighting requirements. The target combination result can be the final solution after the target lamps have been assigned lighting roles. Based on the user's facial preference instructions, the target combination result including at least one lighting role in the target lamps is determined, so that the functional allocation of the lamps meets the user's personalized needs for facial lighting.
[0025] In some embodiments, the target combination result includes at least one lighting character; before matching among multiple target combination methods corresponding to facial preference instructions to obtain the target combination result corresponding to the target lighting fixture that satisfies the second preset condition, the method further includes: Based on the number of target lights, match the corresponding light role combination rules that match the number of lights in the preset rule library; Based on the rules for combining lighting roles, the target lights are configured as different lighting roles, and the lighting roles are combined to obtain a variety of lighting role combination methods; Based on facial preference instructions, multiple target combinations are obtained by filtering from various lighting and character combination methods.
[0026] Here, "lighting role" refers to the functional positioning of a luminaire within the lighting system, such as front light, backlight, or background light. Correspondingly, "target combination result" refers to the result of assigning functions to target luminaires, containing at least one lighting role; for example, assigning one target luminaire as a front light and another as a backlight. The preset rule base is a set of rules containing the logic for combining lighting roles corresponding to different numbers of luminaires. Lighting role combination rules are luminaire function allocation rules adapted to a specific number of luminaires, such as single-lamp rules, dual-lamp rules, and triple-lamp rules. Multiple lighting role combination methods represent all possible functional combinations when assigning lighting roles to target luminaires.
[0027] In this embodiment, if the number of target lights is 1, the lighting role combination rule for matching the target lights in the preset rule base is a single-light rule. The target lights can be configured as area lights according to the single-light rule. Area lights can include front-facing area lights, left-side 45° area lights, and right-side 45° area lights. Three lighting role combination methods can be determined according to the single-light rule: front-facing area lights, left-side 45° area lights, or right-side 45° area lights.
[0028] If there are two target lights, the matching rule for the light role combination of the target lights in the preset rule library is the dual-light rule. According to the dual-light rule, the target lights can be configured as a front light and a backlight, or as a left 45° front light and a right 45° front light. Four light role combinations can be determined based on the dual-light rule: frontal front light and backlight; left 45° front light and backlight; right 45° front light and backlight; left 45° front light and right 45° front light. Specifically, based on the user's preferred facial orientation, the left 45° front light can be designated as the primary front light and the right 45° front light as the secondary front light; or the right 45° front light can be designated as the primary front light and the left 45° front light as the secondary front light.
[0029] If the number of target lights is 3, the lighting role combination rule for matching the target lights in the preset rule library is the three-light rule. According to the three-light rule, the target lights can be configured as front lights, backlights, and background lights, or as left 45° front lights, right 45° front lights, and backlights. Four lighting role combination methods can be determined based on the three-light rule: front front light-backlight-backlight, left 45° front light-backlight-backlight, right 45° front light-backlight-backlight, and left 45° front light-right 45° front light-backlight.
[0030] If the number of target lights is 4, the lighting role combination rule for the target lights is determined to be the four-light rule. According to the four-light rule, the target lights can be configured as a left 45° face light, a right 45° face light, a backlight, and a background light. One lighting role combination method can be determined according to the four-light rule: left 45° face light, right 45° face light, backlight, and background light.
[0031] In the embodiments of this application, by determining the corresponding lighting role combination rules based on the number of target lamps, and then generating multiple lighting role combination methods based on the rules, a feasible lighting scheme that matches the number of lamps can be quickly generated, avoiding lighting logic confusion caused by mismatch in the number of lamps, thereby improving the technical problem in related technologies that it is difficult to generate reasonable lighting combination methods based on the number of lamps.
[0032] In this embodiment, the multiple target combinations can be combinations selected from multiple lighting role combinations that match facial preference commands. The number of target combinations corresponding to a target combination method is less than or equal to the number of lighting role combinations corresponding to a lighting role combination method. Based on the user's preferred facial orientation, combinations that do not meet the criteria are eliminated from the multiple lighting role combinations to obtain multiple target combinations. For example, if the user prefers the right side of the face, the left 45° face light in the single-light specification is eliminated; the left 45° face light and backlight in the dual-light rule are eliminated; and the left 45° face light-backlight-background light in the three-light specification is eliminated.
[0033] In the embodiments of this application, by first determining all possible combinations of light roles for the target luminaire, then combining facial preference instructions to filter out multiple target combinations to match user preferences, and finally determining the target combination result from multiple target combinations to select the optimal solution, it is possible to ensure that the target combination result is accurately matched with the user's facial preferences, avoid the occurrence of light allocation schemes that do not meet the user's lighting needs, and thus improve the technical problem in related technologies that the light combination method cannot match the user's facial preferences.
[0034] In some embodiments, matching is performed among multiple target combinations corresponding to facial preference commands to obtain a target combination result corresponding to a target lamp that satisfies a second preset condition, including: Obtain the attribute data of the target lamp and the corresponding weight coefficients of the attribute data, and calculate multiple rating parameters of the lighting role corresponding to the target lamp based on the attribute data and weight coefficients; Based on multiple scoring parameters, the target lighting fixtures are matched with the lighting roles in the target combination method to obtain the lighting fixture combination result; Output the results of multiple lighting fixture combinations; Receive the user's combination selection instruction and determine the target combination result from multiple lighting combination results.
[0035] In this embodiment, the attribute data can be data characterizing the performance features of the target luminaire, such as data related to luminaire power, light characteristics, and color characteristics. The weighting coefficient can be a pre-set coefficient used to measure the importance of different attribute data, and its value can be determined according to the functional requirements of the lighting role. The scoring parameter can be a quantitative indicator used to measure the suitability of the target luminaire for a specific lighting role, such as a score calculated by combining luminaire power, soft light characteristics, and color capabilities. The luminaire combination result can be a specific scheme obtained by assigning corresponding luminaires to each lighting role in the target combination method, for example, assigning luminaire A as the main light and luminaire B as the backlight.
[0036] The process involves outputting multiple lighting fixture combination results to create a display screen. The target combination result is determined based on the user's selection instructions based on this display screen. The display screen can be an interface showcasing multiple lighting fixture combination results, such as a user interface including schematic diagrams and ratings for each scheme. The combination selection instructions can be user commands input based on the display screen to select the target combination result, such as a command generated by the user clicking the confirmation button corresponding to a schematic diagram of a scheme. The target combination result can be a lighting fixture role allocation scheme determined by the user through the combination selection instructions that meets their needs, such as the scheme with the highest overall rating selected by the user.
[0037] Specifically, the system acquires the attribute data of the target luminaire and the corresponding weight coefficients of the attribute data, and uses weighted calculation to obtain multiple scoring parameters for the target luminaire to adapt to different lighting roles. Based on the scoring parameters, the system adapts and matches the target luminaire with each lighting role in the target combination method to form multiple luminaire combination results. The luminaire combination results are output to the user for viewing and selection. The system receives the combination selection instructions submitted by the user and locks the final target combination result from the multiple luminaire combination results. This approach ensures the rationality of the combination scheme through quantitative scoring and gives the user the right to choose.
[0038] In some embodiments, acquiring the attribute data of the target luminaire includes: The attribute data is obtained by matching the target luminaire's model information in a preset mapping table; the attribute data includes at least the target luminaire's light characteristics, power data, and color characteristics.
[0039] In this embodiment, the preset mapping table can be a pre-stored table that establishes the correspondence between lamp model information and attribute data. For example, the preset mapping table can be a configuration table. Power data can be parameters characterizing the lamp's output light intensity potential, such as the lamp's wattage (e.g., 60W, 200W). Light characteristic data can be parameters characterizing the lamp's output light distribution characteristics, such as the lamp's soft light characteristics (hard light, hard light with a diffuser, native soft light). Color characteristic data can be parameters characterizing the lamp's ability to adjust light color, such as the lamp's color temperature adjustment range and whether it supports full-color output. The lamp's attribute data can be looked up in the configuration table based on the model information.
[0040] In the embodiments of this application, by acquiring attribute data such as power data, light characteristic data, and color characteristic data of the target luminaire, and then determining the scoring parameters based on these data, the adaptability of the luminaire under a specific role can be comprehensively and objectively quantified, avoiding scoring deviations caused by incomplete information, thereby improving the technical problem of incomplete and inaccurate assessment of luminaire adaptability in related technologies.
[0041] In some embodiments, the weighting coefficients include a first weighting coefficient, a second weighting coefficient, and a third weighting coefficient; the attribute data of the target luminaire and the corresponding weighting coefficients are obtained, and multiple rating parameters for the lighting role corresponding to the target luminaire are calculated based on the attribute data and the weighting coefficients, including: Based on the role of the light, determine the first weighting coefficient corresponding to the light characteristic data, the second weighting coefficient corresponding to the power data, and the third weighting coefficient corresponding to the color characteristic data; The scoring parameters for the target luminaire are obtained by weighting the light characteristic data, the first weighting coefficient, the power data, the second weighting coefficient, the color characteristic data, and the third weighting coefficient.
[0042] In this embodiment, the first weighting coefficient can be the weight W1 of the light characteristic data in the calculation of the scoring parameters. For example, if the light source is a surface light source, then W1 = 3. The second weighting coefficient can be the weight W2 of the power data in the calculation of the scoring parameters. For example, if the light source is a surface light source, then W2 = 2. The third weighting coefficient can be the weight W3 of the color characteristic data in the calculation of the scoring parameters. For example, if the light source is a surface light source, then W3 = 1.
[0043] It should be noted that the first weighting coefficient for the light characteristic data, the second weighting coefficient for the power data, and the third weighting coefficient for the color characteristic data are different depending on the role of the target luminaire. For example, when the target luminaire is used as a front light, the weighting of the soft light characteristic is greater than that of the power, which is greater than that of the color. When the target luminaire is used as a backlight or background light, different weighting combinations are used.
[0044] In this embodiment, a first weight value is obtained by multiplying the light characteristic data by a first weighting coefficient, a second weight value is obtained by multiplying the power data by a second weighting coefficient, and a third weight value is obtained by multiplying the color characteristic data by a third weighting coefficient. The first, second, and third weight values are then added together to obtain the scoring parameters. It should be noted that the weighting coefficients of the attribute parameters differ when the target luminaire is in different lighting roles, resulting in different calculation results for the scoring parameters.
[0045] In the embodiments of this application, by setting weight coefficients corresponding to power data, light characteristic data, and color characteristic data according to the needs of different lighting roles, and then determining the scoring parameters based on weighted calculation, the scoring parameters can be made more in line with the functional needs of different roles, improving the pertinence and accuracy of the quantitative results, thereby improving the technical problem in related technologies that the scoring parameters cannot be adapted to different lighting roles and have low reference value.
[0046] Step 104: Match the skin color selection command with the preset mapping relationship to obtain the target display parameters of the target lamp in the target combination result.
[0047] In this embodiment, the preset mapping relationship can be the correspondence between skin color selection instructions and target display parameters. The target display parameters can be quantitative parameters that characterize the lighting effect that the target luminaire needs to achieve, for example, parameters in IRE units.
[0048] In some embodiments, the target display parameters include a first display parameter and a second display parameter; matching the skin color selection instruction with a preset mapping relationship to obtain the target display parameters of the target lamp in the target combination result includes: Based on the user's effect selection command, the system matches the preset parameter library to obtain the brightness ratio parameters of the target lamp. The skin color selection command is matched with the preset mapping relationship to obtain the first display parameter; The second display parameter is obtained by performing calculations based on the brightness ratio parameter and the first display parameter.
[0049] In this embodiment, the preset parameter library can be a database containing the correspondence between effect selection instructions and brightness ratio parameters. The brightness ratio parameter indicates the brightness ratio between the user's first camera area and second camera area; the first camera area is the area corresponding to the facial preference instruction; the second camera area is the area other than the first camera area. The effect selection instruction can be the user's selected instruction regarding lighting effect preferences, for example, the user selecting a dramatic lighting effect. The brightness ratio parameter can be a parameter used to determine the brightness relationship of different camera areas based on the lighting effect, for example, a 4:1 or 2:1 light ratio. The first camera area can be the area requiring focused lighting corresponding to the facial preference instruction, for example, the right cheek area when the user selects a 45° main light direction on the right side. The second camera area can be the area requiring auxiliary lighting other than the first camera area, for example, the left cheek area. The user's preferred lighting effect can be determined based on the effect selection instruction, and the brightness ratio parameter corresponding to the lighting effect can be determined according to a preset first mapping relationship; the first mapping relationship can include the mapping relationship between the lighting effect and the brightness ratio parameter.
[0050] In this embodiment, the first display parameter can be a parameter characterizing the target brightness of the first camera area, such as the IRE value determined based on the skin tone selection instruction. The skin tone parameter selected by the user can be determined based on the skin tone selection instruction, and the first display parameter corresponding to the skin tone parameter can be determined according to a preset second mapping relationship; the second mapping relationship can include the mapping relationship between the skin tone parameter and the first display parameter. The second display parameter can be a parameter characterizing the target brightness of the second camera area, calculated based on a brightness ratio parameter and the first display parameter, such as obtaining the second display parameter by multiplying the brightness ratio parameter and the first display parameter.
[0051] This application, through this step, can combine the user's skin tone selection command and effect selection command to determine the first display parameter and the second display parameter step by step. This can not only ensure that the target display parameter is accurately adapted to the user's skin tone, but also meet the user's personalized needs for the brightness ratio of the lights. This makes the target display parameter more in line with the actual lighting needs of the live broadcast scene, and provides a comprehensive and accurate target basis for subsequent generation of control commands and precise adjustment of the target light brightness, further improving the aesthetics and harmony of the people presented in the live broadcast.
[0052] Step 105: Match the target display parameters with the current display parameters to obtain control commands.
[0053] Step 106: Adjust the target lighting fixture based on control commands.
[0054] In some embodiments, control commands are obtained by matching target display parameters with current display parameters, including: Match the current display parameters with the target display parameters to obtain the matching result; If the matching result indicates that the current display parameters and the target display parameters do not match, the control command is determined according to the preset adjustment step size and the initial adjustment command. If the matching result indicates that the current display parameters and the target display parameters match, stop determining the control command.
[0055] In this embodiment, the matching result can be a result used to characterize whether the current display parameters are consistent with the target display parameters. The preset adjustment step size can be a pre-set fixed amplitude parameter for each adjustment of the lamp brightness, for example, a 1% brightness parameter adjustment amplitude. The brightness parameter can be a parameter characterizing the luminous intensity of the target lamp, for example, the lamp's brightness percentage. The initial adjustment command can be a pre-set basic command for initiating lamp brightness adjustment, for example, a command to control the lamp to start adjusting from an initial brightness parameter, where the initial brightness parameter can be 20% brightness. The control command can be a command for adjusting the target lamp brightness parameter, for example, a command to control the lamp brightness to increase or decrease.
[0056] In some embodiments, the current display parameters include a third display parameter and a fourth display parameter; matching the current display parameters and the target display parameters to obtain a matching result includes: If the third display parameter does not match the first display parameter, and / or the fourth display parameter does not match the second display parameter, the matching result indicates that the current display parameter and the target display parameter do not match; If the third display parameter matches the first display parameter and the fourth display parameter matches the second display parameter, the matching result indicates that the current display parameter and the target display parameter match.
[0057] The third display parameter can be a first threshold; the fourth display parameter can be a second threshold. If the first display parameter does not meet the preset first threshold, and / or the second display parameter does not meet the preset second threshold, the initial brightness parameter is adjusted according to a preset adjustment step size to obtain the adjusted brightness parameter; the target lamp is controlled again according to the adjusted brightness parameter to obtain the first display parameter and the second display parameter, until the first display parameter meets the first threshold and the second display parameter meets the second threshold, the brightness parameter of the target lamp in the target combination result is determined, and the determination control command is stopped.
[0058] In some embodiments, when the target luminaire is configured as a backlight, the brightness parameters of the backlight are determined according to the brightness parameters of the surface light and a preset ratio, wherein the preset ratio can be 50%.
[0059] In the embodiments of this application, by determining the brightness ratio parameter based on the effect selection instruction, and combining it with the skin tone selection instruction to determine the display parameters of the first camera area and the second camera area, and then controlling the brightness of the lamps according to these parameters, it is possible to achieve precise adjustment of the brightness of different facial areas, ensuring that the lighting effect matches the user's skin tone characteristics and effect preferences, thereby improving the technical problem in related technologies that cannot accurately control the brightness of different areas according to user needs and that the lighting effect is poor.
[0060] The following describes the lighting control method for the lamps provided in the embodiments of this application.
[0061] This application provides an intelligent lighting adjustment method and control system for use in live video streaming scenarios. This method automatically coordinates the camera and lighting equipment to achieve optimal facial lighting for subjects. During the startup phase, activation condition detection and device coordination are performed. The control system detects that the camera is wired connected and scans the controllable lighting fixtures in the device list, obtaining the device list and the online status of the devices. The function entry is activated only when the camera is wired connected and at least one controllable lighting fixture is online. Figure 3 As shown, the method includes: The system detects user input commands, retrieves user settings parameters, and allows the user to select skin tone and preferences. This maps user preferences to target values. Specifically, the user is guided to select their skin tone through the user interface (UI). The UI provides a skin tone selection unit containing multiple preset options (such as ST01 to ST10) based on the Monk skin tone scale. Each option is associated with a pre-stored, optimized target facial brightness value (IRE), for example, ST01 corresponds to 69±2 IRE, ST02 corresponds to 67±2 IRE, and so on. The UI also provides a face orientation selection unit, receiving the user's input of their preferred main light direction (directly forward, 45° to the left, 45° to the right). This selection directly affects the subsequent lighting placement recommendation logic.
[0062] Obtain the quantity, model, and online status information of the devices; based on the scoring configuration table and the corresponding preset scoring calculation formula, calculate the score of the current lamp according to its power and color, so as to generate and recommend intelligent lighting solutions during the decision-making stage: First, the control system has a built-in scheme decision logic. This logic generates up to three optimal lamp layout schemes based on the following factors: Factor i. The user's preferred face orientation. Factor ii. The number, model, and performance parameters of the lamps currently connected and available in the system. Lamp information is included in a configuration table with three main components: wattage, whether it is soft light, and color capability. Each lamp model will have a different score for its capability. Factor iii. The suitability of each lamp in different roles such as "front light," "backlight," and "background light" is quantitatively scored (scoring weights: for front light, "soft light characteristics" weight > "power" weight > "color" weight; for backlight / background light, different weight combinations are used. Among them, soft light score: hard light is 1, hard light with a diffuser is 2, and native soft light is 3; color capability score: monochrome is 1, dual color temperature is 2, and full color is 3. W1, W2, and W3 are weight coefficients, and W1 > W2 > W3 (e.g., 3, 2, 1)). Example of a scoring formula for characters with front lighting: Front lighting score = (Soft light score * W1) + (Power value * W2) + (Color ability score * W3). Characters with backlighting / background lighting use a different scoring formula with different weights.
[0063] Factor iv. Based on the total number of available lights, invoke the preset light position combination rule library (e.g., single-light rule, double-light rule, triple-light rule, quad-light rule). The rule library defines all possible light role combinations for different numbers of lights. The light role combination method is determined based on the number of devices. Maximum supported number of devices (number of lights): 4. Factor v. Based on the user's preferred face orientation, eliminate combinations that do not meet the criteria. Based on the current light's score, assign the light to a role in the light role combination method. For each possible combination method, according to the scoring formula, prioritize assigning the light with the highest score to the main light role on the user's preferred side, then assign the auxiliary light, backlight, and background light roles in sequence. Finally, output the light position layout scheme and its schematic diagram to the user interface.
[0064] Second, based on the scoring results, the system assigns the highest-scoring luminaire to the user's preferred side as the main light source, and assigns appropriate roles (auxiliary light, backlight, background light) to the remaining luminaires, ultimately forming a complete and executable lighting scheme, complete with a diagram for the user to choose from. The system also detects whether it has received a user-inputted combination selection command, and adjusts the luminaires according to the corresponding lighting role combination method.
[0065] During the adjustment and execution phase, visual feedback and closed-loop dimming control are implemented: After the user selects the scheme and lighting effect, and determines the light ratio based on the user's selected lighting effect, the control system fixes the camera parameters (e.g., ISO 100 / 800, shutter speed 1 / 60s) to eliminate variable interference. The control system captures the video stream in real time through the camera and uses facial recognition technology to locate the face region, reading the IRE values of the user's left and right cheek regions in real time. The control system calculates the real-time average IRE values of the user's left and right cheek regions. Stepwise brightness control of the lamps is implemented: the color temperature is fixed at 5600K, and starting from the initial brightness of the lamps (e.g., 20%), the brightness of the lamps is adjusted in fixed steps (e.g., 1%), and the current average IRE value is compared with the target IRE value in real time. Dimming termination condition: when the real-time IRE value reaches the target value calculated based on the user's selected skin tone and light ratio (e.g., if the user selects a "standard" light ratio (4:1) and prefers the right face, the target IRE value for the right face is the value corresponding to the skin tone, and the target value for the left face is 1 / 4 of it), dimming stops, completing precise control.
[0066] Taking a user using one camera and three lights as an example, including surface light fixture 1, surface light fixture 2, and point light fixture 1. After the user connects the device, the system detects and activates the function. The user selects "Monk ST 03" skin tone (target IRE≈65) and "prefers the right face". The solution decision engine scores the performance (soft light, power, color) of the three lights and generates a recommended solution. For example: point light fixture 1 is recommended as the right main front light, surface light fixture 1 as the left auxiliary front light, and surface light fixture 2 as the backlight. In some embodiments, surface light fixture 2 (with a softbox) is recommended as the front light. The user selects this solution and the "standard (4:1)" light ratio. The system locks the camera parameters. Dimming begins: the lights start at 20% brightness, the system calculates the IRE values of the right and left faces in real time, and gradually adjusts the brightness of point light fixture 1 and surface light fixture 1 until the IRE value of the right face stabilizes at 65 and the IRE value of the left face stabilizes at around 16 (65 / 4). Subsequently, the system adjusts the brightness of the surface light source 2 (backlight) according to the rules (such as 50% of the surface light brightness) to complete the entire dimming process.
[0067] like Figure 4 As shown in the figure, an embodiment of this application discloses a lighting control device for a lamp, applied to a lighting control system in a video live streaming scenario. The lighting control system is connected to at least one camera device and at least two lamps. The lighting control device 400 includes: The acquisition module 401 is used to acquire the current display parameters, lamp model information, and user input facial preference and skin color selection commands sent by the camera device in the connected state. The filtering module 402 is used to filter target lamps that meet the first preset conditions from at least two lamps based on model information; The first matching module 403 is used to match multiple target combinations corresponding to the facial preference command to obtain the target combination result corresponding to the target lamp that meets the second preset condition. The second matching module 404 is used to match the skin color selection instruction with the preset mapping relationship to obtain the target display parameters of the target lamp in the target combination result; The third matching module 405 is used to match the target display parameters with the current display parameters to obtain control commands; The adjustment module 406 is used to adjust the target lamp based on control commands.
[0068] In some embodiments, the acquisition module 401 is further configured to determine that the camera device is in a connected state when it receives video information sent by the camera device.
[0069] In some embodiments, the first matching module 403 is further configured to match the corresponding light role combination rules that meet the number of target lights in a preset rule base; configure the target lights as different light roles based on the light role combination rules, and combine the light roles to obtain multiple light role combination methods; and filter multiple target combination methods from the multiple light role combination methods according to facial preference instructions.
[0070] In some embodiments, the first matching module 403 is further configured to acquire the attribute data of the target luminaire and the weight coefficients corresponding to the attribute data, calculate multiple rating parameters of the lighting role corresponding to the target luminaire based on the attribute data and the weight coefficients; match the target luminaire with the lighting role in the target combination method according to the multiple rating parameters to obtain the luminaire combination result; output the multiple luminaire combination results; receive the user's combination selection instruction, and determine the target combination result from the multiple luminaire combination results.
[0071] In some embodiments, the first matching module 403 is further configured to perform matching in a preset mapping table based on the model information of the target lamp to obtain attribute data; the attribute data includes at least the light characteristic data, power data and color characteristic data of the target lamp.
[0072] In some embodiments, the first matching module 403 is further configured to determine a first weighting coefficient corresponding to the light characteristic data, a second weighting coefficient corresponding to the power data, and a third weighting coefficient corresponding to the color characteristic data based on the light role; and to perform a weighted calculation based on the light characteristic data, the first weighting coefficient, the power data, the second weighting coefficient, the color characteristic data, and the third weighting coefficient to obtain the scoring parameters of the target luminaire.
[0073] In some embodiments, the second matching module 404 is further configured to perform matching in a preset parameter library based on the user's effect selection instruction to obtain the brightness ratio parameter of the target lamp; match the skin color selection instruction with a preset mapping relationship to obtain the first display parameter; and perform calculations based on the brightness ratio parameter and the first display parameter to obtain the second display parameter.
[0074] In some embodiments, the third matching module 405 is further configured to match the current display parameters and the target display parameters to obtain a matching result; if the matching result indicates that the current display parameters and the target display parameters do not match, a control command is determined according to a preset adjustment step size and an initial adjustment command; if the matching result indicates that the current display parameters and the target display parameters match, the determination of the control command is stopped.
[0075] In some embodiments, the third matching module 405 is further configured to determine that the matching result indicates that the current display parameter and the target display parameter do not match if the third display parameter does not match the first display parameter and / or the fourth display parameter does not match the second display parameter; and to determine that the matching result indicates that the current display parameter and the target display parameter match if the third display parameter matches the first display parameter and the fourth display parameter matches the second display parameter.
[0076] To implement the method of the embodiments of this application, such as Figure 5 As shown in the illustration, this application embodiment also provides an electronic device 50 that may include: a memory 501 for storing a computer program; and a processor 502 for implementing the method described above when executing the computer program. The processor 502 can implement the steps of any of the methods described above, which will not be elaborated further here.
[0077] It should be noted that the electronic devices provided in the above embodiments and the above method embodiments belong to the same concept, and their specific implementation process can be found in the method embodiments, which will not be repeated here.
[0078] Of course, in practical applications, such as Figure 5 As shown, the electronic device 50 may further include at least one network interface 503. Various components in the electronic device are coupled together via a bus system 504. It is understood that the bus system 504 is used to implement communication between these components. In addition to a data bus, the bus system 504 also includes a power bus, a control bus, and a status signal bus. However, for clarity, in... Figure 5Various buses are labeled as bus systems 504. The number of processors 502 can be at least one. Network interface 503 is used for wired or wireless communication between electronic devices and other devices. Memory 501 in this embodiment is used to store various types of data to support the operation of the electronic device. The methods disclosed in the above embodiments can be applied to processor 502, or implemented by processor 502. Processor 502 may be an integrated circuit chip with signal processing capabilities. In implementation, each step of the above method can be completed by the integrated logic circuit of the hardware in processor 502 or by instructions in software form. The processor 502 can be a general-purpose processor, a digital signal processor (DSP), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. Processor 502 can implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of this application. A general-purpose processor can be a microprocessor or any conventional processor, etc. The steps of the methods disclosed in the embodiments of this application can be directly reflected in the combined execution of hardware and software modules in a microcontroller. The software module may reside in a storage medium located in memory 501. Processor 502 reads information from memory 501 and, in conjunction with its hardware, completes the steps of the aforementioned method. In an exemplary embodiment, electronic device 50 may be implemented using one or more application-specific integrated circuits (ASICs), DSPs, programmable logic devices (PLDs), complex programmable logic devices (CPLDs), field-programmable gate arrays (FPGAs), general-purpose processors, controllers, microcontrollers (MCUs), microprocessors, or other electronic components to execute the aforementioned method.
[0079] Specifically, embodiments of this application provide a computer-readable storage medium storing a computer program thereon, such as a memory 501 storing the computer program, which can be executed by a processor 502 to complete the aforementioned method steps. The computer-readable storage medium may be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, Flash Memory, magnetic surface memory, optical disc, or CD-ROM.
[0080] In addition, each functional unit in the various embodiments of this application can be integrated into one processing unit, or each unit can be a separate unit, or two or more units can be integrated into one unit; the integrated unit can be implemented in hardware or in the form of hardware plus software functional units.
[0081] Those skilled in the art will understand that all or part of the steps of the above method embodiments can be implemented by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it performs the steps of the above method embodiments. The aforementioned storage medium includes various media capable of storing program code, such as mobile storage devices, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0082] Alternatively, if the integrated units described above are implemented as software functional modules and sold or used as independent products, they can also be stored in a computer-readable storage medium. Based on this understanding, the technical solutions of the embodiments of this application, or the parts that contribute to related technologies, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the methods of the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as mobile storage devices, ROM, RAM, magnetic disks, or optical disks.
[0083] In the above embodiments, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the detailed descriptions of other embodiments above, which will not be repeated here.
[0084] The embodiments of this application have been described in detail above. Specific examples have been used to illustrate the principles and implementation methods of this application. The description of the above embodiments is only for the purpose of helping to understand the method and core ideas of this application. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of this application. Therefore, the content of this specification should not be construed as a limitation of this application.
Claims
1. A light control method of a luminaire, characterized by, The lamp control system applied to a video live scene is connected with at least one camera device and at least two lamps; the method comprises: acquiring current display parameters sent by the camera device in a connected state, model information of the lamps, and face preference instructions and skin color selection instructions input by a user; based on the model information, screening target lamps meeting a first preset condition from the at least two lamps; matching in multiple target combination modes corresponding to the face preference instructions to obtain a target combination result corresponding to the target lamps meeting a second preset condition; matching the skin color selection instructions with a preset mapping relationship to obtain target display parameters of the target lamps in the target combination result; matching the target display parameters with the current display parameters to obtain a control instruction; adjusting the target lamps based on the control instruction.
2. The method of claim 1, wherein, Before the acquiring of the current display parameters sent by the camera device in the connected state, the method further comprises: when receiving video information sent by the camera device, determining that the camera device is in a connected state.
3. The method of claim 1, wherein, The target combination result comprises at least one light character; before the matching in the multiple target combination modes corresponding to the face preference instructions to obtain the target combination result corresponding to the target lamps meeting the second preset condition, the method further comprises: matching corresponding light character combination rules meeting the number of the target lamps in a preset rule library according to the number of the target lamps; based on the light character combination rules, configuring the target lamps as different light characters and combining the light characters to obtain multiple light character combination modes; screening multiple target combination modes from the multiple light character combination modes according to the face preference instructions.
4. The method of claim 3, wherein, The matching in the multiple target combination modes corresponding to the face preference instructions to obtain the target combination result corresponding to the target lamps meeting the second preset condition comprises: acquiring attribute data of the target lamps and weight coefficients corresponding to the attribute data, and calculating multiple score parameters of light characters corresponding to the target lamps based on the attribute data and the weight coefficients; matching the target lamps with the light characters in the target combination modes according to the multiple score parameters to obtain lamp combination results; outputting multiple lamp combination results; receiving a combination selection instruction of a user to determine the target combination result from the multiple lamp combination results.
5. The method of claim 4, wherein, The acquiring of the attribute data of the target lamps comprises: matching in a preset mapping table according to the model information of the target lamps to obtain the attribute data; the attribute data at least comprises light characteristic data, power data, and color characteristic data of the target lamps.
6. The method of claim 5, wherein, The weight coefficients comprise a first weight coefficient, a second weight coefficient, and a third weight coefficient; the acquiring of the attribute data of the target lamps and the weight coefficients corresponding to the attribute data, and the calculating of multiple score parameters of light characters corresponding to the target lamps based on the attribute data and the weight coefficients, comprise: According to the light role, a first weight coefficient corresponding to the light characteristic data, a second weight coefficient corresponding to the power data, and a third weight coefficient corresponding to the color characteristic data are determined; According to the light characteristic data, the first weight coefficient, the power data, the second weight coefficient, the color characteristic data, and the third weight coefficient, a weighted operation is performed to obtain a score parameter of the target lamp.
7. The method of claim 1, wherein, The target display parameter includes a first display parameter and a second display parameter; the matching of the skin color selection instruction with the preset mapping relationship to obtain the target display parameter of the target lamp in the target combination result includes: Based on the effect selection instruction of the user, a matching is performed in a preset parameter library to obtain a brightness ratio parameter of the target lamp; The matching of the skin color selection instruction with the preset mapping relationship to obtain the first display parameter; Based on the brightness ratio parameter and the first display parameter, an operation is performed to obtain the second display parameter.
8. The method of claim 7, wherein, The matching of the target display parameter with the current display parameter to obtain a control instruction includes: The matching of the current display parameter and the target display parameter to obtain a matching result; In a case where the matching result represents that the current display parameter and the target display parameter do not match, a control instruction is determined according to a preset adjustment step and an initial adjustment instruction; In a case where the matching result represents that the current display parameter and the target display parameter match, the determination of the control instruction is stopped.
9. The method of claim 8, wherein, The current display parameter includes a third display parameter and a fourth display parameter; the matching of the current display parameter and the target display parameter to obtain a matching result includes: If the third display parameter and the first display parameter do not match, and / or the fourth display parameter and the second display parameter do not match, it is determined that the matching result represents that the current display parameter and the target display parameter do not match; If the third display parameter and the first display parameter match, and the fourth display parameter and the second display parameter match, it is determined that the matching result represents that the current display parameter and the target display parameter match.
10. A computer-readable storage medium, characterized in that, A computer program is stored thereon, and the computer program is loaded by a processor to execute steps in the method of any one of claims 1-9.
Citation Information
Patent Citations
AI-based adaptive light effect control method and system
CN117202446A
Intelligent debugging method and system for adaptive scene of combined atmosphere lamp
CN117241445A
Lamp adjusting method and device, storage medium, electronic equipment and lamp
CN119421295A
Method and apparatus for synchronously controlling vehicle lamps of multiple vehicles, vehicle, and readable medium
WO2022135540A1
Cited By
Equipment control method and device, electronic equipment and storage medium
CN121711839A