Identification method, electronic equipment, vehicle, medium and product

By obtaining the obstacle position information in the original image in the automatic parking technology and calculating the obstacle encroachment confidence, it solves the problem of the inability of ultrasonic parking technology to detect parking spaces and the low recognition accuracy of visual perception parking technology, achieving accurate recognition. The effect of parking space status.

CN118747880APending Publication Date: 2024-10-08BYD CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202410865727.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-28
Publication Date
2024-10-08

AI Technical Summary

Technical Problem

Among existing automatic parking technologies, ultrasonic parking technology cannot detect parking spaces without obstacles and requires a large amount of hardware support. However, the recognition algorithm of visual perception parking technology has low accuracy and cannot accurately identify the location of obstacles, resulting in the inability to Correctly identify parking space status.

Method used

By acquiring multiple original images, the obstacle information in the first area in the surrounding image is determined based on the first position information of the obstacle, and a formula is used to calculate the obstacle encroachment confidence. If the confidence is greater than the preset value, it is determined that the area is occupied. , which solves the problem of being unable to accurately identify the parking space status due to the deformation or disappearance of obstacles in the surround image.

Benefits of technology

It achieves accurate recognition of the position information of obstacles in the parking space area, and then accurately identifies the status of the parking space area, solves the problem of low recognition accuracy caused by surround image errors in the existing technology, and reduces hardware costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118747880A_ABST
    Figure CN118747880A_ABST
Patent Text Reader

Abstract

An identification method, an electronic device, a vehicle, a medium and a product, the method comprising: acquiring a plurality of original images, and obtaining a look-around image based on the plurality of original images; and according to the first position information of the obstacles in the plurality of original images, determining the obstacle information in the first area in the look-around image. According to the scheme, the actual position information of the obstacle in the first area can be obtained according to the first position information of the obstacle in the original image, so that the state of the first area can be identified; the problem that the actual position information of the obstacle in the first area cannot be directly and accurately obtained from the look-around image due to deformation or disappearance of the obstacle in the look-around image, and the state of the first area cannot be accurately identified is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of target recognition, and in particular to an recognition method, electronic equipment, vehicle, medium and product. Background Art

[0002] At present, the automatic parking technology in related technologies can be mainly divided into ultrasonic parking technology and visual perception parking technology. Among them, ultrasonic parking technology mainly uses the characteristics of ultrasonic sensors to detect the location of obstacles, and then judges whether there is an empty parking space that can accommodate the vehicle safely according to the location of the obstacle; visual perception parking technology mainly obtains the location of parking spaces and obstacles through surround images.

[0003] However, when there are no vehicles on both sides of the parking space, ultrasonic parking technology cannot detect the parking space. It is also difficult to detect the status of the parking space and requires a lot of hardware support. The recognition algorithm of the visual perception parking technology in the related art has low accuracy and is difficult to accurately identify the location of obstacles, which leads to the inability to correctly identify the status of the parking space. Summary of the invention

[0004] A series of simplified concepts are introduced in the Summary of the Invention section, which will be further described in detail in the Detailed Description of the Invention section. The Summary of the Invention section of this application does not mean to attempt to define the key features and essential technical features of the claimed technical solution, nor does it mean to attempt to determine the scope of protection of the claimed technical solution.

[0005] In view of the existing problems, the present application provides an identification method, including:

[0006] Acquire a plurality of original images, and obtain a surround view image based on the plurality of original images;

[0007] Obstacle information within a first area in the surround image is determined according to first position information of obstacles in the plurality of original images.

[0008] Exemplarily, if there is an obstacle in the first area, the obstacle information includes second position information of the obstacle in the surround view image.

[0009] Exemplarily, the second position information is position information of the obstacle in the surround view image obtained based on the first position information.

[0010] Exemplarily, the first area is a parking space area.

[0011] Exemplarily, the method further includes: if the obstacle information indicates that the obstacle area in the first area meets a first condition, determining that the first area is occupied.

[0012] Exemplarily, the first condition is that the confidence level obtained based on the overlapping area of ​​the obstacle area and the first area that the first area is occupied by the obstacle is greater than a preset value.

[0013] Exemplarily, the confidence level that the first area is occupied by the obstacle is calculated by the following formula:

[0014]

[0015] Among them, Conf is the confidence level, Area COOR2 Area is the area of ​​the figure enclosed by the projection points of multiple contours of the obstacle on the ground. SlotPt is the area of ​​the first region, Area COOR2 ∩Area SlotPt is the overlapping area.

[0016] Exemplarily, the first location information is obtained by the following steps:

[0017] Acquire a sub-image, where the sub-image is an image including the obstacle segmented from the plurality of original images;

[0018] Acquire the position information of the obstacle in the sub-image in the sub-image;

[0019] The first position information is obtained based on the position information of the obstacle in the sub-image and the position information of the sub-image in the corresponding original image.

[0020] Exemplarily, the sub-image includes the obstacle and an area within a preset range around the obstacle.

[0021] Exemplarily, the position information of the obstacle in the sub-image is the position information of multiple ground projection points of the obstacle's contour in the sub-image.

[0022] The first position information is the position information of multiple ground projection points of the obstacle contours in the original image.

[0023] The second position information is position information of multiple ground projection points of the obstacle's contours in the surround view image.

[0024] Exemplarily, the origin of the coordinate system where the first position information of the obstacle is located is the upper left corner point of the original image where the obstacle is located, and the origin of the coordinate system where the second position information of the obstacle is located is the midpoint of the line connecting the ground contact points of the two rear wheels of the vehicle.

[0025] Exemplarily, obtaining a surround view image based on the multiple original images includes:

[0026] Performing distortion correction and perspective transformation on the multiple original images and then stitching them into an initial stitched image;

[0027] The initial stitched image is optimized by feathering the overlapping area to obtain the surround view image.

[0028] On the other hand, the present application provides an electronic device, including a processor and a memory, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the processor executes the above-mentioned identification method.

[0029] On the other hand, the present application provides a vehicle, which includes a plurality of cameras and the above-mentioned electronic device, and the plurality of cameras are used to obtain a plurality of original images.

[0030] On the other hand, the present application provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the processor executes the above-mentioned identification method.

[0031] On the other hand, the present application provides a computer program product, including a computer program, which implements the above-mentioned identification method when executed by a processor.

[0032] The recognition method, electronic device, vehicle, medium and product of the present application first obtains the first position information of the obstacle in the original image, and then determines the obstacle information in the first area of ​​the surround image based on the first position information, rather than directly obtaining the obstacle information in the first area from the surround image, and can obtain the actual position information of the obstacle in the first area, so that the state of the first area can be identified, which solves the problem that the actual position information of the obstacle in the first area cannot be directly obtained from the surround image due to the deformation or disappearance of the obstacle in the surround image, and thus the state of the first area cannot be accurately identified. Specifically, the recognition method of the present application can be used to accurately identify the position information of the obstacle in the parking area, and thus the state of the parking area can be accurately identified. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] The above and other purposes, features and advantages of the present invention will become more apparent by describing the embodiments of the present invention in more detail in conjunction with the accompanying drawings. The accompanying drawings are used to provide a further understanding of the embodiments of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the present invention and do not constitute a limitation of the present invention. In the accompanying drawings, the same reference numerals generally represent the same components or steps.

[0034] In the attached figure:

[0035] Figure 1A-Figure 1C A schematic diagram showing that the related art visual perception parking technology has difficulty in accurately identifying obstacles.

[0036] Figure 2 A schematic flow chart of an identification method according to a specific embodiment of the present application is shown.

[0037] Figure 3 A schematic diagram of an original image according to a specific embodiment of the present application is shown.

[0038] Figure 4 A schematic diagram of a sub-image cropped from an original image according to a specific embodiment of the present application is shown.

[0039] Figure 5 A schematic diagram of identifying a wheel contact point of a vehicle in a sub-image according to a specific embodiment of the present application is shown.

[0040] Figure 6 A schematic diagram of identifying a wheel contact point of a vehicle in an original image according to a specific embodiment of the present application is shown.

[0041] Figure 7 A schematic diagram of four wheel contact points of a vehicle according to a specific embodiment of the present application is shown.

[0042] Figure 8 A structural block diagram of an electronic device according to a specific embodiment of the present application is shown. DETAILED DESCRIPTION

[0043] In order to make the purpose, technical scheme and advantages of the present invention more obvious, the exemplary embodiments according to the present invention will be described in detail with reference to the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments of the present invention, and it should be understood that the present invention is not limited to the exemplary embodiments described herein. Based on the embodiments of the present invention described in the present invention, all other embodiments obtained by those skilled in the art without creative work should fall within the protection scope of the present invention.

[0044] Since ultrasonic parking technology relies on ultrasonic sensors to identify the location of obstacles and then identifies parking spaces based on the location of obstacles, it is impossible to detect parking spaces through ultrasonic sensors if there are no other obstacles (e.g., vehicles) near the parking spaces. Therefore, the application of ultrasonic parking technology is very limited. At the same time, ultrasonic parking technology requires a lot of hardware support, such as multiple long-range ultrasonic radars and multiple short-range ultrasonic radars, which will increase costs. At the same time, ultrasonic parking technology also lacks semantic information, and thus cannot distinguish the status of parking spaces (e.g., it cannot distinguish whether the ground lock in the parking space is in an open or closed state), resulting in the judgment of actually available parking spaces as unavailable parking spaces, greatly reducing the efficiency of automatic parking.

[0045] Visual perception parking technology can introduce visual semantic information with the help of the surround view images of the panoramic monitoring imaging system (Around View Monitor), thereby solving the problem of being unable to distinguish the status of parking spaces. It can simultaneously obtain the location of obstacles and parking spaces. Visual perception parking technology only requires multiple cameras to achieve visual perception, and has a low cost. Therefore, it has gradually become the mainstream parking solution.

[0046] However, the visual perception parking technology of the related art often obtains voice information only through the surround view image. Although it can obtain the parking space position and the obstacle position at the same time, it still has the following problems: First, since the surround view image of the vehicle is obtained by multi-channel image data (for example, multi-channel fisheye image data) through distortion correction, projection transformation, image stitching and other steps, these steps will inevitably introduce human or system errors, such as blur and distortion generated in the image stitching step, which will affect the recognition accuracy of the algorithm. For example, it will not be able to accurately identify obstacles, such as Figure 1A As shown in FIG. 1 , when the two fisheye image data are spliced ​​at the overlap, the cone barrel as an obstacle disappears; secondly, after the obstacles in the multi-channel image data are mapped to the surround view image through distortion correction, projection transformation, image splicing and other steps, the obstacles in the surround view image will be significantly deformed, resulting in the obstacle position obtained in the surround view image being different from the actual obstacle position, which in turn leads to the inability to correctly identify the vacant parking space, for example, Figure 1B As shown in the figure, the vehicle in the surround view image is deformed and blocks the adjacent vacant parking space, and Figure 1C As shown, the pillars in the surround image are deformed and block the adjacent vacant parking spaces.

[0047] Therefore, in view of the existence of the above problems, the present application provides an identification method. Figures 2 to 7 To describe the identification method of a specific embodiment of the present application, Figure 2A schematic flow chart of an identification method according to a specific embodiment of the present application is shown. Figure 3 A schematic diagram showing an original image according to a specific embodiment of the present application is shown. Figure 4 A schematic diagram of a sub-image cropped from an original image according to a specific embodiment of the present application is shown. Figure 5 A schematic diagram of identifying a wheel contact point of a vehicle in a sub-graph according to a specific embodiment of the present application is shown. Figure 6 A schematic diagram showing a specific embodiment of the present application for identifying a wheel contact point of a vehicle in an original image is shown. Figure 7 FIG. 1 is a schematic diagram showing the contact points of four wheels of a vehicle according to a specific embodiment of the present application. Figure 2 As shown, the identification method 200 may include the following steps:

[0048] In step S210, a plurality of original images are acquired, and a surround view image is obtained based on the plurality of original images.

[0049] In step S220, obstacle information in a first area in the surround view image is determined according to first position information of obstacles in a plurality of original images.

[0050] In an embodiment of the present application, a plurality of original images are first acquired, and a surround view image is obtained based on the plurality of original images; then, target detection is performed on the plurality of original images to identify obstacles in the original images; then, the first position information of each obstacle in the corresponding original image is acquired. Since the original image has not been subjected to distortion correction, splicing and other operations, the first position information of the obstacle acquired from the original image is very accurate; then, based on the first position information of the obstacle, the obstacle information in the first area of ​​the surround view image is determined, such as the position information of the obstacle, which is equivalent to projecting the position information of the obstacle in the original image into the surround view image, and the actual position information of the obstacle can be retained. Exemplarily, target detection can be performed on the original image by a conventional target detection algorithm, such as by using the YOLOX algorithm to perform target detection on the original image, so as to identify obstacles in the original image, such as the position, type and size of the obstacle.

[0051] Therefore, the recognition method of the embodiment of the present application first obtains the first position information of the obstacle in the original image, and then determines the obstacle information in the first area of ​​the surround image based on the first position information, rather than directly obtaining the obstacle information in the first area from the surround image. The actual position information of the obstacle in the first area can be obtained, so that the state of the first area can be identified, which solves the problem that the actual position information of the obstacle in the first area cannot be directly obtained from the surround image due to the deformation or disappearance of the obstacle in the surround image, and thus the state of the first area cannot be accurately identified. Specifically, the recognition method of the present application can be used to accurately identify the position information of the obstacle in the parking area, and thus the state of the parking area can be accurately identified.

[0052] In the embodiment of the present application, the first area is a parking area, and the following description will be given by taking the first area as the parking area and the multiple original images obtained as multiple original images near the parking area as an example. It is worth noting that the recognition method of the present application can also be used to recognize obstacles in other types of areas, and the present application does not limit this.

[0053] At the same time, for the convenience of subsequent description, the obstacle will be taken as a vehicle as an example below. It should be understood that the solution of the present application is not limited to the type of obstacle being a vehicle. The obstacle can also be other types such as pillars and pedestrians.

[0054] In an embodiment of the present application, if there is an obstacle in the first area, the obstacle information includes second position information of the obstacle in the surround image, wherein the second position information is position information of the obstacle in the surround image obtained based on the first position information.

[0055] In the embodiments of the present application, Figure 3 As shown, the original image is a fisheye image, which is obtained by a fisheye camera. For example, a vehicle is provided with four fisheye cameras, and the four fisheye cameras can be respectively provided at the front bumper, the rear license plate, the lower end of the left rearview mirror, and the lower end of the right rearview mirror. In other embodiments, the original image can also be any other suitable type of image, which is not limited in the present application.

[0056] In an embodiment of the present application, a surround image is obtained based on multiple original images, including: performing distortion correction and perspective transformation on multiple original images and stitching them into an initial stitched image; optimizing the initial stitched image by feathering the overlapping area to obtain a surround image. It should be understood that the method of obtaining a surround image from multiple original images is a technical content well known to those skilled in the art, and the present application does not repeat it. Exemplarily, in the transformation step from the original image to the surround image, the obstacle will inevitably deform or even disappear, which results in the position information of the obstacle obtained from the surround image being inaccurate, and the present application first obtains the first position information of the obstacle from the original image, and then determines the obstacle information in the first area of ​​the surround image based on the first position information by mapping and other methods, such as the second position information of the obstacle in the first area of ​​the surround image, although the obstacle will deform or even disappear in the surround image, the actual position information of the obstacle is retained.

[0057] In an embodiment of the present application, the first position information is obtained by the following steps: obtaining a sub-image, where the sub-image is an image containing obstacles segmented from a plurality of original images, such as Figure 3 and Figure 4 As shown, a sub-image containing a vehicle is cropped from the original image; the position information of the obstacle in the sub-image is obtained in the sub-image; based on the position information of the obstacle in the sub-image and the position information of the sub-image in the corresponding original image, the first position information of each obstacle in the corresponding original image is obtained. Exemplarily, the sub-image containing the obstacle can be cropped by conventional techniques in the art, which will not be described in detail in this application. Exemplarily, the origin of the coordinate system where the position information of the obstacle in the sub-image is located can be the upper left corner of the sub-image.

[0058] In the embodiments of the present application, Figure 4 As shown, in addition to the obstacle, the sub-graph may also include the area of ​​the preset range around the obstacle. For example, based on the identified obstacle, the range can be expanded by 10% in the four directions around it to obtain the sub-graph including the obstacle. This can effectively prevent the obstacle from not being completely cut out due to insufficient target recognition accuracy, and can also prevent the factor graph from being too large, which will make the recognition and detection algorithm more complicated and the recognition and detection time longer. Among them, the preset range around the obstacle should be reasonably set according to actual needs.

[0059] In an embodiment of the present application, the origin of the coordinate system where the first coordinate information of the obstacle in the original image is located is the upper left corner of the original image, and the origin of the coordinate system where the position information of the sub-image in the original image is located can also be the upper left corner of the original image.

[0060] In the embodiment of the present application, the origin of the coordinate system where the second position information of the obstacle is located is the midpoint of the line connecting the ground contact points of the two rear wheels of the vehicle. In this case, the coordinate system where the second position information of the obstacle is located can also be called the rear axle coordinate system of the vehicle, and the origin of the rear axle coordinate system of the vehicle is called the rear axle center of the vehicle.

[0061] In an embodiment of the present application, taking multiple original images as fisheye images acquired by multiple fisheye cameras as an example, after obtaining the first position information of the obstacle in the original image, when the internal and external parameters of the multiple fisheye cameras and the position of the vehicle in the surround view image are known (for example, the coordinates of the rear axle center of the vehicle in the surround view image are known), the second position information of the obstacle in the surround view image can be obtained, thereby achieving accurate mapping of the obstacle's position information from the original image to the surround view image.

[0062] In an embodiment of the present application, the position information of the obstacle in the sub-image is the position information of multiple ground projection points of the obstacle's contour in the sub-image, the first position information of the obstacle in the original image is the position information of multiple ground projection points of the obstacle's contour in the original image, and the second position information of the obstacle in the surround image is the position information of multiple ground projection points of the obstacle's contour in the surround image. Among them, the projection point of the obstacle's contour refers to the projection point of a certain point on the obstacle's contour to the ground. Exemplarily, the area of ​​the figure surrounded by the selected multiple ground projection points of the obstacle's contour should be close to the contour of the obstacle, so that the contour of the obstacle can be represented by the figure surrounded by the selected multiple ground projection points of the obstacle's contour. Exemplarily, the contour of the obstacle here refers to the contour of the obstacle in a plane parallel to the ground. Exemplarily, the position information of multiple ground projection points of the obstacle's contour in the sub-image is a set of coordinates of multiple ground projection points of the obstacle's contour.

[0063] In the embodiments of the present application, the projection point of the obstacle's outline on the ground can be the point where the obstacle actually contacts the ground, or can be the projection point of a suspended point in the obstacle's outline on the ground, and the present application does not limit this. For example, taking the obstacle as a column as an example, the multiple projection points of the column's outline on the ground can be the four corner points of the surface where the column contacts the ground; taking the obstacle as a suspended lamp as an example, the multiple projection points of the lamp's outline on the ground can be the projection points of multiple points on the lamp's outline on the ground.

[0064] In an embodiment of the present application, the outline of the obstacle can be first identified and multiple points in the outline can be selected, and then the projection points of the selected multiple points on the ground can be obtained through an algorithm to obtain multiple projection points of the obstacle's outline on the ground; or the outline of the obstacle can be first identified and the projection of the obstacle's outline on the ground can be obtained through an algorithm, and then multiple projection points can be selected from the projection of the outline on the ground to obtain multiple projection points of the obstacle's outline on the ground.

[0065] In the embodiments of the present application, Figure 5 and Figure 7 As shown, taking the first area as the parking area and the obstacle as the vehicle as an example, the four wheel contact points of the vehicle can be selected as the projection points of the wheel contour on the ground. Among them, although the area of ​​the figure surrounded by the four wheel contact points of the wheel is generally smaller than the area of ​​the wheel contour, in the application field of parking state recognition, the error caused by using the figure surrounded by the four wheel contact points of the wheel to represent the wheel contour is within the error range allowed by the parking state recognition algorithm, that is, using the figure surrounded by the four wheel contact points of the wheel to represent the wheel contour can meet the accuracy requirements of the parking state recognition algorithm; secondly, since the contours of different types of vehicles are different, if the contour of the vehicle is to be accurately recognized, the recognition algorithm will become more complicated and the recognition process will be longer, while recognizing the four wheel contact points of the vehicle can greatly simplify the recognition algorithm, thereby shortening the time required for the recognition algorithm.

[0066] Specifically, Figure 5 As shown, taking the obstacle as a vehicle as an example, the four wheel contact points of the vehicle in the sub-graph can be identified by a trained wheel contact point recognition model (e.g., VIPNAS+MobileNetV3 fusion model) to obtain the position information of the four wheel contact points of the vehicle in the sub-graph. Exemplarily, the position information of the four wheel contact points of the vehicle in the sub-graph is a set of coordinates of the four wheel contact points of the vehicle.

[0067] In the embodiments of the present application, Figure 6 As shown, the position information of the four wheel contact points of the vehicle in the original image, that is, the first position information, can be obtained through the position information of the four wheel contact points of the vehicle in the sub-image and the position information of the sub-image in the original image, wherein the position information of the four wheel contact points of the vehicle in the original image is a set of coordinates of the four wheel contact points of the vehicle in the original image, which can be represented by COOR1 (P1, P2, P3, P4), as shown in FIG. Figure 7 As shown, P1 refers to the coordinates of the ground contact point of the left front wheel of the vehicle, P2 refers to the coordinates of the ground contact point of the left rear wheel of the vehicle, P3 refers to the coordinates of the ground contact point of the right rear wheel of the vehicle, and P4 refers to the coordinates of the ground contact point of the right front wheel of the vehicle.

[0068] In an embodiment of the present application, taking the original image as a fisheye image as an example, due to the small field of view of the surround view image (approximately 4 meters around the vehicle), the four wheel contact points of the vehicle identified in the original image may not all be mapped into the field of view of the surround view image, that is, the quadrilateral wheel area composed of four wheel contact points in the original image may become three types of vehicle areas, namely triangle, quadrilateral and pentagon, after being mapped into the surround view image. These three types of vehicle areas can be represented by COOR2(P1, P2, P3) / (P1, P2, P3, P4) / (P1, P2, P3, P4, P5), wherein P1, P2, P3, P4 and P5 are the coordinates of the mapped contact points, that is, the position information of each contact point of the obstacle in the surround view image is the set of coordinates of each contact point of the obstacle in the surround view image.

[0069] In the embodiment of the present application, the position information of the obstacle is represented by the position information of the projection point of the obstacle's outline on the ground instead of locating the position information of the obstacle through the 2D detection frame. In the mapping process from the original image to the surround view image, the position information of the projection point of the outline on the ground can be retained as accurately as possible, so that the second position information of the obstacle in the surround view image after mapping is more accurate. However, the pixel accuracy of the 2D detection frame itself is not high, and in the mapping process from the original image to the surround view image, the error of the 2D detection frame will be further amplified, resulting in the second position information of the obstacle in the surround view image after mapping being inaccurate.

[0070] In an embodiment of the present application, the parking area (i.e., the first area) can be identified by conventional detection technology and the position information of the parking area in the surround view image can be obtained by means of deep learning and the like. Specifically, the position information of the four corner points of the parking area in the surround view image is obtained, and the position information of the four corner points of the parking area is used to represent the position information of the parking area, wherein the position information of the four corner points of the parking area in the surround view image is a set of coordinates of the four corner points of the parking area, which can be represented by SlotPt(L1, L2, L3, L4), where L1, L2, L3, and L4 are the coordinates of the four corner points of the parking area, respectively. Exemplarily, the origin of the coordinate system of the coordinates of the four wheel contact points of the vehicle in the surround view image and the coordinates of the four corner points of the parking area in the surround view image is the center of the line connecting the contact points of the rear wheels of the vehicle, then the z coordinates of the four wheel contact points of the vehicle in the surround view image and the z coordinates of the four corner points of the parking area in the surround view image are zero, which is convenient for subsequent calculations.

[0071] In an embodiment of the present application, the identification method of the present application further includes: if the obstacle information indicates that the obstacle area in the first region meets the first condition, then determining that the first region is occupied. Specifically, the first condition is that the confidence that the first region is occupied by the obstacle based on the overlapping area of ​​the obstacle area and the first region is greater than a preset value. Exemplarily, the value of the preset value should be reasonably set according to the actual situation.

[0072] Specifically, the confidence that the first area is occupied by obstacles can be calculated by the following formula:

[0073]

[0074] Among them, Conf is the confidence level, Area COOR2 Area is the area of ​​the figure enclosed by the projection points of multiple outlines of the obstacle on the ground. SlotPt is the area of ​​the first region, Area COOR2 ∩Area SlotPt is the overlapping area of ​​the obstacle and the first area. For example, taking the obstacle as a vehicle and the first area as a parking area, the multiple contour projection points of the vehicle can be selected from the four wheel contact points of the vehicle, the area of ​​the vehicle can be represented by the area of ​​the figure surrounded by the four wheel contact points of the vehicle, and the area of ​​the parking area can be represented by the area of ​​the figure surrounded by the four corner points of the parking area. At the same time, the overlapping area of ​​the vehicle and the parking area can also be calculated based on the coordinate information of the four contact points of the vehicle in the surround view and the coordinate information of the four corner points of the parking area. In other embodiments, when the obstacle is of other types, the contour projection points should be reasonably selected so that the area of ​​the figure surrounded by each contour projection point is as close as possible to the actual area of ​​the obstacle.

[0075] In an embodiment of the present application, if the calculated confidence level is greater than a preset value, it can be determined that the first area is occupied; if the calculated confidence level is less than or equal to the preset value, it can be determined that the first area is not occupied.

[0076] The above exemplarily describes the recognition method of a specific embodiment of the present application. It is worth noting that the order of the steps of the above recognition method can be adjusted without conflict. For example, the order of the step of obtaining the second position information of the obstacle in the surround image and the order of obtaining the position information of the first area in the surround image can be adjusted.

[0077] Based on the above description, the recognition method of the present application first obtains the first position information of the obstacle in the original image, and then determines the obstacle information in the first area of ​​the surround image based on the first position information, rather than directly obtaining the obstacle information in the first area from the surround image. The actual position information of the obstacle in the first area can be obtained, so that the state of the first area can be further accurately identified, solving the problem that the actual position information of the obstacle in the first area cannot be directly obtained from the surround image due to the deformation or disappearance of the obstacle in the surround image, and thus the state of the first area cannot be accurately identified. Specifically, the recognition method of the present application can be used to accurately identify the position information of the obstacle in the parking area, and thus the state of the parking area can be accurately identified.

[0078] Below, refer to Figure 8 To describe the electronic device of the present application. Figure 8 FIG. 1 is a schematic structural block diagram of an electronic device according to a specific embodiment of the present application. Figure 8 As shown, the electronic device 800 includes a processor 810 and a memory 820. The memory 820 stores a computer program. When the computer program is executed by the processor 810, the processor 710 executes the identification method described above.

[0079] Exemplarily, the processor 810 may be a central processing unit (CPU) or other forms of processing units with data processing capabilities and / or instruction execution capabilities, and is used to issue instructions through a series of algorithm processing processes. Exemplarily, the memory 820 may include one or more computer program products, and the computer program products may include various forms of computer-readable storage media, such as volatile memory and / or non-volatile memory. The volatile memory may include, for example, a random access memory (RAM) and / or a cache memory (cache), etc. The non-volatile memory may include, for example, a read-only memory (ROM), a hard disk, a flash memory, etc.

[0080] The embodiment of the present application further provides a vehicle, which includes multiple cameras and the electronic device described above, wherein the multiple cameras are used to obtain multiple original images, for example, the multiple cameras are used to obtain multiple original images near the parking area. Exemplarily, the vehicle also includes other components, such as a signal transmission system for signal transmission, etc., which is not limited in the embodiment of the present application.

[0081] In an embodiment of the present application, the plurality of cameras are fisheye cameras, and the original image is a fisheye image. For example, the vehicle may include four fisheye cameras, which may be respectively arranged at the front bumper, the rear license plate, the lower end of the left rearview mirror, and the lower end of the right rearview mirror of the vehicle.

[0082] An embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the processor executes the aforementioned identification method.

[0083] An embodiment of the present application also provides a computer program product, including a computer program, which implements the aforementioned identification method when executed by a processor.

[0084] Although example embodiments have been described herein with reference to the accompanying drawings, it should be understood that the above example embodiments are merely exemplary and are not intended to limit the scope of the present invention thereto. Various changes and modifications may be made therein by one of ordinary skill in the art without departing from the scope and spirit of the present invention. All such changes and modifications are intended to be included within the scope of the present invention as required by the appended claims.

[0085] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.

[0086] In the several embodiments provided by the present invention, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed.

[0087] In the description provided herein, a large number of specific details are described. However, it is understood that embodiments of the present invention can be practiced without these specific details. In some instances, well-known methods, structures and techniques are not shown in detail so as not to obscure the understanding of this description.

[0088] Similarly, it should be understood that in order to streamline the present invention and help understand one or more of the various inventive aspects, in the description of the exemplary embodiments of the present invention, the various features of the present invention are sometimes grouped together into a single embodiment, figure, or description thereof. However, the method of the present invention should not be interpreted as reflecting the following intention: the claimed invention requires more features than the features explicitly stated in each claim. More specifically, as reflected in the corresponding claims, the inventive point is that the corresponding technical problem can be solved with less than all the features of a single disclosed embodiment. Therefore, the claims following the specific embodiment are hereby expressly incorporated into the specific embodiment, wherein each claim itself serves as a separate embodiment of the present invention.

[0089] It will be understood by those skilled in the art that, except for mutually exclusive features, all features disclosed in this specification (including the accompanying claims, abstracts and drawings) and all processes or units of any method or device disclosed in this specification may be combined in any combination. Unless otherwise expressly stated, each feature disclosed in this specification (including the accompanying claims, abstracts and drawings) may be replaced by an alternative feature that provides the same, equivalent or similar purpose.

[0090] In addition, those skilled in the art will appreciate that, although some embodiments herein include certain features included in other embodiments but not other features, the combination of features of different embodiments is meant to be within the scope of the present invention and form different embodiments. For example, in the claims, any one of the claimed embodiments may be used in any combination.

[0091] The various component embodiments of the present invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. It should be understood by those skilled in the art that a microprocessor or digital signal processor (DSP) may be used in practice to implement some or all of the functions of some modules in the article analysis device according to an embodiment of the present invention. The present invention may also be implemented as a device program (e.g., a computer program and a computer program product) for executing part or all of the methods described herein. Such a program implementing the present invention may be stored on a computer-readable medium, or may be in the form of one or more signals. Such a signal may be downloaded from an Internet website, or provided on a carrier signal, or provided in any other form.

[0092] It should be noted that the above embodiments illustrate the present invention rather than limit it, and that those skilled in the art may devise alternative embodiments without departing from the scope of the appended claims. In the claims, any reference symbol between brackets shall not be construed as a limitation on the claims. The word "comprising" does not exclude the presence of elements or steps not listed in the claims. The word "one" or "an" preceding an element does not exclude the presence of a plurality of such elements. The present invention may be implemented by means of hardware comprising a number of different elements and by means of a suitably programmed computer. In a unit claim enumerating a number of devices, several of these devices may be embodied by the same hardware item. The use of the words first, second, and third, etc., does not indicate any order. These words may be interpreted as names.

[0093] The above is only a specific embodiment or description of a specific embodiment of the present invention, and the protection scope of the present invention is not limited thereto. Any person skilled in the art who is familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. The protection scope of the present invention shall be based on the protection scope of the claims.

Claims

1. A recognition method, characterized in that: include: Acquire a plurality of original images, and obtain a surround view image based on the plurality of original images; Obstacle information within a first area in the surround image is determined according to first position information of obstacles in the plurality of original images.

2. The method according to claim 1, characterized in that If there is an obstacle in the first area, the obstacle information includes second position information of the obstacle in the surround view image.

3. The method according to claim 2, characterized in that The second position information is position information of the obstacle in the surround view image obtained based on the first position information.

4. The method according to any one of claims 1 to 3, characterized in that: The first area is a parking area.

5. The method according to claim 1, characterized in that The method further includes: if the obstacle information indicates that the obstacle area in the first area meets a first condition, determining that the first area is occupied.

6. The method according to claim 5, characterized in that The first condition is that the confidence level obtained based on the overlapping area of ​​the obstacle area and the first area that the first area is occupied by the obstacle is greater than a preset value.

7. The method according to claim 6, characterized in that The confidence level that the first area is occupied by the obstacle is calculated by the following formula: Among them, Conf is the confidence level, Area COOR2 Area is the area of ​​the figure enclosed by the projection points of multiple contours of the obstacle on the ground. SlotPt is the area of ​​the first region, Area COOR2 ∩Area SlotPt is the area of ​​the overlapping region.

8. The method according to claim 2, characterized in that: The first location information is obtained by following the steps below: Acquire a sub-image, where the sub-image is an image including the obstacle segmented from the plurality of original images; Acquire the position information of the obstacle in the sub-image in the sub-image; The first position information is obtained based on the position information of the obstacle in the sub-image and the position information of the sub-image in the corresponding original image.

9. The method according to claim 8, characterized in that The sub-image includes the obstacle and an area within a preset range around the obstacle.

10. The method according to claim 8, characterized in that The position information of the obstacle in the sub-image is the position information of multiple ground projection points of the obstacle's contour in the sub-image. The first position information is the position information of multiple ground projection points of the obstacle contours in the original image. The second position information is position information of multiple ground projection points of the obstacle's contours in the surround view image.

11. The method according to claim 2, characterized in that The origin of the coordinate system where the first position information of the obstacle is located is the upper left corner point of the original image where the obstacle is located, and the origin of the coordinate system where the second position information of the obstacle is located is the midpoint of the line connecting the ground contact points of the two rear wheels of the vehicle.

12. The method according to claim 1, characterized in that Obtaining a surround view image based on the plurality of original images, comprising: Performing distortion correction and perspective transformation on the multiple original images and then stitching them into an initial stitched image; The initial stitched image is optimized by feathering the overlapping area to obtain the surround view image.

13. An electronic device, characterized in that: The invention comprises a processor and a memory, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the processor executes the identification method according to any one of claims 1 to 12.

14. A vehicle, characterized in that: The vehicle comprises a plurality of cameras and the electronic device as claimed in claim 13, wherein the plurality of cameras are used to obtain a plurality of original images.

15. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, which, when executed by a processor, enables the processor to perform the identification method according to any one of claims 1 to 12.

16. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the identification method according to any one of claims 1 to 12 is implemented.

Citation Information

Patent Citations

  • Parking space detection method and device, computer equipment and storage medium

    CN111160172A

  • Parking control method, device, equipment and medium

    CN114734982A

  • Automatic parking method and device and electronic equipment

    CN116620261A

  • Parking space and obstacle detection method and device, electronic equipment and storage medium

    CN118135543A