Movatterモバイル変換


[0]ホーム

URL:


CN101494772A - Method and apparatus for detecting image - Google Patents

Method and apparatus for detecting image
Download PDF

Info

Publication number
CN101494772A
CN101494772ACNA2009100774815ACN200910077481ACN101494772ACN 101494772 ACN101494772 ACN 101494772ACN A2009100774815 ACNA2009100774815 ACN A2009100774815ACN 200910077481 ACN200910077481 ACN 200910077481ACN 101494772 ACN101494772 ACN 101494772A
Authority
CN
China
Prior art keywords
information
mrow
target
detected
image
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.)
Pending
Application number
CNA2009100774815A
Other languages
Chinese (zh)
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.)
Vimicro Corp
Original Assignee
Vimicro Corp
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 Vimicro CorpfiledCriticalVimicro Corp
Priority to CNA2009100774815ApriorityCriticalpatent/CN101494772A/en
Publication of CN101494772ApublicationCriticalpatent/CN101494772A/en
Pendinglegal-statusCriticalCurrent

Links

Images

Landscapes

Abstract

The present invention provides an image detection method and device. The method includes: a first step, obtaining the monitoring video data of the monitoring device; a second step, obtaining the calibration information of the monitoring device and the true form information of the target to be detected; and a third step, obtaining the form and size information of the target to be detected at the detection position based on the detection position in the target to be detected of the video data, the calibration information and the true form information. The invention is an image detection method based on single-view calibration, which can determine the size and form of the target to be detected at the detection position.

Description

Image detection method and device
Technical Field
The invention relates to the field of camera calibration and intelligent video monitoring, in particular to a method and a device for image detection based on single-view calibration.
Background
In the currently widely used single-view-based intelligent video surveillance, it is often necessary to know the position and size of a specific object (such as a car, a human body, a human head, etc.) in an image after being imaged. However, according to the imaging principle, the imaging sizes of the same target are different from the projection center at different times, and the farther the imaging is, the smaller the imaging is, so that the phenomenon causes great trouble to the target detection based on statistics in the intelligent video monitoring, because if the size of the imaged target is unknown, the target detection algorithm based on statistics searches images in different scales, so that the algorithm operation amount is increased, and the real-time detection effect cannot be achieved.
In order to increase the detection speed, a current common acceleration method is a motion detection method, which includes: the motion area is first determined and then scaled to search within the motion area. Although this acceleration method can intelligently detect moving objects, it cannot detect stationary objects and still requires scaling to perform the search. Other acceleration methods include modeling an approximate correspondence function of the size of the imaged object and the image line information and simplifying statistical features. The method for establishing the corresponding function model can only roughly calculate the sizes of different positions of the target in the image, and can cause the inaccuracy of detection. The method of simplifying the statistical features results in a decrease in the detection rate.
Therefore, in the target detection based on statistics, how to determine the size and shape of the target at the detection position so as to directly search for the corresponding scale and accelerate the target detection is a problem to be solved.
Disclosure of Invention
The embodiment of the invention aims to provide an image detection method and device, which can determine the size and the shape of a target to be detected at a detection position.
In order to achieve the above object, in one aspect, there is provided an image detection method, including the steps of:
step one, acquiring monitoring video data of monitoring equipment;
step two, obtaining calibration information of the monitoring equipment and actual shape information of the detected target;
and thirdly, acquiring the shape and size information of the detected target at the detection position according to the detection position in the image to be detected of the video data, the calibration information and the actual shape information.
Preferably, the method further comprises the step of,
and fourthly, in the process of target detection based on statistics, searching the target with the corresponding scale according to the shape and size information.
Preferably, in the above method, the calibration information includes: normalized vector of vanishing lineAnd a vanishing point vector v in the vertical direction; the actual shape information is the actual height Z and the actual length-width ratio of the detected target, and the detection position is the top coordinate t of the detected target in the image to be detected.
Preferably, in the above method, the third step specifically includes:
using the formula: <math> <mrow> <mi>&alpha;Z</mi> <mo>=</mo> <mfrac> <mrow> <mo>-</mo> <mo>|</mo> <mo>|</mo> <mi>b</mi> <mo>&times;</mo> <mi>t</mi> <mo>|</mo> <mo>|</mo> </mrow> <mrow> <mrow> <mo>(</mo> <mover> <mi>l</mi> <mo>^</mo> </mover> <mo>.</mo> <mi>b</mi> <mo>)</mo> </mrow> <mo>|</mo> <mo>|</mo> <mi>v</mi> <mo>&times;</mo> <mi>t</mi> <mo>|</mo> <mo>|</mo> </mrow> </mfrac> <mo>,</mo> </mrow></math>calculating the bottom coordinate b of the detected target in the image to be detected, wherein the parameter alpha is a prior value obtained through a test;
obtaining the image height h of the detected target in the image to be detected according to the difference value of the top coordinate t and the bottom coordinate b;
and determining the shape and size information of the detected target at the detection position according to the image height h and the actual length-width ratio.
Preferably, in the above method, the parameter α is obtained by: measuring the top coordinate t and the bottom coordinate b of a known target in a known image of said video data and de-interlacing the vector
Figure A20091007748100063
The vanishing point vector v and the actual height Z of the known target are substituted into the formula to obtain the parameter α.
Preferably, in the above method, in the second step, the calibration information is known information stored in the monitoring device; or,
obtaining the calibration information by: and acquiring geometric information for calibration from the video data, and calculating the calibration information according to the geometric information.
Preferably, in the above method, the geometric information includes: two pairs of parallel lines parallel to but not in the same direction as the ground, and one pair of parallel lines perpendicular to the ground.
In another aspect of the present invention, an apparatus for image detection includes:
a data acquisition module to: acquiring monitoring video data of monitoring equipment;
a calibration information acquisition module configured to: obtaining calibration information of the monitoring equipment;
an actual shape information acquisition module to: acquiring actual shape information of the detected target;
a calculation module to: and acquiring the shape and size information of the detected target at the detection position according to the detection position in the image to be detected of the video data, the calibration information and the actual shape information.
Preferably, in the above apparatus, the detection module is configured to: and in the process of target detection based on statistics, target search of corresponding scales is carried out according to the shape and size information.
Preferably, in the above apparatus, the calculating module is configured to calculate the target value by formula <math> <mrow> <mi>&alpha;Z</mi> <mo>=</mo> <mfrac> <mrow> <mo>-</mo> <mo>|</mo> <mo>|</mo> <mi>b</mi> <mo>&times;</mo> <mi>t</mi> <mo>|</mo> <mo>|</mo> </mrow> <mrow> <mrow> <mo>(</mo> <mover> <mi>l</mi> <mo>^</mo> </mover> <mo>.</mo> <mi>b</mi> <mo>)</mo> </mrow> <mo>|</mo> <mo>|</mo> <mi>v</mi> <mo>&times;</mo> <mi>t</mi> <mo>|</mo> <mo>|</mo> </mrow> </mfrac> </mrow></math>Calculating the bottom coordinate b of the detected target in the image to be detected, wherein alpha is a prior value obtained through a test, Z is the actual height of the detected target, t is the top coordinate of the detected target in the image to be detected,
Figure A20091007748100072
is a normalized vanishing line vector, and v is a vanishing point vector in the vertical direction.
Preferably, in the above apparatus, the calibration information obtaining module includes:
a geometric information extraction unit, configured to obtain geometric information for calibration from the video data, where the geometric information includes: two pairs of parallel lines parallel to the ground but in different directions, and one pair of parallel lines perpendicular to the ground;
a calibration unit for obtaining normalized vanishing line vector according to the geometric information
Figure A20091007748100073
And a vanishing point vector v in the vertical direction.
Preferably, in the above apparatus, the actual shape information acquiring module further includes a storage unit, and the storage unit stores actual heights and actual length-width ratios of the plurality of targets to be detected.
Preferably, in the above apparatus, the plurality of objects to be detected includes a human object and an automobile object, the actual height of the human object is set as a statistical average of human heights, the statistical average of human heights is any value between 165 cm and 175 cm, and the actual aspect ratio of the human object is set as a statistical average of human aspect ratios.
The embodiment of the invention has at least the following technical effects:
1) the embodiment of the invention expands the application based on single-view calibration, and can reversely calculate the shape and size information of the detected target at the detection position according to the calibration information of the single view and the actual shape information of the detected target, namely the shape and size information of the real target after projection imaging is obtained.
2) The embodiment of the invention applies the obtained shape and size information of the detected target at the detection position to the target detection process based on statistics, and searches the target with corresponding scale according to the shape and size information, thereby reducing the calculated amount and accelerating the detection speed.
3) The embodiment of the invention stores the actual shape information of real targets (such as cars, heads and the like) in advance, and because the shapes and sizes of the targets of the same type are consistent, the embodiment of the invention sets an average shape value for the targets of different types, can be directly applied to the detection targets of the corresponding types, and ensures the detection precision.
Drawings
FIG. 1 is a flow chart of the steps of a method provided by an embodiment of the present invention;
FIG. 2 is a schematic diagram of the shape of a physical object provided by an embodiment of the present invention;
fig. 3 is a block diagram of an apparatus according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the following detailed description of the embodiments is provided with reference to the accompanying drawings.
Currently, many studies have been conducted on calibration of single-view imaging, and most of the studies are to calculate some or all calibration parameters based on typical geometric information (such as parallel lines, right angles, etc.) in the image. The application of single-view-based calibration is mainly three-dimensional reconstruction of a regular building or calculation of the real height of a target according to the position information of the target in an image, and the like.
The embodiment of the invention is expanded based on the application of single-view calibration. Unlike the above-described calculation of three-dimensional information from image information, the embodiment of the present invention derives a method of calculating a post-imaging shape of an object from three-dimensional information of the object. The method can be used for assisting in target detection based on statistics and accelerating the speed of target detection.
Fig. 1 is a flowchart of steps of a method according to an embodiment of the present invention, where the method for detecting an image according to the embodiment of the present invention is an image target shape determining method based on single-view calibration, and can obtain target shape information at any position in a monitored video image, as shown in fig. 1, the method includes:
step 101, acquiring monitoring video data of monitoring equipment;
102, obtaining calibration information of the monitoring equipment and actual shape information of a detected target;
103, acquiring the shape and size information of the detected target at the detection position according to the detection position in the image to be detected of the video data, the calibration information and the actual shape information.
The shape and size information of the detected target at the detection position is determined, and the corresponding scale can be directly searched, so that the searching scale can be reduced, the calculated amount is obviously reduced, and the detection speed is accelerated in the target detection process based on statistics.
Therefore, when the present invention is applied to the target detection based on statistics, the method further comprises the following steps: and in the process of target detection based on statistics, target search of corresponding scales is carried out according to the shape and size information.
In the embodiment of the invention, the actual shape information and the calibration information are the basis for calculating the shape and size information of the detected target at the detection position (namely the shape and size information of the real target after projection imaging), and since the actual shape information of the real target (such as a car, a human head and the like) is known and the shape and size of the same type of target are relatively consistent, the invention sets and stores the average shape value for different types of targets, so the actual shape information is set in advance before detection and is a known quantity before calculation.
As for the calibration information, it may be stored in the camera before detection, and for the camera without calibration, the following method (one) may be adopted for calibration.
Camera calibration method based on single view
Video monitoring generally adopts a mode of monitoring a target area by a single camera. In a monitoring scene, the traditional method for placing the calibration control object has a great limitation, because the monitored area is often an area where people can not reach or can not place the calibration reference object, such as an expressway, a dangerous area, an area where people are prohibited to enter, and the like. Therefore, in video monitoring, calibration generally adopts a vanishing point or vanishing line based method, for example, geometric information of buildings in a scene and edge information of a road are used to extract vanishing lines and vanishing points, and a pedestrian or a vehicle is also used to extract vanishing lines.
The embodiment of the invention also carries out calibration based on the principles of line extinction and point extinction. In order to obtain the line-out position conveniently, the invention utilizes target information vertical to the ground in a monitoring scene, such as imaging information of the same person standing at different positions, telegraph pole information, lane line information on the road and the like. According to the principle of projective geometry, parallel lines in the three-dimensional Euclidean space intersect at a vanishing point on the image after projection, and the two vanishing points can determine the vanishing line. So as long as two pairs of parallel lines which are parallel to the ground but have different directions in the three-dimensional space are known, the line-out position can be calculated.
According to the calibration principle, besides the line extinction, the vanishing point position in the direction vertical to the ground is also required to be known. The vanishing point information may be calculated from a pair of parallel lines perpendicular to the ground (e.g., from wall information of a building or from utility poles perpendicular to the ground). For simplicity of calculation, it may also be assumed that the vanishing point in the vertical direction is at infinity in the y-direction.
Therefore, in the embodiment of the invention, the normalized de-line vector is obtained through the two pairs of parallel lines which are parallel to the ground but have different directions
Figure A20091007748100101
The vanishing point vector v in the vertical direction is obtained by a pair of parallel lines perpendicular to the ground. Of course, a vector of the line extinction can be obtained
Figure A20091007748100102
The way of correlating the vanishing point vector v is not limited to only the above geometric elements, but may be obtained by other geometric elements by those skilled in the art.
After the calibration information is obtained by the above method, the inverse calculation of the target size is required according to the actual shape information and the calibration information, and the shape and size information of the detected target at the detection position is calculated. The inverse calculation method of the target size is as follows:
method for inverse calculation of target size
In the statistical-based target detection, the size of a target at any position in a monitored scene, such as the size of a human head in an image, the size of a vehicle at any position for traffic monitoring, and the like, often needs to be known. The monitor device generally photographs a scene from the side, so that according to the principle of projection imaging, an object close to the camera is imaged to a large extent, and vice versa to a small extent. In order to calculate the size of the projected target in the image, calibration information of the camera and the height of the target need to be known. The shape of the actual object is for example as shown in fig. 2, then:
the formula for calculating the height is:
<math> <mrow> <mi>&alpha;Z</mi> <mo>=</mo> <mfrac> <mrow> <mo>-</mo> <mo>|</mo> <mo>|</mo> <mi>b</mi> <mo>&times;</mo> <mi>t</mi> <mo>|</mo> <mo>|</mo> </mrow> <mrow> <mrow> <mo>(</mo> <mover> <mi>l</mi> <mo>^</mo> </mover> <mo>.</mo> <mi>b</mi> <mo>)</mo> </mrow> <mo>|</mo> <mo>|</mo> <mi>v</mi> <mo>&times;</mo> <mi>t</mi> <mo>|</mo> <mo>|</mo> </mrow> </mfrac> <mo>-</mo> <mo>-</mo> <mo>-</mo> <mrow> <mo>(</mo> <mn>1</mn> <mo>)</mo> </mrow> </mrow></math>
wherein
Figure A20091007748100104
Is the normalized vanishing line vector and v is the vanishing point vector in the vertical direction. b, t are the bottom and top coordinates of the object on the image. Since the target is perpendicular to the ground, the abscissa of b, t is the same, and the ordinate differs by h, then:
t=xy1,b=xy+h1,v=vxvyvz,l^=lxlylz
substituting the above values into formula (1) to obtain
<math> <mrow> <mi>b</mi> <mo>&times;</mo> <mi>t</mi> <mo>=</mo> <mfenced open='[' close=']'> <mtable> <mtr> <mtd> <mi>h</mi> </mtd> </mtr> <mtr> <mtd> <mn>0</mn> </mtd> </mtr> <mtr> <mtd> <mo>-</mo> <mi>xh</mi> </mtd> </mtr> </mtable> </mfenced> <mo>,</mo> <mi>v</mi> <mo>&times;</mo> <mi>t</mi> <mo>=</mo> <mfenced open='[' close=']'> <mtable> <mtr> <mtd> <msub> <mi>v</mi> <mi>y</mi> </msub> <mo>-</mo> <msub> <mi>v</mi> <mi>z</mi> </msub> <mi>y</mi> </mtd> </mtr> <mtr> <mtd> <msub> <mi>v</mi> <mi>z</mi> </msub> <mi>x</mi> <mo>-</mo> <msub> <mi>v</mi> <mi>x</mi> </msub> </mtd> </mtr> <mtr> <mtd> <msub> <mi>v</mi> <mi>x</mi> </msub> <mi>y</mi> <mo>-</mo> <msub> <mi>v</mi> <mi>y</mi> </msub> <mi>x</mi> </mtd> </mtr> </mtable> </mfenced> <mo>,</mo> <mover> <mi>l</mi> <mo>^</mo> </mover> <mo>.</mo> <mi>b</mi> <mo>=</mo> <msub> <mi>l</mi> <mi>x</mi> </msub> <mi>x</mi> <mo>+</mo> <msub> <mi>l</mi> <mi>y</mi> </msub> <mi>y</mi> <mo>+</mo> <msub> <mi>l</mi> <mi>y</mi> </msub> <mi>h</mi> <mo>+</mo> <msub> <mi>l</mi> <mi>z</mi> </msub> </mrow></math>
<math> <mrow> <mo>|</mo> <mo>|</mo> <mi>b</mi> <mo>&times;</mo> <mi>t</mi> <mo>|</mo> <mo>|</mo> <mo>=</mo> <mi>h</mi> <msqrt> <mrow> <mo>(</mo> <msup> <mi>x</mi> <mn>2</mn> </msup> <mo>+</mo> <mn>1</mn> <mo>)</mo> </mrow> </msqrt> </mrow></math>
If A | v × t |, then: <math> <mrow> <mo>-</mo> <mi>h</mi> <msqrt> <msup> <mi>x</mi> <mn>2</mn> </msup> <mo>+</mo> <mn>1</mn> </msqrt> <mo>=</mo> <mi>&alpha;ZA</mi> <mrow> <mo>(</mo> <msub> <mi>l</mi> <mi>x</mi> </msub> <mi>x</mi> <mo>+</mo> <msub> <mi>l</mi> <mi>y</mi> </msub> <mi>y</mi> <mo>+</mo> <msub> <mi>l</mi> <mi>y</mi> </msub> <mi>h</mi> <mo>+</mo> <msub> <mi>l</mi> <mi>z</mi> </msub> <mo>)</mo> </mrow> </mrow></math>
<math> <mrow> <mrow> <mo>(</mo> <mi>&alpha;ZA</mi> <msub> <mi>l</mi> <mi>y</mi> </msub> <mo>-</mo> <msqrt> <msup> <mi>x</mi> <mn>2</mn> </msup> <mo>+</mo> <mn>1</mn> </msqrt> <mo>)</mo> </mrow> <mi>h</mi> <mo>=</mo> <mi>&alpha;ZA</mi> <mrow> <mo>(</mo> <msub> <mi>l</mi> <mi>x</mi> </msub> <mi>x</mi> <mo>+</mo> <msub> <mi>l</mi> <mi>y</mi> </msub> <mi>y</mi> <mo>+</mo> <msub> <mi>l</mi> <mi>z</mi> </msub> <mo>)</mo> </mrow> <mo>-</mo> <mo>-</mo> <mo>-</mo> <mrow> <mo>(</mo> <mn>2</mn> <mo>)</mo> </mrow> </mrow></math>
h can be calculated according to equation (2).
As can be seen from the above description, when the true height Z of the object and the top coordinate t of the object in the image are known, the height value h of the object in the image can be calculated by the above formula. Then, according to the aspect ratio of the real target, the shape information of the target can be determined.
Take human head detection as an example. It is necessary to know the head size at any position in the image, i.e. how to calculate the head size at that point when t is known. It can be assumed that t, b have the same x-coordinate and a difference in y-coordinate by one h. The h value represents the height of the spatial body height projected on the image when the head is at t. Because the height of the head and the height of the person approximately meet a certain proportion, the size of the head can be approximately calculated when h is known. Z is considered to be the height of a person of standard height, and is 170cm in this embodiment. Alpha is a priori value obtained according to experiments, and the value of alpha can be calculated in advance by using a formula (1) according to the head and sole coordinates of a person with known height on a known image when the person is at rest at a certain position.
Fig. 3 is a block diagram of an apparatus according to an embodiment of the present invention. As shown in the figure, the apparatus for image detection according to the embodiment of the present invention includes:
adata acquisition module 310 configured to: acquiring monitoring video data of monitoring equipment;
a calibrationinformation obtaining module 320, configured to: obtaining calibration information of the monitoring equipment;
an actual shapeinformation obtaining module 330, configured to: acquiring actual shape information of the detected target;
acalculation module 340 for: and acquiring the shape and size information of the detected target at the detection position according to the detection position in the image to be detected of the video data, the calibration information and the actual shape information.
Thecalculation module 340 includes: a detectionposition acquisition unit 341 configured to acquire a detection position in an image to be detected of the video data; anarithmetic unit 342 for calculating the shape and size information.
After thecalculation module 340 obtains the shape and size information of the detected object at the detection position, the shape and size information may be input to a detection module (not shown), which is configured to: and in the process of target detection based on statistics, target search of corresponding scales is carried out according to the shape and size information.
The calculation module 340 is formulated by <math> <mrow> <mi>&alpha;Z</mi> <mo>=</mo> <mfrac> <mrow> <mo>-</mo> <mo>|</mo> <mo>|</mo> <mi>b</mi> <mo>&times;</mo> <mi>t</mi> <mo>|</mo> <mo>|</mo> </mrow> <mrow> <mrow> <mo>(</mo> <mover> <mi>l</mi> <mo>^</mo> </mover> <mo>.</mo> <mi>b</mi> <mo>)</mo> </mrow> <mo>|</mo> <mo>|</mo> <mi>v</mi> <mo>&times;</mo> <mi>t</mi> <mo>|</mo> <mo>|</mo> </mrow> </mfrac> </mrow></math>Calculating the bottom coordinate b of the detected target in the image to be detected, wherein alpha is a prior value obtained through a test, Z is the actual height of the detected target, t is the top coordinate of the detected target in the image to be detected,
Figure A20091007748100122
is a normalized vanishing line vector, and v is a vanishing point vector in the vertical direction; after the bottom coordinate b is obtained, obtaining the image height h of the detected target in the image to be detected according to the difference value of the top coordinate t and the bottom coordinate b; and then, determining the shape and size information of the detected target at the detection position according to the image height h and the actual length-width ratio.
In a case that the camera is not calibrated, thecalibration information 320 obtaining module may further include:
a geometricinformation extracting unit 321, configured to obtain geometric information for calibration from the video data, where the geometric information includes: two pairs of parallel lines parallel to the ground but in different directions, and one pair of parallel lines perpendicular to the ground;
acalibration unit 322, configured to obtain a normalized vanishing line vector according to the geometric information
Figure A20091007748100123
And vanishing point vector in the vertical directionThe amount v.
The actual shape information acquisition module further comprises a storage unit, and the storage unit stores actual heights and actual length-width ratios of various targets to be detected. The multiple targets to be detected comprise a human target and an automobile target, the actual height of the human target is set as a statistical average value of the human height, the statistical average value of the human height is any value between 165 centimeters and 175 centimeters, and the actual length-width ratio of the human target is set as a statistical average value of the length-width ratio of the human target.
From the above, the embodiments of the present invention have the following advantages:
1) the embodiment of the invention expands the application based on single-view calibration, and can reversely calculate the shape and size information of the detected target at the detection position according to the calibration information of the single view and the actual shape information of the detected target, namely the shape and size information of the real target after projection imaging is obtained.
2) The embodiment of the invention applies the obtained shape and size information of the detected target at the detection position to the target detection process based on statistics, and searches the target with corresponding scale according to the shape and size information, thereby reducing the calculated amount and accelerating the detection speed.
3) The embodiment of the invention stores the actual shape information of real targets (such as cars, heads and the like) in advance, and because the shapes and sizes of the targets of the same type are consistent, the embodiment of the invention sets an average shape value for the targets of different types, can be directly applied to the detection targets of the corresponding types, and ensures the detection precision.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (13)

1. A method of image detection, comprising the steps of:
step one, acquiring monitoring video data of monitoring equipment;
step two, obtaining calibration information of the monitoring equipment and actual shape information of the detected target;
and thirdly, acquiring the shape and size information of the detected target at the detection position according to the detection position in the image to be detected of the video data, the calibration information and the actual shape information.
2. The method of claim 1, further comprising,
and fourthly, in the process of target detection based on statistics, searching the target with the corresponding scale according to the shape and size information.
3. The method of claim 1, wherein the calibration information comprises: normalized vector of vanishing line
Figure A2009100774810002C1
And a vanishing point vector v in the vertical direction; the actual shape information is the actual height Z and the actual length-width ratio of the detected target, and the detection position is the top coordinate t of the detected target in the image to be detected.
4. The method according to claim 3, wherein the third step specifically comprises:
using the formula: <math> <mrow> <mi>&alpha;Z</mi> <mo>=</mo> <mfrac> <mrow> <mo>-</mo> <mo>|</mo> <mo>|</mo> <mi>b</mi> <mo>&times;</mo> <mi>t</mi> <mo>|</mo> <mo>|</mo> </mrow> <mrow> <mrow> <mo>(</mo> <mover> <mi>l</mi> <mo>^</mo> </mover> <mo>.</mo> <mi>b</mi> <mo>)</mo> </mrow> <mo>|</mo> <mo>|</mo> <mi>v</mi> <mo>&times;</mo> <mi>t</mi> <mo>|</mo> <mo>|</mo> </mrow> </mfrac> <mo>,</mo> </mrow></math>calculating the bottom coordinate b of the detected target in the image to be detected, wherein the parameter alpha is a prior value obtained through a test;
obtaining the image height h of the detected target in the image to be detected according to the difference value of the top coordinate t and the bottom coordinate b;
and determining the shape and size information of the detected target at the detection position according to the image height h and the actual length-width ratio.
5. The method according to claim 4, characterized in that the parameter a is obtained by: measuring the top coordinate t and the bottom coordinate b of a known target in a known image of said video data and de-interlacing the vector
Figure A2009100774810002C3
The vanishing point vector v and the actual height Z of the known target are substituted into the formula to obtain the parameter α.
6. The method according to claim 1, wherein in the second step, the calibration information is known information stored in the monitoring device; or,
obtaining the calibration information by: and acquiring geometric information for calibration from the video data, and calculating the calibration information according to the geometric information.
7. The method of claim 6, wherein the geometric information comprises: two pairs of parallel lines parallel to but not in the same direction as the ground, and one pair of parallel lines perpendicular to the ground.
8. An apparatus for image inspection, comprising:
a data acquisition module to: acquiring monitoring video data of monitoring equipment;
a calibration information acquisition module configured to: obtaining calibration information of the monitoring equipment;
an actual shape information acquisition module to: acquiring actual shape information of the detected target;
a calculation module to: and acquiring the shape and size information of the detected target at the detection position according to the detection position in the image to be detected of the video data, the calibration information and the actual shape information.
9. The apparatus of claim 8, further comprising:
a detection module to: and in the process of target detection based on statistics, target search of corresponding scales is carried out according to the shape and size information.
10. The apparatus of claim 8,
the calculation module passes the formula <math> <mrow> <mi>&alpha;Z</mi> <mo>=</mo> <mfrac> <mrow> <mo>-</mo> <mo>|</mo> <mo>|</mo> <mi>b</mi> <mo>&times;</mo> <mi>t</mi> <mo>|</mo> <mo>|</mo> </mrow> <mrow> <mrow> <mo>(</mo> <mover> <mi>l</mi> <mo>^</mo> </mover> <mo>.</mo> <mi>b</mi> <mo>)</mo> </mrow> <mo>|</mo> <mo>|</mo> <mi>v</mi> <mo>&times;</mo> <mi>t</mi> <mo>|</mo> <mo>|</mo> </mrow> </mfrac> </mrow></math>Calculating the bottom coordinate b of the detected target in the image to be detected, wherein alpha is a prior value obtained through a test, Z is the actual height of the detected target, t is the top coordinate of the detected target in the image to be detected,
Figure A2009100774810003C2
is a normalized vanishing line vector, and v is a vanishing point vector in the vertical direction.
11. The apparatus according to claim 8, wherein the calibration information obtaining module comprises:
a geometric information extraction unit, configured to obtain geometric information for calibration from the video data, where the geometric information includes: two pairs of parallel lines parallel to the ground but in different directions, and one pair of parallel lines perpendicular to the ground;
a calibration unit for obtaining normalized vanishing line vector according to the geometric information
Figure A2009100774810003C3
And a vanishing point vector v in the vertical direction.
12. The apparatus according to claim 10, wherein the actual shape information acquiring module further comprises a storage unit, and the storage unit stores actual heights and actual aspect ratios of the plurality of objects to be detected.
13. The apparatus of claim 12, wherein the plurality of objects to be detected comprises human objects and automobile objects, the actual height of the human objects is set as a statistical average of human heights, the statistical average of human heights is any value between 165 cm and 175 cm, and the actual aspect ratio of the human objects is set as a statistical average of human aspect ratios.
CNA2009100774815A2009-02-132009-02-13Method and apparatus for detecting imagePendingCN101494772A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CNA2009100774815ACN101494772A (en)2009-02-132009-02-13Method and apparatus for detecting image

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CNA2009100774815ACN101494772A (en)2009-02-132009-02-13Method and apparatus for detecting image

Publications (1)

Publication NumberPublication Date
CN101494772Atrue CN101494772A (en)2009-07-29

Family

ID=40925134

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CNA2009100774815APendingCN101494772A (en)2009-02-132009-02-13Method and apparatus for detecting image

Country Status (1)

CountryLink
CN (1)CN101494772A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101876535A (en)*2009-12-022010-11-03北京中星微电子有限公司Method, device and monitoring system for height measurement
CN102074095A (en)*2010-11-092011-05-25无锡中星微电子有限公司System and method for monitoring infant behaviors
CN103164958A (en)*2011-12-152013-06-19无锡中星微电子有限公司Method and system for vehicle monitoring
CN104034316A (en)*2013-03-062014-09-10深圳先进技术研究院Video analysis-based space positioning method
CN108961305A (en)*2018-07-052018-12-07四创科技有限公司A kind of wave climbing monitoring method based on image recognition
CN110400263A (en)*2019-04-132019-11-01泰州三凯工程技术有限公司 Action Execution System Based on Data Detection
CN111462096A (en)*2020-04-032020-07-28浙江商汤科技开发有限公司Three-dimensional target detection method and device
WO2021168838A1 (en)*2020-02-282021-09-02深圳市大疆创新科技有限公司Position information determining method, device, and storage medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101339605A (en)*2008-08-142009-01-07北京中星微电子有限公司Detection system and method for number of people based on video frequency monitoring

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101339605A (en)*2008-08-142009-01-07北京中星微电子有限公司Detection system and method for number of people based on video frequency monitoring

Cited By (13)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101876535B (en)*2009-12-022015-11-25北京中星微电子有限公司A kind of height measurement method, device and supervisory system
CN101876535A (en)*2009-12-022010-11-03北京中星微电子有限公司Method, device and monitoring system for height measurement
CN102074095A (en)*2010-11-092011-05-25无锡中星微电子有限公司System and method for monitoring infant behaviors
CN102074095B (en)*2010-11-092013-04-24无锡中星微电子有限公司System and method for monitoring infant behaviors
CN103164958A (en)*2011-12-152013-06-19无锡中星微电子有限公司Method and system for vehicle monitoring
CN103164958B (en)*2011-12-152015-01-07无锡中星微电子有限公司Method and system for vehicle monitoring
CN104034316A (en)*2013-03-062014-09-10深圳先进技术研究院Video analysis-based space positioning method
CN104034316B (en)*2013-03-062018-02-06深圳先进技术研究院A kind of space-location method based on video analysis
CN108961305A (en)*2018-07-052018-12-07四创科技有限公司A kind of wave climbing monitoring method based on image recognition
CN108961305B (en)*2018-07-052021-04-27四创科技有限公司Sea wave climbing monitoring method based on image recognition
CN110400263A (en)*2019-04-132019-11-01泰州三凯工程技术有限公司 Action Execution System Based on Data Detection
WO2021168838A1 (en)*2020-02-282021-09-02深圳市大疆创新科技有限公司Position information determining method, device, and storage medium
CN111462096A (en)*2020-04-032020-07-28浙江商汤科技开发有限公司Three-dimensional target detection method and device

Similar Documents

PublicationPublication DateTitle
CN101494772A (en)Method and apparatus for detecting image
CN101876535B (en)A kind of height measurement method, device and supervisory system
CN108444390B (en)Unmanned automobile obstacle identification method and device
CN106407315B (en)A kind of vehicle autonomic positioning method based on street view image database
CN113156421A (en)Obstacle detection method based on information fusion of millimeter wave radar and camera
CN202163431U (en)Collision and traffic lane deviation pre-alarming device based on integrated information of sensors
CN106289159B (en)Vehicle distance measurement method and device based on distance measurement compensation
CN102467821A (en)Road surface distance detection method and device based on video image
CN103559791A (en)Vehicle detection method fusing radar and CCD camera signals
CN102521842B (en)Method and device for detecting fast movement
CN111967360A (en)Target vehicle attitude detection method based on wheels
CN112699748B (en) Estimation method of distance between people and vehicles based on YOLO and RGB images
CN112798811A (en)Speed measurement method, device and equipment
CN102279974A (en)Method and system for calculating monitoring area by camera
Zhang et al.Deep learning based object distance measurement method for binocular stereo vision blind area
Lion et al.Smart speed bump detection and estimation with kinect
CN103996292A (en)Moving vehicle tracking method based on corner matching
CN105975923A (en)Method and system for tracking human object
CN109886064A (en) Method for determining the boundaries of the drivable space
CN111256651B (en) A method and device for perimeter vehicle ranging based on monocular vehicle camera
CN106709432B (en)Human head detection counting method based on binocular stereo vision
CN113160299A (en)Vehicle video speed measurement method based on Kalman filtering and computer readable storage medium
CN103093214B (en)A kind of pedestrian detection method based on vehicle mounted infrared camera
JP2011064639A (en)Distance measuring device and distance measuring method
CN108986485A (en)Vehicle speed detector based on intelligent video analysis technology

Legal Events

DateCodeTitleDescription
C06Publication
PB01Publication
C10Entry into substantive examination
SE01Entry into force of request for substantive examination
C02Deemed withdrawal of patent application after publication (patent law 2001)
WD01Invention patent application deemed withdrawn after publication

Application publication date:20090729


[8]ページ先頭

©2009-2025 Movatter.jp