Location identification program, location identification method, and information processing device
The position specifying program uses depth estimation and image segmentation to accurately determine obstacle positions, addressing the inaccuracy in existing disaster evacuation tools and ensuring safer evacuation routes.
Patent Information
- Application Number
- JP2021001755
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2021-01-07
- Publication Date
- 2024-10-23
- Estimated Expiration
- 2041-01-07
AI Technical Summary
Existing technologies for disaster evacuation assistance tools inaccurately map obstacle positions due to discrepancies between the position of the obstacle imaged by a terminal and the terminal's GPS location, leading to incorrect evacuation route decisions.
A position specifying program and method that utilizes depth estimation and image segmentation to accurately determine the position of obstacles by combining GPS data with depth maps and road detection from LiDAR data, correcting the discrepancy between the imaged obstacle and the terminal's location.
Enables precise specification of obstacle positions, ensuring accurate evacuation route planning and safer evacuation by aligning the actual obstacle location with GPS data, thereby enhancing the reliability of disaster assistance tools.
Smart Images

Figure 0007571545000004 
Figure 0007571545000005 
Figure 0007571545000006
Abstract
Description
[Technical field]
[0001] The present invention relates to a subject position identification technique. [Background technology]
[0002] In recent years, in the case of large earthquakes and typhoons, the affected areas are so large that not only public assistance from the government and medical institutions but also mutual assistance among local residents is important. Therefore, mutual assistance support tools using smartphones and other devices during evacuation are being used.
[0003] For example, when an evacuee encounters a place where passage is difficult due to a fire, a collapsed building, flooding, etc., the evacuee takes a photo of the obstacle (disaster site) using the mutual aid support tool on the device and uploads the photo to the server together with the smartphone's location information at that time. The server uses the obstacle images and location information collected from each disaster victim to generate disaster information including map information with images of the obstacles attached to the disaster site. Each evacuee uses the mutual aid support tool on the device to browse the disaster information generated by the server and evacuates via a route that avoids the disaster site. [Prior art documents] [Patent documents]
[0004] [Patent Document 1] International Publication No. 2020 / 31812 Summary of the Invention [Problem to be solved by the invention]
[0005] However, with the above technology, there may be a discrepancy between the position of an obstacle captured by a terminal and the position of the terminal itself, and the affected area may not be accurately identified.
[0006] Specifically, because evacuees take images of obstacles from a distance, there is a slight difference between the actual location of the obstacle and the location acquired by the terminal's GPS (Global Positioning System). As a result, the obstacles are mapped to locations different from their actual locations in the disaster information generated by the server, which may lead to evacuees making incorrect decisions about the evacuation route.
[0007] According to one aspect, an object of the present invention is to provide a position specifying program, a position specifying method, and an information processing device that can specify the position of a subject with high accuracy. [Means for solving the problem]
[0008] In a first proposal, the position identification program causes a computer to execute the following process: acquire an captured image and a depth image corresponding to the captured image that represents the distance from an imaging position; identify a road area and other areas bordering the road area from the captured image; calculate a change in depth of a first area corresponding to the road area included in the depth image and a change in depth of a second area corresponding to the other areas included in the depth image; determine whether the other areas are detection targets based on the change in depth of the first area and the change in depth of the second area; and if it is determined that the other areas are detection targets, identify the position of a subject included in the other areas based on the depth of the second area and the shooting position. Effect of the Invention
[0009] According to one embodiment, the position of the subject can be identified with high accuracy. [Brief description of the drawings]
[0010] [Figure 1] FIG. 1 is a functional block diagram of the location specifying system according to the first embodiment. [Diagram 2] FIG. 2 is a functional block diagram of the information processing apparatus according to the first embodiment. [Diagram 3]FIG. 3 is a diagram illustrating the location specification according to the first embodiment. [Figure 4] FIG. 4 is a diagram illustrating the photographic depth estimation according to the first embodiment. [Diagram 5] FIG. 5 is a diagram for explaining photo segment estimation according to the first embodiment. [Figure 6] FIG. 6 is a diagram illustrating an example of a flowchart of the position specifying process according to the first embodiment. [Figure 7] FIG. 7 illustrates the location problem. [Figure 8] FIG. 8 is a diagram for explaining the depth characteristics of a road. [Figure 9] FIG. 9 is a functional block diagram of the information processing device according to the second embodiment. [Figure 10] FIG. 10 is a diagram for explaining photo segment estimation according to the second embodiment. [Figure 11] FIG. 11 is a diagram for explaining the obstacle candidate extraction according to the second embodiment. [Figure 12-1] FIG. 12-1 is a diagram (1) for explaining the obstacle determination according to the second embodiment. [Figure 12-2] FIG. 12-2 is a diagram (2) illustrating the obstacle determination according to the second embodiment. [Figure 13-1] FIG. 13A is a diagram (1) for explaining position determination according to the second embodiment. [Figure 13-2] FIG. 13B is a diagram (2) illustrating the location specification according to the second embodiment. [Figure 14] FIG. 14 is a diagram showing an example of an obstacle displayed on a victim's terminal. [Figure 15] FIG. 15 is a diagram illustrating an example of a flowchart of the position specifying process according to the second embodiment. [Figure 16-1] FIG. 16-1 is a diagram (1) for explaining the case where the position identification according to the second embodiment is evaluated using a sample photograph. [Figure 16-2] FIG. 16-2 is a diagram (2) for explaining the case where the position identification according to the second embodiment is evaluated using a sample photograph. [Figure 16-3]FIG. 16-3 is a diagram (3) for explaining the case where the position identification according to the second embodiment is evaluated using a sample photograph. [Figure 17] FIG. 17 is a diagram illustrating an example of a hardware configuration. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0011] Hereinafter, the location identification program, the location identification method, and the information processing device according to the present invention will be described in detail with reference to the drawings. Note that the present invention is not limited to these embodiments. In addition, each embodiment can be appropriately combined within a range that does not cause a contradiction.
[0012] 1 is a functional block diagram illustrating a functional configuration of a position specifying system according to Example 1. The position specifying system 9 includes an information processing device 1, a terminal 3, and a terminal 5.
[0013] Terminal 3 is a terminal of an evacuee, and when the evacuee encounters a road that has become difficult to pass during a disaster, the terminal takes a photo of the obstacle (disaster site) through an evacuation support app. Terminal 3 has a GPS function and an electronic compass (magnetic sensor) in addition to a photographing function, a communication function, an operation function, and a display function. Terminal 3 can obtain the position where the photo was taken by the GPS, and the photographing direction by the electronic compass. Terminal 3 is, for example, a smartphone with a GPS and an electronic compass. The evacuation support app is an example of a mutual assistance tool during evacuation.
[0014] The terminal 5 is a terminal of an evacuee who uses an evacuation support app. The terminal 5 has the same functions as the terminal 3. The terminal 5 is, for example, a smartphone.
[0015] When the information processing device 1 acquires a photo of the disaster site taken by the photographer, the position where the photo was taken, and the shooting direction from the terminal 3, the information processing device 1 identifies a road corresponding to the shooting direction from the photo on a map of the evacuation support app. The information processing device 1 then estimates the depth of the photo using a depth estimation model trained on LiDAR (Light Detection and Ranging) data, for example. The information processing device 1 then identifies the position of an obstacle on the road indicating the disaster site from the position where the photo was taken and the depth of the road in the photo.
[0016] That is, although there is a discrepancy between the position where the photo was taken and the position of the disaster site on the road where the photo was taken, the information processing device 1 corrects this discrepancy to identify the position of the disaster site. Then, the information processing device 1 displays the taken photo at an estimated position on the map of the evacuation support app. Here, the reason why the disaster site is a road is because roads are used as evacuation routes in the event of a disaster. If there is a road that is difficult to pass in the event of a disaster, it will hinder rapid evacuation. Therefore, the information processing device 1 accurately estimates the position of an obstacle on the road that indicates the disaster site. As a result, the information processing device 1 can share the damage situation from the captured photo with local residents who use the evacuation support app, and support safer evacuation.
[0017] Fig. 2 is a functional block diagram showing a functional configuration of the information processing device according to the first embodiment. As shown in Fig. 2, the information processing device 1 includes a communication unit 11, a storage unit 12, and a control unit 20. The communication unit 11 controls communication with other devices. For example, the communication unit 11 receives a photo of a disaster site (obstacle), a position where the photo was taken, and a direction in which the photo was taken from the terminal 3. The communication unit 11 also transmits a map of an evacuation support app, in which the estimated positions of obstacles are indicated, to the terminals 3 and 5.
[0018] The storage unit 12 stores various data, programs executed by the control unit 20, and the like. For example, the storage unit 12 stores a depth estimation model 13 and a segmentation model 14.
[0019] The depth estimation model 13 is a machine learning model that estimates depth, and is a machine learning model generated by machine learning using "RGB (Red Green Blue) image data, LiDAR data" as training data "data, label". In other words, the depth estimation model 13 outputs a LiDAR depth map in response to an input of RGB image data.
[0020] The segmentation model 14 is a machine learning model that estimates image segmentation (semantic segmentation), and is a machine learning model generated by machine learning using "RGB image data, segment information" as training data "data, label". That is, the segmentation model 14 outputs segment information according to the input of RGB image data. Image segmentation here means dividing an image area into segments. A segment means a classification (meaning) in an image area. For example, if the RGB image data is a photograph of a disaster site on a road, the road, sky, car, pedestrian, etc. can be classified as segments. In the following, a photograph may be described as photograph data, RGB image data, or RGB image.
[0021] The control unit 20 is a processing unit that controls the entire information processing device 10, and has a road identification unit 21, a depth estimation unit 22, a segment estimation unit 23, and a position identification unit 24. The road identification unit 21 identifies a road corresponding to the shooting direction. For example, the road identification unit 21 acquires photo data, the shooting position, and electronic compass information from the terminal 3. The road identification unit 21 acquires the shooting direction from the electronic compass information. Then, the road identification unit 21 identifies a road that corresponds to the shooting direction from the shooting position on the map of the evacuation support app.
[0022] The depth estimation unit 22 estimates a depth corresponding to the photographic data using the depth estimation model 13. For example, the depth estimation unit 22 inputs photographic data, which is RGB image data, to the depth estimation model 13, and outputs a depth map corresponding to the image data from the depth estimation model 13. That is, the depth estimation unit 22 acquires a depth map corresponding to the captured image, which indicates a distance from the photographing position. Note that, although it has been described that the depth estimation unit 22 estimates a depth corresponding to the photographic data using the depth estimation model 13, this is not limiting. If the terminal 3 or the information processing device 1 has a LiDAR function, the depth estimation unit 22 may use a depth map measured by the LiDAR function.
[0023] The segment estimation unit 23 estimates a segment corresponding to the photo data by using the segmentation model 14. For example, the segment estimation unit 23 inputs RGB image data to the segmentation model 14 and estimates segment information including roads from the segmentation model 14.
[0024] The position identifying unit 24 identifies the position of the disaster site from the shooting position and the depth of the road. For example, the position identifying unit 24 extracts a road segment estimated by the segment estimation unit 23. The position identifying unit 24 identifies the position of the disaster site from the shooting position and the depth of the road segment. As an example, the position identifying unit 24 estimates the depth of the top of the road segment as the depth of an obstacle. Then, the position identifying unit 24 estimates the distance of the obstacle from the shooting position using the depth of the obstacle, and identifies the position of the obstacle (disaster site). Then, the position identifying unit 24 associates the photo data (RGB image data) with the identified position on the map data of the evacuation app.
[0025] FIG. 3 is a diagram for explaining position determination according to the first embodiment. FIG. 3 shows an image of a map of an evacuation support application. As shown in FIG. 3, a road determination unit 21 determines a road corresponding to the photographing direction of an electronic compass when a disaster site is photographed at a GPS photographing position. A depth estimation unit 22 estimates a depth map corresponding to a captured image of a photograph. A segment estimation unit 23 estimates a road segment corresponding to a captured image of a photograph. A position determination unit 24 estimates a depth (distance) of the disaster site from the GPS photographing position based on the GPS photographing position and the depth of the road segment obtained from the depth map. As a result, the position determination unit 24 determines the position of the disaster site.
[0026] Fig. 4 is a diagram for explaining photographic depth estimation according to the first embodiment. As shown in Fig. 4, the depth estimation unit 22 inputs RGB image data to the depth estimation model 13, and outputs a depth map corresponding to the RGB image data from the depth estimation model 13. That is, the depth estimation unit 22 outputs a depth map corresponding to the RGB image data, which indicates a distance from a photographing position. Note that the depth estimation unit 22 may output a depth map from the RGB image data using a LiDAR function instead of the depth estimation model 13.
[0027] FIG. 5 is a diagram for explaining the photo segment estimation according to the first embodiment. The upper diagram of FIG. 5 shows a depth map of RGB image data. As shown in the upper diagram of FIG. 5, the problem is how to extract the distance (depth) to an obstacle from the depth map. To address this problem, the segment estimation unit 23 utilizes detection of a road using image segmentation (semantic segmentation). That is, as shown in the lower diagram of FIG. 5, the segment estimation unit 23 estimates various segments including a road from the RGB image data using a segmentation model 14. In this example, in addition to the road, a sidewalk, a tree, a sky, and a building are estimated as segments. Then, the segment estimation unit 23 estimates a road segment in which a disaster site exists. Then, the position identification unit 24 estimates, for example, the depth of the top of the road segment as the depth (distance) of the obstacle from the shooting position based on the shooting position and the depth map. Then, the position identification unit 24 adds the shooting position and the estimated distance to identify the position of the disaster site.
[0028] 6 is a diagram illustrating an example of a flowchart of a position identification process according to the first embodiment. It is assumed that the information processing device 1 acquires photo data of a disaster site, a GPS shooting position, and electronic compass information from the terminal 3. As illustrated in FIG. 6, the road identification unit 21 acquires a shooting direction from the electronic compass information (step S11). The road identification unit 21 identifies a road corresponding to the shooting direction (step S12).
[0029] Next, the depth estimation unit 22 estimates the depth of the photograph (step S13). For example, the depth estimation unit 22 uses the depth estimation model 13 to estimate a depth map of the photograph from the photograph data, which is RGB image data.
[0030] Then, the segment estimation unit 23 estimates segment information of the photo (step S14). For example, the segment estimation unit 23 uses the segmentation model 14 to estimate a segment corresponding to the photo data, which is RGB image data.
[0031] Then, the segment estimation unit 23 labels each of the image pixel groups corresponding to the road segments obtained from the segment information (step S15). For example, the segment estimation unit 23 labels each of the pixel groups (connected regions) corresponding to the road segments based on the segment information.
[0032] Then, the position identifying unit 24 determines a road that extends from the bottom of the photograph based on the labeling (step S16). For example, the position identifying unit 24 extracts the outline of a road segment based on the labeling. Then, the position identifying unit 24 determines a road segment that extends from the bottom of the photograph from the outline of the road segment. If it is determined that there is no road that extends from the bottom of the photograph (step S16; No), the position identifying unit 24 ends the position identifying process.
[0033] On the other hand, if it is determined that there is a road extending from the bottom of the photograph (step S16; Yes), the position specifying unit 24 specifies the road segment extending from the bottom of the photograph as the road segment to be analyzed (step S17).
[0034] Then, the position identifying unit 24 acquires the depth of the top of the road segment (step S18). For example, the position identifying unit 24 acquires the depth of the market part of the road segment to be analyzed using a depth map. Then, the position identifying unit 24 estimates the position of the disaster site from the GPS shooting position and the acquired depth (step S19). Then, the position identifying unit 24 ends the position identifying process.
[0035] According to the above-mentioned first embodiment, the information processing device 1 acquires a captured image and a depth map corresponding to the captured image that indicates a distance from an imaging position. The information processing device 1 identifies a road area from the captured image using image segmentation. The information processing device 1 identifies a position of a disaster site (obstacle) existing in the road area based on the depth of the road area obtained from the depth map and the shooting position. According to this configuration, the information processing device 1 can accurately identify disaster information by using the shooting position and the depth of the road area.
[0036] In the first embodiment, the information processing device 1 has been described as taking the depth of the top of the road segment as the depth of the disaster site (obstacle). However, in the event of a disaster, an obstacle such as a collapsed object or a sinkhole may exist on a part of the road. When an obstacle exists on a part of the road, the segmentation detects the road segment as being connected from the obstacle to the end. Also, in the segmentation, another segment may be detected on the road segment due to noise. When an obstacle exists on a part of the road or when another segment is detected on the road segment, it may be difficult to determine where the obstacle is located.
[0037] Fig. 7 is a diagram illustrating the problem of identifying a position. As shown in the left side of Fig. 7, when an obstacle exists at the top of a road segment, the information processing device 1 can determine the position of the obstacle even if the depth of the top of the road segment is taken as the depth of the obstacle. That is, the information processing device 1 can identify the position of the obstacle at a distance A in the depth direction from the bottom to the top of the depth image.
[0038] On the other hand, as shown in the right of Fig. 7, when an obstacle is not at the top of a road segment, that is, when the obstacle is in a part of the road, the information processing device 1 cannot determine where the obstacle is located on the road segment. For example, it is difficult for the information processing device 1 to identify the position of another segment on the road located at a distance B in the depth direction from the bottom to the top of the depth image, or the position of an obstacle located at a distance C.
[0039] Here, the depth characteristics of a road will be described with reference to Fig. 8. Fig. 8 is a diagram for explaining the depth characteristics of a road. The left side of Fig. 8 shows the segmentation results of a road segment estimated from photo data, which is RGB image data. Other segments and obstacles have been detected in the road segment.
[0040] The right side of Figure 8 shows the result of overlaying segment information on a depth map estimated from the same photo data. As shown in the right side of Figure 8, the depth of the road increases continuously from the bottom to the top of the depth map. The depth of obstacles has a different depth trend than the depth of the road segment. The depth of other segments has the same depth trend as the depth of the road segment. The depth trend is indicated, for example, by depth displacement information.
[0041] Therefore, it is possible to determine the presence or absence of an obstacle from the trend of the depth. In the second embodiment, an information processing device 1 that estimates the position of an obstacle by utilizing the depth characteristics of a road will be described.
[0042] Fig. 9 is a functional block diagram showing a functional configuration of an information processing device according to Example 2. The same components as those of the information processing device 1 shown in Fig. 2 of Example 1 are denoted by the same reference numerals, and the description of the overlapping components and operations will be omitted. Example 1 differs from Example 2 in that an obstacle candidate extraction unit 31 and an obstacle determination unit 32 are added. Example 1 also differs from Example 2 in that the segment estimation unit 23 is changed to a segment estimation unit 23A, and the position identification unit 24 is changed to a position identification unit 24A.
[0043] The segment estimation unit 23A estimates road segments from photo data using the segmentation model 14. For example, the segment estimation unit 23A inputs RGB image data to the segmentation model 14 and estimates segment information including roads from the segmentation model 14. Then, the segment estimation unit 23A extracts the contour of the road segment to be analyzed based on the segment information. As an example, the segment estimation unit 23A labels each pixel group (connected area) corresponding to the road segment, and extracts the contour of the road segment emerging from the bottom of the photo based on the labeling. Then, the segment estimation unit 23A estimates that the inside of the contour of the extracted road segment is the road to be analyzed, and the outside of the contour of the extracted road segment is not the road to be analyzed. That is, the segment estimation unit 23A utilizes the fact that evacuees take photos from above the road, and determines the road emerging from the bottom of the photo as the road to be analyzed.
[0044] The obstacle candidate extraction unit 31 extracts obstacle candidates in a road segment. For example, when another segment exists in the road segment, the obstacle candidate extraction unit 31 determines the other segment in the road segment as an obstacle candidate segment and calculates the coordinates (x-axis pixel value, y-axis pixel value) of the obstacle candidate segment. Then, the obstacle candidate extraction unit 31 maps the road segment information to a depth map. Then, the obstacle candidate extraction unit 31 performs the following process for each obstacle candidate segment. That is, the obstacle candidate extraction unit 31 extracts depth data of the obstacle candidate and extracts depth data of the road segment related to the obstacle candidate. The depth data here indicates a depth value corresponding to the coordinates (x-axis pixel value, y-axis pixel value). The road segment related to the obstacle candidate here refers to the road segments before and after the obstacle candidate. Note that the obstacle candidate in the road segment is an example of the second region. The road segment related to the obstacle candidate is an example of the first region.
[0045] The obstacle determination unit 32 determines whether or not the obstacle candidate segment is a detection target as an obstacle segment based on the change in depth of the road segment related to the obstacle candidate and the change in depth of the obstacle candidate segment. For example, the obstacle determination unit 32 calculates the change in depth of the road segment related to the obstacle candidate from the depth data. The obstacle determination unit 32 calculates the change in depth of the obstacle candidate segment from the depth data. The obstacle determination unit 32 statistically determines whether the obstacle candidate segment is a road or an obstacle based on the change in depth of the road segment related to the obstacle candidate and the change in depth of the obstacle candidate segment. As an example, the obstacle determination unit 32 converts the depth data of the road segment related to the obstacle candidate into a linear regression equation for performing a statistical significant difference test. The obstacle determination unit 32 converts the depth data of the obstacle candidate segment into a linear regression equation for performing a statistical significant difference test. Then, the obstacle determination unit 32 determines whether or not there is a significant difference based on the two linear regression equations. If there is a significant difference, the obstacle determination unit 32 determines that the obstacle candidate segment is an obstacle segment. If there is no significant difference, the obstacle determination unit 32 determines that the obstacle candidate segment is a road segment. Note that the obstacle determination unit 32 may determine that the obstacle candidate segment is an obstacle segment if there is a significant difference equal to or greater than a predetermined threshold.
[0046] The position identifying unit 24A identifies the position of the disaster site (obstacle) from the photographing position and the depth directly below the obstacle. For example, when an obstacle segment exists within a road segment, the position identifying unit 24A acquires the depth of the road segment directly below the obstacle segment. When an obstacle segment does not exist within a road segment, the position identifying unit 24A acquires the depth of the top of the road segment. Then, the position identifying unit 24A identifies the position of the disaster site from the photographing position and the acquired depth. Then, the position identifying unit 24A associates the photo data (RGB image data) with the identified position on the map data of the evacuation app.
[0047] Fig. 10 is a diagram for explaining photo segment estimation according to Example 2. As shown in Fig. 10, the segment estimation unit 23A utilizes road detection using image segmentation (semantic segmentation). That is, the segment estimation unit 23A estimates various types of segment information including roads from RGB image data using the segmentation model 14.
[0048] Then, the segment estimation unit 23A extracts the contour of the road segment to be analyzed based on the segment information. As an example, the segment estimation unit 23A labels each pixel group (connected area) corresponding to the road segment, and extracts the contour of the road segment extending from the bottom of the photograph based on the labeling. Then, the segment estimation unit 23A assumes that the inside of the contour of the extracted road segment is the road to be analyzed, and estimates that the outside of the contour of the extracted road segment is not the road to be analyzed. Here, the road (2) indicating the inside of the contour of the road segment extending from the bottom of the photograph is the road to be analyzed. Also, the road (1) indicating the outside of the contour of the road segment extending from the bottom of the photograph is estimated to be the road not to be analyzed.
[0049] FIG. 11 is a diagram for explaining obstacle candidate extraction according to the second embodiment. The left side of FIG. 11 shows the segmentation result of the road to be analyzed. When another segment exists within the road segment, the obstacle candidate extraction unit 31 specifies the other segment within the road segment as an obstacle candidate. Here, the obstacle candidate is specified within the road segment to be analyzed. <1> and potential obstacles <2> Then, the obstacle candidate extraction unit 31 calculates the coordinates (x-axis pixel value, y-axis pixel value) of the obstacle candidate.
[0050] The right side of Fig. 11 shows a depth map showing the result of mapping the road segment information shown in the left side of Fig. 11 onto the depth map. In the depth map, the distance increases from the bottom to the top. The obstacle candidate extraction unit 31 performs the following process for each obstacle candidate. That is, the obstacle candidate extraction unit 31 extracts depth data of the obstacle candidate from the depth map, and also extracts depth data of the road segment related to the obstacle candidate. Here, the obstacle candidate <1> and potential obstacles <2> Among these, obstacle candidates are <1> As an example, the depth data is shown in the lower right of Fig. 11. For example, when the x-axis pixel is "30" and the y-axis pixel is "13", the depth is set to "2.5". When the x-axis pixel is "50" and the y-axis pixel is "12", the depth is set to "2.2".
[0051] 12-1 and 12-2 are diagrams for explaining obstacle determination according to the second embodiment. The left side of FIG. 12-1 shows the depth map shown in the right side of FIG. 11. Here, obstacle candidates <1> The obstacle determining unit 32 detects obstacle candidates <1> Depth changes of road segments and obstacle candidates associated with <1> Based on the change in depth of the obstacle candidate, <1> The obstacle determination unit 32 statistically determines whether an obstacle candidate is a road or an obstacle. <1> Road segments and obstacle candidates before and after <1> By comparing the shape of the function of the depth and y-axis pixel corresponding to a certain x-axis pixel value, obstacle candidates are identified. <1> is a road or an obstacle. This is because the road depth has the characteristic that it increases continuously with respect to the y-axis pixels of the depth map. In other words, the road depth has the characteristic that it increases continuously from the bottom to the top of the depth map. Note that a certain x-axis pixel value, for example, <1> It is sufficient if the x-axis pixel value is the median value of the x-axis pixel values that make up the
[0052] Therefore, the obstacle candidates <1> If the obstacle candidate is a road, as shown in FIG. 12-1, the function shapes are the same (there is no statistically significant difference in the change in depth), so the obstacle determination unit 32 determines that the obstacle candidate is a road. <1> When the obstacle candidate is an obstacle, the shape of the function is different (there is a statistically significant difference in the change in depth) as shown on the right of FIG. 12-1, so the obstacle determining unit 32 determines that the obstacle candidate is an obstacle.
[0053] An example of an obstacle determination method will be described with reference to FIG. 12-2. First, a function indicating the relationship between depth and y-axis pixel is expressed by the following formula (1) from the perspective. Then, formula (1) takes the form of a graph shown in FIG. 12-2, for example. Note that x indicates depth, and y indicates the y-axis pixel value of the depth map.
number
[0054] Here, in order to use formula (1) to detect obstacles, formula (1) is approximated to a nonlinear regression formula as shown in formula (2) below. Note that x indicates depth, y indicates the y-axis pixel value of the depth map, and a and b indicate regression coefficients.
number
[0055] Furthermore, in order to test for statistical significance, formula (2) is converted into a linear regression equation as shown in formula (3) below. Then, formula (3) takes the form of a graph, for example, as shown in Figure 12-2.
number
[0056] The obstacle determination unit 32 detects obstacle candidates <1> The obstacle determining unit 32 converts the depth data of the road segments before and after the obstacle candidate into the linear regression equation of equation (3). <1> The depth data is converted into the linear regression equation of Equation (3). Then, the obstacle determination unit 32 determines whether or not there is a significant difference based on the two linear regression equations. Here, the graph shown in the lower left of FIG. 12-2 is the obstacle candidate. <1> The linear regression equation for the road segments before and after the obstacle candidate is shown in the graph in the lower right of Figure 12-2. <1> is the linear regression equation corresponding to
[0057] If there is a significant difference, the obstacle determination unit 32 determines <1> If there is no significant difference, the obstacle determining unit 32 determines that the obstacle candidate is an obstacle. <1> is determined to be a road.
[0058] 13-1 and 13-2 are diagrams for explaining position determination according to the second embodiment. As shown in the left side of Fig. 13-1, when there is no obstacle in the road segment, the position determination unit 24A acquires the depth (distance) of the top of the road segment from the depth map. Also, as shown in the right side of Fig. 13-1, when there is an obstacle in the road segment, the position determination unit 24A acquires the depth (distance) of the road segment immediately below the obstacle.
[0059] FIG. 13-2 shows an image of a map of the evacuation support application. As shown in FIG. 13-2, the position identification unit 24A estimates the depth (distance) of the disaster site from the GPS photographing position with respect to the road corresponding to the photographing direction of the electronic compass, based on the GPS photographing position and the depth to the obstacle obtained from the depth map. As a result, the position identification unit 24A identifies the position of the disaster site. For example, the position identification unit 24A adds the GPS photographing position and the estimated depth (distance) to identify the position of the disaster site.
[0060] FIG. 14 is a diagram showing an example of an obstacle displayed on a victim's device. In FIG. 14, the location of a disaster site where an obstacle is on the road is displayed on the map data of an evacuation support app. Photo data is associated with the location of the disaster site on the map data. Here, the location of the black speech bubble is the location of the disaster site on the road, which is currently impassable. In this way, the evacuation support app can share the damage situation with local residents by displaying the exact location of the disaster site, and can support safer evacuation.
[0061] Fig. 15 is a diagram illustrating an example of a flowchart of a position identification process according to the second embodiment. It is assumed that the information processing device 1 acquires photo data of a disaster site, a GPS shooting position, and electronic compass information from the terminal 3. As illustrated in Fig. 15, the road identification unit 21 acquires a shooting direction from the electronic compass information (step S21). The road identification unit 21 identifies a road corresponding to the shooting direction (step S22).
[0062] Next, the depth estimation unit 22 estimates the depth of the photograph (step S23). For example, the depth estimation unit 22 uses the depth estimation model 13 to estimate a depth map of the photograph from the photograph data, which is RGB image data.
[0063] Then, the segment estimation unit 23 estimates segment information of the photo (step S24). For example, the segment estimation unit 23 uses the segmentation model 14 to estimate a segment corresponding to the photo data, which is RGB image data.
[0064] Then, the segment estimation unit 23A labels each of the image pixel groups corresponding to the road segments obtained from the segment information (step S25). For example, the segment estimation unit 23A labels each of the pixel groups (connected regions) corresponding to the road segments based on the segment information.
[0065] Then, the segment estimation unit 23A determines a road that exits from the bottom of the photograph based on the labeling (step S26). For example, the segment estimation unit 23A extracts the outline of the road segment based on the labeling. Then, the segment estimation unit 23A determines a road segment that exits from the bottom of the photograph based on the outline of the road segment. If it is determined that there is no road that exits from the bottom of the photograph (step S26; No), the segment estimation unit 23A ends the position identification process.
[0066] On the other hand, if it is determined that there is a road extending from the bottom of the photograph (step S26; Yes), the segment estimation unit 23A identifies the road segment extending from the bottom of the photograph as the road segment to be analyzed (step S27).
[0067] Then, the obstacle candidate extraction unit 31 identifies an obstacle candidate segment in the road segment to be analyzed (step S28). For example, if another segment exists in the road segment, the obstacle candidate extraction unit 31 identifies the other segment in the road segment as an obstacle candidate segment. Then, the obstacle candidate extraction unit 31 determines whether or not an obstacle candidate segment exists (step S29). If it is determined that an obstacle candidate segment does not exist (step S29; No), the obstacle candidate extraction unit 31 proceeds to step S39.
[0068] On the other hand, if it is determined that an obstacle candidate segment exists (step S29; Yes), the obstacle determination unit 32 maps the road segment information of the analysis target to the depth map (step S30).Then, the obstacle determination unit 32 extracts depth information of the obstacle candidate segment (step S31).Then, the obstacle determination unit 32 extracts depth information of the road segment related to the obstacle candidate segment (step S32).
[0069] The obstacle determination unit 32 converts the depth information of the obstacle candidate segment into linear regression equation information for statistical significant difference testing (step S33). The obstacle determination unit 32 converts the depth information of the road segment related to the obstacle candidate segment into linear regression equation information for statistical significant difference testing (step S34).
[0070] Then, the obstacle determination unit 32 tests for a statistically significant difference between the two groups of interactions (step S35). Then, the obstacle determination unit 32 tests for a statistically significant difference based on the two pieces of linear regression equation information. Then, the obstacle determination unit 32 determines whether or not there is a statistically significant difference (step S36). If it is determined that there is no statistically significant difference (step S36; No), the obstacle determination unit 32 determines that the obstacle candidate segment is a road (step S37). Then, the obstacle determination unit 32 proceeds to step S39.
[0071] On the other hand, if it is determined that there is a statistically significant difference (step S36; Yes), the obstacle determiner 32 determines that the obstacle candidate segment is an obstacle (step S38). Then, the obstacle determiner 32 proceeds to step S39.
[0072] Then, the position identifying unit 24A judges whether or not there is an obstacle in the road segment to be analyzed (step S39). If it is judged that there is no obstacle in the road segment (step S39; No), the position identifying unit 24A acquires the depth of the top of the road segment from the depth map (step S40). Then, the position identifying unit 24A proceeds to step S42.
[0073] On the other hand, if it is determined that an obstacle exists in the road segment (step S39; Yes), the position specifying unit 24A acquires the depth of the road segment immediately below the obstacle segment determined to be an obstacle (step S41). Then, the position specifying unit 24A proceeds to step S42.
[0074] In step S42, the position specifying unit 24A estimates the position of the disaster site from the GPS shooting position and the acquired depth (step S42), and then the position specifying unit 24A ends the position specifying process.
[0075] 16-1 to 16-3 are diagrams for explaining a case where the position specification according to the second embodiment is evaluated using a sample photograph. As shown in the left part of FIG. 16-1, the segment estimation unit 23A estimates various segment information including roads from the RGB image G0 of the sample photograph using the segmentation model 14, and extracts a road segment protruding from the bottom of the photograph based on the various segment information. The image G1 is an image in which the road segment is extracted from the various segment information. Then, when another segment exists in the extracted road segment, the obstacle candidate extraction unit 31 specifies the other segment in the road segment as an obstacle candidate. Here, another segment s0 is specified as an obstacle candidate in the road segment.
[0076] As shown in Fig. 16-1, the obstacle candidate extraction unit 31 maps the road segment information onto a depth map corresponding to the RGB image G0 to obtain a depth map G2 of the road segments. Also, as shown on the right side of Fig. 16-1, the obstacle candidate extraction unit 31 maps the road segment information onto a depth map corresponding to the RGB image G0 to obtain a depth map G3 of the obstacle candidate segments.
[0077] Then, the obstacle determination unit 32 statistically determines whether the obstacle candidate segment s0 is a road or an obstacle based on the change in depth of the road segment related to the obstacle candidate segment s0 and the change in depth of the obstacle candidate segment s0. For example, the obstacle determination unit 32 converts the depth data of the road segments before and after the x-axis pixel constituting the obstacle candidate segment s0 into the linear regression equation of equation (3). The obstacle determination unit 32 converts the depth data of the obstacle candidate s0 into the linear regression equation of equation (3).
[0078] Then, the obstacle determination unit 32 determines whether or not there is a significant difference based on the two linear regression equations. If there is a significant difference, the obstacle determination unit 32 determines that the obstacle candidate segment s0 is an obstacle. If there is no significant difference, the obstacle determination unit 32 determines that the obstacle candidate segment s0 is a road. As shown in FIG. 16-2, graphs corresponding to the two linear regression equations are shown. Here, the black graph is a graph of the linear regression equation of the road segment related to the obstacle candidate segment s0. The gray graph is a graph of the linear regression equation of the obstacle candidate segment s0. The graphs corresponding to the two linear regression equations have the same depth tendency. Then, the obstacle determination unit 32 determines that there is no significant difference because the P value indicating a significant difference is 0.518. Therefore, the obstacle determination unit 32 determines that there is no significant difference because there is no significant difference, and therefore, the obstacle determination unit 32 determines that the obstacle candidate segment s0 is a road.
[0079] Here, the inventors set up virtual obstacles in the obstacle candidate segments. Then, graphs corresponding to the two linear regression equations as shown in FIG. 16-3 are displayed. The graphs corresponding to the two linear regression equations have different depth trends. Then, the obstacle determination unit 32 determines that the P value indicating a significant difference is 5.08×10 -10 Therefore, since there is a significant difference, the obstacle determining unit 32 determines that the obstacle candidate segment is an obstacle.
[0080] According to the above-mentioned second embodiment, the information processing device 1 acquires a captured image and a depth image corresponding to the captured image that indicates a distance from an imaging position. The information processing device 1 identifies a road area and other areas adjacent to the road area from the captured image. The information processing device 1 calculates a change in depth of a first area corresponding to the road area included in the depth image and a change in depth of a second area corresponding to the other areas included in the depth image. The information processing device 1 determines whether or not the other areas are detection targets based on the change in depth of the first area and the change in depth of the second area. When the information processing device 1 determines that the other areas are detection targets, the information processing device 1 identifies the position of the subject included in the other areas based on the depth of the second area and the shooting position. Thereby, the information processing device 1 can accurately estimate the position of the disaster site by using the change in depth between the road area and the other areas adjacent to the road area. As a result, the information processing device 1 can accurately convey the disaster site to the user of the evacuation support app.
[0081] According to the second embodiment, the information processing device 1 inputs a captured image to a machine learning model that outputs a depth image in response to an input of an RGB image, and acquires a depth image corresponding to the captured image. In this way, the information processing device 1 can acquire a highly accurate depth image corresponding to the captured image by using the machine learning model.
[0082] According to the second embodiment, the information processing device 1 determines that the second region corresponding to the other region is a detection target when the change in depth of the second region before and after the second region coincides with that of the first region and the change in depth of the second region corresponding to the second region differs from the change in depth of the first region. This allows the information processing device 1 to determine the tendency of the change in depth by comparing the change in depth between the second region and the first region before and after the second region.
[0083] According to the second embodiment, the information processing device 1 calculates the change in depth of a first area corresponding to a road area and the change in depth of a second area corresponding to another area in the depth direction from the bottom to the top of the depth image. When the trend of the second depth change differs from the trend of the first depth change by a threshold or more, the information processing device 1 determines that the other area is a detection target. This allows the information processing device 1 to determine the detection target by using the trend of the depth change.
[0084] According to the second embodiment, the information processing device 1 calculates the change in depth of the first area corresponding to the road area and the change in depth of the second area corresponding to another area in the depth direction from the bottom to the top of the depth image. The information processing device 1 converts each of the change in depth of the first area and the change in depth of the second area into each linear regression equation information indicating the relationship between the number of pixels in the depth direction and the depth of the depth image. If there is a statistically significant difference between each linear regression equation information, the information processing device 1 determines that the second area is not a detection target, and if there is no statistically significant difference, the information processing device 1 determines that the second area is a detection target. As a result, the information processing device 1 can easily determine the presence or absence of a statistically significant difference between the road area (first area) and the second area by using the linear regression equation information indicating the relationship between the depth and the number of y-axis pixels. In other words, by utilizing the depth characteristic that the depth of the road area continuously increases with the number of y-axis pixels in the depth image (depth map), the information processing device 1 can easily determine whether or not there is a statistically significant difference between the road area (first area) and the second area.
[0085] Furthermore, according to the above-mentioned second embodiment, when the second area is determined to be a detection target based on each linear regression equation information, the information processing device 1 identifies the position of the subject included in another area based on the depth and imaging position of the second area. Then, the information processing device 2 associates the image data of the subject with the position of the subject on the map data. This allows the information processing device 1 to accurately estimate the position of the second area (disaster site) that is not a road area. As a result, the information processing device 1 can share the disaster site with local residents who use the evacuation support app, and support safer evacuation.
[0086] Furthermore, according to the above-mentioned second embodiment, when the second area is determined to be outside the detection target based on each linear regression equation information, the information processing device 1 identifies the position of the subject based on the depth of the top of the first area and the imaging position. Then, the information processing device 2 associates the image data of the subject with the position of the subject on the map data. This allows the information processing device 1 to accurately estimate the position of the top of the road area as the disaster site. As a result, the information processing device 1 can share the disaster site with local residents who use the evacuation support app, and support safer evacuation.
[0087] The information including the processing procedures, control procedures, specific names, various data and parameters shown in the above documents and drawings can be changed arbitrarily unless otherwise specified.
[0088] In addition, each component of each device shown in the figure is a functional concept, and does not necessarily have to be physically configured as shown in the figure. In other words, the specific form of distribution and integration of each device is not limited to that shown in the figure. In other words, all or part of them can be functionally or physically distributed and integrated in any unit according to various loads, usage conditions, etc.
[0089] Furthermore, each processing function performed by each device may be realized, in whole or in part, by a CPU and a program analyzed and executed by the CPU, or may be realized as hardware using wired logic.
[0090] Fig. 17 is a diagram for explaining an example of a hardware configuration. As shown in Fig. 17, the information processing device 1 includes a communication device 10a, a hard disk drive (HDD) 10b, a memory 10c, and a processor 10d. The components shown in Fig. 10 are connected to each other via a bus or the like.
[0091] The communication device 10a is a network interface card or the like, and communicates with other devices. The HDD 10b stores programs and DBs that operate the functions shown in FIGS.
[0092] The processor 10d reads out a program that executes the same processing as each processing unit shown in FIG. 2 and FIG. 9 from the HDD 10b or the like and loads it in the memory 10c, thereby operating a process that executes each function described in FIG. 2 and FIG. 9 or the like. For example, this process executes a function similar to that of each processing unit possessed by the information processing device 1. Specifically, the processor 10d reads out a program having the same function as the road identification unit 21, the depth estimation unit 22, the segment estimation units 23 and 23A, the obstacle candidate extraction unit 31, the obstacle determination unit 32, the position identification unit 24 and 24A, or the like from the HDD 10b or the like. Then, the processor 10d executes a process that executes the same processing as the road identification unit 21, the depth estimation unit 22, the segment estimation units 23 and 23A, the obstacle candidate extraction unit 31, the obstacle determination unit 32, the position identification unit 24 and 24A, or the like.
[0093] In this way, the information processing device 1 operates as an information processing device that executes a position identification method by reading and executing a program. The information processing device 1 can also realize functions similar to those of the above-mentioned embodiment by reading the program from a recording medium using a medium reading device and executing the read program. Note that the program in this other embodiment is not limited to being executed by the information processing device 1. For example, the present invention can be similarly applied to a case where another computer or server executes a program, or a case where these execute a program in cooperation with each other.
[0094] This program can be distributed via a network such as the Internet. This program can also be recorded on a computer-readable recording medium such as a hard disk, a flexible disk (FD), a CD-ROM, a magneto-optical disk (MO), or a digital versatile disk (DVD), and can be executed by being read out from the recording medium by a computer. [Explanation of symbols]
[0095] 1. Information processing device 3,5 Devices 9. Location Systems 11 Communications Department 12 Storage section 13 Depth Estimation Model 14 Segmentation Models 20 Control section 21 Road Specification Department 22 Depth estimation section 23,23A Segment Estimation Unit 24,24A Position identification part 31 Obstacle candidate extraction unit 32 Obstacle detection section
Claims
1. acquiring a captured image and a depth image corresponding to the captured image, the depth image indicating a distance from an imaging position; Identifying a road area and another area adjacent to the road area from the captured image; Calculating a change in depth of a first region corresponding to the road region included in the depth image and a change in depth of a second region corresponding to the other region included in the depth image; Statistically determining whether the other region is a detection target based on the change in depth of the first region and the change in depth of the second region; if the other region is determined to be a detection target, a position of a subject included in the other region is identified based on the depth of the second region and the imaging position; A location identification program that causes a computer to execute a process.
2. The acquiring process includes: A process of inputting a captured image into a machine learning model that outputs a depth image in response to an input of an RGB image, and acquiring the depth image corresponding to the captured image; 2. The location specifying program according to claim 1, further comprising:
3. The process of determining includes: a process of determining that the second region corresponding to the other region is a detection target when a change in depth of the first region before and after the second region coincides with a change in depth of the second region and is different from a change in depth of the first region; 2. The location specifying program according to claim 1, further comprising:
4. The calculation process includes: a process of calculating a change in depth of the first region corresponding to the road region and a change in depth of the second region corresponding to the other region in a depth direction from a bottom to an top of the depth image, The process of determining includes: determining that the other region is a detection target when a trend of a change in depth of the second region differs from a trend of a change in depth of the first region by a threshold or more; 2. The position specifying program according to claim 1.
5. The calculation process includes: a process of calculating a change in depth of the first region corresponding to the road region and a change in depth of the second region corresponding to the other region in a depth direction from the bottom to the top of the depth image, and converting each of the change in depth of the first region and the change in depth of the second region into linear regression equation information indicating a relationship between the number of pixels in the depth direction and the depth of the depth image, The process of determining includes: a process of determining that the second region is a detection target when there is a statistically significant difference between the pieces of linear regression equation information, and determining that the second region is not a detection target when there is no statistically significant difference, 2. The position specifying program according to claim 1.
6. The process of identifying the position of the subject includes: When the second region is determined to be a detection target based on each piece of linear regression equation information, a process of identifying a position of a subject included in the other region based on a depth of the second region and the imaging position; A process of associating image data of the object with a position of the object on map data; 6. The location specifying program according to claim 5, further comprising:
7. The process of identifying the position of the subject includes a process of identifying the position of the subject based on the depth of the top of the first region and the imaging position when the second region is determined to be outside the detection target based on each of the linear regression equation information; A process of associating image data of the object with a position of the object on map data; 6. The location specifying program according to claim 5, further comprising:
8. acquiring a captured image and a depth image corresponding to the captured image, the depth image indicating a distance from an imaging position; Identifying a road area and another area adjacent to the road area from the captured image; Calculating a change in depth of a first region corresponding to the road region included in the depth image and a change in depth of a second region corresponding to the other region included in the depth image; Statistically determining whether the other region is a detection target based on the change in depth of the first region and the change in depth of the second region; if the other region is determined to be a detection target, a position of a subject included in the other region is identified based on the depth of the second region and the imaging position; 1. An information processing device comprising: a control unit that executes processing.
9. acquiring a captured image and a depth image corresponding to the captured image, the depth image indicating a distance from an imaging position; Identifying a road area and another area adjacent to the road area from the captured image; Calculating a change in depth of a first region corresponding to the road region included in the depth image and a change in depth of a second region corresponding to the other region included in the depth image; Statistically determining whether the other region is a detection target based on the change in depth of the first region and the change in depth of the second region; if the other region is determined to be a detection target, a position of a subject included in the other region is identified based on the depth of the second region and the imaging position; A location determination method characterized in that the processing is executed by a computer.
Citation Information
Patent Citations
Signal processing device and signal processing method, program, and moving body
CN111886626A
Image processing device, imaging device, image processing method, and program
JP2018005891A
Same structure detection device, same structure detection method, and same structure detection program
JP2020140334A
Negative obstacle detector
US20170176990A1
Signal processing device and signal processing method, program, and moving body
WO2019188389A1
