Identification device, identification method and storage medium
By setting the overall area and the reference area in the two-dimensional image, combined with the machine learning algorithm, the low-load recognition and representation of object targets in the three-dimensional space is achieved, which solves the problem of high load of object recognition in the three-dimensional space in the existing technology and improves the efficiency Efficiencies are identified and visual notifications provided.
Patent Information
- Application Number
- CN202010950347.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2019-10-03
- Filing Date
- 2020-09-10
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2040-09-10
AI Technical Summary
The existing technology has a heavy load when processing object recognition in three-dimensional space, and it is difficult to efficiently identify object target areas that exist in three-dimensional space.
By setting the overall area, reference area and object target area in the two-dimensional image, using the learned model and machine learning algorithm, the three-dimensional space object target is recognized and represented based on the two-dimensional image, and the moving direction and length direction of the object are estimated.
It achieves low-load recognition of object target areas in three-dimensional space, reduces processing load, improves recognition efficiency, and notifies the driver of object existence information through visual output.
Smart Images

Figure CN112613335B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to an identification device, an identification method and a storage medium. Background Art
[0002] In the past, a technology related to a display control device has been disclosed, which extracts an object image that meets extraction conditions from a captured image in front of a vehicle, calculates the coordinates of the extracted object image in three-dimensional space, and displays information related to the extracted object (for example, refer to International Publication No. 2017 / 002209).
[0003] Generally, in order to process an object existing in a three-dimensional space, it is necessary to capture an image three-dimensionally using a stereo camera or the like, and the processing load of obtaining the position of the object based on the captured three-dimensional image is high. Summary of the invention
[0004] The solution of the present invention is completed based on the above-mentioned problem recognition, and its purpose is to provide a recognition device, a recognition method and a storage medium that can recognize a region where an object exists in a three-dimensional space with a low load.
[0005] In order to solve the above problems and achieve the above objects, the present invention adopts the following means.
[0006] (1): A recognition device according to one embodiment of the present invention comprises: a first area setting unit, which recognizes an object target reflected in a two-dimensional image captured by a camera device that captures the surroundings of a vehicle, and sets a first area including the recognized object target in the two-dimensional image; a second area setting unit, which sets a second area that is consistent with a reference plane in a surface constituting the object target; and a third area setting unit, which sets a third area that represents the area of the object target in a specified shape based on the first area and the second area.
[0007] (2): Based on the above solution (1), the object target may be another vehicle existing around the vehicle, and the reference plane may be the front surface or the rear surface of the other vehicle.
[0008] (3): Based on the above-mentioned scheme (1) or (2), it may also be that the first area setting unit obtains and sets the first area by inputting the two-dimensional image into a first learned model that has been learned in a manner that outputs the first area when the two-dimensional image is input, and the second area setting unit obtains and sets the second area by inputting the image of the first area into a second learned model that has been learned in a manner that outputs the second area when the image of the first area is input.
[0009] (4): Based on any one of the above schemes (1) to (3), the third area setting unit may set the third area showing a three-dimensional shape by setting a fourth area having the same size as the second area or a size reduced by taking into account perspective at a position diagonally opposite to the second area within the first area, and connecting the corresponding corner points of the second area and the fourth area with a straight line.
[0010] (5): Based on the scheme of (4) above, the object target may be another vehicle existing around the vehicle, and the recognition device may further include a first estimating unit, which estimates the moving direction of the other vehicle based on a straight line obtained by connecting the points of the corresponding corners of the second area and the fourth area in the third area.
[0011] (6): Based on the above scheme (4), the object target may be another vehicle existing around the vehicle, and the recognition device may further include a second estimating unit, which estimates the length of the other vehicle in the longitudinal direction based on a straight line obtained by connecting the corresponding corner points of the second area and the fourth area in the third area.
[0012] (7): A recognition method according to one embodiment of the present invention enables a computer to perform the following processing: recognize an object target reflected in a two-dimensional image captured by a camera device that captures the surroundings of a vehicle, and set a first area including the recognized object target in the two-dimensional image; set a second area that is consistent with a reference plane in a surface constituting the object target; and set a third area that represents the area of the object target in a specified shape based on the first area and the second area.
[0013] (8): A storage medium according to one embodiment of the present invention is a non-temporary storage medium that stores a program and can be read by a computer, wherein the program causes the computer to perform the following processing: identifying an object target reflected in a two-dimensional image captured by a camera device that captures the surroundings of a vehicle, and setting a first area including the identified object target in the two-dimensional image; setting a second area that is consistent with a reference plane in a surface constituting the object target; and setting a third area that represents the area of the object target in a specified shape based on the first area and the second area.
[0014] According to the above-mentioned aspects (1) to (8), it is possible to recognize a region where an object exists in a three-dimensional space with a low load. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] Figure 1This is a schematic configuration diagram of a recognition system including the recognition device according to the first embodiment.
[0016] Figure 2 This is a diagram schematically showing an example of a method for generating a whole region learned model.
[0017] Figure 3 FIG. 1 is a diagram schematically showing an example of a method for generating a reference region learned model.
[0018] Figure 4 This is a flowchart showing an example of the flow of processing executed by the recognition device.
[0019] Figure 5 It is a diagram schematically showing each process in the recognition device.
[0020] Figure 6 This is a diagram showing an example of an image in which an object target region of another vehicle set in the recognition device is displayed in an overlapping manner.
[0021] Figure 7 This is a diagram schematically showing an example of a state in which the state of another vehicle is estimated based on the object target region of the other vehicle set in the recognition device.
[0022] Figure 8 It is a configuration diagram of a vehicle system equipped with the function of the recognition device according to the second embodiment.
[0023] Fig. 9 This is a functional structure diagram of the first control unit and the second control unit.
[0024] Fig.10 This is a diagram showing an example of the hardware configuration of the recognition device according to the first embodiment. DETAILED DESCRIPTION
[0025] Hereinafter, embodiments of the recognition device, recognition method, and storage medium of the present invention will be described with reference to the accompanying drawings. In the following description, an example of a case where a recognition system including the recognition device of the present invention is mounted on a vehicle will be described. The following description will be made in the case where the regulations for left-hand traffic apply, but in the case where the regulations for right-hand traffic apply, the left and right parts can be read interchangeably.
[0026] <First Embodiment>
[0027] [Overall Structure of Identification System 1]
[0028] Figure 11 is a schematic diagram of a recognition system 1 having a recognition device 100 according to a first embodiment. The vehicle equipped with the recognition system 1 is, for example, a four-wheeled vehicle, and its driving source is an internal combustion engine such as a diesel engine or a gasoline engine, an electric motor, or a combination thereof. The electric motor operates using power generated by a generator connected to the internal combustion engine, or power discharged from a secondary battery or a fuel cell.
[0029] The recognition system 1 includes, for example, a camera 10 (imaging device), a recognition device 100 , and a display device 20 .
[0030] The camera 10 is, for example, a digital camera that utilizes a solid-state imaging element such as a CCD (Charge Coupled Device) or a CMOS (Complementary Metal Oxide Semiconductor). The camera 10 is installed at any part of a vehicle (hereinafter referred to as the vehicle M) equipped with the recognition system 1. When shooting the front, the camera 10 is installed on the upper part of the front windshield, the back of the rearview mirror in the vehicle, etc. The camera 10, for example, repeatedly and periodically shoots the surroundings of the vehicle M. The camera 10 outputs a two-dimensional image (hereinafter referred to as a two-dimensional image) obtained by shooting the surroundings of the vehicle M to the recognition device 100.
[0031] The recognition device 100 recognizes other vehicles existing around the host vehicle M as object targets based on the two-dimensional image output by the camera 10, and represents the area of the recognized other vehicles in a specified shape. For example, the recognition device 100 surrounds the area of the other vehicles with an object simulated as a three-dimensional shape, thereby indicating that other vehicles are being recognized in three-dimensional space. In the following description, the area of the other vehicles recognized by the recognition device 100 is referred to as the "object target area (third area)". The recognition device 100 outputs the image obtained by superimposing the object target area of the recognized other vehicles on the two-dimensional image output by the camera 10 to the display device 20, so that the recognized other vehicles are shown to the driver of the host vehicle M.
[0032] The recognition device 100, for example, includes an overall area setting unit 110 (first area setting unit), a reference area setting unit 130 (second area setting unit) and an object target area setting unit 150 (third area setting unit). These components are implemented by, for example, a hardware processor such as a CPU (Central Processing Unit) executing a program (software). Some or all of these components can also be implemented by hardware (including circuitry) such as LSI (Large Scale Integration), ASIC (Application Specific Integrated Circuit), FPGA (Field-Programmable Gate Array), GPU (Graphics Processing Unit), etc., or can be implemented by the coordination of software and hardware. Some or all of these components can also be implemented by a dedicated LSI. The program (software) can be pre-stored in a storage device such as an HDD (Hard Disk Drive) or a flash memory (a storage device having a non-temporary storage medium), or can be stored in a removable storage medium such as a DVD or CD-ROM (a non-temporary storage medium), and installed in the storage device by assembling the storage medium in a drive device. The program (software) may be downloaded in advance from another computer device via a network and installed in the storage device.
[0033] The overall area setting unit 110 identifies an object target reflected in the two-dimensional image output by the camera 10, and sets an area including other recognized vehicles in the two-dimensional image. As the object target recognized by the overall area setting unit 110, for example, in addition to other vehicles existing around the vehicle M, there are also pedestrians, bicycles, stationary objects, etc. Other vehicles include other vehicles traveling in the same driving lane or adjacent driving lane as the driving lane of the vehicle M, other vehicles traveling in the opposite lane (so-called opposite vehicles), parked vehicles, etc. Stationary objects include traffic lights, signs, etc. The overall area setting unit 110 sets the area of other vehicles among the recognized object targets. The overall area setting unit 110 sets a rectangular area that surrounds the entire area of the recognized other vehicles. The rectangular area set by the overall area setting unit 110 may also partially include areas other than other vehicles. The overall area setting unit 110 uses a pre-learned model (hereinafter referred to as an overall area learned model) to set the area of other vehicles. The overall area learning model used by the overall area setting unit 110 is, for example, a learning model that has been pre-learned by an existing machine learning algorithm in a manner that outputs an area including other vehicles when a two-dimensional image is input. The overall area setting unit 110 obtains the area of other vehicles by inputting the two-dimensional image output by the camera 10 into the overall area learning model, and sets a rectangular area that surrounds the entire area of other vehicles. In the following description, the area of other vehicles set by the overall area setting unit 110 is referred to as the "overall area (first area)". The overall area learning model used by the overall area setting unit 110 to set the overall area can also be referred to as a model of setting a bounding box (bounding box) that surrounds the entire area of other vehicles in a two-dimensional image in the existing image processing technology.
[0034] The entire region setting unit 110 outputs the two-dimensional image output by the camera 10 and information related to the set entire region to the reference region setting unit 130 and the object target region setting unit 150. For example, the entire region setting unit 110 outputs the two-dimensional image output by the camera 10 and information indicating coordinates in the two-dimensional image of the range of the set entire region to the object target region setting unit 150. The entire region setting unit 110 may also output an image (hereinafter referred to as an entire region image) obtained by cutting out the range of the set entire region from the two-dimensional image to the reference region setting unit 130.
[0035] Here, the entire region learned model used by the entire region setting unit 110 to set the entire region will be described. Figure 2: This is a diagram schematically showing an example of a method for generating a whole area learning model TM1 (first learning model). The whole area learning model TM1 is a model that has been learned by outputting one or more whole areas when a two-dimensional image is input, using, for example, CNN (Convolutional Neural Network) or DNN (Deep Neural Network) techniques. CNN is a neural network obtained by connecting several layers such as convolution layers and pooling layers. DNN is a neural network obtained by connecting multiple layers of layers of arbitrary forms. The whole area learning model TM1 is generated, for example, by machine learning using the whole area machine learning model LM1 based on an unillustrated computing device or the like. When the unillustrated computing device generates the whole area learning model TM1 by machine learning, the whole area learning data DI1 is input as input data to the input side of the whole area machine learning model LM1, and the whole area correct answer data DO1 is input as teacher data to the output side of the whole area machine learning model LM1. The whole area machine learning model LM1 is, for example, a model having the form of CNN, DNN, etc. and having parameters tentatively set. The overall area learning data DI1 is, for example, image data of a plurality of two-dimensional images assumed to be taken by the camera 10. The overall area correct answer data DO1 is data indicating the position of the overall area that should be set in the overall area learning data DI1. The computing device (not shown) adjusts the parameters of the overall area machine learning model LM1 so that the output of the overall area machine learning model LM1 when the overall area learning data DI1 is input into the overall area machine learning model LM1 is close to the overall area shown by the overall area correct answer data DO1. As a method of adjusting the parameters, there are methods such as the back propagation method (error back propagation method). The overall area machine learning model LM1 whose parameters are adjusted by the computing device (not shown) becomes the overall area learning completed model TM1.
[0036] return Figure 1The reference area setting unit 130 identifies a predetermined surface of the other vehicle included in the overall area image output by the overall area setting unit 110 as a reference surface, and sets the area of the identified reference surface. The reference surface identified by the reference area setting unit 130 is a surface on the side close to the vehicle M (the side close to the vehicle M) when the shape of the other vehicle is considered to be a rectangular parallelepiped, for example, the front surface (front surface) or the rear surface (rear surface) of the other vehicle. For the front surface of the other vehicle, for example, by identifying the headlight of the other vehicle, the front surface of the other vehicle can be identified even at night. For the rear surface of the other vehicle, for example, by identifying the taillight of the other vehicle, the rear surface of the other vehicle can be identified even at night. The reference area setting unit 130 identifies the reference surface (the surface consistent with the reference surface) among the surfaces constituting the other vehicle in the overall area, and sets a rectangular area representing the identified reference surface. The rectangular area representing the reference surface may partially enter the interior of the other vehicle, or may partially include an area other than the other vehicle. The reference area setting unit 130 uses a pre-learned learning model (hereinafter referred to as the reference area learning model) to set the area representing the reference surface. The reference area learning model used by the reference area setting unit 130 is, for example, a learning model that has been pre-learned by an existing machine learning algorithm in a manner that outputs the area of the reference surface when the entire area image is input. The reference area setting unit 130 obtains the area of the reference surface of the other vehicle by inputting the entire area image output by the entire area setting unit 110 to the reference area learning model, and sets a rectangular area representing the reference surface of the other vehicle. In the following description, the area of the reference surface of the other vehicle set by the reference area setting unit 130 is referred to as the "reference area (second area)". The reference area learning model used by the reference area setting unit 130 to set the reference area can also be referred to as a model that sets a bounding box that surrounds the reference surface in the surface of the other vehicle constituting the entire area image in the existing image processing technology.
[0037] The reference region setting unit 130 outputs information related to the set reference region to the object target region setting unit 150. For example, the reference region setting unit 130 outputs information indicating coordinates within the entire region image of the range of the set reference region to the object target region setting unit 150. The information related to the reference region output by the reference region setting unit 130 also includes information indicating whether the reference region is the region of the front surface or the region of the rear surface of the other vehicle.
[0038] Here, the reference region learned model used by the reference region setting unit 130 to set the reference region will be described. Figure 3: This is a diagram schematically showing an example of a method for generating a reference region learning model TM2 (second learning model). The reference region learning model TM2 is a model that has been learned using, for example, CNN, DNN, or other techniques in such a way that one or more reference regions are output when an entire region image is input. The reference region learning model TM2 is generated, for example, by machine learning using a reference region machine learning model LM2 based on an unillustrated computing device or the like. When the unillustrated computing device generates the reference region learning model TM2 by machine learning, the reference region learning data DI2 is input as input data to the input side of the reference region machine learning model LM2, and the reference region correct answer data DO2 is input as teacher data to the output side of the reference region machine learning model LM2. The reference region machine learning model LM2 is, for example, a model having a form of CNN, DNN, or the like and having parameters tentatively set. The reference region learning data DI2 is, for example, image data of a plurality of entire region images assumed to be output from the entire region setting unit 110. The reference region correct answer data DO2 is data indicating the position of the reference region to be set in the reference region learning data DI2. The computing device (not shown) adjusts the parameters of the reference area machine learning model LM2 so that the output of the reference area machine learning model LM2 when the reference area learning data DI2 is input to the reference area machine learning model LM2 is close to the reference area shown by the reference area correct answer data DO2. As a method of adjusting the parameters, there are methods such as the back propagation method (error back propagation method) similar to the method of adjusting the parameters of the overall area machine learning model LM1. The reference area machine learning model LM2 whose parameters are adjusted by the computing device (not shown) becomes the reference area learning completed model TM2.
[0039] The object target area setting unit 150 sets an object target area that represents other vehicles being identified in three-dimensional space by surrounding the area of other vehicles projected into the two-dimensional image with an object simulated as a three-dimensional shape, based on the information related to the overall area output by the overall area setting unit 110 and the information related to the reference area output by the reference area setting unit 130. At this time, the object target area setting unit 150 sets an area (hereinafter referred to as a copy area (fourth area)) of the same size (dimension) as the reference area in the overall area at a diagonal position in the overall area, and sets the object target area of the area that represents other vehicles in a three-dimensional shape by connecting the points at the corresponding corners of the reference area and the copy area with a straight line (hereinafter referred to as a diagonal straight line). In other words, the object target area setting unit 150 sets the object target area in the overall area excluding the area that is not surrounded by the reference area, the copy area, and the diagonal straight line. In detail, using Figure 4The object target region setting unit 150 may also set a copy region of a size reduced from the size of the reference region in consideration of perspective when setting the copy region within the entire region. The object target region set by the object target region setting unit 150 may also be referred to as a three-dimensional box obtained by connecting the bounding box (reference region) set by the reference region setting unit 130 and the bounding box (copy region) set by the object target region setting unit 150 with a diagonal straight line.
[0040] The object target region setting unit 150 outputs an image obtained by superimposing the set object target region on the two-dimensional image output by the overall region setting unit 110 to the display device 20 .
[0041] The object target area setting unit 150 includes, for example, an estimation unit 151. The estimation unit 151 estimates the state of other vehicles based on the set object target area. The so-called state of other vehicles includes the distance between the vehicle M and other vehicles, the moving direction of other vehicles relative to the traveling direction of the vehicle M, the length of the length direction (the depth direction away from the vehicle M) of other vehicles relative to the traveling direction of the vehicle M, etc. The distance between the vehicle M and other vehicles can be estimated based on the size of the reference area, for example. The moving direction of other vehicles and the length of other vehicles in the length direction can be estimated based on the diagonal straight line obtained by connecting the points of the corresponding corners of the reference area and the copy area when setting the object target area. The estimation unit 151 can also correct the estimated moving direction of other vehicles and the length of other vehicles in the length direction by considering the perspective method.
[0042] For example, when the imaginary straight line indicating the traveling direction of the vehicle M is substantially parallel to the extension of the diagonal straight line connecting the reference area and the replicated area, the estimation unit 151 estimates that the moving direction of the other vehicle is the same as or opposite to the traveling direction of the vehicle M. Substantially parallel means that the angle between the imaginary straight line indicating the traveling direction of the vehicle M and the extension of the diagonal straight line connecting the reference area and the replicated area falls within a range of several degrees. For example, when the imaginary straight line indicating the traveling direction of the vehicle M intersects with the extension of the diagonal straight line connecting the reference area and the replicated area, the estimation unit 151 estimates that the moving direction of the other vehicle is a direction intersecting with the traveling direction of the vehicle M. Intersecting means that the imaginary straight line indicating the traveling direction of the vehicle M intersects with the extension of the diagonal straight line connecting the reference area and the replicated area at an arbitrary position. For example, the estimation unit 151 can also estimate the other vehicle in more detail based on information on whether the reference area is the area of the front surface or the area of the rear surface of the other vehicle. For example, when the estimation unit 151 estimates that the moving direction of the other vehicle is the same as or opposite to the moving direction of the host vehicle M, the other vehicle is estimated to be a vehicle crossing the host vehicle M, such as an oncoming vehicle, when the reference area is the front surface of the other vehicle, and is estimated to be a vehicle traveling in front of the host vehicle M, such as a preceding vehicle, when the reference area is the rear surface of the other vehicle. For example, when the estimation unit 151 estimates that the moving direction of the other vehicle is a direction intersecting the moving direction of the host vehicle M, the other vehicle is estimated to be a vehicle passing through an intersection in front of the host vehicle M, such as a vehicle turning, when the reference area is the front surface of the other vehicle, and is estimated to be a vehicle likely to cross in front of the host vehicle M, such as a vehicle passing through an intersection in front of the host vehicle M, and is estimated to be a vehicle likely to enter the driving lane in which the host vehicle M is traveling, when the reference area is the rear surface of the other vehicle. The estimation unit 151 that estimates the moving direction of the other vehicle in this way is referred to as a first estimation unit.
[0043] For example, the estimating unit 151 estimates the length of the diagonal straight line connecting the reference area and the replicated area as the length of the other vehicle in the longitudinal direction (e.g., the vehicle length). In this case, the estimating unit 151 can also estimate the time when the host vehicle M reaches the position of the parked vehicle, the time required to pass the parked vehicle, etc. in more detail based on the estimated distance between the host vehicle M and the other vehicle and the length of the other vehicle in the longitudinal direction, for example, when the other vehicle is a parked vehicle. The estimating unit 151 that estimates the length of the other vehicle in the longitudinal direction in this way is referred to as a second estimating unit.
[0044] The object target region setting unit 150 may also output to the display device 20 an image obtained by overlapping the information indicating the state of the other vehicle estimated by the estimation unit 151 with the two-dimensional image output by the overall region setting unit 110. The object target region setting unit 150 may also output the information indicating the state of the other vehicle estimated by the estimation unit 151 to other components not shown. As other components, for example, components for controlling automatic driving in the vehicle M and components for supporting driving in the vehicle M may be considered. In this case, these components can control automatic driving and driving support based on the information indicating the state of the other vehicle output by the object target region setting unit 150.
[0045] The display device 20 displays the image output by the recognition device 100. The display device 20 is, for example, a liquid crystal display (LCD), an organic EL (Electroluminescence) display device, or the like. The display device 20 may also be, for example, a display device of a navigation device provided in the vehicle M. The display device 20 may also be, for example, a display device that displays images and information within the surface of the front windshield of the vehicle M (a so-called head-up display device). By observing the image displayed by the display device 20, the driver can visually know that the vehicle M is recognizing the presence of other vehicles.
[0046] [An Example of Processing by the Recognition Device 100]
[0047] Figure 4 This is a flowchart showing an example of the flow of processing executed by the recognition device 100 . Figure 5 Schematically shows each process in the recognition device 100. Figure 5 Shown in Figure 4 In the following description of the processing flow of the recognition device 100, the following description is given. Figure 4 The flowchart shown, with appropriate reference to Figure 5 Processing shown.
[0048] Figure 4 The process of the flowchart shown is repeatedly executed at a predetermined time interval when the camera 10 captures one frame of a two-dimensional image. The recognition device 100 recognizes each other vehicle reflected in the two-dimensional image output by the camera 10 as an object target, and sets an object target area for each other vehicle recognized. However, in the following description, for ease of description, it is assumed that only one other vehicle is reflected in the two-dimensional image captured by the camera 10.
[0049] When the camera 10 captures one frame of a two-dimensional image, the entire region setting unit 110 obtains the two-dimensional image output by the camera 10 (step S100 ).
[0050] Next, the entire region setting unit 110 identifies other vehicles reflected in the acquired two-dimensional image and sets an entire region including the identified other vehicles (step S102). Figure 5 , the state in which the overall region setting unit 110 sets the overall region RA with respect to other vehicles reflected in the two-dimensional image is shown. The overall region setting unit 110 outputs the acquired two-dimensional image and information indicating the range of the set overall region RA to the object target region setting unit 150. The overall region setting unit 110 outputs the overall region image obtained by cutting out the range of the set overall region RA from the acquired two-dimensional image to the reference region setting unit 130.
[0051] Next, the reference region setting unit 130 identifies the reference surface of another vehicle included in the entire region image output by the entire region setting unit 110, and sets a reference region representing the identified reference surface in the entire region (step S104). Figure 5 , the reference region setting unit 130 sets the reference region RB in the set overall region RA with respect to other vehicles reflected in the two-dimensional image. The reference region setting unit 130 outputs information indicating the range of the reference region RB set in the overall region image to the object target region setting unit 150.
[0052] Next, the object target region setting unit 150 sets a copy region of a size corresponding to the reference region set by the reference region setting unit 130 (the same size as the reference region, or a size obtained by reducing the size of the reference region in consideration of perspective) at a diagonal position within the overall region set by the overall region setting unit 110 (step S106). Figure 5 , a state is shown in which the object target region setting unit 150 sets the copy region RC having the same size as the reference region RB at a diagonal position in the entire region RA.
[0053] Then, the object target region setting unit 150 connects the corresponding corner points of the reference region and the copy region with diagonal straight lines (step S108). Figure 5 , the object target region setting unit 150 connects the points of the corners of the reference region RB and the replication region RC with diagonal straight lines SL1 to SL3, respectively. More specifically, the object target region setting unit 150 connects the points of the corners of the reference region RB and the corners of the replication region RC with diagonal straight lines SL1, connects the points of the corners of the reference region RB and the corners of the replication region RC with diagonal straight lines SL2, and connects the points of the corners of the reference region RB and the corners of the replication region RC with diagonal straight lines SL3.
[0054] like Figure 5 As shown, the point at the lower left corner of the reference region RB is not connected to the point at the lower left corner of the replication region RC by a diagonal straight line. This is because, when the object target region is set later, the diagonal straight line connecting the point at the lower left corner of the reference region RB and the point at the lower left corner of the replication region RC is a straight line blocked by other vehicles and has no effect on subsequent processing. In addition, it is because the load of the processing of connecting the point at the lower left corner of the reference region RB and the point at the lower left corner of the replication region RC by a diagonal straight line can be reduced in the recognition device 100 (more specifically, the object target region setting unit 150).
[0055] Then, the object target region setting unit 150 sets the object target region of the other vehicle based on the reference region, the copy region, and the diagonal straight line connecting the reference region and the copy region (step S110). Figure 5 , a state in which the object target region setting unit 150 sets the object target region RO of another vehicle is shown.
[0056] After that, the object target region setting unit 150 outputs an image obtained by overlapping the set object target region with the acquired two-dimensional image to the display device 20 (step S112). Thus, the display device 20 displays the image output by the object target region setting unit 150. Furthermore, the recognition device 100 ends the processing of this flowchart for the current two-dimensional image captured by the camera 10.
[0057] Through such a structure and processing, the recognition device 100 sets an object target area that is expressed as recognizing other vehicles existing around the host vehicle M in three-dimensional space based on the current two-dimensional image captured by the camera 10. In addition, the recognition device 100 visually notifies the driver that the host vehicle M is recognizing the existence of other vehicles in three-dimensional space by causing the display device 20 to display an image obtained by overlapping the recognized object target area with the current two-dimensional image captured by the camera 10. As a result, in the host vehicle M equipped with the recognition system 1, the driver can visually know that the host vehicle M is recognizing the existence of other vehicles by observing the image displayed on the display device 20.
[0058] [Example of display of object target area]
[0059] Figure 6 1 is a diagram showing an example of an image in which an object target region of another vehicle set in the recognition device 100 is displayed in an overlapping manner. Figure 6 , an example of an image IM obtained by overlapping the object target regions RO of three other vehicles existing in front of the vehicle M recognized and set by the recognition device 100 is shown. Figure 6 , there is shown an example of an image IM obtained by overlapping an object target area RO1 set by the recognition device 100 for another vehicle (hereinafter referred to as another vehicle V1) traveling in a driving lane on the left side adjacent to the driving lane in which the vehicle M is traveling, an object target area RO2 set by the recognition device 100 for another vehicle (hereinafter referred to as another vehicle V2) traveling in front of the same driving lane, and an object target area RO3 set by the recognition device 100 for another vehicle (hereinafter referred to as another vehicle V3) traveling in a driving lane on the adjacent opposite side (right side).
[0060] As described above, the recognition device 100 performs recognition on each other vehicle (other vehicle V1 to other vehicle V3) reflected in the two-dimensional image output by the camera 10. Figure 4 The object target area of each recognized other vehicle is set by the processing of the flowchart shown.
[0061] like Figure 6 As shown, the object target region RO2 set by the recognition device 100 (more specifically, the object target region setting unit 150) for the other vehicle V2 is not an object target region obtained by surrounding the other vehicle V2 in a three-dimensional shape. This is because the other vehicle V2 is another vehicle traveling in front of the host vehicle M in the same driving lane, and the reference region setting unit 130 recognizes that the entire region set by the entire region setting unit 110 is the reference surface and sets the reference region. Even in this case, since the reference region setting unit 130 outputs information related to the reference region including information indicating that the set reference region is the rear surface of the other vehicle V2 to the object target region setting unit 150, the estimation unit 151 provided in the object target region setting unit 150 can estimate the state of the other vehicle V2, such as the distance between the host vehicle M and the other vehicle, the moving direction of the other vehicle relative to the traveling direction of the host vehicle M. In other words, the estimation unit 151 provided in the object target region setting unit 150 can estimate the state other than the length in the longitudinal direction of the other vehicle V2 (for example, the vehicle length).
[0062] [Example of estimating the status of other vehicles]
[0063] Figure 7 Schematically shows an example of a state in which the state of another vehicle is estimated based on the object target area of the other vehicle set in the recognition device 100. Figure 7 , an example of a state in which the recognition device 100 estimates the state of each other vehicle based on recognizing and setting each object target area RO of four other vehicles existing in front of the host vehicle M. Figure 7In order to facilitate the description, the states of the vehicle M and other vehicles and the object target areas RO set for the other vehicles are shown on a two-dimensional plane. Figure 7 In FIG. 1 , the distances between the host vehicle M and other vehicles estimated by the recognition device 100 (more specifically, the estimation unit 151 ) are omitted from illustration.
[0064] exist Figure 7 , an example of a state in which the recognition device 100 recognizes another vehicle (hereinafter referred to as another vehicle V4) traveling ahead in the same driving lane as the vehicle M and sets an object target area RO4 is shown. The other vehicle V4 is a preceding vehicle traveling ahead of the vehicle M, so the object target area RO4 set by the recognition device 100 is the same as the vehicle M. Figure 6 Similarly, the other vehicle V2 shown in the figure does not become an object target area obtained by surrounding the other vehicle V4 in a three-dimensional shape. In this case, the estimation unit 151 estimates the distance between the host vehicle M and the other vehicle V4, the moving direction of the other vehicle V4 based on the traveling direction DM of the host vehicle M, etc. Figure 7 , an example of the moving direction D4 of another vehicle V4 estimated by the estimating unit 151 is shown.
[0065] exist Figure 7 , there is shown an example of a state in which the recognition device 100 recognizes another vehicle (hereinafter referred to as another vehicle V5) that is likely to enter from an adjacent lane on the opposite side (right side) in order to turn right at an intersection of another lane intersecting with the lane in which the host vehicle M is traveling, and sets an object target area RO5. In this case, the estimation unit 151 estimates the distance between the host vehicle M and the other vehicle V5, the moving direction of the other vehicle V5 based on the traveling direction DM of the host vehicle M, the length of the other vehicle V5 in the longitudinal direction (vehicle length), etc. Figure 7 , an example of the moving direction D5 and the vehicle length L5 of another vehicle V5 estimated by the estimating unit 151 is shown.
[0066] exist Figure 7 , an example is shown in which the recognition device 100 recognizes another vehicle (hereinafter referred to as another vehicle V6) that is likely to enter the intersection from another driving lane (left side) that intersects the driving lane in which the vehicle M is traveling, and sets an object target area RO6. In this case, the estimation unit 151 estimates the distance between the vehicle M and the other vehicle V6, the moving direction of the other vehicle V6 based on the traveling direction DM of the vehicle M, the length of the other vehicle V6, etc. Figure 7 , an example of the moving direction D6 and the vehicle length L6 of another vehicle V6 estimated by the estimating unit 151 is shown.
[0067] exist Figure 7 , an example is shown in which the recognition device 100 recognizes another vehicle (hereinafter referred to as another vehicle V7) traveling in a lane on the opposite side (right side) of the lane in which the host vehicle M is traveling, and sets an object target area RO7. In this case, the estimation unit 151 estimates the distance between the host vehicle M and the other vehicle V7, the moving direction of the other vehicle V7 based on the traveling direction DM of the host vehicle M, the length of the other vehicle V7, etc. Figure 7 , an example of the moving direction D7 and the vehicle length L7 of another vehicle V7 estimated by the estimating unit 151 is shown.
[0068] As described above, according to the recognition device 100 of the first embodiment, after recognizing other vehicles reflected in the two-dimensional image captured by the camera 10 and setting the overall area, the reference surface in the other vehicles in the overall area is recognized and the reference area is set, and the object target area is set based on the overall area and the reference area. Thus, in the recognition device 100 of the first embodiment, based on the two-dimensional image captured by the camera 10, it is possible to set the object target area that appears to be recognizing other vehicles existing around the host vehicle M in the three-dimensional space. In other words, in the recognition device 100 of the first embodiment, even if the three-dimensional image is not captured by the camera 10, it is possible to set the object target area that appears to be recognizing other vehicles in the three-dimensional space.
[0069] Moreover, in the recognition device 100 of the first embodiment, the learned models used to set the overall area and the reference area respectively are all models for setting each area from a two-dimensional image. In other words, the overall area learned model used to set the overall area and the reference area learned model used to set the reference area are models with a low (light) processing load. Therefore, in the recognition device 100 of the first embodiment, other vehicles existing in the three-dimensional space can be recognized with a low load. As one or both of the learned models used to set the overall area and the reference area respectively, an existing learned model can also be used. Even in this case, the processing load in the learned model becomes lower (lighter), and the recognition device 100 of the first embodiment can recognize other vehicles existing in the three-dimensional space with a low load.
[0070] Thus, in the recognition device 100 of the first embodiment, by causing the display device 20 to display an image obtained by overlapping the recognized object target area with the two-dimensional image captured by the camera 10, it is possible to visually notify the driver that the host vehicle M is recognizing the existence of other vehicles in the three-dimensional space with low-load processing. Moreover, in the recognition device 100 of the first embodiment, it is also possible to estimate the status of other vehicles based on the set object target area, and to cause the display device 20 to display an image obtained by overlapping the information indicating the estimated status of other vehicles with the two-dimensional image. Thus, in the host vehicle M equipped with the recognition system 1 having the recognition device 100 of the first embodiment, the driver can visually know that the host vehicle M is recognizing the existence of other vehicles (for example, recognizing them as risks) by observing the image displayed on the display device 20.
[0071] <Second Embodiment>
[0072] The second embodiment is described below. The second embodiment is an example of a case where the function of the recognition device 100 of the first embodiment is mounted on a vehicle system that performs automatic driving.
[0073] [Overall structure of vehicle system]
[0074] Figure 8 The vehicle equipped with the vehicle system 1A is similar to the vehicle equipped with the recognition system 1 including the recognition device 100 of the first embodiment, and is, for example, a two-wheeled, three-wheeled, or four-wheeled vehicle.
[0075] The vehicle system 1A includes, for example, a camera 10, a radar device 32, a detector 34, an object recognition device 36, a communication device 40, an HMI (Human Machine Interface) 50, a vehicle sensor 60, a navigation device 70, an MPU (Map Positioning Unit) 80, a driving operation element 90, an automated driving control device 200, a driving force output device 300, a braking device 310 and a steering device 320. Figure 8 The structure shown is just an example, and part of the structure may be omitted or another structure may be added.
[0076] The components of the vehicle system 1A include the same components as the recognition device 100 of the first embodiment and the recognition system 1 including the recognition device 100. In the following description, among the components of the vehicle system 1A, the same reference numerals are given to the components that are the same as the recognition device 100 of the first embodiment and the recognition system 1 including the recognition device 100, and detailed descriptions of the individual components are omitted.
[0077] The radar device 32 radiates radio waves such as millimeter waves around the host vehicle M and detects radio waves (reflected waves) reflected by an object to detect at least the position (distance and direction) of the object. The radar device 32 is installed at any position of the host vehicle M.
[0078] The detector 34 is a LIDAR (Light Detection and Ranging). The detector 34 irradiates light to the periphery of the vehicle M and measures scattered light. The detector 34 detects the distance to the object based on the time from light emission to light reception. The irradiated light is, for example, a pulsed laser. The detector 34 is installed at any part of the vehicle M.
[0079] The object recognition device 36 performs sensor fusion processing on the detection results detected by part or all of the camera 10, the radar device 32, and the detector 34 to recognize the position, type, speed, etc. of the object. The object recognition device 36 outputs the recognition result to the automatic driving control device 200. The object recognition device 36 can output the detection results of the camera 10, the radar device 32, and the detector 34 directly to the automatic driving control device 200. The object recognition device 36 can also be omitted from the vehicle system 1A.
[0080] The communication device 40 communicates with other vehicles around the host vehicle M using, for example, a cellular network, a Wi-Fi network, Bluetooth (registered trademark), DSRC (Dedicated Short Range Communication), or the like, or communicates with various server devices via a wireless base station.
[0081] The HMI 50 presents various information to the occupants of the vehicle M and receives input operations from the occupants. The HMI 50 includes various display devices, speakers, buzzers, touch panels, switches, buttons, etc. The display device of the HMI 50 may be shared with the display device 20 in the recognition system 1 including the recognition device 100 of the first embodiment.
[0082] The vehicle sensor 60 includes a vehicle speed sensor for detecting the speed of the host vehicle M, an acceleration sensor for detecting acceleration, a yaw rate sensor for detecting the angular velocity around a vertical axis, an azimuth sensor for detecting the orientation of the host vehicle M, and the like.
[0083] The navigation device 70 includes, for example, a GNSS (Global Navigation Satellite System) receiver 71, a navigation HMI 72, and a route determination unit 73. The navigation device 70 stores first map information 74 in a storage device such as a HDD or a flash memory. The GNSS receiver 71 determines the position of the vehicle M based on signals received from GNSS satellites. The navigation HMI 72 includes a display device, a speaker, a touch panel, a key, and the like. The display device of the navigation HMI 72 may be shared with the display device 20 in the recognition system 1 including the recognition device 100 of the first embodiment. The navigation HMI 72 may also be partially or entirely shared with the aforementioned HMI 50. The route determination unit 73, for example, refers to the first map information 74 to determine a route (hereinafter referred to as a route on a map) from the position of the vehicle M determined by the GNSS receiver 71 (or an arbitrary position input) to the destination input by the occupant using the navigation HMI 72. The first map information 74 is information that represents the shape of a road by, for example, representing a route of a road and nodes connected by the route. The route on a map is output to the MPU 80.
[0084] The MPU 80 includes, for example, a recommended lane determination unit 81, and a storage device such as a HDD or a flash memory stores second map information 82. The recommended lane determination unit 81 divides the path on the map provided by the navigation device 70 into a plurality of blocks (for example, divided into blocks of 100 [m] in the vehicle's traveling direction), and determines a recommended lane for each block with reference to the second map information 82. The recommended lane determination unit 81 determines which lane to drive on from the left.
[0085] The second map information 82 is map information with higher accuracy than the first map information 74. The second map information 82 includes, for example, information on the center of a lane or information on a lane boundary, etc. The second map information 82 may include road information, traffic restriction information, address information (address and postal code), facility information, telephone number information, etc.
[0086] The driving operating parts 90 include, for example, an accelerator pedal, a brake pedal, a shift lever, a steering wheel, a special-shaped steering wheel, a joystick, and other operating parts. A sensor for detecting the amount of operation or the presence or absence of operation is installed on the driving operating parts 90, and the detection result is output to the automatic driving control device 200, or part or all of the driving drive force output device 300, the brake device 310, and the steering device 320.
[0087] The automatic driving control device 200 includes, for example, a first control unit 220 and a second control unit 260. The first control unit 220 and the second control unit 260 are respectively implemented by executing a program (software) by, for example, a hardware processor such as a CPU. Some or all of these components may also be implemented by hardware (including a circuit unit: circuitry) such as an LSI, an ASIC, an FPGA, a GPU, or the like, or by the coordination of software and hardware. Some or all of these components may also be implemented by a dedicated LSI. The program (software) may be pre-stored in a storage device (a storage device having a non-temporary storage medium) such as an HDD or a flash memory of the automatic driving control device 200, or may be stored in a removable storage medium (a non-temporary storage medium) such as a DVD or a CD-ROM, and installed in the HDD or flash memory of the automatic driving control device 200 by assembling the storage medium in a drive device. In the vehicle system 1A, the function of the recognition device 100 of the first embodiment is executed as a function of the automatic driving control device 200.
[0088] Fig. 9 2 is a functional configuration diagram of the first control unit 220 and the second control unit 260. The first control unit 220 includes, for example, a recognition unit 230 and an action plan generation unit 240. The first control unit 220 implements, for example, a function based on AI (Artificial Intelligence) and a function based on a pre-given model in parallel.
[0089] The recognition unit 230 recognizes the position, speed, acceleration and other states of the object targets existing around the host vehicle M based on the information input from the camera 10, the radar device 32 and the detector 34 via the object target recognition device 36. The recognition unit 230 recognizes, for example, the lane (driving lane) in which the host vehicle M is traveling. When recognizing the driving lane, the recognition unit 230 recognizes the position and posture of the host vehicle M relative to the driving lane.
[0090] In the vehicle system 1A, the functions of the recognition device 100 of the first embodiment are executed as the functions of the recognition unit 230. Therefore, the recognition unit 230 includes the overall region setting unit 110, the reference region setting unit 130, and the object target region setting unit 150 that the recognition device 100 of the first embodiment includes. In addition, in the recognition unit 230, a part of the functions of the recognition unit 230 described above is realized by the overall region setting unit 110, the reference region setting unit 130, and the object target region setting unit 150. More specifically, other vehicles among the object targets existing around the host vehicle M are recognized by the overall region setting unit 110, the reference region setting unit 130, and the object target region setting unit 150. In addition, the recognition unit 230 outputs information indicating the state of other vehicles including the position of other vehicles estimated by the estimation unit 151 included in the object target region setting unit 150 to the action plan generation unit 240 as the recognition result.
[0091] The action plan generation unit 240 generates a target trajectory for the vehicle M to automatically travel in the future in a manner that allows the vehicle M to travel on the recommended lane determined by the recommended lane determination unit 81 in principle and to cope with the surrounding conditions of the vehicle M. The target trajectory includes, for example, a speed element. For example, the target trajectory is represented by a trajectory in which the locations that the vehicle M should arrive at are arranged in order. When generating the target trajectory, the action plan generation unit 240 can set an event for automatic driving.
[0092] The second control unit 260 controls the travel driving force output device 300 , the braking device 310 , and the steering device 320 so that the host vehicle M passes through the target track generated by the action plan generation unit 240 at a predetermined timing.
[0093] return Fig. 9 The second control unit 260 includes, for example, an acquisition unit 262, a speed control unit 264, and a steering control unit 266. The acquisition unit 262 acquires information of the target track (track point) generated by the action plan generation unit 240, and causes the memory (not shown) to store the information. The speed control unit 264 controls the travel drive force output device 300 or the brake device 310 based on the speed element attached to the target track stored in the memory. The steering control unit 266 controls the steering device 320 according to the curvature of the target track stored in the memory.
[0094] The driving force output device 300 outputs the driving force (torque) for driving the vehicle to the driving wheels. The driving force output device 300 includes, for example, a combination of an internal combustion engine, an electric motor, and a transmission, and an ECU (Electronic Control Unit) that controls them. The ECU controls the above structure according to information input from the second control unit 260 or information input from the driving operation member 90.
[0095] The brake device 310 includes, for example, a brake caliper, a hydraulic cylinder that transmits hydraulic pressure to the brake caliper, an electric motor that generates hydraulic pressure in the hydraulic cylinder, and a brake ECU. The brake ECU controls the electric motor according to information input from the second control unit 260 or information input from the driving operation member 90, so that a brake torque corresponding to the brake operation is output to each wheel. The brake device 310 is not limited to the structure described above, and may also be an electronically controlled hydraulic brake device that controls an actuator according to information input from the second control unit 260 to transmit the hydraulic pressure of the master hydraulic cylinder to the hydraulic cylinder.
[0096] The steering device 320 includes, for example, a steering ECU and an electric motor. The electric motor, for example, applies force to a rack-and-pinion mechanism to change the direction of the steering wheel. The steering ECU drives the electric motor to change the direction of the steering wheel according to information input from the second control unit 260 or information input from the driving operating member 90.
[0097] As described above, according to the vehicle system 1A of the second embodiment equipped with the function of the recognition device, other vehicles reflected in the two-dimensional image captured by the camera 10 are recognized and the object target area is set. Therefore, in the vehicle system 1A of the second embodiment, based on the two-dimensional image captured by the camera 10, even if the camera 10 does not capture a three-dimensional image, it is possible to recognize other vehicles existing in the three-dimensional space with a low load and control the automatic driving in the host vehicle M. Moreover, in the host vehicle M equipped with the vehicle system 1A of the second embodiment, by mounting the camera 10 that captures the two-dimensional image, it is possible to realize an automatic driving system at a low cost compared with mounting a camera that captures the three-dimensional image.
[0098] As described above, in the recognition device of the embodiment, an object target area that is represented as an area of other vehicles projected into a two-dimensional image being recognized in three-dimensional space is set using a whole area learned model that sets the whole area of other vehicles and a reference area learned model that sets the reference area of other vehicles in the whole area. Thus, in the recognition device of the embodiment, other vehicles in three-dimensional space can be recognized by processing with a lower load. For example, in the previous processing of recognizing other vehicles in three-dimensional space, it is necessary to measure the length of other vehicles and use a more complex learned model to recognize other vehicles. In contrast, in the recognition device of the embodiment, by recognizing and setting the two areas of the whole area and the reference area in the two-dimensional image as described above, other vehicles can be recognized in three-dimensional space.
[0099] Furthermore, the learned model used in the recognition device of the embodiment is a learned model that sets the entire area or the reference area, so the data (learning data (image data), correct answer data (teacher data)) used when generating the learned model does not need to be complex (special) data such as the data used when generating a learned model for three-dimensional recognition of other vehicles. In other words, the machine learning in the learned model used in the recognition device of the embodiment is easier than the machine learning in the learned model for three-dimensional recognition of other vehicles, and the learning cost for performing the machine learning can be suppressed to a low level.
[0100] Thus, in the recognition system 1 including the recognition device of the embodiment and the host vehicle M equipped with the vehicle system 1A, other vehicles existing in the three-dimensional space can be realized with a low load and at a low cost.
[0101] According to the recognition device 100 described above, for example, the first embodiment, it includes: an overall area setting unit 110, which recognizes other vehicles reflected in the two-dimensional image captured by the camera 10 that captures the surroundings of the vehicle M, and sets an overall area including the recognized other vehicles in the two-dimensional image; a reference area setting unit 130, which sets a reference area consistent with a reference plane in the surface constituting the other vehicles; and an object target area setting unit 150, which sets an object target area that represents the area of the other vehicles in a specified shape (represented as a three-dimensional shape of the other vehicles being recognized in the three-dimensional space) based on the overall area and the reference area, thereby being able to visually notify the driver of the existence of other vehicles that are being recognized around the vehicle M in the three-dimensional space.
[0102] [Hardware Structure]
[0103] Fig.101 is a diagram showing an example of the hardware structure of the recognition device 100 of the first embodiment. As shown in the figure, the recognition device 100 is a structure in which a communication controller 100-1, a CPU 100-2, a RAM (Random Access Memory) 100-3 used as a working memory, a ROM (Read Only Memory) 100-4 storing a boot program, etc., a storage device 100-5 such as a flash memory and a HDD, and a drive device 100-6 are connected to each other through an internal bus or a dedicated communication line. The communication controller 100-1 communicates with components other than the recognition device 100. The storage device 100-5 stores a program 100-5a executed by the CPU 100-2. The program is expanded to the RAM 100-3 through a DMA (Direct Memory Access) controller (not shown) and the like, and is executed by the CPU 100-2. Thus, the recognition device 100 is realized, and more specifically, a part or all of the overall area setting unit 110, the reference area setting unit 130, and the object target area setting unit 150 are realized.
[0104] The hardware structure of the automatic driving control device 200 of the second embodiment is Fig.10 The hardware configuration of the recognition device 100 of the first embodiment shown is the same. Therefore, detailed description of the hardware configuration of the automatic driving control device 200 of the second embodiment will be omitted.
[0105] The above-described embodiment can be expressed as follows.
[0106] An identification device, comprising:
[0107] Hardware processor; and
[0108] a storage device storing a program,
[0109] The hardware processor performs the following processing by reading the program stored in the storage device:
[0110] Recognize an object target reflected in a two-dimensional image captured by a camera device that captures the surroundings of the vehicle, and set a first area including the recognized object target in the two-dimensional image;
[0111] Setting a second area that is consistent with a reference plane among the planes constituting the object; and
[0112] Based on the first area and the second area, a third area is set that represents an area of the object in a predetermined shape.
[0113] Although specific embodiments of the present invention have been described above using the embodiments, the present invention is not limited to such embodiments at all, and various modifications and substitutions can be made without departing from the gist of the present invention.
Claims
1. An identification device, wherein: The identification device comprises: A first area setting unit that recognizes other vehicles that are present around the vehicle and is reflected in a two-dimensional image captured by a camera that captures the surroundings of the vehicle, and sets a rectangular first area that includes the recognized other vehicles in the two-dimensional image; a second region setting unit that sets a second region that coincides with a front surface or a rear surface among surfaces constituting the other vehicle; as well as A third area setting unit sets a third area for representing the area of the other vehicle in a specified shape by setting a fourth area of the same size as or a reduced size as the second area at a position diagonally opposite to the second area within the first area, and connecting the corresponding corner points of the second area and the fourth area with a straight line.
2. The identification device according to claim 1, wherein: The first region setting unit obtains and sets the first region by inputting the two-dimensional image to a first learned model that has been learned so as to output the first region when the two-dimensional image is input. The second region setting unit obtains and sets the second region by inputting the image of the first region to a second learned model that has been learned so as to output the second region when the image of the first region is input.
3. The identification device according to claim 1, wherein: The recognition device further includes a first estimating unit that estimates the moving direction of the other vehicle based on a straight line connecting points of corresponding corners of the second area and the fourth area in the third area.
4. The identification device according to claim 1, wherein: The recognition device further includes a second estimating unit that estimates the length of the other vehicle in the longitudinal direction based on a straight line connecting points of corresponding corners of the second region and the fourth region in the third region.
5. A recognition method, wherein: The identification method enables the computer to perform the following processing: recognizing other vehicles existing around the vehicle that are reflected in a two-dimensional image captured by a camera device that captures the surroundings of the vehicle, and setting a first area including the recognized other vehicles in the two-dimensional image; setting a second area that coincides with a reference plane among the planes constituting the other vehicle; as well as A third area is set to represent the area of the other vehicles in a specified shape by setting a fourth area of the same size or a reduced size as the second area at a position diagonally opposite to the second area within the first area, and connecting the corresponding corner points of the second area and the fourth area with a straight line.
6. A storage medium which is a non-transitory storage medium storing a program and which can be read by a computer, wherein: The program causes the computer to perform the following processing: recognizing other vehicles existing around the vehicle that are reflected in a two-dimensional image captured by a camera device that captures the surroundings of the vehicle, and setting a first area including the recognized other vehicles in the two-dimensional image; setting a second area that coincides with a front surface or a rear surface among the surfaces constituting the other vehicle; as well as A third area is set to represent the area of the other vehicles in a specified shape by setting a fourth area of the same size or a reduced size as the second area at a position diagonally opposite to the second area within the first area, and connecting the corresponding corner points of the second area and the fourth area with a straight line.
