The present application claims priority from Japanese application JP2021-133626, filed on Aug. 18, 2021, the contents of which is hereby incorporated by reference into this application.
The present invention relates to a distance measurement system.
In the related art, in some cases, a distance measurement device is used to detect an object. Here, JP No. 2014-149761 A discloses a technique that suppresses erroneous detection of a person.
That is, JP No. 2014-149761 A discloses an information processing device (PC) that is provided with a temperature sensor and a distance measurement sensor for detecting the presence of a user. A temperature sensor element is attached to an electronic substrate of the temperature sensor. The temperature sensor element detects the temperature of an object present in a detection target area. Therefore, the temperature sensor detects the temperature of a target object that faces a display screen of the PC in a non-contact manner. The distance measurement sensor can measure the distance to the user or the object facing the display screen of the PC and can detect the presence or absence of the user. Then, the information processing device determines that the object is the body of the user of the information processing device when the distance to the object measured by the distance measurement sensor is less than a predetermined distance threshold value and the temperature of the object detected by the temperature sensor is greater than a predetermined temperature threshold value.
However, it is considered that only the simple threshold value determination may not suffice for the accuracy of detecting the object.
Therefore, an object of the invention is to provide a distance measurement system that can ensure good object detection accuracy.
According to the invention, the following distance measurement system is provided. The distance measurement system includes a processor, a distance measurement device, and a heat detection device. The distance measurement device measures a distance and generates a distance image. The heat detection device measures a temperature and generates a temperature image. The processor associates the distance image and the temperature image acquires from the same point of view and determines whether or not a subject is an object on the basis of a distance value and a temperature value at the same position in the images.
According to the invention, it is possible to provide a distance measurement system that can ensure good object detection accuracy.
An embodiment of the invention will be described with reference to the drawings.
In this embodiment, the three-dimensional distance measurement device 11 and the heat detection terminal 31 are disposed so as to perform measurement from the same point of view. In addition, the three-dimensional distance measurement device 11, the heat detection terminal 31, and the PC 51 include interfaces (not illustrated). Then, the PC 51 can acquire data from the three-dimensional distance measurement device 11 and the heat detection terminal 31 through the interface and perform data processing.
First, the three-dimensional distance measurement device 11 will be described in detail. The three-dimensional distance measurement device 11 is a device that can measure the distance to a subject and generate a distance image I1 and is a TOF sensor in this embodiment. The TOF sensor measures the distance on the basis of so-called time of flight (TOF). The three-dimensional distance measurement device 11 includes a light emitting unit 12, a light receiving unit 13, a distance calculation unit 16, and a distance image generation unit 17.
The light emitting unit 12 emits pulsed irradiation light emitted by a light source such as a laser diode (LD) or a light emitting diode (LED). The light receiving unit 13 receives pulsed reflected light which has been reflected and returned, using an image sensor, such as a CCD or a CMOS, in which pixels two-dimensionally are arranged and converts the pulsed reflected light into an electric signal.
The distance calculation unit 16 calculates the distance to the subject from an output signal of the light receiving unit 13. The distance image generation unit 17 generates the distance image I1, in which the distance to the subject is expressed in color, on the basis of the calculated distance. For example, the distance image generation unit 17 can generate an image that becomes closer to red as the distance to the subject becomes shorter and becomes closer to blue as the distance to the subject becomes longer (for convenience, the distance is shown in grayscale in the drawings).
Here, the distance image I1 generated by the three-dimensional distance measurement device 11 will be described in detail with reference to
The irradiation light is emitted from the light emitting unit 12 of the three-dimensional distance measurement device 11, and the light receiving unit 13 receives reflected light which has been reflected from a subject P1 and a subject P2 located in a measurement direction (that is, the direction of the point of view from the three-dimensional distance measurement device 11). Then, the distance calculation unit 16 calculates the distances to the subject P1 and the subject P2, and the distance image generation unit 17 generates the distance image I1 including color pixels corresponding to the distances. Further, in this example, the subject P2 is farther than the subject P1. Therefore, in this example, in the distance image I1, the subject P2 is represented by a color indicating a position that is farther than the subject P1. Specifically, in this example, the subject P2 is represented in blue, and the subject P1 is represented in green. Furthermore, a difference between distance values to each part of the subject (that is, an uneven shape of the subject) is expressed by colors from a difference in the light receiving timing at the pixel positions of the image sensor.
In addition, the subject P1 is located on the left side of the subject P2. Therefore, in the distance image I1, the subject P1 is displayed on the left side of the subject P2. Here, in the distance image I1, when a right-left direction is the x direction, an up-down direction is the y direction, and a distance z is considered by the colors of the pixels, the subject P1 at a distance z1 is displayed at a position (x1, y1) in the distance image I1, and the subject P2 at a distance z2 is displayed at a position (x2, y2) in the distance image I1.
The distance image I1 of the two-dimensional image has been described above. However, the distance image generation unit 17 may generate the distance image I1 of a three-dimensional image corresponding to the two-dimensional image. In the three-dimensional image, the subject is represented by a point group, and the distance to the subject is represented by the color of the point group. In this example, the subject P1 is represented in green, and the subject P2 is represented in blue as in the case of the two-dimensional image.
Further, the distance calculation unit 16 and the distance image generation unit 17 of the three-dimensional distance measurement device 11 are programs, and these processes are performed by an appropriate processing device 21 (for example, a CPU) included in the three-dimensional distance measurement device 11. Furthermore, the three-dimensional distance measurement device 11 may include other programs (for example, a program related to motion control). The three-dimensional distance measurement device 11 may include an appropriate storage device 22 (for example, a ROM) that stores data such as programs. In addition, the three-dimensional distance measurement device 11 may include a RAM that temporarily stores data at the time of data processing.
Next, the heat detection terminal 31 will be described in detail. The heat detection terminal 31 is a device that can measure the temperature of the subject in a non-contact manner and generate a two-dimensional image of the temperature of the subject. The heat detection terminal 31 includes a temperature sensor 32, a temperature calculation unit 36, and a temperature image generation unit 37.
The temperature sensor 32 is a sensor used to measure temperature and can be a known non-contact-type sensor. The temperature sensor 32 acquires, for example, information on the intensity of infrared rays emitted from an object.
The temperature calculation unit 36 calculates the temperature of the subject from an output signal of the temperature sensor 32. The temperature image generation unit 37 generates a two-dimensional temperature image 12 in which the temperature T of the subject (Temp in the drawings) is expressed in color on the basis of the calculated temperature. For example, the temperature image generation unit 37 can generate an image that becomes closer to red or white as the temperature becomes higher and becomes closer to blue or black as the temperature becomes lower (for convenience, the image is shown in grayscale in the drawings).
Here, the temperature image I2 generated by the heat detection terminal 31 will be described in detail with reference to
The heat detection terminal 31 measures the temperature of the subject P1 and the subject P2 from, for example, infrared rays emitted from the subject P1 and the subject P2 located in the measurement direction (that is, the direction of the point of view of the heat detection terminal 31). Here, the temperature image generation unit 37 generates the temperature image I2 including color pixels corresponding to the temperature. In addition, in this example, since the same temperature is measured from the subject P1 and the subject P2, the subject P1 and the subject P2 are represented by the same color in the temperature image 12.
The subject P1 and the subject P2 are measured at the same place as that in the case of the three-dimensional distance measurement device 11. Then, as described above, since the three-dimensional distance measurement device 11 and the heat detection terminal 31 perform measurement from the same point of view, the subject P1 and the subject P2 in the temperature image 12 are displayed at the same positions as the distance image I1. That is, in the temperature image 12, when a right-left direction is the x direction, an up-down direction is the y direction, and the temperature T is considered in color, the subject P1 at a temperature T1 (Temp1) is displayed at a position (x1, y1) corresponding to that in the distance image I1, and the subject P2 at a temperature T2 (Temp2) is displayed at a position (x2, y2) corresponding to that in the distance image I1.
In addition, the temperature calculation unit 36 and the temperature image generation unit 37 are programs, and these processes are performed by an appropriate processing device 41 (for example, a CPU) included in the heat detection terminal 31. Further, the heat detection terminal 31 may be any device as long as it can appropriately generate the temperature image 12 and may include, for example, a camera. Then, the heat detection terminal 31 may generate the temperature image 12 using image data acquired by the camera. Furthermore, the heat detection terminal 31 may include other programs (for example, a program related to motion control). The heat detection terminal 31 may include an appropriate storage device 42 (for example, a ROM) that stores data such as programs. Further, the heat detection terminal 31 may include a RAM that temporarily stores data at the time of data processing.
The PC 51 can be a general computer and includes a processor 52 and a storage device 53. The processor 52 may be any device that can mainly perform a predetermined process and can be, for example, a CPU. The processor 52 may be other semiconductor devices (for example, a GPU). The storage device 53 can store data used for processes and can be an appropriate device such as a ROM. In addition, the PC 51 may include a RAM that temporarily stores data at the time of data processing. In this embodiment, the processor 52 executes an object detection program 61 to determine whether or not the subject is an object.
Next, the process of the object detection program 61 will be described.
In the execution of the object detection program 61, first, distance data as position information and temperature data as temperature information are acquired from the three-dimensional distance measurement device 11 and the heat detection terminal 31 acquire, and the process is performed while associating the distance data with the temperature data (S101). In Step 101, for example, the distance image I1 that includes a distance value and serves as the position information and the temperature image 12 that includes a temperature value and serves as the temperature information may be acquired, and the process may be performed while associating these data items to generate an association image 13 in which the distance image I1 and the temperature image 12 have been associated with each other.
For example, the association image 13 of a three-dimensional image illustrated in
Next, object detection using distance data is performed (S102). Here, an example of the object detection in Step 102 will be described in detail with reference to
As illustrated in
In addition, the portion in which two or more voxels are vertically arranged may be detected as an object on the basis of the movement distance and movement speed of the portion. Further, the voxel may be formed so as to include a predetermined number or more of point groups. Here, the number of point groups included in the voxel may be determined according to the distance value.
Here, the object detection based on the three-dimensional image has been described. However, object detection based on a two-dimensional image may be performed. In a case in which a two-dimensional image is used, for example, an aggregated portion with a size equal to larger than a predetermined size (or larger than the predetermined size) among the aggregated portions of the pixels in which the distance value is output may be detected as an object.
In a case in which an object is detected in Step 102, a process in Step 103 is performed. On the other hand, in a case in which no object is detected in Step 102, it is not determined that the subject is an object (S106).
Then, temperature detection based on temperature data is performed, and an object is detected (S103). That is, in Step 103, it is determined whether or not the temperature of the portion in which the object has been detected in Step 102 is within a predetermined range.
Then, in a case in which the temperature of the portion, in which the object has been detected in Step 102, within the predetermined range is detected, the object is detected, and the portion (that is, the detected subject) is determined to be an object (S105). On the other hand, in a case in which the temperature within the predetermined range is not detected, the portion is not determined to be an object (S106). In addition, it may be determined whether or not the temperature of the entire portion in which the object has been detected in Step 102 is within the predetermined range, or it may be determined whether or not the temperature of a part of the portion is within the predetermined range.
Further, the temperature measured by the temperature sensor 32 depends on the distance to the subject. That is, as illustrated in
In Step 102, the process based on the association image I3 acquired in Step 101 may be performed. That is, the process may be performed on the portion in which the distance value is output in the association image 13. In addition, the process may be performed on the portion in which the distance value is output in the distance image I1 acquired from the three-dimensional distance measurement device 11 instead of the association image 13.
Further, in Step 103, the process based on the association image I3 acquired in Step 101 may be performed. That is, in Step 103, the temperature of the portion in which the object has been detected in Step 102 may be acquired from the association image 13, and it may be determined whether or not the temperature value is within a predetermined range. In addition, the temperature of the portion in which the object has been detected in Step 102 may be acquired from the temperature image I2 acquired from the heat detection terminal 31 instead of the association image 13, and it may be determined whether or not the temperature value is within a predetermined range. Further, similarly, the temperature to be corrected in Step 104 may be acquired.
In a case in which the association image 13 is not used in the processes related to Steps 102 to 104 (that is, in a case in which the subject to be determined to be an object is detected from the pixels or the point group having the distance value of the distance image I1 and it is determined whether or not the temperature value is within a predetermined temperature range), the process of generating the association image 13 may be omitted in Step 101.
According to the process of the object detection program 61, an object is detected by the object detection process, and it is determined whether or not the object has a temperature value within a predetermined range, which makes it possible to determine whether or not the subject is an object with high accuracy.
Next, an example of the use of the distance measurement system 1 will be described with reference to
The three-dimensional distance measurement device 11 can measure the distance to the subject by emitting the irradiation light and receiving the reflected light from the subject and generate the distance image I1. Here, when the subject is located near an object with high reflectance (for example, a mirror, glass, a transparent partition, or the like, which is referred to as a reflector R in some cases), light used for measurement may be reflected from the reflector R. In this case, the three-dimensional distance measurement device 11 receives the light reflected from the reflector R. Then, the three-dimensional distance measurement device 11 erroneously detects a fake subject reflected from the reflector R. As a result, the three-dimensional distance measurement device 11 may output distance data including the fake subject. That is, the three-dimensional distance measurement device 11 may calculate a distance value related to the fake subject and generate the distance image I1 including the fake subject. Therefore, in this environment, it is difficult to ensure good object detection accuracy only by performing measurement with the three-dimensional distance measurement device 11.
For this reason, the distance measurement system 1 according to this embodiment acquires the temperature image 12 corresponding to the distance image I1 from the heat detection terminal 31 and determines an object on the basis of the distance value and the temperature value at the same position in the images. Therefore, it is possible to suppress the erroneous detection of an object and to ensure good object detection accuracy.
In addition, in this example, since the subject is the human body, it is possible to determine whether or not the subject is an object on the basis of whether the temperature value to be measured is within a temperature range (for example, 35° C. to 40° C.) corresponding to the human body. That is, in a case in which the subject is determined to be the human body (person), the temperature range can be set within a range corresponding to the human body temperature. However, the subject may be objects other than the human body. The temperature range corresponding to the subject may be appropriately set, and the determination may be performed on the basis of this temperature range.
Data processing is performed only on the subject determined to be an object and is not performed on the subject determined not to be an object, which makes it possible to improve the accuracy of movement trace and people counting. Here, for example, the movement trace and the people counting can be performed using an appropriate application. For example, the processor 52 of the PC 51 may perform a process, in which the object detection program 61 and an application have been associated with each other, to perform the process related to the movement trace and the people counting.
The invention is not limited to the above-described embodiment and includes various modification examples. For example, the above-described embodiment has been described in detail for a better understanding of the invention and is not necessarily limited to those including all of the configurations of the description. In addition, according to this embodiment, there is provided a distance measurement method using the processor 52, a distance measurement device (the three-dimensional distance measurement device 11) that measures a distance and generates the distance image I1, and a heat detection device (heat detection terminal 31) that measures temperature and generates the temperature image 12. The processor 52 associates the distance image I1 and the temperature image I2 acquired from the same point of view and determines whether or not a subject is an object on the basis of a distance value and a temperature value at the same position in the images.
The distance measurement system 1 may include a plurality of three-dimensional distance measurement devices 11 and a plurality of heat detection terminals 31 and perform a process using data acquired from these devices. Here, the three-dimensional distance measurement devices 11 and the heat detection terminals 31 are appropriately disposed such that each pair thereof performs measurement from the same point of view. Then, in the execution of the object detection program 61, the processor 52 may determine whether or not the subject is an object on the basis of data acquired from each of the pairs of the three-dimensional distance measurement devices 11 and the heat detection terminals 31.
In the above description, the PC 51 includes the storage device 53. However, any configuration may be used as long as the processor 52 can perform a predetermined process, and the processor 52 may acquire data from the outside (for example, an external storage device) and perform the process. In this case, the storage device 53 of the PC 51 may be omitted.
In the above description, an example using the PC 51 has been described. However, any configuration may be used as long as a predetermined process can be implemented by the processor 52, and other types of computers and the like may be used instead of the PC 51.
Number | Date | Country | Kind |
---|---|---|---|
2021-133626 | Aug 2021 | JP | national |