Obstacle positioning method and device

The vehicle image data is processed through the manifold learning algorithm, the coordinate system correspondence is established, and the manifold learning matrix is ​​generated for vehicle obstacle positioning, which solves the problems of high cost and complex algorithms in the existing technology and achieves low-cost, accurate obstacle positioning.

CN112016366BActive Publication Date: 2024-09-06BEIJING CHJ AUTOMOTIVE TECH CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN201910468735.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-05-31
Publication Date
2024-09-06
Estimated Expiration
2039-05-31

AI Technical Summary

Technical Problem

Existing vehicle obstacle positioning technology relies on expensive radars, cameras and IMU sensors, resulting in high equipment and calculation costs, as well as complex algorithms and data storage requirements.

Method used

The manifold learning algorithm is used to process the images collected by the vehicle on the test road, establish the correspondence between pixel points in different coordinate systems, and generate a manifold learning mapping matrix, which is used to locate obstacles on the real road and reduce the cost of Sensor device dependencies.

Benefits of technology

It effectively reduces the cost of vehicle positioning obstacles, achieves accurate obstacle positioning through low-cost image data processing, and avoids the high equipment and computing costs in traditional methods.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112016366B
    Figure CN112016366B
Patent Text Reader

Abstract

The embodiment of the present disclosure discloses an obstacle positioning method and device, which relates to the field of data processing technology, and the main purpose is to reduce the cost of locating obstacles when a vehicle is driving. The main technical scheme of the embodiment of the present disclosure includes: collecting a first image of a vehicle driving on a test road; establishing a correspondence between the coordinates of the pixel points of the first image in a first coordinate system and the coordinates of the pixel points of the first image in a second coordinate system, and obtaining coordinate data based on the correspondence; the first coordinate system is a coordinate system set in the first image; the second coordinate system is a coordinate system reflecting the actual driving position; the coordinate data is processed by a preset manifold learning algorithm to obtain a manifold learning mapping matrix; and the obstacles in the second image of the vehicle driving on the real road are located using the manifold learning mapping matrix.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present disclosure relate to the field of data processing technology, and in particular, to an obstacle locating method and device. Background Art

[0002] With the progress of society, vehicles have become a necessary means of transportation for almost every household. At present, in order to improve the safety and reliability of vehicles during driving, obstacles need to be located during driving so that the vehicles can effectively avoid obstacles.

[0003] At present, in order to locate obstacles while the vehicle is driving, a large number of devices such as radar, camera, IMU sensor, etc. need to be deployed on the vehicle. Relying on radar, camera, IMU sensor to obtain a large amount of posture data during the vehicle's driving process, obstacles are located based on these posture data. However, a large number of devices such as radar, camera, IMU sensor, etc. are expensive and complicated to install. When locating obstacles based on posture data, the algorithm and data storage requirements are high. It can be seen that the existing method will consume a lot of equipment cost and computing cost when locating obstacles. Summary of the invention

[0004] In view of this, the embodiments of the present disclosure propose an obstacle positioning method and device, the main purpose of which is to reduce the cost of positioning ground obstacles when a vehicle is driving. The embodiments of the present disclosure mainly provide the following technical solutions:

[0005] In a first aspect, an embodiment of the present disclosure provides an obstacle positioning method, the method comprising:

[0006] Collecting a first image generated by a vehicle traveling on a test road;

[0007] Establishing a correspondence between coordinates of pixel points of the first image in a first coordinate system and coordinates of pixel points of the first image in a second coordinate system, and obtaining coordinate data based on the correspondence; the first coordinate system is a coordinate system set in the first image; and the second coordinate system is a coordinate system reflecting a real driving position;

[0008] Processing the coordinate data by a preset manifold learning algorithm to obtain a manifold learning mapping matrix;

[0009] The manifold learning mapping matrix is ​​used to locate obstacles in a second image of the vehicle traveling on a real road.

[0010] In a second aspect, an embodiment of the present disclosure provides an obstacle locating device, the device comprising:

[0011] A collection unit, used for collecting a first image generated by a vehicle traveling on a test road;

[0012] a labeling unit, used to establish a correspondence between coordinates of pixels of the first image in a first coordinate system and coordinates of pixels of the first image in a second coordinate system, and obtain coordinate data based on the correspondence; the first coordinate system is a coordinate system set in the first image; and the second coordinate system is a coordinate system reflecting a real driving position;

[0013] A processing unit, used to process the coordinate data by a preset manifold learning algorithm to obtain a manifold learning mapping matrix;

[0014] A positioning unit is used to locate obstacles in the second image of the vehicle traveling on a real road by using the manifold learning mapping matrix.

[0015] In a third aspect, an embodiment of the present disclosure provides a storage medium, wherein the storage medium includes a stored program, wherein when the program is executed, the device where the storage medium is located is controlled to execute the obstacle locating method described in the first aspect.

[0016] In a fourth aspect, an embodiment of the present disclosure provides a human-computer interaction device, comprising a storage medium; and one or more processors, wherein the storage medium is coupled to the processor, and the processor is configured to execute program instructions stored in the storage medium; when the program instructions are executed, the obstacle locating method described in the first aspect is executed.

[0017] By means of the above technical solution, the obstacle positioning method and device provided by the embodiment of the present disclosure first collects the first image of the vehicle driving on the test road, determines the coordinates of the pixel points of the first image in the first coordinate system set in the first image and determines the coordinates of the pixel points of the first image in the second coordinate system reflecting the real driving position, and obtains the coordinate data based on the correspondence between the coordinates of the pixel points in the first coordinate system and the coordinates in the second coordinate system. The coordinate data is processed by a preset manifold learning algorithm to obtain a manifold learning mapping matrix. Finally, the manifold learning mapping matrix is ​​used to locate the obstacles in the second image of the vehicle driving on the real road. The embodiment of the present disclosure uses the manifold learning algorithm to process the image data collected at low cost, obtains the manifold learning mapping matrix representing the correspondence between the coordinates in the image and the coordinates in the coordinate system reflecting the real driving position, and uses the manifold learning mapping matrix to locate the obstacles of the vehicle driving on the real road. It can be seen that in the process of locating obstacles, there is no need to use expensive sensor equipment and camera equipment, so the cost of locating obstacles when the vehicle is driving can be greatly reduced.

[0018] The above description is only an overview of the technical solutions of the embodiments of the present disclosure. In order to more clearly understand the technical means of the embodiments of the present disclosure, which can be implemented in accordance with the contents of the specification, and to make the above and other purposes, features and advantages of the embodiments of the present disclosure more obvious and easy to understand, the specific implementation methods of the embodiments of the present disclosure are listed below. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the embodiments of the present disclosure. Also, the same reference symbols are used throughout the accompanying drawings to represent the same components. In the accompanying drawings:

[0020] Figure 1 A flowchart of an obstacle positioning method provided by an embodiment of the present disclosure is shown;

[0021] Figure 2 A flowchart of another obstacle locating method provided by an embodiment of the present disclosure is shown;

[0022] Figure 3 A block diagram showing a composition of an obstacle locating device provided by an embodiment of the present disclosure is shown;

[0023] Figure 4 A block diagram of another obstacle locating device provided in an embodiment of the present disclosure is shown. DETAILED DESCRIPTION

[0024] The exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided to enable a more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0025] In a first aspect, an embodiment of the present disclosure provides an obstacle positioning method, such as Figure 1 As shown, the method mainly includes:

[0026] 101. Collect a first image generated by a vehicle traveling on a test road.

[0027] In practical applications, in order to improve the accuracy of obstacle positioning, the test road is a flat road or a road whose maximum slope is less than a preset slope threshold.

[0028] In actual applications, a camera (such as a camera) is installed in the vehicle, and the camera is facing the front of the vehicle. When the vehicle is driving on the test road, the image captured is the image directly in front of the vehicle. The camera is precisely installed with automotive-grade drilling and is installed above the front windshield of the vehicle. When installed, the offset accuracy of the camera from the center of the rear axle of the wheel is at the millimeter level.

[0029] Specifically, in order to better infer the manifold surface of the test road, during the image acquisition process, the pitch angle between the main axis of the camera device and the ground of the test road (the pitch angle can be determined based on business requirements, for example, 180°) remains unchanged. That is, once the pitch angle between the main axis of the camera device and the ground of the test road changes during the image acquisition process, it is necessary to adjust the pitch angle to the set angle in time to keep the pitch angle unchanged. Since the camera device with a camera having an IMU (Inertial measurement unit) built in can detect posture data such as pitch angle in real time, the camera device selected in the embodiment of the present disclosure is a camera device with an IMU built in, but the type and number of cameras of the camera device are not specifically limited. For example, the camera can include but is not limited to any one of a monocular camera, a binocular camera and an infrared camera.

[0030] Specifically, in order to collect images that are more conducive to the annotation operation, when collecting images, the vehicle needs to travel on a flat test road with lane lines and a flat road surface.

[0031] 102. Establish a correspondence between the coordinates of the pixel points of the first image in the first coordinate system and the coordinates of the pixel points of the first image in the second coordinate system, and obtain coordinate data based on the correspondence; the first coordinate system is a coordinate system set in the first image; and the second coordinate system is a coordinate system reflecting the actual driving position.

[0032] Specifically, when determining the coordinates of the pixel points of the first image in the first coordinate system, it is necessary to set a coordinate origin in the first image, and then annotate the coordinates of the pixel points of the first image based on the coordinate origin. It should be noted that in order to ensure the consistency of data annotation, it is necessary to ensure that the coordinate origin in each frame of the first image collected must be the same. When annotating the coordinates of the pixel points of the first image in the first coordinate system, there are at least two methods: the first is to annotate the coordinates of all the pixel points of the first image in the first coordinate system respectively. The second is to annotate only some of the pixel points of the first image in the first coordinate system, and the some of the pixel points described here are all located on a straight line, and the extension direction of the straight line is consistent with the driving direction of the vehicle.

[0033] Specifically, the second coordinate system is the coordinate system in which the vehicle is located, and is a coordinate system that can reflect the actual driving position. Exemplarily, the preset coordinate system may include but is not limited to the geodetic coordinate system. When marking the coordinates of the pixel points of the first image in the second coordinate system, only the pixel points marked with the coordinates in the first coordinate system are marked.

[0034] Specifically, after marking the coordinates of the pixel points of the first image in the first coordinate system and the coordinates of the pixel points of the first image in the second coordinate system, it is necessary to establish a correspondence between the two coordinates, and the correspondence is the coordinate data. In the correspondence, one pixel corresponds to two coordinates, one is the coordinate of the pixel point in the first coordinate system, and the other is the coordinate corresponding to the pixel point in the second coordinate system. Exemplarily, there is a pixel point 1 in the first image, and the coordinates of the pixel point 1 in the first marking system are (u1, v1), and the coordinates of the pixel point in the second coordinate system are (x1, y1, 1). In the coordinate data, (u1, v1) and (x1, y1, 1) exist correspondingly.

[0035] 103. Process the coordinate data using a preset manifold learning algorithm to obtain a manifold learning mapping matrix.

[0036] Specifically, the coordinate data is loaded through a preset manifold learning algorithm, and the coordinate data is subjected to dimensionality reduction processing to obtain a manifold learning mapping matrix. The manifold learning mapping matrix can represent the correspondence between the coordinates in the first coordinate system and the coordinates in the second coordinate system.

[0037] Specifically, the preset manifold learning algorithm may include but is not limited to any one of a principal component analysis (PCA) algorithm, a nonlinear manifold learning isometric mapping (lsomap) algorithm, a Laplace mapping algorithm, and a local linear embedding algorithm.

[0038] 104. Using the manifold learning mapping matrix, locate obstacles in the second image of the vehicle traveling on the real road.

[0039] Specifically, when locating an obstacle, the second image mentioned above uses the current single-frame second image currently being acquired. When the second image is acquired, a preset detection algorithm is used to detect whether there are obstacles in the second image, such as pedestrians, vehicles, ground animals, etc.; if an obstacle is detected, the obstacle is located using the manifold learning mapping matrix to determine the distance between the obstacle and the vehicle. If it is detected that there is no obstacle, the next frame of the second image is acquired.

[0040] Specifically, the road surface conditions of the real road include the following two types: the first type is that the real road is a flat road; the second type is that the real road is a road with a slope. In order to improve the accuracy of obstacle positioning, the method of positioning the obstacle in the second image based on the above two conditions of the real road includes at least the following two methods:

[0041] First, when the real road is a road with a flat road surface, the obstacle in the current second image is located by using the manifold learning mapping matrix and the coordinates of the obstacle in the current second image.

[0042] Specifically, the process of locating the obstacle using the manifold learning mapping matrix and the coordinates of the obstacle in the second image may include: determining the current second image currently collected and the previous second image collected adjacent to the current second image, wherein the adjacent here refers to the adjacent at the collection time point; the current second image and the previous second image both include the same obstacle. Determine whether the height difference between the positions of the obstacle in the current second image and the previous second image is greater than the preset height difference. If it is determined that the height difference is greater than the preset height difference, it means that the vehicle is traveling on a sloped road, and after collecting the previous second image, the vehicle has traveled uphill or downhill. At this time, in order to locate the obstacle more accurately, the manifold learning mapping matrix, the coordinates of the obstacle in the current second image, and the coordinates of the obstacle in the previous second image are used to locate the obstacle in the current second image. If it is determined that the height difference is not greater than the preset height difference, it means that the vehicle is traveling on a road with a flat road surface, and the manifold learning mapping matrix and the coordinates of the obstacle in the current second image are directly used to locate the obstacle in the current second image.

[0043] Second, when the real road is a road with a slope surface, the obstacle in the current second image is located by using the manifold learning mapping matrix, the coordinates of the obstacle in the current second image, and the coordinates of the obstacle in the previous second image.

[0044] Specifically, the process of locating the obstacle in the current second image using the manifold learning mapping matrix, the coordinates of the obstacle in the current second image, and the coordinates of the obstacle in the previous second image may include: determining the elevation angle of the obstacle according to the coordinates of the obstacle in the current second image, the coordinates of the obstacle in the previous second image, and the preset reference coordinates; and locating the obstacle in the current second image using the manifold learning mapping matrix, the elevation angle, the coordinates of the obstacle in the current second image, and the coordinates of the obstacle in the previous second image.

[0045] The obstacle positioning method provided by the embodiment of the present disclosure first collects a first image of a vehicle driving on a test road, determines the coordinates of the pixel points of the first image in a first coordinate system set in the first image and determines the coordinates of the pixel points of the first image in a second coordinate system reflecting the real driving position, and obtains coordinate data based on the correspondence between the coordinates of the pixel points in the first coordinate system and the coordinates in the second coordinate system. The coordinate data is processed by a preset manifold learning algorithm to obtain a manifold learning mapping matrix. Finally, the manifold learning mapping matrix is ​​used to locate the obstacles in the second image of the vehicle driving on the real road. The embodiment of the present disclosure uses a manifold learning algorithm to process the image data collected at a low cost, obtains a manifold learning mapping matrix that represents the correspondence between the coordinates in the image and the coordinates in the coordinate system reflecting the real driving position, and uses the manifold learning mapping matrix to locate the obstacles when the vehicle is driving on the real road. It can be seen that in the process of locating obstacles, there is no need to use expensive sensor equipment and camera equipment, so the cost of locating obstacles when the vehicle is driving can be greatly reduced.

[0046] In a second aspect, according to the method described in the first aspect, another embodiment of the present disclosure further provides an obstacle positioning method, such as Figure 2 As shown, the method mainly includes:

[0047] 201. Use a camera device with a built-in inertial measurement unit (IMU) to capture a first image of the vehicle traveling on a test road.

[0048] Specifically, in order to maintain the pitch angle between the main axis of the camera device and the ground of the plane test road unchanged during the acquisition process, it is necessary to detect in real time whether the pitch angle between the main axis of the camera device and the ground of the plane test road is maintained at a preset setting angle during the acquisition of the first image. If a change in the pitch angle is detected, the pitch angle is adjusted to the setting angle in time.

[0049] 202. Add a scale ruler to the first image, and mark the coordinates of the pixel points of the first image in the first coordinate system based on the scale ruler in the first image.

[0050] Specifically, when marking the coordinates of the pixel points of the first image in the first coordinate system, it is necessary to set a coordinate origin in the first image, and then mark the coordinates of the pixel points of the first image based on the coordinate origin and the scale ruler. The marked coordinates are the coordinates of the pixel points relative to the coordinate origin.

[0051] Specifically, in order to reduce the difficulty of the manifold algorithm, the pixel points marked in the single-frame first image are all located on a straight line, and the extension direction of the straight line is consistent with the driving direction of the vehicle.

[0052] 203. Based on the second coordinate system, mark the coordinates of the pixel points of the first image in the second coordinate system.

[0053] Specifically, the second coordinate system is the coordinate system where the vehicle is located, and is a coordinate system that can reflect the actual driving position. Exemplarily, the second coordinate system may include but is not limited to the geodetic coordinate system. In order to reduce the amount of annotation, when annotating the coordinates of the pixel points of the first image in the second coordinate system, only the pixel points annotated with the coordinates in the first coordinate system are annotated.

[0054] 204. Establish a correspondence between the coordinates in the first coordinate system and the coordinates in the second coordinate system corresponding to the same pixel point, and obtain the coordinate data based on the correspondence.

[0055] Specifically, in the corresponding relationship, one pixel point corresponds to two coordinates, one is the coordinate of the pixel point in the first coordinate system, and the other is the coordinate of the pixel point in the second coordinate system.

[0056] 205. Process the coordinate data using a preset manifold learning algorithm to obtain a manifold learning mapping matrix.

[0057] Specifically, the detailed explanation of this step is substantially the same as the detailed explanation of the above-mentioned step 103, and thus will not be repeated here.

[0058] 206. Detect obstacles in the second image, and determine an image detection frame corresponding to the obstacle.

[0059] Specifically, the process of detecting obstacles in the second image and determining the image detection frame corresponding to the obstacle may include but is not limited to: dividing a plurality of continuous recognition frames covering the entire image sheet of the second image in the current single-frame second image; recognizing each recognition frame in turn based on a preset detection algorithm, merging the recognition frames involving the same obstacle, and obtaining the image detection frame corresponding to the obstacle.

[0060] Specifically, the detection algorithm described here may include but is not limited to a deep learning target detection algorithm.

[0061] 207. Determine the coordinates of the obstacle in the second image according to the image detection frame.

[0062] Specifically, the process of determining the coordinates of the obstacle in the second image based on the image detection frame may include: determining the coordinates of all pixel points in the image detection frame in the second image; and selecting one coordinate from the determined coordinates as the coordinates of the obstacle in the second image.

[0063] Specifically, the image detection frame includes at least part or all of the pixels involved in the obstacle. From the coordinates of all the pixels in the image detection frame in the second image, a method for selecting a coordinate as the coordinate of the obstacle in the second image includes at least the following three methods:

[0064] The first method is to select the coordinates of the pixel point located at the center of the image detection frame as the coordinates of the obstacle in the second image.

[0065] The second method is to select the coordinates of any pixel point other than the central position pixel point in the image detection frame as the coordinates of the obstacle in the second image.

[0066] The third method is to select the coordinates of the pixel point located at the center of the obstacle in the image detection frame as the coordinates of the obstacle in the second image.

[0067] 208. Position the obstacle by using the manifold learning mapping matrix and the coordinates of the obstacle in the second image.

[0068] Specifically, the process of locating the obstacle using the manifold learning mapping matrix and the coordinates of the obstacle in the second image may include: determining the current second image currently collected and the previous second image collected adjacent to the current second image, wherein the adjacent here refers to the adjacent at the collection time point; the current second image and the previous second image both include the same obstacle. Determine whether the height difference between the positions of the obstacle in the current second image and the previous second image is greater than the preset height difference. If it is determined that the height difference is greater than the preset height difference, it means that the vehicle is traveling on a sloped road, and after collecting the previous second image, the vehicle has traveled uphill or downhill. At this time, in order to locate the obstacle more accurately, the manifold learning mapping matrix, the coordinates of the obstacle in the current second image, and the coordinates of the obstacle in the previous second image are used to locate the obstacle in the current second image. If it is determined that the height difference is not greater than the preset height difference, it means that the vehicle is traveling on a road with a flat road surface, and the manifold learning mapping matrix and the coordinates of the obstacle in the current second image are directly used to locate the obstacle in the current second image.

[0069] Specifically, the process of locating the obstacle in the current second image using the manifold learning mapping matrix, the coordinates of the obstacle in the current second image, and the coordinates of the obstacle in the previous second image may include: determining the elevation angle of the obstacle according to the coordinates of the obstacle in the current second image, the coordinates of the obstacle in the previous second image, and the preset reference coordinates; and locating the obstacle in the current second image using the manifold learning mapping matrix, the elevation angle, the coordinates of the obstacle in the current second image, and the coordinates of the obstacle in the previous second image.

[0070] Specifically, according to the coordinates of the obstacle in the current second image, the coordinates of the obstacle in the previous second image and the preset reference coordinates, the process of determining the fall angle of the obstacle is as follows: determining a first vector based on the coordinates of the obstacle in the current second image and the preset reference coordinates, and determining a second vector based on the coordinates of the obstacle in the previous second image and the preset reference coordinates. Then, the cosine value of the fall angle of the obstacle is determined using the following formula (1).

[0071]

[0072] It should be noted that Xi represents the coordinate of the horizontal axis of the obstacle in the current second image, Xj represents the coordinate of the horizontal axis of the obstacle in the previous second image, and c represents the coordinate of the horizontal axis in the preset reference coordinate. The angle of the drop angle can be calculated by the cosine value. The drop angle is caused by the height difference between the coordinates of the obstacle in the current second image and the coordinates of the obstacle in the previous second image.

[0073] Specifically, the process of locating the obstacle in the current second image using the manifold learning mapping matrix, the drop angle, the coordinates of the obstacle in the current second image, and the coordinates of the obstacle in the previous second image may include: determining the coordinates of the obstacle in the current second image in a preset coordinate system based on the following formula (2).

[0074]

[0075] Among them, (X, Y, Z) represents the coordinates of the obstacle in the second image in the preset coordinate system; (u1, v1) represents the coordinates of the obstacle in the previous second image; (u2, v2) represents the coordinates of the obstacle in the current second image. After determining the coordinates of the obstacle in the preset coordinate system, the coordinates of the vehicle in the preset coordinate system are determined based on the GPS positioning coordinates of the vehicle, and the distance between the coordinates of the vehicle and the coordinates of the obstacle is calculated by the distance formula between the two points. This distance is the distance between the obstacle and the vehicle.

[0076] Specifically, the process of locating the obstacle in the current second image by using the manifold learning mapping matrix and the coordinates of the obstacle in the current second image includes: determining the coordinates of the obstacle in the current second image in a preset coordinate system based on the following formula (3).

[0077]

[0078] After determining the coordinates of the obstacle in the preset coordinate system, the coordinates of the vehicle in the preset coordinate system are determined based on the vehicle's GPS positioning coordinates. The distance between the coordinates of the vehicle and the coordinates of the obstacle is calculated using the distance formula between the two points. This distance is the distance between the obstacle and the vehicle.

[0079] Thirdly, based on Figure 1 or Figure 2 Another embodiment of the present disclosure further provides an obstacle locating device, such as Figure 3 As shown, the device mainly includes:

[0080] A collection unit 31, used to collect a first image generated by the vehicle traveling on a test road;

[0081] a labeling unit 32, configured to establish a correspondence between coordinates of pixels of the first image in a first coordinate system and coordinates of pixels of the first image in a second coordinate system, and obtain coordinate data based on the correspondence; the first coordinate system is a coordinate system set in the first image; and the second coordinate system is a coordinate system reflecting a real driving position;

[0082] A processing unit 33, configured to process the coordinate data using a preset manifold learning algorithm to obtain a manifold learning mapping matrix;

[0083] The positioning unit 34 is used to locate obstacles in the second image of the vehicle traveling on the real road by using the manifold learning mapping matrix.

[0084] The obstacle positioning device provided by the embodiment of the present disclosure first collects a first image of a vehicle driving on a test road, determines the coordinates of the pixel points of the first image in a first coordinate system set in the first image and determines the coordinates of the pixel points of the first image in a second coordinate system reflecting the real driving position, and obtains coordinate data based on the correspondence between the coordinates of the pixel points in the first coordinate system and the coordinates in the second coordinate system. The coordinate data is processed by a preset manifold learning algorithm to obtain a manifold learning mapping matrix. Finally, the manifold learning mapping matrix is ​​used to locate obstacles in the second image of the vehicle driving on the real road. The embodiment of the present disclosure uses a manifold learning algorithm to process the image data collected at a low cost, obtains a manifold learning mapping matrix that represents the correspondence between the coordinates in the image and the coordinates in the coordinate system reflecting the real driving position, and uses the manifold learning mapping matrix to locate obstacles when the vehicle is driving on the real road. It can be seen that in the process of locating obstacles, there is no need to use expensive sensor equipment and camera equipment, so the cost of locating obstacles when the vehicle is driving can be greatly reduced.

[0085] In some embodiments, Figure 4As shown, the acquisition unit 31 is used to use a camera with a built-in inertial measurement unit IMU to acquire a second image generated by the vehicle traveling on a flat test road, and during the acquisition process, maintain the pitch angle between the main axis of the camera and the ground of the flat test road unchanged.

[0086] In some embodiments, Figure 4 As shown, the labeling unit 32 includes:

[0087] A first labeling module 321 is used to add a scale ruler to the first image; based on the scale ruler, label the coordinates of the pixel points of the first image in the first coordinate system;

[0088] A second labeling module 322, configured to label the coordinates of the pixel points of the first image in the second coordinate system based on the preset coordinate system;

[0089] The establishing module 323 is used to establish a corresponding relationship between the coordinates in the first coordinate system and the coordinates in the second coordinate system corresponding to the same pixel point to obtain the coordinate data.

[0090] In some embodiments, Figure 4 As shown, the pixel points annotated by the first annotation module 321 are all located on a straight line, and the extension direction of the straight line is consistent with the driving direction of the vehicle.

[0091] In some embodiments, Figure 4 As shown, the positioning unit 34 includes:

[0092] A first determination module 341, configured to detect obstacles in the second image and determine an image detection frame corresponding to the obstacles;

[0093] A second determination module 342, configured to determine the coordinates of the obstacle in the second image according to the image detection frame;

[0094] The positioning module 343 is used to locate the obstacle by using the manifold learning mapping matrix and the coordinates of the obstacle in the second image.

[0095] In some embodiments, Figure 4 As shown, the second determination module 342 is used to determine the coordinates of all pixel points in the image detection frame in the second image; and select a coordinate from the determined coordinates as the coordinates of the obstacle in the second image.

[0096] In some embodiments, Figure 4 As shown, the positioning module 343 includes:

[0097] A determination submodule 3431 is used to determine a current second image currently being acquired and a previous second image being acquired adjacent to the current second image; the current second image and the previous second image both include the same obstacle;

[0098] The judging submodule 3432 is used to judge whether the height difference between the positions of the obstacle in the current second image and the previous second image is greater than a preset height difference; if so, trigger the first positioning submodule 3433; otherwise, trigger the second positioning submodule 3434;

[0099] The first positioning submodule 3433 is used to locate the obstacle in the current second image by using the manifold learning mapping matrix, the coordinates of the obstacle in the current second image, and the coordinates of the obstacle in the previous second image under the triggering of the judgment submodule 3432;

[0100] The second positioning submodule 3434 is used to locate the obstacle in the current second image by using the manifold learning mapping matrix and the coordinates of the obstacle in the current second image under the triggering of the judgment submodule 3432.

[0101] In some embodiments, Figure 4 As shown, the first positioning submodule 3433 is used to determine the drop angle of the obstacle according to the coordinates of the obstacle in the current second image, the coordinates of the obstacle in the previous second image and the preset reference coordinates; and locate the obstacle in the current second image by using the manifold learning mapping matrix, the drop angle, the coordinates of the obstacle in the current second image and the coordinates of the obstacle in the previous second image.

[0102] In some embodiments, Figure 4 As shown, the second determination module 342 is used to determine the coordinates of all pixel points in the image detection frame in the second image; and select a coordinate from the determined coordinates as the coordinates of the obstacle in the second image.

[0103] In some embodiments, Figure 4 As shown, the acquisition unit 31 is used to use a camera device with a built-in inertial measurement unit IMU to capture a first image of the vehicle traveling on a test road, and during the acquisition process, maintain the pitch angle between the main axis of the camera device and the ground of the test road unchanged.

[0104] The obstacle locating device provided in the embodiment of the third aspect can be used to execute the obstacle locating method provided in the embodiment of the first aspect or the second aspect. The relevant meaning and specific implementation methods can be found in the relevant descriptions in the embodiments of the first aspect or the second aspect, and will not be described in detail here.

[0105] In a fourth aspect, an embodiment of the present disclosure provides a storage medium, wherein the storage medium includes a stored program, wherein when the program is running, the device where the storage medium is located is controlled to execute the obstacle locating method described in the first aspect or the second aspect.

[0106] The storage medium may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM, and the memory includes at least one storage chip.

[0107] In a fifth aspect, an embodiment of the present disclosure provides a human-computer interaction device, comprising a storage medium; and one or more processors, wherein the storage medium is coupled to the processor, and the processor is configured to execute program instructions stored in the storage medium; when the program instructions are executed, the obstacle locating method described in the first aspect or the second aspect is executed.

[0108] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0109] Those skilled in the art will appreciate that the embodiments of the present disclosure may be provided as methods, systems, or computer program products. Therefore, the embodiments of the present disclosure may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the embodiments of the present disclosure may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0110] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products of the embodiments of the present disclosure. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0111] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0112] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0113] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0114] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0115] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0116] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0117] It should be understood by those skilled in the art that the embodiments of the present disclosure may be provided as methods, systems or computer program products. Therefore, the embodiments of the present disclosure may take the form of a complete hardware embodiment, a complete software embodiment or an embodiment combining software and hardware. Moreover, the embodiments of the present disclosure may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.

[0118] The above are only embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included within the scope of the claims of the present application.

Claims

1. An obstacle positioning method, characterized in that: The method comprises: Capturing a first image of a vehicle traveling on a test road; Establishing a correspondence between coordinates of pixel points of the first image in a first coordinate system and coordinates of pixel points of the first image in a second coordinate system, and obtaining coordinate data based on the correspondence; the first coordinate system is a coordinate system set in the first image; and the second coordinate system is a coordinate system reflecting a real driving position; Processing the coordinate data by a preset manifold learning algorithm to obtain a manifold learning mapping matrix; Using the manifold learning mapping matrix, locating obstacles in a second image of the vehicle traveling on a real road; The method of using the manifold learning mapping matrix to locate obstacles in the second image of the vehicle traveling on the real road includes: Detecting an obstacle in the second image, and determining an image detection frame corresponding to the obstacle; Determining the coordinates of the obstacle in the second image according to the image detection frame; The obstacle is located by using the manifold learning mapping matrix and the coordinates of the obstacle in the second image.

2. The method according to claim 1, characterized in that The establishing a correspondence between the coordinates of the pixel points of the first image in the first coordinate system and the coordinates of the pixel points of the first image in the second coordinate system includes: adding a scale ruler to the first image; Based on the scale ruler, marking the coordinates of the pixel points of the first image in the first coordinate system; Marking the coordinates of the pixel points of the first image in the second coordinate system; A corresponding relationship between the coordinates in the first coordinate system and the coordinates in the second coordinate system corresponding to the same pixel point is established.

3. The method according to claim 2, characterized in that The step of marking the coordinates of the pixel points of the first image in the first coordinate system based on the scale ruler includes: The marked pixel points are all located on a straight line, and the extension direction of the straight line is consistent with the driving direction of the vehicle.

4. The method according to claim 1, characterized in that: The using the manifold learning mapping matrix and the coordinates of the obstacle in the second image to locate the obstacle includes: Determine a current second image currently being acquired and a previous second image acquired adjacent to the current second image; the current second image and the previous second image both include the same obstacle; Determining whether a height difference between positions of the obstacle in the current second image and the previous second image is greater than a preset height difference; If so, locating the obstacle in the current second image using the manifold learning mapping matrix, the coordinates of the obstacle in the current second image, and the coordinates of the obstacle in the previous second image; Otherwise, the obstacle in the current second image is located by using the manifold learning mapping matrix and the coordinates of the obstacle in the current second image.

5. The method according to claim 4, characterized in that The using the manifold learning mapping matrix, the coordinates of the obstacle in the current second image, and the coordinates of the obstacle in the previous second image to locate the obstacle in the current second image includes: Determine the drop angle of the obstacle according to the coordinates of the obstacle in the current second image, the coordinates of the obstacle in the previous second image and the preset reference coordinates; The obstacle in the current second image is located by using the manifold learning mapping matrix, the drop angle, the coordinates of the obstacle in the current second image, and the coordinates of the obstacle in the previous second image.

6. The method according to claim 1, characterized in that The determining, according to the image detection frame, the coordinates of the obstacle in the second image includes: Determine the coordinates of all pixels within the image detection frame in the second image; From the determined coordinates, a coordinate is selected as the coordinate of the obstacle in the second image.

7. The method according to any one of claims 1 to 6, characterized in that: The collecting of the first image generated by the vehicle driving on the flat test road includes: A camera device with a built-in inertial measurement unit (IMU) is used to collect a first image of the vehicle traveling on a test road, and during the collection process, a pitch angle between a main axis of the camera device and the ground of the test road is maintained unchanged.

8. An obstacle locating device, characterized in that: The device comprises: A collection unit, used for collecting a first image generated by a vehicle traveling on a test road; a labeling unit, used to establish a correspondence between coordinates of pixels of the first image in a first coordinate system and coordinates of pixels of the first image in a second coordinate system, and obtain coordinate data based on the correspondence; the first coordinate system is a coordinate system set in the first image; and the second coordinate system is a coordinate system reflecting a real driving position; A processing unit, used to process the coordinate data by a preset manifold learning algorithm to obtain a manifold learning mapping matrix; A positioning unit, used to locate obstacles in the second image of the vehicle traveling on a real road by using the manifold learning mapping matrix; The positioning unit comprises: A first determination module, used to detect obstacles in the second image and determine an image detection frame corresponding to the obstacle; A second determination module, configured to determine the coordinates of the obstacle in the second image according to the image detection frame; A positioning module is used to locate the obstacle by using the manifold learning mapping matrix and the coordinates of the obstacle in the second image.

9. The device according to claim 8, characterized in that The marking unit comprises: A first marking module, configured to add a scale ruler to the first image; and mark the coordinates of the pixel points of the first image in the first coordinate system based on the scale ruler; A second labeling module, used for labeling the coordinates of the pixel points of the first image in the second coordinate system based on a preset coordinate system; The establishing module is used to establish a corresponding relationship between the coordinates in the first coordinate system and the coordinates in the second coordinate system corresponding to the same pixel point.

10. The device according to claim 8, characterized in that The positioning module comprises: A determination submodule, used to determine a current second image currently being acquired and a previous second image acquired adjacent to the current second image; the current second image and the previous second image both include the same obstacle; A judging submodule, used to judge whether the height difference between the positions of the obstacle in the current second image and the previous second image is greater than a preset height difference; if so, triggering the first positioning submodule; otherwise, triggering the second positioning submodule; The first positioning submodule is used to locate the obstacle in the current second image by using the manifold learning mapping matrix, the coordinates of the obstacle in the current second image, and the coordinates of the obstacle in the previous second image under the triggering of the judgment submodule; The second positioning submodule is used to locate the obstacle in the current second image by using the manifold learning mapping matrix and the coordinates of the obstacle in the current second image under the triggering of the judgment submodule.

11. The device according to claim 10, characterized in that The first positioning submodule is used to determine the drop angle of the obstacle according to the coordinates of the obstacle in the current second image, the coordinates of the obstacle in the previous second image and the preset reference coordinates; The obstacle in the current second image is located by using the manifold learning mapping matrix, the drop angle, the coordinates of the obstacle in the current second image, and the coordinates of the obstacle in the previous second image.

12. A storage medium, characterized in that: The storage medium includes a stored program, wherein when the program is executed, the device where the storage medium is located is controlled to execute the obstacle locating method according to any one of claims 1 to 7.

13. A human-computer interaction device, characterized in that: The device includes a storage medium; and one or more processors, the storage medium is coupled to the processor, and the processor is configured to execute program instructions stored in the storage medium; when the program instructions are executed, the obstacle positioning method described in any one of claims 1 to 7 is executed.

Citation Information

Patent Citations

  • Vehicle intelligent method for automatically identifying road pit or obstruction

    CN101549683A

  • Obstacle test method for active intelligent vehicle

    CN102538766A

  • Hyperspectral image characteristic extraction algorithm based on manifold learning linearization

    CN104008383A

  • Real-time obstacle detection and positioning method based on monocular vision

    CN108909624A

  • A height limit early warning method based on binocular stereo vision

    CN109409311A