CN108111802A - Video frequency monitoring method and device - Google Patents

Video frequency monitoring method and device Download PDF

Info

Publication number
CN108111802A
CN108111802A CN201611046620.4A CN201611046620A CN108111802A CN 108111802 A CN108111802 A CN 108111802A CN 201611046620 A CN201611046620 A CN 201611046620A CN 108111802 A CN108111802 A CN 108111802A
Authority
CN
China
Prior art keywords
dimensional coordinate
dimensional
target
scene
class
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201611046620.4A
Other languages
Chinese (zh)
Other versions
CN108111802B (en
Inventor
方家乐
郭斌
王鹏
王全占
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Hikvision Digital Technology Co Ltd
Original Assignee
Hangzhou Hikvision Digital Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Hikvision Digital Technology Co Ltd filed Critical Hangzhou Hikvision Digital Technology Co Ltd
Priority to CN201611046620.4A priority Critical patent/CN108111802B/en
Publication of CN108111802A publication Critical patent/CN108111802A/en
Application granted granted Critical
Publication of CN108111802B publication Critical patent/CN108111802B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/18Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/50Context or environment of the image
    • G06V20/52Surveillance or monitoring of activities, e.g. for recognising suspicious objects
    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B13/00Burglar, theft or intruder alarms
    • G08B13/18Actuation by interference with heat, light, or radiation of shorter wavelength; Actuation by intruding sources of heat, light, or radiation of shorter wavelength
    • G08B13/189Actuation by interference with heat, light, or radiation of shorter wavelength; Actuation by intruding sources of heat, light, or radiation of shorter wavelength using passive radiation detection systems
    • G08B13/194Actuation by interference with heat, light, or radiation of shorter wavelength; Actuation by intruding sources of heat, light, or radiation of shorter wavelength using passive radiation detection systems using image scanning and comparing systems
    • G08B13/196Actuation by interference with heat, light, or radiation of shorter wavelength; Actuation by intruding sources of heat, light, or radiation of shorter wavelength using passive radiation detection systems using image scanning and comparing systems using television cameras
    • G08B13/19602Image analysis to detect motion of the intruder, e.g. by frame subtraction
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10016Video; Image sequence
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10016Video; Image sequence
    • G06T2207/10021Stereoscopic video; Stereoscopic image sequence
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30232Surveillance

Abstract

An embodiment of the present invention provides video frequency monitoring method and devices.This method includes:When detecting target Moving Objects during the video monitoring for target scene, determine first kind three-dimensional coordinate of the target Moving Objects under space coordinates corresponding to virtual three-dimensional space, which is in advance based on target three-dimensional information and is formed;Second class three-dimensional coordinate of the spacewarn position under space coordinates corresponding to virtual three-dimensional space is obtained, which is drawn in the virtual three-dimensional space in advance;According to first kind three-dimensional coordinate and the second class three-dimensional coordinate, judge whether the position relationship of target Moving Objects and scene alert locations meets predetermined alarm rule in the target scene;When judging result for when being, triggering is directed to the alert event of target scene.The triggering accuracy of alert event can be improved by this programme.

Description

Video frequency monitoring method and device
Technical field
The present invention relates to technical field of video monitoring, more particularly to a kind of video frequency monitoring method and device.
Background technology
, it is necessary to guard against some positions in real scene in real life, to prevent people from invading, pass through, into Enter or leave, wherein, the position guarded against is needed to be referred to as scene alert locations in real scene, including type bag Include but be not limited to warning line, warning face and warning body.
In the prior art, in order to guard against scene alert locations, the target scene usually where scene alert locations The picture alert locations of 2D are set in corresponding video monitoring picture, and set-up mode is the picture warning that 2D is directly drawn using mouse Position, in this way, when the position relationship variation of the moving target occurred in video monitoring picture and picture alert locations meet it is predetermined During alarm rule, alert event is triggered, specifically, when the image coordinate corresponding to picture alert locations is (in two-dimensional image coordinate The lower coordinate of system) position relationship variation with the image coordinate (coordinate under two-dimensional image coordinate system) corresponding to moving target When meeting predetermined alarm rule, just trigger event is alarmed.
But the picture alert locations that the prior art is set only are based on 2D planes, without three in real scene Dimension space information, i.e. not no information such as the height apart from ground and the relative distance of each object of real scene, are susceptible to erroneous judgement Phenomenon.For example, in Fig. 1, the direct setting screen alert locations on video monitoring picture, the picture alert locations in order to Guard against flower bed region, then generate affair alarm when someone enters flower bed, when pedestrian is passed through in roadside should not trigger event alarm, But the pedestrian in Fig. 1 Image to right, due to perspective relation, judge to come into scene alert locations, so as to trigger event Alarm, this belongs to false alarm.
The content of the invention
The embodiment of the present invention is designed to provide video frequency monitoring method and device, accurate to improve the triggering of alert event Property.Specific technical solution is as follows:
In a first aspect, the video frequency monitoring method that the embodiment of the present invention is provided, including:
When detecting target Moving Objects during the video monitoring for target scene, the target movement pair is determined First kind three-dimensional coordinate under the space coordinates as corresponding in virtual three-dimensional space, the virtual three-dimensional space are to be in advance based on Target three-dimensional information is formed, and the target three-dimensional information, which is that there are images during Moving Objects in the target scene, to be adopted The image three-dimensional information for the target scene that collection equipment is gathered;
Second class three-dimensional coordinate of the spacewarn position under space coordinates corresponding to the virtual three-dimensional space is obtained, The spacewarn position is drawn in the virtual three-dimensional space in advance, and the spacewarn position is described virtual Relative position relation of the relative position relation with scene alert locations in the target scene in three dimensions is identical;
According to the first kind three-dimensional coordinate and the second class three-dimensional coordinate, target described in the target scene is judged Whether the position relationship of Moving Objects and the scene alert locations meets predetermined alarm rule;
When judging result for when being, triggering is directed to the alert event of the target scene.
Optionally, it is described determine the target Moving Objects under space coordinates corresponding to virtual three-dimensional space first The step of class three-dimensional coordinate, including:
Determine the image three-dimensional information for the target Moving Objects that described image collecting device is gathered;
The image three-dimensional information of predetermined reference object is obtained, wherein, the predetermined reference object is in the target scene Fixation object;
According to the image three-dimensional information of the target Moving Objects and the image three-dimensional information of the predetermined reference object, really The relative position relation of the fixed target Moving Objects and the predetermined reference object;
Obtain reference three-dimensional coordinate of the predetermined reference object under space coordinates corresponding to virtual three-dimensional space;
According to the relative position relation and described with reference to three-dimensional coordinate, the target Moving Objects are obtained described virtual First kind three-dimensional coordinate under space coordinates corresponding to three dimensions.
Optionally, the drafting mode of the spacewarn position includes:
Gather gesture operation of the user in the virtual three-dimensional space;
According to the operation trace of the gesture operation, the spacewarn position is drawn in the virtual three-dimensional space.
Optionally, the drafting mode of the spacewarn position includes:
The three-dimensional coordinate of at least two fixed point input by user is received, at least two fixed point uniquely determines out space police Guard against position;
According to the three-dimensional coordinate of described at least two fixed points, the spacewarn position is drawn in the virtual three-dimensional space It puts.
Optionally, the type of the spacewarn position is warning line;
It is described according to the first kind three-dimensional coordinate and the second class three-dimensional coordinate, judge described in the target scene The step of whether position relationship of target Moving Objects and the scene alert locations meets predetermined alarm rule includes:
Judge whether the position relationship variation of the first kind three-dimensional coordinate and the second class three-dimensional coordinate meets:From institute Stating does not include the first kind three-dimensional coordinate, to including the three-dimensional seat of the first kind in the range of the second class three-dimensional coordinate is formed Mark arrives again does not include the first kind three-dimensional coordinate, if so, judging target Moving Objects described in the target scene and institute The position relationship satisfaction for stating scene alert locations makes a reservation for pass through warning line alarm rule.
Optionally, the type of the spacewarn position is warning face;
It is described according to the first kind three-dimensional coordinate and the second class three-dimensional coordinate, judge described in the target scene The step of whether position relationship of target Moving Objects and the scene alert locations meets predetermined alarm rule includes:
Judge whether the position relationship variation of the first kind three-dimensional coordinate and the second class three-dimensional coordinate meets:From institute Stating does not include the first kind three-dimensional coordinate, to including the three-dimensional seat of the first kind in the range of the second class three-dimensional coordinate is formed Mark arrives again does not include the first kind three-dimensional coordinate, if so, judging target Moving Objects described in the target scene and institute The position relationship satisfaction for stating scene alert locations makes a reservation for pass through warning face alarm rule;
Alternatively,
Judge whether the position relationship variation of the first kind three-dimensional coordinate and the second class three-dimensional coordinate meets:From institute Stating does not include the first kind three-dimensional coordinate to including the three-dimensional seat of the first kind in the range of the second class three-dimensional coordinate is formed Mark, if so, judging that the position relationship of target Moving Objects described in the target scene and the scene alert locations meets The warning face of being destined to go into alarm rule;
Alternatively,
Judge whether the position relationship variation of the first kind three-dimensional coordinate and the second class three-dimensional coordinate meets:From institute Stating includes the first kind three-dimensional coordinate in the range of the second class three-dimensional coordinate is formed sits to first kind three-dimensional is not included Mark, if so, judging that the position relationship of target Moving Objects described in the target scene and the scene alert locations meets It is predetermined to leave warning face alarm rule;
Alternatively,
Judge whether the position relationship variation of the first kind three-dimensional coordinate and the second class three-dimensional coordinate meets:It is described Second class three-dimensional coordinate includes the first kind three-dimensional coordinate in the range of forming, if so, judging in the target scene The position relationship of the target Moving Objects and the scene alert locations meets predetermined invasion warning face alarm rule.
Optionally, the type of the spacewarn position is warning body;
It is described according to the first kind three-dimensional coordinate and the second class three-dimensional coordinate, judge described in the target scene The step of whether position relationship of target Moving Objects and the scene alert locations meets predetermined alarm rule includes:
Judge whether the position relationship variation of the first kind three-dimensional coordinate and the second class three-dimensional coordinate meets:From institute Stating does not include the first kind three-dimensional coordinate, to including the three-dimensional seat of the first kind in the range of the second class three-dimensional coordinate is formed Mark arrives again does not include the first kind three-dimensional coordinate, if so, judging target Moving Objects described in the target scene and institute Predetermined pass through of position relationship satisfaction for stating scene alert locations guards against body alarm rule;
Alternatively,
Judge whether the position relationship variation of the first kind three-dimensional coordinate and the second class three-dimensional coordinate meets:From institute Stating does not include the first kind three-dimensional coordinate to including the three-dimensional seat of the first kind in the range of the second class three-dimensional coordinate is formed Mark, if so, judging that the position relationship of target Moving Objects described in the target scene and the scene alert locations meets It is destined to go into warning body alarm rule;
Alternatively,
Judge whether the position relationship variation of the first kind three-dimensional coordinate and the second class three-dimensional coordinate meets:From institute Stating includes the first kind three-dimensional coordinate in the range of the second class three-dimensional coordinate is formed sits to first kind three-dimensional is not included Mark, if so, judging that the position relationship of target Moving Objects described in the target scene and the scene alert locations meets It is predetermined to leave warning body alarm rule;
Alternatively,
Judge whether the position relationship variation of the first kind three-dimensional coordinate and the second class three-dimensional coordinate meets:It is described Second class three-dimensional coordinate includes the first kind three-dimensional coordinate in the range of forming, if so, judging in the target scene The position relationship of the target Moving Objects and the scene alert locations meets predetermined invasion warning body alarm rule.
Second aspect, the video monitoring apparatus that the embodiment of the present invention is provided, including:
First coordinate determining module, the second coordinate obtain module, judgment module, processing module and drafting module;
The first coordinate determining module, for detecting that target moves during the video monitoring for target scene During object, first kind three-dimensional coordinate of the target Moving Objects under space coordinates corresponding to virtual three-dimensional space is determined, The virtual three-dimensional space is in advance based on target three-dimensional information and is formed, and the target three-dimensional information is in the target field The image three-dimensional information for the target scene that Jing Zhongwei is gathered there are image capture device during Moving Objects;
Second coordinate obtains module, for obtaining spacewarn position in space corresponding to the virtual three-dimensional space The second class three-dimensional coordinate under coordinate system, the spacewarn position are empty in the virtual three-dimensional by the drafting module in advance Between in drawn, relative position relation of the spacewarn position in the virtual three-dimensional space and scene alert locations Relative position relation in the target scene is identical;
The judgment module, for according to the first kind three-dimensional coordinate and the second class three-dimensional coordinate, described in judgement Whether the position relationship of target Moving Objects described in target scene and the scene alert locations meets predetermined alarm rule;
The processing module, for when the judging result of the judgment module is to be, triggering to be directed to the target field The alert event of scape.
Optionally, the first coordinate determining module includes:
First information obtaining unit, for determining the figure of target Moving Objects that described image collecting device gathered As three-dimensional information;
Second information obtainment unit, for obtaining the image three-dimensional information of predetermined reference object, wherein, the predetermined reference Object is the fixation object in the target scene;
Relative position relation determination unit, for the image three-dimensional information according to the target Moving Objects and described predetermined The image three-dimensional information of references object determines the relative position relation of the target Moving Objects and the predetermined reference object;
3rd information obtainment unit, for obtaining the predetermined reference object in space coordinates corresponding to virtual three-dimensional space Reference three-dimensional coordinate under system;
4th information obtainment unit, for according to the relative position relation and described with reference to three-dimensional coordinate, obtaining described First kind three-dimensional coordinate of the target Moving Objects under space coordinates corresponding to the virtual three-dimensional space.
Optionally, the drafting module includes:
Gesture collecting unit, for gathering gesture operation of the user in the virtual three-dimensional space;
First drawing unit for the operation trace according to the gesture operation, is drawn in the virtual three-dimensional space The spacewarn position.
Optionally, the drafting module includes:
Receiving unit, for receiving the three-dimensional coordinate of at least two fixed point input by user, at least two fixed point is only One determines spacewarn position;
Second drawing unit, for the three-dimensional coordinate according to described at least two fixed points, in the virtual three-dimensional space Draw the spacewarn position.
Optionally, the type of the spacewarn position is warning line;
The judgment module includes:
First judging unit, for judging the position relationship of the first kind three-dimensional coordinate and the second class three-dimensional coordinate Whether variation meets:Do not include the first kind three-dimensional coordinate in the range of being formed from the second class three-dimensional coordinate, to bag Including the first kind three-dimensional coordinate and arriving again does not include the first kind three-dimensional coordinate, if so, judging institute in the target scene The position relationship satisfaction for stating target Moving Objects and the scene alert locations makes a reservation for pass through warning line alarm rule.
Optionally, the type of the spacewarn position is warning face;
The judgment module includes:
Second judgment unit, for judging the position relationship of the first kind three-dimensional coordinate and the second class three-dimensional coordinate Whether variation meets:Do not include the first kind three-dimensional coordinate in the range of being formed from the second class three-dimensional coordinate, to bag Including the first kind three-dimensional coordinate and arriving again does not include the first kind three-dimensional coordinate, if so, judging institute in the target scene The position relationship satisfaction for stating target Moving Objects and the scene alert locations makes a reservation for pass through warning face alarm rule;
Alternatively,
3rd judging unit, for judging the position relationship of the first kind three-dimensional coordinate and the second class three-dimensional coordinate Whether variation meets:From the second class three-dimensional coordinate form in the range of include the first kind three-dimensional coordinate to including The first kind three-dimensional coordinate, if so, judging target Moving Objects described in the target scene and scene warning position The position relationship satisfaction put is destined to go into warning face alarm rule;
Alternatively,
4th judging unit, for judging the position relationship of the first kind three-dimensional coordinate and the second class three-dimensional coordinate Whether variation meets:Include the first kind three-dimensional coordinate in the range of being formed from the second class three-dimensional coordinate to not including The first kind three-dimensional coordinate, if so, judging target Moving Objects described in the target scene and scene warning position The position relationship put, which meets, to be made a reservation for leave warning face alarm rule;
Alternatively,
5th judging unit, for judging the position relationship of the first kind three-dimensional coordinate and the second class three-dimensional coordinate Whether variation meets:The second class three-dimensional coordinate includes the first kind three-dimensional coordinate in the range of forming, if so, sentencing The position relationship of target Moving Objects and the scene alert locations described in the fixed target scene meets predetermined invasion warning Face alarm rule.
Optionally, the type of the spacewarn position is warning body;
The judgment module includes:
6th judging unit, for judging the position relationship of the first kind three-dimensional coordinate and the second class three-dimensional coordinate Whether variation meets:Do not include the first kind three-dimensional coordinate in the range of being formed from the second class three-dimensional coordinate, to bag Including the first kind three-dimensional coordinate and arriving again does not include the first kind three-dimensional coordinate, if so, judging institute in the target scene Predetermined pass through of position relationship satisfaction for stating target Moving Objects and the scene alert locations guards against body alarm rule;
Alternatively,
7th judging unit, for judging the position relationship of the first kind three-dimensional coordinate and the second class three-dimensional coordinate Whether variation meets:From the second class three-dimensional coordinate form in the range of include the first kind three-dimensional coordinate to including The first kind three-dimensional coordinate, if so, judging target Moving Objects described in the target scene and scene warning position The position relationship satisfaction put is destined to go into warning body alarm rule;
Alternatively,
8th judging unit, for judging the position relationship of the first kind three-dimensional coordinate and the second class three-dimensional coordinate Whether variation meets:Include the first kind three-dimensional coordinate in the range of being formed from the second class three-dimensional coordinate to not including The first kind three-dimensional coordinate, if so, judging target Moving Objects described in the target scene and scene warning position The position relationship put meets predetermined leave and guards against body alarm rule;
Alternatively,
9th judging unit, for judging the position relationship of the first kind three-dimensional coordinate and the second class three-dimensional coordinate Whether variation meets:The second class three-dimensional coordinate includes the first kind three-dimensional coordinate in the range of forming, if so, sentencing The position relationship of target Moving Objects and the scene alert locations described in the fixed target scene meets predetermined invasion warning Body alarm rule.
In the embodiment of the present invention, when detecting target Moving Objects, determine target Moving Objects in virtual three-dimensional space First kind three-dimensional coordinate under corresponding space coordinates, the virtual three-dimensional space are formed to be in advance based on target three-dimensional information , the target three-dimensional information is there are the target fields that image capture device during Moving Objects is gathered in the target scene The image three-dimensional information of scape;Obtain second class three of the spacewarn position under space coordinates corresponding to the virtual three-dimensional space Dimension coordinate, the spacewarn position are drawn in the virtual three-dimensional space in advance, and the spacewarn position is virtual at this Relative position relation of the relative position relation with scene alert locations in the target scene in three dimensions is identical;According to this First kind three-dimensional coordinate and the second class three-dimensional coordinate judge that the target Moving Objects and the scene guard against position in the target scene Whether the position relationship put meets predetermined alarm rule;When judging result for when being, triggering is directed to the report of the target scene Alert event.Compared with prior art, in the present solution, based on the coordinate information under space coordinates corresponding to virtual three-dimensional space into Row position relationship match, and the 2D planes being not based under two-dimensional image coordinate system, reduce false alarm, improve alert event Triggering accuracy rate.
Description of the drawings
It in order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention, for those of ordinary skill in the art, without creative efforts, can be with Other attached drawings are obtained according to these attached drawings.
Fig. 1 is the schematic diagram of picture alert locations of the prior art;
The flow chart for the video frequency monitoring method that Fig. 2 is provided by the embodiment of the present invention;
Another flow chart for the video frequency monitoring method that Fig. 3 is provided by the embodiment of the present invention;
The structure diagram for the video monitoring apparatus that Fig. 4 is provided by the embodiment of the present invention;
Another structure diagram for the video monitoring apparatus that Fig. 5 is provided by the embodiment of the present invention;
Fig. 6 is the schematic diagram of the virtual three-dimensional space a comprising Moving Objects and spacewarn line.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present invention, the technical solution in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, those of ordinary skill in the art are obtained every other without making creative work Embodiment belongs to the scope of protection of the invention.
In order to solve prior art problem, an embodiment of the present invention provides video frequency monitoring method and device, to improve alarm The triggering accuracy of event.
The video frequency monitoring method provided first below the embodiment of the present invention is introduced.
It should be noted that the executive agent for the video frequency monitoring method that the embodiment of the present invention is provided can be video monitoring Device, also, the video monitoring apparatus can be run in the equipment being connected with image capture device, the image capture device It can be with Moving Objects detection function and with image three-dimensional information collection function, for example:The image capture device can Think binocular camera, should the equipment that be connected with image capture device can be data hard disc video recorder or terminal, wherein, The data hard disc video recorder or terminal can obtain video flowing and the output of target scene from image capture device in real time The video flowing obtained, wherein, the Component units of video flowing are formed for video frame.Certainly, which can also transport It goes in image capture device, wherein, image capture device can be gathered with Moving Objects detection function and with three-dimensional information Function.It is understood that so-called image three-dimensional information increases institute after depth information on the basis of two-dimensional image information The image information of composition, the image capture device that can gather image three-dimensional information include but is not limited to binocular camera;And And Moving Objects detection function can detect the function of Moving Objects, specific implementation may be employed of the prior art Any mode.
As shown in Fig. 2, the video frequency monitoring method that the embodiment of the present invention is provided, may include steps of:
S201 when detecting target Moving Objects during the video monitoring for target scene, determines that the target is transported Dynamic first kind three-dimensional coordinate of the object under space coordinates corresponding to virtual three-dimensional space;
When detecting target Moving Objects during the video monitoring for target scene, which can be with Determine first kind three-dimensional coordinate of the target Moving Objects under space coordinates corresponding to virtual three-dimensional space, wherein, the void Plan three dimensions is in advance based on target three-dimensional information and is formed, which is not exist in the target scene The image three-dimensional information for the target scene that image capture device is gathered during Moving Objects.
It should be noted that there are image capture devices during Moving Objects in target scene can gather the target field The image three-dimensional information of scape, and it is sent to video monitoring apparatus;Correspondingly, which can be by received figure Picture three-dimensional information forms virtual three-dimensional space as target three-dimensional information, and based on target three-dimensional information.Wherein, based on target three Any virtual three-dimensional space generation type of the prior art may be employed in the mode that dimension information forms virtual three-dimensional space, That is, it is possible to be realized using the prior art according to target three-dimensional information simulated three-dimensional space, for example, can utilize existing There are the widely applied virtual reality of technology (Virtual Reality) technology, i.e. VR technologies, to realize based on target three-dimensional information Virtual three-dimensional space is formed, certainly, it is not limited to this.
It is understood that the first kind three-dimensional coordinate determined can unique mark go out the target Moving Objects i.e. Can, the quantity of first kind three-dimensional coordinate does not limit herein, also, since the detection of target Moving Objects is needed to continuous more The analysis of a video frame, therefore, the video frame where the target Moving Objects are continuous multiple video frame, correspondingly, this first Class three-dimensional coordinate is related to continuous multiple video frame.In addition, image capture device can after target Moving Objects are detected, Video monitoring apparatus is reported, and the image three-dimensional information of the target Moving Objects collected is sent to video monitoring dress It puts, and then video monitoring apparatus determines first of the target Moving Objects under space coordinates corresponding to virtual three-dimensional space Class three-dimensional coordinate.
Specifically, in one implementation, as shown in figure 3, determining the target Moving Objects in virtual three-dimensional space institute The step of corresponding to the first kind three-dimensional coordinate under space coordinates, can include:
S301 determines the image three-dimensional information for the target Moving Objects that the image capture device is gathered;
S302 obtains the image three-dimensional information of predetermined reference object, wherein, which is in the target scene Fixation object;
Wherein, predetermined reference object is the predetermined fixation object in the target scene, for the fixation pair As for, collected image three-dimensional information is constant, corresponding, the three-dimensional coordinate letter in virtual three-dimensional space Breath be also it is constant, therefore, relative position relation that can be based on fixed object and target Moving Objects in target scene, with And the three-dimensional coordinate of the fixation object in virtual three-dimensional space, determine that the first kind corresponding to the target Moving Objects is three-dimensional Coordinate.Based on the processing thought, predetermined reference object can be obtained after the image three-dimensional information of the target Moving Objects is obtained Image three-dimensional information, and then perform the definite step of subsequent relative position relation, wherein, the image three of predetermined reference object Dimension information can be predefined out and preserved.
S303, according to the image three-dimensional information of the target Moving Objects and the image three-dimensional information of the predetermined reference object, Determine the relative position relation of the target Moving Objects and the predetermined reference object;
S304 obtains the three-dimensional seat of reference of the predetermined reference object under space coordinates corresponding to virtual three-dimensional space Mark;
Wherein, reference three-dimensional coordinate of the predetermined reference object under space coordinates corresponding to virtual three-dimensional space can be with It predefines out and preserves.And, it is understood that since predetermined reference object is fixed object, in virtual three-dimensional space In there are corresponding virtual objects, the three-dimensional coordinates of the virtual objects, which is that the reference corresponding to the predetermined reference object is three-dimensional, to be sat Mark.
S305, according to the relative position relation and this with reference to three-dimensional coordinate, obtain the target Moving Objects this virtual three First kind three-dimensional coordinate under space coordinates corresponding to dimension space.
It is emphasized that above-mentioned given definite target Moving Objects are sat in space corresponding to virtual three-dimensional space The specific implementation of the step of mark system lower first kind three-dimensional coordinate, merely exemplary property illustrate, should not form pair The restriction of the embodiment of the present invention.
S202 obtains the three-dimensional seat of second class of the spacewarn position under space coordinates corresponding to the virtual three-dimensional space Mark;
Wherein, which is drawn in the virtual three-dimensional space in advance, which exists Relative position relation phase of the relative position relation with the scene alert locations in the target scene in the virtual three-dimensional space Together.
It wherein, can be by manually drawing mode, according to the spacewarn position at this after virtual three-dimensional space is formed Relative position relation in virtual three-dimensional space is identical with the relative position relation of the scene alert locations in the target scene Principle, draw the spacewarn position in the virtual three-dimensional space, and determine the spacewarn position in the virtual three-dimensional The second class three-dimensional coordinate under space coordinates corresponding to space preserves the second class three-dimensional coordinate determined, with Just subsequent use.Specifically, since the type of scene alert locations can be warning line, warning face or guard against body, correspondingly, The type of spacewarn position can be warning line, warning face or warning body, wherein, scene alert locations and spacewarn position Type have correspondence, i.e.,:When the type of scene alert locations is warning line, the type of spacewarn position is warning Line;When the type of scene alert locations is warning face, the type of spacewarn position is warning face;When scene alert locations When type is guards against body, the type of spacewarn position is warning body.Specifically, in one implementation, the spacewarn The drafting mode of position can include:
Gather gesture operation of the user in the virtual three-dimensional space;
According to the operation trace of the gesture operation, the spacewarn position is drawn in the virtual three-dimensional space.
In this kind of realization method, user can be according to the type and scene alert locations of scene alert locations in the mesh The relative position relation in scene is marked, gesture operation is performed in the virtual three-dimensional space, correspondingly, which can To gather gesture operation of the user in the virtual three-dimensional space, and according to the operation trace of the gesture operation, this virtual three The spacewarn position is drawn in dimension space, wherein, the operation trace of the gesture operation is the spacewarn position.
Specifically, in another specific implementation, the drafting mode of the spacewarn position can include:
The three-dimensional coordinate of at least two fixed point input by user is received, which uniquely determines out spacewarn Position;
According to the three-dimensional coordinate of at least two fixed point, the spacewarn position is drawn in the virtual three-dimensional space.
In this kind of specific implementation, user can be according to the type of scene location, scene alert locations in the target The space coordinates corresponding to relative position relation and the virtual three-dimensional space in scene, extrapolate spacewarn position Three-dimensional coordinate scope, then input uniquely determine out the three-dimensional coordinate of at least two fixed points of the spacewarn position;Correspondingly, The video monitoring apparatus can receive the three-dimensional coordinate of at least two fixed point input by user, according to the three of at least two fixed point Dimension coordinate draws the spacewarn position in the virtual three-dimensional space.For example:If the type of scene alert locations is Warning line, then user can input two fixed points, this two fixed points are respectively two endpoints of spacewarn line;If scene is warned The type of position is guarded against as warning face, then the quantity of fixed point input by user can be equal to the quantity on the vertex in spacewarn face, And fixed point has correspondence with vertex.
Wherein, the merely exemplary property explanation of the drafting mode of above-mentioned spacewarn position, should not formed to this The restriction of inventive embodiments.
S203 according to the first kind three-dimensional coordinate and the second class three-dimensional coordinate, judges that the target is transported in the target scene Whether the position relationship of dynamic object and the scene alert locations meets predetermined alarm rule;
Since target Moving Objects in virtual three-dimensional space and the relative position relation of spacewarn position are equal to:The mesh Mark the position relationship of the target Moving Objects and the scene alert locations in scene, therefore, obtain first kind three-dimensional coordinate and After the second class three-dimensional coordinate, can the target scene be judged according to the first kind three-dimensional coordinate and the second class three-dimensional coordinate In the position relationships of the target Moving Objects and the scene alert locations whether meet predetermined alarm rule.
Since the type of spacewarn position is different, it is sat according to the first kind three-dimensional coordinate and second class are three-dimensional Mark judges whether the position relationship of the target Moving Objects and the scene alert locations meets predetermined alarm rule in the target scene Specific implementation then also can be different.Separately below using the type of spacewarn position as warning line, warning face and warning body Exemplified by, it introduces described according to the first kind three-dimensional coordinate and the second class three-dimensional coordinate, judges the target in the target scene Whether the position relationship of Moving Objects and the scene alert locations meets the specific implementation of predetermined alarm rule.
Optionally, in a kind of specific implementation, the type of the spacewarn position is warning line;
Correspondingly, described according to the first kind three-dimensional coordinate and the second class three-dimensional coordinate, judging should in the target scene The step of whether position relationship of target Moving Objects and the scene alert locations meets predetermined alarm rule includes:
Judge whether the position relationship variation of the first kind three-dimensional coordinate and the second class three-dimensional coordinate meets:From this second Class three-dimensional coordinate does not include the first kind three-dimensional coordinate in the range of forming, does not wrap to being arrived again including the first kind three-dimensional coordinate The first kind three-dimensional coordinate is included, if so, judging the position of the target Moving Objects and the scene alert locations in the target scene Relation satisfaction is put to make a reservation for pass through warning line alarm rule.
Optionally, in a kind of specific implementation, the type of the spacewarn position is warning face;
Correspondingly, described according to the first kind three-dimensional coordinate and the second class three-dimensional coordinate, judging should in the target scene The step of whether position relationship of target Moving Objects and the scene alert locations meets predetermined alarm rule includes:
Judge whether the position relationship variation of the first kind three-dimensional coordinate and the second class three-dimensional coordinate meets:From this second Class three-dimensional coordinate does not include the first kind three-dimensional coordinate in the range of forming, does not wrap to being arrived again including the first kind three-dimensional coordinate The first kind three-dimensional coordinate is included, if so, judging the position of the target Moving Objects and the scene alert locations in the target scene Relation satisfaction is put to make a reservation for pass through warning face alarm rule;
Alternatively,
Judge whether the position relationship variation of the first kind three-dimensional coordinate and the second class three-dimensional coordinate meets:From this second Class three-dimensional coordinate form in the range of include the first kind three-dimensional coordinate to include the first kind three-dimensional coordinate, if so, Judge that the position relationship of the target Moving Objects and scene alert locations satisfaction is destined to go into warning face report in the target scene Police regulations are then;
Alternatively,
Judge whether the position relationship variation of the first kind three-dimensional coordinate and the second class three-dimensional coordinate meets:From this second Class three-dimensional coordinate includes the first kind three-dimensional coordinate to not including the first kind three-dimensional coordinate in the range of forming, if so, Judge that the position relationship of the target Moving Objects and scene alert locations satisfaction makes a reservation for leave warning face report in the target scene Police regulations are then;
Alternatively,
Judge whether the position relationship variation of the first kind three-dimensional coordinate and the second class three-dimensional coordinate meets:Second class Three-dimensional coordinate includes the first kind three-dimensional coordinate in the range of forming, if so, judging that the target moves in the target scene The position relationship of object and the scene alert locations meets predetermined invasion warning face alarm rule.
Optionally, in another specific implementation, the type of the spacewarn position is warning body;
Correspondingly, described according to the first kind three-dimensional coordinate and the second class three-dimensional coordinate, judging should in the target scene The step of whether position relationship of target Moving Objects and the scene alert locations meets predetermined alarm rule includes:
Judge whether the position relationship variation of the first kind three-dimensional coordinate and the second class three-dimensional coordinate meets:From this second Class three-dimensional coordinate does not include the first kind three-dimensional coordinate in the range of forming, does not wrap to being arrived again including the first kind three-dimensional coordinate The first kind three-dimensional coordinate is included, if so, judging the position of the target Moving Objects and the scene alert locations in the target scene It puts predetermined pass through of relation satisfaction and guards against body alarm rule;
Alternatively,
Judge whether the position relationship variation of the first kind three-dimensional coordinate and the second class three-dimensional coordinate meets:From this second Class three-dimensional coordinate form in the range of include the first kind three-dimensional coordinate to include the first kind three-dimensional coordinate, if so, Judge that the position relationship of the target Moving Objects and scene alert locations satisfaction is destined to go into warning body report in the target scene Police regulations are then;
Alternatively,
Judge whether the position relationship variation of the first kind three-dimensional coordinate and the second class three-dimensional coordinate meets:From this second Class three-dimensional coordinate includes the first kind three-dimensional coordinate to not including the first kind three-dimensional coordinate in the range of forming, if so, Judge that predetermined leave of the position relationship of the target Moving Objects and scene alert locations satisfaction guards against body report in the target scene Police regulations are then;
Alternatively,
Judge whether the position relationship variation of the first kind three-dimensional coordinate and the second class three-dimensional coordinate meets:Second class Three-dimensional coordinate includes the first kind three-dimensional coordinate in the range of forming, if so, judging that the target moves in the target scene The position relationship of object and the scene alert locations meets predetermined invasion warning body alarm rule.
S204, when judging result for when being, triggering is directed to the alert event of the target scene.
When the position relationship satisfaction for judging the target Moving Objects and the scene alert locations in the target scene is predetermined During alarm rule, the alert event for being directed to the target scene can be triggered.Wherein, the output form present invention of alert event is real It applies example not limit, for example:Concrete form can be:Audible alarm, SMS alarm, dialog box alarm etc..
For example:Under scenario A, it is assumed that when passing through Moving Objects of the height more than 175cm on a certain ground location It then needs to alarm, then, for this kind alarm demand, scheme can be provided by the embodiment of the present invention to realize, specific mistake Cheng Wei:
Set scene alert locations are scene warning line, wherein, the scene warning line is parallel with the ground location, and distance Ground location 175cm;
Video monitoring apparatus can build the scenario A corresponding virtual three-dimensional space a, virtual three-dimensional space a in advance It is in advance based on what target three-dimensional information was formed, the target three-dimensional information is there are binoculars during Moving Objects in the scenario A The image three-dimensional information for the target scene that video camera is gathered;Video monitoring apparatus gathers user in virtual three-dimensional space a In gesture operation, according to the operation trace of the gesture operation, drawn and the scene warning line pair in virtual three-dimensional space a The spacewarn line answered, wherein, the operation trace of the gesture operation is straight line, and the spacewarn line is in virtual three-dimensional space a Interior relative position relation is equal to relative position relation of the scene warning line in scenario A, as shown in Figure 6;
As shown in fig. 6, video monitoring apparatus determines first Moving Objects when detecting first Moving Objects in left side Three-dimensional coordinate Y under space coordinates corresponding to virtual three-dimensional space a obtains the spacewarn line in the virtual three-dimensional space Three-dimensional coordinate X under corresponding space coordinates, judge three-dimensional coordinate Y and three-dimensional coordinate X position relationship variation whether Meet:Do not include in the range of being formed from the three-dimensional coordinate X three-dimensional coordinate Y, to including three-dimensional coordinate Y again to not including Three-dimensional coordinate Y, since the height of the first Moving Objects is less than 175cm, judging result can be it is no, therefore, for this One Moving Objects pass through the situation of the ground location, then do not alarm;
As shown in fig. 6, video monitoring apparatus determines second Moving Objects when detecting second Moving Objects on right side Three-dimensional coordinate Z under space coordinates corresponding to virtual three-dimensional space a obtains the spacewarn line in the virtual three-dimensional space Three-dimensional coordinate X under corresponding space coordinates, judge three-dimensional coordinate Z and three-dimensional coordinate X position relationship variation whether Meet:Do not include in the range of being formed from the three-dimensional coordinate X three-dimensional coordinate Z, to including three-dimensional coordinate Z again to not including Three-dimensional coordinate Z, since the height of the second Moving Objects is more than 175cm, judging result can be it is yes, therefore, for this Two Moving Objects pass through the situation of the ground location, then alarm.It is emphasized that two grey arrows in Fig. 6 are only The direct of travel of instruction Moving Objects, and without any limiting meaning.
In the embodiment of the present invention, when detecting target Moving Objects, determine target Moving Objects in virtual three-dimensional space First kind three-dimensional coordinate under corresponding space coordinates, the virtual three-dimensional space are formed to be in advance based on target three-dimensional information , the target three-dimensional information is there are the target fields that image capture device during Moving Objects is gathered in the target scene The image three-dimensional information of scape;Obtain second class three of the spacewarn position under space coordinates corresponding to the virtual three-dimensional space Dimension coordinate, the spacewarn position are drawn in the virtual three-dimensional space in advance, and the spacewarn position is virtual at this Relative position relation of the relative position relation with scene alert locations in the target scene in three dimensions is identical;According to this First kind three-dimensional coordinate and the second class three-dimensional coordinate judge that the target Moving Objects and the scene guard against position in the target scene Whether the position relationship put meets predetermined alarm rule;When judging result for when being, triggering is directed to the report of the target scene Alert event.Compared with prior art, in the present solution, based on the coordinate information under space coordinates corresponding to virtual three-dimensional space into Row position relationship match, and the 2D planes being not based under two-dimensional image coordinate system, reduce false alarm, improve alert event Triggering accuracy rate.
Corresponding to above method embodiment, the embodiment of the present invention additionally provides a kind of video monitoring apparatus, as shown in figure 4, The device can include:
First coordinate determining module 410, the second coordinate obtain module 420, judgment module 430, processing module 440 and draw Module 450;
The first coordinate determining module 410, for detecting target during the video monitoring for target scene During Moving Objects, determine that the first kind of the target Moving Objects under space coordinates corresponding to virtual three-dimensional space is three-dimensional and sit Mark, the virtual three-dimensional space are in advance based on target three-dimensional information and are formed, and the target three-dimensional information is in the mesh The image three-dimensional information for the target scene not gathered in mark scene there are image capture device during Moving Objects;
Second coordinate obtains module 420, for obtaining spacewarn position corresponding to the virtual three-dimensional space The second class three-dimensional coordinate under space coordinates, the spacewarn position are in advance by the drafting module 450 in the void Intend being drawn in three dimensions, relative position relation of the spacewarn position in the virtual three-dimensional space with it is described Relative position relation of the scene alert locations in the target scene is identical;
The judgment module 430, for according to the first kind three-dimensional coordinate and the second class three-dimensional coordinate, judging institute Whether the position relationship for stating target Moving Objects described in target scene and the scene alert locations meets predetermined alarm rule;
The processing module 440, for when the judging result of the judgment module is to be, triggering to be directed to the target The alert event of scene.
In the embodiment of the present invention, when detecting target Moving Objects, determine target Moving Objects in virtual three-dimensional space First kind three-dimensional coordinate under corresponding space coordinates, the virtual three-dimensional space are formed to be in advance based on target three-dimensional information , the target three-dimensional information is there are the target fields that image capture device during Moving Objects is gathered in the target scene The image three-dimensional information of scape;Obtain second class three of the spacewarn position under space coordinates corresponding to the virtual three-dimensional space Dimension coordinate, the spacewarn position are drawn in the virtual three-dimensional space in advance, and the spacewarn position is virtual at this Relative position relation of the relative position relation with scene alert locations in the target scene in three dimensions is identical;According to this First kind three-dimensional coordinate and the second class three-dimensional coordinate judge that the target Moving Objects and the scene guard against position in the target scene Whether the position relationship put meets predetermined alarm rule;When judging result for when being, triggering is directed to the report of the target scene Alert event.Compared with prior art, in the present solution, based on the coordinate information under space coordinates corresponding to virtual three-dimensional space into Row position relationship match, and the 2D planes being not based under two-dimensional image coordinate system, reduce false alarm, improve alert event Triggering accuracy rate.
Optionally, in a kind of specific implementation, as shown in figure 5, the first coordinate determining module 410 can wrap It includes:
First information obtaining unit 411, for determining target Moving Objects that described image collecting device is gathered Image three-dimensional information;
Second information obtainment unit 412, for obtaining the image three-dimensional information of predetermined reference object, wherein, it is described predetermined References object is the fixation object in the target scene;
Relative position relation determination unit 413, for the image three-dimensional information according to the target Moving Objects and described The image three-dimensional information of predetermined reference object determines that the relative position of the target Moving Objects and the predetermined reference object is closed System;
3rd information obtainment unit 414, for obtaining the predetermined reference object in space corresponding to virtual three-dimensional space Reference three-dimensional coordinate under coordinate system;
4th information obtainment unit 415, for according to the relative position relation and described with reference to three-dimensional coordinate, obtaining institute State first kind three-dimensional coordinate of the target Moving Objects under space coordinates corresponding to the virtual three-dimensional space.
Optionally, in one implementation, the drafting module 450 can include:
Gesture collecting unit, for gathering gesture operation of the user in the virtual three-dimensional space;
First drawing unit for the operation trace according to the gesture operation, is drawn in the virtual three-dimensional space The spacewarn position.
Optionally, in one implementation, the drafting module 450 can include:
Receiving unit, for receiving the three-dimensional coordinate of at least two fixed point input by user, at least two fixed point is only One determines spacewarn position;
Second drawing unit, for the three-dimensional coordinate according to described at least two fixed points, in the virtual three-dimensional space Draw the spacewarn position.
Optionally, in one implementation, the type of the spacewarn position is warning line;
The judgment module 430 can include:
First judging unit, for judging the position relationship of the first kind three-dimensional coordinate and the second class three-dimensional coordinate Whether variation meets:Do not include the first kind three-dimensional coordinate in the range of being formed from the second class three-dimensional coordinate, to bag Including the first kind three-dimensional coordinate and arriving again does not include the first kind three-dimensional coordinate, if so, judging institute in the target scene The position relationship satisfaction for stating target Moving Objects and the scene alert locations makes a reservation for pass through warning line alarm rule.
Optionally, in one implementation, the type of the spacewarn position is warning face;
The judgment module 430 can include:
Second judgment unit, for judging the position relationship of the first kind three-dimensional coordinate and the second class three-dimensional coordinate Whether variation meets:Do not include the first kind three-dimensional coordinate in the range of being formed from the second class three-dimensional coordinate, to bag Including the first kind three-dimensional coordinate and arriving again does not include the first kind three-dimensional coordinate, if so, judging institute in the target scene The position relationship satisfaction for stating target Moving Objects and the scene alert locations makes a reservation for pass through warning face alarm rule;
Alternatively,
3rd judging unit, for judging the position relationship of the first kind three-dimensional coordinate and the second class three-dimensional coordinate Whether variation meets:From the second class three-dimensional coordinate form in the range of include the first kind three-dimensional coordinate to including The first kind three-dimensional coordinate, if so, judging target Moving Objects described in the target scene and scene warning position The position relationship satisfaction put is destined to go into warning face alarm rule;
Alternatively,
4th judging unit, for judging the position relationship of the first kind three-dimensional coordinate and the second class three-dimensional coordinate Whether variation meets:Include the first kind three-dimensional coordinate in the range of being formed from the second class three-dimensional coordinate to not including The first kind three-dimensional coordinate, if so, judging target Moving Objects described in the target scene and scene warning position The position relationship put, which meets, to be made a reservation for leave warning face alarm rule;
Alternatively,
5th judging unit, for judging the position relationship of the first kind three-dimensional coordinate and the second class three-dimensional coordinate Whether variation meets:The second class three-dimensional coordinate includes the first kind three-dimensional coordinate in the range of forming, if so, sentencing The position relationship of target Moving Objects and the scene alert locations described in the fixed target scene meets predetermined invasion warning Face alarm rule.
Optionally, in one implementation, the type of the spacewarn position is warning body;
The judgment module 430 can include:
6th judging unit, for judging the position relationship of the first kind three-dimensional coordinate and the second class three-dimensional coordinate Whether variation meets:Do not include the first kind three-dimensional coordinate in the range of being formed from the second class three-dimensional coordinate, to bag Including the first kind three-dimensional coordinate and arriving again does not include the first kind three-dimensional coordinate, if so, judging institute in the target scene Predetermined pass through of position relationship satisfaction for stating target Moving Objects and the scene alert locations guards against body alarm rule;
Alternatively,
7th judging unit, for judging the position relationship of the first kind three-dimensional coordinate and the second class three-dimensional coordinate Whether variation meets:From the second class three-dimensional coordinate form in the range of include the first kind three-dimensional coordinate to including The first kind three-dimensional coordinate, if so, judging target Moving Objects described in the target scene and scene warning position The position relationship satisfaction put is destined to go into warning body alarm rule;
Alternatively,
8th judging unit, for judging the position relationship of the first kind three-dimensional coordinate and the second class three-dimensional coordinate Whether variation meets:Include the first kind three-dimensional coordinate in the range of being formed from the second class three-dimensional coordinate to not including The first kind three-dimensional coordinate, if so, judging target Moving Objects described in the target scene and scene warning position The position relationship put meets predetermined leave and guards against body alarm rule;
Alternatively,
9th judging unit, for judging the position relationship of the first kind three-dimensional coordinate and the second class three-dimensional coordinate Whether variation meets:The second class three-dimensional coordinate includes the first kind three-dimensional coordinate in the range of forming, if so, sentencing The position relationship of target Moving Objects and the scene alert locations described in the fixed target scene meets predetermined invasion warning Body alarm rule.
It should be noted that herein, relational terms such as first and second and the like are used merely to a reality Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation In any this actual relation or order.Moreover, term " comprising ", "comprising" or its any other variant are intended to Non-exclusive inclusion, so that process, method, article or equipment including a series of elements not only will including those Element, but also including other elements that are not explicitly listed or further include as this process, method, article or equipment Intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that Also there are other identical elements in process, method, article or equipment including the element.
Each embodiment in this specification is described using relevant mode, identical similar portion between each embodiment Point just to refer each other, and the highlights of each of the examples are difference from other examples.It is real especially for system For applying example, since it is substantially similar to embodiment of the method, so description is fairly simple, related part is referring to embodiment of the method Part explanation.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the scope of the present invention.It is all Any modifications, equivalent replacements and improvements are made within the spirit and principles in the present invention, are all contained in protection scope of the present invention It is interior.

Claims (14)

1. a kind of video frequency monitoring method, which is characterized in that including:
When detecting target Moving Objects during the video monitoring for target scene, determine that the target Moving Objects exist First kind three-dimensional coordinate under space coordinates corresponding to virtual three-dimensional space, the virtual three-dimensional space are to be in advance based on target What three-dimensional information was formed, the target three-dimensional information, which is that there are Image Acquisition during Moving Objects in the target scene, to be set The image three-dimensional information of the standby target scene gathered;
Second class three-dimensional coordinate of the spacewarn position under space coordinates corresponding to the virtual three-dimensional space is obtained, it is described Spacewarn position is drawn in the virtual three-dimensional space in advance, and the spacewarn position is in the virtual three-dimensional Relative position relation of the relative position relation with scene alert locations in the target scene in space is identical;
According to the first kind three-dimensional coordinate and the second class three-dimensional coordinate, judge that target described in the target scene moves Whether the position relationship of object and the scene alert locations meets predetermined alarm rule;
When judging result for when being, triggering is directed to the alert event of the target scene.
2. according to the method described in claim 1, it is characterized in that, described determine that the target Moving Objects are empty in virtual three-dimensional Between first kind three-dimensional coordinate under corresponding space coordinates the step of, including:
Determine the image three-dimensional information for the target Moving Objects that described image collecting device is gathered;
The image three-dimensional information of predetermined reference object is obtained, wherein, the predetermined reference object is consolidating in the target scene Determine object;
According to the image three-dimensional information of the target Moving Objects and the image three-dimensional information of the predetermined reference object, institute is determined State the relative position relation of target Moving Objects and the predetermined reference object;
Obtain reference three-dimensional coordinate of the predetermined reference object under space coordinates corresponding to virtual three-dimensional space;
According to the relative position relation and described with reference to three-dimensional coordinate, the target Moving Objects are obtained in the virtual three-dimensional First kind three-dimensional coordinate under space coordinates corresponding to space.
3. according to the method described in claim 1, it is characterized in that, the drafting mode of the spacewarn position includes:
Gather gesture operation of the user in the virtual three-dimensional space;
According to the operation trace of the gesture operation, the spacewarn position is drawn in the virtual three-dimensional space.
4. according to the method described in claim 1, it is characterized in that, the drafting mode of the spacewarn position includes:
The three-dimensional coordinate of at least two fixed point input by user is received, at least two fixed point uniquely determines out spacewarn position It puts;
According to the three-dimensional coordinate of described at least two fixed points, the spacewarn position is drawn in the virtual three-dimensional space.
5. according to claim 1-4 any one of them methods, which is characterized in that the type of the spacewarn position is warning Line;
It is described according to the first kind three-dimensional coordinate and the second class three-dimensional coordinate, judge target described in the target scene The step of whether position relationship of Moving Objects and the scene alert locations meets predetermined alarm rule includes:
Judge whether the position relationship variation of the first kind three-dimensional coordinate and the second class three-dimensional coordinate meets:From described Two class three-dimensional coordinates form in the range of include the first kind three-dimensional coordinate, to including the first kind three-dimensional coordinate again To the first kind three-dimensional coordinate is not included, if so, judging target Moving Objects described in the target scene and the field The position relationship of scape alert locations, which meets, to be made a reservation for pass through warning line alarm rule.
6. according to claim 1-4 any one of them methods, which is characterized in that the type of the spacewarn position is warning Face;
It is described according to the first kind three-dimensional coordinate and the second class three-dimensional coordinate, judge target described in the target scene The step of whether position relationship of Moving Objects and the scene alert locations meets predetermined alarm rule includes:
Judge whether the position relationship variation of the first kind three-dimensional coordinate and the second class three-dimensional coordinate meets:From described Two class three-dimensional coordinates form in the range of include the first kind three-dimensional coordinate, to including the first kind three-dimensional coordinate again To the first kind three-dimensional coordinate is not included, if so, judging target Moving Objects described in the target scene and the field The position relationship of scape alert locations, which meets, to be made a reservation for pass through warning face alarm rule;
Alternatively,
Judge whether the position relationship variation of the first kind three-dimensional coordinate and the second class three-dimensional coordinate meets:From described Two class three-dimensional coordinates do not include the first kind three-dimensional coordinate to the first kind three-dimensional coordinate is included in the range of forming, such as Fruit be judge target Moving Objects described in the target scene and the scene alert locations position relationship satisfaction make a reservation for into Enter to guard against face alarm rule;
Alternatively,
Judge whether the position relationship variation of the first kind three-dimensional coordinate and the second class three-dimensional coordinate meets:From described Two class three-dimensional coordinates include the first kind three-dimensional coordinate to the first kind three-dimensional coordinate is not included in the range of forming, such as Fruit be judge target Moving Objects described in the target scene and the scene alert locations position relationship satisfaction make a reservation for from The warning face of opening alarm rule;
Alternatively,
Judge whether the position relationship variation of the first kind three-dimensional coordinate and the second class three-dimensional coordinate meets:Described second Class three-dimensional coordinate includes the first kind three-dimensional coordinate in the range of forming, if so, judging described in the target scene The position relationship of target Moving Objects and the scene alert locations meets predetermined invasion warning face alarm rule.
7. according to claim 1-4 any one of them methods, which is characterized in that the type of the spacewarn position is warning Body;
It is described according to the first kind three-dimensional coordinate and the second class three-dimensional coordinate, judge target described in the target scene The step of whether position relationship of Moving Objects and the scene alert locations meets predetermined alarm rule includes:
Judge whether the position relationship variation of the first kind three-dimensional coordinate and the second class three-dimensional coordinate meets:From described Two class three-dimensional coordinates form in the range of include the first kind three-dimensional coordinate, to including the first kind three-dimensional coordinate again To the first kind three-dimensional coordinate is not included, if so, judging target Moving Objects described in the target scene and the field The position relationship of scape alert locations meets predetermined pass through and guards against body alarm rule;
Alternatively,
Judge whether the position relationship variation of the first kind three-dimensional coordinate and the second class three-dimensional coordinate meets:From described Two class three-dimensional coordinates do not include the first kind three-dimensional coordinate to the first kind three-dimensional coordinate is included in the range of forming, such as Fruit be judge target Moving Objects described in the target scene and the scene alert locations position relationship satisfaction make a reservation for into Enter to guard against body alarm rule;
Alternatively,
Judge whether the position relationship variation of the first kind three-dimensional coordinate and the second class three-dimensional coordinate meets:From described Two class three-dimensional coordinates include the first kind three-dimensional coordinate to the first kind three-dimensional coordinate is not included in the range of forming, such as Fruit be judge target Moving Objects described in the target scene and the scene alert locations position relationship satisfaction make a reservation for from Open warning body alarm rule;
Alternatively,
Judge whether the position relationship variation of the first kind three-dimensional coordinate and the second class three-dimensional coordinate meets:Described second Class three-dimensional coordinate includes the first kind three-dimensional coordinate in the range of forming, if so, judging described in the target scene The position relationship of target Moving Objects and the scene alert locations meets predetermined invasion warning body alarm rule.
8. a kind of video monitoring apparatus, which is characterized in that including:
First coordinate determining module, the second coordinate obtain module, judgment module, processing module and drafting module;
The first coordinate determining module, for detecting target Moving Objects during the video monitoring for target scene When, determine first kind three-dimensional coordinate of the target Moving Objects under space coordinates corresponding to virtual three-dimensional space, it is described Virtual three-dimensional space is in advance based on target three-dimensional information and is formed, and the target three-dimensional information is in the target scene The image three-dimensional information for the target scene not gathered there are image capture device during Moving Objects;
Second coordinate obtains module, for obtaining spacewarn position in space coordinates corresponding to the virtual three-dimensional space The second class three-dimensional coordinate under system, the spacewarn position are in advance by the drafting module in the virtual three-dimensional space It is drawn, relative position relation of the spacewarn position in the virtual three-dimensional space is with scene alert locations in institute The relative position relation stated in target scene is identical;
The judgment module, for according to the first kind three-dimensional coordinate and the second class three-dimensional coordinate, judging the target Whether the position relationship of target Moving Objects described in scene and the scene alert locations meets predetermined alarm rule;
The processing module, for when the judging result of the judgment module is to be, triggering to be directed to the target scene Alert event.
9. device according to claim 8, which is characterized in that the first coordinate determining module includes:
First information obtaining unit, for determining the image three of target Moving Objects that described image collecting device gathered Tie up information;
Second information obtainment unit, for obtaining the image three-dimensional information of predetermined reference object, wherein, the predetermined reference object For the fixation object in the target scene;
Relative position relation determination unit, for the image three-dimensional information according to the target Moving Objects and the predetermined reference The image three-dimensional information of object determines the relative position relation of the target Moving Objects and the predetermined reference object;
3rd information obtainment unit, for obtaining the predetermined reference object under space coordinates corresponding to virtual three-dimensional space Reference three-dimensional coordinate;
4th information obtainment unit, for according to the relative position relation and described with reference to three-dimensional coordinate, obtaining the target First kind three-dimensional coordinate of the Moving Objects under space coordinates corresponding to the virtual three-dimensional space.
10. device according to claim 8, which is characterized in that the drafting module includes:
Gesture collecting unit, for gathering gesture operation of the user in the virtual three-dimensional space;
First drawing unit, for the operation trace according to the gesture operation, drawn in the virtual three-dimensional space described in Spacewarn position.
11. device according to claim 8, which is characterized in that the drafting module includes:
Receiving unit, for receiving the three-dimensional coordinate of at least two fixed point input by user, at least two fixed point is unique true Make spacewarn position;
Second drawing unit for the three-dimensional coordinate according to described at least two fixed points, is drawn in the virtual three-dimensional space The spacewarn position.
12. according to claim 8-11 any one of them devices, which is characterized in that the type of the spacewarn position is police Guard against line;
The judgment module includes:
First judging unit, for judging that the position relationship of the first kind three-dimensional coordinate and the second class three-dimensional coordinate changes Whether meet:The first kind three-dimensional coordinate is not included in the range of being formed from the second class three-dimensional coordinate, to including institute Stating first kind three-dimensional coordinate and arriving again does not include the first kind three-dimensional coordinate, if so, judging mesh described in the target scene The position relationship of mark Moving Objects and the scene alert locations, which meets, to be made a reservation for pass through warning line alarm rule.
13. according to claim 8-11 any one of them devices, which is characterized in that the type of the spacewarn position is police Ring face;
The judgment module includes:
Second judgment unit, the position relationship for judging the first kind three-dimensional coordinate and the second class three-dimensional coordinate change Whether meet:The first kind three-dimensional coordinate is not included in the range of being formed from the second class three-dimensional coordinate, to including institute Stating first kind three-dimensional coordinate and arriving again does not include the first kind three-dimensional coordinate, if so, judging mesh described in the target scene The position relationship of mark Moving Objects and the scene alert locations, which meets, to be made a reservation for pass through warning face alarm rule;
Alternatively,
3rd judging unit, the position relationship for judging the first kind three-dimensional coordinate and the second class three-dimensional coordinate change Whether meet:The first kind three-dimensional coordinate is not included in the range of being formed from the second class three-dimensional coordinate to including described First kind three-dimensional coordinate, if so, judging target Moving Objects described in the target scene and the scene alert locations Position relationship satisfaction is destined to go into warning face alarm rule;
Alternatively,
4th judging unit, the position relationship for judging the first kind three-dimensional coordinate and the second class three-dimensional coordinate change Whether meet:It is described to not including to include the first kind three-dimensional coordinate in the range of being formed from the second class three-dimensional coordinate First kind three-dimensional coordinate, if so, judging target Moving Objects described in the target scene and the scene alert locations Position relationship, which meets, to be made a reservation for leave warning face alarm rule;
Alternatively,
5th judging unit, the position relationship for judging the first kind three-dimensional coordinate and the second class three-dimensional coordinate change Whether meet:The second class three-dimensional coordinate includes the first kind three-dimensional coordinate in the range of forming, if so, judging institute The position relationship for stating target Moving Objects described in target scene and the scene alert locations meets predetermined invasion warning face report Police regulations are then.
14. according to claim 8-11 any one of them devices, which is characterized in that the type of the spacewarn position is police Guard against body;
The judgment module includes:
6th judging unit, the position relationship for judging the first kind three-dimensional coordinate and the second class three-dimensional coordinate change Whether meet:The first kind three-dimensional coordinate is not included in the range of being formed from the second class three-dimensional coordinate, to including institute Stating first kind three-dimensional coordinate and arriving again does not include the first kind three-dimensional coordinate, if so, judging mesh described in the target scene The position relationship of mark Moving Objects and the scene alert locations meets predetermined pass through and guards against body alarm rule;
Alternatively,
7th judging unit, the position relationship for judging the first kind three-dimensional coordinate and the second class three-dimensional coordinate change Whether meet:The first kind three-dimensional coordinate is not included in the range of being formed from the second class three-dimensional coordinate to including described First kind three-dimensional coordinate, if so, judging target Moving Objects described in the target scene and the scene alert locations Position relationship satisfaction is destined to go into warning body alarm rule;
Alternatively,
8th judging unit, the position relationship for judging the first kind three-dimensional coordinate and the second class three-dimensional coordinate change Whether meet:It is described to not including to include the first kind three-dimensional coordinate in the range of being formed from the second class three-dimensional coordinate First kind three-dimensional coordinate, if so, judging target Moving Objects described in the target scene and the scene alert locations Position relationship meets predetermined leave and guards against body alarm rule;
Alternatively,
9th judging unit, the position relationship for judging the first kind three-dimensional coordinate and the second class three-dimensional coordinate change Whether meet:The second class three-dimensional coordinate includes the first kind three-dimensional coordinate in the range of forming, if so, judging institute The position relationship for stating target Moving Objects described in target scene and the scene alert locations meets predetermined invasion warning body report Police regulations are then.
CN201611046620.4A 2016-11-23 2016-11-23 Video monitoring method and device Active CN108111802B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611046620.4A CN108111802B (en) 2016-11-23 2016-11-23 Video monitoring method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611046620.4A CN108111802B (en) 2016-11-23 2016-11-23 Video monitoring method and device

Publications (2)

Publication Number Publication Date
CN108111802A true CN108111802A (en) 2018-06-01
CN108111802B CN108111802B (en) 2020-06-26

Family

ID=62204988

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611046620.4A Active CN108111802B (en) 2016-11-23 2016-11-23 Video monitoring method and device

Country Status (1)

Country Link
CN (1) CN108111802B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110636204A (en) * 2018-06-22 2019-12-31 杭州海康威视数字技术股份有限公司 Face snapshot system
CN111063145A (en) * 2019-12-13 2020-04-24 北京都是科技有限公司 Intelligent processor for electronic fence
CN113068000A (en) * 2019-12-16 2021-07-02 杭州海康威视数字技术股份有限公司 Method, device, equipment and system for monitoring video target and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011155393A (en) * 2010-01-26 2011-08-11 Denso It Laboratory Inc Device and method for displaying image of vehicle surroundings
CN102436676A (en) * 2011-09-27 2012-05-02 夏东 Three-dimensional reestablishing method for intelligent video monitoring
CN104902246A (en) * 2015-06-17 2015-09-09 浙江大华技术股份有限公司 Video monitoring method and device
CN104954747A (en) * 2015-06-17 2015-09-30 浙江大华技术股份有限公司 Video monitoring method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011155393A (en) * 2010-01-26 2011-08-11 Denso It Laboratory Inc Device and method for displaying image of vehicle surroundings
CN102436676A (en) * 2011-09-27 2012-05-02 夏东 Three-dimensional reestablishing method for intelligent video monitoring
CN104902246A (en) * 2015-06-17 2015-09-09 浙江大华技术股份有限公司 Video monitoring method and device
CN104954747A (en) * 2015-06-17 2015-09-30 浙江大华技术股份有限公司 Video monitoring method and device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110636204A (en) * 2018-06-22 2019-12-31 杭州海康威视数字技术股份有限公司 Face snapshot system
CN110636204B (en) * 2018-06-22 2021-04-20 杭州海康威视数字技术股份有限公司 Face snapshot system
CN111063145A (en) * 2019-12-13 2020-04-24 北京都是科技有限公司 Intelligent processor for electronic fence
CN113068000A (en) * 2019-12-16 2021-07-02 杭州海康威视数字技术股份有限公司 Method, device, equipment and system for monitoring video target and storage medium

Also Published As

Publication number Publication date
CN108111802B (en) 2020-06-26

Similar Documents

Publication Publication Date Title
CN105631515B (en) People flow counting system
US11132887B2 (en) Eyeglasses-type wearable terminal, control method thereof, and control program
US9767663B2 (en) GPS directed intrusion system with data acquisition
CN101569194B (en) Network surveillance system
CN106506556A (en) A kind of network flow abnormal detecting method and device
CN106203264A (en) Dangerous goods detection method and device
CN105100689A (en) Automatic teller machine (ATM) video surveillance method and apparatus
CA3094424A1 (en) Safety monitoring and early-warning method for man-machine interaction behavior of underground conveyor belt operator
CN106463032A (en) Intrusion detection with directional sensing
CN107396037A (en) Video frequency monitoring method and device
KR20110133476A (en) System and methods for improving accuracy and robustness of abnormal behavior detection
CN108111802A (en) Video frequency monitoring method and device
CN103726879A (en) Method for utilizing camera to automatically capture mine earthquakes and collapses of mine and timely record and alarm
KR101921610B1 (en) Method and Apparatus for Monitoring Objects from Video
US9547905B2 (en) Monitoring system with a position-dependent protected area, method for monitoring a monitoring area and computer program
CN106530619A (en) Intelligent terminal and method for carrying out human body position identification and falling down detection through using the intelligent terminal
CN109409243A (en) Human visual detection method in a kind of mobile target
JP2019071578A (en) Object detection device, object detection system, and object detection method
KR102175373B1 (en) Method, Device and system for detecting a loitering event
KR101494861B1 (en) Monitoring method and camera
CN104809840B (en) A kind of intrusion detection method and system based on multisensor
KR101840042B1 (en) Multi-Imaginary Fence Line Setting Method and Trespassing Sensing System
CN110300280A (en) A kind of scenic spot passenger flow monitoring system
CN110407052B (en) Method and system for detecting violent movement behaviors in elevator
CN106530594A (en) Fire recognition method based on flame detection in night vision scene

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant