A smart classroom lighting method and system based on face recognition
The image and time stamp of the teacher are obtained through facial recognition technology, and the classroom lighting is adjusted in combination with the teaching lighting configuration, which solves the lighting problems caused by lighting adjustment outside the window, realizes personalized lighting environment adjustment, and improves teaching effect and student vision protection.
Patent Information
- Application Number
- CN202210212863.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-04
- Publication Date
- 2025-08-15
- Estimated Expiration
- 2042-03-04
AI Technical Summary
When the classroom lights and podium lights in existing smart classrooms are adjusted according to the lighting conditions outside the window, weak or strong light may occur, affecting the teaching effect and students' vision health.
The face image information and time stamps of the teacher are obtained through facial recognition technology, and the lighting environment of the smart classroom is adjusted in combination with the teaching lighting configuration, including the judgment of course time, course type and experimental category, and dynamically adjust the light intensity, tone and curtain opening degree.
It has achieved dynamic adjustment of the classroom lighting environment according to the specific needs of the teacher, improve teaching effect, protect students' vision, and save electricity.
Smart Images

Figure CN114596616B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of smart classrooms, and in particular to a smart classroom lighting method and system based on face recognition. Background Art
[0002] To some extent, the current predicament of multimedia classrooms is closely related to the design of the classroom environment and the technical equipment. Reconstructing the classroom environment to create a new classroom environment suitable for student learning and teacher teaching is an inevitable trend. With the emergence of concepts such as smart earth and smart cities and the rapid development of related technologies, fully utilizing sensing technology, Internet of Things technology, artificial intelligence technology, multimedia technology, cloud computing technology, and other technologies to equip classrooms, improve the learning environment, and build smart classrooms has become an inevitable choice. In existing smart classrooms, classroom lighting intelligently adjusts according to the lighting conditions outside the classroom window, thereby achieving energy conservation.
[0003] Regarding the above-mentioned related technologies, the inventors believe that there are the following defects: the classroom lights and podium lights in the classroom are adjusted according to the lighting conditions outside the window. When the light outside the window is relatively strong or relatively weak, the lights in the classroom may be weak or glaring. At this time, it is difficult to meet the teaching conditions of some teachers, and it also affects the teaching effect and students' eyesight health. Summary of the Invention
[0004] In order to improve the defect that when the light outside the window is strong, the classroom lights and podium lights may be adjusted according to the light conditions outside the window, resulting in dim light or glaring light, which makes it difficult to meet the teaching conditions of some teachers, the present application provides a smart classroom lighting method and system based on face recognition.
[0005] In a first aspect, the present application provides a smart classroom lighting method based on face recognition, comprising the following steps:
[0006] Get the teacher's facial image information;
[0007] Query the timestamp of the facial image information;
[0008] Acquire the teaching lighting configuration of the teacher based on the facial image information;
[0009] The lighting environment of the smart classroom is adjusted based on the timestamp and the teaching light configuration.
[0010] By adopting the above technical solution, when the teacher is in the smart classroom, the teacher's facial image information will be obtained, and the timestamp of the facial image will be queried. Based on the facial image information, the teaching lighting configuration suitable for the corresponding teacher will be obtained. Then, combined with the timestamp and teaching lighting configuration, the smart classroom will be adjusted to the lighting environment suitable for the teacher.
[0011] Optionally, adjusting the lighting environment of the smart classroom in combination with the timestamp and the teaching light configuration includes the following steps:
[0012] Obtain the course time of the teacher through the teaching system;
[0013] Determine whether the timestamp is within the course time;
[0014] If the timestamp is not within the course time, turn off the podium light in the smart classroom;
[0015] If the timestamp is within the course time, identifying the course type of the teacher according to the course time of the timestamp;
[0016] The lighting environment of the smart classroom is adjusted in combination with the course type and the teaching lighting configuration.
[0017] By adopting the above technical solution, the course time corresponds to the time of all the teachers' courses. The course time of all teachers is pre-entered into the teaching system. Therefore, the course time of the teacher can be obtained from the teaching system, and then it is determined whether the timestamp is within the course time. If it is within the course time, it means that the teacher is teaching in the smart classroom. At this time, the course type is identified according to the course time of the timestamp, and the lighting environment of the smart classroom is adjusted in combination with the course type and the teaching lighting configuration; if it is not within the course time, it means that the teacher is not teaching in the smart classroom, and the podium light is turned off to save energy.
[0018] Optionally, the course types include general courses, experimental courses, and film viewing courses, and adjusting the lighting environment of the smart classroom in combination with the course types and the teaching lighting configuration includes the following steps:
[0019] Determine whether the course type is the movie viewing course;
[0020] If the course type is the movie watching course, turning off the classroom lights and classroom curtains in the smart classroom;
[0021] If the course type is not the film viewing course, determining whether the course type is the ordinary course or the experimental course;
[0022] If the course type is the experimental course, identifying the experiment category of the experimental course, and adjusting the lighting environment of the smart classroom according to the experiment category;
[0023] If the course type is the ordinary course, the classroom lights are turned on, and the lighting environment is adjusted based on the teaching light configuration.
[0024] By adopting the above technical solution, since the course types taught by the teacher include regular courses, experimental courses and movie courses, regular courses require the lighting environment of the smart classroom to be kept bright, while movie courses require the lighting environment of the smart classroom to be kept dark, and experimental courses require further adjustments based on the type of experiment.
[0025] Optionally, adjusting the lighting environment of the smart classroom according to the experiment category includes the following steps:
[0026] Determining whether the experiment category is the biological experiment, physical experiment, or chemical experiment;
[0027] If the experiment category is the biology experiment, turning on the classroom lights and adjusting the lighting environment of the smart classroom based on the teaching light configuration;
[0028] If the experiment category is the physical experiment, determining whether the physical experiment is an optical experiment;
[0029] If the physical experiment is the optical experiment, turning off the classroom lights and the classroom curtains;
[0030] If the physical experiment is not the optical experiment, turning on the classroom lights and adjusting the lighting environment of the smart classroom based on the teaching light configuration;
[0031] If the experiment type is the chemical experiment, determining whether the chemical experiment is a flame color reaction experiment;
[0032] If the chemical experiment is the flame color reaction experiment, turning off the classroom lights;
[0033] If the chemistry experiment is not the flame color reaction experiment, the classroom lights are turned on, and the lighting environment of the smart classroom is adjusted based on the teaching light configuration.
[0034] By adopting the above technical solution, some experiments in the experimental category need to turn on the classroom lights, while some experiments need to keep the lighting environment in the classroom in a dark state. Specifically, the experimental categories are divided into biological experiments, physical experiments and chemical experiments. Among them, physical experiments are further divided into optical experiments and non-optical experiments, and chemical experiments are divided into flame color reaction experiments and non-flame color reaction experiments. When the experiment category is biological experiments, non-optical experiments and non-flame color reaction experiments, the classroom lights are turned on and the lighting environment is adjusted according to the teaching light configuration of the teacher; when the experiment category is optical experiments and flame color reaction experiments, the light will affect the viewing effect of the experiment. In order to facilitate students to better observe the experiment, the classroom lights or classroom curtains need to be closed.
[0035] Optionally, adjusting the lighting environment based on the teaching light configuration includes the following steps:
[0036] Adjusting the degree of opening of the classroom curtains according to the teaching lighting configuration;
[0037] Obtaining adjustment parameters of all classroom lights in the teaching lighting configuration;
[0038] The lighting intensity and lighting hue of all classroom lights are adjusted respectively based on the adjustment parameters.
[0039] By adopting the above technical solution, the teaching lighting configuration includes the opening degree of the classroom curtains and the adjustment parameters of all teacher lights. The classroom curtains are adjusted according to the opening degree, and the light intensity and light tone of the classroom lights are adjusted according to the adjustment parameters.
[0040] Optionally, after adjusting the lighting environment of the smart classroom based on the teaching lighting configuration, the following steps are further included:
[0041] Obtaining adjustment instructions and preference setting instructions from the teacher;
[0042] Modifying the teaching light configuration based on the adjustment instruction to obtain a target light configuration;
[0043] Readjusting the lighting environment of the smart classroom according to the target lighting configuration;
[0044] determining whether the adjustment instruction is set as a preference based on the preference setting instruction;
[0045] If the adjustment instruction is set as a preference, the target light configuration is stored overwriting the teaching light configuration;
[0046] If the adjustment instruction is not set as a preference, the target light configuration is deleted and the teaching light configuration is retained.
[0047] By adopting the above technical solution, the teaching light configuration can be modified to the target light configuration by obtaining the adjustment instruction of the teacher, and the lighting environment can be readjusted according to the modified target light configuration. After the adjustment is completed, it is determined whether the adjustment instruction is set as a preference according to the obtained preference setting instruction. If it is set as a preference, the target light configuration will be overwritten and stored with the teaching light configuration, and the teacher will use the target light configuration for lighting adjustment when teaching next time; if it is not set as a preference, it means that the adjustment instruction is a temporary adjustment, and the original teaching light configuration will continue to be retained.
[0048] Optionally, obtaining the teacher's facial image information includes the following steps:
[0049] Collect image information of the podium location in the smart classroom;
[0050] Performing face recognition on the image information based on a face recognition algorithm to obtain a region of interest;
[0051] Image optimization is performed on the region of interest to obtain facial image information of the teacher.
[0052] By adopting the above technical solution, the face recognition algorithm is used to perform face recognition on the image information of the podium position, the region of interest containing the teacher's face is identified, and then the image of the region of interest is optimized to obtain the teacher's face image information.
[0053] In a second aspect, the present application also provides a smart classroom lighting system based on facial recognition, comprising a memory, a processor, and a program stored on the memory and executable on the processor, wherein the program can be loaded and executed by the processor to implement a smart classroom lighting method based on facial recognition as described in the first aspect.
[0054] By adopting the above technical solution, through program call, when the teacher is in the smart classroom, the teacher's facial image information will be obtained, and the timestamp when the facial image was obtained will be queried. Based on the facial image information, the teaching lighting configuration suitable for the corresponding teacher will be obtained. Then, combined with the timestamp and teaching lighting configuration, the smart classroom will be adjusted to the lighting environment suitable for the teacher.
[0055] In summary, this application includes at least one of the following beneficial technical effects:
[0056] 1. When the teacher is in the smart classroom, the teacher's facial image information will be obtained, and the timestamp of the facial image will be queried. Based on the facial image information, the teaching lighting configuration suitable for the corresponding teacher will be obtained. Then, combined with the timestamp and teaching lighting configuration, the smart classroom will be adjusted to the lighting environment suitable for the teacher.
[0057] 2. By obtaining the adjustment instructions from the teacher, the teaching lighting configuration can be modified to the target lighting configuration, and the lighting environment can be readjusted according to the modified target lighting configuration. After the adjustment is completed, the obtained preference setting instructions are used to determine whether the adjustment instruction is set as a preference. If it is set as a preference, the target lighting configuration will overwrite the teaching lighting configuration and store it. The teacher will use the target lighting configuration for lighting adjustment when teaching next time. If it is not set as a preference, it means that the adjustment instruction is a temporary adjustment and the original teaching lighting configuration will continue to be retained. BRIEF DESCRIPTION OF THE DRAWINGS
[0058] Figure 1 This is a flow chart of a smart classroom lighting method based on face recognition according to one embodiment of the present application.
[0059] Figure 2 This is a flowchart of adjusting the lighting environment by combining timestamp and teaching light configuration according to one embodiment of the present application.
[0060] Figure 3 This is a flowchart of adjusting the lighting environment by combining the course type and teaching lighting configuration according to one embodiment of the present application.
[0061] Figure 4 FIG. 1 is a flow chart of adjusting the lighting environment according to the experiment type according to one embodiment of the present application.
[0062] Figure 5 This is a flowchart of adjusting the lighting environment based on teaching lighting configuration according to one embodiment of the present application.
[0063] Figure 6 This is a flowchart of obtaining manual instructions and performing manual adjustments in one embodiment of the present application.
[0064] Figure 7 This is a flowchart of obtaining facial image information of a teacher according to one embodiment of the present application. DETAILED DESCRIPTION
[0065] The following is combined with Figure 1-7 This application is described in further detail.
[0066] The embodiment of the present application discloses a smart classroom lighting method based on face recognition.
[0067] Reference Figure 1 ,The smart classroom lighting method based on face recognition includes the following steps:
[0068] 101, obtain the teacher's facial image information.
[0069] Among them, the facial image information of the teacher can be collected through a high-definition camera.
[0070] 102, query the timestamp of the facial image information.
[0071] The corresponding timestamp is retrieved from the acquisition device used to acquire the facial image information.
[0072] 103. Obtain the teacher’s teaching lighting configuration based on the facial image information.
[0073] Among them, the teaching lighting configuration is pre-entered into the teaching system by the teacher, and the facial image information of all teachers in the teaching system is bound to the teaching lighting configuration. Based on the facial image information, the teaching lighting configuration information of the corresponding teacher can be obtained in the teaching system.
[0074] 104. Adjust the lighting environment of the smart classroom based on the timestamp and teaching lighting configuration.
[0075] The implementation principle of this embodiment is:
[0076] When the teacher is in the smart classroom, the teacher's facial image information will be obtained, and the timestamp of the facial image will be queried. Based on the facial image information, the teaching lighting configuration suitable for the corresponding teacher will be obtained. Then, combined with the timestamp and teaching lighting configuration, the smart classroom will be adjusted to the lighting environment suitable for the teacher.
[0077] exist Figure 1 In step 104 of the embodiment shown, the timestamp is used to determine whether it is the teacher's teaching time. If it is the teaching time, the lighting environment is adjusted according to the course type and teaching light configuration. Figure 2 The illustrated embodiment is described in detail.
[0078] Reference Figure 2 ,Combining the timestamp and teaching light configuration to adjust the lighting environment includes the following steps:
[0079] 201. Obtain the teacher’s course time through the teaching system.
[0080] Among them, the teaching system pre-enters the course time of all courses of all teachers. The academic director and personnel above the academic director have the authority to modify the course time. Personnel with modification authority can update the course time in the teaching system in real time.
[0081] 202, determine whether the timestamp is within the course time, if not, execute step 203; if yes, execute step 204.
[0082] 203. Turn off the podium lights in the smart classroom.
[0083] 204 , identifying the course type of the teacher according to the course time of the timestamp.
[0084] Among them, assuming that the course types include ordinary courses and experimental courses, the course time of the ordinary course of the teacher is 8:00-9:00, and the course time of the experimental course is 11:00-12:00. If the timestamp is 11:02, it is identified that the course type of the teacher is an experimental course.
[0085] 205. Adjust the lighting environment of the smart classroom based on the course type and teaching lighting configuration.
[0086] The implementation principle of this embodiment is:
[0087] The course time corresponds to the time of all the teachers' courses. The course time of all teachers is pre-entered into the teaching system. Therefore, the course time of the teacher can be obtained from the teaching system. Then, it is determined whether the timestamp is within the course time. If it is within the course time, it means that the teacher is teaching in the smart classroom. At this time, the course type is identified according to the course time of the timestamp, and the lighting environment of the smart classroom is adjusted according to the course type and the teaching lighting configuration. If it is not within the course time, it means that the teacher is not teaching in the smart classroom. At this time, the podium light is turned off to save energy.
[0088] exist Figure 2 In step 205 of the embodiment shown, the course types include general courses, experimental courses and film viewing courses. Different courses require different lighting environments, which need to be adjusted according to the course type. Figure 3 The illustrated embodiment is described in detail.
[0089] Reference Figure 3 , adjusting the lighting environment based on the course type and teaching lighting configuration includes the following steps:
[0090] 301, determine whether the course type is a movie viewing course, if so, execute step 302; if not, execute step 303.
[0091] 302. Turn off the classroom lights and curtains in the smart classroom.
[0092] In order to ensure the viewing experience, in addition to turning off the classroom lights, all classroom curtains need to be closed.
[0093] 303, determine whether the course type is a regular course or an experimental course. If it is an experimental course, execute step 304; if it is a regular course, execute step 305.
[0094] 304, identifying the experiment category of the experimental course and adjusting the lighting environment of the smart classroom according to the experiment category.
[0095] Among them, identifying the experimental category of the experimental course in step 304 specifically includes the following steps: obtaining multiple experimental names from the Internet through multiple parallel web crawlers, and the multiple parallel web crawlers respectively define crawling targets with different experimental categories; performing character duplication checking on multiple experimental names under the same experimental category to obtain the character duplication rate of each character; judging whether the character duplication rate exceeds a preset duplication rate threshold, and if so, marking the corresponding experimental category with the corresponding character as a character label; obtaining the course experiment name of the experimental course; comparing the course experiment name with the character label one by one to determine whether repeated characters appear; if repeated characters appear, identifying that the experimental course corresponding to the course experiment name belongs to the experimental category corresponding to the character label.
[0096] 305, turn on the classroom lights and adjust the lighting environment based on the teaching light configuration.
[0097] The implementation principle of this embodiment is:
[0098] Since the course types taught by the teachers include regular courses, experimental courses, and movie courses, regular courses require the lighting environment of the smart classroom to be kept bright, while movie courses require the lighting environment of the smart classroom to be kept dimmed. Experimental courses require further adjustments based on the type of experiment.
[0099] exist Figure 3 In step 304 of the embodiment shown, the experiment categories include biological experiments, physical experiments and chemical experiments, and the lighting environment needs to be adjusted differently according to the specific experiment types. Figure 4 The illustrated embodiment is described in detail.
[0100] Reference Figure 4 ,Adjusting the lighting environment according to the experimental category includes the following steps:
[0101] 401, determine whether the experiment type is a biological experiment, a physical experiment or a chemical experiment. If it is a biological experiment, execute step 402; if it is a physical experiment, execute step 403; if it is a chemical experiment, execute step 406.
[0102] 402. Turn on the classroom lights and adjust the lighting environment of the smart classroom based on the teaching lighting configuration.
[0103] 403 , determining whether the physical experiment is an optical experiment, if so, executing step 404 ; if not, executing step 405 .
[0104] 404, turn off classroom lights and classroom curtains.
[0105] Among them, optical experiments are usually conducted by teachers with their own light sources. In order to ensure that students can observe the experimental results of optical experiments more accurately, in addition to turning off the classroom lights, all classroom curtains need to be closed.
[0106] 405, turning on the classroom lights and adjusting the lighting environment of the smart classroom based on the teaching lighting configuration.
[0107] 406 , determining whether the chemical experiment is a flame color reaction experiment, if so, executing step 407 ; if not, executing step 408 .
[0108] 407, turn off the classroom lights.
[0109] Among them, after turning off the classroom lights, you can see the flame color of the burning flame more clearly, so there is no need to close the classroom curtains during the flame color reaction experiment.
[0110] 408, turning on the classroom lights and adjusting the lighting environment of the smart classroom based on the teaching lighting configuration.
[0111] The implementation principle of this embodiment is:
[0112] Some experiments in the experimental category require turning on the classroom lights, while some experiments require keeping the lighting environment in the classroom in a dark state. Specifically, the experimental categories are divided into biological experiments, physical experiments, and chemical experiments. Among them, physical experiments are further divided into optical experiments and non-optical experiments, and chemical experiments are divided into flame color reaction experiments and non-flame color reaction experiments. When the experiment category is biological experiments, non-optical experiments, and non-flame color reaction experiments, turn on the classroom lights and adjust the lighting environment according to the teaching lighting configuration of the teacher; when the experiment category is optical experiments and flame color reaction experiments, the light will affect the viewing effect of the experiment. In order to facilitate students to better observe the experiment, the classroom lights or classroom curtains need to be closed.
[0113] exist Figure 3 and Figure 4 In the embodiment shown, the degree of opening of the classroom curtains, the light intensity of the classroom lights and the light tone of the classroom lights can be adjusted according to the teaching light configuration. Figure 5 The illustrated embodiment is described in detail.
[0114] Reference Figure 5 , adjusting the lighting environment based on the teaching lighting configuration includes the following steps:
[0115] 501. Adjust the opening degree of classroom curtains according to the teaching lighting configuration.
[0116] The unit of opening degree is percentage. When the classroom curtains are fully closed, it is 0%, and when they are fully open, it is 100%.
[0117] 502, obtaining adjustment parameters of all classroom lights in the teaching lighting configuration.
[0118] 503, adjusting the light intensity and light tone of all classroom lights based on the adjustment parameters.
[0119] The implementation principle of this embodiment is:
[0120] The teaching lighting configuration includes the opening degree of the classroom curtains and the adjustment parameters of all teacher lights. The classroom curtains are adjusted according to the opening degree, and the light intensity and light tone of the classroom lights are adjusted according to the adjustment parameters.
[0121] exist Figure 5 After the steps of the embodiment shown, the lighting environment can be further adjusted by obtaining an adjustment instruction, and a preference setting instruction can be obtained to set a preference for the adjustment instruction. Figure 6 The illustrated embodiment is described in detail.
[0122] Reference Figure 6 , obtaining manual instructions and performing manual adjustments include the following steps:
[0123] 601, obtaining the adjustment instructions and preference setting instructions of the teacher.
[0124] Among them, the teacher can input instructions through the display screen and interactive system of the smart podium in the smart classroom. After the teacher inputs the instructions, the teacher's adjustment instructions and preference setting instructions can be obtained through the interactive system.
[0125] 602. Modify the teaching lighting configuration based on the adjustment instruction to obtain a target lighting configuration.
[0126] 603, readjust the lighting environment of the smart classroom according to the target lighting configuration.
[0127] 604 , based on the preference setting instruction, determine whether the adjustment instruction is set as a preference. If so, execute step 605 ; if not, execute step 606 .
[0128] Among them, the adjustment instruction will generate a preference label p during the application process, and the value of p will be modified according to the preference setting instruction. If p=0, the adjustment instruction will not be set as a preference; if p=1, the adjustment instruction will be set as a preference.
[0129] 605 , overwrite and store the target lighting configuration with the teaching lighting configuration.
[0130] 606, delete the target lighting configuration and keep the teaching lighting configuration.
[0131] The implementation principle of this embodiment is:
[0132] By obtaining the adjustment instructions of the teacher, the teaching light configuration can be modified to the target light configuration, and the lighting environment can be readjusted according to the modified target light configuration. After the adjustment is completed, it is determined whether the adjustment instruction is set as a preference according to the obtained preference setting instruction. If it is set as a preference, the target light configuration will be overwritten and stored on the teaching light configuration. The teacher will use the target light configuration for lighting adjustment when teaching next time; if it is not set as a preference, it means that the adjustment instruction is a temporary adjustment, and the original teaching light configuration will continue to be retained.
[0133] exist Figure 1 In step 101 of the embodiment shown, image information of the podium position can be collected and the teacher's face image information can be collected according to the face recognition algorithm. Figure 7 The illustrated embodiment is described in detail.
[0134] Reference Figure 7 , obtaining the teacher's face image information includes the following steps:
[0135] 701, collect image information of the podium position in the smart classroom.
[0136] Among them, image information is collected through high-definition cameras in the smart classroom.
[0137] 702 , performing face recognition on the image information based on a face recognition algorithm to obtain a region of interest.
[0138] 703, perform image optimization on the region of interest to obtain the teacher's face image information.
[0139] The implementation principle of this embodiment is:
[0140] The face recognition algorithm is used to perform face recognition on the image information of the podium position, identify the region of interest containing the teacher's face, and then optimize the image of the region of interest to obtain the teacher's face image information.
[0141] The embodiment of the present application also discloses a smart classroom lighting system based on face recognition, including a memory, a processor, and a program stored in the memory and executable on the processor, wherein the program can be loaded and executed by the processor to realize the following Figure 1-Figure 7 A smart classroom lighting method based on face recognition is shown.
[0142] The implementation principle of this embodiment is:
[0143] By calling the program, when the teacher is in the smart classroom, the teacher's facial image information will be obtained, and the timestamp of the facial image will be queried. Based on the facial image information, the teaching lighting configuration suitable for the corresponding teacher will be obtained. Then, combined with the timestamp and teaching lighting configuration, the smart classroom will be adjusted to the lighting environment suitable for the teacher.
[0144] The above are all preferred embodiments of the present application, and are not intended to limit the scope of protection of the present application. Therefore, any equivalent changes made based on the structure, shape, and principle of the present application should be included in the scope of protection of the present application.
Claims
1. A smart classroom lighting method based on face recognition, characterized in that: The steps include: Get the teacher's facial image information; Query the timestamp of the facial image information; Acquire the teaching lighting configuration of the teacher based on the facial image information; Adjusting the lighting environment of the smart classroom based on the timestamp and the teaching light configuration; The adjusting the lighting environment of the smart classroom by combining the timestamp and the teaching light configuration includes the following steps: Obtain the course time of the teacher through the teaching system; Determine whether the timestamp is within the course time; If the timestamp is not within the course time, turn off the podium light in the smart classroom; If the timestamp is within the course time, identifying the course type of the teacher according to the course time of the timestamp; The lighting environment of the smart classroom is adjusted in combination with the course type and the teaching lighting configuration.
2. The smart classroom lighting method based on face recognition according to claim 1 is characterized in that: The course types include general courses, experimental courses, and film viewing courses. Adjusting the lighting environment of the smart classroom in combination with the course types and the teaching lighting configuration includes the following steps: Determine whether the course type is the movie viewing course; If the course type is the movie watching course, turning off the classroom lights and classroom curtains in the smart classroom; If the course type is not the film viewing course, determining whether the course type is the ordinary course or the experimental course; If the course type is the experimental course, identifying the experiment category of the experimental course, and adjusting the lighting environment of the smart classroom according to the experiment category; If the course type is the ordinary course, the classroom lights are turned on, and the lighting environment is adjusted based on the teaching light configuration.
3. The smart classroom lighting method based on face recognition according to claim 2 is characterized in that: Adjusting the lighting environment of the smart classroom according to the experiment type includes the following steps: Determine whether the experiment category is a biological experiment, a physical experiment, or a chemical experiment; If the experiment category is the biology experiment, turning on the classroom lights and adjusting the lighting environment of the smart classroom based on the teaching light configuration; If the experiment category is the physical experiment, determining whether the physical experiment is an optical experiment; If the physical experiment is the optical experiment, turning off the classroom lights and the classroom curtains; If the physical experiment is not the optical experiment, turning on the classroom lights and adjusting the lighting environment of the smart classroom based on the teaching light configuration; If the experiment type is the chemical experiment, determining whether the chemical experiment is a flame color reaction experiment; If the chemical experiment is the flame color reaction experiment, turning off the classroom lights; If the chemistry experiment is not the flame color reaction experiment, the classroom lights are turned on, and the lighting environment of the smart classroom is adjusted based on the teaching light configuration.
4. A smart classroom lighting method based on face recognition according to any one of claims 2-3, characterized in that: The step of adjusting the lighting environment based on the teaching lighting configuration comprises the following steps: Adjusting the degree of opening of the classroom curtains according to the teaching lighting configuration; Obtaining adjustment parameters of all classroom lights in the teaching lighting configuration; The lighting intensity and lighting hue of all classroom lights are adjusted respectively based on the adjustment parameters.
5. The smart classroom lighting method based on face recognition according to claim 2 is characterized in that: After adjusting the lighting environment of the smart classroom based on the teaching lighting configuration, the method further includes the following steps: Obtaining adjustment instructions and preference setting instructions from the teacher; Modifying the teaching light configuration based on the adjustment instruction to obtain a target light configuration; Readjusting the lighting environment of the smart classroom according to the target lighting configuration; determining whether the adjustment instruction is set as a preference based on the preference setting instruction; If the adjustment instruction is set as a preference, the target light configuration is stored overwriting the teaching light configuration; If the adjustment instruction is not set as a preference, the target light configuration is deleted and the teaching light configuration is retained.
6. The smart classroom lighting method based on face recognition according to claim 1 is characterized in that: The steps of obtaining the teacher's facial image information include: Collect image information of the podium location in the smart classroom; Performing face recognition on the image information based on a face recognition algorithm to obtain a region of interest; Image optimization is performed on the region of interest to obtain facial image information of the teacher.
7. A smart classroom lighting system based on face recognition, characterized in that: It includes a memory, a processor, and a program stored in the memory and executable on the processor, wherein the program can be loaded and executed by the processor to implement a smart classroom lighting method based on face recognition as described in any one of claims 1 to 6.
Citation Information
Patent Citations
Method for intelligent lighting, cloud server and electronic device
CN106900123A
A smart classroom based on a face recognition technology
CN109740498A