Intelligent security monitoring management system for smart community based on machine vision
Technical Field
The invention belongs to the technical field of community security management, and particularly relates to an intelligent community security monitoring and management system based on machine vision.
Background
In order to guarantee the safety of daily life of residents in a community, the current community management adopts intelligent community management. The intelligent community management system mainly comprises four modules, namely community management, community service, public service and home service, wherein the community management comprises the most critical intelligent security in the intelligent community and is the most important ring for protecting the safety of owners, but the existing community security is mostly embodied in the aspects of entrance guard and theft prevention, and security management cannot be performed on the high altitude parabolic phenomenon of buildings.
As is known, the existing residential areas are generally built on high floors, the high-altitude object throwing of the residential areas can injure people passing by the low floors, the higher the storey of the object throwing is, the larger the damage is, meanwhile, the high-altitude object throwing can cause the damage to the sanitary environment of the residential areas, particularly, some hidden greenbelt areas are often changed into hot garbage dumps, and the garbage and greenbelt plants are mixed together, so that the difficulty is increased for the work of cleaning personnel.
Disclosure of Invention
The invention aims to solve the problems, designs an intelligent security monitoring and management system for an intelligent community based on machine vision, and solves the problem that security management cannot be performed on the high-altitude parabolic phenomenon of a building in the existing security management of the intelligent community.
The purpose of the invention can be realized by the following technical scheme:
an intelligent community intelligent security monitoring management system based on machine vision comprises a building image shooting module, an image processing module, a feature database, an image contrast identification module, a parabolic floor locking module, a protection mode analysis module, a master controller and a protection execution terminal;
the building image shooting module comprises a plurality of high-definition cameras, each high-definition camera corresponds to each building in the community one by one, and each high-definition camera is installed on a support on the ground of each building and is used for shooting images of the sides, close to the windowsill, of each building according to a preset time interval and sending the shot images of the sides of the windowsill of the building to the image processing module according to the shooting sequence;
the image processing module is connected with the building image shooting module, continuously receives the image of the building window side sent by the building image shooting module, carries out filtering processing on the received image of the building window side to obtain a filtered building image, and sends the filtered building image to the image contrast identification module;
the image comparison identification module is connected with the image processing module, compares the filtered building window stage side image with a standard building window stage side image stored in a characteristic database, if an abnormal point exists, the current building window stage side image is reserved, if the abnormal point does not exist, the image comparison at the next moment is continued, the image comparison identification module amplifies the abnormal building window stage side image, meanwhile, an area image where the abnormal point exists is focused, the characteristic of the abnormal point is extracted and matched with the characteristic of a high-altitude parabolic image in the characteristic database, if the matching is successful, the high-altitude parabolic phenomenon exists at the current building window stage side, and the current building high-altitude parabolic image is respectively sent to the floor locking module and the protection mode analysis module;
the characteristic database stores images of the standard window side of each building in the community and stores characteristics of high-altitude parabolic images;
the parabolic floor locking module is connected with the image comparison and identification module, and is used for carrying out image segmentation on the received building high-altitude parabolic image according to floors, segmenting the building high-altitude parabolic image into all floor sub-images, arranging all the floor sub-images according to the order of the floor numbers, extracting the building standard window platform side image in the feature database, comparing all the segmented floor sub-images with all the floors in the building standard window platform side image one by one, acquiring the floor number of a high-altitude parabolic object, and respectively sending the acquired high-altitude parabolic floor number to the master controller and the protection mode analysis module;
the protection mode analysis module is respectively connected with the image comparison identification module and the parabolic floor locking module, and is used for carrying out parabolic protection mode analysis on the received high-altitude parabolic images of the buildings, and the protection mode analysis module specifically comprises the following steps:
s1: according to the received high-altitude parabolic floor number, high-altitude parabolic floor subimages are found from all floor subimages arranged according to the floor number sequence, windowsill area images are sequentially focused from all the floor subimages below the found parabolic floor, human body appearance feature grabbing is carried out, if the human body appearance features are not grabbed, it is indicated that no person appears at the windowsill of the floor subimages, and if the human body appearance features are grabbed, it is indicated that a person appears at the windowsill of the floor subimages;
s2: if the human body appearance characteristics are not captured in the windowsill area images in the sub-images of the floors below the parabolic floor, the danger generated by high-altitude parabolic is low, and the parabolic protection mode is a normal parabolic protection mode;
s3: if the human body appearance characteristics are captured in the windowsill area image of a certain floor subimage below the parabolic floor, the high-altitude parabolic generation danger is high, the parabolic protection mode is the emergency parabolic protection mode, and meanwhile, the floor subimage capturing the human body appearance characteristics is extracted to obtain the floor number which is recorded as the emergency floor;
s4: sending the analyzed parabolic protection mode to a master controller, and sending the analyzed parabolic protection mode as an emergency floor number and a parabolic floor number under the emergency parabolic protection mode to the master controller;
the main controller is respectively connected with the parabolic floor locking module and the protection mode analysis module, receives a high-altitude parabolic floor number sent by the parabolic floor locking module and receives a parabolic protection mode sent by the protection mode analysis module, if the received parabolic protection mode is a normal parabolic protection mode, an instruction is sent to the sub-controllers of the corresponding floors, and the sub-controllers start the protection execution terminal to perform normal parabolic protection; if the received parabolic protection mode is the emergency parabolic protection mode, sending an instruction to the sub-controllers of the corresponding floors, and starting a protection execution terminal by the sub-controllers to perform emergency parabolic protection;
the protection execution terminal comprises a plurality of protection mechanisms, each protection mechanism corresponds to each floor, a storage groove with a rectangular frame structure is formed in the position right below each floor windowsill, the protection mechanisms are installed in the storage grooves and comprise foldable protective nets and multistage electric telescopic push rods, the multistage electric telescopic push rods are installed on the left inner side wall and the right inner side wall of each storage groove, the bottoms of the fixed ends of the multistage electric telescopic push rods are fixedly installed on the rear wall inside the storage grooves, hanging hooks are arranged at the tops of the moving ends of the multistage electric telescopic push rods, fixing rings are arranged on the left side and the right side of each protective net, and the fixing rings on the left side and the right side of each protective net are sequentially installed on the hanging hooks at the tops of the moving ends of the;
the specific protection process of the normal parabolic protection mode is as follows:
h1: according to the received parabolic floor number, starting a protection mechanism upwards in sequence from the lowest floor to extend a protection net outwards for each floor below the high-altitude parabolic floor;
h2: when a protection mechanism on a certain floor receives a falling object, the sub-controller on the floor sends a receiving completion signal to the master controller, and sends a floor number of the falling object to the master controller;
h3: when receiving a receiving completion signal sent by the sub-controllers and receiving the floor number of the falling object, the main controller sends a protection stopping instruction to the sub-controllers of the floors except the floor receiving the falling object;
h4: and (4) correspondingly, the sub-controllers of all floors except the floor receiving the falling object receive the stop protection instruction sent by the master controller, and the protective net is contracted.
Preferably, the standard building windowsill side image is a building windowsill side still image without a high altitude parabola.
Further, the parabolic floor locking module can also lock owner information of a parabolic room, and the specific locking process comprises the following steps:
w1: screening the parabolic floor sub-images from a plurality of floor sub-images according to the locked parabolic floor;
w2: amplifying the obtained parabolic floor sub-images, and obtaining the numbers of the parabolic rooms according to the distribution sequence of the numbers of the rooms of the floors:
w3: and extracting owner information of each house number of each floor of the building to obtain owner information of the parabolic house number, wherein the owner information comprises an owner name and an owner contact way.
And the sub controllers are in one-to-one correspondence with all floors of the building, are connected with the protection mechanisms of all floors, receive control instructions of the main controller and feed back corresponding information to the main controller.
Further, the protection mechanism further comprises a weighing sensor which is installed at the bottom of the protection net and used for sensing the received falling object, and when the protection net of a certain floor receives the falling object, the numerical value displayed by the weighing sensor at the bottom of the protection net of the floor changes, namely the falling object is received.
Further, the specific protection process of the emergency parabolic protection mode is as follows:
r1: according to the received critical floor number and parabolic floor number, starting protective mechanisms upwards in sequence from the first floor above the critical floor to extend protective nets outwards from each floor between the critical floor and the parabolic floor;
r2: when a protection mechanism on a certain floor receives a falling object, the sub-controller on the floor sends a receiving completion signal to the master controller, and sends a floor number of the falling object to the master controller;
r3: when receiving a receiving completion signal sent by the sub-controllers and receiving the floor number of the falling object, the main controller sends a protection stopping instruction to the sub-controllers of the floors except the floor receiving the falling object;
r4: and (4) correspondingly, the sub-controllers of all floors except the floor receiving the falling object receive the stop protection instruction sent by the master controller, and the protective net is contracted.
Furthermore, the master controller also receives owner information of the household number of the parabolic room sent by the parabolic floor locking module, receives the high-altitude parabolic image of the building sent by the image comparison identification module, sends the high-altitude parabolic image of the building to a mobile phone terminal of the owner of the household number of the parabolic room, and reminds the owner of the household number of the parabolic room not to throw objects high.
The invention has the beneficial effects that:
(1) according to the invention, the images of all buildings close to the window sides are acquired and processed and subjected to image contrast identification through the building image shooting module, the identified high-altitude parabolic images of the buildings are subjected to parabolic floor locking and parabolic protection mode analysis, and meanwhile, the protection execution terminal is controlled by the master controller to execute the protection instruction according to the analyzed parabolic protection mode, so that the high-altitude parabolic phenomenon of the buildings of the community is effectively monitored and protected, the defect that the high-altitude parabolic phenomenon of the buildings cannot be subjected to security management in the existing intelligent community security management mentioned in the background technology is overcome, the personal safety of community residents is ensured, the community sanitary environment is protected, and the working pressure of sanitation workers is reduced.
(2) The protection mode analysis module is arranged to check whether people appear on all floors downwards from the parabolic floors or not for the identified high-altitude parabolic images of the building, parabolic protection is analyzed according to the check result, and the protection method has the characteristics of high intelligent degree and strong operability, and the emergency protection mode maximally avoids personal injuries of falling objects to residents at the lower windowsill, thereby greatly protecting the personal safety of the residents.
(3) The protection mechanism is started upwards in sequence from the lowest floor for each floor below a high-altitude parabolic floor and the protection mechanism is started upwards in sequence from the first floor above the emergency floor in the emergency parabolic protection mode, and the protection mechanisms are started upwards in sequence from the emergency floor to each floor between the parabolic floors in the emergency parabolic protection mode; and in the process of sequentially starting the protection mechanisms step by step, when the protection mechanism on a certain floor receives a falling object, the protection mechanisms on other floors and started in future can be stopped to be started, so that the running cost of the protection mechanisms is saved, and the protection efficiency of the protection mechanisms is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a block diagram of the system of the present invention;
FIG. 2 is a schematic view of a monitoring position of the camera of the present invention;
fig. 3 is a top view of the shielding mechanism of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1-3, a smart community intelligent security monitoring management system based on machine vision includes a building image shooting module, an image processing module, a feature database, an image contrast identification module, a parabolic floor locking module, a protection mode analysis module, a master controller, a sub-controller and a protection execution terminal.
The building image shooting module comprises a plurality of high-definition cameras, each high-definition camera corresponds to each building in a community one-to-one, and each high-definition camera is installed on a support on the ground of each building and used for shooting images of the side, close to the window, of each building according to a preset time interval and sending the shot images of the side, close to the window, of each building to the image processing module according to the shooting sequence.
The smaller the preset shooting time interval is, the higher the frequency of the camera for collecting images is, the more the high-altitude parabolic phenomenon can be monitored in time, the high-altitude parabolic protection can be carried out in time, and the harm of falling objects to people is reduced.
The image processing module is connected with the building image shooting module, continuously receives the image of the building window side sent by the building image shooting module, carries out filtering processing on the received image of the building window side to obtain a filtered building image, and sends the filtered building image to the image contrast identification module.
The image comparison identification module is connected with the image processing module, compares the filtered image at the side of the building window sill with the image at the side of the standard building window sill stored in the characteristic database, if an abnormal point exists, the image at the side of the building window sill at the moment is reserved, if the abnormal point does not exist, then the image comparison at the next moment is continued, the image comparison identification module carries out amplification processing on the image at the side of the building window sill with the abnormal moment, meanwhile, focusing the image of the region where the abnormal point is located, extracting the feature of the abnormal point, matching the feature with the feature of the high-altitude parabolic image in the feature database, and counting the matching degree of the extracted abnormal point features and the high-altitude parabolic image features, if the matching degree is greater than a preset threshold value of the matching degree, and if the matching is successful, indicating that the high-altitude parabolic phenomenon exists at the side of the building window, and respectively sending the high-altitude parabolic image of the building to the parabolic floor locking module and the protection mode analysis module.
The characteristic database stores standard window side images of all buildings of the community and stores high-altitude parabolic image characteristics, the standard window side images of all the buildings are static images of all the floors of the buildings without high-altitude parabolic images, and the high-altitude parabolic image characteristics comprise body motion characteristics when people throw objects.
The parabolic floor locking module is connected with the image comparison and identification module, and is used for carrying out image segmentation on the received building high-altitude parabolic image according to floors, segmenting the building high-altitude parabolic image into all floor sub-images, arranging all the floor sub-images according to the floor number sequence, extracting the building standard window side image in the feature database, comparing all the segmented floor sub-images with all the floors in the building standard window side image one by one, acquiring the floor number of a high-altitude parabolic object, and respectively sending the acquired high-altitude parabolic floor number to the master controller and the protection mode analysis module.
Meanwhile, the parabolic floor locking module can also lock the owner information of the household number of the parabolic room, and the specific locking process comprises the following steps:
w1: screening the parabolic floor sub-images from a plurality of floor sub-images according to the locked parabolic floor;
w2: amplifying the obtained parabolic floor sub-images, and obtaining the numbers of the parabolic rooms according to the distribution sequence of the numbers of the rooms of the floors:
w3: and extracting owner information of each house number of each floor of the building to obtain owner information of the parabolic house number, wherein the owner information comprises an owner name and an owner contact mode, and sending the acquired owner information of the parabolic house number to a master controller.
The protection mode analysis module is respectively connected with the image comparison identification module and the parabolic floor locking module, and is used for carrying out parabolic protection mode analysis on the received high-altitude parabolic images of the buildings, and the method specifically comprises the following steps:
s1: according to the received high-altitude parabolic floor number, high-altitude parabolic floor subimages are found from all floor subimages arranged according to the floor number sequence, windowsill area images are sequentially focused from all the floor subimages below the found parabolic floor, human body appearance feature grabbing is carried out, if the human body appearance features are not grabbed, it is indicated that no person appears at the windowsill of the floor subimages, and if the human body appearance features are grabbed, it is indicated that a person appears at the windowsill of the floor subimages;
s2: if the human body appearance characteristics are not captured in the windowsill area images in the sub-images of the floors below the parabolic floor, the danger generated by high-altitude parabolic is low, and the parabolic protection mode is a normal parabolic protection mode;
s3: if the human body appearance characteristics are captured in the windowsill area image of a certain floor subimage below the parabolic floor, the fact that the high-altitude parabolic object is high in danger is indicated, the parabolic protection mode is the emergency parabolic protection mode, meanwhile, the floor subimage capturing the human body appearance characteristics is extracted, the floor number is obtained and recorded as the emergency floor, and the number of the emergency floors is counted;
s4: and sending the analyzed parabolic protection mode to a master controller, and sending the analyzed parabolic protection mode to the master controller as an emergency floor number and a parabolic floor number under the emergency parabolic protection mode.
Whether someone appears in each downward floor of parabolic floor in this preferred embodiment through setting up the parabolic image of building high altitude that protection mode analysis module was discerned to the analysis of the result of looking over and throw the thing protection, have intelligent degree height and strong maneuverability's characteristics, its critical protection mode has avoided falling object to the personal injury of resident of downstairs department to the maximize, has protected resident's personal safety greatly.
The main controller is respectively connected with the parabolic floor locking module and the protection mode analysis module, receives a high-altitude parabolic floor number sent by the parabolic floor locking module and receives a parabolic protection mode sent by the protection mode analysis module, if the received parabolic protection mode is a normal parabolic protection mode, an instruction is sent to the sub-controller of the corresponding floor, and the sub-controller starts the protection execution terminal to perform normal parabolic protection; if the received parabolic protection mode is the emergency parabolic protection mode, sending an instruction to the sub-controllers of the corresponding floors, starting the protection execution terminal by the sub-controllers to perform emergency parabolic protection, enabling the sub-controllers to correspond to the floors of the building one by one, connecting the sub-controllers with the protection mechanisms of the floors, receiving the control instruction of the master controller, and feeding back a receiving completion signal to the master controller.
The protection execution terminal comprises a plurality of protection mechanisms, each protection mechanism corresponds to each floor respectively, a storage tank with a rectangular frame structure is arranged at a position under each floor windowsill, the protection mechanisms are arranged in the storage tanks and comprise foldable protection nets, multistage electric telescopic push rods and weighing sensors, the multistage electric telescopic push rods are arranged on the left inner side wall and the right inner side wall of each storage tank, the bottom parts of the fixed ends of the multistage electric telescopic push rods are fixedly arranged on the rear wall in the storage tanks, suspension hooks are arranged at the top parts of the moving ends of the multistage electric telescopic push rods, fixing rings are arranged on the left side and the right side of each protection net, the fixing rings on the left side and the right side of each protection net are sequentially arranged on the suspension hooks at the top parts of the moving ends of the multistage electric telescopic push rods respectively, the foldable protection nets are elastically and foldable, the weighing sensor is used for sensing the falling object, and when the falling object is received by the protective net on a certain floor, the numerical value displayed by the weighing sensor at the bottom of the protective net on the floor changes, namely the falling object is received.
The specific protection process of the normal parabolic protection mode is as follows:
h1: according to the received parabolic floor number, recording each floor number below a high-altitude parabolic floor, sequentially and upwards sending a starting control instruction to the sub-controllers of each floor below the high-altitude parabolic floor by the main controller from the lowest floor, starting the multi-stage electric telescopic push rods on the left side and the right side of the protection mechanism to extend towards the outside of the storage tank by the sub-controllers after receiving the starting instruction sent by the main controller, and further extending the protection net out of the storage tank to be horizontally spread outwards so as to receive falling objects;
h2: when a protective net of a protective mechanism of a certain floor receives a falling object, a sub-controller of the floor sends a receiving completion signal to a main controller, and sends a floor number of the falling object to the main controller;
h3: when receiving a receiving completion signal sent by the sub-controllers and receiving the floor number of the falling object, the main controller sends a protection stopping instruction to the sub-controllers of the floors except the floor receiving the falling object;
h4: the sub-controllers of all floors except the floor receiving the falling object receive the stop protection instruction sent by the master controller, the electric telescopic push rods on the two sides of the starting protection mechanism retract backwards, and then the protection net retracts into the storage tank.
The specific protection process of the emergency parabolic protection mode is as follows:
r1: according to the critical floor number and the thing floor number of throwing of receiving, if the critical floor that receives only one, then from critical floor to throwing each floor between the thing floor, start upwards to start protection machanism in proper order from the last floor of critical floor and outwards extend the protection network, if the critical floor that receives has a plurality of, then protects according to the distribution condition of critical floor, and the concrete process is as follows:
r11: if the distribution of each emergency floor is scattered, recording the distribution position of each emergency floor, assuming that the emergency floors are three, recording the emergency floor closest to the parabolic floor as a first emergency floor, then recording the emergency floor as a second emergency floor, and finally recording a third emergency floor, counting the numbers of the floors from the first emergency floor to the parabolic floor for the first emergency floor, starting the protection mechanism to extend the protection net upwards in sequence from the first floor on the first emergency floor to the parabolic floor, counting the numbers of the floors from the second emergency floor to the first emergency floor for the second emergency floor, starting the protection mechanism to extend the protection net upwards in sequence from the first floor on the second emergency floor to the first floor below the first emergency floor, starting the protection mechanism to extend the protection net outwards in sequence for the third emergency floor, counting the numbers of the floors from the third emergency floor to the second emergency floor, starting the protection mechanism to extend the protection net outwards in sequence from the first floor on the third emergency floor to the second floor below the first emergency floor The stretching process of the protecting net is consistent with the stretching process of the normal parabolic protection mode;
r12: if the distribution of each emergency floor is centralized and the emergency floors are adjacent floors, recording the number of the emergency floor closest to the parabolic floor in the adjacent floors, counting the numbers of the emergency floors from the emergency floor closest to the parabolic floor in the adjacent floors, starting a protection mechanism upwards in sequence from the floor above the emergency floor closest to the parabolic floor to extend a protection net outwards, wherein the extending process is consistent with the extending process of the normal parabolic protection mode;
r2: when a protection mechanism on a certain floor receives a falling object, the sub-controller on the floor sends a receiving completion signal to the master controller, and sends a floor number of the falling object to the master controller;
r3: when receiving a receiving completion signal sent by the sub-controllers and receiving the floor number of the falling object, the main controller sends a protection stopping instruction to the sub-controllers of the floors except the floor receiving the falling object;
r4: and (3) correspondingly, the sub-controllers of all floors except the floor receiving the falling object receive the stop protection instruction sent by the master controller, the protective net is contracted, and the process of contracting the protective net is consistent with that of contracting in a normal parabolic protection mode.
The protection mechanism is started upwards in sequence from the lowest floor for each floor below the high-altitude parabolic floor in the normal parabolic protection mode and the protection mechanism is started upwards in sequence from the first floor above the emergency floor in the emergency parabolic protection mode, and the protection mechanisms are started upwards in sequence from the emergency floor to each floor between the emergency floors in the emergency parabolic protection mode; and in the process of sequentially starting the protection mechanisms step by step, when the protection mechanism on a certain floor receives a falling object, the protection mechanisms on other floors and started in future can be stopped to be started, so that the running cost of the protection mechanisms is saved, and the protection efficiency of the protection mechanisms is improved.
The main controller also receives owner information of the household number of the parabolic room sent by the parabolic floor locking module, receives the high-altitude parabolic image of the building sent by the image comparison identification module, sends the high-altitude parabolic image of the building to a mobile phone terminal of the owner of the household number of the parabolic room, and reminds the owner of the household number of the parabolic room not to throw objects high.
According to the invention, the images of all buildings close to the window side are acquired and identified through the building image shooting module, parabolic floor locking and parabolic protection mode analysis are carried out on the identified high-altitude parabolic images of the buildings, and the protection instruction is executed by the protection execution terminal according to the analyzed parabolic protection mode, so that the safety protection of the high-altitude parabolic phenomenon of the buildings of the community is realized, the defect that the security management of the high-altitude parabolic phenomenon cannot be carried out in the existing intelligent community security management mentioned in the background technology is overcome, the personal safety of community residents is ensured, the community sanitary environment is protected, and the working pressure of sanitation workers is reduced.
The foregoing is merely exemplary and illustrative of the present invention and various modifications, additions and substitutions may be made by those skilled in the art to the specific embodiments described without departing from the scope of the invention as defined in the following claims.