Technical Field
-
The present invention relates to a state determination device and a state determination method.
Background Art
-
In a railway transportation business, a driverless operation of a railway is attracting attention as a method for reducing a cost and improving services.
-
In order to implement the driverless operation, it is necessary to reliably perform a state determination of a traffic light in an unmanned manner.
-
Therefore, a driverless operation in the related art is implemented in a route, such as a subway or a new transportation system, in which a person is less likely to enter and the indication of the traffic light is less changed every time a vehicle travels.
-
On the other hand, in a normal route, since there are many railroad crossings, people enter, and the indication of the traffic light is likely to change, it is necessary to be able to detect and recognize a long-distance traffic light. In addition, it is necessary to be able to reliably detect and recognize the state of the traffic light even at night or in a dark place such as in a tunnel.
-
For example, PTL 1 discloses a technique in which "A driving assistance ECU 20 acquires, as an observation light position, a position of a traffic light candidate that is a lighting device having a probability of being a traffic light from a front camera equal to or greater than a predetermined value. The driving assistance ECU 20 acquires, as a map information traffic light position, a position of the traffic light present in front of a host vehicle by referring to map data near a current position of the host vehicle. The driving assistance ECU 20 determines that the corresponding lighting device is a traffic light based on a degree of proximity δ, which is a difference between the map information traffic light position and the position of the observation light device, being less than a predetermined regarded threshold Dth".
Citation List
Patent Literature
-
Summary of Invention
Technical Problem
-
However, in the invention disclosed in PTL 1, it is possible to detect a signal even at night or in a dark place such as in a tunnel, but it is necessary to create a database in which the position of the traffic light is accurately recorded in advance. Therefore, a large number of man-hours are required to create the database.
-
Therefore, an object of the invention is to provide a technique capable of identifying a state of a traffic light with high accuracy even when there is no accurate position information of the traffic light provided on a traveling line.
Solution to Problem
-
In order to solve the above problem, one of representative state determination devices is a state determination device including a traffic light database configured to store, based on an image in a traveling direction of a traveling train, information related to a traffic light included in the image, a sensor unit attached to the train, and a traffic light specification unit configured to specify the traffic light from an image acquired by the sensor unit. The traffic light database includes movement trajectory information of a traffic light calculated from an image of the traffic light included in the image in the traveling direction and/or appearance region information of the traffic light calculated from distance information from a line on which the train travels to the traffic light, and the traffic light specification unit specifies the traffic light from the image acquired by the sensor unit with reference to the traffic light database and determines a state of the corresponding traffic light.
Advantageous Effects of Invention
-
According to the invention, it is possible to identify a state of a traffic light with high accuracy even when there is no accurate position information of the traffic light provided on a traveling line.
Brief Description of Drawings
-
- [FIG. 1] FIG. 1 shows an example of a traffic light detection system according to a first embodiment.
- [FIG. 2] FIG. 2 shows an example of a traffic light database.
- [FIG. 3] FIG. 3 is a flowchart of a process of compiling information related to traffic lights into a database.
- [FIG. 4] FIG. 4 is an example of a screen showing a result of a traffic light detection process based on a movement trajectory.
- [FIG. 5] FIG. 5 is a flowchart when the traffic light detection process is performed based on the movement trajectory.
- [FIG. 6] FIG. 6 shows an example of a traffic light detection system according to a second embodiment.
- [FIG. 7] FIG. 7 is an example of a screen showing a result of a traffic light detection process based on a line.
- [FIG. 8] FIG. 8 is a flowchart when the traffic light detection process is performed based on the line.
- [FIG. 9] FIG. 9 shows an example of a traffic light detection system according to a third embodiment.
Description of Embodiments
-
Hereinafter, embodiments of the invention will be described with reference to the drawings. The invention is not limited to the embodiments. In the description of the drawings, the same portions are denoted by the same reference signs.
-
When there are a plurality of components having the same or similar functions, the components may be described by using the same reference signs assigned with different subscripts. When there is no need to distinguish the plurality of components, the description may be made by omitting the subscripts.
-
Terms "first", "second", "third", and the like may be used to describe various elements or components in the present disclosure, and it will be understood that these elements or components are not to be limited by these terms. These terms are used only to distinguish between one element or component from another element or component. Therefore, a first element or a component described below may be referred to as a second element or a component without departing from the teaching of the concept of the invention.
-
In order to facilitate understanding of the invention, the position, size, shape, range, and the like of each component shown in the drawings may not represent the actual position, size, shape, range, or the like. Therefore, the invention is not necessarily limited to the position, size, shape, range, or the like disclosed in the drawings.
-
A traffic light detection system of the invention also functions as a state determination device that determines a state of a traffic light and indicates the traffic light.
[First Embodiment]
-
First, a traffic light detection system 1 according to a first embodiment will be described with reference to FIGS. 1 and 2.
-
FIG. 1 shows an example of the traffic light detection system 1.
-
The traffic light detection system 1 is a system that causes a train on which an imaging device that captures an image of a surrounding object to travel, constructs a traffic light database and performs a traffic light detection process based on the constructed traffic light database.
-
The traffic light detection system 1 mainly includes a sensor unit 110, a display unit 120, a calculation unit 130, a memory 140, and a storage unit 150.
<Sensor Unit>
-
The sensor unit 110 can mainly capture an image of the train in a traveling direction and acquire an image of a traffic light present in the traveling direction of the train.
-
In the embodiment of the present disclosure, a camera that captures the image of the train in the traveling direction is used as the sensor unit, but other types of devices may be used. For example, the sensor may be a LiDAR, a radar, or a 3D sensor.
<Display Unit>
-
The display unit 120 is a display device that displays a video captured by the sensor unit 110 and a detection result output by a detection result output unit 158 described below.
-
The display unit 120 is, for example, a monitor that displays the video captured by the sensor unit 110, and displays a position, information, and the like of a traffic light recognized by the traffic light detection system 1 in addition to the corresponding video.
<Calculation Unit>
-
The calculation unit 130 is a device that controls other devices and circuits in a computer and performs calculation of data.
-
In the present embodiment, the calculation unit 130 functions as a calculation device that executes a program installed in the storage unit 150.
<Memory>
-
The memory 140 is a storage device directly connected to a main bus or the like of the computer.
-
The memory 140 temporarily stores information necessary for the calculation unit 130 to execute processes.
-
The memory 140 is, for example, a static random access memory (SRAM) or a synchronous dynamic random access memory (SDRAM).
<Storage Unit>
-
The storage unit 150 is a storage device in which a program calculated by the calculation unit 130 is stored.
-
In the embodiment of the present disclosure, a program in which the calculation unit 130 functions as an image acquisition unit 151, a traffic light specification unit 152, a position acquisition unit 153, a traffic light database 154, a traffic light confirmation unit 155, a database writing unit 156, a database reading unit 157, and the detection result output unit 158 is installed in the storage unit 150 in a format of a software program.
-
The program installed in the storage unit 150 may have a format other than the program executed by the calculation unit 130.
-
For example, the program may have a format that can be executed as hardware by an application specific integrated circuit such as an ASIC.
<<Image Acquisition Unit>>
-
The image acquisition unit 151 acquires a plurality of images captured by the sensor unit 110, and transmits the images to the traffic light specification unit 152 in an order in which the images are captured.
<<Traffic Light Specification Unit>>
-
The traffic light specification unit 152 refers to the traffic light database 154, specifies a traffic light from the image acquired by the sensor unit, and determines a state of the corresponding traffic light.
-
In the present embodiment, the traffic light specification unit 152 extracts a movement trajectory of a traffic light candidate from the plurality of images acquired by the sensor unit 110, and specifies the traffic light based on a comparison result between the corresponding movement trajectory and a movement trajectory of a traffic light included in the traffic light database.
-
The traffic light specification unit 152 includes a traffic light candidate detection unit 1521, a traffic light candidate tracking unit 1522, and a comparison unit 1523.
<<<Traffic Light Candidate Detection Unit>>>
-
The traffic light candidate detection unit 1521 detects the traffic light candidate included in the image acquired by the image acquisition unit 151.
-
Specifically, the traffic light candidate detection unit 1521 estimates a traffic light candidate included in the acquired image using an algorithm of a known object recognition technology, and acquires coordinates of the estimated traffic light candidate.
-
An algorithm of a known object detection method may be, for example, an algorithm such as YOLO, or may be an algorithm for detecting a light emitter in a case of nighttime.
-
Further, the traffic light candidate detection unit 1521 detects the traffic light candidate from the entire acquired images, but may have a format that detects the traffic light candidate from a partial region of the acquired images.
-
Here, the traffic light candidate is an object estimated to be the traffic light included in the image in which the traffic light appears.
-
In such an object, since the corresponding image is captured from a long distance, there is a case where the object estimated to be the traffic light cannot be confirmed as a traffic light since the traffic light is captured in a small size, a shielding object is present between the sensor unit 110 and the traffic light, or the image is not clearly captured due to influences of weather or a time zone.
-
When an object that is not the traffic light is recognized as a traffic light, accuracy of the traffic light detection process deteriorates. Therefore, the traffic light candidate detection unit 1521 estimates the object estimated to be the traffic light, transmits the estimated object to the traffic light confirmation unit 155, and separately confirms whether the object is the traffic light from a specific criterion.
-
The traffic light candidate detection unit 1521 may detect a plurality of traffic light candidates from one image.
<<<Traffic Light Candidate Tracking Unit>>>
-
The traffic light candidate tracking unit 1522 tracks and calculates the movement trajectory of the traffic light candidate from the plurality of images acquired by the sensor unit 110.
-
Specifically, first, the traffic light candidate tracking unit 1522 associates a traffic light candidate present in an input image with a traffic light candidate included in an image immediately before the corresponding image.
-
Here, associating the traffic light candidates means that the same traffic light candidates included in different images are associated with each other and can be recognized as the same traffic light candidate.
-
At this time, a traffic light candidate that is not associated with the traffic light candidate included in the different images has, for example, a low confirmation value calculated by the traffic light confirmation unit 155 as described later.
-
In addition, it is considered that the traffic light candidate that is not included in the input image but is present in the image immediately before the corresponding image is a passed traffic light by the train traveling.
-
Next, the traffic light candidate tracking unit 1522 calculates a movement trajectory from a change in positions of the associated traffic light candidates on the image.
-
At this time, the movement trajectory displays position information of the traffic light candidate on the image by a value of coordinate information on the image.
<<<Comparison Unit>>>
-
The comparison unit 1523 compares the movement trajectory calculated by the traffic light candidate tracking unit 1522 with movement trajectory information of a traffic light included in the traffic light database 154.
-
When the movement trajectory calculated by the traffic light candidate tracking unit 1522 matches the movement trajectory information of the traffic light included in the traffic light database 154, the comparison unit 1523 specifies that the traffic light candidate of the movement trajectory calculated by the traffic light candidate tracking unit 1522 is the traffic light, and determines a state of the corresponding traffic light.
<<Position Acquisition Unit>>
-
The position acquisition unit 153 acquires train position information of the train.
-
In the embodiment of the present disclosure, the position acquisition unit 153 acquires information from an external system mounted on the train, and acquires a current position as the train position information.
-
The external system used by the position acquisition unit 153 is, for example, a GPS, but may be another system as long as the current position of the train can be acquired.
-
The position information acquired by the position acquisition unit 153 is represented by kilometrage, but may be represented by other information such as a latitude, a longitude, and an altitude.
<<Traffic Light Database>>
-
FIG. 2 shows an example of the traffic light database 154.
-
The traffic light database 154 is a database in which information related to the traffic light included in the image is compiled and stored into a database based on the image of the traveling direction of the traveling train.
-
The traffic light database 154 stores a traffic light ID 1541 for traffic light identification, a position 1542 where the corresponding traffic light is provided, a height 1543 of a traffic light from a line, a distance 1544 from the line, and a movement trajectory 1545 of the corresponding traffic light as viewed from the traveling train.
-
In the present embodiment, the position 1542 where the traffic light is provided is represented by kilometrage, but may be represented by other information, for example, a latitude, a longitude, and an altitude.
<<Traffic Light Confirmation Unit>>
-
The traffic light confirmation unit 155 determines whether the traffic light candidate detected by the traffic light candidate detection unit 1521 is a traffic light, and also determines whether the traffic light candidate is a traffic light that can be identified by a train.
-
The traffic light confirmation unit 155 confirms that the corresponding traffic light candidate is a traffic light when a confirmation value for determining confirmation exceeds a threshold.
-
Here, the confirmation value is determined based on, for example, a confidence score indicating a possibility that the traffic light candidate output by the traffic light candidate detection unit 1521 is a traffic light, or an estimated distance from the sensor unit 110 to the traffic light candidate (size of the traffic light candidate in the image) and an estimated position of the traffic light candidate (a height from the ground, a distance from the line).
-
The confirmation value may be a value calculated based on the estimated distance from the sensor unit 110 to the traffic light candidate, the confidence score, the estimated position of the traffic light candidate, and a position of the traffic light recorded in the traffic light database 154.
-
The confirmation value is set to exceed the threshold, for example, when the estimated distance from the sensor unit 110 to the traffic light candidate is sufficiently close, the confidence score is sufficiently high, and the estimated position of the traffic light candidate and the position of the traffic light recorded in the traffic light database 154 are sufficiently close.
<<Database Writing Unit>>
-
The database writing unit 156 writes, in the traffic light database 154, information related to the traffic light confirmed to be the traffic light by the traffic light confirmation unit 155.
-
Note that, writing to the traffic light database 154 by the database writing unit 156 may be performed only in a case of pre-traveling for establishing the traffic light database 154, or may be continuously performed during subsequent normal traveling.
<<Database Reading Unit>>
-
The database reading unit 157 reads the information from the traffic light database 154.
-
For example, when the train position information of the train is input to the traffic light database 154 as the current position of the train, the database reading unit 157 reads information related to the traffic light before the train closest to the corresponding train position information passes.
<<Detection Result Output Unit>>
-
The detection result output unit 158 outputs the position of the traffic light, the movement trajectory of the traffic light serving as a determination material, and the like, and transmits them to the display unit 120.
-
At this time, for example, the position information of the traffic light (the height 1543 from the ground and the distance 1544 from the line) may also be transmitted.
<Process of Compiling Information Related to Traffic Light into Database>
-
Next, with reference to FIG. 3, a process of constructing a database of information related to a traffic light will be described.
-
FIG. 3 is a flowchart of the process of constructing a database of information related to a traffic light.
-
As described above, the traffic light database 154 may be constructed in the pre-traveling or may be continuously constructed during the normal traveling.
(Step S101)
-
In step S101, the image acquisition unit 151 acquires an image from the sensor unit 110 and inputs the image to the traffic light specification unit 152.
-
At this time, when the image acquisition unit 151 acquires a plurality of images from the sensor unit 110, the plurality of images are input in an imaging order.
(Step S102)
-
In step S102, the position acquisition unit 153 acquires current position information of the traveling train.
(Step S103)
-
In step S103, the traffic light candidate detection unit 1521 detects all traffic light candidates included in the images that are input in order.
(Step S104)
-
In step S104, the traffic light candidate tracking unit 1522 tracks and calculates the movement trajectory of the traffic light candidate.
-
At this time, a traffic light candidate that cannot be tracked is regarded as a newly detected traffic light candidate or a traffic light candidate that a train passes and disappears in the image.
(Step S105)
-
In step S105, the traffic light confirmation unit 155 determines whether the traffic light candidate is a write target whose information is to be stored in the traffic light database 154. When the traffic light candidate is the write target, the process returns to S106, and when the traffic light candidate is not the write target, the process proceeds to S107.
-
In the determination of whether the traffic light candidate included in the input image is the traffic light, the traffic light confirmation unit 155 confirms that the corresponding traffic light candidate is a traffic light when a confirmation value for determining confirmation exceeds a threshold.
-
Next, the traffic light confirmation unit 155 detects whether there is a traffic light candidate that is not included in the input image but is included in the image immediately before the corresponding image.
-
At this time, when there is the corresponding traffic light candidate, the corresponding traffic light candidate is a passed traffic light due to a movement of the train, it is considered that no movement trajectory occurs in subsequent images, and it is determined that the traffic light candidate is the write target.
-
In addition, when there is a traffic light candidate that is in an image immediately before the corresponding image and is not present in a current image, the traffic light candidate included in the corresponding image is to be written in assuming that the train passes the corresponding traffic light candidate.
(Step S106)
-
In step S106, the database writing unit 156 writes, in the traffic light database 154, information related to the traffic light candidate confirmed to be the traffic light by the traffic light confirmation unit 155.
(Step S107)
-
In step S107, the traffic light specification unit 152 determines whether there are other images that are not subjected to the corresponding database process among the images input by the image acquisition unit 151. When there are other images, the process returns to S102, and when there are no other images, the process ends.
<Traffic Light Detection Process Based on Movement Trajectory>
-
Next, a traffic light detection process based on the movement trajectory will be described with reference to FIG. 4.
-
FIG. 4 is an example of a screen showing a result of the traffic light detection process based on the movement trajectory.
-
In the traffic light detection process based on the movement trajectory, as shown in FIG. 4, a traffic light detection result is displayed on the image captured by the sensor unit 110.
-
Here, the traffic light detection result is displayed as a traffic light candidate 310 shown inside an appearance region 320.
-
Then, the traffic light candidate 310 in the appearance region 320 generates a movement trajectory 330 by moving the traffic light candidate 310 according to the traveling of the train.
-
In addition, the image captured by the sensor unit 110 also includes, for example, an object other than the traffic light candidate 310 that is a detection target, such as a line 340 and a station platform 350, but the corresponding object is not involved in the detection of the traffic light candidate 310 or the traffic light.
-
Next, a traffic light detection process based on the movement trajectory will be described with reference to FIG. 5.
-
FIG. 5 is a flowchart when the traffic light detection process is performed based on the movement trajectory.
(Step S201)
-
In step S201, similarly to step S101 in FIG. 3, the image acquisition unit 151 acquires an image from the sensor unit 110 and inputs the image to the traffic light specification unit 152.
-
At this time, when the image acquisition unit 151 acquires a plurality of images from the sensor unit 110, the plurality of images are input to the traffic light specification unit 152 in the imaging order.
(Step S202)
-
In step S202, similarly to step S102 in FIG. 3, the position acquisition unit 153 acquires the current position information of the traveling train.
(Step S203)
-
In step S203, the database reading unit 157 inputs the train position information of the train to the traffic light database 154 as the current position of the train, and reads information related to the traffic light before the train closest to the corresponding train position information passes and transmits the information to the comparison unit 1523.
(Step S204)
-
In step S204, the traffic light candidate detection unit 1521 detects all the traffic light candidates 310 included in the image input earliest among the images input in order and not subjected to the corresponding traffic light detection process.
(Step S205)
-
In step S205, the traffic light candidate tracking unit 1522 tracks the traffic light candidate 310 and calculates the movement trajectory 330.
(Step S206)
-
In step S206, the comparison unit 1523 compares the movement trajectory of the corresponding traffic light as viewed from the traveling train among the information related to the traffic light stored in the traffic light database 154 and the calculated movement trajectory 330, and determines whether the movement trajectories match.
-
As a result of the comparison, when the movement trajectory of the corresponding traffic light as viewed from the traveling train matches the calculated movement trajectory 330, the process proceeds to S207, and when the movement trajectories do not match, the process proceeds to S208.
(Step S207)
-
In step S207, the comparison unit 1523 specifies the traffic light candidate 310 of the movement trajectory 330 as the traffic light.
(Step S208)
-
In step S208, the traffic light specification unit 152 determines whether there are other image that are not subjected to the corresponding traffic light detection process among the images input by the image acquisition unit 151. When there are other images, the process returns to S102, and when there are no other images, the process ends.
<Functions and Effects>
-
The traffic light detection system 1 according to the embodiment has been described above.
-
The traffic light detection system 1 of the present disclosure mainly includes the sensor unit 110, the traffic light candidate detection unit 1521, the traffic light candidate tracking unit 1522, the comparison unit 1523, and the traffic light database 154, and can compile the information related to the traffic light into the database based on the image of the traveling direction of the traveling train and detect the traffic light using the corresponding database.
-
Accordingly, even when there is no database or the like in which the position of the traffic light is accurately recorded, it is possible to automatically compile the information related to the traffic light into the database by traveling on the corresponding line, and it is possible to detect the traffic light using the corresponding database and determine the indication of the traffic light with high accuracy.
-
Further, even when traffic light recognition accuracy decreases as in the nighttime, it is possible to improve the traffic light recognition accuracy by using the traffic light database 154 constructed during daytime traveling with high traffic light recognition accuracy.
[Second Embodiment]
-
Next, a traffic light detection system 2 according to a second embodiment will be described with reference to FIG. 6.
-
FIG. 6 shows an example of the traffic light detection system.
-
The traffic light detection system 2 combines the appearance region with the plurality of images acquired by the sensor unit 110 based on a positional relationship between the line and the traffic light included in the traffic light database 154, and specifies the corresponding traffic light candidate as the traffic light when the traffic light candidate is detected in the appearance region.
-
The traffic light detection system 2 of the present embodiment is different from that of the first embodiment in that software for causing the calculation unit 130 to function as a traffic light specification unit 252 is installed in the storage unit 150.
-
The traffic light specification unit 252 is also different from that of the first embodiment in that the traffic light specification unit 252 includes a line detection unit 2524 and does not include the traffic light candidate tracking unit 1522 and the comparison unit 1523.
-
In the following description, components that are the same as or equivalent to those according to the first embodiment described above or the like are denoted by the same reference signs, and description thereof will be simplified or omitted.
<<<Line Detection Unit>>>
-
The line detection unit 2524 first detects a line in an image captured by the sensor unit 110, calculates the appearance region 320 of the traffic light based on distance information from the line on which the train travels to the traffic light stored in the traffic light database 154, and transmits appearance region information to the traffic light candidate detection unit 1521.
-
At this time, the distance information from the line on which the train travels to the traffic light stored in the traffic light database 154 is the height of the traffic light from the line and the distance from the line.
-
The traffic light candidate detection unit 1521 combines the appearance region information transmitted from the line detection unit 2524 with the image captured by the sensor unit 110, and detects the traffic light candidate included in the combined image.
<Traffic Light Detection Process Based on Line>
-
Next, a traffic light detection process based on a line will be described with reference to FIGS. 7 and 8.
-
FIG. 7 is an example of a screen showing a result of the traffic light detection process based on the line.
-
In the traffic light detection process based on the line, as shown in FIG. 7, the traffic light detection result is displayed on the image captured by the sensor unit 110.
-
Here, the traffic light detection result is displayed as the traffic light candidate 310 shown inside the appearance region 320.
-
Since the appearance region 320 is based on the distance from the line, the appearance region 320 is indicated by a range surrounded by a one-dot chain line in FIG. 7.
-
FIG. 8 is a flowchart when the traffic light detection process is performed based on the line.
(Step S301)
-
In step S301, similarly to step S101 in FIG. 3, the image acquisition unit 151 acquires an image from the sensor unit 110 and inputs the image to the traffic light specification unit 152.
-
At this time, when the image acquisition unit 151 acquires a plurality of images from the sensor unit 110, the plurality of images are input to the traffic light specification unit 152 in the imaging order.
(Step S302)
-
In step S302, similarly to step S102 in FIG. 3, the position acquisition unit 153 acquires the current position information of the traveling train.
(Step S303)
-
In step S303, the database reading unit 157 inputs the train position information of the train to the traffic light database 154 as the current position of the train, and reads information related to the traffic light before the train closest to the corresponding train position information passes and transmits the information to the comparison unit 1523.
(Step S304)
-
In step S304, the line detection unit 2524 detects the line 340 included in the image captured by the sensor unit 110.
(Step S305)
-
In step S305, the traffic light candidate detection unit 1521 calculates the appearance region 320 based on the height of the traffic light from the line 340 and the distance from the line detected by the line detection unit 2524.
(Step S306)
-
In step S306, the traffic light candidate detection unit 1521 combines the calculated appearance region information of the appearance region 320 with the captured image, and detects and specifies the traffic light candidate 310 from the appearance region 320 of the combined image.
(Step S307)
-
In step S307, the traffic light specification unit 152 determines whether there are other images that are not subjected to the corresponding traffic light detection process among the images input by the image acquisition unit 151. When there are other images, the process returns to S302, and when there are no other images, the process ends.
<Functions and Effects>
-
The traffic light detection system 2 according to the second embodiment has been described above.
-
The traffic light detection system 2 of the present disclosure mainly includes the traffic light candidate detection unit 1521, the line detection unit 2524, and the traffic light database 154, and can specify the traffic light based on the appearance region of the traffic light calculated from the distance information from the line on which the train travels to the traffic light.
-
Accordingly, by setting a part of the image captured by the sensor unit 110 as the appearance region of the traffic light, the traffic light candidate detection unit 1521 can detect the traffic light candidate only in the corresponding appearance region, and thus it is possible to reduce a load of an image process and to improve the detection accuracy.
[Third Embodiment]
-
Next, FIG. 9 shows a traffic light detection system 3 according to a third embodiment.
-
FIG. 9 shows an example of the traffic light detection system 3.
-
The traffic light detection system 3 of the present embodiment is different from the traffic light specification unit 152 of the first embodiment in that the line detection unit 2524 is included in a traffic light specification unit 352, and the traffic light detection system 3 of the present embodiment is different from the traffic light specification unit 252 of the second embodiment in that the traffic light candidate tracking unit 1522 and the comparison unit 1523 are included in the traffic light specification unit 352.
-
In the following description, components that are the same as or equivalent to those according to the first embodiment described above or the like are denoted by the same reference signs, and description thereof will be simplified or omitted.
-
In the traffic light detection process, the traffic light detection system 3 performs both the traffic light detection process based on the movement trajectory and the traffic light detection process based on the line.
-
For example, after the traffic light is detected by the traffic light detection process based on the movement trajectory, the traffic light detection process based on the line may be performed again without confirming a state of the corresponding detected traffic light, the state of the traffic light may be determined, and the state of the traffic light matched in both processes may be finally determined as the state of the traffic light.
-
Accordingly, the traffic light detection accuracy can be improved by detecting the traffic light by two different methods of the traffic light detection process based on the movement trajectory and the traffic light detection process based on the line region.
-
In addition, after the traffic light detection process based on the line is performed, the traffic light is detected by the traffic light detection process based on the movement trajectory to calculate the appearance region of the traffic light candidate in advance, and the traffic light is detected and specified by performing the traffic light detection process based on the movement trajectory included in the corresponding appearance region.
-
Accordingly, it is possible to improve the detection accuracy while reducing the load of the image process related to the traffic light detection by performing the traffic light detection process based on the movement trajectory while gazing at specification of the traffic light only in the appearance region in which a probability that the traffic light candidate appears is high.
-
Although the embodiments of the invention have been described above, the invention is not limited to the embodiments described above, and various changes can be made without departing from the gist of the invention.
-
The invention can also take the following aspects.
(Aspect 1)
-
A state determination device including:
- a traffic light database configured to store, based on an image in a traveling direction of a traveling train, information related to a traffic light included in the image;
- a sensor unit attached to the train; and
- a traffic light specification unit configured to specify the traffic light from an image acquired by the sensor unit, in which
- the traffic light database includes movement trajectory information of a traffic light calculated from an image of the traffic light included in the image in the traveling direction and/or appearance region information of the traffic light calculated from distance information from a line on which the train travels to the traffic light, and
- the traffic light specification unit specifies the traffic light from the image acquired by the sensor unit with reference to the traffic light database and determines a state of the corresponding traffic light.
(Aspect 2)
-
The state determination device according to Aspect 1, in which
the traffic light specification unit extracts a movement trajectory of a traffic light candidate from a plurality of images acquired by the sensor unit, and specifies the traffic light based on a comparison result between the movement trajectory and a movement trajectory of a traffic light included in the traffic light database.
(Aspect 3)
-
The state determination device according to Aspect 1 or 2, in which
the traffic light specification unit combines an appearance region included in the traffic light database with the image acquired by the sensor unit, and specifies the corresponding traffic light candidate as the traffic light when the traffic light candidate is detected in the appearance region.
(Aspect 4)
-
A state determination method in the state determination device according to any one of Aspects 1 to 3, the method including:
- a first step of storing, based on an image in a traveling direction of a traveling train, information related to a traffic light included in the image in a traffic light database;
- a second step of calculating a movement trajectory of a traffic light candidate from a plurality of images acquired by a sensor unit;
- a third step of comparing the movement trajectory of the traffic light candidate with a movement trajectory of the traffic light included in the traffic light database; and
- a fourth step of specifying the traffic light candidate as a traffic light when the movement trajectory of the traffic light candidate matches the movement trajectory of the traffic light included in the traffic light database.
(Aspect 5)
-
The state determination method according to Aspect 4,
- the traffic light specification unit of the state determination device including a line detection unit, and
- after the third step, the state determination method further including:
- a fifth step of combining an appearance region included in the traffic light database with the image acquired by the sensor unit; and
- a sixth step of specifying the corresponding traffic light candidate as the traffic light when the movement trajectory of the traffic light candidate matches the movement trajectory of the traffic light included in the traffic light database and the traffic light candidate is detected in the appearance region.
(Aspect 6)
-
A state determination method in the state determination device according to any one of Aspects 1 to 3, the method further including:
- a seventh step of combining an appearance region included in the traffic light database with the image acquired by the sensor unit; and
- an eighth step of specifying the corresponding traffic light candidate as the traffic light when the movement trajectory of the traffic light candidate matches the movement trajectory of the traffic light included in the traffic light database and the traffic light candidate is detected in the appearance region.
Reference Signs List
-
- 1, 2, 3: traffic light detection system
- 110: sensor unit
- 120: display unit
- 130: calculation unit
- 140: memory
- 150: storage unit
- 151: image acquisition unit
- 152, 252, 352: traffic light specification unit
- 1521: traffic light candidate detection unit
- 1522: traffic light candidate tracking unit
- 1523: comparison unit
- 153: position acquisition unit
- 154: traffic light database
- 155: traffic light confirmation unit
- 156: database writing unit
- 157: database reading unit
- 158: detection result output unit
- 2524: line detection unit