Content of the invention
The purpose of the present invention is intended at least solve one of described technological deficiency.
For this reason, it is an object of the invention to proposing a kind of circumference invasion detection method and system, it is possible to achieve in environmentThe circumference that personnel enter default sensitizing range that whether has detected, thus sending alarm signal in time when finding above-mentioned situationNumber, notify monitoring personnel collection measure to process.
To achieve these goals, embodiments of the invention provide a kind of circumference invasion detection method, including:
Step S1, by the video figure of each position in the video front-end equipment acquisition monitoring region being arranged on monitor areaPicture;
Step S2, described video image is sent by switch and is stored to database server, and send to shouldCarry out intelligent video analysis with server;
Step S3, is analyzed to video image by described application server, extracts the moving target in video image, sentencesWhether disconnected moving target enters the circumference of designated area;
Step S4, when judging the circumference of moving target entrance designated area, from described application server to monitoring personnelTerminal unit alert, point out monitoring personnel to carry out concern process, and by the video image in this region in real time aobviousShown in display screen.
Further, in described step S1, described monitor area is provided with multiple defence areas, and each defence area is preset with defence area weekBoundary, when judging the circumference of moving target entrance defence area circumference, alert.
Further, in described step S4, the terminal unit of described monitoring personnel obtains regarding of described monitor area in real timeFrequency image, and receive described warning message, to point out user to take treatment measures in time.
Further, in described step S4, described warning message is pointed out for sound and light alarm.
The embodiment of the present invention also proposes a kind of circumference intruding detection system, including:Video front-end equipment, database serviceDevice, switch, application server and display device.
Specifically, described video front-end equipment includes:Multiple video cameras, the plurality of video camera is distributed in monitor areaAt multiple positions, for gathering the video image at each position.
Specifically, when described monitor area is located outside, the installation site distance detection region 5 of each described video cameraRice~40 meters, 45 degree of angle or 45-60 degree, 3 meters~10 meters of height distance ground;
When described monitor area is located at indoor, the installation site distance detection region 3 meters~20 of each described video cameraRice, 45 degree of angle or 45-60 degree, 3 meters~10 meters of height distance ground.
In one embodiment of the invention, monitor area is provided with multiple defence areas, and each defence area is preset with defence area circumference,When judging the circumference of moving target entrance defence area circumference, alert.
Described switch is connected with described video front-end equipment, described database server and described application server, usesIn described video image is sent to described database server and described application server.
Described database server is used for storing described video image and being backed up.
Described application server is used for video image is analyzed, and extracts the moving target in video image, judges fortuneWhether moving-target enters the circumference of designated area, when judging the circumference of moving target entrance designated area, is taken by described applicationThe business terminal unit alert to monitoring personnel for the device, points out monitoring personnel to carry out concern process.Wherein, warning message isSound and light alarm is pointed out.
Wherein, the terminal unit of monitoring personnel obtains the video image of described monitor area in real time, and receives described warningInformation, to point out user to take treatment measures in time.
In one embodiment of the invention, the terminal unit of monitoring personnel is mobile phone or panel computer.
Described display device is connected with described application service area, for by the video image in this region in real time on a display screenShown.
Circumference invasion detection method according to embodiments of the present invention and system, can divide according to video acquisition dataAnalysis, detects to the circumference that personnel enter default sensitizing range that whether has in environment, thus when finding above-mentioned situation andWhen send alarm signal, notify monitoring personnel collection measure to process.
The present invention knows serial application product based on a set of intelligence that multiple Intelligent Recognition algorithms continue to optimize design, is userProvide Intelligent Recognition, intelligence evidence obtaining, in advance early warning, dispose afterwards, three-level linkage, manual warnings, mobile terminal application management, in advanceAlarming information classification such as pushes at multiple application services, can be by the intellectual analysis to video data before event occurs, in advanceSend early warning, and three-level linkage early warning is realized according to the degree of danger of event, the image of event can be distributed to personnel at different levels and moveIn dynamic terminal, it is that event handling wins the quality time, the impact to public or private property and people's life's safety for the event is reducedTo minimum level.
The aspect that the present invention adds and advantage will be set forth in part in the description, and partly will become from the following descriptionObtain substantially, or recognized by the practice of the present invention.
Specific embodiment
Embodiments of the invention are described below in detail, the example of described embodiment is shown in the drawings, wherein from start to finishThe element that same or similar label represents same or similar element or has same or like function.Below with reference to attachedThe embodiment of figure description is exemplary it is intended to be used for explaining the present invention, and is not considered as limiting the invention.
As shown in figure 1, the circumference invasion detection method of the embodiment of the present invention, comprise the steps:Step S1, by being arranged onVideo image at each position in video front-end equipment acquisition monitoring region of monitor area;
Step S1, by the video figure of each position in the video front-end equipment acquisition monitoring region being arranged on monitor areaPicture.
Monitor area is provided with multiple defence areas, and each defence area is preset with defence area circumference, when judge moving target enter defence areaDuring the circumference of circumference, alert.
Specifically, by the data acquisition program gathered data (xml, picture and video segment) in video front-end equipment, lead toAfter crossing process, data is stored respectively in data base and storage server.Can also realize accessing third party by interface and be safelySystem or rays safety detection apparatus detection information.
Step S2, video image is sent by switch and is stored to database server, and sends to application clothesBusiness device carries out intelligent video analysis.
With reference to Fig. 4, video analytics server is by analysis result with xml data is activation to data acquisition program, data acquisitionProgram gathers picture and video segment by xml from video analytics server.Data after processing is divided by data acquisition programCun Chu not be with data base and storage server.
Step S3, is analyzed to video image by application server, extracts the moving target in video image, judges fortuneWhether moving-target enters the circumference of designated area;
Step S4, when judging the circumference of moving target entrance designated area, from application server to the end of monitoring personnelEnd equipment alert, points out monitoring personnel to carry out concern process, and by the video image in this region in real time in display screenOn shown.
Below the process of circumference intrusion detection is illustrated:
Specifically, in specifically monitored picture, the region needing emphasis supervision or defence area, such as bayonet socket, enclosure wall can be set, oftenOne defence area is required for defining defence area scope, and each defence area of real-time detection whether there is invader.Whether automatic detection depositsIn the moving target warning region specified of invasion, if existing, system carries out (find that warning region hover event) report at once automaticallyAlert.
Range of application:On highway diffluence pass, river side, on railway side, the bounds of private residence, historical relic etc protectedSuch place of surrounding of object of shield etc..Can also be the such Code in Hazardous Special Locations in prison, need convict to stay in special scopeInterior, if crossing a certain special circumference, can implement to report to the police.
Outdoor environment requires:Monitor area is apart from photographic head 5m~40m;Daytime, light stabilisation;At night, there is bright sourceAnd stable, light-source brightness can not be mutated;45 degree of angle or 45-60 degree;Height distance ground 3m~10m.
Indoor environment requires:Monitor area is apart from photographic head 3m~20m;Light stabilisation or have bright source and stable, lightSource brightness can not be mutated;45 degree of angle or 45-60 degree;Height distance ground 3m~10m.
Specifically, the terminal unit of monitoring personnel obtains the video image of monitor area in real time, and receives warning message, withPrompting user takes treatment measures in time.Wherein, warning message is pointed out for sound and light alarm.
As shown in Fig. 2 the embodiment of the present invention also proposes a kind of circumference intruding detection system, including:Video front-end equipment 1,Database server 2, switch 3, application server 4 and display device 5.
Specifically, video front-end equipment 1 includes:Multiple video cameras, multiple video cameras are distributed in multiple positions of monitor areaPut place, for gathering the video image at each position.
Specifically, when monitor area is located outside, the installation site distance detection region 5 meters~40 of each video cameraRice, 45 degree of angle or 45-60 degree, 3 meters~10 meters of height distance ground;
When monitor area is located at indoor, 3 meters~20 meters of the installation site distance detection region of each video camera, angle 45Degree or 45-60 degree, 3 meters~10 meters of height distance ground.
In one embodiment of the invention, monitor area is provided with multiple defence areas, and each defence area is preset with defence area circumference,When judging the circumference of moving target entrance defence area circumference, alert.
Specifically, by the data acquisition program gathered data (xml, picture and video segment) in video front-end equipment 1, lead toAfter crossing process, data is stored respectively in data base and storage server.Can also realize accessing third party by interface and be safelySystem or rays safety detection apparatus detection information.
Switch 3 is connected with video front-end equipment 1, database server 2 and application server 4, for by video imageSend to database server 2 and application server 4.
Database server 2 is used for store video images and is backed up.
Application server 4 is used for video image is analyzed, and extracts the moving target in video image, judges motion meshWhether mark enters the circumference of designated area, when judging the circumference of moving target entrance designated area, from application server 4 to prisonThe terminal unit alert of control personnel, points out monitoring personnel to carry out concern process.Wherein, warning message is sound and light alarmPrompting.
Wherein, the terminal unit of monitoring personnel obtains the video image of monitor area in real time, and receives warning message, to carryShow that user takes treatment measures in time.
In one embodiment of the invention, the terminal unit of monitoring personnel is mobile phone or panel computer.
Display device is connected with application service area, for being shown the video image in this region in real time on a display screenShow.
As shown in figure 3, seven levels of system architecture, it is operating system layer, database layer, web container layer respectively, runs ringBorder layer, technology layer, Internet, access browse layer.
Below the software support platform of the present invention is illustrated:
1st, Oracle11g data base:There is provided reliable, safe data management function with tackle key business event andLine issued transaction is applied.Oracle advanced security option provide transparent data encryption, can to lane database storage data andThe data of network transmission is encrypted.
2nd, operating system (windows/linux):As operating system on authorization server, for running the soft of correlationPart.
3rd, resource service (WebServer):There is provided resource information by (resource service) operation system for other services,It is operation system and the bridge of other service.
4th, distribution service (VideoServer):The Video stream information that hardware device is gathered is forwarded to Analysis Service etc..
5th, website service (tomcat):The use of the Internet end management system is provided as web container.
6th, middleware (ESB):Interface for integrated third party software and hardware.
7th, electronic chart (GIS):User provides integral platform electronic map function.
8th, storage service (StorageServer):Realize the store function of history video record.
9th, receive program (FKCounter):Realize the timely reception of early warning event information, and operation system real-time exhibition.
10th, picture publisher server (nginx):For issuing the picture of early warning event.
11st, video playback plug-in unit (OCX):Realizing operation system can be with displaying live view video playback.
12nd, video monitoring client terminal (VideoClient):There is provided one to control, access the visual of headend equipment to clientChange platform.By client, user can be with the video information of displaying live view all devices, control device head, 3D positioning, viewingHistory video record, browses video scheme broadcasting etc..
13rd, operation system:There is provided to client and consult in time, process the flat of the Realtime Alerts event detecting from headend equipmentPlatform.
14th, defrag .rar:Make regular check on and clear up video record and the picture file of storage, prevent disk space notFoot.
The present invention can dispose on authorization server, and supports the soft or hard system integration customizing, and compare other and be embedded in shootingFor the product of machine or soft or hard combination, extensibility is strong, can be according to some functions of the increase in demand of user;The algorithm being adoptedAccording to substantial amounts of contrast, test, in the case that environment reaches the requirement of products application, the accuracy rate of algorithm is higher than that other embedVideo camera or the product of soft or hard combination;Algorithm, client etc. has broken string to automatically reply function;Whole system can be compatibleThe systems such as windows2003/xp/win7/win8.
Circumference invasion detection method according to embodiments of the present invention and system, can divide according to video acquisition dataAnalysis, detects to the circumference that personnel enter default sensitizing range that whether has in environment, thus when finding above-mentioned situation andWhen send alarm signal, notify monitoring personnel collection measure to process.
The present invention knows serial application product based on a set of intelligence that multiple Intelligent Recognition algorithms continue to optimize design, is userProvide Intelligent Recognition, intelligence evidence obtaining, in advance early warning, dispose afterwards, three-level linkage, manual warnings, mobile terminal application management, in advanceAlarming information classification such as pushes at multiple application services, can be by the intellectual analysis to video data before event occurs, in advanceSend early warning, and three-level linkage early warning is realized according to the degree of danger of event, the image of event can be distributed to personnel at different levels and moveIn dynamic terminal, it is that event handling wins the quality time, the impact to public or private property and people's life's safety for the event is reducedTo minimum level.
In order to adapt to user's request, the present invention has environment learning ability, can be carried according to the constantly improve that security protection identifies storehouseHigh system recognition rate, improves the security protection work efficiency of relevant departments, preferably ensures life and the property safety of broad masses, dimensionProtect social stability.
The circumference invasion detection method of the embodiment of the present invention and system, have the advantages that:
1st, comprehensive
Most current Intelligent Recognition manufacturer only achieves the module of or a few Intelligent Recognition it is impossible to meet userThe demand of growing lifting safe class.Just the product of multiple commercial vendors all can only be filled one when user has multiple demandTime, different functions is realized on different platforms.And be directed to article, colony personnel, environment, all the 11 of photographic head itselfCategorles analytic function is realized all on a platform, can meet the demand of most of clients, easy to use for user.
2nd, data evidence obtaining is quick
Most current intelligence manufacturer is will be preposition for the algorithm of Intelligent Recognition, and the evidence obtaining that this results in after an event occurs is strandedDifficulty, and Intelligent Recognition platform, due to being in backstage deployment, it is possible to easily analyzing the video of storage, positioning rapidly needs and takingThe data of card, is that client saves substantial amounts of time cost.And support multistage linking, data distribution.
3rd, three-level linkage early warning
System can achieve patrol personnel's handheld terminal, monitoring center system platform, and the three-level of headquarter's system platform links,Personnel for user's many levels provide decision support, and realize early warning in advance and dispose, event is compressed among cradle.
4th, sustainable development
The identification storehouse of constantly improve system, improves discrimination, newly intelligently knows also dependent on customer demand customized development meanwhileOther algorithm, to meet different demands, keeps permanent sustainable development in following application process.
5th, bidirectional alarming
The present invention can realize video analysis early warning and the bidirectional alarming mechanism of live patrol personnel's manual alarm, in shootingHead blind area, manually alarm image is beamed back early warning platform to live patrol personnel by form, and platform commanding is according to image feelingsCondition arranges disposing task.Thus network is disposed by the photographic head and Field Force's composition early warning commander that no dead angle covers.
6th, protect original investment
Because Intelligent Recognition platform is a set of pure software system, it is arranged in the backstage of video monitoring system, so need not be rightThe video monitoring system that user has built up is transformed or is removed reconstruction, can be effectively protected the original investment of client, phaseTo domestic at present most monitoring manufacturers by preposition for the algorithm pattern to photographic head, Intelligent Recognition platform can maximize protectionThe original investment of client.
7th, economy
The Intelligent Recognition platform of research and development can be adjusted flexibly the region of Intelligent Recognition after client deployment, and this regionThe content of identification.The region that such as some camera for supervising the square shoots, the behavior of possibly colony or the individuality of identification on daytime is knownNot, what be then possible to identification in the evening is the identification of doubtful dangerous materials or legacy.Traditional monitoring manufacturer can only rely on increase to take the photographCamera, increases equipment investment realizing, and Intelligent Recognition platform then only need to arrange in software it is achieved that great saveThe engineering of about user puts into, equipment investment, and human input etc. has a high economy.Urban safety aspect for another example, noIt is different that the same time period needs the region of Intelligent Recognition, and traditional solution is exactly to install substantial amounts of photographic head, Lao Min additionalLose money.Intelligent Recognition platform only needs to arrange in software and can achieve, possesses high economy.
Simultaneously as Intelligent Recognition platform is to carry out intellectual analysis by computer to video, it is possible to reduce substantial amounts of on dutyPersonnel, are to save substantial amounts of human cost using unit.Possesses very high economy.
8th, practicality
Intelligent Recognition platform has extremely perfect early warning mechanism, can realize at present comprising article identification, personnelActivity recognition, Context awareness, photographic head oneself state identification etc. 11 big functions, can according to analytical data by it may happen that thingPart is reported to the police, and allows user carry out the disposal of correlation in event bud, with the loss avoiding event to cause after occurring.
9th, mobile interchange application
Use for the convenience of the user, in addition to the platform being arranged on Surveillance center, the present invention have also been devised cell phone customerEnd (crime scene investigation device) application, sets according to the different rights of scene patrol disposal personnel, floor manager personnel, the personnel of action commander in chiefPut different inquiries, the function such as pushed, sought help, having transferred, user can have been applied by mobile phone terminal and efficiently realize and commander peopleMember, the two-way interaction of command centre, greatly enhance scope and the convenience of system application.
10th, wechat pushes application
The support of mobile phone (crime scene investigation device) of the system is not installed for convenience or reinforcing personnel pick the early warning of system pushInformation, system specially devises wechat pushing module, can push early warning information to specified micro-signal.And can be by paying close attention to wechatPublic number, realizes public number automatic push.It is multiple interior that push content contains early warning event property, early warning event urgency level etc.Hold.User can arrange push content on platform, pushes the setting of the multiple personalizations such as the frequency.
11st, high efficiency
A set of platform of the intellectual analysis based on video image, the basis of the intellectual analysis to video image realized by platformAbove pass through in different scenes, the different parameters of varying environment setting realize the early warning in advance to event.Early warning information passes through platformThe three-level early warning mechanism that links be automatically distributed to the client of different persons liable, platform can also pass through correlation function simultaneouslyModule realizes emergency command.Realize the quick disposal to event by the linkage of each functional module of whole platform.
Realized using pure software form, algorithm is realized by the way of OpenCV is with reference to c/c++, and OpenCV is one and is based onThe cross-platform computer vision library that (increasing income) issues, may operate in Linux, Windows and MacOS operating system.It is lightMagnitude and efficiently, be made up of a series of C function and a small amount of C++ class, provide the language such as Python, Ruby, MATLAB simultaneouslyInterface it is achieved that a lot of general-purpose algorithms of image procossing and computer vision aspect.The vision processing algorithm that OpenCV providesVery abundant, and it is partly write with C language and new outside supports that compiling link that can also be complete generates it is not necessary to addConfiguration processor.The present invention is portable high, and stability is strong, adapts to various possible environment, and technology autgmentability is strong.
Whole system after deployment, if early warning event, sends warning message, user can check and locate in time automaticallyReason.System availability is higher, is suitable for various environment, and a video camera can load several algorithms simultaneously, automatically generate warningInformation, intuitive is strong, saves substantial amounts of manpower and materials, safeguards simple, and expansible new function.
In the description of this specification, reference term " embodiment ", " some embodiments ", " example ", " specifically showThe description of example " or " some examples " etc. means specific features, structure, material or the spy describing with reference to this embodiment or examplePoint is contained at least one embodiment or the example of the present invention.In this manual, to the schematic representation of above-mentioned term notNecessarily refer to identical embodiment or example.And, the specific features of description, structure, material or feature can be anyOne or more embodiments or example in combine in an appropriate manner.
Although embodiments of the invention have been shown and described above it is to be understood that above-described embodiment is exampleProperty it is impossible to be interpreted as limitation of the present invention, those of ordinary skill in the art is in the principle without departing from the present invention and objectiveIn the case of above-described embodiment can be changed within the scope of the invention, change, replace and modification.The scope of the present inventionBy claims and its equivalent limit.