WO2021259280A1 - Vehicle parking method and apparatus, and vehicle-mounted device and storage medium - Google Patents

Vehicle parking method and apparatus, and vehicle-mounted device and storage medium Download PDF

Info

Publication number
WO2021259280A1
WO2021259280A1 PCT/CN2021/101598 CN2021101598W WO2021259280A1 WO 2021259280 A1 WO2021259280 A1 WO 2021259280A1 CN 2021101598 W CN2021101598 W CN 2021101598W WO 2021259280 A1 WO2021259280 A1 WO 2021259280A1
Authority
WO
WIPO (PCT)
Prior art keywords
parking
area
obstacle
vehicle
electronic map
Prior art date
Application number
PCT/CN2021/101598
Other languages
French (fr)
Chinese (zh)
Inventor
栗海兵
厉健峰
杜建宇
王恒凯
李超
马欢
刘斌
刘清宇
吴岗岗
Original Assignee
中国第一汽车股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中国第一汽车股份有限公司 filed Critical 中国第一汽车股份有限公司
Publication of WO2021259280A1 publication Critical patent/WO2021259280A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/50Context or environment of the image
    • G06V20/56Context or environment of the image exterior to a vehicle by using sensors mounted on the vehicle
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60RVEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
    • B60R1/00Optical viewing arrangements; Real-time viewing arrangements for drivers or passengers using optical image capturing systems, e.g. cameras or video systems specially adapted for use in or on vehicles
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S13/00Systems using the reflection or reradiation of radio waves, e.g. radar systems; Analogous systems using reflection or reradiation of waves whose nature or wavelength is irrelevant or unspecified
    • G01S13/86Combinations of radar systems with non-radar systems, e.g. sonar, direction finder
    • G01S13/867Combination of radar systems with cameras
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S13/00Systems using the reflection or reradiation of radio waves, e.g. radar systems; Analogous systems using reflection or reradiation of waves whose nature or wavelength is irrelevant or unspecified
    • G01S13/88Radar or analogous systems specially adapted for specific applications
    • G01S13/93Radar or analogous systems specially adapted for specific applications for anti-collision purposes
    • G01S13/931Radar or analogous systems specially adapted for specific applications for anti-collision purposes of land vehicles
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/25Fusion techniques
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/20Image preprocessing
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60RVEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
    • B60R2300/00Details of viewing arrangements using cameras and displays, specially adapted for use in a vehicle
    • B60R2300/30Details of viewing arrangements using cameras and displays, specially adapted for use in a vehicle characterised by the type of image processing
    • B60R2300/303Details of viewing arrangements using cameras and displays, specially adapted for use in a vehicle characterised by the type of image processing using joined images, e.g. multiple camera images
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60RVEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
    • B60R2300/00Details of viewing arrangements using cameras and displays, specially adapted for use in a vehicle
    • B60R2300/80Details of viewing arrangements using cameras and displays, specially adapted for use in a vehicle characterised by the intended use of the viewing arrangement
    • B60R2300/806Details of viewing arrangements using cameras and displays, specially adapted for use in a vehicle characterised by the intended use of the viewing arrangement for aiding parking
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S13/00Systems using the reflection or reradiation of radio waves, e.g. radar systems; Analogous systems using reflection or reradiation of waves whose nature or wavelength is irrelevant or unspecified
    • G01S13/88Radar or analogous systems specially adapted for specific applications
    • G01S13/93Radar or analogous systems specially adapted for specific applications for anti-collision purposes
    • G01S13/931Radar or analogous systems specially adapted for specific applications for anti-collision purposes of land vehicles
    • G01S2013/9314Parking operations

Definitions

  • the embodiments of the present application relate to the field of automobile technology, for example, to a vehicle parking method, device, on-board equipment, and storage medium.
  • the parking position of the vehicle is determined by radar detection, but the radar has misjudgment, and there is a situation that the vehicle collides with an obstacle during the parking process or the parking fails.
  • object detection is implemented through images to determine the parking position, but there are also cases of errors in detection, and the detection of objects through images requires high capabilities of the computing chip, resulting in high cost of the computing chip.
  • the embodiments of the present application provide a vehicle parking method, device, on-board equipment, and storage medium, which can improve the accuracy of obstacle detection, reduce the requirements for computing chip capabilities, and save costs.
  • an embodiment of the present application provides a method for parking a vehicle, the method including:
  • At least one first obstacle area in the area to be parked is detected by a radar device, and all the continuous areas are merged with all the first obstacle areas to determine at least one second obstacle area;
  • a first parking trajectory route is generated.
  • an embodiment of the present application also provides a vehicle parking device, which includes:
  • a continuous region extraction module configured to acquire an external image of a parking area of the vehicle through a camera device, and extract at least one continuous region in the external image
  • the obstacle area determination module is configured to detect at least one first obstacle area in the area to be parked by a radar device, and merge all the continuous areas with all the first obstacle areas to determine at least one second obstacle area Obstacle area
  • the first parking trajectory route generating module is configured to generate a first parking trajectory route according to all the second obstacle areas.
  • an embodiment of the present application also provides an in-vehicle device, the in-vehicle device including:
  • At least one processor At least one processor
  • the storage device is set to store at least one program
  • the at least one processor When the at least one program is executed by the at least one or more processors, the at least one processor implements the method for parking a vehicle according to any embodiment of the present application.
  • an embodiment of the present application also provides a computer-readable storage medium having a computer program stored on the computer-readable storage medium, and when the computer program is executed by a processor, the implementation of the A method of parking a vehicle.
  • FIG. 1a is a flowchart of a method for parking a vehicle according to Embodiment 1 of the present application;
  • FIG. 1b is a schematic diagram of continuous regions in an external image provided by Embodiment 1 of the present application.
  • FIG. 1c is a schematic diagram of a radar image outside a vehicle provided by Embodiment 1 of the present application.
  • FIG. 1d is a schematic diagram of an obstacle provided in Embodiment 1 of the present application.
  • Fig. 2a is a flowchart of a method for parking a vehicle provided in the second embodiment of the present application
  • FIG. 2b is a schematic diagram of a candidate obstacle area provided in the second embodiment of the present application.
  • FIG. 3 is a flowchart of a method for parking a vehicle provided in Embodiment 3 of the present application.
  • FIG. 4 is a schematic structural diagram of a vehicle parking system provided by Embodiment 4 of the present application.
  • FIG. 5 is a schematic structural diagram of a vehicle parking device provided by Embodiment 5 of the present application.
  • FIG. 6 is a schematic structural diagram of a vehicle-mounted device according to Embodiment 6 of the present application.
  • Fig. 1a is a flowchart of a method for parking a vehicle provided in the first embodiment of the present application. This embodiment can be applied to the situation of semi-automatic or fully automatic parking of the vehicle in driving assistance or automatic driving.
  • the method can be used by the vehicle parking device.
  • the device can be implemented by software and/or hardware, and the device can be integrated in a vehicle-mounted device. As shown in FIG. 1a, the method includes steps 110 to 130.
  • Step 110 Acquire an external image of the area to be parked of the vehicle through the camera device, and extract at least one continuous area in the external image.
  • the camera device is a device configured to obtain an external image of the vehicle, for example, it may be a camera, a video recorder, or a driving recorder.
  • the camera device can be installed around the vehicle.
  • the number of camera devices may be at least one. For example, there are four camera devices, which are located in the front, rear, left, and right directions of the vehicle, and a complete external image of the vehicle can be acquired through the four camera devices.
  • the camera device may be located at a relatively high position in the vehicle to obtain the external image at a certain overhead angle.
  • the parking area may be the location where the vehicle is expected to park and the location near the parking, for example, the parking location and the location that needs to pass during parking.
  • the external image may be an image of an area to be parked outside the vehicle.
  • the external image may be an image acquired through at least one camera.
  • the external image may be a whole image of the exterior of the vehicle obtained by stitching.
  • the stitching can be achieved by calibrating the vehicle. For example, a mark of each corner of the vehicle may exist in the multiple images of the vehicle acquired by the camera device, and the multiple images can be stitched according to the corresponding marks to generate external image.
  • Distortion is a phenomenon of perspective distortion caused by optical imaging, which is very unfavorable to the imaging quality of the image, and will affect the accuracy of judging objects in the external image of the vehicle.
  • Distortion processing can be image correction by methods in some graphics software in related technologies.
  • the continuous area refers to the area that represents the same object in the external image. For example, it indicates the area of other vehicles outside the vehicle, the barrier area such as the wall area, and the non-obstacle area such as the straw, speed bump, or manhole cover that is spread on the ground outside the vehicle.
  • the continuous area can be regarded as a suspected obstacle area.
  • the method of extracting the continuous area in the external image can be achieved through edge detection or image binarization.
  • FIG. 1b is a schematic diagram of continuous regions in an external image provided in Embodiment 1 of the present application.
  • the external image includes a first continuous region 101 and a second continuous region 102.
  • the first continuous area 101 may be an obstacle area such as a fence
  • the second continuous area 102 may be a non-obstacle area such as a speed bump. Only continuous regions are extracted through image processing, and the continuous regions are not detected as obstacles or non-obstacles.
  • extracting at least one continuous area in the external image includes: extracting an area with continuous pixel values in the external image as a continuous area.
  • the area with continuous pixel values in the external image can be extracted.
  • the extraction method can be image processing methods such as image binarization and edge detection.
  • the area where the pixel values are continuous can be regarded as the continuous area.
  • the technical solutions in the embodiments of this application only determine the pixel value of the external image.
  • the method used is also a basic image processing method such as binarization or edge detection. It does not involve detecting objects in the image to determine whether the object is obstacle. Therefore, the required calculation amount and calculation capacity are small, and the calculation space occupied is small, which can save the calculation cost and the cost of the calculation chip.
  • Step 120 Obtain at least one first obstacle area in the area to be parked by a radar device, and merge all continuous areas with all the first obstacle areas to determine at least one second obstacle area.
  • the radar device is a device configured to measure the distance between obstacles around the vehicle and the vehicle, for example, it may be composed of at least one ranging radar. Obstacles outside the vehicle and the spatial location of the obstacles can be found by radar. For example, a radar image of the exterior of the vehicle may be acquired, and the radar image includes the first obstacle area detected by the radar.
  • FIG. 1c is a schematic diagram of a radar image outside a vehicle provided in Embodiment 1 of the present application. As shown in FIG. 1c, the radar image includes the first obstacle area 103.
  • the fusion of the continuous area and the first obstacle area may be a process of calibrating the first obstacle area in the continuous area of the external image to determine the second obstacle area.
  • the accuracy of the obstacle determination can be improved, the parking safety can be improved, and the required cost is low.
  • fusing all continuous areas with all first obstacle areas to determine at least one second obstacle area includes: combining all continuous areas with the first obstacle area The continuous areas corresponding to the areas are determined as the second obstacle area.
  • the first continuous area 101 is the second Obstacle area.
  • the radar when detecting, for example, when detecting the object represented by the first continuous area 101, due to the limitation of radar technology, it may only be able to detect the part of the first continuous area 101 as shown in Figure 1c. An obstacle area 103, and the entire first continuous area 101 cannot be detected.
  • the first continuous area 101 is the second obstacle area, and there is no area corresponding to the second continuous area 102 in Fig. 1b in Fig. 1c, and the second continuous area can be determined 102 is a non-obstacle area. It can solve the problem of inaccurate radar detection of obstacles, improve the accuracy of obstacle determination, and ensure parking safety.
  • Fig. 1d is a schematic diagram of an obstacle provided by Embodiment 1 of the present application.
  • the second obstacle area 104 is a second obstacle area obtained by fusion of Figs. 1b and 1c.
  • the second obstacle area 104 may be a corresponding closed area formed by the first continuous area 101.
  • Step 130 Generate a first parking trajectory route according to all the second obstacle areas.
  • the first parking trajectory route may be a trajectory route taken by the vehicle from the current position to the predicted parking position. Among them, the first parking trajectory route will not cross the second obstacle area. That is, the generated first parking trajectory route is a trajectory route for the vehicle to park from the current position to the predicted parking position, avoiding the second obstacle area. There may be at least one first parking trajectory route, and the driver can select a desired parking route to park the vehicle.
  • an external image of the area to be parked of the vehicle is acquired through a camera device, and at least one continuous area in the external image is extracted; at least one first obstacle area of the area to be parked is detected by a radar device, It merges all continuous areas with all first obstacle areas to determine at least one second obstacle area; according to all second obstacle areas, the first parking trajectory is generated, which solves the problem of vehicle parking and realizes Improve the accuracy of obstacle detection while reducing the computing power requirements of the computing chip, saving costs, and ensuring the effect of safe parking.
  • Fig. 2a is a flowchart of a method for parking a vehicle provided in the second embodiment of the present application.
  • This embodiment is a refinement of the above technical solution, and the technical solution in this embodiment can be combined with each optional solution in at least one of the above embodiments.
  • the method includes steps 210 to 290.
  • Step 210 Acquire an external image of the area to be parked of the vehicle through the camera device, and extract an area with continuous pixel values in the external image as a continuous area.
  • Step 220 Obtain at least one first obstacle area in the area to be parked by the radar device, and determine the continuous areas corresponding to the first obstacle area in all the continuous areas as the second obstacle area.
  • Step 230 Generate a first parking trajectory route according to all the second obstacle areas.
  • Step 240 Obtain at least one candidate obstacle area obtained after removing the second obstacle area from all the continuous areas.
  • FIG. 2b is a schematic diagram of a candidate obstacle area provided in the second embodiment of the present application.
  • the candidate obstacle area 201 is an obstacle area such as a fence.
  • the candidate obstacle area 201 will not be determined as the second obstacle area after the continuous area is merged with the first obstacle area, but may be determined as the candidate obstacle area first.
  • the first continuous area 101 in FIG. 1b is the second obstacle area
  • the second continuous area 102 is not the second obstacle area.
  • Step 250 Generate and display a first electronic map matching the area to be parked.
  • the second obstacle area, the first parking track route, and the candidate obstacle area are displayed on the first electronic map.
  • the representation of the second obstacle area and the candidate obstacle area may be different, for example, the second obstacle area may be represented in red, and the candidate obstacle area may be represented in yellow; or, The second obstacle area may be represented by a solid line, and the candidate obstacle area may be represented by a dashed line; or, a combination of the two methods may be used.
  • the first parking trajectory route can be indicated in gray or green; or, the first parking trajectory route can be indicated by a dashed or solid line with arrows; or, a combination of the two methods is used.
  • the method further includes: obtaining a first parking determination instruction according to the displayed first electronic map , And park according to the first determined parking instruction and the first parking trajectory route.
  • the first parking determination instruction may be an instruction for the driver to determine to use one of the first parking trajectory routes for parking. For example, when the first electronic map is displayed, a selection button or a selection touch key for at least one parking track route in the first electronic map may be provided. When it is obtained that the driver selects one of the parking trajectory routes, it can be determined as the first definite parking instruction, and parking is performed according to the parking trajectory route corresponding to the first definite parking instruction.
  • Step 260 In response to the selection of the target candidate obstacle area in the first electronic map, a third obstacle area is determined in the area to be parked.
  • the first electronic map also provides a selection key or a selection touch key for the candidate obstacle area.
  • the driver can select the candidate obstacle area in the first electronic map as the target candidate obstacle area.
  • the target candidate obstacle selected by the driver can be determined as the third obstacle area.
  • the driver may determine that the candidate obstacle area 201 in FIG. 2b is a fence, and may be selected as the target candidate obstacle area.
  • the driver may determine that the second continuous area 102 in FIG. 1b is a speed bump, and may not be selected as the target candidate obstacle area. Therefore, the candidate obstacle area 201 in FIG. 2b can be determined as the third obstacle area; the second continuous area 102 in FIG. 1b is not the third obstacle area. It can avoid the problem of radar missed detection, improve the accuracy and comprehensiveness of obstacle determination, and ensure parking safety.
  • Step 270 Generate a second parking trajectory route according to the second obstacle area and the third obstacle area.
  • the second parking trajectory route may be a trajectory route taken by the vehicle from the current position to the predicted parking position.
  • the second parking trajectory route will not cross the second obstacle area and the third obstacle area. That is, the generated second parking trajectory route is a trajectory route for the vehicle to park from the current position to the predicted parking position, avoiding the second obstacle area and the third obstacle area.
  • Step 280 Generate and display a second electronic map matching the area to be parked, and display the second obstacle area, the third obstacle area, and the second parking track route on the second electronic map.
  • the display modes of the second obstacle area and the third obstacle area may be the same, for example, both are represented by red, or both are represented by solid lines, or the two methods are combined for representation.
  • the second parking trajectory route can be represented in green, or represented by a solid line with an arrow or a dashed line, or represented by a combination of the two methods, and so on.
  • the method further includes: obtaining a second parking determination instruction according to the displayed second electronic map , And park according to the second determined parking instruction and the second parking trajectory route.
  • the second parking determination instruction may be an instruction for the driver to determine to use one of the second parking trajectory routes for parking.
  • a selection button or a selection touch key for at least one parking track route in the second electronic map may be provided.
  • it can be determined as the second definite parking instruction, and parking is performed according to the parking trajectory route corresponding to the second definite parking instruction.
  • Step 290 Store the second electronic map according to the real-time positioning result of the vehicle.
  • the second electronic map and the positioning result of the vehicle can be stored.
  • the second electronic map can be directly displayed to increase the parking speed.
  • the first electronic map and the positioning result of the vehicle can also be stored.
  • the first electronic map can be directly displayed. An electronic map to increase the speed of parking.
  • an external image of the area to be parked of the vehicle is acquired through a camera device, and an area with continuous pixel values in the external image is extracted as a continuous area; at least one first obstacle in the area to be parked is detected by a radar device In all the continuous areas, the continuous area corresponding to the first obstacle area is determined as the second obstacle area; according to all the second obstacle areas, the first parking trajectory route is generated; in all the continuous areas, Obtain at least one candidate obstacle area obtained after removing the second obstacle area; generate and display a first electronic map matching the area to be parked; in response to the selection of the target candidate obstacle area in the first electronic map, Determine the third obstacle area in the area to be parked; generate the second parking trajectory route according to the second obstacle area and the third obstacle area; generate and display a second electronic map matching the area to be parked, in The second electronic map displays the second obstacle area, the third obstacle area and the second parking track route; according to the real-time positioning results of the vehicle, the second electronic map is stored, which solves
  • Fig. 3 is a flowchart of a method for parking a vehicle provided in the third embodiment of the present application.
  • This embodiment is a refinement of the above technical solution, and the technical solution in this embodiment can be combined with each optional solution in at least one of the above embodiments.
  • the method includes steps 310 to 470.
  • Step 310 Obtain the real-time positioning result of the vehicle, and determine whether the target electronic map matching the current parking area is stored according to the real-time positioning result; respond to the judgment that the target electronic map matching the current parking area is stored As a result, step 320 is executed; in response to the judgment result that the target electronic map matching the current parking area is not stored, step 340 is executed.
  • the target electronic map may be an electronic map corresponding to the positioning result of the vehicle, for example, it may be a pre-stored first electronic map or a second electronic map.
  • the target electronic map can include obstacle areas and parking trajectory routes.
  • the parking trajectory route may be the parking trajectory route adopted last time when the vehicle was at the current positioning position, which can increase the parking speed.
  • the target electronic map may provide buttons or touch buttons for displaying all the parking trajectory routes, so that the driver can understand all the optional parking methods.
  • Step 320 Display the target electronic map, and the target electronic map includes the target parking track route.
  • the target parking trajectory route may be one selected by the driver according to multiple parking trajectory routes, or the parking trajectory route adopted last time when the vehicle was at the current positioning position.
  • the target electronic map can be displayed through the human-computer interaction interface in the vehicle.
  • Step 330 Obtain a third determined parking instruction according to the displayed target electronic map, and perform parking according to the third determined parking instruction and the target parking trajectory route, and the end.
  • the third parking determination instruction may be an instruction for the driver to determine to use one of the target parking trajectory routes for parking.
  • a selection button or a selection touch key for at least one parking track route in the target electronic map may be provided.
  • it can be determined as the third definite parking instruction, and parking is performed according to the parking trajectory route corresponding to the third definite parking instruction.
  • Step 340 Acquire an external image of the area to be parked of the vehicle through the camera device, and extract at least one continuous area in the external image.
  • Step 350 Obtain at least one first obstacle area in the area to be parked by a radar device, and merge all continuous areas with all first obstacle areas to determine at least one second obstacle area.
  • Step 360 Generate a first parking trajectory route according to all the second obstacle areas.
  • Step 370 Obtain at least one candidate obstacle area obtained after removing the second obstacle area from all the continuous areas.
  • Step 380 Generate and display a first electronic map matching the area to be parked, where the first electronic map displays the second obstacle area, the first parking track route, and the candidate obstacle area.
  • Step 390 Obtain a first definite parking instruction or a selection instruction of the target candidate obstacle area for the first electronic map; if the first definite parking instruction is acquired, go to step 410; if the target candidate obstacle area is acquired Select the instruction and go to step 430.
  • Step 410 Carry out parking according to the first determined parking instruction and the first parking trajectory route.
  • Step 420 Store the first electronic map according to the real-time positioning result of the vehicle, and end.
  • Step 430 In response to the selection of the target candidate obstacle area in the first electronic map, a third obstacle area is determined in the parking area.
  • Step 440 Generate a second parking trajectory route according to the second obstacle area and the third obstacle area.
  • Step 450 Generate and display a second electronic map matching the area to be parked, and display the second obstacle area, the third obstacle area, and the second parking track route on the second electronic map.
  • Step 460 Obtain a second determined parking instruction according to the displayed second electronic map, and perform parking according to the second determined parking instruction and the second parking trajectory route.
  • Step 470 Store the second electronic map according to the real-time positioning result of the vehicle.
  • the technical solution of this embodiment first obtains the real-time positioning result of the vehicle before parking, and judges whether the target electronic map matching the current parking area is stored according to the real-time positioning result; According to the judgment result of the target electronic map matching the parking area, the target electronic map is displayed, and the target electronic map includes the target parking track route; according to the displayed target electronic map, the third confirmation parking instruction is obtained, and according to the third confirmation
  • the parking instruction and the target parking trajectory route are used for parking, which solves the problem of vehicle parking, and realizes the effect of reducing the generation process of the parking trajectory route and increasing the parking speed when the same or similar positioning results are achieved.
  • FIG. 4 is a schematic structural diagram of a vehicle parking system provided by Embodiment 4 of the present application. As shown in FIG. 4, the system includes: a camera device 510, an image processing device 520, a radar detection device 530, a display and operation device 540, The map generation device 550, the parking control device 560, and the vehicle chassis device 570.
  • the camera device 510 is connected to the image processing device 520; the image processing device 520 and the radar detection device 530 are both connected to the map generating device 550; the image processing device 520 and the radar detection device 530 are both connected to the display and operation device 540; display and operation The device 540 is connected to the map generating device 550; the map generating device 550 is connected to the parking control device 560; the parking control device 560 is connected to the vehicle chassis device 570.
  • the camera device 510 is composed of a number of cameras, arranged around the vehicle, and configured to capture images around the vehicle in real time.
  • the image processing device 520 is configured to perform distortion processing and splicing on the image, and extract continuous regions in the spliced image.
  • the image processing device 520 is further configured to send an image including a continuous area to the display and operation device 540 and the map generation device 550.
  • the radar detection device 530 is composed of several ranging radars, and is configured to measure the distance between obstacles around the vehicle and the vehicle, and send the radar ranging information to the display and operation device 540 and the map generation device 550.
  • the map generating device 550 is configured to perform fusion judgment based on the image including the continuous area and the radar ranging information, generate the first version of the electronic map, and send it to the display and operation device 540.
  • the first version of the electronic map includes obstacles and parking track routes.
  • the parking trajectory route is planned according to the obstacle area.
  • the display and operation device 540 is configured to display the image of the continuous area, the radar ranging information and the first version of the electronic map, obtain the operation instructions of the driver, and send the operation instructions to the map generating device 550.
  • the map generating device 550 is further configured to generate a final electronic map according to the driver's operation instruction, and send the final electronic map to the parking control device 560. For example, based on the driver's marking of impassable areas (obstacle areas) in the first version of the electronic map and obstacles in the first version of the electronic map, the final version of the electronic map is generated. Among them, the final electronic map includes obstacle areas, impassable areas, and parking track routes. The parking track route is planned according to the obstacle area and the impassable area.
  • the map generating device 550 is also configured to store the final electronic map.
  • the parking control device 560 is configured to control the vehicle chassis device 570 to park according to the final electronic map.
  • the technical solution of this embodiment through the camera device, the image processing device, the radar detection device, the display and operation device, the map generation device, the parking control device, and the vehicle chassis device, can be based on the continuous area in the image and the radar ranging information Generate the first version of the electronic map to avoid limited radar detection; generate the final version of the electronic map according to the first version of the electronic map and the impassable areas marked by the driver to avoid the situation of radar detection missed; realize the parking of the vehicle according to the final version of the electronic map , Which can improve the accuracy of obstacle detection while reducing the computing power requirements of the computing chip, saving costs, and ensuring safe parking.
  • FIG. 5 is a schematic structural diagram of a vehicle parking device provided in Embodiment 5 of the present application.
  • the device includes: a continuous area extraction module 610, an obstacle area determination module 620, and a first parking trajectory route generation module 630.
  • the continuous region extraction module 610 is configured to acquire an external image of the area to be parked of the vehicle through the camera device, and extract at least one continuous region in the external image;
  • the obstacle area determination module 620 is configured to detect at least one first obstacle area in the area to be parked by a radar device, and merge all continuous areas with all the first obstacle areas to determine at least one second obstacle area ;
  • the first parking trajectory route generating module 630 is configured to generate the first parking trajectory route according to all the second obstacle areas.
  • the continuous region extraction module 610 includes:
  • the continuous area extracting unit is configured to extract the area with continuous pixel values in the external image as the continuous area.
  • the obstacle area determination module 620 includes:
  • the obstacle area determining unit is configured to determine the continuous areas respectively corresponding to the first obstacle area in all the continuous areas as the second obstacle area.
  • the device further includes:
  • the candidate obstacle area acquisition module is set to obtain at least one candidate obstacle obtained after removing the second obstacle area in all continuous areas after generating the first parking trajectory route based on all the second obstacle areas area;
  • the first electronic map generation module is configured to generate and display a first electronic map matching the area to be parked, wherein the first electronic map displays the second obstacle area, the first parking track route, and the candidate obstacle area ;
  • the third obstacle area determination module is configured to determine the third obstacle area in the parking area in response to the selection of the target candidate obstacle area in the first electronic map;
  • the second parking trajectory route generation module is configured to generate a second parking trajectory route according to the second obstacle area and the third obstacle area.
  • the device further includes:
  • the second electronic map generation module is configured to generate and display a second electronic map matching the area to be parked after generating a second parking trajectory route according to the second obstacle area and the third obstacle area.
  • the second obstacle area, the third obstacle area and the second parking track route are displayed on the electronic map;
  • the second electronic map storage module is configured to store the second electronic map according to the real-time positioning result of the vehicle.
  • the device further includes:
  • the parking module is configured to, after generating and displaying a first electronic map matching the area to be parked, obtain a first parking instruction according to the displayed first electronic map, and obtain a first parking instruction according to the first parking instruction and the first parking instruction. Parking on the parking track route; or,
  • the parking module is configured to, after generating and displaying a second electronic map matching the area to be parked, obtain a second parking instruction according to the displayed second electronic map, and obtain a second parking instruction according to the second parking instruction and the second parking instruction.
  • the parking track route is used for parking.
  • the device further includes:
  • the target electronic map acquisition module is configured to acquire the real-time positioning result of the vehicle before acquiring the external image of the parking area of the vehicle through the camera device, and determine whether to store the target electronic matching the current parking area according to the real-time positioning result map;
  • the target electronic map display module is configured to display the target electronic map in response to the stored judgment result of the target electronic map matching the current parking area, and the target electronic map includes the target parking track route;
  • the parking module is further configured to obtain a third determined parking instruction according to the displayed target electronic map, and perform parking according to the third determined parking instruction and the target parking trajectory route.
  • the vehicle parking device provided by the embodiment of the present application can execute the vehicle parking method provided by any embodiment of the present application, and is equipped with functional modules corresponding to the execution method.
  • FIG. 6 is a schematic structural diagram of a vehicle-mounted device provided in Embodiment 6 of the present application. As shown in FIG. 6, the device includes:
  • At least one processor 710, and one processor 710 is taken as an example in FIG. 6;
  • the device may further include: an input device 730 and an output device 740.
  • the processor 710, the memory 720, the input device 730, and the output device 740 in the device may be connected by a bus or other methods.
  • the connection by a bus is taken as an example.
  • the memory 720 can be configured to store software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to a vehicle parking method in the embodiment of the present application (for example, The continuous area extraction module 610 shown in FIG. 5, the obstacle area determination module 620 and the first parking trajectory route generation module 630).
  • the processor 710 executes various functional applications and data processing of the computer equipment by running the software programs, instructions, and modules stored in the memory 720, that is, to implement a vehicle parking method in the foregoing method embodiment, namely:
  • At least one first obstacle area in the area to be parked is detected by a radar device, and all the continuous areas are merged with all the first obstacle areas to determine at least one second obstacle area;
  • a first parking trajectory route is generated.
  • the memory 720 may include a program storage area and a data storage area.
  • the program storage area may store an operating system and an application program required by at least one function; the data storage area may store data created according to the use of a computer device, and the like.
  • the memory 720 may include a high-speed random access memory, and may also include a non-transitory memory, such as at least one magnetic disk storage device, a flash memory device, or other non-transitory solid-state storage devices.
  • the memory 720 may optionally include memories remotely provided with respect to the processor 710, and these remote memories may be connected to the terminal device through a network. Examples of the aforementioned networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.
  • the input device 730 may be configured to receive input numeric or character information, and generate key signal input related to user settings and function control of the computer equipment.
  • the output device 740 may include a display device such as a display screen.
  • the seventh embodiment of the present application provides a computer-readable storage medium having a computer program stored on the computer-readable storage medium, and when the program is executed by a processor, a method for parking a vehicle as provided in the embodiment of the present application is implemented:
  • At least one first obstacle area in the area to be parked is detected by a radar device, and all the continuous areas are merged with all the first obstacle areas to determine at least one second obstacle area;
  • a first parking trajectory route is generated.
  • the computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium.
  • the computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or a combination of any of the above. More specific examples of computer-readable storage media (non-exhaustive list) include: electrical connections with at least one wire, portable computer disks, hard disks, random access memory (RAM), read-only memory (Read Only Memory, ROM), Erasable Programmable Read Only Memory (EPROM or flash memory), optical fiber, Compact Disc-Read Only Memory (CD-ROM), optical Storage device, magnetic storage device, or any suitable combination of the above.
  • the computer-readable storage medium can be any tangible medium that contains or stores a program, and the program can be used by or in combination with an instruction execution system, apparatus, or device.
  • the computer-readable signal medium may include a data signal propagated in baseband or as a part of a carrier wave, and computer-readable program code is carried therein. This propagated data signal can take many forms, including, but not limited to, electromagnetic signals, optical signals, or any suitable combination of the foregoing.
  • the computer-readable signal medium may also be any computer-readable medium other than the computer-readable storage medium.
  • the computer-readable medium may send, propagate or transmit the program for use by or in combination with the instruction execution system, apparatus, or device .
  • the program code contained on the computer-readable medium can be transmitted by any suitable medium, including, but not limited to, wireless, wire, optical cable, radio frequency (RF), etc., or any suitable combination of the foregoing.
  • suitable medium including, but not limited to, wireless, wire, optical cable, radio frequency (RF), etc., or any suitable combination of the foregoing.
  • RF radio frequency
  • the computer program code used to perform the operations of this application can be written in at least one programming language or a combination thereof.
  • the programming language includes object-oriented programming languages-such as Java, Smalltalk, C++, and also includes conventional procedural programming languages. Programming language-such as "C" language or similar programming language.
  • the program code can be executed entirely on the user's computer, partly on the user's computer, executed as an independent software package, partly on the user's computer and partly executed on a remote computer, or entirely executed on the remote computer or server.
  • the remote computer can be connected to the user's computer through any kind of network-including Local Area Network (LAN) or Wide Area Network (WAN)-or it can be connected to an external computer ( For example, use an Internet service provider to connect via the Internet).
  • LAN Local Area Network
  • WAN Wide Area Network

Landscapes

  • Engineering & Computer Science (AREA)
  • Remote Sensing (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Data Mining & Analysis (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • General Engineering & Computer Science (AREA)
  • Evolutionary Computation (AREA)
  • Evolutionary Biology (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Artificial Intelligence (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Electromagnetism (AREA)
  • Mechanical Engineering (AREA)
  • Traffic Control Systems (AREA)

Abstract

Embodiments of the present application disclose a vehicle parking method and apparatus, and a vehicle-mounted device and a storage medium. The method comprises: obtaining, by means of a photographing apparatus, an external image of an area for parking a vehicle, and extracting at least one continuous area in the external image; obtaining, by means of detection of a radar apparatus, at least one first obstacle area of the area for parking, and fusing all the continuous areas and all the first obstacle areas to determine at least one second obstacle area; and generating a first parking trajectory route according to all the second obstacle areas.

Description

一种车辆泊车方法、装置、车载设备及存储介质Vehicle parking method, device, vehicle-mounted equipment and storage medium
本申请要求在2020年6月24日提交中国专利局、申请号为202010591404.8的中国专利申请的优先权,该申请的全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent application filed with the Chinese Patent Office with an application number of 202010591404.8 on June 24, 2020, and the entire content of the application is incorporated into this application by reference.
技术领域Technical field
本申请实施例涉及汽车技术领域,例如涉及一种车辆泊车方法、装置、车载设备及存储介质。The embodiments of the present application relate to the field of automobile technology, for example, to a vehicle parking method, device, on-board equipment, and storage medium.
背景技术Background technique
随着驾驶辅助及自动驾驶技术的发展,半自动泊车或者全自动泊车系统逐渐成为汽车产品中一项吸引消费者的汽车配置。With the development of driving assistance and autonomous driving technology, semi-automatic parking or fully automatic parking systems have gradually become an automobile configuration that attracts consumers among automobile products.
相关技术中,车辆通过雷达探测确定泊车位置,但是雷达存在误判,存在泊车过程中与障碍物碰撞或者泊车失败的情况。或者,通过图像实现物体检测,确定泊车位置,但是也存在检测出错的情况,并且通过图像检测物体对计算芯片的能力要求高,致使计算芯片成本高。In the related art, the parking position of the vehicle is determined by radar detection, but the radar has misjudgment, and there is a situation that the vehicle collides with an obstacle during the parking process or the parking fails. Or, object detection is implemented through images to determine the parking position, but there are also cases of errors in detection, and the detection of objects through images requires high capabilities of the computing chip, resulting in high cost of the computing chip.
发明内容Summary of the invention
本申请实施例提供了一种车辆泊车方法、装置、车载设备及存储介质,可以提高障碍物检测的准确性,降低计算芯片能力要求,节省成本。The embodiments of the present application provide a vehicle parking method, device, on-board equipment, and storage medium, which can improve the accuracy of obstacle detection, reduce the requirements for computing chip capabilities, and save costs.
第一方面,本申请实施例提供了一种车辆泊车方法,该方法包括:In the first aspect, an embodiment of the present application provides a method for parking a vehicle, the method including:
通过摄像装置获取车辆的待泊车区域的外部图像,并提取所述外部图像中的至少一个连续区域;Acquiring an external image of the parking area of the vehicle through a camera device, and extracting at least one continuous area in the external image;
通过雷达装置探测得到待泊车区域的至少一个第一障碍物区域,并将所有所述连续区域与所有所述第一障碍物区域进行融合,确定至少一个第二障碍物区域;At least one first obstacle area in the area to be parked is detected by a radar device, and all the continuous areas are merged with all the first obstacle areas to determine at least one second obstacle area;
根据所有所述第二障碍物区域,生成第一泊车轨迹路线。According to all the second obstacle areas, a first parking trajectory route is generated.
第二方面,本申请实施例还提供了一种车辆泊车装置,该装置包括:In the second aspect, an embodiment of the present application also provides a vehicle parking device, which includes:
连续区域提取模块,设置为通过摄像装置获取车辆的待泊车区域的外部图像,并提取所述外部图像中的至少一个连续区域;A continuous region extraction module, configured to acquire an external image of a parking area of the vehicle through a camera device, and extract at least one continuous region in the external image;
障碍物区域确定模块,设置为通过雷达装置探测得到待泊车区域的至少一个第一障碍物区域,并将所有所述连续区域与所有所述第一障碍物区域进行融合,确定至少一个第二障碍物区域;The obstacle area determination module is configured to detect at least one first obstacle area in the area to be parked by a radar device, and merge all the continuous areas with all the first obstacle areas to determine at least one second obstacle area Obstacle area
第一泊车轨迹路线生成模块,设置为根据所有所述第二障碍物区域,生成第一泊车轨迹路线。The first parking trajectory route generating module is configured to generate a first parking trajectory route according to all the second obstacle areas.
第三方面,本申请实施例还提供了一种车载设备,该车载设备包括:In a third aspect, an embodiment of the present application also provides an in-vehicle device, the in-vehicle device including:
至少一个处理器;At least one processor;
存储装置,设置为存储至少一个程序,The storage device is set to store at least one program,
当所述至少一个程序被所述至少一个或多处理器执行,使得所述至少一个处理器实现如本申请任意实施例所述的一种车辆泊车方法。When the at least one program is executed by the at least one or more processors, the at least one processor implements the method for parking a vehicle according to any embodiment of the present application.
第四方面,本申请实施例还提供了一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现如本申请任意实施例所述的一种车辆泊车方法。In a fourth aspect, an embodiment of the present application also provides a computer-readable storage medium having a computer program stored on the computer-readable storage medium, and when the computer program is executed by a processor, the implementation of the A method of parking a vehicle.
附图说明Description of the drawings
图1a是本申请实施例一提供的一种车辆泊车方法的流程图;FIG. 1a is a flowchart of a method for parking a vehicle according to Embodiment 1 of the present application;
图1b是本申请实施例一提供的一种外部图像中的连续区域示意图;FIG. 1b is a schematic diagram of continuous regions in an external image provided by Embodiment 1 of the present application;
图1c是本申请实施例一提供的一种车辆外部的雷达图像的示意图;FIG. 1c is a schematic diagram of a radar image outside a vehicle provided by Embodiment 1 of the present application;
图1d是本申请实施例一提供的一种障碍物示意图;FIG. 1d is a schematic diagram of an obstacle provided in Embodiment 1 of the present application;
图2a是本申请实施例二提供的一种车辆泊车方法的流程图;Fig. 2a is a flowchart of a method for parking a vehicle provided in the second embodiment of the present application;
图2b是本申请实施例二提供的一种备选障碍物区域的示意图;FIG. 2b is a schematic diagram of a candidate obstacle area provided in the second embodiment of the present application;
图3是本申请实施例三提供的一种车辆泊车方法的流程图;FIG. 3 is a flowchart of a method for parking a vehicle provided in Embodiment 3 of the present application;
图4是本申请实施例四提供的一种车辆泊车系统的结构示意图;FIG. 4 is a schematic structural diagram of a vehicle parking system provided by Embodiment 4 of the present application;
图5是本申请实施例五提供的一种车辆泊车装置的结构示意图;FIG. 5 is a schematic structural diagram of a vehicle parking device provided by Embodiment 5 of the present application;
图6是本申请实施例六提供的一种车载设备的结构示意图。FIG. 6 is a schematic structural diagram of a vehicle-mounted device according to Embodiment 6 of the present application.
具体实施方式detailed description
下面结合附图和实施例对本申请作详细说明The application will be described in detail below with reference to the drawings and embodiments
实施例一Example one
图1a是本申请实施例一提供的一种车辆泊车方法的流程图,本实施例可适用于驾驶辅助或者自动驾驶中车辆半自动或者全自动泊车的情况,该方法可以由车辆泊车装置来执行,该装置可以通过软件和/或硬件的方式实现,装置可以集成在车载设备中,如图1a所示,该方法包括步骤110至130。Fig. 1a is a flowchart of a method for parking a vehicle provided in the first embodiment of the present application. This embodiment can be applied to the situation of semi-automatic or fully automatic parking of the vehicle in driving assistance or automatic driving. The method can be used by the vehicle parking device. The device can be implemented by software and/or hardware, and the device can be integrated in a vehicle-mounted device. As shown in FIG. 1a, the method includes steps 110 to 130.
步骤110、通过摄像装置获取车辆的待泊车区域的外部图像,并提取外部图像中的至少一个连续区域。Step 110: Acquire an external image of the area to be parked of the vehicle through the camera device, and extract at least one continuous area in the external image.
其中,摄像装置是设置为获取车辆的外部图像的设备,例如,可以是摄像头、录像机或者行车记录仪等。摄像装置可以安装在车辆的四周。摄像装置的数量可以是至少一个。例如,摄像装置为4个,分别在车辆的前后左右四个方向,通过4个摄像装置可以获取车辆完整的外部图像。为了清楚获取车辆的外部图像,摄像装置可以位于车辆中一个相对较高的位置,以一定的俯视角度获取外部图像。Wherein, the camera device is a device configured to obtain an external image of the vehicle, for example, it may be a camera, a video recorder, or a driving recorder. The camera device can be installed around the vehicle. The number of camera devices may be at least one. For example, there are four camera devices, which are located in the front, rear, left, and right directions of the vehicle, and a complete external image of the vehicle can be acquired through the four camera devices. In order to clearly obtain the external image of the vehicle, the camera device may be located at a relatively high position in the vehicle to obtain the external image at a certain overhead angle.
待泊车区域可以是车辆预计泊车的位置以及泊车附近的位置,例如,泊车位置以及泊车中需要经过的位置。The parking area may be the location where the vehicle is expected to park and the location near the parking, for example, the parking location and the location that needs to pass during parking.
外部图像可以是车辆外部的待泊车区域的图像。外部图像可以是通过至少一个摄像装置获取的图像。外部图像可以是通过拼接获取的一张车辆外部的整 体图像。拼接时可以是通过对车辆的标定实现的,例如,通过摄像装置获取的车辆的多个图像中可以存在车辆的每个车角的标记,根据对应的标记可以对多个图像进行拼接,生成外部图像。The external image may be an image of an area to be parked outside the vehicle. The external image may be an image acquired through at least one camera. The external image may be a whole image of the exterior of the vehicle obtained by stitching. The stitching can be achieved by calibrating the vehicle. For example, a mark of each corner of the vehicle may exist in the multiple images of the vehicle acquired by the camera device, and the multiple images can be stitched according to the corresponding marks to generate external image.
在拼接图像生成外部图像之前,还可以对图像进行畸变处理。畸变是由于光学成像造成的透视失真的现象,对于图像的成像质量是非常不利的,会影响对车辆的外部图像中物体的判断的准确性。畸变处理可以是通过相关技术中的一些制图软件中的方法进行图像的纠正。Before splicing images to generate external images, you can also perform distortion processing on the images. Distortion is a phenomenon of perspective distortion caused by optical imaging, which is very unfavorable to the imaging quality of the image, and will affect the accuracy of judging objects in the external image of the vehicle. Distortion processing can be image correction by methods in some graphics software in related technologies.
连续区域是指外部图像中表示同一物体的区域。例如,表示车辆外部的其它车辆的区域、围墙区域等障碍物区域,以及车辆外部的平铺于地面的稻草、减速带、或者井盖等非障碍物区域。连续区域可以作为疑似障碍物区域。提取外部图像中的连续区域的方式可以是通过边缘检测或者图像二值化等方式实现。The continuous area refers to the area that represents the same object in the external image. For example, it indicates the area of other vehicles outside the vehicle, the barrier area such as the wall area, and the non-obstacle area such as the straw, speed bump, or manhole cover that is spread on the ground outside the vehicle. The continuous area can be regarded as a suspected obstacle area. The method of extracting the continuous area in the external image can be achieved through edge detection or image binarization.
示例性的,图1b是本申请实施例一提供的一种外部图像中的连续区域示意图,如图1b所示,外部图像中包括第一连续区域101和第二连续区域102。其中,假定第一连续区域101可以是围墙等障碍物区域,第二连续区域102可以是减速带等非障碍物区域。通过图像处理仅提取连续区域,并不对连续区域是障碍物或者非障碍物进行检测。Exemplarily, FIG. 1b is a schematic diagram of continuous regions in an external image provided in Embodiment 1 of the present application. As shown in FIG. 1b, the external image includes a first continuous region 101 and a second continuous region 102. It is assumed that the first continuous area 101 may be an obstacle area such as a fence, and the second continuous area 102 may be a non-obstacle area such as a speed bump. Only continuous regions are extracted through image processing, and the continuous regions are not detected as obstacles or non-obstacles.
在本申请实施例的一个实施方式中,可选的,提取外部图像中的至少一个连续区域,包括:提取外部图像中像素值连续的区域作为连续区域。In an implementation of the embodiment of the present application, optionally, extracting at least one continuous area in the external image includes: extracting an area with continuous pixel values in the external image as a continuous area.
其中,为了准确提取外部图像中的连续区域,可以提取外部图像中像素值连续的区域。提取方法可以是图像二值化、边缘检测等图像处理方法。可以将像素值连续的区域作为连续区域。本申请实施例中的技术方案仅对外部图像进行了像素值的判定,使用的方法也是二值化或者边缘检测等基础的图像处理方法,不涉及对图像中的物体进行检测,判断物体是否为障碍物。因此,所需的 计算量、计算能力很小,占用的计算空间小,可以节省计算成本,节省计算芯片成本。Among them, in order to accurately extract the continuous area in the external image, the area with continuous pixel values in the external image can be extracted. The extraction method can be image processing methods such as image binarization and edge detection. The area where the pixel values are continuous can be regarded as the continuous area. The technical solutions in the embodiments of this application only determine the pixel value of the external image. The method used is also a basic image processing method such as binarization or edge detection. It does not involve detecting objects in the image to determine whether the object is obstacle. Therefore, the required calculation amount and calculation capacity are small, and the calculation space occupied is small, which can save the calculation cost and the cost of the calculation chip.
步骤120、通过雷达装置探测得到待泊车区域的至少一个第一障碍物区域,并将所有连续区域与所有第一障碍物区域进行融合,确定至少一个第二障碍物区域。Step 120: Obtain at least one first obstacle area in the area to be parked by a radar device, and merge all continuous areas with all the first obstacle areas to determine at least one second obstacle area.
其中,雷达装置是设置为测量车辆周围障碍物与车辆的距离的装置,例如,可以由至少一个测距雷达构成。通过雷达可以发现车辆外部的障碍物以及障碍物的空间位置。例如,可以获取车辆外部的雷达图像,该雷达图像包含雷达探测的第一障碍物区域。Wherein, the radar device is a device configured to measure the distance between obstacles around the vehicle and the vehicle, for example, it may be composed of at least one ranging radar. Obstacles outside the vehicle and the spatial location of the obstacles can be found by radar. For example, a radar image of the exterior of the vehicle may be acquired, and the radar image includes the first obstacle area detected by the radar.
示例性的,图1c是本申请实施例一提供的一种车辆外部的雷达图像的示意图,如图1c所示,雷达图像中包括第一障碍物区域103。Exemplarily, FIG. 1c is a schematic diagram of a radar image outside a vehicle provided in Embodiment 1 of the present application. As shown in FIG. 1c, the radar image includes the first obstacle area 103.
连续区域与第一障碍物区域的融合,可以是将第一障碍物区域在外部图像的连续区域进行标定,确定第二障碍物区域的过程。可以提高障碍物确定的准确性,提高泊车安全性,同时所需成本低。The fusion of the continuous area and the first obstacle area may be a process of calibrating the first obstacle area in the continuous area of the external image to determine the second obstacle area. The accuracy of the obstacle determination can be improved, the parking safety can be improved, and the required cost is low.
在本申请实施例的一个实施方式中,可选的,将所有连续区域与所有第一障碍物区域进行融合,确定至少一个第二障碍物区域,包括:将所有连续区域中与第一障碍物区域分别对应的连续区域确定为第二障碍物区域。In an implementation of the embodiment of the present application, optionally, fusing all continuous areas with all first obstacle areas to determine at least one second obstacle area includes: combining all continuous areas with the first obstacle area The continuous areas corresponding to the areas are determined as the second obstacle area.
示例性的,如图1b和图1c所示,假定图1c中的第一障碍物区域103的空间位置与图1b中的第一连续区域101相对应,可以确定第一连续区域101为第二障碍物区域。需要说明的是,雷达在进行探测时,比如对于第一连续区域101代表的物体进行探测时,由于雷达技术的局限性,可能仅能探测到第一连续区域101的部分如图1c中的第一障碍物区域103,而无法探测到第一连续区域101的全部。通过对于图1b与图1c的融合,可以确定第一连续区域101为 第二障碍物区域,而图1c中不存在与图1b中的第二连续区域102对应的区域,可以确定第二连续区域102为非障碍物区域。可以解决雷达探测障碍物不准的问题,提高障碍物确定的准确性,保证泊车安全。Exemplarily, as shown in FIGS. 1b and 1c, assuming that the spatial position of the first obstacle area 103 in FIG. 1c corresponds to the first continuous area 101 in FIG. 1b, it can be determined that the first continuous area 101 is the second Obstacle area. It should be noted that when the radar is detecting, for example, when detecting the object represented by the first continuous area 101, due to the limitation of radar technology, it may only be able to detect the part of the first continuous area 101 as shown in Figure 1c. An obstacle area 103, and the entire first continuous area 101 cannot be detected. Through the fusion of Fig. 1b and Fig. 1c, it can be determined that the first continuous area 101 is the second obstacle area, and there is no area corresponding to the second continuous area 102 in Fig. 1b in Fig. 1c, and the second continuous area can be determined 102 is a non-obstacle area. It can solve the problem of inaccurate radar detection of obstacles, improve the accuracy of obstacle determination, and ensure parking safety.
图1d是本申请实施例一提供的一种障碍物示意图,如图1d所示,第二障碍物区域104是根据图1b和图1c融合得到的第二障碍物区域。第二障碍物区域104可以是由第一连续区域101形成的对应的封闭区域。Fig. 1d is a schematic diagram of an obstacle provided by Embodiment 1 of the present application. As shown in Fig. 1d, the second obstacle area 104 is a second obstacle area obtained by fusion of Figs. 1b and 1c. The second obstacle area 104 may be a corresponding closed area formed by the first continuous area 101.
步骤130、根据所有第二障碍物区域,生成第一泊车轨迹路线。Step 130: Generate a first parking trajectory route according to all the second obstacle areas.
其中,第一泊车轨迹路线可以是车辆由当前位置泊车至预计的泊车位置,所经过的轨迹路线。其中,第一泊车轨迹路线不会与第二障碍物区域出现交叉。即,生成的第一泊车轨迹路线是车辆由当前位置泊车至预计的泊车位置,避开第二障碍物区域的轨迹路线。第一泊车轨迹路线可以是至少一条,驾驶员可以从中选择一条期望的泊车路线进行泊车。Wherein, the first parking trajectory route may be a trajectory route taken by the vehicle from the current position to the predicted parking position. Among them, the first parking trajectory route will not cross the second obstacle area. That is, the generated first parking trajectory route is a trajectory route for the vehicle to park from the current position to the predicted parking position, avoiding the second obstacle area. There may be at least one first parking trajectory route, and the driver can select a desired parking route to park the vehicle.
本实施例的技术方案,通过摄像装置获取车辆的待泊车区域的外部图像,并提取外部图像中的至少一个连续区域;通过雷达装置探测得到待泊车区域的至少一个第一障碍物区域,并将所有连续区域与所有第一障碍物区域进行融合,确定至少一个第二障碍物区域;根据所有第二障碍物区域,生成第一泊车轨迹路线,解决了车辆泊车的问题,实现了提高障碍物检测的准确性的同时降低计算芯片的计算能力需求,节省成本,保证安全泊车的效果。In the technical solution of this embodiment, an external image of the area to be parked of the vehicle is acquired through a camera device, and at least one continuous area in the external image is extracted; at least one first obstacle area of the area to be parked is detected by a radar device, It merges all continuous areas with all first obstacle areas to determine at least one second obstacle area; according to all second obstacle areas, the first parking trajectory is generated, which solves the problem of vehicle parking and realizes Improve the accuracy of obstacle detection while reducing the computing power requirements of the computing chip, saving costs, and ensuring the effect of safe parking.
实施例二Example two
图2a是本申请实施例二提供的一种车辆泊车方法的流程图。本实施例是对上述技术方案的细化,本实施例中的技术方案可以与上述至少一个实施例中的各个可选方案结合。如图2a所示,该方法包括步骤210至290。Fig. 2a is a flowchart of a method for parking a vehicle provided in the second embodiment of the present application. This embodiment is a refinement of the above technical solution, and the technical solution in this embodiment can be combined with each optional solution in at least one of the above embodiments. As shown in Figure 2a, the method includes steps 210 to 290.
步骤210、通过摄像装置获取车辆的待泊车区域的外部图像,并提取外部图像中像素值连续的区域作为连续区域。Step 210: Acquire an external image of the area to be parked of the vehicle through the camera device, and extract an area with continuous pixel values in the external image as a continuous area.
步骤220、通过雷达装置探测得到待泊车区域的至少一个第一障碍物区域,并将所有连续区域中与第一障碍物区域分别对应的连续区域确定为第二障碍物区域。Step 220: Obtain at least one first obstacle area in the area to be parked by the radar device, and determine the continuous areas corresponding to the first obstacle area in all the continuous areas as the second obstacle area.
步骤230、根据所有第二障碍物区域,生成第一泊车轨迹路线。Step 230: Generate a first parking trajectory route according to all the second obstacle areas.
步骤240、在所有连续区域中,获取去除第二障碍物区域后得到的至少一个备选障碍物区域。Step 240: Obtain at least one candidate obstacle area obtained after removing the second obstacle area from all the continuous areas.
示例性的,图2b是本申请实施例二提供的一种备选障碍物区域的示意图,如图2b所示,假定备选障碍物区域201为栅栏等障碍物区域。通过对外部图像进行连续区域的提取,可以提取到该区域。但是由于雷达探测技术的缺陷,无法探测到栅栏类障碍物。因此,备选障碍物区域201在进行连续区域与第一障碍物区域融合后,不会被确定为第二障碍物区域,可以先被确定为备选障碍物区域。Exemplarily, FIG. 2b is a schematic diagram of a candidate obstacle area provided in the second embodiment of the present application. As shown in FIG. 2b, it is assumed that the candidate obstacle area 201 is an obstacle area such as a fence. By extracting the continuous area of the external image, the area can be extracted. However, due to the shortcomings of radar detection technology, barriers like fences cannot be detected. Therefore, the candidate obstacle area 201 will not be determined as the second obstacle area after the continuous area is merged with the first obstacle area, but may be determined as the candidate obstacle area first.
示例性的,如图1b所示,根据图1b与图1c的融合,可以确定图1b中的第一连续区域101为第二障碍物区域,而第二连续区域102不是第二障碍物区域,可以确定为备选障碍物区域。Exemplarily, as shown in FIG. 1b, according to the fusion of FIG. 1b and FIG. 1c, it can be determined that the first continuous area 101 in FIG. 1b is the second obstacle area, and the second continuous area 102 is not the second obstacle area. Can be determined as a candidate obstacle area.
步骤250、生成并展示与待泊车区域匹配的第一电子地图。Step 250: Generate and display a first electronic map matching the area to be parked.
其中,第一电子地图中显示第二障碍物区域、第一泊车轨迹路线以及备选障碍物区域。在第一电子地图中,第二障碍物区域与备选障碍物区域的表示方式可以是不相同的,例如,第二障碍物区域可以是红色表示,备选障碍物区域是黄色表示;或者,第二障碍物区域可以是实线表示,备选障碍物区域是虚线表示;或者,采用两种方式的结合。第一泊车轨迹路线可以是灰色或者绿色表 示;或者,第一泊车轨迹路线可以是带箭头的虚线或者实线表示;或者,采用两种方式的结合。Among them, the second obstacle area, the first parking track route, and the candidate obstacle area are displayed on the first electronic map. In the first electronic map, the representation of the second obstacle area and the candidate obstacle area may be different, for example, the second obstacle area may be represented in red, and the candidate obstacle area may be represented in yellow; or, The second obstacle area may be represented by a solid line, and the candidate obstacle area may be represented by a dashed line; or, a combination of the two methods may be used. The first parking trajectory route can be indicated in gray or green; or, the first parking trajectory route can be indicated by a dashed or solid line with arrows; or, a combination of the two methods is used.
在本申请实施例的一个实施方式中,可选的,在生成并展示与待泊车区域匹配的第一电子地图之后,还包括:根据展示的第一电子地图,获取第一确定泊车指令,并根据第一确定泊车指令以及第一泊车轨迹路线进行泊车。In an implementation manner of the embodiment of the present application, optionally, after generating and displaying the first electronic map matching the area to be parked, the method further includes: obtaining a first parking determination instruction according to the displayed first electronic map , And park according to the first determined parking instruction and the first parking trajectory route.
其中,第一确定泊车指令可以是驾驶员确定采用第一泊车轨迹路线中的一条进行泊车的指令。例如,展示第一电子地图时,可以提供第一电子地图中的至少一条泊车轨迹路线的选择按键或选择触摸键。当获取到驾驶员选择其中一条泊车轨迹路线时,可以确定为第一确定泊车指令,并根据第一确定泊车指令对应的泊车轨迹路线进行泊车。The first parking determination instruction may be an instruction for the driver to determine to use one of the first parking trajectory routes for parking. For example, when the first electronic map is displayed, a selection button or a selection touch key for at least one parking track route in the first electronic map may be provided. When it is obtained that the driver selects one of the parking trajectory routes, it can be determined as the first definite parking instruction, and parking is performed according to the parking trajectory route corresponding to the first definite parking instruction.
此外,展示第一电子地图时,还可以提供取消按键或取消触摸键,便于驾驶员发现特殊情况时,及时取消当前选择的泊车轨迹路线,取消泊车,避免发生意外,可以保证安全泊车。In addition, when displaying the first electronic map, you can also provide a cancel button or cancel touch button, so that when the driver discovers a special situation, he can cancel the currently selected parking track in time, cancel the parking, avoid accidents, and ensure safe parking .
步骤260、响应于对第一电子地图中目标备选障碍物区域的选择,在待泊车区域内确定第三障碍物区域。Step 260: In response to the selection of the target candidate obstacle area in the first electronic map, a third obstacle area is determined in the area to be parked.
其中,第一电子地图中还提供备选障碍物区域的选择按键或者选择触摸键。驾驶员可以选择第一电子地图中的备选障碍物区域作为目标备选障碍物区域。可以根据驾驶员选择的目标备选障碍物确定为第三障碍物区域。例如,驾驶员可以确定图2b中的备选障碍物区域201为栅栏,可以选择为目标备选障碍物区域。驾驶员可以确定图1b中的第二连续区域102为减速带,可以不选择为目标备选障碍物区域。因此,可以将图2b中的备选障碍物区域201确定为第三障碍物区域;图1b中的第二连续区域102不是第三障碍物区域。可以避免雷达出现漏检的问题,提高障碍物确定的准确性以及全面性,保证泊车安全。Among them, the first electronic map also provides a selection key or a selection touch key for the candidate obstacle area. The driver can select the candidate obstacle area in the first electronic map as the target candidate obstacle area. The target candidate obstacle selected by the driver can be determined as the third obstacle area. For example, the driver may determine that the candidate obstacle area 201 in FIG. 2b is a fence, and may be selected as the target candidate obstacle area. The driver may determine that the second continuous area 102 in FIG. 1b is a speed bump, and may not be selected as the target candidate obstacle area. Therefore, the candidate obstacle area 201 in FIG. 2b can be determined as the third obstacle area; the second continuous area 102 in FIG. 1b is not the third obstacle area. It can avoid the problem of radar missed detection, improve the accuracy and comprehensiveness of obstacle determination, and ensure parking safety.
步骤270、根据第二障碍物区域和第三障碍物区域,生成第二泊车轨迹路线。Step 270: Generate a second parking trajectory route according to the second obstacle area and the third obstacle area.
其中,第二泊车轨迹路线可以是车辆由当前位置泊车至预计的泊车位置,所经过的轨迹路线。其中,第二泊车轨迹路线不会与第二障碍物区域和第三障碍物区域出现交叉。即,生成的第二泊车轨迹路线是车辆由当前位置泊车至预计的泊车位置,避开第二障碍物区域和第三障碍物区域的轨迹路线。第二泊车轨迹路线可以是至少一条,驾驶员可以从中选择一条期望的泊车路线进行泊车。Wherein, the second parking trajectory route may be a trajectory route taken by the vehicle from the current position to the predicted parking position. Among them, the second parking trajectory route will not cross the second obstacle area and the third obstacle area. That is, the generated second parking trajectory route is a trajectory route for the vehicle to park from the current position to the predicted parking position, avoiding the second obstacle area and the third obstacle area. There may be at least one second parking trajectory route, and the driver can select a desired parking route to park the vehicle.
步骤280、生成并展示与待泊车区域匹配的第二电子地图,在第二电子地图中显示第二障碍物区域、第三障碍物区域以及第二泊车轨迹路线。Step 280: Generate and display a second electronic map matching the area to be parked, and display the second obstacle area, the third obstacle area, and the second parking track route on the second electronic map.
其中,第二障碍物区域和第三障碍物区域的显示方式可以是相同的,例如,均采用红色表示,或者均采用实线表示,或者采用两种方式结合表示等。第二泊车轨迹路线可以是绿色表示,或者采用带箭头的实线或虚线表示,或者采用两种方式结合的方式表示等。Wherein, the display modes of the second obstacle area and the third obstacle area may be the same, for example, both are represented by red, or both are represented by solid lines, or the two methods are combined for representation. The second parking trajectory route can be represented in green, or represented by a solid line with an arrow or a dashed line, or represented by a combination of the two methods, and so on.
在本申请实施例的一个实施方式中,可选的,在生成并展示与待泊车区域匹配的第二电子地图之后,还包括:根据展示的第二电子地图,获取第二确定泊车指令,并根据第二确定泊车指令以及第二泊车轨迹路线进行泊车。In an implementation of the embodiment of the present application, optionally, after generating and displaying a second electronic map matching the area to be parked, the method further includes: obtaining a second parking determination instruction according to the displayed second electronic map , And park according to the second determined parking instruction and the second parking trajectory route.
其中,第二确定泊车指令可以是驾驶员确定采用第二泊车轨迹路线中的一条进行泊车的指令。例如,展示第二电子地图时,可以提供第二电子地图中的至少一条泊车轨迹路线的选择按键或选择触摸键。当获取到驾驶员选择其中一条泊车轨迹路线时,可以确定为第二确定泊车指令,并根据第二确定泊车指令对应的泊车轨迹路线进行泊车。Wherein, the second parking determination instruction may be an instruction for the driver to determine to use one of the second parking trajectory routes for parking. For example, when the second electronic map is displayed, a selection button or a selection touch key for at least one parking track route in the second electronic map may be provided. When it is acquired that the driver selects one of the parking trajectory routes, it can be determined as the second definite parking instruction, and parking is performed according to the parking trajectory route corresponding to the second definite parking instruction.
步骤290、根据车辆的实时定位结果,对第二电子地图进行存储。Step 290: Store the second electronic map according to the real-time positioning result of the vehicle.
其中,可以将第二电子地图以及车辆的定位结果进行存储,当下次车辆位 于相同或相似的定位位置时,可以直接展示第二电子地图,以提高泊车的速度。此外,如果驾驶员并未在第一电子地图中选择目标备选障碍物区域,也可以存储第一电子地图以及车辆的定位结果,当下次车辆位于相同或相似的定位位置时,可以直接展示第一电子地图,以提高泊车的速度。Among them, the second electronic map and the positioning result of the vehicle can be stored. When the vehicle is at the same or similar positioning position next time, the second electronic map can be directly displayed to increase the parking speed. In addition, if the driver does not select the target candidate obstacle area in the first electronic map, the first electronic map and the positioning result of the vehicle can also be stored. When the vehicle is located at the same or similar positioning position next time, the first electronic map can be directly displayed. An electronic map to increase the speed of parking.
本实施例的技术方案,通过摄像装置获取车辆的待泊车区域的外部图像,并提取外部图像中像素值连续的区域作为连续区域;通过雷达装置探测得到待泊车区域的至少一个第一障碍物区域,并将所有连续区域中与第一障碍物区域分别对应的连续区域确定为第二障碍物区域;根据所有第二障碍物区域,生成第一泊车轨迹路线;在所有连续区域中,获取去除第二障碍物区域后得到的至少一个备选障碍物区域;生成并展示与待泊车区域匹配的第一电子地图;响应于对第一电子地图中目标备选障碍物区域的选择,在待泊车区域内确定第三障碍物区域;根据第二障碍物区域和第三障碍物区域,生成第二泊车轨迹路线;生成并展示与待泊车区域匹配的第二电子地图,在第二电子地图中显示第二障碍物区域、第三障碍物区域以及第二泊车轨迹路线;根据车辆的实时定位结果,对第二电子地图进行存储,解决了车辆泊车的问题,实现了提高障碍物检测的准确性的同时降低计算芯片的计算能力需求,节省成本,避免雷达探测错误或者漏探测的情况,保证安全泊车,提高泊车速度的效果。In the technical solution of this embodiment, an external image of the area to be parked of the vehicle is acquired through a camera device, and an area with continuous pixel values in the external image is extracted as a continuous area; at least one first obstacle in the area to be parked is detected by a radar device In all the continuous areas, the continuous area corresponding to the first obstacle area is determined as the second obstacle area; according to all the second obstacle areas, the first parking trajectory route is generated; in all the continuous areas, Obtain at least one candidate obstacle area obtained after removing the second obstacle area; generate and display a first electronic map matching the area to be parked; in response to the selection of the target candidate obstacle area in the first electronic map, Determine the third obstacle area in the area to be parked; generate the second parking trajectory route according to the second obstacle area and the third obstacle area; generate and display a second electronic map matching the area to be parked, in The second electronic map displays the second obstacle area, the third obstacle area and the second parking track route; according to the real-time positioning results of the vehicle, the second electronic map is stored, which solves the problem of vehicle parking and realizes Improve the accuracy of obstacle detection while reducing the computing power requirements of the computing chip, saving costs, avoiding radar detection errors or missing detection, ensuring safe parking, and improving parking speed.
实施例三Example three
图3是本申请实施例三提供的一种车辆泊车方法的流程图。本实施例是对上述技术方案的细化,本实施例中的技术方案可以与上述至少一个实施例中的各个可选方案结合。如图3所示,该方法包括步骤310至470。Fig. 3 is a flowchart of a method for parking a vehicle provided in the third embodiment of the present application. This embodiment is a refinement of the above technical solution, and the technical solution in this embodiment can be combined with each optional solution in at least one of the above embodiments. As shown in FIG. 3, the method includes steps 310 to 470.
步骤310、获取车辆的实时定位结果,并根据实时定位结果判断是否存储 有与当前的待泊车区域匹配的目标电子地图;响应于存储有与当前的待泊车区域匹配的目标电子地图的判断结果,执行步骤320;响应于没有存储与当前的待泊车区域匹配的目标电子地图的判断结果,执行步骤340。Step 310: Obtain the real-time positioning result of the vehicle, and determine whether the target electronic map matching the current parking area is stored according to the real-time positioning result; respond to the judgment that the target electronic map matching the current parking area is stored As a result, step 320 is executed; in response to the judgment result that the target electronic map matching the current parking area is not stored, step 340 is executed.
其中,目标电子地图可以是与车辆的定位结果对应电子地图,例如,可以是预先存储的第一电子地图,或者第二电子地图。目标电子地图中可以包括障碍物区域以及泊车轨迹路线。泊车轨迹路线可以是至少一条。可选的,泊车轨迹路线可以是上一次车辆在当前定位位置时采用的泊车轨迹路线,可以提高泊车速度。可选的,目标电子地图中可以提供显示全部泊车轨迹路线的按键或者触摸键,可以使驾驶员了解所有的可选泊车方式。Wherein, the target electronic map may be an electronic map corresponding to the positioning result of the vehicle, for example, it may be a pre-stored first electronic map or a second electronic map. The target electronic map can include obstacle areas and parking trajectory routes. There may be at least one parking track route. Optionally, the parking trajectory route may be the parking trajectory route adopted last time when the vehicle was at the current positioning position, which can increase the parking speed. Optionally, the target electronic map may provide buttons or touch buttons for displaying all the parking trajectory routes, so that the driver can understand all the optional parking methods.
步骤320、对目标电子地图进行展示,目标电子地图中包括目标泊车轨迹路线。Step 320: Display the target electronic map, and the target electronic map includes the target parking track route.
其中,目标泊车轨迹路线可以是驾驶员根据多条泊车轨迹路线选择的其中一条,或者是上一次车辆在当前定位位置时采用的泊车轨迹路线。可以通过车辆中的人机交互界面进行目标电子地图的展示。The target parking trajectory route may be one selected by the driver according to multiple parking trajectory routes, or the parking trajectory route adopted last time when the vehicle was at the current positioning position. The target electronic map can be displayed through the human-computer interaction interface in the vehicle.
步骤330、根据展示的目标电子地图,获取第三确定泊车指令,并根据第三确定泊车指令以及目标泊车轨迹路线进行泊车,结束。Step 330: Obtain a third determined parking instruction according to the displayed target electronic map, and perform parking according to the third determined parking instruction and the target parking trajectory route, and the end.
其中,第三确定泊车指令可以是驾驶员确定采用目标泊车轨迹路线中的一条进行泊车的指令。例如,展示目标电子地图时,可以提供目标电子地图中的至少一条泊车轨迹路线的选择按键或选择触摸键。当获取到驾驶员选择其中一条泊车轨迹路线时,可以确定为第三确定泊车指令,并根据第三确定泊车指令对应的泊车轨迹路线进行泊车。Wherein, the third parking determination instruction may be an instruction for the driver to determine to use one of the target parking trajectory routes for parking. For example, when displaying the target electronic map, a selection button or a selection touch key for at least one parking track route in the target electronic map may be provided. When it is acquired that the driver selects one of the parking trajectory routes, it can be determined as the third definite parking instruction, and parking is performed according to the parking trajectory route corresponding to the third definite parking instruction.
步骤340、通过摄像装置获取车辆的待泊车区域的外部图像,并提取外部图像中的至少一个连续区域。Step 340: Acquire an external image of the area to be parked of the vehicle through the camera device, and extract at least one continuous area in the external image.
步骤350、通过雷达装置探测得到待泊车区域的至少一个第一障碍物区域,并将所有连续区域与所有第一障碍物区域进行融合,确定至少一个第二障碍物区域。Step 350: Obtain at least one first obstacle area in the area to be parked by a radar device, and merge all continuous areas with all first obstacle areas to determine at least one second obstacle area.
步骤360、根据所有第二障碍物区域,生成第一泊车轨迹路线。Step 360: Generate a first parking trajectory route according to all the second obstacle areas.
步骤370、在所有连续区域中,获取去除第二障碍物区域后得到的至少一个备选障碍物区域。Step 370: Obtain at least one candidate obstacle area obtained after removing the second obstacle area from all the continuous areas.
步骤380、生成并展示与待泊车区域匹配的第一电子地图,其中,第一电子地图中显示第二障碍物区域、第一泊车轨迹路线以及备选障碍物区域。Step 380: Generate and display a first electronic map matching the area to be parked, where the first electronic map displays the second obstacle area, the first parking track route, and the candidate obstacle area.
步骤390、针对第一电子地图获取第一确定泊车指令或者目标备选障碍物区域的选择指令;若获取到第一确定泊车指令,执行步骤410;若获取到目标备选障碍物区域的选择指令,执行步骤430。Step 390: Obtain a first definite parking instruction or a selection instruction of the target candidate obstacle area for the first electronic map; if the first definite parking instruction is acquired, go to step 410; if the target candidate obstacle area is acquired Select the instruction and go to step 430.
步骤410、根据第一确定泊车指令以及第一泊车轨迹路线进行泊车。Step 410: Carry out parking according to the first determined parking instruction and the first parking trajectory route.
步骤420、根据车辆的实时定位结果,对第一电子地图进行存储,结束。Step 420: Store the first electronic map according to the real-time positioning result of the vehicle, and end.
步骤430、响应于对第一电子地图中目标备选障碍物区域的选择,在待泊车区域内确定第三障碍物区域。Step 430: In response to the selection of the target candidate obstacle area in the first electronic map, a third obstacle area is determined in the parking area.
步骤440、根据第二障碍物区域和第三障碍物区域,生成第二泊车轨迹路线。Step 440: Generate a second parking trajectory route according to the second obstacle area and the third obstacle area.
步骤450、生成并展示与待泊车区域匹配的第二电子地图,在第二电子地图中显示第二障碍物区域、第三障碍物区域以及第二泊车轨迹路线。Step 450: Generate and display a second electronic map matching the area to be parked, and display the second obstacle area, the third obstacle area, and the second parking track route on the second electronic map.
步骤460、根据展示的第二电子地图,获取第二确定泊车指令,并根据第二确定泊车指令以及第二泊车轨迹路线进行泊车。Step 460: Obtain a second determined parking instruction according to the displayed second electronic map, and perform parking according to the second determined parking instruction and the second parking trajectory route.
步骤470、根据车辆的实时定位结果,对第二电子地图进行存储。Step 470: Store the second electronic map according to the real-time positioning result of the vehicle.
本实施例的技术方案,通过在泊车之前先获取车辆的实时定位结果,并根 据实时定位结果判断是否存储有与当前的待泊车区域匹配的目标电子地图;响应于存储有与当前的待泊车区域匹配的目标电子地图的判断结果,对目标电子地图进行展示,目标电子地图中包括目标泊车轨迹路线;根据展示的目标电子地图,获取第三确定泊车指令,并根据第三确定泊车指令以及目标泊车轨迹路线进行泊车,解决了车辆泊车的问题,实现了在相同或相似的定位结果时,可以减少泊车轨迹路线的生成过程,提高泊车速度的效果。The technical solution of this embodiment first obtains the real-time positioning result of the vehicle before parking, and judges whether the target electronic map matching the current parking area is stored according to the real-time positioning result; According to the judgment result of the target electronic map matching the parking area, the target electronic map is displayed, and the target electronic map includes the target parking track route; according to the displayed target electronic map, the third confirmation parking instruction is obtained, and according to the third confirmation The parking instruction and the target parking trajectory route are used for parking, which solves the problem of vehicle parking, and realizes the effect of reducing the generation process of the parking trajectory route and increasing the parking speed when the same or similar positioning results are achieved.
实施例四Embodiment four
图4是本申请实施例四提供的一种车辆泊车系统的结构示意图,如图4所示,该系统包括:摄像装置510、图像处理装置520、雷达探测装置530、显示及操作装置540、地图生成装置550、泊车控制装置560、以及车辆底盘装置570。FIG. 4 is a schematic structural diagram of a vehicle parking system provided by Embodiment 4 of the present application. As shown in FIG. 4, the system includes: a camera device 510, an image processing device 520, a radar detection device 530, a display and operation device 540, The map generation device 550, the parking control device 560, and the vehicle chassis device 570.
其中,摄像装置510与图像处理装置520相连;图像处理装置520和雷达探测装置530均与地图生成装置550相连;图像处理装置520和雷达探测装置530均与显示及操作装置540相连;显示及操作装置540与地图生成装置550相连;地图生成装置550与泊车控制装置560相连;泊车控制装置560与车辆底盘装置570相连。Among them, the camera device 510 is connected to the image processing device 520; the image processing device 520 and the radar detection device 530 are both connected to the map generating device 550; the image processing device 520 and the radar detection device 530 are both connected to the display and operation device 540; display and operation The device 540 is connected to the map generating device 550; the map generating device 550 is connected to the parking control device 560; the parking control device 560 is connected to the vehicle chassis device 570.
摄像装置510由若干摄像头构成,布置在车辆周围,设置为实时拍摄车辆周围的图像。图像处理装置520,设置为对图像进行畸变处理、拼接,并提取拼接后的图像中的连续区域。图像处理装置520,还设置为将包含连续区域的图像发送至显示及操作装置540和地图生成装置550。雷达探测装置530,由若干测距的雷达组成,设置为测量车辆周围障碍物与车辆的距离,并将雷达测距信息发送至显示及操作装置540和地图生成装置550。地图生成装置550, 设置为根据包含连续区域的图像以及雷达测距信息,进行融合判断,生成初版电子地图,并发送至显示及操作装置540。其中,初版电子地图中包括障碍物以及泊车轨迹路线。泊车轨迹路线是根据障碍物区域规划的。显示及操作装置540,设置为对连续区域的图像、雷达测距信息以及初版电子地图进行显示,获取驾驶员的操作指令,并将操作指令发送至地图生成装置550。The camera device 510 is composed of a number of cameras, arranged around the vehicle, and configured to capture images around the vehicle in real time. The image processing device 520 is configured to perform distortion processing and splicing on the image, and extract continuous regions in the spliced image. The image processing device 520 is further configured to send an image including a continuous area to the display and operation device 540 and the map generation device 550. The radar detection device 530 is composed of several ranging radars, and is configured to measure the distance between obstacles around the vehicle and the vehicle, and send the radar ranging information to the display and operation device 540 and the map generation device 550. The map generating device 550 is configured to perform fusion judgment based on the image including the continuous area and the radar ranging information, generate the first version of the electronic map, and send it to the display and operation device 540. Among them, the first version of the electronic map includes obstacles and parking track routes. The parking trajectory route is planned according to the obstacle area. The display and operation device 540 is configured to display the image of the continuous area, the radar ranging information and the first version of the electronic map, obtain the operation instructions of the driver, and send the operation instructions to the map generating device 550.
地图生成装置550,还设置为根据驾驶员的操作指令,生成终版电子地图,并将终版电子地图发送至泊车控制装置560。例如,根据驾驶员在初版电子地图中标记不可通行区域(障碍物区域)以及初版电子地图中的障碍物,生成终版电子地图。其中,终版电子地图中包括障碍物区域、不可通行区域以及泊车轨迹路线。泊车轨迹路线是根据障碍物区域以及不可通行区域规划的。地图生成装置550,还设置为存储终版电子地图。泊车控制装置560,设置为根据终版电子地图,控制车辆底盘装置570进行泊车。The map generating device 550 is further configured to generate a final electronic map according to the driver's operation instruction, and send the final electronic map to the parking control device 560. For example, based on the driver's marking of impassable areas (obstacle areas) in the first version of the electronic map and obstacles in the first version of the electronic map, the final version of the electronic map is generated. Among them, the final electronic map includes obstacle areas, impassable areas, and parking track routes. The parking track route is planned according to the obstacle area and the impassable area. The map generating device 550 is also configured to store the final electronic map. The parking control device 560 is configured to control the vehicle chassis device 570 to park according to the final electronic map.
本实施例的技术方案,通过摄像装置、图像处理装置、雷达探测装置、显示及操作装置、地图生成装置、泊车控制装置、以及车辆底盘装置,可以根据图像中的连续区域以及雷达测距信息生成初版电子地图,避免雷达探测受限的情况;可以根据初版电子地图以及驾驶员标记的不可通行区域,生成终版电子地图,避免雷达探测漏检的情况;根据终版电子地图实现车辆泊车,可以提高障碍物检测的准确性的同时降低计算芯片的计算能力需求,节省成本,保证安全泊车。The technical solution of this embodiment, through the camera device, the image processing device, the radar detection device, the display and operation device, the map generation device, the parking control device, and the vehicle chassis device, can be based on the continuous area in the image and the radar ranging information Generate the first version of the electronic map to avoid limited radar detection; generate the final version of the electronic map according to the first version of the electronic map and the impassable areas marked by the driver to avoid the situation of radar detection missed; realize the parking of the vehicle according to the final version of the electronic map , Which can improve the accuracy of obstacle detection while reducing the computing power requirements of the computing chip, saving costs, and ensuring safe parking.
实施例五Embodiment five
图5是本申请实施例五提供的一种车辆泊车装置的结构示意图。结合图5,该装置包括:连续区域提取模块610,障碍物区域确定模块620和第一泊车轨 迹路线生成模块630。FIG. 5 is a schematic structural diagram of a vehicle parking device provided in Embodiment 5 of the present application. With reference to Fig. 5, the device includes: a continuous area extraction module 610, an obstacle area determination module 620, and a first parking trajectory route generation module 630.
连续区域提取模块610,设置为通过摄像装置获取车辆的待泊车区域的外部图像,并提取外部图像中的至少一个连续区域;The continuous region extraction module 610 is configured to acquire an external image of the area to be parked of the vehicle through the camera device, and extract at least one continuous region in the external image;
障碍物区域确定模块620,设置为通过雷达装置探测得到待泊车区域的至少一个第一障碍物区域,并将所有连续区域与所有第一障碍物区域进行融合,确定至少一个第二障碍物区域;The obstacle area determination module 620 is configured to detect at least one first obstacle area in the area to be parked by a radar device, and merge all continuous areas with all the first obstacle areas to determine at least one second obstacle area ;
第一泊车轨迹路线生成模块630,设置为根据所有第二障碍物区域,生成第一泊车轨迹路线。The first parking trajectory route generating module 630 is configured to generate the first parking trajectory route according to all the second obstacle areas.
可选的,连续区域提取模块610,包括:Optionally, the continuous region extraction module 610 includes:
连续区域提取单元,设置为提取外部图像中像素值连续的区域作为连续区域。The continuous area extracting unit is configured to extract the area with continuous pixel values in the external image as the continuous area.
可选的,障碍物区域确定模块620,包括:Optionally, the obstacle area determination module 620 includes:
障碍物区域确定单元,设置为将所有连续区域中与第一障碍物区域分别对应的连续区域确定为第二障碍物区域。The obstacle area determining unit is configured to determine the continuous areas respectively corresponding to the first obstacle area in all the continuous areas as the second obstacle area.
可选的,该装置,还包括:Optionally, the device further includes:
备选障碍物区域获取模块,设置为在根据所有第二障碍物区域,生成第一泊车轨迹路线之后,在所有连续区域中,获取去除第二障碍物区域后得到的至少一个备选障碍物区域;The candidate obstacle area acquisition module is set to obtain at least one candidate obstacle obtained after removing the second obstacle area in all continuous areas after generating the first parking trajectory route based on all the second obstacle areas area;
第一电子地图生成模块,设置为生成并展示与待泊车区域匹配的第一电子地图,其中,第一电子地图中显示第二障碍物区域、第一泊车轨迹路线以及备选障碍物区域;The first electronic map generation module is configured to generate and display a first electronic map matching the area to be parked, wherein the first electronic map displays the second obstacle area, the first parking track route, and the candidate obstacle area ;
第三障碍物区域确定模块,设置为响应于对第一电子地图中目标备选障碍物区域的选择,在待泊车区域内确定第三障碍物区域;The third obstacle area determination module is configured to determine the third obstacle area in the parking area in response to the selection of the target candidate obstacle area in the first electronic map;
第二泊车轨迹路线生成模块,设置为根据第二障碍物区域和第三障碍物区域,生成第二泊车轨迹路线。The second parking trajectory route generation module is configured to generate a second parking trajectory route according to the second obstacle area and the third obstacle area.
可选的,该装置,还包括:Optionally, the device further includes:
第二电子地图生成模块,设置为在根据第二障碍物区域和第三障碍物区域,生成第二泊车轨迹路线之后,生成并展示与待泊车区域匹配的第二电子地图,在第二电子地图中显示第二障碍物区域、第三障碍物区域以及第二泊车轨迹路线;The second electronic map generation module is configured to generate and display a second electronic map matching the area to be parked after generating a second parking trajectory route according to the second obstacle area and the third obstacle area. The second obstacle area, the third obstacle area and the second parking track route are displayed on the electronic map;
第二电子地图存储模块,设置为根据车辆的实时定位结果,对第二电子地图进行存储。The second electronic map storage module is configured to store the second electronic map according to the real-time positioning result of the vehicle.
可选的,该装置,还包括:Optionally, the device further includes:
泊车模块,设置为在生成并展示与待泊车区域匹配的第一电子地图之后,根据展示的第一电子地图,获取第一确定泊车指令,并根据第一确定泊车指令以及第一泊车轨迹路线进行泊车;或者,The parking module is configured to, after generating and displaying a first electronic map matching the area to be parked, obtain a first parking instruction according to the displayed first electronic map, and obtain a first parking instruction according to the first parking instruction and the first parking instruction. Parking on the parking track route; or,
泊车模块,设置为在生成并展示与待泊车区域匹配的第二电子地图之后,根据展示的第二电子地图,获取第二确定泊车指令,并根据第二确定泊车指令以及第二泊车轨迹路线进行泊车。The parking module is configured to, after generating and displaying a second electronic map matching the area to be parked, obtain a second parking instruction according to the displayed second electronic map, and obtain a second parking instruction according to the second parking instruction and the second parking instruction. The parking track route is used for parking.
可选的,该装置,还包括:Optionally, the device further includes:
目标电子地图获取模块,设置为在通过摄像装置获取车辆的待泊车区域的外部图像之前,获取车辆的实时定位结果,并根据实时定位结果判断是否存储与当前的待泊车区域匹配的目标电子地图;The target electronic map acquisition module is configured to acquire the real-time positioning result of the vehicle before acquiring the external image of the parking area of the vehicle through the camera device, and determine whether to store the target electronic matching the current parking area according to the real-time positioning result map;
目标电子地图展示模块,设置为响应于存储有与当前的待泊车区域匹配的目标电子地图的判断结果,对目标电子地图进行展示,目标电子地图中包括目标泊车轨迹路线;The target electronic map display module is configured to display the target electronic map in response to the stored judgment result of the target electronic map matching the current parking area, and the target electronic map includes the target parking track route;
泊车模块,还设置为根据展示的目标电子地图,获取第三确定泊车指令,并根据第三确定泊车指令以及目标泊车轨迹路线进行泊车。The parking module is further configured to obtain a third determined parking instruction according to the displayed target electronic map, and perform parking according to the third determined parking instruction and the target parking trajectory route.
本申请实施例所提供的车辆泊车装置可执行本申请任意实施例所提供的车辆泊车方法,具备执行方法相应的功能模块。The vehicle parking device provided by the embodiment of the present application can execute the vehicle parking method provided by any embodiment of the present application, and is equipped with functional modules corresponding to the execution method.
实施例六Example Six
图6是本申请实施例六提供的一种车载设备的结构示意图,如图6所示,该设备包括:FIG. 6 is a schematic structural diagram of a vehicle-mounted device provided in Embodiment 6 of the present application. As shown in FIG. 6, the device includes:
至少一个处理器710,图6中以一个处理器710为例;At least one processor 710, and one processor 710 is taken as an example in FIG. 6;
存储器720; Memory 720;
所述设备还可以包括:输入装置730和输出装置740。The device may further include: an input device 730 and an output device 740.
所述设备中的处理器710、存储器720、输入装置730和输出装置740可以通过总线或者其他方式连接,图6中以通过总线连接为例。The processor 710, the memory 720, the input device 730, and the output device 740 in the device may be connected by a bus or other methods. In FIG. 6, the connection by a bus is taken as an example.
存储器720作为一种非暂态计算机可读存储介质,可设置为存储软件程序、计算机可执行程序以及模块,如本申请实施例中的一种车辆泊车方法对应的程序指令/模块(例如,附图5所示的连续区域提取模块610,障碍物区域确定模块620和第一泊车轨迹路线生成模块630)。处理器710通过运行存储在存储器720中的软件程序、指令以及模块,从而执行计算机设备的各种功能应用以及数据处理,即实现上述方法实施例的一种车辆泊车方法,即:The memory 720, as a non-transitory computer-readable storage medium, can be configured to store software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to a vehicle parking method in the embodiment of the present application (for example, The continuous area extraction module 610 shown in FIG. 5, the obstacle area determination module 620 and the first parking trajectory route generation module 630). The processor 710 executes various functional applications and data processing of the computer equipment by running the software programs, instructions, and modules stored in the memory 720, that is, to implement a vehicle parking method in the foregoing method embodiment, namely:
通过摄像装置获取车辆的待泊车区域的外部图像,并提取所述外部图像中的至少一个连续区域;Acquiring an external image of the parking area of the vehicle through a camera device, and extracting at least one continuous area in the external image;
通过雷达装置探测得到待泊车区域的至少一个第一障碍物区域,并将所有所述连续区域与所有所述第一障碍物区域进行融合,确定至少一个第二障碍物 区域;At least one first obstacle area in the area to be parked is detected by a radar device, and all the continuous areas are merged with all the first obstacle areas to determine at least one second obstacle area;
根据所有所述第二障碍物区域,生成第一泊车轨迹路线。According to all the second obstacle areas, a first parking trajectory route is generated.
存储器720可以包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需要的应用程序;存储数据区可存储根据计算机设备的使用所创建的数据等。此外,存储器720可以包括高速随机存取存储器,还可以包括非暂态性存储器,例如至少一个磁盘存储器件、闪存器件、或其他非暂态性固态存储器件。在一些实施例中,存储器720可选包括相对于处理器710远程设置的存储器,这些远程存储器可以通过网络连接至终端设备。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。The memory 720 may include a program storage area and a data storage area. The program storage area may store an operating system and an application program required by at least one function; the data storage area may store data created according to the use of a computer device, and the like. In addition, the memory 720 may include a high-speed random access memory, and may also include a non-transitory memory, such as at least one magnetic disk storage device, a flash memory device, or other non-transitory solid-state storage devices. In some embodiments, the memory 720 may optionally include memories remotely provided with respect to the processor 710, and these remote memories may be connected to the terminal device through a network. Examples of the aforementioned networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.
输入装置730可设置为接收输入的数字或字符信息,以及产生与计算机设备的用户设置以及功能控制有关的键信号输入。输出装置740可包括显示屏等显示设备。The input device 730 may be configured to receive input numeric or character information, and generate key signal input related to user settings and function control of the computer equipment. The output device 740 may include a display device such as a display screen.
实施例七Example Seven
本申请实施例七提供了一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,该程序被处理器执行时实现如本申请实施例提供的一种车辆泊车方法:The seventh embodiment of the present application provides a computer-readable storage medium having a computer program stored on the computer-readable storage medium, and when the program is executed by a processor, a method for parking a vehicle as provided in the embodiment of the present application is implemented:
通过摄像装置获取车辆的待泊车区域的外部图像,并提取所述外部图像中的至少一个连续区域;Acquiring an external image of the parking area of the vehicle through a camera device, and extracting at least one continuous area in the external image;
通过雷达装置探测得到待泊车区域的至少一个第一障碍物区域,并将所有所述连续区域与所有所述第一障碍物区域进行融合,确定至少一个第二障碍物区域;At least one first obstacle area in the area to be parked is detected by a radar device, and all the continuous areas are merged with all the first obstacle areas to determine at least one second obstacle area;
根据所有所述第二障碍物区域,生成第一泊车轨迹路线。According to all the second obstacle areas, a first parking trajectory route is generated.
可以采用至少一个计算机可读的介质的任意组合。计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子(非穷举的列表)包括:具有至少一个导线的电连接、便携式计算机磁盘、硬盘、随机存取存储器(Random Access Memory,RAM)、只读存储器(Read Only Memory,ROM)、可擦式可编程只读存储器((Erasable Programmable Read Only Memory,EPROM)或闪存)、光纤、便携式紧凑磁盘只读存储器(Compact Disc-Read Only Memory,CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本文件中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。Any combination of at least one computer-readable medium can be used. The computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or a combination of any of the above. More specific examples of computer-readable storage media (non-exhaustive list) include: electrical connections with at least one wire, portable computer disks, hard disks, random access memory (RAM), read-only memory (Read Only Memory, ROM), Erasable Programmable Read Only Memory (EPROM or flash memory), optical fiber, Compact Disc-Read Only Memory (CD-ROM), optical Storage device, magnetic storage device, or any suitable combination of the above. In this document, the computer-readable storage medium can be any tangible medium that contains or stores a program, and the program can be used by or in combination with an instruction execution system, apparatus, or device.
计算机可读的信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括——但不限于——电磁信号、光信号或上述的任意合适的组合。计算机可读的信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。The computer-readable signal medium may include a data signal propagated in baseband or as a part of a carrier wave, and computer-readable program code is carried therein. This propagated data signal can take many forms, including, but not limited to, electromagnetic signals, optical signals, or any suitable combination of the foregoing. The computer-readable signal medium may also be any computer-readable medium other than the computer-readable storage medium. The computer-readable medium may send, propagate or transmit the program for use by or in combination with the instruction execution system, apparatus, or device .
计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括——但不限于——无线、电线、光缆、射频(Radio Frequency,RF)等等,或者上述的任意合适的组合。The program code contained on the computer-readable medium can be transmitted by any suitable medium, including, but not limited to, wireless, wire, optical cable, radio frequency (RF), etc., or any suitable combination of the foregoing.
可以以至少一种程序设计语言或其组合来编写用于执行本申请操作的计算机程序代码,所述程序设计语言包括面向对象的程序设计语言—诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言—诸如”C”语言或类似的 程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括局域网(Local Area Network,LAN)或广域网(Wide Area Network,WAN)—连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。The computer program code used to perform the operations of this application can be written in at least one programming language or a combination thereof. The programming language includes object-oriented programming languages-such as Java, Smalltalk, C++, and also includes conventional procedural programming languages. Programming language-such as "C" language or similar programming language. The program code can be executed entirely on the user's computer, partly on the user's computer, executed as an independent software package, partly on the user's computer and partly executed on a remote computer, or entirely executed on the remote computer or server. In the case of a remote computer, the remote computer can be connected to the user's computer through any kind of network-including Local Area Network (LAN) or Wide Area Network (WAN)-or it can be connected to an external computer ( For example, use an Internet service provider to connect via the Internet).

Claims (10)

  1. 一种车辆泊车方法,包括:A method for parking a vehicle, including:
    通过摄像装置获取车辆的待泊车区域的外部图像,并提取所述外部图像中的至少一个连续区域;Acquiring an external image of the parking area of the vehicle through a camera device, and extracting at least one continuous area in the external image;
    通过雷达装置探测得到待泊车区域的至少一个第一障碍物区域,并将所有所述连续区域与所有所述第一障碍物区域进行融合,确定至少一个第二障碍物区域;At least one first obstacle area in the area to be parked is detected by a radar device, and all the continuous areas are merged with all the first obstacle areas to determine at least one second obstacle area;
    根据所有所述第二障碍物区域,生成第一泊车轨迹路线。According to all the second obstacle areas, a first parking trajectory route is generated.
  2. 根据权利要求1所述的方法,其中,提取所述外部图像中的至少一个连续区域,包括:The method according to claim 1, wherein extracting at least one continuous region in the external image comprises:
    提取所述外部图像中像素值连续的区域作为所述连续区域。Extracting an area with continuous pixel values in the external image as the continuous area.
  3. 根据权利要求1所述的方法,其中,将所有所述连续区域与所有所述第一障碍物区域进行融合,确定至少一个第二障碍物区域,包括:The method according to claim 1, wherein fusing all the continuous areas with all the first obstacle areas to determine at least one second obstacle area comprises:
    将所有所述连续区域中与所述第一障碍物区域分别对应的连续区域确定为所述第二障碍物区域。The continuous areas corresponding to the first obstacle area in all the continuous areas are determined as the second obstacle area.
  4. 根据权利要求1所述的方法,在所述根据所有所述第二障碍物区域,生成第一泊车轨迹路线之后,还包括:The method according to claim 1, after generating a first parking trajectory route based on all the second obstacle areas, further comprising:
    在所有所述连续区域中,获取去除所述第二障碍物区域后得到的至少一个备选障碍物区域;Obtaining at least one candidate obstacle area obtained after removing the second obstacle area in all the continuous areas;
    生成并展示与所述待泊车区域匹配的第一电子地图,其中,所述第一电子地图中显示所述第二障碍物区域、所述第一泊车轨迹路线以及所述备选障碍物区域;Generate and display a first electronic map matching the parking area, wherein the second obstacle area, the first parking track route, and the candidate obstacle are displayed in the first electronic map area;
    响应于对所述第一电子地图中目标备选障碍物区域的选择,在所述待泊车区域内确定第三障碍物区域;In response to the selection of the target candidate obstacle area in the first electronic map, determining a third obstacle area in the parking area;
    根据所述第二障碍物区域和所述第三障碍物区域,生成第二泊车轨迹路线。According to the second obstacle area and the third obstacle area, a second parking trajectory route is generated.
  5. 根据权利要求4所述的方法,在根据所述第二障碍物区域和所述第三障碍物区域,生成第二泊车轨迹路线之后,还包括:The method according to claim 4, after generating a second parking trajectory route according to the second obstacle area and the third obstacle area, further comprising:
    生成并展示与所述待泊车区域匹配的第二电子地图,在所述第二电子地图中显示所述第二障碍物区域、所述第三障碍物区域以及所述第二泊车轨迹路线;Generate and display a second electronic map matching the parking area, and display the second obstacle area, the third obstacle area, and the second parking track route on the second electronic map ;
    根据所述车辆的实时定位结果,对所述第二电子地图进行存储。According to the real-time positioning result of the vehicle, the second electronic map is stored.
  6. 根据权利要求5所述的方法,According to the method of claim 5,
    在生成并展示与所述待泊车区域匹配的第一电子地图之后,还包括:After generating and displaying the first electronic map matching the parking area, the method further includes:
    根据展示的所述第一电子地图,获取第一确定泊车指令,并根据所述第一确定泊车指令以及所述第一泊车轨迹路线进行泊车;或者,Acquire a first definite parking instruction according to the displayed first electronic map, and perform parking according to the first definite parking instruction and the first parking trajectory route; or,
    在生成并展示与所述待泊车区域匹配的第二电子地图之后,还包括:After generating and displaying the second electronic map matching the parking area, the method further includes:
    根据展示的所述第二电子地图,获取第二确定泊车指令,并根据所述第二确定泊车指令以及所述第二泊车轨迹路线进行泊车。Acquire a second definite parking instruction according to the displayed second electronic map, and perform parking according to the second definite parking instruction and the second parking trajectory route.
  7. 根据权利要求1所述的方法,在通过摄像装置获取车辆的待泊车区域的外部图像之前,还包括:The method according to claim 1, before acquiring the external image of the parking area of the vehicle through the camera device, further comprising:
    获取所述车辆的实时定位结果,并根据所述实时定位结果判断是否存储有与当前的待泊车区域匹配的目标电子地图;Acquiring a real-time positioning result of the vehicle, and judging whether a target electronic map matching the current parking area is stored according to the real-time positioning result;
    响应于存储有与当前的待泊车区域匹配的目标电子地图的判断结果,对所述目标电子地图进行展示,所述目标电子地图中包括目标泊车轨迹路线;In response to storing the judgment result of the target electronic map matching the current parking area, displaying the target electronic map, the target electronic map including the target parking track route;
    根据展示的所述目标电子地图,获取第三确定泊车指令,并根据所述第三确定泊车指令以及所述目标泊车轨迹路线进行泊车。Obtain a third determined parking instruction according to the displayed target electronic map, and perform parking according to the third determined parking instruction and the target parking trajectory route.
  8. 一种车辆泊车装置,包括:A vehicle parking device, including:
    连续区域提取模块,设置为通过摄像装置获取车辆的待泊车区域的外部图像,并提取所述外部图像中的至少一个连续区域;A continuous region extraction module, configured to acquire an external image of a parking area of the vehicle through a camera device, and extract at least one continuous region in the external image;
    障碍物区域确定模块,设置为通过雷达装置探测得到待泊车区域的至少一个第一障碍物区域,并将所有所述连续区域与所有所述第一障碍物区域进行融合,确定至少一个第二障碍物区域;The obstacle area determination module is configured to detect at least one first obstacle area in the area to be parked by a radar device, and merge all the continuous areas with all the first obstacle areas to determine at least one second obstacle area Obstacle area
    第一泊车轨迹路线生成模块,设置为根据所有所述第二障碍物区域,生成第一泊车轨迹路线。The first parking trajectory route generating module is configured to generate a first parking trajectory route according to all the second obstacle areas.
  9. 一种车载设备,包括:An in-vehicle device, including:
    至少一个处理器;At least one processor;
    存储装置,设置为存储至少一个程序,The storage device is set to store at least one program,
    当所述至少一个程序被所述至少一个处理器执行,使得所述至少一个处理器实现如权利要求1-7任一项所述的一种车辆泊车方法。When the at least one program is executed by the at least one processor, the at least one processor implements the method for parking a vehicle according to any one of claims 1-7.
  10. 一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现如权利要求1-7任一项所述的一种车辆泊车方法。A computer-readable storage medium having a computer program stored on the computer-readable storage medium, and when the computer program is executed by a processor, the method for parking a vehicle according to any one of claims 1-7 is realized.
PCT/CN2021/101598 2020-06-24 2021-06-22 Vehicle parking method and apparatus, and vehicle-mounted device and storage medium WO2021259280A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010591404.8A CN111783595B (en) 2020-06-24 2020-06-24 Vehicle parking method and device, vehicle-mounted equipment and storage medium
CN202010591404.8 2020-06-24

Publications (1)

Publication Number Publication Date
WO2021259280A1 true WO2021259280A1 (en) 2021-12-30

Family

ID=72759842

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/101598 WO2021259280A1 (en) 2020-06-24 2021-06-22 Vehicle parking method and apparatus, and vehicle-mounted device and storage medium

Country Status (2)

Country Link
CN (1) CN111783595B (en)
WO (1) WO2021259280A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023173396A1 (en) * 2022-03-18 2023-09-21 华为技术有限公司 Parking method and apparatus, and vehicle

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111783595B (en) * 2020-06-24 2022-12-13 中国第一汽车股份有限公司 Vehicle parking method and device, vehicle-mounted equipment and storage medium
CN112729320B (en) * 2020-12-22 2022-05-17 中国第一汽车股份有限公司 Method, device and equipment for constructing obstacle map and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140055615A1 (en) * 2012-08-27 2014-02-27 Stephen Chen Parking assistant device
CN105844225A (en) * 2016-03-18 2016-08-10 乐卡汽车智能科技(北京)有限公司 Method and device for processing image based on vehicle
CN109085598A (en) * 2018-08-13 2018-12-25 吉利汽车研究院(宁波)有限公司 Detection system for obstacle for vehicle
CN109466546A (en) * 2018-11-20 2019-03-15 广州小鹏汽车科技有限公司 Automatic parking method and system
CN110348341A (en) * 2019-06-26 2019-10-18 纵目科技(上海)股份有限公司 A kind of memory parking system, method, terminal and storage medium
CN110606071A (en) * 2019-09-06 2019-12-24 中国第一汽车股份有限公司 Parking method, parking device, vehicle and storage medium
CN110696822A (en) * 2019-11-25 2020-01-17 安徽江淮汽车集团股份有限公司 Automatic parking control method, device, equipment and storage medium
CN111783595A (en) * 2020-06-24 2020-10-16 中国第一汽车股份有限公司 Vehicle parking method and device, vehicle-mounted equipment and storage medium

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3907529A1 (en) * 2016-07-01 2021-11-10 Veoneer Sweden AB A vehicle radar for environmental detection
CN106494395B (en) * 2016-09-30 2019-04-16 惠州华阳通用电子有限公司 A kind of automatic parking control method and device based on data fusion
CN109987024B (en) * 2017-12-29 2022-07-15 安波福电子(苏州)有限公司 Parking auxiliary system and method based on audio direction information
CN108749813B (en) * 2018-07-25 2023-09-19 上海为森车载传感技术有限公司 Automatic parking system and parking method
CN111028534B (en) * 2018-10-09 2022-04-26 杭州海康威视数字技术股份有限公司 Parking space detection method and device
CN109733284B (en) * 2019-02-19 2021-10-08 广州小鹏汽车科技有限公司 Safe parking auxiliary early warning method and system applied to vehicle
CN109941274B (en) * 2019-03-01 2022-03-29 武汉光庭科技有限公司 Parking method and system based on radar ranging identification shore bridge, server and medium
CN110103951A (en) * 2019-05-23 2019-08-09 威马智慧出行科技(上海)有限公司 Automatic parking method, electronic equipment and automobile
CN111089594B (en) * 2019-12-30 2021-09-07 浙江大学 Autonomous parking trajectory planning method suitable for multiple scenes

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140055615A1 (en) * 2012-08-27 2014-02-27 Stephen Chen Parking assistant device
CN105844225A (en) * 2016-03-18 2016-08-10 乐卡汽车智能科技(北京)有限公司 Method and device for processing image based on vehicle
CN109085598A (en) * 2018-08-13 2018-12-25 吉利汽车研究院(宁波)有限公司 Detection system for obstacle for vehicle
CN109466546A (en) * 2018-11-20 2019-03-15 广州小鹏汽车科技有限公司 Automatic parking method and system
CN110348341A (en) * 2019-06-26 2019-10-18 纵目科技(上海)股份有限公司 A kind of memory parking system, method, terminal and storage medium
CN110606071A (en) * 2019-09-06 2019-12-24 中国第一汽车股份有限公司 Parking method, parking device, vehicle and storage medium
CN110696822A (en) * 2019-11-25 2020-01-17 安徽江淮汽车集团股份有限公司 Automatic parking control method, device, equipment and storage medium
CN111783595A (en) * 2020-06-24 2020-10-16 中国第一汽车股份有限公司 Vehicle parking method and device, vehicle-mounted equipment and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023173396A1 (en) * 2022-03-18 2023-09-21 华为技术有限公司 Parking method and apparatus, and vehicle

Also Published As

Publication number Publication date
CN111783595B (en) 2022-12-13
CN111783595A (en) 2020-10-16

Similar Documents

Publication Publication Date Title
WO2021259280A1 (en) Vehicle parking method and apparatus, and vehicle-mounted device and storage medium
CN109343061B (en) Sensor calibration method and device, computer equipment, medium and vehicle
CN110146869B (en) Method and device for determining coordinate system conversion parameters, electronic equipment and storage medium
EP3967972A1 (en) Positioning method, apparatus, and device, and computer-readable storage medium
CN107978157B (en) Vehicle management method, device and computer readable storage medium
US10235580B2 (en) Method and system for automatic detection of parking zones
JP4556742B2 (en) Vehicle direct image display control apparatus and vehicle direct image display control program
US20210323544A1 (en) Method and apparatus for vehicle driving assistance
CN110909705B (en) Road side parking space sensing method and system based on vehicle-mounted camera
CN112216136A (en) Parking space detection method and device, vehicle and storage medium
JP2013154730A (en) Apparatus and method for processing image, and parking support system
CN112172793B (en) Parking path planning method and device, vehicle and storage medium
EP3872702B1 (en) Light color identifying method and apparatus of signal light, and roadside device
CN111967396A (en) Processing method, device and equipment for obstacle detection and storage medium
CN111402609A (en) Special lane driving reminding method, device, equipment and storage medium
KR20200043252A (en) Overlooking image generation system of vehicle and method thereof
CN113205088A (en) Obstacle image presentation method, electronic device, and computer-readable medium
CN110738867A (en) parking space detection method, device, equipment and storage medium
JP2024052899A (en) Communication device and communication method
JP2008040736A (en) Vehicle detector and vehicle detecting method
WO2021203868A1 (en) Data processing method and device
JP5134608B2 (en) Vehicle periphery display device, vehicle periphery display method and program
CN116664498A (en) Training method of parking space detection model, parking space detection method, device and equipment
CN109559382A (en) Intelligent guide method, apparatus, terminal and medium
JP2017096635A (en) Destination setting system, method and program

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21829798

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21829798

Country of ref document: EP

Kind code of ref document: A1