CN111970495B - Remote lighting automatic control system - Google Patents

Remote lighting automatic control system Download PDF

Info

Publication number
CN111970495B
CN111970495B CN202010851265.8A CN202010851265A CN111970495B CN 111970495 B CN111970495 B CN 111970495B CN 202010851265 A CN202010851265 A CN 202010851265A CN 111970495 B CN111970495 B CN 111970495B
Authority
CN
China
Prior art keywords
camera
classroom
light
seating area
image
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010851265.8A
Other languages
Chinese (zh)
Other versions
CN111970495A (en
Inventor
朱凌志
罗泽
戈布凡
常赟杰
胡湘龙
杨苗苗
刘赛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hunan Institute of Technology
Original Assignee
Hunan Institute of Technology
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hunan Institute of Technology filed Critical Hunan Institute of Technology
Priority to CN202010851265.8A priority Critical patent/CN111970495B/en
Publication of CN111970495A publication Critical patent/CN111970495A/en
Application granted granted Critical
Publication of CN111970495B publication Critical patent/CN111970495B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/18Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
    • H04N7/181Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast for receiving images from a plurality of remote sources
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B47/00Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
    • H05B47/10Controlling the light source
    • H05B47/105Controlling the light source in response to determined parameters
    • H05B47/11Controlling the light source in response to determined parameters by determining the brightness or colour temperature of ambient light
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B47/00Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
    • H05B47/10Controlling the light source
    • H05B47/165Controlling the light source following a pre-assigned programmed sequence; Logic control [LC]
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B47/00Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
    • H05B47/10Controlling the light source
    • H05B47/175Controlling the light source by remote control
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B20/00Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
    • Y02B20/40Control techniques providing energy savings, e.g. smart controller or presence detection

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Selective Calling Equipment (AREA)

Abstract

远程灯光自动控制系统,包括设置在教室中用于录制视频的前摄像头、后摄像头及侧摄像头,前摄像头、后摄像头、侧摄像头与控制中心通信连接,控制中心包括灯光控制器以及图像处理和运算单元;教室中设有一个灯光开关,该灯光开关仅用于控制教室中间座位区域的灯光开启和关闭;图像处理和运算单元在设定的工作时段内从前摄像头、后摄像头及侧摄像头录制的视频中提取当前时间点的图像,并根据各座位区域的亮度是否均低于设定阈值来判断有无灯光开启;若有灯光开启,再从提取的图像中判断各座位区域是否有人,并判断其亮度是否低于设定阈值,进而根据判断结果并通过灯光控制器控制对应灯光的开启和关闭。Remote lighting automatic control system, including front camera, rear camera and side camera set in the classroom for video recording, the front camera, rear camera and side camera are connected to the control center, the control center includes the lighting controller and image processing and computing unit; there is a light switch in the classroom, which is only used to control the light on and off in the middle seating area of the classroom; the video recorded by the image processing and arithmetic unit from the front camera, the rear camera and the side camera during the set working period Extract the image at the current time point, and judge whether the light is turned on according to whether the brightness of each seat area is lower than the set threshold; Whether the brightness is lower than the set threshold, and then according to the judgment result and through the light controller to control the opening and closing of the corresponding light.

Description

Remote automatic light control system
Technical Field
The invention relates to the technical field of computer image recognition and automation control intersection, in particular to a remote automatic light control system.
Background
The situation that people walk and lamps are not turned off frequently occurs in the self-service room of colleges and universities, and a large amount of electric energy is wasted due to the problem that the lamps are forgotten to be turned off every year. The method for solving the problem is to arrange the on-duty personnel to go to the spot for patrol, and the patrol personnel turns off the light which is not used by people, so that the workload of the on-duty personnel is increased, the efficiency is not high, and in recent years, along with the development of the internet and communication technology, the method for controlling the light becomes more and more intelligent.
Chinese patent document CN109121270A discloses a classroom lighting control method and system based on internet communication technology, which constructs a different wireless local area network for each classroom, and uses the smartphone of each student as a lighting control client, the lighting control client communicates with an intranet server, and the intranet server controls the lighting lamps to be turned on, and the intranet server simultaneously monitors the connection status between the lighting control client and the wireless local area network, and when the lighting control client is disconnected from the wireless local area network, the intranet server controls the corresponding lighting lamps to be turned off. The control method relies on the smart phone with the APP as a control client, and the whole system is complex in architecture.
Chinese patent document CN105934051A discloses an intelligent control system based on interactive classroom lighting, which takes images in a classroom through a camera, and then uses a Hog feature and an SVM classifier to frame the head of a classroom, and further counts the number of people in each region, draws a personnel distribution map, and controls classroom lighting according to the personnel distribution. In the literature, it is obvious that images in a classroom are acquired through a single camera, and in addition, the head is framed, so that the situation that the head of a rear seat is shielded by a person of a front seat easily occurs, and thus the accuracy of statistical data is greatly reduced, and the execution accuracy is influenced. In addition, the algorithm related to the intelligent light control system is complex, an artificial intelligence algorithm is adopted, the accuracy of human head recognition is guaranteed through a large amount of sample training in the early stage, and the intelligent light control system is troublesome to implement.
Disclosure of Invention
The invention aims to provide a remote automatic light control system which is simple in structure and algorithm and high in execution accuracy.
In order to solve the technical problems, the invention adopts the following technical scheme: a remote light automation system, comprising:
the front camera is fixedly arranged in front of the classroom and used for monitoring the change condition of personnel in the classroom and recording videos;
the rear camera is fixedly arranged behind the classroom and used for monitoring the change condition of personnel in the classroom and recording videos;
the side camera is fixedly arranged on the left side or the right side of the classroom and used for monitoring the change condition of personnel in the classroom and recording videos;
the control center is in communication connection with the front camera, the rear camera and the side cameras and comprises a light controller and an image processing and operation unit;
the light switch is only used for controlling the on and off of light in the middle seat area of the classroom;
the classroom is divided into a plurality of seat areas including a middle seat area, and the front camera, the rear camera and the side cameras are used for simultaneously monitoring the change condition of personnel in the classroom and recording videos;
the image processing and operation unit extracts a pair of images at the current time point at intervals from videos recorded by the front camera, the rear camera and the side camera within a set working period, converts the extracted images from an RGB format into an HSV format by using a color space conversion algorithm, judges whether the brightness of all seat areas in each pair of images is lower than a set threshold value, and judges that no light is turned on in a classroom if the brightness of all seat areas in each pair of images is lower than the set threshold value; if not, judging that light is turned on in the classroom;
when the judgment result shows that the light is turned on in the classroom, the image processing and computing unit judges whether people exist in each seat area from the extracted image and judges whether the brightness of the seat area is lower than a set threshold value;
if the seat area is occupied and the brightness of the seat area is lower than a set threshold value, the light controller controls the light corresponding to the seat area to be turned on;
if the seat area is occupied and the brightness of the seat area is not lower than a set threshold value, the light controller does not process the light corresponding to the seat area;
if the seat area is unmanned and the brightness of the seat area is lower than a set threshold value, the light controller does not process the light corresponding to the seat area;
and if the seat area is unmanned and the brightness of the seat area is not lower than a set threshold, the light controller controls the light corresponding to the seat area to be turned off.
The image processing and operation unit extracts pixels in each seat area from the extracted image, and then subtracts the pixels of the seat area in the image corresponding to the front camera from the pixels of the seat area in the image corresponding to the rear camera;
if the pixel difference value of the two is larger than the set upper limit value, judging that the current seat area is unmanned;
if the pixel difference value of the two is smaller than the set upper limit value, subtracting the pixels of the seat area in the image corresponding to the side camera from the pixels of the seat area in the image corresponding to the front camera and the pixels of the seat area in the image corresponding to the rear camera respectively; and if one pixel difference value is larger than the set upper limit value or both the two pixel difference values are smaller than the set lower limit value, judging that the current seat area is unmanned, and if one pixel difference value is larger than the set lower limit value and smaller than the set upper limit value, judging that the current seat area is occupied.
Wherein the classroom is divided into a plurality of seating areas and the coordinate range of each seating area in the video image corresponding to each camera is stored in an image processing and computing unit in advance, and the image processing and computing unit extracts pixels in the corresponding coordinate range from the image according to the coordinate range of each seating area.
Preferably, the image processing and computing unit extracts images from the videos recorded by the front camera, the rear camera and the side camera, then corrects and smoothes and denoises each sub-image, and then extracts pixels in each seating area from each sub-image.
The control center also comprises at least one remote control switch, and the remote control switch is used for controlling the on and off of all lights in a classroom.
Further, this remote light automatic control system includes a plurality of preceding cameras, back camera, side camera and light switch, all installs a preceding camera, a back camera, a side camera and a light switch in every classroom, and the preceding camera, back camera and the side camera in all classrooms all with control center communication connection.
The invention utilizes three cameras in different directions (monitoring cameras are arranged at the front and the back of most of the classrooms of colleges at present, the cameras are also arranged at the left and the right sides of some classrooms, and the existing cameras can be considered to be utilized in practical application) to monitor the change condition of personnel in the classrooms, then the change condition is processed and calculated by images to judge whether a person is in a seat area, and the light corresponding to the seat area is controlled to be turned on and off according to the judgment result, wherein a control center can be arranged in a night duty room far away from the classrooms, thereby realizing the remote automatic control of the light in the classrooms. Compared with the existing light control system, the invention does not need to set a separate local area network for each classroom or provide a control client for each user, and the whole light control system has simpler architecture. In addition, the invention adopts the cameras in three different directions or obtains images, thereby greatly reducing the problem of judgment error caused by shielding, and the algorithm adopted by the invention does not need to carry out a large amount of sample training before being put into practical application, and is simpler to implement and easy to operate.
Detailed Description
The present invention will be further described with reference to the following examples for facilitating understanding of those skilled in the art, and the description of the embodiments is not intended to limit the present invention.
The remote light automatic control system that this embodiment is related to includes:
the front camera is fixedly arranged in front of the classroom and used for monitoring the change condition of personnel in the classroom and recording videos;
the rear camera is fixedly arranged behind the classroom and used for monitoring the change condition of personnel in the classroom and recording videos;
the side camera is fixedly arranged on the left side or the right side of the classroom and used for monitoring the change condition of personnel in the classroom and recording videos;
the control center is in communication connection with the front camera, the rear camera and the side cameras and comprises a light controller and an image processing and operation unit;
the light switch is only used for controlling the on and off of light in the middle seat area of the classroom;
the classroom is divided into a plurality of seat areas including a middle seat area, and the front camera, the rear camera and the side cameras are used for simultaneously monitoring the change condition of personnel in the classroom and recording videos;
the image processing and operation unit extracts a pair of images at the current time point at intervals (for example, 3-5 minutes) from videos recorded by the front camera, the rear camera and the side camera in a set working period (for example, 7-0 point at night), converts the extracted images from an RGB format into an HSV format by using a color space conversion algorithm, judges whether the brightness of all seat areas in each pair of images is lower than a set threshold value, and judges that no light is turned on in a classroom if the brightness is lower than the set threshold value; if not, judging that light is turned on in the classroom;
when the judgment result shows that the light is turned on in the classroom, the image processing and computing unit judges whether people exist in each seat area from the extracted image and judges whether the brightness of the seat area is lower than a set threshold value;
if the seat area is occupied and the brightness of the seat area is lower than a set threshold value, the light controller controls the light corresponding to the seat area to be turned on;
if the seat area is occupied and the brightness of the seat area is not lower than a set threshold value, the light controller does not process the light corresponding to the seat area;
if the seat area is unmanned and the brightness of the seat area is lower than a set threshold value, the light controller does not process the light corresponding to the seat area;
and if the seat area is unmanned and the brightness of the seat area is not lower than a set threshold, the light controller controls the light corresponding to the seat area to be turned off.
It should be noted that, in the above embodiment, the step of determining whether the person exists in each seat area is performed by the image processing and computing unit according to whether the classroom lighting is on, and when the classroom lighting is off, the step of determining whether the person exists in each seat area is not performed, so that the computation load can be greatly reduced, and the computation pressure of the system can be reduced. In addition, in this embodiment, it is not determined whether the classroom is on (whether the classroom is on is determined according to the illumination intensity monitored by the light sensor) by using the light sensor as in the conventional method, but it is determined whether the brightness of all the seat regions in each image is lower than a set threshold, so that the determination method does not need to increase the hardware (light sensor) cost, and is more accurate than the determination method of only arranging one light sensor at a certain position in the classroom.
It should be particularly noted that, in this embodiment, only one light switch for controlling the middle seat area is set in the classroom, and lights in other areas are not set in the classroom any longer, but are remotely controlled by the light control system (if someone is in the classroom, the light control system is used for remote turning on, and if no one is in the classroom, the light control system is used for remote turning off). The advantage that can bring like this can significantly reduce the switch quantity in classroom to be favorable to reducing the switch installation of earlier stage and the maintenance cost of later stage. Of course, such a system architecture also requires that the camera still has a good imaging effect under a condition of poor lighting condition, otherwise, the judgment of whether the seat area is occupied or not may be affected due to too much image noise.
Specifically, in the present embodiment, the image processing and arithmetic unit determines whether or not the seat area is occupied by:
the image processing and operation unit extracts pixels in each seat area from the extracted image, and then subtracts the pixels of the seat area in the image corresponding to the front camera from the pixels of the seat area in the image corresponding to the rear camera;
if the pixel difference value of the two is larger than the set upper limit value, judging that the current seat area is unmanned;
if the pixel difference value of the two is smaller than the set upper limit value, subtracting the pixels of the seat area in the image corresponding to the side camera from the pixels of the seat area in the image corresponding to the front camera and the pixels of the seat area in the image corresponding to the rear camera respectively; and if one pixel difference value is larger than the set upper limit value or both the two pixel difference values are smaller than the set lower limit value, judging that the current seat area is unmanned, and if one pixel difference value is larger than the set lower limit value and smaller than the set upper limit value, judging that the current seat area is occupied.
The principle of the above-mentioned image processing and arithmetic unit for realizing light control is described in detail as follows: assuming that the upper limit value is set to 0.8 and the lower limit value is set to 0.2, the light control principle will be described by taking one seat as an example.
First, assuming that the seat is not occupied, the following may exist in the image captured by the camera: 1. if the person sitting in the previous seat is too high and causes the seat to be blocked in the image shot by the front camera, that is, there is a pixel 1 in the area corresponding to the seat (the pixel formed by the person in the previous seat in the seat), and if there is no person or no person but no blocking is formed in the latter seat, the pixel in the area corresponding to the seat in the image shot by the rear camera is 0 (in general, the classroom seat is a single color and has the same shape, and the seat is regarded as the background of the image, meanwhile, for convenience of understanding, the pixel of the background image is regarded as 0, so the pixel of the seat without blocking is regarded as 0), and thus the difference value (1) obtained by subtracting the pixels of the seat areas in the images corresponding to the front and rear cameras is larger than the set upper limit value. 2. The latter seat is too high, which is similar to the case 1 and will not be described again. 3. The people sitting on the front seat and the back seat are too high, so that the seats in the images shot by the front camera and the back camera are blocked to form pixels 1 in the corresponding areas, the difference value obtained by subtracting the pixels of the seat areas in the images corresponding to the front camera and the back camera is smaller than the set upper limit value, the pixels of the seat areas in the images corresponding to the side cameras are subtracted from the pixels of the seat areas in the images corresponding to the front camera and the pixels of the seat areas in the images corresponding to the back camera respectively, the side cameras are not blocked by the people of the front seat and the back seat, the pixels in the areas corresponding to the seats in the shot images are 0, and the two difference values (both 1) obtained by subtracting are larger than the set upper limit value. 4. And then, two differences (both 0) obtained by subtracting the pixels of the seat area in the image corresponding to the side camera from the pixels of the seat area in the image corresponding to the front camera and the pixels of the seat area in the image corresponding to the rear camera are respectively smaller than the set lower limit value.
Second, assuming that the seat is occupied, the situation in the image taken by the camera is as follows: regardless of whether the surrounding is blocked or not, pixels 1 exist in the seat area in the images shot by the front camera and the rear camera, and since the area of the side surface of the human body is narrower than that of the front surface (assuming that the ratio of the two is 0.7), pixels 0.7 exist in the seat area in the images shot by the side camera, and two difference values (both 0.3) obtained by subtracting the pixels of the seat area in the images shot by the side camera and the pixels of the seat area in the images shot by the front camera and the rear camera are both larger than a set lower limit value and smaller than a set upper limit value.
The upper limit value 0.8, the lower limit value 0.2 and the human body side-to-front ratio of 0.7 are only used for describing the invention, but are not limited to the above, and the values can be adjusted according to actual conditions in actual application.
In the above-listed cases, there is a special case that is not included in the case where the current seat is not occupied, but the persons seated in the front seat, the rear seat, and the side seats are too high, which causes a case where the seat is blocked in the images photographed by the front, rear, and side cameras, which may be judged as being occupied. It should be noted that, first, the probability of the above-described situation occurring is low. Secondly, the present embodiment is calculated for the divided seat area, rather than a single seat, and the side seat that can shield the current seat on the side face is usually not separated from the current seat by an aisle, that is, the side seat and the current seat are usually located in the same seat area, and in addition, the front and rear seats are actually occupied by people, so that although the current seat is misjudged, the accuracy of judging whether the whole seat area is occupied or not is not affected.
It should be understood by those skilled in the art that, in the present embodiment, a classroom should be divided into a plurality of seat areas in advance and the coordinate ranges of the seat areas in the video image corresponding to each camera head should be stored in the image processing and computing unit in advance, and the image processing and computing unit can extract pixels in the corresponding coordinate ranges from the image according to the coordinate ranges of the seat areas.
In addition, as one of the preparation works before pixel extraction, the image processing and computing unit may extract the image from the video recorded by the front camera, the rear camera, and the side camera, then correct and smooth the noise reduction process for each sub-image, and then extract the pixels in each seat region from each sub-image.
As an optional scheme, a remote control switch can be further arranged at the control center, so that an operator on duty at the control center can check the personnel condition in the classroom in real time through videos shot by the camera, if the condition that light is leaked due to system errors (the classroom is unmanned and the light is not closed), the operator on duty can turn off all light in the classroom through the remote control switch, and when the light control cannot be implemented due to system downtime, maintenance or upgrading, the light in the classroom can be turned on remotely through the remote control switch at the control center.
Finally, it should be noted that, in practical applications, the remote automatic light control system may include a plurality of front cameras, rear cameras, side cameras, and light switches, where one front camera, one rear camera, one side camera, and one light switch are installed in each classroom, the front cameras, the rear cameras, and the side cameras of all the classrooms are all in communication connection with the control center, and lights of all the classrooms may be remotely controlled through the same control center.
In the embodiment, the invention utilizes three cameras in different directions (monitoring cameras are installed in front of and behind most classrooms of colleges at present, cameras are installed in some classrooms even on the left side and the right side, and the existing cameras can be utilized in practical application) to monitor the change condition of personnel in the classroom, and judges whether classroom light is turned on or not, whether a person is in the lighted seat area or not and whether the lighted seat area is lighted according to the pixel of the seat area in the image by extracting and calculating, and then controls the corresponding light to be turned on and off according to the judgment result, wherein a control center can be arranged in a night duty room far away from the classrooms, thereby realizing remote automatic control of the classroom light. Compared with the existing light control system, the embodiment does not need to set a separate local area network for each classroom or provide a control client for each user, and the whole light control system is simpler in structure. In addition, because the invention adopts the cameras in three different directions to obtain the images, the problem of judgment error caused by shielding is greatly reduced, and the accuracy of the system execution behavior is ensured.
Some descriptions of the present invention have been simplified to facilitate understanding of the improvement of the present invention over the prior art by those of ordinary skill in the art, and some other elements have been omitted from this document for clarity, and those omitted elements should be recognized by those of ordinary skill in the art to constitute the content of the present invention.

Claims (5)

1.远程灯光自动控制系统,其特征在于,包括:1. Remote lighting automatic control system, is characterized in that, comprises: 前摄像头,固定设置在教室前方,用于监测教室内的人员变化情况并录制视频;The front camera, fixed in front of the classroom, is used to monitor the changes of personnel in the classroom and record video; 后摄像头,固定设置在教室后方,用于监测教室内的人员变化情况并录制视频;The rear camera, fixed at the back of the classroom, is used to monitor the changes of personnel in the classroom and record video; 侧摄像头,固定设置在教室的左侧或右侧,用于监测教室内的人员变化情况并录制视频;Side camera, fixed on the left or right side of the classroom, is used to monitor the changes of personnel in the classroom and record video; 控制中心,与所述前摄像头、后摄像头及侧摄像头通信连接,所述控制中心包括灯光控制器以及图像处理和运算单元;a control center, communicated with the front camera, the rear camera and the side camera, and the control center includes a lighting controller and an image processing and computing unit; 灯光开关,仅用于控制教室中间座位区域的灯光开启和关闭;Light switches, which are only used to turn the lights on and off in the middle seating area of the classroom; 所述教室被划分为包括中间座位区域在内的多个座位区域,通过所述前摄像头、后摄像头及侧摄像头同时监测教室内的人员变化情况并录制视频;The classroom is divided into a plurality of seating areas including the middle seating area, and the front camera, the rear camera and the side camera are used to simultaneously monitor the changes of personnel in the classroom and record videos; 所述图像处理和运算单元在设定的工作时段内从前摄像头、后摄像头及侧摄像头录制的视频中每间隔一段时间各提取一副当前时间点的图像,并利用颜色空间转换算法将所提取的图像由RGB格式转换为HSV格式,然后判断各副图像中所有座位区域的亮度是否均低于设定阈值,若是,则判定教室内无灯光开启;若否,则判定教室内有灯光开启;The image processing and computing unit extracts a pair of images at the current time point at regular intervals from the videos recorded by the front camera, the rear camera and the side camera during the set working period, and uses a color space conversion algorithm to convert the extracted images. The image is converted from RGB format to HSV format, and then it is judged whether the brightness of all seating areas in each pair of images is lower than the set threshold. If so, it is judged that there is no light in the classroom; 当判定结果为教室内有灯光开启时,所述图像处理和运算单元再从提取的图像中判断各座位区域是否有人,并判断其亮度是否低于设定阈值;When the judgment result is that there are lights in the classroom, the image processing and computing unit judges whether there are people in each seat area from the extracted images, and judges whether the brightness is lower than the set threshold; 若座位区域有人且其亮度低于设定阈值,则所述灯光控制器控制与该座位区域相对应的灯光开启;If there is a person in the seating area and its brightness is lower than the set threshold, the light controller controls the light corresponding to the seating area to turn on; 若座位区域有人且其亮度不低于设定阈值,则所述灯光控制器对与该座位区域相对应的灯光不作处理;If there are people in the seating area and the brightness is not lower than the set threshold, the light controller will not process the lights corresponding to the seating area; 若座位区域无人且其亮度低于设定阈值,则所述灯光控制器对与该座位区域相对应的灯光不作处理;If there is no one in the seating area and its brightness is lower than the set threshold, the light controller will not process the lights corresponding to the seating area; 若座位区域无人且其亮度不低于设定阈值,则所述灯光控制器控制与该座位区域相对应的灯光关闭;If there is no one in the seating area and its brightness is not lower than the set threshold, the light controller controls the lights corresponding to the seating area to turn off; 其中,所述图像处理和运算单元从提取的图像中提取各座位区域中的像素,然后将前摄像头所对应图像中座位区域的像素与后摄像头所对应图像中对应座位区域的像素相减;Wherein, the image processing and operation unit extracts the pixels in each seating area from the extracted images, and then subtracts the pixels of the seating area in the image corresponding to the front camera and the pixels corresponding to the seating area in the image corresponding to the rear camera; 若二者的像素差值大于设定的上限值,则判定当前该座位区域无人;If the pixel difference between the two is greater than the set upper limit value, it is determined that there is currently no one in the seat area; 若二者的像素差值小于设定的上限值,则将侧摄像头所对应图像中该座位区域的像素分别与前摄像头所对应图像中座位区域的像素以及后摄像头所对应图像中座位区域的像素相减;在相减后所得到的两个像素差值中,若有一个像素差值大于设定的上限值或者两个像素差值均小于设定的下限值,则判定当前该座位区域无人,若有一个像素差值大于设定的下限值并小于设定的上限值,则判定当前该座位区域有人。If the pixel difference between the two is less than the set upper limit, the pixels of the seat area in the image corresponding to the side camera are respectively compared with the pixels in the seat area in the image corresponding to the front camera and the seat area in the image corresponding to the rear camera. Pixel subtraction; in the difference between the two pixels obtained after the subtraction, if one pixel difference is greater than the set upper limit value or the two pixel difference values are both less than the set lower limit value, it is determined that the current There is no one in the seating area. If there is a pixel difference greater than the set lower limit value and less than the set upper limit value, it is determined that there is currently a person in the seating area. 2.根据权利要求1所述的远程灯光自动控制系统,其特征在于:所述教室被划分为多个座位区域并且各座位区域在每个摄像头所对应视频图像中的坐标范围预先存储在图像处理和运算单元中,所述图像处理和运算单元根据各座位区域的坐标范围从图像中提取对应坐标范围内的像素。2. The remote lighting automatic control system according to claim 1, wherein the classroom is divided into a plurality of seating areas and the coordinate range of each seating area in the video image corresponding to each camera is pre-stored in the image processing In the sum operation unit, the image processing and operation unit extracts the pixels within the corresponding coordinate range from the image according to the coordinate range of each seat area. 3.根据权利要求1或2所述的远程灯光自动控制系统,其特征在于:所述图像处理和运算单元从前摄像头、后摄像头及侧摄像头录制的视频中提取图像后,先对各副图像作矫正以及平滑去噪处理,再从各副图像中提取各座位区域中的像素。3. The remote lighting automatic control system according to claim 1 or 2, characterized in that: after the image processing and arithmetic unit extracts images from the videos recorded by the front camera, the rear camera and the side camera, each auxiliary image is first processed. Correction and smoothing denoise processing, and then extract pixels in each seating area from each sub-image. 4.根据权利要求1或2所述的远程灯光自动控制系统,其特征在于:所述控制中心还包括至少一个远程控制开关,所述远程控制开关用于控制教室内所有灯光的开启和关闭。4 . The remote lighting automatic control system according to claim 1 or 2 , wherein the control center further comprises at least one remote control switch, and the remote control switch is used to control all lights in the classroom to be turned on and off. 5 . 5.根据权利要求4所述的远程灯光自动控制系统,其特征在于:该远程灯光自动控制系统包括多个前摄像头、后摄像头、侧摄像头及灯光开关,在每个教室中均安装一个前摄像头、一个后摄像头、一个侧摄像头及一个灯光开关,所有教室的前摄像头、后摄像头及侧摄像头均与控制中心通信连接。5. The remote lighting automatic control system according to claim 4, wherein the remote lighting automatic control system comprises a plurality of front cameras, rear cameras, side cameras and light switches, and a front camera is installed in each classroom , a rear camera, a side camera and a light switch, the front camera, rear camera and side camera of all classrooms are connected to the control center.
CN202010851265.8A 2020-08-21 2020-08-21 Remote lighting automatic control system Active CN111970495B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010851265.8A CN111970495B (en) 2020-08-21 2020-08-21 Remote lighting automatic control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010851265.8A CN111970495B (en) 2020-08-21 2020-08-21 Remote lighting automatic control system

Publications (2)

Publication Number Publication Date
CN111970495A CN111970495A (en) 2020-11-20
CN111970495B true CN111970495B (en) 2021-12-21

Family

ID=73389977

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010851265.8A Active CN111970495B (en) 2020-08-21 2020-08-21 Remote lighting automatic control system

Country Status (1)

Country Link
CN (1) CN111970495B (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107679471A (en) * 2017-09-24 2018-02-09 天津大学 Indoor occupant sky hilllock detection method based on video monitoring platform

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101188745B (en) * 2007-11-27 2010-06-16 北京中星微电子有限公司 Intelligent drowning video monitoring system and method for natatorium
JP2011108418A (en) * 2009-11-13 2011-06-02 Panasonic Electric Works Co Ltd Lighting control system
JP2013008460A (en) * 2011-06-22 2013-01-10 Panasonic Corp Lighting device
CN104470058B (en) * 2014-10-10 2017-04-05 江苏科技大学 A kind of control method of subregion lighting energy-saving switch control system
CN105934051B (en) * 2016-05-11 2018-10-02 哈尔滨工业大学 Interactive classroom lighting intelligence control system and control method
JP6863475B2 (en) * 2017-11-30 2021-04-21 三菱電機株式会社 Lighting control system and lighting control method
US10709335B2 (en) * 2017-12-31 2020-07-14 Google Llc Infant monitoring system with observation-based system control and feedback loops
CN109583354B (en) * 2018-11-23 2023-05-05 南京极域信息科技有限公司 Student's attention detecting system based on machine learning
CN111339831B (en) * 2020-01-23 2023-08-18 深圳市大拿科技有限公司 Lighting lamp control method and system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107679471A (en) * 2017-09-24 2018-02-09 天津大学 Indoor occupant sky hilllock detection method based on video monitoring platform

Also Published As

Publication number Publication date
CN111970495A (en) 2020-11-20

Similar Documents

Publication Publication Date Title
CN101930535B (en) Human face detection and tracking device
US20020181733A1 (en) Method for increasing the signal-to-noise ratio in IR-based eye gaze trackers
CN105035887A (en) An Intelligent Elevator Main Control System Based on Computer Vision Detection
CN112861645A (en) Infrared camera dim light environment compensation method and device and electronic equipment
CN107360344B (en) Surveillance video fast defogging method
CN112364842A (en) Double-shot face recognition method and device
KR102314903B1 (en) Method And Apparatus for Controlling Building Based on Image
CN114677667A (en) A deep learning-based infrared fault identification method for electrical equipment in substations
CN111970495B (en) Remote lighting automatic control system
CN106686347A (en) Video based method for judging translocation of metro camera
CN116503794A (en) Fatigue detection method for cockpit unit
CN111954354B (en) Lighting Control Method Based on Image Operation
CN117435058B (en) Interactive control method and system for intelligent exhibition hall
CN103729624A (en) Photometry method and system based on skin color recognition
CN110889321A (en) Intelligent face anti-overexposure algorithm
CN113128259A (en) Face recognition device and face recognition method
Ogata et al. Automatic threshold-setting method for iris detection for brown eyes in an eye–gaze interface system with a visible light camera
CN112906456B (en) Crowd abnormal behavior detection method and system based on inter-frame characteristics
US8184125B2 (en) Image processing method and device implementing said method
JP7562999B2 (en) MOTION DETECTION DEVICE AND MOTION DETECTION METHOD
CN213024429U (en) Face recognition equipment
CN108898566A (en) A kind of low-luminance color video enhancement method using space-time illumination figure
CN111988569A (en) Method and system for monitoring ignition phenomenon of industrial video monitoring picture of transformer substation
CN113905214A (en) License plate monitoring mode triggering method based on vehicle detection
CN113104687A (en) Method and device for judging elevator space state based on computer vision recognition

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
OL01 Intention to license declared
OL01 Intention to license declared