Object detection device and object detection method
The object detection system uses a video camera and three-dimensional sensor to enhance detection accuracy in low light by integrating point cloud data, addressing limitations of both visible light and infrared methods.
Patent Information
- Application Number
- JP2021154418
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2021-09-22
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2041-09-22
AI Technical Summary
Existing object detection methods using visible light video cameras struggle with low accuracy in low illumination conditions, while infrared methods are limited to detecting objects with heat.
An object detection system that combines a video camera and a three-dimensional sensor to calculate object existence and classification probabilities, using point cloud data to enhance detection accuracy in low illuminance by replacing object existence probabilities with point cloud occupancy rates when necessary.
Enables accurate object detection even in low light conditions by leveraging point cloud data to improve detection reliability and reduce false positives.
Smart Images

Figure 0007557447000002 
Figure 0007557447000006 
Figure 0007557447000001
Abstract
Description
[Technical field]
[0001] The present invention relates to an object detection device and an object detection method. [Background technology]
[0002] Methods for detecting objects from images include those described in Non-Patent Document 1 and Non-Patent Document 2. In the method described in Non-Patent Document 1, object regions and classifications are predicted by deep learning from images captured by a visible light video camera. In the method described in Non-Patent Document 2, people, cars, and the like are detected at night using images captured by a far-infrared video camera. [Prior art documents] [Patent documents]
[0003] [Non-Patent Document 1] A. Bochkovskiy, CY Wang and HY Mark Liao: YOLOv4: Optimal Speed and Accuracy of Object Detection, arXiv:2004.10934, 2020 [Non-Patent Document 2] Masaki Aoki: Application of infrared images to human detection, IPSJ Research Report Computer Vision and Image Media, 2004-CVIM-147, pp.105-113, 2005 Summary of the Invention [Problem to be solved by the invention]
[0004] In the method of detecting objects only from images taken with a visible light video camera, the detection is based on the features of the object in the image, so the detection accuracy decreases when the surrounding illumination is low and it is difficult to distinguish the object from the background. On the other hand, the method of detecting objects from images taken with an infrared video camera does not depend on illumination because it visualizes temperature information, but the detection target is limited to objects that have heat.
[0005] In view of the above problems, the present invention has an object to provide an object detection method capable of detecting an object even when the surrounding illuminance is low and it is difficult to distinguish the object from the background. [Means for solving the problem]
[0006] The technical means of the present invention for solving this technical problem is characterized by the following points. The object detection device comprises an object detection unit that calculates an object presence probability and an object classification probability for each object detection range from an image obtained as a result of imaging by an imaging means, and determines that an object of the classification with the highest object classification probability is present in the object detection range if the object presence probability is equal to or greater than a predetermined value, and a three-dimensional sensor that generates point cloud data including a detection range that includes the imaging range of the imaging means and includes information on at least the depth distance of objects present in the detection range, and the object detection unit assigns a point cloud based on the point cloud data to the object detection range, compares the object presence probability of the object detection range with the point cloud occupancy rate of the object detection range of the assigned point cloud, and if the point cloud occupancy rate is greater than the object presence probability data, determines the point cloud occupancy rate as the object presence probability of the object detection range. Effect of the Invention
[0007] According to the present invention, an object can be detected even when the surrounding illumination is low. [Brief description of the drawings]
[0008] [Figure 1] FIG. 1 is a functional block diagram showing the functional configuration of an object detection system 1 according to an embodiment of the present invention. [Diagram 2] FIG. 2 is a flowchart illustrating the low-illumination object detection process. [Diagram 3] FIG. 3 is a diagram showing an image of the calculation process of the object existence probability and the object classification probability. [Figure 4] FIG. 4 is a flowchart showing the details of step S2 in FIG. [Diagram 5] FIG. 5 is a diagram showing an image of a classification result of an object detection range. [Figure 6] FIG. 6 is a diagram showing an image of the process of allocating a point cloud to an object detection range.
[0009] FIG. 1 is a diagram showing the configuration of an object detection system 1 according to this embodiment.
[0010] The object detection system 1 is a system that detects objects that may become obstacles to the running of a railway vehicle, such as moving objects on or around the running track, such as people and vehicles, and stationary objects such as trees that have fallen onto the track.
[0011] The object detection system 1 includes a video camera 11 , a three-dimensional sensor 12 , and an object detection device 13 .
[0012] The video camera 11 is installed so as to be able to capture an image of a predetermined range in the forward direction of the railway vehicle, and outputs the captured image to the object detection device 13 .
[0013] The three-dimensional sensor 12 is a sensor that detects the position of an object in a three-dimensional space, such as a LiDAR (Laser Imaging Detection and Ranging) sensor or a three-dimensional millimeter wave sensor. The spatial coordinate system that defines the three-dimensional space is an orthogonal three-dimensional coordinate system or a polar coordinate system with the origin at a predetermined position within the range of the railway vehicle (for example, the installation position of the three-dimensional sensor 12). The three-dimensional sensor 12 is installed on the railway vehicle so as to be able to scan a detection range including the imaging range of the video camera 11, and outputs a detection signal obtained by scanning the detection range to the object detection device 13.
[0014] The three-dimensional sensor 12 includes a laser light source, a scanning unit, a light receiving element, and a detection circuit. The laser light source includes a plurality of laser emission units arranged in a row in one direction, and each of the laser emission units emits light. P It emits a pulse-like laser beam.
[0015] The scanning unit is a unit that scans each laser light. The scanning unit includes an optical element and a scanning actuator. The optical element is an element such as a reflector that directs each laser light in a predetermined irradiation direction. The scanning actuator is a device that rotates the optical element forward and backward at a predetermined scanning speed in a direction perpendicular to the arrangement direction of each laser light. The three-dimensional sensor 12 is installed on the railway vehicle in a position where the arrangement direction of each laser light and the scanning direction are aligned with the height direction of the railway vehicle and the direction perpendicular to the height direction (vehicle width direction), respectively.
[0016] The light receiving element is an element that receives the reflected light of each laser light pulse reflected by an object. The detection circuit detects the position of the reflection point on the surface of the object where each laser light is reflected based on the light receiving result by the light receiving element, and outputs it to the object detection device 13 as point cloud data.
[0017] The point cloud data includes information on the direction of each reflection point in spatial coordinates based on the railcar, and the distance of each reflection point. The detection circuit determines the direction of the reflection point based on the reception direction of the reflected light (i.e., the irradiation direction of the laser light that is the source of the reflected light). The detection circuit also determines the distance of the reflection point based on the time from the irradiation of the laser light to the reception of the reflected light. The position (coordinate point) of the reflection point in the spatial coordinates is uniquely identified by the direction and distance of the reflection point.
[0018] The object detection device 13 includes a computer having a processor such as a CPU (Central Processing Unit) or MPU (Micro-Processing Unit), a memory device (also called a main memory device) such as a ROM (Read Only Memory) or RAM (Random Access Memory), a storage device (also called an auxiliary memory device) such as an HDD (hard disk drive) or SSD (Solid State Drive), and an interface circuit for connecting sensors, peripheral devices, etc. In the object detection device 13, the processor executes a computer program stored in the memory device or storage device, thereby realizing various functional configurations for detecting an object.
[0019] The object detection device 13 includes an image input unit 21, a point cloud data input unit 22, an object detection unit 23, and an output control unit 24. The image input unit 21 acquires a captured image from the video camera 11, and outputs it to the object detection unit 23. The point cloud data input unit 22 acquires point cloud data from the 3D sensor 12, and outputs it to the object detection unit 23.
[0020] The object detection unit 23 detects an object based on the captured image from the video camera 11 and the point cloud data from the three-dimensional sensor 12, and outputs the detection result to an external device via the output control unit 24. Specifically, the object detection unit 23 uses data (hereinafter referred to as learned data) stored in the storage unit 31 that has been previously learned about an object by machine learning to calculate the probability that an object exists in the object detection range (hereinafter referred to as object existence probability) and the probability that the object is a predetermined classification (hereinafter referred to as object classification probability). When the object existence probability or the product of the object existence probability and the object classification probability is greater than a normal judgment reference value, the object detection unit 23 determines that an object exists in the detection range and that the object is a classification with the highest object classification probability (for example, a person, a car, or a traffic light). Hereinafter, this processing is referred to as AI (artificial intelligence) object detection processing. When the surrounding illuminance is low, such as when a train is traveling at night, and it is difficult to distinguish an object from the background using AI object detection processing, the object detection unit 23 performs object detection using the occupancy rate of the point cloud in the object detection range (hereinafter referred to as the point cloud occupancy rate) as the object existence probability, as described below. Hereinafter, this processing will be referred to as low illuminance object detection processing.
[0021] The object detection unit 23 may detect an obstacle without using machine learning. For example, the object detection unit 23 may calculate an object existence probability and an object classification probability based on a captured image using a publicly known or well-known image recognition method.
[0022] The low illuminance object detection process performed by the object detection unit 23 will be described with reference to the flowchart of FIG.
[0023] In step S1, object detection unit 23 of object detection device 13 calculates an object presence probability and an object classification probability based on an image captured by video camera 11 input via image input unit 21. Fig. 3 is a diagram showing an image of the calculation process of object presence probability and object classification probability. When the image shown in Fig. 3(A) is input, object detection unit 23 uniformly or randomly sets object detection ranges (rectangular frames in the figure) of various sizes in the image as shown in Fig. 3(B), and calculates an object presence probability and an object classification probability for each object detection range.
[0024] Next, in step S2, the object detection unit 23 replaces the calculated object existence probability by using the point cloud data input via the point cloud data input unit 22. Details of this process will be described later.
[0025] In step S3, object detection unit 23 outputs an object detection result based on the object presence probability and object classification probability for each object detection range. If an object detection range exists that has an object presence probability equal to or greater than the normal judgment reference value, or the product of the object presence probability and the object classification probability, object detection unit 23 outputs as a detection result that an object exists in that object detection range, and that the object belongs to a classification (e.g., a person) with the highest object classification probability in the object detection range.
[0026] Fig. 4 is a flowchart showing the details of step S2 in Fig. 2. The following process is performed for each object detection range.
[0027] In step S11, the object detection unit 23 classifies an object estimated to be present in the object detection range based on the object classification probability. Since a probability is assigned to each of a plurality of categories in the object detection range (e.g., person=0.99, traffic light=0.01, dog=0, etc.), the classification with the highest probability is identified as the classification of the object estimated to be present in the object detection range.
[0028] In step S12, the object detection unit 23 classifies the object detection ranges by the size of the object detection ranges according to the classification of the object in step S11. For example, if the classification of the object is "person", an object detection range with a size of 50px×100px or more is classified as an object detection range (large), an object detection range with a size of 30px×60px to 50px×100px is classified as an object detection range (medium), and an object detection range with a size smaller than 30px×60px is classified as an object detection range (small). Also, if the classification of the object is "truck", an object detection range with a size of 260px×120px or more is classified as an object detection range (large), an object detection range with a size of 160px×75px to 260px×120px is classified as an object detection range (medium), and an object detection range with a size smaller than 160px×75px is classified as an object detection range (small).
[0029] Fig. 5 is a diagram showing an image of the classification results of object detection ranges. In the figure, the object detection range indicated by the two-dot chain line is classified as the object detection range (large), the object detection range indicated by the one-dot chain line is classified as the object detection range (medium), and the object detection range indicated by the solid line is classified as the object detection range (small). Note that the two-dot chain line, one-dot chain line, etc. in Fig. 5 are shown to show the classification of the object detection ranges.
[0030] Returning to Fig. 4, in step S13, object detection unit 23 assigns a point cloud to the object detection range depending on the classification of the object detection range in step S13. When the classification of the object is "person", for example, a point cloud with a distance from 3D sensor 12 (hereinafter referred to as depth) of less than 100 m is assigned to an object detection range classified as an object detection range (large), a point cloud with a depth of 100 m or more and less than 200 m is assigned to an object detection range classified as an object detection range (medium), and a point cloud with a depth of 200 m or more is assigned to an object detection range classified as an object detection range (small).
[0031] Fig. 6 is a diagram showing an image of the point cloud allocation process to object detection ranges. Fig. 6 shows an example in which the classification of an object is "person", and point cloud G1 with a depth of 50 mm is assigned to object detection range W1 classified as object detection range (large), point cloud G2 with a depth of 150 mm is assigned to object detection range W2 classified as object detection range (medium), and point cloud G3 with a depth of 250 mm is assigned to object detection range W3 classified as object detection range (small).
[0032] Note that a portion of point cloud G2 exists in both object detection range W2 and object detection range W4. In this example, since the depth of point cloud G2 is 150 mm, point cloud G2 is assigned to object detection range W2, which is classified as an object detection range (medium). In other words, when a portion of a point cloud exists in multiple object detection ranges, it is assigned to an object detection range that corresponds to the distance of the point cloud.
[0033] 4, in step S14, object detection unit 23 calculates the point cloud occupancy rate of the object detection range of the point cloud assigned to the object detection range. Specifically, the number of dots in the point cloud / the number of pixels in the object detection range is calculated as the point cloud occupancy rate.
[0034] Next, in step S15, the object detection unit 23 compares the object presence probability in the object detection range with the point cloud occupancy rate of the assigned point cloud to determine whether the point cloud occupancy rate is greater than the object presence probability, and if it is determined that the point cloud occupancy rate is greater than the object presence probability, in step S16, it replaces the point cloud occupancy rate with the object presence probability in the object detection range.
[0035] If the point cloud occupancy is replaced with the object presence probability in the object detection range in step S16, or if it is determined in step S15 that the point cloud occupancy is not greater than the object presence probability, the process returns to step S3 in Fig. 2. In step S3, if there is an object detection range having an object presence probability equal to or greater than the normal judgment reference value, object detection unit 23 outputs as a detection result "an object exists in the object detection range, and the object is an object of the classification (e.g., a person) with the highest object classification probability in the object detection range."
[0036] (effect) The system is equipped with an object detection unit 23 that calculates an object presence probability and an object classification probability for each object detection range from the captured image obtained as a result of capture by video camera 11, and determines that an object of the classification with the highest object classification probability is present in the object detection range if the object presence probability or the product of the object presence probability and the object classification probability is equal to or greater than a predetermined value, and a 3D sensor 12 that generates point cloud data including a detection range that includes the capture range of video camera 11 and includes information on at least the depth distance of objects present in the detection range, and the object detection unit 23 assigns a point cloud based on the point cloud data to the object detection range (step S13 in Figure 4, Figure 6), compares the object presence probability of the object detection range with the point cloud occupancy of the object detection range of the assigned point cloud, and if the point cloud occupancy is greater than the object presence probability data, determines the point cloud occupancy to be the object presence probability of the object detection range (step S16). Therefore, for example, when the illuminance is low in the evening, the object presence probability in the AI object detection process may be smaller than the normal judgment reference value even if an object is present, and the object may not be detected. However, by assigning a point cloud from the 3D sensor 12, which is not affected by the surrounding illuminance, to the object detection range, and when the point cloud occupancy rate is larger than the object presence probability, the point cloud occupancy rate is set as the object presence probability for the object detection range, so that a more accurate object presence probability can be set, and as a result, objects can be detected appropriately.
[0037] The object detection unit 23 classifies the object detection range by its size according to the classification of the object (step S12), and assigns a point cloud that is close to the 3D sensor 12 to a larger object detection range, and assigns a point cloud that is far from the 3D sensor 12 to a smaller object detection range (step S13). That is, the point cloud is assigned to the object detection range according to the magnitude of the distance from the three-dimensional sensor 12. Therefore, the point cloud can be assigned to the object detection range according to the depth of the point cloud. This is expected to have the effect of preventing erroneous detection and overdetection.
[0038] In addition, since the size of the object detection range for a nearby small object (e.g. a person) and a distant large object (e.g. a truck) is approximately the same, the object detection range is based on the predicted object classification, allowing for more accurate allocation of point clouds to the object detection range. [Explanation of symbols]
[0039] 11. Video camera 12. 3D sensor 13. Object detection device 21 Image input unit 22 Point cloud data input section 23. Object detection unit
Claims
1. an object detection unit that calculates an object existence probability and an object classification probability for each object detection range from an image captured by the imaging means, and determines that an object of the classification with the highest object classification probability exists in the object detection range when the object existence probability or the product of the object existence probability and the object classification probability is equal to or greater than a predetermined value; a three-dimensional sensor that generates point cloud data including information on distances in at least a depth direction of objects present in the detection range, the three-dimensional sensor including an imaging range of the imaging means; Equipped with The object detection unit assigns a point cloud based on point cloud data to the object detection range, compares an object presence probability of the object detection range with a point cloud occupancy rate of the object detection range of the assigned point cloud, and if the point cloud occupancy rate is greater than the object presence probability, sets the point cloud occupancy rate as the object presence probability of the object detection range. Object detection device.
2. 2. The object detection device according to claim 1, The object detection unit classifies the object detection ranges by the size of the object detection ranges according to the classification of the object, and assigns a point cloud having a short distance from the three-dimensional sensor to a large object detection range and a point cloud having a long distance from the three-dimensional sensor to a small object detection range. Object detection device.
3. An object detection method for an object detection device having an object detection unit and a point cloud data input unit, comprising: the object detection unit has an object detection step of calculating an object existence probability and an object classification probability for each object detection range from an image captured by the imaging means, and determining that an object of a classification with the highest object classification probability is present in the object detection range when the object existence probability is equal to or greater than a predetermined value; the point cloud data input unit has an input step of inputting the point cloud data from a three-dimensional sensor that generates point cloud data including information on distances in at least a depth direction of objects present in a detection range that includes an imaging range of the imaging means, In the object detection step, a point cloud based on point cloud data is assigned to the object detection range, and an object presence probability of the object detection range is compared with a point cloud occupancy rate of the object detection range of the assigned point cloud. If the point cloud occupancy rate is greater than the object presence probability, the point cloud occupancy rate is set as the object presence probability of the object detection range. Object detection methods.
4. The object detection method according to claim 3, The object detection step classifies the object detection ranges by the size of the object detection ranges according to the classification of the object, and assigns a point cloud having a short distance from the three-dimensional sensor to a large object detection range and a point cloud having a long distance from the three-dimensional sensor to a small object detection range. Object detection methods.
Citation Information
Patent Citations
Image processing device and method, and program
JP2021099698A
Image processing device, image processing method, and recording medium
WO2020179065A1
