This is the U.S. national stage of application No. PCT/JP2018/008370, filed on Mar. 5, 2018. Priority under 35 U.S.C. § 119(a) and 35 U.S.C. § 365(b) is claimed from Japanese Patent Application No. 2017-048587, filed Mar. 14, 2017; the disclosures of which are incorporated herein by reference.
The present invention relates to an object detection system.
Recently, an object detection system that, for the purpose of detecting an intruder or a vehicle in a monitoring space, detects an object in a depth image detected by a laser radar or the like is used. Here, the depth image is obtained by mapping the value of a depth to the object as two-dimensional coordinates.
As a method of extracting pixels including a moving object from a depth image, a method of extracting pixels different in depth from a previously acquired background (a depth image while the moving object does not exist) is known as described in Patent Document 1 as well. A background depth map generator in Patent Document 1 generates a background depth map indicating information about a depth from a laser radar in a detection region to an object present in the background on the basis of a measurement result of the laser radar. A moving object detector detects a moving object in the detection region from a difference between the depth information in the background depth map stored in advance in a background depth map memory and the measurement result of the laser radar.
Patent Document 1: JP 2005-300259 A
However, the above-described method has a problem in that even an essentially unnecessary pixel is extracted in cases as will be described below.
(1) Case where there is Reflective Object Such as Glass or Puddle
In a case where TOF (a method of measuring the time until light is reflected by an object and returns) is used as a method of measuring a depth, light emitted to a totally reflecting portion such as glass or a puddle is reflected there and reflected by an object at the destination of reflection, and returns in some cases. Then, a depth image as if there is an object behind the glass or puddle is obtained. This is a virtual image appearing at a position where an object does not exist actually, and thus is not a moving object pixel desired to be extracted. However, when extracting a portion different in depth from the background, the virtual image is also extracted as moving object candidate pixels.
Thus, when an object present at a depth different from the background is extracted with conventional techniques, this virtual image 13 is also extracted.
(2) Case where there is Object, Such as Fence, Through which Other Side is Visible
In a case where there is an object, such as a fence, through which the other side is visible, a person or the like, if appearing behind the fence, is detected. (This is because light transmits through the fence, is reflected by the person behind the fence, and returns). Depending on the purpose, this is extra information in a case where it is desired to see a movement inside the fence. Since there is a depth from the background (fence), this pixel is also extracted with conventional techniques.
(3) Case where Background Changes
This is such a case where the background frequently changes, for example, a case where it is desired to monitor a person on a platform of a station.
When also setting the train 23 as a part of the background for data processing, the wall 22 in a situation where the train 23 is absent is also extracted since a portion different from the background is extracted with conventional techniques.
Therefore, methods of conventional techniques do not enable only pixels including a moving object desired to be extracted, such as a person on the nearer side than the train, to be extracted.
In addition, since the train 23 is a moving object rather than a fixed object, and is not always present in a detection target range, and there is also a depth error due to a difference between vehicles, variations in stopping position, or the like, it is difficult to set the train 23 as the background for data processing.
The present invention was made in view of the above problems in the conventional techniques, and has an object to, irrespective of a background situation of a moving object desired to be extracted, accurately extract the moving object to be extracted.
In order to solve the above problems, the invention according to claim 1 is an object detection system including:
a depth image detector that detects a depth image from an external environment; and
a moving object extractor that extracts a moving object desired to be extracted from the depth image,
wherein the moving object extractor registers in advance the depth image in a memory as a background while the moving object to be extracted does not exist, and extracts only a pixel whose current depth is present on a nearer side than a depth of the background as a candidate for a pixel corresponding to the moving object to be extracted.
According to the present invention, the above-described cases (1), (2), and (3) are solved respectively as will be described below.
The above-described (1) “CASE WHERE THERE IS REFLECTIVE OBJECT SUCH AS GLASS OR PUDDLE”
Since reflected-back light returns from a place farther away than the background (glass or a puddle), its depth is greater than that of the background. Therefore, if only the nearer side than the background is extracted, these pixels are not included.
The above-described (2) “CASE WHERE THERE IS OBJECT, SUCH AS FENCE, THROUGH WHICH OTHER SIDE IS VISIBLE”
The object behind the fence has a depth greater than that of the background (fence). Therefore, if only the nearer side than the background is extracted, these pixels are not included.
The above-described (3) “CASE WHERE BACKGROUND CHANGES”
By acquiring the background while a changing portion of the background is present in the foreground, a changed portion of the background is not extracted. For example, in a case of monitoring a platform of a station as shown in
The invention according to claim 2 is the object detection system according to claim 1, wherein the moving object extractor further makes a determination to extract, as the moving object to be extracted, a pixel from a pixel group composed of pixels of the candidates having been extracted, and for a portion not extracted as the moving object to be extracted, updates and registers a depth of the pixel in the memory as the depth of the background.
According to this invention, even in a case where it is difficult to acquire an optimum background particularly in the above-described case (3) where the background changes, and the like, the optimum background can be obtained by updating the depth of the background on the basis of information being measured.
The invention according to claim 3 is the object detection system according to claim 2, wherein the moving object extractor makes the determination in accordance with a size of a detected moving object.
According to this invention, in a case where it is desired to extract the person 11 walking on the platform 20 without setting the train 23 at the back of the platform 20 of the station as an extraction target as shown in
The invention according to claim 4 is the object detection system according to any one of claims 1 to 3, wherein when determining whether a pixel is present on a nearer side than the background registered in the memory, the moving object extractor sets a threshold value of a smallest changing depth, and extracts only a pixel present on a nearer side than the depth of the background by more than or equal to the threshold value as a candidate for a pixel corresponding to the moving object to be extracted.
According to this invention, a pixel accidentally located on the nearer side than the background because of an error or noise can be prevented from being extracted erroneously.
According to the present invention as described above, irrespective of a background situation of a moving object desired to be extracted, the moving object to be extracted can be extracted accurately.
Hereinafter, an embodiment of the present invention will be described with reference to the drawings. The following is an embodiment of the present invention, and does not limit the present invention.
As shown in
Prior to moving object detection (flows of
After registering the background, the moving object extractor 2 acquires a depth image that the depth image detection device 10 outputs (S1) as shown in
Next, the moving object extractor 2 determines whether or not the current depth in the depth image is present on the nearer side than the depth of the background registered in the memory 2a (S2). That is, in step S2, the moving object extractor 2 compares a depth value of one pixel in the current depth image acquired from the depth image detection device 10 and a depth value of a pixel in the background depth image having the same coordinates with this one pixel to determine whether or not the former is smaller.
In the case of YES in step S2, the moving object extractor 2 extracts the one pixel targeted for determination as a moving object candidate pixel (S3). The moving object candidate pixel is a candidate for a pixel corresponding to a moving object desired to be extracted.
When determining whether the depth is smaller in step S2, not only by making a direct comparison, but also a threshold value for the smallest changing depth may be set, and only a pixel present on the nearer side than the depth of the background by more than or equal to the threshold value may be extracted as a moving object candidate pixel. Accordingly, a pixel accidentally located on the nearer side than the background because of an error or noise can be prevented from being extracted erroneously.
Upon executing the above-described steps S2 and S3 for all the pixels (YES in S4), the moving object extractor 2 executes moving object candidate pixel processing R1 (the flow of
As the moving object candidate pixel processing R1, the moving object extractor 2 divides moving object candidate pixels (pixel group) into clusters (S5) as shown in
Next, the moving object extractor 2 calculates the size of each cluster (S6). For example, the moving object extractor 2 calculates a vertical dimension, a horizontal dimension, a total area, and the like. Note that the “size” refers to actual dimensions, rather than an apparent size.
The moving object extractor 2 determines whether or not the size calculated in step S6 is smaller than or equal to a predetermined threshold value for specifying a moving object to be extracted (S7).
In the case of YES in step S7, the moving object extractor 2 extracts that cluster as the moving object to be extracted, and executes extraction target moving object processing R2. The extraction target moving object processing R2 is processing such as issuing a notification if the purpose is to monitor an intruder into a predetermined area, for example, and is not particularly limited in details.
In the case of NO in step S7, the moving object extractor 2 updates and registers the depth of pixels in that cluster in the memory 2a as the depth of the background (S8).
In the present embodiment, a determination is made to recognize the cluster as a moving object to be extracted in a case where the size is smaller than a prescribed size.
Accordingly, in a case where it is desired to monitor a platform of a station as shown in
Note that the above method of determining a moving object from moving object candidate pixels is an example, and another method may be used. Also in that case, an object not determined as an extraction target in the other method is set as a background pixel.
Description will be made further using a platform of a station as an example.
In the example of a platform of a station as shown in
When the target is classified from here depending on the size as in step S7, a cluster composed of depth pixels up to the person 11 becomes an extraction target, and a cluster composed of depth pixels up to the train 23 falls outside the extraction target, and the cluster composed of the depth pixels up to the train 23 is registered as the background.
Then, depth pixels present on the nearer side than a background depth image partly composed of the depth pixels up to the train 23 become moving object candidate pixels in the next and subsequent turns, and only the person 11 or the like present on the nearer side than the train 23 will be extracted as a moving object desired to be extracted.
If this is repeated several times, a background in a state where the train 23 exists is generated even if part of the train 23 is blocked partway by the person 11.
After completion of the background, update of the background may be stopped. Since it is not easy to determine whether or not the background has been completed correctly, measures for having a user make sure in the following manner may be taken.
That is, the moving object extractor 2 provides a device for having a user make sure by displaying most recent background depth images on a display 2b and for the user to input an instruction to stop update of the background, by means of the display 2b and an operation interface 2c.
According to the object detection system 1 of the present embodiment as described above, irrespective of a background situation of a moving object desired to be extracted, the moving object to be extracted can be extracted accurately.
The present invention can be utilized for detection of an object.
Number | Date | Country | Kind |
---|---|---|---|
JP2017-048587 | Mar 2017 | JP | national |
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/JP2018/008370 | 3/5/2018 | WO | 00 |
Publishing Document | Publishing Date | Country | Kind |
---|---|---|---|
WO2018/168552 | 9/20/2018 | WO | A |
Number | Name | Date | Kind |
---|---|---|---|
20110164185 | Park | Jul 2011 | A1 |
20160292522 | Chen et al. | Oct 2016 | A1 |
20170206423 | Ju | Jul 2017 | A1 |
Number | Date | Country |
---|---|---|
1772752 | Apr 2007 | EP |
2004191095 | Jul 2004 | JP |
2005300259 | Oct 2005 | JP |
2006064695 | Mar 2006 | JP |
2008275442 | Nov 2008 | JP |
2009085927 | Apr 2009 | JP |
2011185664 | Sep 2011 | JP |
2011185664 | Sep 2011 | JP |
2016013719 | Jan 2016 | WO |
Entry |
---|
International Search Report corresponding to Application No. PCT/JP2018/008370; dated May 1, 2018. |
Extended European Search Report corresponding to EP Application No. 18768274.5; dated Feb. 10, 2020. |
Lee Jichan et al: “Moving object detection using background subtraction and motion depth detection in depth image sequences”; The 18th IEEE International Symposium on Consumer Electronics (ISCE 2014), Jun. 22, 2014, pp. 1-2, XP032631169. |
International Preliminary Report on Patentability corresponding to Application No. PCT/JP2018/008370; dated Sep. 17, 2019. |
EPO Office Action corresponding to EP Application No. 18768274.5; dated Jun. 9, 2021. |
Number | Date | Country | |
---|---|---|---|
20200118284 A1 | Apr 2020 | US |