Based on campus classroom building safety monitoring system and the method for image recognition
Technical field
The present invention relates to campus classroom building safety monitoring system, especially relate to a kind of campus classroom building safety monitoring system based on image recognition and method.
Background technology
In recent years, Informatization Construction of Campus just develops with very surprising speed, carrying out intelligent management to campus is the target that school's leaders is pursued, how to improve Campus Security protective capacities further, the difficult problem of pendulum in face of school administration, although safety-protection system is widely used in campus, but the anti-Ore-controlling Role of the public security in campus mainly carries out tight prevention and control to each import and export passage, not enough to the disposal ability of some unexpected thing, particularly lack the prevention ability to security incident.
Safety-protection system is widely used in campus, but Campus Security accident or again and again generation.Such as, collision event between student, upper and lower corridor is crowded kills student's event etc., particularly some potential security incidents, if can effectively prevent, the generation of security incident will be reduced greatly, especially to student more than second floor, due to close guardrail, once clash, very easily meet accident, sometimes clash, student is squeezed on guardrail, though major part can be prevented in time, not there is security incident, but owing to being in high level, individual student is very easily caused to the upper fear of psychology, a lot of weak tendency student is when coming to harm, often select to keep silent, initiatively do not inform teacher and school administration, this has also encouraged the impetus of the surging student of part further, once the conflict outburst of constraining, often consequence is comparatively serious, in order to can effectively prevent, need Timeliness coverage conflict, need student to report to the police to the collision event of Timeliness coverage, Surveillance center receives the report for police service signal, carry out recording and storing, and alarm signal is sent administrative department in time.
It is also safety very easily generation area that upper and lower corridor occurs crowded, now not only there is the crowded injury caused itself, also have individual student may take advantage of the occasion to clash, especially in unified collective activity or when going to school and leaving school, when student conflicts while it is in a mess, that injured is not often conflict both sides, but other students together gone downstairs, particularly schoolgirl, also can cause certain injury psychologically simultaneously, now need to record associated video in time, the individual student heart is allowed to have misgivings, thus the generation of prevention collision event, simultaneously in order to solve the crowded problem of upper and lower corridor in time, the flow of the people controlling upper and lower corridor just seems very necessary.
Safety-protection system is in above-mentioned deathtrap, effectively prevention can't be reached and prevent, particularly near upper and lower corridor and guardrail, use very inconvenient, also the needs of educational management department to corridor safety management are not suitable for, therefore, be badly in need of a set of safety monitoring system effectively can preventing the event that clashes and the upper and lower corridor congestion event occurred near guardrail, the fine academic environment of a safety can be created to students, for above situation, for solving the problem, spy provides a kind of new technical scheme.
Summary of the invention
For the deficiency that above-mentioned prior art exists, the object of this invention is: provide a kind of campus classroom building safety monitoring system based on image recognition.Comprise monitoring center module, remote control module, video monitoring module, manual alarm module, accident alarm module, alarm module, transmission network module, monitoring center module is organically integrated by transmission network module and remote control module, video monitoring module, manual alarm module, accident alarm module, warning device module, form school eduaction administrative department and a kind of novel classroom building safety management security system is constructed to campus classroom building, ensure the safety of student at classroom building.
To achieve these goals, the technical solution adopted in the present invention is:
A kind of campus classroom building safety monitoring system based on image recognition, comprise monitoring center module, remote control module, video monitoring module, manual alarm module, accident alarm module, alarm module, transmission network module, monitoring center module is by transmission network module and remote control module, video monitoring module, manual alarm module, accident alarm module, warning device module is connected, manual alarm module is connected with alarm module, accident alarm module is connected with video monitoring module, video monitoring module comprises picture recognition module, display module, automatic alarm module, memory module.
Monitoring center module is used for real-time monitor and managment classroom building, mainly comprise server, display, the various hardware devices such as network connection, for connecting video monitoring module, manual alarm module, accident alarm module, alarm module and the remote control module in each corridor, realize the real-time monitoring display to student, when detection alarm signal, record associated video also triggers sound and light alarm equipment simultaneously and carries out sound and light alarm.
Remote control module comprises video information enquiry module, and Long-distance Control is arranged at each administrative department of school respectively, facilitates school control.Video information enquiry module, the query function interface mainly carried out towards school administrator, facilitate them to inquire about the video monitoring situation in special time or place.The mode of inquiry can be fuzzy query and accurately inquiry, and the keyword for inquiry is selected, and needs to point to the critical field in video monitoring information.Inquiry mode can be set to single inquiry and compound inquiry.
Corridor comprises video monitoring module, manual alarm module, accident alarm module, alarm module four modules.
Video monitoring module connects Surveillance center, comprises real time image collection module, image storage module, image display, image data processing module, automatic alarm module.
Real time video image acquisition module adopts ccd video camera and realizes the Real-time Collection of scene image in conjunction with Daheng's DH-CG400 video capture card, analog video image signals is converted into digital video signal and transfers to calculator memory or video memory by computer PCI interface, meet the Real-time Collection requirement of native system for video.Native system is the secondary development carrying the enterprising line program in basis of software kit at Daheng's DH-CG400 image pick-up card.DH-CG400 image pick-up card is the high integration low-power-consumption video image pick-up card based on high-performance pci bus, the color simulation vision signal gathered by CCD can be converted to data image signal by process such as the analog to digital converter of capture card, proportional zoom, cutting and look space-variant change and be sent to calculator memory real-time storage, collect and transmit participates in without the need to CPU just can steady operation, do not take the time of CPU, support the Real-time Collection of image.
Image storage module adopts PC hard disk as the memory device of video image, and memory module comprises accident warning memory block and corridor stream of people memory block, the various data messages of video image in stocking system.
Image display seletion calculation machine display is used for the video image of display system, and the result displays such as the scene video image that Real-time Collection can be obtained and detecting and tracking over the display.
Image data processing module utilizes microcomputer as realizing that student monitors in real time, the hardware device of demographics analysis and automatic alarm process.
The software scenario of system comprises the pretreatment module of image, student detects identification module, number of student statistical module, automatic alarm module.Visual C++6.0 software is utilized to carry out secondary development based on the application interface function of the DH-CG400 Daheng image pick-up card of pci bus, can will obtain the digital picture changed into by capture card through ccd video camera, achieve to real-time scene video image acquisition to screen, collect internal memory, data transmit control and process.
The pretreatment module of image is the first step of image procossing, and major function is that the conversion of data format can realize reduced data, reduces operand, the interference of restraint speckle, some details of strengthening image, strengthens the quality of image, ensures the subsequent operation of extracting effective characteristics of image.
Student detects the basis that identification module is intelligent monitor system, also be a module of most critical, main function uses corresponding human face detection tech, detect the region of variation in scene, segmentation moving target and background, identifies student by utilizing the extraction of the feature such as shape, barycenter, color histogram, profile to face and head.
Number of student statistical module is on the basis identifying student, carries out implementation statistics, and corresponding number shown the number of student in image.
Automatic alarm module is efficiency in order to ensure corridor on and off duty and safety, set the maximum that is in number in corridor, the number of student of the corridor up and down of real-time statistics and maximum are compared, when being greater than set point, start automatic alarm module, signal is sent to monitoring center module by automatic alarm module, the alarm signal received is sent to warning device and remote control module by monitoring center module, warning device carries out sound and light alarm, by the warning device of corresponding corridor, the student be about to or above going downstairs is being reminded, Surveillance center's record associated video.
Manual alarm module comprises two switches, and switch comprises pressure sensor, is arranged at manual alarm module and is directly connected with nearest warning device.
Accident alarm module comprises two switches, and switch comprises pressure sensor, is placed in corridor corner respectively, and the angle between two switches is 90 °.
Alarm module is chosen as sound and light alarm equipment and carries out sound and light alarm.
Adopt after technique scheme, the present invention compared to the prior art advantageously:
Monitoring center module, remote control module, video monitoring module, manual alarm module, accident alarm module, alarm module, transmission network module organically integrate by this campus classroom building safety monitoring system, form school eduaction administrative department and a kind of novel classroom building safety management security system is constructed to campus classroom building, ensure the safety of student at classroom building.Picture recognition module, manual alarm module, automatic alarm module is relied on effectively to solve upper and lower building congested problem; Support accident alarm module effectively solves the safety problem near guardrail.
Accompanying drawing explanation
Fig. 1 is block diagram representation of the present invention.
Schematic diagram when Fig. 2 is upper and lower corridor.
Fig. 3 is the schematic diagram near guardrail.
Embodiment
The following stated is only preferred embodiment of the present invention, does not therefore limit protection scope of the present invention.
Embodiment 1, as shown in Figure 1.
A kind of campus classroom building safety monitoring system based on image recognition, it is characterized in that: comprise monitoring center module, remote control module, video monitoring module, manual alarm module, accident alarm module, alarm module, transmission network module, monitoring center module is by transmission network module and remote control module, video monitoring module, manual alarm module, accident alarm module, warning device module is connected, manual alarm module is connected with alarm modules, accident alarm module is connected with video monitoring module, video monitoring module comprises picture recognition module, display module, automatic alarm module, memory module.
Monitoring center module is used for real-time monitor and managment classroom building.
Remote control module comprises video information enquiry module, and Long-distance Control is arranged at each administrative department of school respectively, facilitates school control.
Video monitoring module 1, manual alarm module 3, accident alarm module 4, alarm modules 2 are set in each corridor.
Video monitoring module connects Surveillance center, comprises real time image collection module, image storage module, image display, image data processing module, automatic alarm module.
Video monitoring module 1 is carried out real time image collection and is statistically descended the number of student of corridor, in order to ensure efficiency and the safety of corridor on and off duty, determine that a span being in the maximum of number in corridor is 32-40 according to the area of corridor, the number of student of corridor up and down of real-time statistics and the span of maximum are compared, when being greater than maximum, start automatic alarm module, the maximum in the present embodiment is set as 36.
Signal is sent to monitoring center module by automatic alarm module.
The alarm signal received is sent to warning device and remote control module by monitoring center module, and warning device 2 carries out sound and light alarm, is being reminded, Surveillance center's record associated video by the warning device of corresponding corridor to the student be about to or above going downstairs.
When student hears that sound and light alarm equipment runs, the student preparing to enter upper and lower corridor should stop immediately, after warning device stops, at the upper and lower corridor of continuation.
Embodiment 2, as shown in Figure 2.
During upper and lower corridor, when certain student feels not quite the thing suddenly, or when video monitoring system is safeguarded, now crowdedly cause security incident to prevent, student can press manual alarm module 3.
Manual alarm module comprises two switches, is arranged at middle part and the bottom of upper and lower corridor respectively.
Switch comprises pressure sensor, and the switch of manual alarm module is directly connected with nearest warning device 2.
When pressing manual alarm module 3, pressure sensor triggers corresponding warning device 2, and warning device 2 carries out sound and light alarm, manual alarm is sent to monitoring center module simultaneously.
Monitoring center module receive the report for police service signal time, the content of recording of video device 1.
Embodiment 3, as shown in Figure 3.
When clashing between student, the neighbouring student that can see can press accident alarm module 4 in time.
Accident alarm module comprises two switches, is placed in corridor corner respectively, and the angle between two switches is 90 °.
The switch of accident alarm module comprises pressure sensor.
Angle between two switches is 90 °, and the object of this design is when no matter there is accident near upper and lower corridor or guardrail, when student's worry can catch a packet and make reprisals, can select the accident alarm module 4 of opposite side.
Accident alarm module 4 receives the report for police service signal, sends it to monitoring center module.
Monitoring center module receive the report for police service signal time, the simultaneously content of recording of video device 1 and 5.
A video of video-unit 1 and 5 is used for recording accident alarm people, and gives corresponding record.
Another of video-unit 1 and 5 records emergency with video, and gives corresponding record.
Alarm signal is sent to administrative department by monitoring center module, and administrative department educates in time to the student clashed.
The above is only better embodiment of the present invention, therefore all equivalences done according to structure, feature and the principle described in patent claim of the present invention change or modify, and are included in patent claim of the present invention.