Nixie tube display shadowless lamp control line method and system

Through camera monitoring and video data analysis, the intelligent control of shadowless lamps in home learning scenarios is realized, which solves the problem of poor lighting effects of shadowless lamps in home learning. By intelligently adjusting the position, brightness and angle, the lighting effects are optimized and learning is improved. Environmental comfort and efficiency.

CN118765018APending Publication Date: 2024-10-11韦飞飞
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410728234.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-06
Publication Date
2024-10-11

AI Technical Summary

Technical Problem

Existing shadowless lamps have insufficient intelligent control methods in home learning scenarios and cannot fully exert their lighting functions, resulting in poor lighting effects.

Method used

Monitor the learning area and learners in real time through cameras, use video data for preprocessing, environment detection and image recognition, calculate initial and optimized adjustment parameters, realize intelligent position, brightness and angle adjustment of shadowless lights, combined with learner sitting posture and fatigue detection, Make secondary optimization adjustments.

Benefits of technology

It achieves the best lighting effect of shadowless lamps in the learning process, improves the comfort and efficiency of the learning environment, and provides a basis for judgment of intelligent control.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118765018A_ABST
    Figure CN118765018A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of shadowless lamp intelligent control, in particular to a nixie tube display shadowless lamp control line method and system. Comprising the following steps: acquiring a video in a monitoring range, and decomposing a learning video into a learning area image and a learner image; the shadowless lamp is adjusted for the first time through learning area image detection, and the shadowless lamp is adjusted for the second time through learner image detection; the two kinds of detection provide sufficient basis for parameter adjustment of the shadowless lamp, and intelligent control over the shadowless lamp is facilitated; in the primary adjustment process, calculation is carried out in combination with the initial parameters of the shadowless lamp, and the optimal illumination parameters are judged by using the threshold values; according to the method, the lighting parameters of the shadowless lamp on the learning area can be accurately calculated; in the secondary adjustment process, the comprehensive illumination effect index of the shadowless lamp is calculated, parameter optimization is carried out in combination with the detection result of the learner, the comprehensive illumination effect index is maximized, and the method can obtain the optimal adjustment parameter for the learner.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of intelligent control of shadowless lamps, and in particular to a method and system for controlling shadowless lamps with digital tube displays. Background Art

[0002] Shadowless lamp is a kind of lamp designed to reduce or eliminate the lighting effect of obvious shadow effect. It is designed to provide more uniform and soft light, making the lighting effect more comfortable and natural.

[0003] As a special kind of lamp, shadowless lamp has been widely used in reality because of its functions; for example, shadowless lamp plays a vital role in photography and filmmaking, they provide uniform and soft light, can reduce shadows, and make the subject more clearly presented in the picture. In studio or location shooting, shadowless lamp is often used to illuminate actors, products or scenes; in the medical and beauty industry, shadowless lamp is often used in operating room, examination room and beauty salon; they provide high-quality, uniform lighting, so that doctors, beauticians or professionals can operate or treat accurately; in outdoor events, concerts and weddings, shadowless lamp can be used to illuminate the stage, performance area or the entire venue to ensure that participants can move safely and enjoy the event.

[0004] As people continue to improve their quality of life, shadowless lamps have also been used in daily family life, such as house decoration or study lighting. Shadowless lamps are a very useful learning tool that can provide comfortable lighting, enhance concentration and flexibly adjust light. They are also in line with the trend of energy conservation and environmental protection, providing a good environment and conditions for learning, and can provide higher learning effects than ordinary desk lamps.

[0005] Nowadays, most shadowless lamps have achieved intelligent control. They can be controlled by voice and gestures, and the shadowless lamps are connected to digital tubes to display some control parameters or status information of the shadowless lamps; including: displaying brightness level, displaying working mode, displaying switch status and displaying fault status, etc.; but most of the control methods of shadowless lamps in existing literature are mainly concentrated in the medical field, and are not involved much in home learning; if the control method of conventional desk lamps is adopted, the lighting function of the shadowless lamp cannot be fully utilized, which is not conducive to the intelligent control of the shadowless lamp in the home learning scenario.

[0006] Therefore, the present invention proposes a method and system for controlling a shadowless lamp using a digital tube. Summary of the invention

[0007] The purpose of the present invention is to propose a method and system for controlling shadowless lamps with digital tube display, which is used for intelligent adjustment of shadowless lamps during learning. First, the present invention uses a camera to monitor the specified range in real time and obtains video data collected by the camera. Then, the lighting conditions of the learning area are analyzed to make initial parameter adjustments to the shadowless lamp. The initial adjustment includes position adjustment, brightness adjustment and angle adjustment, so that the learning area can obtain the best lighting effect. Secondly, in order to achieve a better lighting environment, a secondary adjustment is made on the basis of the initial adjustment of the shadowless lamp. The secondary adjustment process adjusts the parameters of the shadowless lamp by analyzing the learner's sitting posture and facial fatigue. The inventive method combines video monitoring, image recognition and parameter optimization to achieve intelligent shadowless lamp control in learning scenarios.

[0008] To achieve the above object, the present invention provides the following technical solutions:

[0009] Digital tube display shadowless lamp control line method, including:

[0010] Monitor the specified range in real time through the camera and obtain the first learning video data;

[0011] Further, the first learning video data is preprocessed to obtain a first learning area image set and a first learner image set; wherein the preprocessing includes:

[0012] Denoising the first learning video data to obtain first denoised learning video data; performing image enhancement on the first denoised learning video data to obtain first enhanced learning video data; performing background segmentation on the first enhanced learning video data to obtain first learning segmented video data; dividing the first learning segmented video data into N learning images by frame; separating the N learning images into learning areas and learners, and constructing the first learning area image set and the first learner image set.

[0013] Furthermore, the images in the first learning area image set are detected to obtain a learning area environment detection result; wherein the process of obtaining the learning area environment detection result includes:

[0014] Extracting features of images in the first learning region image set to obtain a first learning region feature map;

[0015] Further, feature separation is performed on the first learning region feature map according to the channel dimension to obtain brightness features, light features and contour features respectively;

[0016] Furthermore, after the brightness feature, the light feature and the contour feature are activated by an activation function respectively, the learning area environment detection result is obtained through a fully connected layer.

[0017] Further, the initial adjustment parameters of the shadowless lamp are calculated according to the learning area environment detection result; wherein the initial adjustment parameters of the shadowless lamp include: position adjustment parameters, brightness adjustment parameters and lighting angle adjustment parameters;

[0018] The calculation process of the initial adjustment parameters of the shadowless lamp includes:

[0019] Obtain the initial position information, initial brightness information and initial lighting angle information of the shadowless lamp; wherein the initial position information is recorded as in, It is represented as the horizontal coordinate of the shadowless lamp at the initial moment; It is represented as the ordinate of the shadowless lamp at the initial moment; It is represented as the elevation coordinate of the shadowless lamp at the initial moment; the initial brightness information is recorded as B 0 ; The initial lighting angle information is recorded as A 0 ;

[0020] Further, the initial lighting distance between the shadowless lamp and the learning area is calculated and recorded as Among them, LR represents the location information of the learning area;

[0021] The calculation formula of the initial lighting distance information is: Among them, x L Represented as the horizontal coordinate of the learning area; y L Expressed as the ordinate of the learning area; z L It is expressed as the elevation coordinates of the learning area;

[0022] Further, the initial lighting effective value is calculated according to the initial lighting distance information, the initial brightness information and the initial lighting angle information; wherein the calculation formula of the initial lighting effective value is: Wherein, IIEV represents the initial lighting effective value;

[0023] Further, the learning area environment detection result and the initial lighting effective value are input into the initial shadowless lamp parameter adjustment function to obtain the initial adjustment parameters of the shadowless lamp;

[0024] The function formula of the initial shadowless lamp parameter adjustment function is: in, It is represented as the vector of the initial adjustment parameters of the shadowless lamp; f() is represented as the initial shadowless lamp parameter adjustment function, which is used as a nonlinear function representation; LAER is represented as the learning area environment detection result; wherein, when the learning area environment detection result reaches the first threshold value, the initial adjustment parameters of the shadowless lamp are adjusted; the first threshold value is used as the judgment standard for the lighting suitability of the learning area.

[0025] Furthermore, the initial adjustment parameters of the shadowless lamp are transmitted to the shadowless lamp adjustment module, and the shadowless lamp is adjusted once;

[0026] Further, the images in the first learner image set are detected to obtain learner state detection results; wherein the learner state detection results include: sitting posture detection results and fatigue detection results;

[0027] The specific process of obtaining the learner status detection result includes:

[0028] Marking key points of the images in the first learner image set; the key points include: eyes, ears, nose and shoulders;

[0029] Further, the key points are connected to obtain a detection area;

[0030] Inputting the detection area into a posture detection module and a fatigue detection module to obtain a sitting posture deviation feature vector and a fatigue feature vector respectively;

[0031] Wherein, the posture detection module is used to detect the offset position of the key point on the spatial coordinate axis; wherein the spatial coordinate axis is established with the initial position of the shadowless lamp;

[0032] The fatigue detection module is used to detect facial features of the learner in the detection area;

[0033] Furthermore, the sitting posture deviation feature vector and the fatigue feature vector are standardized and calculated to obtain the sitting posture detection result and the fatigue detection result respectively; wherein the fatigue detection result can be divided into: awake state, first-level fatigue state, second-level fatigue state and third-level fatigue state according to the fatigue threshold.

[0034] Further, the optimization adjustment parameters of the shadowless lamp are calculated according to the learner state detection result; wherein the optimization adjustment parameters of the shadowless lamp include: position optimization parameters, brightness optimization parameters, lighting angle optimization parameters and lighting mode optimization parameters;

[0035] The process of obtaining the optimization adjustment parameters of the shadowless lamp includes:

[0036] Obtaining initial adjustment parameters of the shadowless lamp;

[0037] Calculate the distance between the shadowless lamp and the learning area after the first adjustment, and record it as the first distance d1;

[0038] Calculate the distance between the learning area and the learner after the first adjustment, and record it as a second distance d2;

[0039] The first distance and the second distance are combined to obtain a comprehensive lighting effect index of the shadowless lamp after adjustment, wherein the calculation formula of the comprehensive lighting effect index is: When 0≤E<1, it means that the learner is outside the lighting range of the shadowless lamp; wherein E represents the value of the comprehensive lighting effect index; when E≥1, it means that the learner is within the lighting range of the shadowless lamp; B 1 It is expressed as the brightness of the shadowless lamp after one adjustment;

[0040] The initial adjustment parameters of the shadowless lamp are optimized according to the learner status detection result so that the comprehensive lighting effect index is the maximum value; wherein the lighting mode of the shadowless lamp is adjusted according to the fatigue detection result.

[0041] Furthermore, the optimization parameters of the shadowless lamp are transmitted to the shadowless lamp adjustment module, and the shadowless lamp is adjusted for the second time.

[0042] Furthermore, the shadowless lamp is connected to a digital tube for displaying time, date, temperature and current adjustment parameters of the shadowless lamp.

[0043] Digital tube display shadowless lamp control line system, digital tube display unit, environment monitoring unit, environment detection unit, adjustment parameter calculation unit, shadowless lamp control unit and communication unit;

[0044] Wherein, the digital tube display unit is used to display time, date, temperature and current shadowless lamp adjustment parameters;

[0045] The environmental monitoring unit uses a camera to monitor the designated area;

[0046] The environment detection unit is used to detect the lighting conditions of the learning area and the learning status of the learner;

[0047] Wherein, the environment detection unit includes: a learning area detection module and a learner detection module;

[0048] The learning area detection module includes:

[0049] Extracting features of images in the first learning region image set to obtain a first learning region feature map;

[0050] Performing feature separation on the first learning region feature map according to the channel dimension to obtain brightness features, light features and contour features respectively;

[0051] After activating the brightness feature, the light feature and the contour feature by an activation function respectively, the learning area environment detection result is obtained through a fully connected layer;

[0052] The learner detection module includes: marking key points of images in the first learner image set; the key points include: eyes, ears, nose and shoulders;

[0053] Connect the key points to obtain a detection area;

[0054] Inputting the detection area into a posture detection module and a fatigue detection module to obtain a sitting posture deviation feature vector and a fatigue feature vector respectively;

[0055] Wherein, the posture detection module is used to detect the offset position of the key point on the spatial coordinate axis; wherein the spatial coordinate axis is established with the initial position of the shadowless lamp;

[0056] The fatigue detection module is used to detect facial features of the learner in the detection area;

[0057] The sitting posture deviation feature vector and the fatigue feature vector are standardized and calculated to obtain the sitting posture detection result and the fatigue detection result respectively; wherein the fatigue detection result can be divided into: awake state, first-level fatigue state, second-level fatigue state and third-level fatigue state according to the fatigue threshold.

[0058] The adjustment parameter calculation unit is used to calculate the adjustment parameters of the shadowless lamp, including: an initial adjustment calculation module and an optimization adjustment calculation module;

[0059] The shadowless lamp control unit is used to adjust the position, brightness, angle, focusing and lighting mode of the shadowless lamp;

[0060] The communication unit is used for data exchange and control instruction transmission with external devices.

[0061] Compared with the prior art, the present invention has the following beneficial effects:

[0062] 1. In order to achieve precise and intelligent control of the shadowless lamp, the present invention performs learning area detection and learner detection in the two shadowless lamp parameter adjustment processes respectively; wherein, the learning area detection is mainly used to detect the lighting condition of the shadowless lamp in the learning area, and obtain the light brightness and uniformity of the light; the initialization parameters of the shadowless lamp are adjusted according to the detection results; the learner detection mainly detects the learner's sitting posture and facial fatigue level, and can be used to make a second adjustment to the shadowless lamp according to the detection results, so that the shadowless lamp can achieve the best lighting effect during the learning process; the detection method proposed above provides a judgment basis for the subsequent adjustment of the shadowless lamp parameters, which is beneficial to the intelligent control of the shadowless lamp.

[0063] 2. The present invention proposes a method for obtaining the initial adjustment parameters of a shadowless lamp. The method performs initialization parameter adjustment based on the initial information of the shadowless lamp, including position information, brightness information and angle information. In order to accurately obtain the initialization adjustment parameters of the shadowless lamp, the distance between the shadowless lamp and the learning area is calculated, and the parameters are adjusted in combination with the brightness and lighting angle set by the shadowless lamp. In this process, the initial adjustment parameters of the shadowless lamp are calculated by the initial shadowless lamp parameter adjustment function, and the optimal lighting parameters are determined by using the threshold. The method can accurately calculate the lighting parameters of the shadowless lamp for the learning area, which is beneficial to the intelligent control of the shadowless lamp.

[0064] 3. The present invention proposes a method for obtaining optimized adjustment parameters of a shadowless lamp, which optimizes the adjustment parameters after the shadowless lamp is adjusted once; the method detects the learners to obtain the learners' sitting posture detection results and fatigue detection results; in the process of optimizing the shadowless lamp parameters, the comprehensive lighting effect index of the shadowless lamp is calculated, and the parameters are optimized in combination with the learners' detection results to maximize the comprehensive lighting effect index; the method can obtain the optimal adjustment parameters for the learners, which is conducive to the intelligent control of the shadowless lamp. BRIEF DESCRIPTION OF THE DRAWINGS

[0065] Figure 1 A schematic diagram of an intelligent shadowless lamp provided by an embodiment of the present invention;

[0066] Figure 2 A scene diagram of intelligent control of a shadowless lamp provided by an embodiment of the present invention;

[0067] Figure 3 A flowchart of a method for controlling a shadowless lamp by displaying a digital tube according to an embodiment of the present invention;

[0068] Figure 4 A structural diagram of a digital tube display shadowless lamp control line system provided by an embodiment of the present invention;

[0069] Figure 5 A structural diagram of an environment detection unit provided by an embodiment of the present invention;

[0070] Figure 6 A structural diagram of an adjustment parameter calculation unit provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0071] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0072] As a special kind of lamp, shadowless lamp projects uniform and soft light to the area that needs to be illuminated through a specially designed reflector. It also has adjustment functions and flexible lighting angle control to meet the lighting needs of various different scenes. Shadowless lamps are used in many scenes; for example, shadowless lamps play a vital role in photography and filmmaking. They provide uniform and soft light, which can reduce shadows and make the subject appear more clearly in the picture. When shooting in the studio or on location, shadowless lamps are often used to illuminate actors, products or scenes; in the medical and beauty industries, shadowless lamps are often used in operating rooms, examination rooms and beauty salons; they provide high-quality, uniform lighting, allowing doctors, beauticians or professionals to perform operations or treatments accurately; in outdoor events, concerts and weddings, shadowless lamps can be used to illuminate the stage, performance area or the entire venue to ensure that participants can move safely and enjoy the event.

[0073] As people's quality of life improves, shadowless lamps are now widely used in family life; such as house decoration or study table lamps; Figure 1 , Figure 1 It is a common intelligent shadowless desk lamp for study room.

[0074] In daily life, most shadowless lamps have realized intelligent control, which can be controlled by voice and gestures, and the shadowless lamp is connected to a digital tube to display some control parameters or status information of the shadowless lamp, including: displaying brightness level, displaying working mode, displaying switch status and displaying fault status, etc. However, in the prior art, there are still some defects in the intelligent control of shadowless lamps. Therefore, the present invention proposes a method and system for displaying a shadowless lamp control line with a digital tube for intelligent control of shadowless lamps in home learning. In order to illustrate the effectiveness of the present invention, two embodiments will be described below.

[0075] Embodiment 1

[0076] See also Figure 2 ,exist Figure 2 The embodiment of the present application is shown in the control of the shadowless lamp and the scene of the digital tube display during the learning process; the method proposed in the present invention is combined with the system, and the control of the shadowless lamp is realized by each unit of the system; wherein the specific implementation process of the present invention is as follows Figure 3As shown, it includes: S10. Real-time monitoring of the specified range through a camera, and obtaining the first learning video data; S20. Preprocessing the first learning video data to obtain the first learning area image set and the first learner image set; S30. Detecting the images in the first learning area image set; S40. Calculating the initial adjustment parameters of the shadowless lamp according to the learning area environment detection results; S50. The initial adjustment parameters of the shadowless lamp are transmitted to the shadowless lamp adjustment module, and the shadowless lamp is adjusted once; S60. Detecting the images in the first learner image set; S70. Calculating the optimized adjustment parameters of the shadowless lamp according to the learner state detection results; S80. Transmitting the optimized parameters of the shadowless lamp to the shadowless lamp adjustment module, and making a second adjustment to the shadowless lamp. As shown Figure 4 As shown, the system includes: a digital tube display unit, an environment monitoring unit, a shadowless lamp control unit and a communication unit.

[0077] Furthermore, the specific implementation process of the embodiment of the present application is as follows:

[0078] The environmental monitoring unit of the system monitors the specified range in real time and collects the monitored video data, corresponding to the above-mentioned step S10; wherein, in the example of the present application, the setting of the specified range at least includes Figure 2 All the scenes shown in;

[0079] Further, in step S20, the collected video data is preprocessed; wherein the preprocessing includes: denoising the first learning video data to obtain first denoised learning video data; performing image enhancement on the first denoised learning video data to obtain first enhanced learning video data; performing background segmentation on the first enhanced learning video data to obtain first learning segmented video data; dividing the first learning segmented video data into N learning images by frame; performing learning region and learner separation on the N learning images, and constructing the first learning region image set and the first learner image set;

[0080] In an embodiment of the present application, the video data acquired by the camera is preprocessed for subsequent analysis of the learning area and learners; wherein the preprocessing includes: video denoising, video enhancement, background segmentation, division into images and region separation; video denoising can improve image quality, enhance edge details, improve color and contrast, and enhance the effect analysis of shadowless lamp lighting; video enhancement can enhance the brightness characteristics and light characteristics of the shadowless lamp lighting area, which is conducive to reflecting the lighting effect of the shadowless lamp through image detection results; background segmentation can highlight the learning area and learners, reduce detection interference caused by the background, and is conducive to shadowless lamp lighting analysis; division into images can facilitate analysis of each frame of video image, reduce the amount of detection, fully understand the detection area, and enhance the reliability of detection; region separation can detect the lighting effect of the shadowless lamp in different areas, and adjust the parameters of the shadowless lamp according to the detection results of different areas to achieve the best lighting effect.

[0081] Furthermore, the environment detection unit of the system detects Figure 2 The learning area and learner in the detection are respectively corresponding to step S30 and step S60; wherein, refer to Figure 5 , the environment detection unit includes: a learning area detection module and a learner detection module;

[0082] First, in the embodiments of the present application Figure 2 The learning area is tested to obtain the lighting effect of the shadowless lamp and make initial adjustments to the shadowless lamp. The testing process of the learning area includes:

[0083] Extracting features of images in the first learning area image set to obtain a first learning area feature map; wherein the first learning area feature map is obtained by using a neural network model, such as a CNN or ResNet neural network model, to extract features from the image;

[0084] Further, feature separation is performed on the first learning region feature map according to the channel dimension to obtain brightness features, light features and contour features respectively;

[0085] Furthermore, after the brightness feature, the light feature and the contour feature are activated by an activation function respectively, the learning area environment detection result is obtained through a fully connected layer.

[0086] In order to analyze the lighting conditions of the shadowless lamp in the learning area in the embodiment of the present application, the brightness characteristics, light characteristics and contours of the illuminated objects in the learning area are separated in the acquired feature map as lighting analysis conditions; by acquiring the above series of characteristics, the corresponding lighting values ​​can be finally obtained; according to the analysis results, sufficient data is provided for the subsequent initial adjustment of the shadowless lamp.

[0087] Furthermore, according to Figure 2 The shadowless lamp is adjusted initially based on the detection results of the learning area. The initial adjustment parameters need to be obtained before making adjustments. Figure 6 The calculation of the initial adjustment parameter is implemented by the initial adjustment calculation module of the adjustment parameter calculation unit of the system, corresponding to the above-mentioned step S40; the specific calculation process includes:

[0088] Obtain the initial position information, initial brightness information and initial lighting angle information of the shadowless lamp; wherein the initial position information is recorded as in, It is represented as the horizontal coordinate of the shadowless lamp at the initial moment; It is represented as the ordinate of the shadowless lamp at the initial moment; It is represented as the elevation coordinate of the shadowless lamp at the initial moment; the initial brightness information is recorded as B 0 ; The initial lighting angle information is recorded as A 0 ;

[0089] In the embodiment of the present application, the initial position of the shadowless lamp is established by taking the current position of the shadowless lamp as the origin to establish the spatial coordinate axis, and the initial position information can be set to: SL = (0,0,0); the initial brightness information and the initial lighting angle information are the parameters after the lights are turned off on the previous learning day;

[0090] Further, the initial lighting distance between the shadowless lamp and the learning area is calculated and recorded as Among them, LR represents the location information of the learning area;

[0091] The calculation formula of the initial lighting distance information is: Among them, x L Represented as the horizontal coordinate of the learning area; y L Expressed as the ordinate of the learning area; z L It is expressed as the elevation coordinates of the learning area;

[0092] Further, the initial lighting effective value is calculated according to the initial lighting distance information, the initial brightness information and the initial lighting angle information; wherein the calculation formula of the initial lighting effective value is: Wherein, IIEV represents the initial lighting effective value;

[0093] Further, the learning area environment detection result and the initial lighting effective value are input into the initial shadowless lamp parameter adjustment function to obtain the initial adjustment parameters of the shadowless lamp;

[0094] The function formula of the initial shadowless lamp parameter adjustment function is: in, It is represented as the vector of the initial adjustment parameters of the shadowless lamp; f() is represented as the initial shadowless lamp parameter adjustment function, which is used as a nonlinear function representation; LAER is represented as the learning area environment detection result; wherein, when the learning area environment detection result reaches the first threshold, the initial adjustment parameters of the shadowless lamp are adjusted; the first threshold is used as the judgment standard for the suitability of lighting in the learning area; wherein, the setting of the first threshold is based on the judgment of the clarity of surrounding objects when the shadowless lamp is illuminating the learning area.

[0095] In an embodiment of the present application, a method for obtaining the initial adjustment parameters of a shadowless lamp is provided. The method performs initialization parameter adjustment based on the initial information of the shadowless lamp, including: position information, brightness information and angle information; in order to accurately obtain the initialization adjustment parameters of the shadowless lamp, the distance of the shadowless lamp learning area is calculated, and the parameters are adjusted in combination with the brightness and lighting angle set by the shadowless lamp; in this process, the initial adjustment parameters of the shadowless lamp are calculated by the initial shadowless lamp parameter adjustment function, and the optimal lighting parameters are determined by using the threshold; the invention can accurately calculate the lighting parameters of the shadowless lamp for the learning area, which is conducive to the intelligent control of the shadowless lamp.

[0096] Further, the shadowless lamp is adjusted according to the initial adjustment parameters, which is implemented by the shadowless lamp control unit of the system, corresponding to the above-mentioned step S50; wherein the shadowless lamp control unit obtains the initial adjustment parameters to achieve the adjustment of the position, brightness and lighting angle;

[0097] Further, then, Figure 2 The learners in the test are tested by Figure 5 The learner detection module in is implemented, corresponding to step S30; wherein the specific detection process includes:

[0098] Marking key points of the images in the first learner image set; the key points include: eyes, ears, nose and shoulders;

[0099] Further, the key points are connected to obtain a detection area;

[0100] Inputting the detection area into a posture detection module and a fatigue detection module to obtain a sitting posture deviation feature vector and a fatigue feature vector respectively;

[0101] Wherein, the posture detection module is used to detect the offset position of the key point on the spatial coordinate axis; wherein the spatial coordinate axis is established with the initial position of the shadowless lamp;

[0102] The fatigue detection module is used to detect facial features of the learner in the detection area;

[0103] Furthermore, the sitting posture deviation feature vector and the fatigue feature vector are standardized and calculated to obtain the sitting posture detection result and the fatigue detection result, respectively; wherein the fatigue detection result can be divided into: awake state, first-level fatigue state, second-level fatigue state and third-level fatigue state according to the fatigue threshold; when corresponding to different fatigue levels, the shadowless lamp can adaptively adjust the color temperature and light mode of the light according to the fatigue state to alleviate the learner's fatigue state.

[0104] The embodiment of the present application performs secondary adjustment of the shadowless lamp through learner detection. The detection mainly detects the learner's sitting posture and facial fatigue level. The detection results can be used to perform secondary adjustment of the shadowless lamp, so that the shadowless lamp can achieve the best lighting effect during the learning process. The above-proposed detection method provides a judgment basis for the subsequent adjustment of the shadowless lamp parameters, which is conducive to the intelligent control of the shadowless lamp.

[0105] Furthermore, according to Figure 2 The shadowless lamp is adjusted twice based on the test results of the learners in the test. Before the adjustment, the parameters need to be adjusted twice. The parameters are Figure 6 The optimization adjustment calculation module is obtained, corresponding to the above step S70; the specific acquisition process includes:

[0106] Obtaining initial adjustment parameters of the shadowless lamp;

[0107] Further, the distance between the shadowless lamp and the learning area after the one adjustment is calculated and recorded as a first distance d1;

[0108] Further, the distance between the learning area and the learner after the first adjustment is calculated and recorded as a second distance d2;

[0109] Furthermore, the first distance and the second distance are combined to obtain a comprehensive lighting effect index of the shadowless lamp after adjustment, wherein the calculation formula of the comprehensive lighting effect index is: When 0≤E<1, it means that the learner is outside the lighting range of the shadowless lamp; wherein E represents the value of the comprehensive lighting effect index; when E≥1, it means that the learner is within the lighting range of the shadowless lamp; B 1 It is expressed as the brightness of the shadowless lamp after one adjustment;

[0110] Optimizing the initial adjustment parameters of the shadowless lamp according to the learner state detection result so that the comprehensive lighting effect index is the maximum value; wherein the lighting mode of the shadowless lamp is adjusted according to the fatigue detection result; wherein the lighting modes include: strong light, warm light and cold light, etc.;

[0111] The embodiment of the present application adopts a method for obtaining optimized adjustment parameters of a shadowless lamp, which performs secondary adjustment parameter optimization after the shadowless lamp is adjusted once; the method detects the learner to obtain the learner's sitting posture detection result and fatigue detection result; in the process of optimizing the shadowless lamp parameters, the comprehensive lighting effect index of the shadowless lamp is calculated, and the parameters are optimized in combination with the learner's detection results to maximize the comprehensive lighting effect index; the method can obtain the optimal adjustment parameters for the learner, which is conducive to the intelligent control of the shadowless lamp.

[0112] Further, the optimization parameters of the shadowless lamp are transmitted to the shadowless lamp control unit of the system, and the shadowless lamp is adjusted for a second time, corresponding to the above step S80;

[0113] Furthermore, in the digital tube display unit of the system, the digital tube is connected to the shadowless lamp through a connecting line to display the time, date, temperature and current adjustment parameters of the shadowless lamp.

[0114] In addition, in order to make the shadowless lamp controllable according to the needs of the learners, an information unit is added to the system; the learners can issue commands through the voice function to control the adjustment of the shadowless lamp.

[0115] In the embodiment of the present application, a method and system for displaying the control line of a shadowless lamp using a digital tube is used to realize intelligent control of the shadowless lamp; the method obtains the monitoring video of the learning process and adjusts the shadowless lamp by analyzing the video. Among them, the present invention mainly includes: first, the lighting conditions of the learning area are detected to obtain the lighting effects such as the brightness and uniformity of the shadowless lamp, and the shadowless lamp is adjusted initially according to the detection results, including the adjustment of the position, brightness and angle, so that the shadowless lamp can achieve the best lighting effect for the learning area; secondly, the analysis of the learners, according to the actual sitting posture and the degree of fatigue generated in life, the shadowless lamp does not achieve the best lighting, so the initial lighting parameters are further adjusted through the analysis results and the detection results to obtain the tuning parameters; the tuning parameters achieve the best lighting environment from the learner's perspective; finally, the shadowless lamp is adjusted for the second time according to the obtained tuning parameters.

[0116] Embodiment 2

[0117] In the first embodiment, the method of the present invention is combined with the system to achieve Figure 2 Intelligent control of shadowless lamp; in this embodiment, Figure 2 The scenario in the embodiment is described again, and the specific implementation process is the same as that of the embodiment 1, and the process includes:

[0118] Monitor the specified range in real time through the camera and obtain the first learning video data;

[0119] Further, preprocessing the first learning video data to obtain a first learning area image set and a first learner image set;

[0120] Further, detecting the images in the first learning area image set to obtain a learning area environment detection result;

[0121] Further, the initial adjustment parameters of the shadowless lamp are calculated according to the learning area environment detection result; wherein the initial adjustment parameters of the shadowless lamp include: position adjustment parameters, brightness adjustment parameters and lighting angle adjustment parameters;

[0122] The calculation process of the initial adjustment parameters of the shadowless lamp includes:

[0123] Obtain the initial position information, initial brightness information and initial lighting angle information of the shadowless lamp; wherein the initial position information is recorded as in, It is represented as the horizontal coordinate of the shadowless lamp at the initial moment; It is represented as the ordinate of the shadowless lamp at the initial moment; It is represented as the elevation coordinate of the shadowless lamp at the initial moment; the initial brightness information is recorded as B 0 ; The initial lighting angle information is recorded as A 0 ;

[0124] Further, the initial lighting distance between the shadowless lamp and the learning area is calculated and recorded as Among them, LR represents the location information of the learning area;

[0125] The calculation formula of the initial lighting distance information is: Among them, x L Represented as the horizontal coordinate of the learning area; y L Expressed as the ordinate of the learning area; z L It is expressed as the elevation coordinates of the learning area;

[0126] Further, the initial lighting effective value is calculated according to the initial lighting distance information, the initial brightness information and the initial lighting angle information; wherein the calculation formula of the initial lighting effective value is: Wherein, IIEV represents the initial lighting effective value;

[0127] Further, the learning area environment detection result and the initial lighting effective value are input into the initial shadowless lamp parameter adjustment function to obtain the initial adjustment parameters of the shadowless lamp;

[0128] The function formula of the initial shadowless lamp parameter adjustment function is: in, It is represented as the vector of the initial adjustment parameters of the shadowless lamp; f() is represented as the initial shadowless lamp parameter adjustment function, which is used as a nonlinear function representation; LAER is represented as the learning area environment detection result; wherein, when the learning area environment detection result reaches the first threshold value, the initial adjustment parameters of the shadowless lamp are adjusted; the first threshold value is used as the judgment standard for the lighting suitability of the learning area.

[0129] Furthermore, the initial adjustment parameters of the shadowless lamp are transmitted to the shadowless lamp adjustment module, and the shadowless lamp is adjusted once;

[0130] Further, detecting the images in the first learner image set to obtain a learner state detection result;

[0131] Further, the optimization adjustment parameters of the shadowless lamp are calculated according to the learner state detection result; wherein the optimization adjustment parameters of the shadowless lamp include: position optimization parameters, brightness optimization parameters, lighting angle optimization parameters and lighting mode optimization parameters;

[0132] The process of obtaining the optimization adjustment parameters of the shadowless lamp includes:

[0133] Obtaining initial adjustment parameters of the shadowless lamp;

[0134] Calculate the distance between the shadowless lamp and the learning area after the first adjustment, and record it as the first distance d1;

[0135] Calculate the distance between the learning area and the learner after the first adjustment, and record it as a second distance d2;

[0136] The first distance and the second distance are combined to obtain a comprehensive lighting effect index of the shadowless lamp after adjustment, wherein the calculation formula of the comprehensive lighting effect index is: When 0≤E<1, it means that the learner is outside the lighting range of the shadowless lamp; wherein E represents the value of the comprehensive lighting effect index; when E≥1, it means that the learner is within the lighting range of the shadowless lamp; B 1 It is expressed as the brightness of the shadowless lamp after one adjustment;

[0137] The initial adjustment parameters of the shadowless lamp are optimized according to the learner status detection result so that the comprehensive lighting effect index is the maximum value; wherein the lighting mode of the shadowless lamp is adjusted according to the fatigue detection result.

[0138] Furthermore, the optimization parameters of the shadowless lamp are transmitted to the shadowless lamp adjustment module, and the shadowless lamp is adjusted for the second time.

[0139] Furthermore, the shadowless lamp is connected to a digital tube for displaying time, date, temperature and current adjustment parameters of the shadowless lamp.

[0140] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.

Claims

1. Digital tube display shadowless lamp control line method, characterized in that: include: Monitor the specified range in real time through the camera and obtain the first learning video data; Preprocessing the first learning video data to obtain a first learning region image set and a first learner image set; Detecting the images in the first learning area image set to obtain a learning area environment detection result; Calculate the initial adjustment parameters of the shadowless lamp according to the learning area environment detection result; wherein the initial adjustment parameters of the shadowless lamp include: position adjustment parameters, brightness adjustment parameters and lighting angle adjustment parameters; transmit the initial adjustment parameters of the shadowless lamp to the shadowless lamp adjustment module, and adjust the shadowless lamp once; detect the images in the first learner image set to obtain the learner state detection result; calculate the optimized adjustment parameters of the shadowless lamp according to the learner state detection result; wherein the optimized adjustment parameters of the shadowless lamp include: position optimization parameters, brightness optimization parameters, lighting angle optimization parameters and lighting mode optimization parameters; transmit the optimized parameters of the shadowless lamp to the shadowless lamp adjustment module, and adjust the shadowless lamp for a second time.

2. The digital tube display shadowless lamp control line method according to claim 1, characterized in that: The pre-processing comprises: Denoising the first learning video data to obtain first denoised learning video data; performing image enhancement on the first denoised learning video data to obtain first enhanced learning video data; performing background segmentation on the first enhanced learning video data to obtain first learning segmented video data; dividing the first learning segmented video data into N learning images by frame; separating the N learning images into learning areas and learners, and constructing the first learning area image set and the first learner image set.

3. The digital tube display shadowless lamp control line method according to claim 1, characterized in that: The process of obtaining the learning area environment detection result includes: Extracting features of images in the first learning region image set to obtain a first learning region feature map; Performing feature separation on the first learning region feature map according to the channel dimension to obtain brightness features, light features and contour features respectively; After the brightness feature, the light feature and the contour feature are activated by an activation function respectively, the learning area environment detection result is obtained through a fully connected layer.

4. The digital tube display shadowless lamp control line method according to claim 1, characterized in that: The calculation process of the initial adjustment parameters of the shadowless lamp includes: Obtain the initial position information, initial brightness information and initial lighting angle information of the shadowless lamp; wherein the initial position information is recorded as in, It is represented as the horizontal coordinate of the shadowless lamp at the initial moment; It is represented as the ordinate of the shadowless lamp at the initial moment; It is represented as the elevation coordinate of the shadowless lamp at the initial moment; the initial brightness information is recorded as B 0 ; The initial lighting angle information is recorded as A 0 ; Calculate the initial lighting distance between the shadowless lamp and the learning area, recorded as Among them, LR represents the location information of the learning area; The calculation formula of the initial lighting distance information is: Among them, x L Represented as the horizontal coordinate of the learning area; y L Expressed as the ordinate of the learning area; z L It is expressed as the elevation coordinates of the learning area; The initial lighting effective value is calculated according to the initial lighting distance information, the initial brightness information and the initial lighting angle information; wherein the calculation formula of the initial lighting effective value is: Wherein, IIEV represents the initial lighting effective value; Inputting the learning area environment detection result and the initial lighting effective value into the initial shadowless lamp parameter adjustment function to obtain the initial adjustment parameters of the shadowless lamp; The function formula of the initial shadowless lamp parameter adjustment function is: in, It is represented as the vector of the initial adjustment parameters of the shadowless lamp; f() is represented as the initial shadowless lamp parameter adjustment function, which is used as a nonlinear function representation; LAER is represented as the learning area environment detection result; wherein, when the learning area environment detection result reaches the first threshold, the initial adjustment parameters of the shadowless lamp are adjusted; the first threshold is used as the judgment standard for the lighting suitability of the learning area.

5. The digital tube display shadowless lamp control line method according to claim 1, characterized in that: The learner status detection results include: sitting posture detection results and fatigue detection results; The specific process of obtaining the learner status detection result includes: Marking key points of the images in the first learner image set; the key points include: eyes, ears, nose and shoulders; Connect the key points to obtain a detection area; Inputting the detection area into a posture detection module and a fatigue detection module to obtain a sitting posture deviation feature vector and a fatigue feature vector respectively; Wherein, the posture detection module is used to detect the offset position of the key point on the spatial coordinate axis; wherein the spatial coordinate axis is established with the initial position of the shadowless lamp; The fatigue detection module is used to detect facial features of the learner in the detection area; The sitting posture deviation feature vector and the fatigue feature vector are standardized and calculated to obtain the sitting posture detection result and the fatigue detection result respectively; wherein the fatigue detection result can be divided into: awake state, first-level fatigue state, second-level fatigue state and third-level fatigue state according to the fatigue threshold.

6. The digital tube display shadowless lamp control line method according to claim 1, characterized in that: The process of obtaining the optimization adjustment parameters of the shadowless lamp includes: Obtaining initial adjustment parameters of the shadowless lamp; Calculate the distance between the shadowless lamp and the learning area after the first adjustment, and record it as the first distance d1; Calculating the distance between the learning area and the learner after the first adjustment, and recording it as a second distance d2; The first distance and the second distance are combined to obtain a comprehensive lighting effect index of the shadowless lamp after adjustment, wherein the calculation formula of the comprehensive lighting effect index is: When 0≤E<1, it means that the learner is outside the lighting range of the shadowless lamp; wherein E represents the value of the comprehensive lighting effect index; when E≥1, it means that the learner is within the lighting range of the shadowless lamp; B 1 It is expressed as the brightness of the shadowless lamp after one adjustment; The initial adjustment parameters of the shadowless lamp are optimized according to the learner status detection result so that the comprehensive lighting effect index is the maximum value; wherein the lighting mode of the shadowless lamp is adjusted according to the fatigue detection result.

7. The digital tube display shadowless lamp control line method according to claim 1, characterized in that: The shadowless lamp is connected to a digital tube, wherein the digital tube is used to display time, date, temperature and current adjustment parameters of the shadowless lamp.

8. Digital tube display shadowless lamp control line system, characterized by: The system comprises: a digital tube display unit, an environment monitoring unit, an environment detection unit, an adjustment parameter calculation unit, a shadowless lamp control unit and a communication unit; Among them, the digital tube display unit is used to display the time, date, temperature and current adjustment parameters of the shadowless lamp; the environmental monitoring unit uses a camera to monitor the designated area; the environmental detection unit is used to detect the lighting conditions of the learning area and the learning status of the learner; wherein the environmental detection unit includes: a learning area detection module and a learner detection module; the adjustment parameter calculation unit is used to calculate the adjustment parameters of the shadowless lamp, including: an initial adjustment calculation module and an optimization adjustment calculation module; the shadowless lamp control unit is used to adjust the position, brightness, angle, focus and lighting mode of the shadowless lamp; the communication unit is used for data exchange and control instruction transmission with external devices.

9. The digital tube display shadowless lamp control line system according to claim 8, characterized in that: The learning area detection module includes: Extract features of images in the first learning region image set to obtain a first learning region feature map; Performing feature separation on the first learning region feature map according to the channel dimension to obtain brightness features, light features and contour features respectively; After the brightness feature, the light feature and the contour feature are activated by the activation function respectively, the learning area environment detection result is obtained through the fully connected layer.

10. The digital tube display shadowless lamp control line system according to claim 8, characterized in that: The learner detection module includes: marking key points of images in the first learner image set; the key points include: eyes, ears, nose and shoulders; Connect the key points to obtain a detection area; Inputting the detection area into a posture detection module and a fatigue detection module to obtain a sitting posture deviation feature vector and a fatigue feature vector respectively; Wherein, the posture detection module is used to detect the offset position of the key point on the spatial coordinate axis; wherein the spatial coordinate axis is established with the initial position of the shadowless lamp; The fatigue detection module is used to detect facial features of the learner in the detection area; The sitting posture deviation feature vector and the fatigue feature vector are standardized and calculated to obtain a sitting posture detection result and a fatigue detection result, respectively; wherein the fatigue detection result can be divided into: awake state, first-level fatigue state, second-level fatigue state and third-level fatigue state according to the fatigue threshold.