Vehicle Detection Device
The vehicle detection device uses a camera to diagonally capture multiple lanes, employing image processing to track vehicle movement and lane changes, ensuring accurate detection and preventing traffic congestion misjudgments.
Patent Information
- Application Number
- JP2020088220
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2020-05-20
- Publication Date
- 2024-10-28
- Estimated Expiration
- 2040-05-20
AI Technical Summary
Conventional vehicle detection systems using ultrasonic sensors require multiple sensors per lane, increasing installation costs and making it difficult to secure installation locations, while image processing systems struggle to accurately identify vehicles crossing lanes or changing lanes, leading to erroneous detection or loss of vehicle sight.
A vehicle detection device that uses a camera to photograph multiple lanes diagonally, with a detection area set for each lane, employing image processing to recognize vehicles, track their movement, and determine lane changes, outputting signals based on vehicle position, speed, and occupancy time.
Stably detects vehicles passing through each lane, even when crossing or changing lanes, without overlooking them, and outputs signals similar to ultrasonic systems, preventing erroneous traffic congestion determinations.
Smart Images

Figure 0007573988000001 
Figure 0007573988000002 
Figure 0007573988000003
Abstract
Description
[Technical field]
[0001] The present invention relates to a vehicle detection device that detects vehicles traveling on a road, and more particularly to a vehicle detection device that uses image processing technology. [Background technology]
[0002] Conventionally, in order to provide traffic information such as traffic congestion, vehicle detectors are installed near intersections, for example, and information such as traffic volume and congestion obtained from the output of the detectors is transmitted to a traffic control center. For example, in the system disclosed in Patent Document 1, as shown in Fig. 7, an ultrasonic sensor SS installed at a predetermined height above the road detects vehicles passing within a predetermined area (detection area IA) below and outputs a detection signal IS.
[0003] In such vehicle detection using ultrasonic sensors, if there are multiple lanes on a road, a detection area is set for each lane and an ultrasonic sensor is installed almost directly above it. In other words, one ultrasonic sensor is required for each lane, which increases installation costs and makes it difficult to secure installation space, so that multiple ultrasonic sensors must be installed on a long arm extending from a pillar erected on the side of the road, for example.
[0004] In response to this, for example, Patent Document 2 discloses a method for recognizing a vehicle in an image captured by a camera (imaging device) that overlooks multiple lanes and calculating its traveling direction and traveling speed. That is, the pixel coordinates of the front end position or center of gravity position of the vehicle recognized in the image are calculated, and the pixel coordinates are converted to actual road coordinates, after which the traveling speed of the vehicle for each traveling direction is calculated. [Prior art documents] [Patent documents]
[0005] [Patent Document 1] Japanese Patent Application Publication No. 6-162388 [Patent Document 2] JP 2004-030484 A Summary of the Invention [Problem to be solved by the invention]
[0006] However, in the vehicle detection using the image processing technology disclosed in the above-mentioned Patent Document 2, multiple lanes are photographed at the same time from a bird's-eye view, and multiple vehicles are recognized in the image, so it is not always possible to identify a vehicle passing through a detection area set for each lane, and even if a vehicle is identified once, there is a risk that it will be lost afterwards. In other words, it is difficult to stably detect vehicles in a detection area like an ultrasonic sensor.
[0007] That is, among vehicles that actually travel on roads, some travel across adjacent lanes or meander, and some suddenly change lanes before an intersection, etc. In such cases, vehicles are recognized in both lanes in the image, which may result in erroneous detection of a vehicle passing through a detection area, or the vehicle moving to an adjacent lane may be lost, resulting in the vehicle passing through the detection area being overlooked.
[0008] The present invention has been made in consideration of the above problems, and its purpose is to recognize vehicles in images captured of multiple lanes on a road, and to be able to stably detect vehicles passing through the detection area for each lane, even if the vehicle drives across lanes, meanders, or changes lanes, without overlooking them, just as with systems that use conventional ultrasonic sensors. [Means for solving the problem]
[0009] (1) One aspect of the present invention is a vehicle detection device that detects a vehicle passing through a detection area preset on a road, the device comprising: an imaging device that photographs a plurality of lanes from an obliquely upward perspective over the road and photographs the detection area; and a vehicle recognition unit that recognizes a moving object in time-series image data photographed at a predetermined interval by the imaging device, the detection area being set for each lane within an imaging range photographed by the imaging device; a lane identification unit that detects in which of a plurality of detection areas the moving object is present based on the moving object recognized by the vehicle recognition unit, and determines the lane in which the moving object is traveling; a lane change determination unit that determines whether the moving object will move to an adjacent lane based on the trajectory of the moving object moving through the detection area; and a signal output unit that outputs traveling lane information as a detection signal after the moving object has passed through the detection area. (2) In the above aspect (1), the vehicle recognition unit may label a predetermined position of the recognized moving body as a representative position, and the lane change determination unit may determine that the moving body will change lanes to the adjacent lane when the direction of movement of a straight line connecting the representative positions of two predetermined points traveled by the moving body is inclined toward the adjacent lane by a predetermined first angle or more with respect to the direction of the current lane. (3) In the above aspect (1), the vehicle recognition unit may label a predetermined position of the recognized moving body as a representative position, and the lane change determination unit may determine that the moving body will change lanes to the adjacent lane when the direction of movement of a straight line connecting the representative positions of two predetermined points traveled by the moving body is inclined toward the adjacent lane by at least a second angle smaller than the first angle with respect to the direction of the current lane, and when the distance from the representative position to the boundary of the adjacent lane is equal to or less than a predetermined distance. (4) In the aspect of (1) above, the vehicle recognition unit may label a predetermined position of the recognized moving body as a representative position, and the lane identification unit may determine which of the detection areas the representative position is located in when the moving body passes a predetermined point in the detection area, and thereby determine the lane in which the moving body is traveling. (5) In any of the above aspects (1) to (4), the present invention may include a vehicle length calculation unit that calculates the length of the moving body recognized by the vehicle recognition unit, a vehicle speed calculation unit that calculates the traveling speed of the recognized moving body, and an occupancy time calculation unit that calculates an occupancy time, which is the time it takes for the recognized moving body to pass through the detection area, from the length and traveling speed of the recognized moving body, and the signal output unit may be configured to output occupancy time information as the detection signal, a pulse signal having a length corresponding to the calculated occupancy time. (6) In the aspect (5) above, the signal output unit may be configured to output the driving lane information and the occupancy time information when it receives the lane in which the moving body is traveling from the lane identification unit and the occupancy time of the moving body from the occupancy time calculation unit. Effect of the Invention
[0010] The vehicle detection device of the present invention recognizes vehicles in images captured of multiple lanes on a road, and can stably detect vehicles passing through the detection area for each lane, just as with systems that use conventional ultrasonic sensors, even if the vehicle drives across lanes, meanders, or changes lanes. [Brief description of the drawings]
[0011] [Figure 1] 1 is a diagram showing a schematic configuration of a vehicle detection device according to an embodiment of the present invention; [Diagram 2] FIG. 2 is an explanatory diagram showing an example of a vehicle, a detection area, etc. in a captured image. [Diagram 3] FIG. 2 is a functional block diagram showing a configuration of a detection calculation device. [Figure 4A] FIG. 3 is a view equivalent to FIG. 2 and showing an example of a vehicle traveling across adjacent lanes. [Figure 4B] FIG. 3 is a view equivalent to FIG. 2 and illustrating an example of a vehicle changing lanes by zigzagging. [Figure 5A] FIG. 2 is an explanatory diagram of lane discrimination based on the center of gravity position of a vehicle. [Figure 5B] FIG. 11 is an explanatory diagram showing an example of lane change determination; [Figure 6] 4 is a flowchart illustrating an example of a process of a vehicle detection device. [Figure 7] FIG. 2 is a diagram corresponding to FIG. 1 and showing a vehicle detection device using a conventional ultrasonic sensor. [Figure 8] 10 is a timing chart showing a change in occupancy rate accompanying the occurrence of congestion, in comparison with a conventional vehicle detection device using an ultrasonic sensor. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0012] Hereinafter, an embodiment of the present invention will be described in detail with reference to the drawings. In the embodiments of this specification, the same components are given the same reference numerals throughout. In the attached drawings, for ease of viewing, only some of the parts having the same attribute may be given reference numerals.
[0013] 1 is a schematic diagram showing the general configuration of the present invention, in which a vehicle detection device 1 of this embodiment is connected to a traffic control center 100 via a traffic signal control device 10 and the like, and constitutes a part of a traffic control system. For example, in the traffic control system shown in the figure, a plurality of (n) traffic signal control devices 10 are installed at different points, such as near intersections, and control a traffic light S according to the detection results of a vehicle V by the vehicle detection device 1, etc.
[0014] As shown in FIG. 1, the vehicle detection device 1 is for detecting the passage of a vehicle V through a detection area RA that has been set in advance at various points, such as in front of a traffic light S (near a stop line, not shown), and is equipped with a camera 2 as an imaging device that captures images of the detection area RA at a predetermined period, and a detection and calculation device 3 that controls the operation of the camera 2 and acquires the captured image data and performs the processing described below.
[0015] As shown in Figure 1, camera 2 is installed on a pillar P erected at the side of the road, and takes pictures of the road from diagonally above. The viewing angle of camera 2 is set so that it can capture multiple lanes at the same time, and the road and vehicle V in the captured image appear smaller as they move further away, as shown in Figure 2, for example.
[0016] The detection calculation device 3 is a so-called computer device, and includes a processing calculation unit (CPU) that executes a predetermined program to perform various processes, as well as memories such as ROM and RAM that store programs and data used in the processing calculation unit. The processing calculation unit recognizes the vehicle V using time-series image data captured by the camera 2 at a predetermined cycle, and outputs a detection signal in response to the vehicle passing through the detection area RA.
[0017] To this end, the detection calculation device 3, as shown in the functional block diagram of Figure 3, is equipped with a vehicle recognition unit 31 that inputs an image signal from the camera 2 and recognizes the moving object (vehicle V) in the image as a passenger car, motorcycle (two-wheeled vehicle), truck, etc. from its characteristics to identify the pre-stored vehicle type, a vehicle length calculation unit 32 that identifies the length of the vehicle V from the identified vehicle type, an entry determination unit 33 that determines whether the vehicle V has entered or exited a detection area RA, a vehicle speed calculation unit 34 that calculates the traveling speed (vehicle speed) of the vehicle V from the traveling time within the detection area RA, an occupation time calculation unit 35 that calculates the time (occupancy time) that the vehicle V takes to pass through a detection area IA (see Figure 7) in a system using a conventional ultrasonic sensor based on the results of these calculations, and a signal output unit 36 that outputs the occupation time as a detection signal (occupancy time information).
[0018] 2, the detection calculation device 3 of this embodiment sets a detection area RA1 and a detection area RA2 for each of a plurality of lanes on the road, and includes a lane identification unit 37 that identifies in which of the plurality of lanes the vehicle V recognized by the vehicle recognition unit 31 is located, and a lane change determination unit 38 that determines whether the vehicle V will change lanes, as will be described in detail later. When the vehicle V leaves the detection area RA, the signal output unit 36 determines the lane in which the vehicle V will travel, including a prediction of a lane change, and outputs a detection signal (traveling lane information).
[0019] -Generation of detection signal- In detail, first, the vehicle recognition unit 31 recognizes the vehicle V in the image in response to input of image data captured at a predetermined cycle, or by reading out image data of a time series temporarily stored in the RAM. For example, it performs time difference processing of consecutive image data, extracts an area where a change has occurred between a predetermined number of frames as a moving body, and by detecting the shape of the front grille and lights (brand and model of the vehicle) of the vehicle V and the number of the license plate, etc., by using a well-known artificial intelligence (AI) technology, it assigns a rectangular frame label to each vehicle type, such as a small size such as a motorcycle (two-wheeled vehicle), a medium size such as a passenger car, a large size such as a truck or a bus, and an extra large size such as a trailer, in advance. In addition, the detection calculation device 3 sets and stores the vehicle length for each vehicle type in advance, for example, 2m for small size, 5m for medium size, 10m for large size, and 18m for extra large size.
[0020] As described above, the camera 2 is positioned to overlook the road from diagonally above and captures multiple lanes, so that the lanes become narrower as they move farther away within the capture range A (shown by virtual lines in FIG. 2) determined by the viewing angle, etc. In this embodiment, rectangular detection areas RA1 and RA2 are set for each of the multiple lanes, but these detection areas RA1 and RA2 also become approximately trapezoidal on the image plane.
[0021] In addition, an approach line ST is set across the detection areas RA1 and RA2 on the side of the detection areas RA1 and RA2 where vehicles enter, and an exit line SP is set across the detection areas RA1 and RA2 on the side of the detection areas RA1 and RA2 where vehicles exit.
[0022] Meanwhile, the vehicle recognition unit 31 can recognize the position of the vehicle V by converting the labeled rectangular frame from pixel coordinates to actual road coordinates. As a representative position that represents the position of the vehicle V recognized in this way (i.e., the rectangular frame labeled as the vehicle V), for example, a preset position in the labeled rectangular frame, such as the center of the rectangular frame, the front end of the vehicle V, or the rear end of the vehicle V, may be used.
[0023] The vehicle length calculation unit 32 determines the stored vehicle length from the type of vehicle V identified as described above. For example, if the vehicle V is identified as a medium-sized vehicle, the length is determined to be 5 m. The entry determination unit 33 also determines whether the vehicle V has entered the detection area RA, i.e., whether it has reached the entry line ST.
[0024] The entry determination unit 33 tracks changes in coordinates, for example, from the pixel coordinates of the center point G of the labeled rectangular frame on the captured image, and determines whether the coordinates of the center point G have reached the approach line ST, and if it determines that the approach line ST has been reached, outputs a signal to that effect to the vehicle speed calculation unit 34. Thereafter, it determines whether the coordinates of the center point G have reached the exit line SP, and if it determines that the exit line SP has been reached, outputs a signal to that effect to the vehicle speed calculation unit 34. The determinations of arrival at the approach line ST and the exit line SP are also output to the lane change determination unit 38, which will be described later.
[0025] The vehicle speed calculation unit 34 measures the distance from the point of the approach line ST to the point of the exit line SP on the actual road at the site where the image has been taken in advance, and stores the length as distance k. Then, when it receives a signal indicating that the vehicle has reached the approach line ST from the approach determination unit 33, it starts measuring time, and when it receives a signal indicating that the vehicle has reached the approach line ST, it stops measuring time and calculates the time from when the vehicle has reached the approach line ST to when the vehicle has reached the exit line SP. The vehicle speed is calculated from the calculated time and the stored distance k.
[0026] Then, the occupancy time calculation unit 35 converts the length of the vehicle V determined by the vehicle length calculation unit 32 as described above and the speed of the vehicle V calculated by the vehicle speed calculation unit 34 into an occupancy time in the case of a system using an ultrasonic sensor using the following formula. Occupancy time ST = (distance L + vehicle length SL) / vehicle speed V Equation 1 7, the vehicle length SL is the length of the vehicle V determined by the vehicle length calculation unit 32, and the vehicle speed V is the speed of the vehicle V calculated by the vehicle speed calculation unit 34. The occupancy time ST calculated in this manner is output to the signal output unit 36, and corresponds to the length of the pulse signal output by a conventional ultrasonic sensor.
[0027] The signal output unit 36 outputs a pulse signal having the length of the occupancy time ST calculated by the occupancy time calculation unit 35, i.e., a detection signal (occupancy time information). In this way, the vehicle V outputs a pulse signal having the same length as a pulse signal output by a conventional ultrasonic sensor, and outputs to the traffic signal control device 10 the same occupancy time information as in a system using a conventional ultrasonic sensor.
[0028] -Lane Identification- 2, a road includes a plurality of lanes, and in the vehicle detection device 1 of this embodiment, a detection area RA for the vehicle V is set corresponding to each lane. Therefore, as described above, the generation of a detection signal output when the vehicle V passes through the detection area RA is performed based on the length and vehicle speed of the vehicle V recognized for each lane.
[0029] However, some vehicles V that actually travel on a road may travel across two adjacent lanes or zigzag, and may also suddenly change lanes before an intersection, etc. For this reason, for example, as shown in Fig. 4A, when a relatively large vehicle V such as a bus travels across adjacent lanes, the vehicle V may be recognized in both lanes in the image captured by the camera 2.
[0030] 4B, if the vehicle V meanders and moves into the adjacent lane, the vehicle V may be recognized twice in both lanes and may be mistakenly detected as having passed through both detection areas RA1 and RA2. Even if one detector is installed per lane as in conventional systems using ultrasonic sensors, in the above-mentioned case, one vehicle V may be detected in multiple lanes, making it difficult to stably detect the lane in which the vehicle V is traveling without overlooking it.
[0031] Therefore, in this embodiment, as described above with reference to Fig. 3, the detection calculation device 3 is provided with a lane identification unit 37 and a lane change determination unit 38. When the vehicle V enters the detection area RA, the lane in which the vehicle V is traveling is identified by the lane identification unit 37, and when the lane change determination unit 38 determines that the vehicle V is changing lanes, the vehicle V is assumed to enter the changed lane, and a detection signal (traveling lane information) of the lane in which the vehicle V is traveling is output.
[0032] For example, first, when the vehicle V travels across adjacent lanes as shown in Fig. 4A, the lane identification unit 37 identifies the vehicle V in the vehicle recognition unit 31 as described above, and identifies in which detection area RA of the plurality of lanes the center point G of a rectangular frame labeled with a predetermined vehicle type exists. That is, it is sufficient to identify in which detection area RA1, RA2 of the lane the center point G of the vehicle V exists from the pixel coordinates of the rectangular frame representing the vehicle V on the captured image, as typically shown in Fig. 5A.
[0033] Then, based on the change in the center point G in the time-series image data, the lane change determination unit 38 determines whether the vehicle V is changing lanes. As described above, the entry determination unit 33 tracks the change in the coordinates of the center point G on the captured image and determines whether the coordinates of the center point G have reached the entry line ST. Then, when it is determined that the coordinates of the center point G have reached the entry line ST, it outputs a signal to the lane identification unit 37 that the vehicle V has entered the detection area RA.
[0034] When the lane identification unit 37 receives a signal from the entry determination unit 33, it stores the coordinates of the center point G, and determines whether the vehicle V is in the detection area RA1 or RA2 from the coordinates of the center point G, and stores the lane in which the vehicle V is traveling at the time of entry based on the result. Also, it stores the coordinates of the center point G in which the vehicle V is traveling and continues tracking it until it exits the detection area RA.
[0035] The lane change determination unit 38 tracks the movement trajectory of the coordinates of the center point G stored by the lane identification unit 37, and determines that the vehicle will change lanes to the adjacent lane when the movement direction of a straight line connecting the current coordinates of the center point G of the vehicle V and the previously stored coordinates is inclined toward the adjacent lane by a predetermined first angle (e.g., 30°) or more with respect to the angle θ with respect to the lane direction, as shown diagrammatically in FIG. 5B, for example.
[0036] In addition, although not shown, the lane change determination unit 38 may determine that the vehicle will change lanes to the adjacent lane when the movement direction of the center point G of the vehicle V is inclined toward the adjacent lane by a second angle (e.g., 20°) or more that is smaller than the first angle with respect to the direction of the lane, and the distance from the center point G to the boundary line with the adjacent lane is less than a predetermined distance (e.g., 1 to 2 m).
[0037] Then, the entry judgment unit 33 judges whether the coordinates of the center point G have reached the entrance line SP, and if it determines that the entrance line SP has been reached, it sends a signal to the lane identification unit 37 indicating that the vehicle V has exited the detection area RA. Upon receiving the signal from the entry judgment unit 33, the lane identification unit 37 stops storing the coordinates of the center point G and ends tracking, and determines from the last stored coordinates of the center point G whether the vehicle V was present in either the detection area RA1 or the detection area RA2.
[0038] The lane identification unit 37 compares the entry lane initially determined when the vehicle V enters the detection area RA with the exit lane determined from the last stored coordinates of the center point G, and if the entry lane and the exit lane are different, outputs the exit lane to the signal output unit 36.
[0039] Furthermore, if the lane at the time of entry and the lane at the time of exit are the same, based on the lane change determination result of the lane change determination unit 38, if it is determined that there is a lane change, it is predicted that the vehicle will change lanes to the adjacent lane after exiting the detection area RA, and the adjacent lane is output to the signal output unit 36. If there is no determination that there is a lane change, it is determined that there was no lane change from entry to exiting the detection area RA, and the lane at the time of entry or the lane at the time of exiting is output to the signal output unit 36.
[0040] The signal output unit 36 outputs a detection signal (driving lane information) of the lane in which the vehicle V is traveling, received from the lane identification unit 37, to the traffic signal control device 10. In this way, it is possible to output not only the current driving lane of the vehicle V (when it leaves the detection area RA), but also driving lane information that predicts the lane to which the vehicle V will change.
[0041] In addition, when both the lane received from the lane identification unit 37 and the occupancy time ST received from the occupancy time calculation unit 35 are received, the signal output unit 36 may output the driving lane information and occupancy time information to the traffic signal control device 10, or may receive either of them and output the driving lane information or the occupancy time information separately, attaching a common vehicle ID or the like so that it can be identified as information about the same vehicle V.
[0042] Next, a process of detecting a vehicle V passing through a detection area IA on a road by the vehicle detection device 1 of this embodiment will be specifically described with reference to the flowchart of Fig. 6. The routine shown in this flowchart is repeatedly executed by the detection calculation device 3 at predetermined time intervals (for example, 100 milliseconds).
[0043] When the routine starts, the camera 2 is first operated to capture an image of a road including multiple lanes. When the image data thus captured is output from the camera 2 to the detection calculation device 3, pre-processing such as general noise removal and luminance value gradation correction is performed (step S1), and then the vehicle recognition unit 31 extracts a moving object and checks whether it is labeled with a vehicle type (step S2).
[0044] If the vehicle type is not labeled, the result is negative (NO), and the vehicle type is identified from the characteristics using existing technology, and the vehicle type label is attached to the moving body (vehicle V), and a labeling process is performed (step S3), for example, by forming a rectangular frame and creating a center point G at the center of the rectangular frame. Note that multiple vehicles V on multiple lanes are labeled with a vehicle ID or the like so that each vehicle V can be distinguished and identified.
[0045] For the vehicles V that have been subjected to the labeling process and for the vehicles V that have already been labeled with a label indicating the vehicle type in step S2 and have been determined to be positive (YES), the entry determination unit 33 determines whether the center point G of the vehicle V has reached the entry line ST, i.e., whether the vehicle V has entered the detection area RA (step S4). If the center point G of the vehicle V has not reached the entry line ST, and if the determination is negative (NO), the routine is temporarily terminated. After a predetermined time, the routine is resumed, and the above-mentioned steps S1 to S4 are repeated, and the determination is repeated until the vehicle V reaches the entry line ST.
[0046] If the center point G of the vehicle V reaches the approach line ST and the result is a positive judgment (YES), the process proceeds to step 5, where it is judged whether the labeled vehicle V has had its length determined by the vehicle length calculation unit 32 (step S5). If the result is a negative judgment (NO), the vehicle length calculation unit 32 determines the stored vehicle length from the type of vehicle V, and the vehicle speed calculation unit 34 starts measuring time (step S6).
[0047] Next, the lane identification unit 37 stores the coordinates of the center point G, determines whether the vehicle V is in the detection area RA1 or RA2, and stores the lane in which the vehicle V is traveling based on the result (step S7). Also, storage of the coordinates of the center point G in which the vehicle V is traveling is started.
[0048] If the lane is identified in step S7 and the vehicle length of vehicle V has already been determined by vehicle length calculation unit 32 in step S5, the lane identification unit 37 stores the coordinates of center point G, and the lane change determination unit 38 tracks the movement trajectory of the stored coordinates of center point G to determine whether vehicle V will change lanes (step S8). If the determination is positive (YES), vehicle V is identified as moving to an adjacent lane (step S9). On the other hand, if the determination is negative (NO), vehicle V is identified as being in the current lane.
[0049] Next, the entry determination unit 33 determines whether the center point G of the vehicle V has reached the exit line SP, that is, whether the vehicle V has left the detection area RA (step S10), and if the determination is positive (YES), the process proceeds to step S11, whereas if the determination is negative (NO), the routine is temporarily terminated. In this case, the routine is resumed after a predetermined time, and the above-mentioned procedure of steps S1 to S10 is repeated. In other words, until the vehicle V leaves the detection area RA, the time measurement and the storage of the coordinates (trajectory) along which the vehicle V moves are continued, and the recognition and identification of the lanes are repeated.
[0050] Then, when the entry judgment unit 33 determines that the center point G of the vehicle V has reached the exit line SP and the vehicle V traveling on the road leaves the detection area RA, if the judgment is positive (YES) in step S10, the process proceeds to step S11, where the storage of the coordinates (trajectory) of the vehicle V is stopped, and the lane in which the vehicle V is traveling is determined and the lane (detection signal) is output to the signal output unit 36.
[0051] On the other hand, the vehicle speed calculation unit 34 finishes measuring the time (step S12) and calculates the speed of the vehicle V from the measured time (step S13). Then, the occupancy time calculation unit 35 calculates the occupancy time ST in the case of a system using an ultrasonic sensor from the calculated speed of the vehicle V, and outputs a pulse signal (detection signal) of the calculated length to the signal output unit 36 (step S14).
[0052] The signal output unit 36 outputs a detection signal (occupancy time information) of a pulse signal similar to that of a system using a conventional ultrasonic sensor and a detection signal (traffic lane information) of the lane in which the vehicle V is traveling to the traffic signal control device 10 (step S15), and then ends the routine.
[0053] The process of detecting vehicle V is performed sequentially for each of the multiple vehicles V traveling on each of the multiple lanes, from the moving body that has not yet reached the innermost approach line ST in the captured image (vehicle V furthest from the installation position of camera 2) to all moving bodies (vehicle V) up to the exit line SP.When the detection process for vehicle V at the exit line SP in the captured image is completed, the detection process is performed again starting with the moving body (vehicle V) that has not yet reached the innermost approach line ST in the captured image.
[0054] As described above, according to the vehicle detection device 1 of this embodiment, even though it is a system that uses image processing technology, it is possible to obtain a detection signal similar to that of a system that uses an ultrasonic sensor SS. That is, in a conventional ultrasonic sensor type, as shown in an example in Fig. 7, an ultrasonic sensor SS installed at a predetermined height from directly above the road detects a vehicle V passing through a detection area IA below, and outputs a pulse signal (detection signal) corresponding to the time required for the vehicle to pass through (occupancy time).
[0055] In contrast, the imaging range of the camera 2, which is installed to overlook the road from diagonally above in order to cover multiple lanes as in this embodiment, is quite wide as shown in Fig. 1, so if a detection signal is output while the vehicle V is detected in the detection area RA, the pulse signal will be much longer than the signal from the ultrasonic sensor SS. If the pulse signal indicating the occupancy time of the detection area RA becomes long in this way, there is a risk of erroneously determining the congestion situation.
[0056] That is, in a conventional traffic control system, ultrasonic sensors SS are installed at various points, such as near intersections, to set up detection areas IA, and the occupancy rate of a given point is calculated from the occupancy time of vehicles V passing through the area to determine congestion. As an example, Fig. 8 shows the daily change in occupancy rate at a certain intersection. The occupancy rate is approximately 0% from midnight to dawn, when no vehicles V are running, and increases from early morning to the commuting time, and when it exceeds a predetermined value Th, congestion is determined.
[0057] The dashed line in Figure 8 shows the result of a conventional system using ultrasonic sensors SS, where the occupancy rate exceeds the specified value Th at around 7:30. In contrast, in a general system using image processing technology, the occupancy time is longer as described above, so the occupancy rate rises earlier than the actual rate as shown by the solid line in the figure and exceeds the specified value Th before 6:00, resulting in a mistaken determination that there is a traffic jam even though there is not.
[0058] In contrast, the vehicle detection device 1 of this embodiment does not output a detection signal while detecting a vehicle V in the detection area RA, but calculates an occupancy time ST from the length and vehicle speed of the detected vehicle V, and outputs a pulse signal with a length corresponding to this occupancy time ST at the timing when the vehicle leaves the detection area RA. In other words, a detection signal similar to that of a conventional system using an ultrasonic sensor SS can be obtained.
[0059] Since the same detection signal as that of the conventional system can be obtained in this way, the vehicle detection device 1 of this embodiment can be easily incorporated into the conventional system. That is, the vehicle detection device 1 of this embodiment can be connected to a traffic signal control device 10 that receives a detection signal output from an ultrasonic sensor type vehicle detection device, and the detection signal can be input as is. In this case, there is no need to worry about erroneous determination of congestion as described above.
[0060] Moreover, in this embodiment, even if the road includes multiple lanes, the system tracks and detects which lane the vehicle V is traveling on, and even if the vehicle V travels across lanes, meanders, or changes lanes, the system identifies the detection area RA in which the vehicle V is traveling, and can detect the vehicle V stably and without oversight, just like a system that uses a conventional ultrasonic sensor SS.
[0061] Although the preferred embodiments of the present invention have been described in detail above, the present invention is not limited to the above-described embodiments, and various modifications and changes are possible within the scope of the gist of the present invention described in the claims.
[0062] For example, in the above-described embodiment, the vehicle speed calculation unit 34 calculates the speed of the vehicle V from the distance k measured on the actual road from the point of the approach line ST to the point of the exit line SP at the site where the photograph was taken in advance, and calculates the occupancy time ST based on the vehicle speed. However, it is also possible to calculate a speed coefficient in advance for conversion to the actual vehicle speed, and calculate the speed of the vehicle V from the speed coefficient to calculate the occupancy time ST.
[0063] In this case, an experiment is conducted at the site, which has been previously filmed, and the vehicle is actually driven and the time from when it reaches the approach line ST to when it reaches the exit line SP is measured using the filmed footage. A speed coefficient vk is calculated from this measured time and the actual vehicle speed at that time, and the speed coefficient vk that converts the measured time from when the vehicle reaches the approach line ST to when it reaches the exit line SP to the actual vehicle speed is stored.
[0064] The vehicle speed calculation unit 34 starts measuring time when it receives a signal indicating that the vehicle has reached the approach line ST from the approach determination unit 33, and stops measuring time when it receives a signal indicating that the vehicle has reached the approach line ST, thereby measuring the time from when the vehicle has reached the approach line ST to when the vehicle has reached the exit line SP. The vehicle speed may be calculated from the measurement result and the stored speed coefficient vk.
[0065] In the above embodiment, the lane is identified based on the recognized center point G of the vehicle V, and a lane change is determined based on the change in the position, but this lane change determination is not necessary. In addition, instead of using the center point G as the representative position of the vehicle V, for example, the front or rear end of the vehicle V may be used, or a combination of these may be used.
[0066] In addition, in the above-described embodiment, a straight line is drawn in the direction of movement calculated by the lane change judgment unit 38, connecting the coordinates of the current center point G of the vehicle V and the coordinates stored one time previously. However, it may also be a straight line drawing the coordinates of the current center point G of the vehicle V and the coordinates of the center point G when it reaches the approach line ST upon entering the stored detection area RA.
[0067] In addition, in the above-mentioned embodiment, the lane change judgment unit 38 predicts from the movement trajectory of the vehicle V whether or not the vehicle will change lanes to the adjacent lane after exiting the detection area RA, and thereby determines the lane in which the vehicle V will travel; however, the lane identification unit 37 may output to the signal output unit 36 the lane when it determines that the coordinates of the center point G of the vehicle V when it receives a signal from the entry judgment unit 33 that the center point G has reached the entry line ST are in either the detection area RA1 or the detection area RA2, or the lane identification unit 37 may output to the signal output unit 36 the lane when it determines that the coordinates of the center point G of the vehicle V when it receives a signal from the entry judgment unit 33 that the center point G has reached the exit line SP are in either the detection area RA1 or the detection area RA2.
[0068] In this case, if future predictions after exiting the detection area RA are not required, a determination is made as to whether the coordinates of the center point G of the vehicle V when it passes a predetermined point within the detection area RA, such as 5 m (3 cm on the captured image) before the approach line ST or exit line SP, are in either detection area RA1 or detection area RA2, and the lane is output to the signal output unit 36. [Explanation of symbols]
[0069] 1; vehicle detection device, 2; camera (imaging device), 3; detection calculation device, 31; vehicle recognition unit, 32; vehicle length calculation unit, 33; Entry judgment part , 34; Vehicle speed calculation part , 35; Occupancy time calculation section , 36; signal output unit; 37; lane identification unit; 38; lane change determination unit; A: Shooting range, IA, RA: Detection area, V: Vehicle, G: Center of gravity position (representative position)
Claims
1. A vehicle detection device that detects a vehicle passing through a detection area that is preset on a road, an imaging device that photographs a plurality of lanes on a road as if looking down from diagonally above and photographs the detection area; a vehicle recognition unit that recognizes a vehicle in time-series image data captured by the imaging device at a predetermined period, The detection area is set for each lane within a photographing range of the imaging device, a lane identification unit that detects in which of a plurality of detection areas the vehicle is present when the vehicle enters and exits the detection area based on the vehicle recognized by the vehicle recognition unit, and determines a lane in which the vehicle will travel after the vehicle exits the detection area; a lane change determination unit that determines whether the vehicle will move to an adjacent lane based on a path of the vehicle moving through the detection area; a signal output unit that outputs, after the vehicle has passed through the detection area, the lane in which the vehicle is traveling, as driving lane information, the lane being determined by the lane identification unit; the lane identification unit determines the lane in which the vehicle will travel based on a determination result of a lane change determination unit when the lane in which the vehicle enters and exits the detection area is the same; A vehicle detection device comprising:
2. The vehicle recognition unit performs labeling using a predetermined position of the recognized vehicle as a representative position, the lane change determination unit determines that the vehicle will change lanes to the adjacent lane when a moving direction of a straight line connecting two representative positions of the vehicle traveled is inclined toward the adjacent lane by a predetermined first angle or more with respect to a direction of a current lane, 2. The vehicle detection device according to claim 1 .
3. The vehicle recognition unit performs labeling using a predetermined position of the recognized vehicle as a representative position, the lane change determination unit determines that the vehicle will change lanes to the adjacent lane when a moving direction of a straight line connecting two representative positions of the vehicle traveled is inclined toward the adjacent lane side by at least a second angle smaller than the first angle with respect to a direction of the current lane, and when a distance from the representative position to a boundary of the adjacent lane is equal to or shorter than a predetermined distance; 3. The vehicle detection device according to claim 2.
4. The vehicle recognition unit performs labeling using a predetermined position of the recognized vehicle as a representative position, the lane identification unit determines in which detection area the representative position is located, and determines the lane in which the vehicle is traveling.
2. The vehicle detection device according to claim 1 .
Citation Information
Patent Citations
Traffic snarl information presenting device
JP1994162388A
Lane change detector
JP1998214395A
Traffic information providing system
JP2004030484A
Optical beacon
JP2019144852A
