Campus classroom building safety monitoring system and method based on image recognition
Technical field
The present invention relates to campus classroom building safety monitoring system, is taught more particularly, to a kind of campus based on image recognition
Learn building safety monitoring system and method.
Background technology
In recent years, Informatization Construction of Campus is just developed with very surprising speed, and it is to learn that intelligent management is carried out to campus
How the target that school leaders are pursued, further improve Campus Security protective capacities, is put in school administration face
A preceding problem, although safety-protection system has been widely used in campus, the public security prevention and control system in campus is mainly to each
Import and export passage and carry out tight prevention and control, to the disposal ability deficiency of some things suddenly, be especially a lack of to the pre- of security incident
Anti- ability.
Safety-protection system has been widely used in campus, but Campus Security accident or generation again and again.For example, between student
Collision event, upper and lower corridor is crowded kills student's event etc., particularly some potential security incidents, if can be effectively pre-
It is anti-, the generation of security incident will be significantly reduced, especially to student more than second floor, due to close to guardrail, once clash,
Easily occur surprisingly, to clash sometimes, student is squeezed on guardrail, though most of can be prevented in time, is not occurred
Security incident, but due in high level, psychological upper fear easily being caused to individual student, many weak tendency students are being hindered
During evil, often selection is kept silent, and does not inform teacher and school administration actively, and it is surging that this has also further encouraged part
The impetus of student, once oppressive conflict outburst, often consequence is more serious, in order to effectively prevent, it is necessary to find in time
, it is necessary to there is student to alarm the collision event found in time, Surveillance center receives the report for police service signal, is recorded for conflict
And store, and alarm signal is sent into administrative department in time.
Crowded and safety easily generation area occurs for upper and lower corridor, now not only has crowded injury caused by itself, also
Having individual student may take advantage of the occasion to clash, especially when unifying collective activity or going to school and leaving school, when student conflicts while it is in a mess,
That injured is frequently not conflict both sides, but together other students downstairs, particularly schoolgirl, while psychologically will also result in
Certain injury, now need to record associated video in time, allow the individual student heart there are misgivings, so as to prevent the hair of collision event
It is raw, while in order to solve the problems, such as that upper and lower corridor is crowded in time, control the flow of the people of corridor up and down just to seem very necessary.
Safety-protection system can't reach effectively prevention and prevent, particularly in upper and lower corridor and shield in above-mentioned danger zone
Near column, use very inconvenient, be also not suitable for needs of the educational management department to corridor safety management, therefore, be badly in need of one
Set can effectively prevent the safety monitoring system for clashing event and upper and lower corridor congestion event occurred near guardrail, energy
It is enough to create the fine academic environment of a safety to students, for case above, to solve the above problems, special offer is a kind of new
Technical scheme.
The content of the invention
For above-mentioned the shortcomings of the prior art, the purpose of this invention is:A kind of school based on image recognition is provided
Garden classroom building safety monitoring system.Including monitoring center module, remote control module, video monitoring module, manual alarm mould
Block, accident alarm module, alarm module, transmission network module, by monitoring center module by transmission network module and far
Process control module, video monitoring module, manual alarm module, accident alarm module, warning device module organically integrate
Together, form school eduaction administrative department and a kind of new classroom building safety management guarantee body is constructed to campus classroom building
System, ensure safety of the student in 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, including monitoring center module, remote control
Module, video monitoring module, manual alarm module, accident alarm module, alarm module, transmission network module, in monitoring
Core module passes through transmission network module and remote control module, video monitoring module, manual alarm module, accident alarm mould
Block, warning device module are connected, and manual alarm module is connected with alarm module, accident alarm module and video monitoring module
It is connected, video monitoring module includes picture recognition module, display module, automatic alarm module, memory module.
Monitoring center module is used to monitor in real time and management drop loss building, mainly including server, display, network connection
Etc. various hardware devices, for connect the video monitoring module in each corridor, manual alarm module, accident alarm module,
Alarm module and remote control module, the real-time monitoring display to student is realized, when detection alarm signal, record associated video
And sound and light alarm equipment is triggered simultaneously and carries out sound and light alarm.
Remote control module includes video information enquiry module, and remote control is respectively arranged at each management department of school
Door, facilitates school control.Video information enquiry module, the query function interface for being mainly directed towards school administrator's progress, it is convenient
They inquire about the video monitoring situation in special time or place.The mode of inquiry can be that fuzzy query is inquired about with accurate, for
The keyword of inquiry is selected, it is necessary to point to the critical field in video monitoring information.Inquiry mode may be configured as it is single inquiry and
Compound inquiry.
Corridor includes four video monitoring module, manual alarm module, accident alarm module, alarm module moulds
Block.
Video monitoring module connects Surveillance center, including real time image collection module, image storage module, image show mould
Block, image data processing module, automatic alarm module.
Real time video image acquisition module is using ccd video camera and combines Daheng's DH-CG400 video capture cards come real
Analog video image signals are converted into digital video signal and passed by computer PCI interface by the real-time collection of existing scene image
Calculator memory or video memory are transported to, meets real-time collection requirement of the system for video.The system is in Daheng DH-CG400
Image pick-up card carries the secondary development for entering line program on the basis of software kit.DH-CG400 image pick-up cards are to be based on high-performance
The high integration low-power-consumption video image pick-up card of pci bus, the color simulation vision signal gathered by CCD can be passed through collection
Analog-digital converter, proportional zoom, cutting and the color space-variant of card, which the processing such as change and be converted to data image signal, to be sent in computer
Deposit real-time storage, collection transmission without CPU participate in just can steady operation, be not take up CPU time, support adopting in real time for image
Collection.
Image storage module uses storage device of the PC hard disk as video image, and memory module includes accident report
Alert memory block and corridor stream of people memory block, the various data messages of video image in stocking system.
Image display selection computer display is used for the video image of display system, in real time will can collect
The result such as scene video image and detecting and tracking is shown over the display.
Image data processing module by the use of microcomputer as realize student monitor in real time, demographics analysis and automatic
The hardware device of alert process.
The pretreatment module of the software scenario of system including image, student detect identification module, number of student statistical module,
Automatic alarm module.Connect using the application of DH-CG400 Daheng image pick-up card of the Visual C++6.0 softwares based on pci bus
Mouth function carries out secondary development, can will obtain the digital picture changed into by capture card through ccd video camera, realize to reality
When scene video IMAQ to screen, collect the control and processing of internal memory, data transfer.
The pretreatment module of image is the first step of image procossing, and major function is that the conversion of data format can realize letter
Change data, reduce operand, suppress the interference of noise, strengthen some details of image, strengthen the quality of image, ensure that extraction has
The subsequent operation of the characteristics of image of effect.
Student detects the basis that identification module is intelligent monitor system, and a module of most critical, main function
It is to use corresponding human face detection tech, detects the region of variation in scene, splits moving target and background, by using to people
The extraction of the features such as the shape on face and head, barycenter, color histogram, profile identifies student.
Number of student statistical module is on the basis of student is identified, implementation statistics is carried out to the number of student in image,
And corresponding number is shown.
Automatic alarm module is to ensure the efficiency of corridor on and off duty and safety, and setting one is in number in corridor
Maximum, by the number of student of the corridor up and down of real-time statistics compared with maximum, when more than setting value, start automatic
Alarm module, automatic alarm module send a signal to monitoring center module, and monitoring center module sends out the alarm signal being connected to
Give warning device and remote control module, warning device carries out sound and light alarm, and the warning device by corresponding corridor is to will
Or upper student downstairs is reminded, Surveillance center's record associated video.
Manual alarm module includes two switches, and switch includes pressure sensor, be arranged at manual alarm module with it is nearest
Warning device be joined directly together.
Accident alarm module includes two switches, and switch includes pressure sensor, is respectively placed in corridor corner, and
Angle between two switches is 90 °.
Alarm module selection carries out sound and light alarm for sound and light alarm equipment.
After adopting the above technical scheme, the invention has the advantages that compared with the prior art,:
This campus classroom building safety monitoring system is by monitoring center module, remote control module, video monitoring module, hand
Dynamic alarm module, accident alarm module, alarm module, transmission network module organically integrate, and form school's religion
Educate administrative department and a kind of new classroom building safety management security system is constructed to campus classroom building, ensure that student is imparting knowledge to students
The safety in building.Picture recognition module, manual alarm module, automatic alarm module is relied on effectively to solve congested problem downstairs;
Accident alarm module is relied on effectively to solve the safety problem near guardrail.
Brief description of the drawings
Fig. 1 is the 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
As described below is only presently preferred embodiments of the present invention, is not intended to limit the 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 characterised in that:Including Surveillance center's mould
Block, remote control module, video monitoring module, manual alarm module, accident alarm module, alarm module, transmission network
Module, monitoring center module pass through transmission network module and remote control module, video monitoring module, manual alarm module, meaning
Outer event alarm module, warning device module are connected, and manual alarm module is connected with alarm modules, accident alarm module with
Video monitoring module is connected, and video monitoring module includes picture recognition module, display module, automatic alarm module, memory module.
Monitoring center module is used to monitor in real time and management drop loss building.
Remote control module includes video information enquiry module, and remote control is respectively arranged at each management department of school
Door, facilitates school control.
Video monitoring module 1, manual alarm module 3, accident alarm module 4, alarm modules are set in each corridor
2。
Video monitoring module connects Surveillance center, including real time image collection module, image storage module, image show mould
Block, image data processing module, automatic alarm module.
Video monitoring module 1 carries out real time image collection and statistically descends the number of student of corridor, on and off duty in order to ensure
The efficiency and safety of corridor, determine that a span for being in the maximum of number in corridor is 32- according to the area of corridor
40, by the number of student of the corridor up and down of real-time statistics compared with the span of maximum, when more than maximum, open
Dynamic automatic alarm module, the maximum in the present embodiment are set as 36.
Automatic alarm module sends a signal to monitoring center module.
The alarm signal being connected to is sent to warning device and remote control module by monitoring center module, and warning device 2 enters
Row sound and light alarm, the student that will or above going downstairs is being reminded by the warning device of corresponding corridor, Surveillance center
Record associated video.
When student hears the operation of sound and light alarm equipment, being prepared to enter into the student of upper and lower corridor should stop immediately, wait to alarm
After equipment stops, continuing corridor up and down.
Embodiment 2, as shown in Figure 2.
During upper and lower corridor, when some student is felt not quite the thing suddenly, or video monitoring system is safeguarded, now in order to
Prevent it is crowded cause security incident, student can press manual alarm module 3.
Manual alarm module includes two switches, is respectively arranged at the middle part and bottom of upper and lower corridor.
Switch includes pressure sensor, and the switch of manual alarm module is joined directly together with nearest warning device 2.
When pressing manual alarm module 3, pressure sensor triggers corresponding warning device 2, and warning device 2 carries out acousto-optic
Alarm, while manual alarm is sent to monitoring center module.
Monitoring center module receive the report for police service signal when, record video-unit 1 content.
Embodiment 3, as shown in Figure 3.
When being clashed between student, nearby it can be seen that student can press accident alarm module 4 in time.
Accident alarm module includes two switches, is respectively placed in corridor corner, and the angle between two switches
For 90 °.
The switch of accident alarm module includes pressure sensor.
Angle between two switches is 90 °, and the purpose of this design is no matter to be sent out near upper and lower corridor or guardrail
During raw accident, student worry to catch a packet revenge when, the accident alarm module 4 of opposite side can be selected.
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 when, while record the content of video-unit 1 and 5.
One 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 is carried out in time to the student clashed
Education.
Described above is only the better embodiment of the present invention, therefore all constructions according to described in present patent application scope,
The equivalent change or modification that feature and principle are done, is included in the range of present patent application.