Scene object detection apparatus, method, electronic device, and storage medium

By encoding and fusing features from visual sensor images, and generating and adjusting bounding boxes from point cloud data, the deviation problem in the detection of irregular vehicle structures in existing technologies is solved, enabling accurate bounding box determination for irregularly shaped objects and improving detection accuracy.

CN123181807APending Publication Date: 2026-11-27BEIJING HORIZON INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611373296.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-04
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

Existing target detection models are unable to accurately represent irregular structures or protruding parts in the actual shape of a vehicle, resulting in a large deviation between the 3D bounding box and the actual 3D contour of the vehicle, making it impossible to accurately determine the complete 3D spatial range of the vehicle.

Method used

By acquiring images from a visual sensor, feature encoding and fusion are performed to generate point cloud data of a 3D scene and initial bounding boxes of scene objects. The bounding boxes are then adjusted based on the point cloud data to accurately determine the bounding boxes of irregularly shaped scene objects.

Benefits of technology

It achieves an accurate reflection of the actual spatial occupancy of irregularly shaped scene objects, precisely determines the bounding boxes of irregularly shaped scene objects, and improves the accuracy and reliability of scene object detection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123181807A_ABST
    Figure CN123181807A_ABST
Patent Text Reader

Abstract

A scene object detection apparatus, method, electronic device and storage medium are disclosed. The scene object detection apparatus comprises one or more processors configured to: acquire an image collected by a visual sensor; encode features of the image to obtain first image features; fuse the first image features to obtain second image features; decode the second image features to obtain point cloud data of a three-dimensional scene and a first bounding box of a scene object; and adjust the first bounding box based on the point cloud data to obtain a second bounding box of the scene object. The present disclosure can accurately determine the bounding box of a special-shaped scene object.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of computer technology, and in particular to a scene object detection device, method, electronic device, and storage medium. Background Technology

[0002] With the development of intelligent driving technology, target detection has become a core task of environmental perception. In real-world open road scenarios, some vehicles, due to the loading of irregular cargo or the outward extension of vehicle parts due to insecure closure, cause the actual outline of the vehicle to exceed the standard body outline, forming an irregular shape.

[0003] Currently, mainstream object detection models typically output standard 3D bounding boxes to represent the spatial location and dimensions of a vehicle. However, because standard 3D bounding boxes usually employ regular geometric shapes and represent the vehicle's 3D spatial extent through limited parameters, they struggle to accurately fit irregular structures or protruding parts in the actual vehicle shape. This results in a significant deviation between the 3D bounding box and the vehicle's actual 3D contour, making it difficult to accurately represent the vehicle's complete 3D spatial extent. Summary of the Invention

[0004] To address the aforementioned technical issues, this disclosure provides a scene object detection device, method, electronic device, and storage medium to accurately determine the bounding boxes of irregularly shaped scene objects.

[0005] A first aspect of this disclosure provides a scene object detection apparatus, including one or more processors, the one or more processors being configured to: Acquire images captured by the vision sensor; The image is feature-encoded to obtain the first image features; The first image features are fused to obtain the second image features; The second image features are decoded to obtain point cloud data of the 3D scene and the first bounding box of the scene object; Based on the point cloud data, the first bounding box is adjusted to obtain the second bounding box of the scene object.

[0006] A second aspect of this disclosure provides a scene object detection method, including: Acquire images captured by the vision sensor; The image is feature-encoded to obtain the first image features; The first image features are fused to obtain the second image features; The second image features are decoded to obtain point cloud data of the 3D scene and the first bounding box of the scene object; Based on the point cloud data, the first bounding box is adjusted to obtain the second bounding box of the scene object.

[0007] A third aspect of this disclosure provides a computer-readable storage medium storing a computer program that is executed by a processor to perform the scene object detection method provided in the second aspect of the present disclosure.

[0008] A fourth aspect of this disclosure provides an electronic device, the electronic device comprising: a processor; a memory for storing executable instructions of the processor; the processor being configured to read the executable instructions from the memory and execute the instructions to implement the scene object detection method provided in the second aspect of the above-described embodiment.

[0009] A fifth aspect of this disclosure provides a computer program product that, when instructions in the computer program product are executed by a processor, performs the scene object detection method provided in the second aspect of this disclosure.

[0010] This disclosure provides a scene object detection device, method, electronic device, and storage medium. The scene object detection device includes one or more processors configured to: acquire images collected by a visual sensor; encode the images to obtain first image features; fuse the first image features to obtain second image features; decode the second image features to obtain point cloud data of a 3D scene and a first bounding box of a scene object; and adjust the first bounding box based on the point cloud data to obtain a second bounding box of the scene object. The processor uses a first point cloud point in the point cloud data of the main structural part of the irregular scene object (the part enclosed by the first bounding box) as a reference point, and determines a second point cloud point of the irregular structural part of the irregular scene object in the point cloud data of the 3D scene. Then, the processor adjusts the first bounding box to the second bounding box based on the first and second point cloud points. The second bounding box can enclose both the main structural part and the irregular structural part of the irregular scene object. Thus, the second bounding box can accurately reflect the actual spatial occupancy of the irregular scene object, thereby accurately determining the bounding box of the irregular scene object. Attached Figure Description

[0011] Figure 1 This is a schematic diagram of the structure of a scene object detection device provided in an exemplary embodiment of this disclosure.

[0012] Figure 2 This is a flowchart illustrating a scene object detection method provided in an exemplary embodiment of this disclosure.

[0013] Figure 3This is a flowchart illustrating a scene object detection method provided in another exemplary embodiment of this disclosure.

[0014] Figure 4 This is a flowchart illustrating a scene object detection method provided in another exemplary embodiment of this disclosure.

[0015] Figure 5 This is a flowchart illustrating a scene object detection method provided in another exemplary embodiment of this disclosure.

[0016] Figure 6 This is a flowchart illustrating a scene object detection method provided in another exemplary embodiment of this disclosure.

[0017] Figure 7 This is a flowchart illustrating a scene object detection method provided in another exemplary embodiment of this disclosure.

[0018] Figure 8 This is a flowchart illustrating a scene object detection method provided in another exemplary embodiment of this disclosure.

[0019] Figure 9 This is a flowchart illustrating a scene object detection method provided in another exemplary embodiment of this disclosure.

[0020] Figure 10 This is a flowchart illustrating a scene object detection method provided in another exemplary embodiment of this disclosure.

[0021] Figure 11 This is a flowchart illustrating a scene object detection method provided in another exemplary embodiment of this disclosure.

[0022] Figure 12 This is a flowchart illustrating a scene object detection method provided in another exemplary embodiment of this disclosure.

[0023] Figure 13 This is a schematic diagram of the structure of a scene object detection device provided in an exemplary embodiment of this disclosure.

[0024] Figure 14 This is a structural diagram of an electronic device provided in an exemplary embodiment of this disclosure. Detailed Implementation

[0025] To explain this disclosure, exemplary embodiments of the disclosure will now be described in detail with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of the disclosure, and not all of them. It should be understood that the disclosure is not limited to exemplary embodiments.

[0026] It should be noted that, unless otherwise specifically stated, the relative arrangement, numerical expressions, and values ​​of the components and steps set forth in these embodiments do not limit the scope of this disclosure.

[0027] Application Overview The intelligent driving described in this disclosure encompasses multiple fields, including autonomous driving, driver assistance systems, and robotic systems. Autonomous driving technology aims to enable vehicles to drive completely autonomously in various complex road conditions without human intervention; it is also known as driverless driving and represents an advanced form of intelligent driving. Driver assistance systems, through a series of sensors and algorithms, provide drivers with real-time road condition information, warnings, and support for some driving operations, such as automatic parking and adaptive cruise control, aiming to improve driving safety and convenience. Robotic systems further extend intelligent driving technology to service robots, industrial robots, and other fields, enabling robots to autonomously navigate, avoid obstacles, and complete specific tasks in complex environments, such as logistics delivery and warehouse management, demonstrating the broad application potential of intelligent driving technology in different scenarios.

[0028] With the development of intelligent driving technology, target detection has become a core task of environmental perception. In real-world open road scenarios, some vehicles, due to the loading of irregular cargo or the outward extension of vehicle parts due to insecure closure, cause the actual outline of the vehicle to exceed the standard body outline, forming an irregular shape.

[0029] Currently, mainstream object detection models typically output standard 3D bounding boxes to represent the spatial location and dimensions of a vehicle. However, because standard 3D bounding boxes usually employ regular geometric shapes and represent the vehicle's 3D spatial extent through limited parameters, they struggle to accurately fit irregular structures or protruding parts in the actual vehicle shape. This results in a significant deviation between the 3D bounding box and the vehicle's actual 3D contour, making it difficult to accurately represent the vehicle's complete 3D spatial extent.

[0030] In this embodiment, the scene object detection device includes one or more processors configured to: acquire images collected by a visual sensor; encode the images to obtain first image features; fuse the first image features to obtain second image features; decode the second image features to obtain point cloud data of a 3D scene and a first bounding box of the scene object; and adjust the first bounding box based on the point cloud data to obtain a second bounding box of the scene object. The processor uses a first point cloud point in the point cloud data of the main structural part of the irregular scene object (the part enclosed by the first bounding box) as a reference point, and determines a second point cloud point of the irregular structural part of the irregular scene object in the point cloud data of the 3D scene. Then, the processor adjusts the first bounding box to the second bounding box based on the first and second point cloud points. The second bounding box can enclose both the main structural part and the irregular structural part of the irregular scene object. Thus, the second bounding box can accurately reflect the actual spatial occupancy of the irregular scene object, thereby accurately determining the bounding box of the irregular scene object.

[0031] Exemplary System Figure 1 This is a schematic diagram of the structure of a scene object detection device provided in an exemplary embodiment of this disclosure. Figure 1 As shown, the scene object detection device 100 includes one or more processors 110, which are configured to: acquire images collected by a visual sensor; encode the images to obtain first image features; fuse the first image features to obtain second image features; decode the second image features to obtain point cloud data of the three-dimensional scene and a first bounding box of the scene object; and adjust the first bounding box based on the point cloud data to obtain a second bounding box of the scene object.

[0032] For example, the processor 110 can acquire images captured by one or more vision sensors. These images can be multi-view images captured by vision sensors with multiple viewpoints, or single-view images captured by a vision sensor with only one viewpoint; this disclosure does not limit the scope of the images.

[0033] For each image, after obtaining the image, the processor 110 can perform feature encoding on the image to obtain the first image feature. The process of the processor 110 performing feature encoding on the image to obtain the first image feature will be described in detail later and will not be repeated here.

[0034] Since the first image features of each image mainly represent the image information of the corresponding image and do not incorporate the image information contained in the first image features of other images, after obtaining the first image features of an image, the processor 110 can perform feature fusion on the first image features of the image to obtain the second image features of the image. The process of the processor 110 performing feature fusion on the first image features to obtain the second image features will be described in detail later and will not be repeated here.

[0035] After obtaining the second image features of the image, the processor 110 can determine the point cloud data of the 3D scene and the first bounding box of the scene objects based on the second image features. The point cloud data of the 3D scene is used to represent the geometric structure of all objects in the 3D scene. The first bounding box of the scene objects is a 3D bounding box that encloses the main structural part of the scene objects. The main structural part of the scene objects refers to the structural parts that constitute the basic shape and main spatial range of the scene objects. For example, when the scene object is a vehicle, the main structural part of the scene object can be the vehicle body, including the front, the cargo box, and other structural parts that constitute the main spatial range of the vehicle. The processing procedure of the processor 110 determining the point cloud data of the 3D scene and the first bounding box of the scene objects based on the second image features will be described in detail later and will not be repeated here.

[0036] After obtaining the point cloud data of the 3D scene and the first bounding box of the scene object, the processor 110 can further adjust the first bounding box based on the point cloud data to obtain the second bounding box of the scene object. The second bounding box of the scene object is a 3D bounding box that encloses the main structural part and the irregular structural part of the scene object. The scene object may also include irregular structural parts (also called outward-extending structural parts) extending outward relative to the main structural part. The irregular structural parts can be formed by objects carried by the scene object, or by parts of the main structure of the scene object being in a specific state. For example, when the scene object is a vehicle loaded with goods, the irregular structural parts may include goods that extend beyond the main spatial range of the vehicle body; when the scene object is a vehicle with its doors open, the irregular structural parts may include the open doors. The process by which the processor 110 adjusts the first bounding box based on the point cloud data to obtain the second bounding box of the scene object will be described in detail later and will not be repeated here.

[0037] In this embodiment, the processor uses a first point cloud point in the point cloud data of the main structural part of the irregular scene object (the part enveloped by the first bounding box) as a reference point, and determines a second point cloud point of the irregular structural part of the irregular scene object in the point cloud data of the 3D scene. Then, the processor adjusts the first bounding box to a second bounding box based on the first and second point cloud points. The second bounding box can enclose both the main structural part and the irregular structural part of the irregular scene object. In this way, the second bounding box can accurately reflect the actual space occupation of the irregular scene object, thereby accurately determining the bounding box of the irregular scene object.

[0038] In one embodiment, when the processor 110 performs the step of feature encoding of an image to obtain a first image feature, it is specifically configured to: acquire sensor parameters of a visual sensor; perform feature encoding on the sensor parameters to obtain sensor features; divide the image into image blocks to obtain an image block sequence; perform feature encoding on the image block sequence to obtain an image block feature sequence; and perform feature fusion on the image block feature sequence and the sensor features to obtain the first image feature.

[0039] For example, the processor 110 can acquire sensor parameters from one or more vision sensors. These sensor parameters may include intrinsic parameters (such as focal length, principal point coordinates, etc.) and extrinsic parameters (such as rotation matrix, translation vector, etc.) of the vision sensors.

[0040] The sensor parameters of a visual sensor are typically represented in scalar form and cannot be directly fused with image features. Therefore, after obtaining the sensor parameters of the visual sensor, the processor 110 can further encode the sensor parameters to obtain the sensor features of the visual sensor. It should be noted that if the processor 110 cannot obtain the sensor parameters of the visual sensor, it can use pre-learned, universal sensor features shared by all visual sensors as the sensor features of the visual sensor. For example, the sensor feature of the visual sensor could be Token_Sensor.

[0041] Images acquired by visual sensors typically have high resolution, and directly encoding the features of the entire image can easily lead to high computational complexity. Therefore, after obtaining the image acquired by the visual sensor, the processor 110 can divide the image into multiple image patches according to a preset image patch size. Adjacent image patches may not overlap or may partially overlap; this embodiment of the present disclosure does not impose any limitations. Then, the processor 110 can arrange the image patches in a preset order (e.g., from top to bottom, from left to right) to obtain an image patch sequence. For example, the processor 110 divides the image into four patches, labeled Patch1, Patch2, Patch3, and Patch4 in a top-to-bottom, left-to-right order, resulting in an image patch sequence of {Patch1, Patch2, Patch3, Patch4}.

[0042] After obtaining the image patch sequence of an image, the processor 110 can perform feature encoding on each image patch in the image patch sequence to obtain the initial image patch features of each image patch. Then, the processor 110 can generate the position code of each image patch according to its position in the image. Simultaneously, the processor 110 can also determine the viewpoint code corresponding to the image based on the sensor parameters of the vision sensor that acquired the image, and assign the viewpoint code to each image patch in the image. The sensor parameters may include parameters characterizing the acquisition viewpoint of the vision sensor, such as the intrinsic parameters, extrinsic parameters, or mounting pose of the vision sensor. For different image patches in the same image, their corresponding position codes are different, but their corresponding viewpoint codes are the same. Afterwards, the processor 110 can perform feature fusion on the initial image patch features, position codes, and viewpoint codes of each image patch to obtain the final image patch features of each image patch, thereby obtaining the image patch feature sequence corresponding to the image. For example, in one implementation, the processor 110 can add the initial image patch features, position codes, and viewpoint codes of each image patch element-wise to obtain the final image patch features of each image patch. For example, if the image patch sequence is {Patch1, Patch2, Patch3, Patch4}, the image patch feature sequence obtained after feature encoding is {Token_Patch1, Token_Patch2, Token_Patch3, Token_Patch4}.

[0043] After obtaining the sensor features and image patch feature sequence, the processor 110 can further fuse the image patch feature sequence of the image with the sensor features of the visual sensor that acquired the image to obtain the first image feature of the image. For example, if the sensor feature of the visual sensor that acquired the image is Token_Sensor, and the image patch feature sequence of the image is {Token_Patch1, Token_Patch2, Token_Patch3, Token_Patch4}, then the sensor feature of the visual sensor corresponding to the image is concatenated with the image patch feature sequence to obtain the first image feature {Token_Sensor, Token_Patch1, Token_Patch2, Token_Patch3, Token_Patch4} of the image. The first image feature includes sensor features generated by feature encoding of the sensor parameters of the visual sensor that acquired the image and image patch features generated by feature encoding of the image patches obtained from the image division. In other words, the first image feature simultaneously contains the visual semantic information of the image and the spatial geometric information reflected by the sensor parameters.

[0044] In this embodiment, the processor 110 performs feature encoding on the sensor parameters of the vision sensor to obtain the sensor features of the vision sensor. Then, the processor 110 divides the image into image blocks to obtain an image block sequence, and performs feature encoding on the image block sequence to obtain an image block feature sequence. Subsequently, the processor 110 performs feature fusion on the image block feature sequence and the sensor features of the vision sensor that acquired the image to obtain a first image feature. Thus, the first image feature simultaneously contains the visual semantic information of the image and the spatial geometric information reflected by the sensor parameters, thereby providing a reliable feature basis for the subsequent determination of point cloud data of the 3D scene and the bounding boxes of scene objects, thereby improving the accuracy and reliability of scene object detection.

[0045] In one implementation, when the processor 110 performs the step of feature fusion on the first image features to obtain the second image features, it is specifically configured to: in response to the image being a single-view image, perform intra-view feature fusion on the first image features to obtain the second image features; and in response to the image being a multi-view image, alternately perform intra-view feature fusion and cross-view feature fusion on the first image features to obtain the second image features.

[0046] For example, when the image is a single-view image, the processor 110 can perform in-view feature fusion on only the first image features to obtain the second image features. In the in-view self-attention feature fusion process, each image patch feature in the first image features of the image is only self-attention fused with other image patch features in the first image features of the image.

[0047] When the image is a multi-view image, the processor 110 can alternately perform intra-view feature fusion and cross-view feature fusion on the first image features to obtain the second image features. In one embodiment, the processor 110 can use a visual Transformer network to alternately perform intra-view feature fusion and cross-view feature fusion on the first image features of each image to obtain the second image features of each image. The visual Transformer network is composed of multiple Transformer Blocks stacked sequentially. Each Transformer Block includes a self-attention layer, a feedforward network layer, a residual connection layer, and a normalization layer. The feature fusion performed by the visual Transformer network can be divided into two stages: Stage 1, the first image features of each image are input into different Transformer Blocks, and the Transformer Blocks perform intra-view self-attention feature fusion on the first image features of each image. In the intra-view self-attention feature fusion process of Stage 1, each image block feature in the first image features of each image only undergoes self-attention feature fusion with other image block features in the first image features of that image, and does not undergo self-attention feature fusion with image block features in the first image features of other images. In Phase Two, the Transformer Block alternately performs cross-viewpoint self-attention feature fusion and intra-viewpoint self-attention feature fusion on the first image features of each image. Specifically, during the cross-viewpoint self-attention feature fusion process in Phase Two, the Transformer Block concatenates the first image features of each image to obtain an image feature sequence (also called concatenated features), and then performs self-attention feature fusion on this image feature sequence as a whole. Each image patch feature in the first image features of each image undergoes self-attention feature fusion not only with other image patch features in the first image features of that image, but also with image patch features in the first image features of other images. The intra-viewpoint self-attention feature fusion process in Phase Two is similar to that in Phase One and will not be described further here. In some embodiments, the visual Transformer network can be a Depthanthing3 network.

[0048] In this embodiment, the processor 110 can flexibly select the feature fusion method based on whether the input image is a single-view image or a multi-view image. For single-view images, the processor 110 only performs feature fusion within the viewpoint, thereby reducing computational overhead while preserving the internal details of the image. For multi-view images, the processor 110 first performs intra-view feature fusion, and then alternately performs cross-view feature fusion and intra-view feature fusion, enabling each image block to fully aggregate both local contextual information within its own viewpoint and global contextual information from all views, thereby enhancing the consistency and completeness of multi-view features.

[0049] In one implementation, when the processor 110 performs the step of feature decoding of the second image features to obtain point cloud data of the three-dimensional scene and the first bounding box of the scene object, it is specifically configured to: determine an image feature map based on the second image features; perform feature decoding on the image feature map to obtain depth information, ray information and the first bounding box of the scene object; and determine the point cloud data of the three-dimensional scene based on the depth information and ray information.

[0050] For example, since the second image features of each image are represented in one-dimensional feature form, after obtaining the second image features of each image, the processor 110 can restore the one-dimensional feature form of the second image features into a two-dimensional feature form image feature map (also called a PV (Perspective View) feature map) according to the position of the image block to which each image block feature belongs in the image. After obtaining the image feature map of each image, the processor 110 can determine the depth information, ray information, and the first bounding box of the scene objects contained in each image based on the image feature map of each image. Among them, the depth information can be represented by a depth map. The pixel value of each pixel in the depth map represents the depth value of the three-dimensional spatial point corresponding to that pixel along the optical axis direction of the vision sensor (i.e., the z-axis direction in the vision sensor coordinate system). The ray information can be represented by a ray map. The pixel value corresponding to each pixel in the ray map is used to characterize the spatial ray corresponding to that pixel. The spatial ray has the optical center of the vision sensor as the origin of the ray and passes through the position of the pixel in the image plane. The ray information of the spatial ray may include the coordinates of the ray origin and the ray direction information, which can be represented by a ray direction vector. The first bounding box of the scene object refers to the three-dimensional bounding box corresponding to the main structural part of the scene object, which typically includes the center point coordinates, length, width, height, and orientation angle. In one embodiment, the processor 110 can input the image feature map of the image into a pre-trained multi-task model. The multi-task model may include a depth prediction head, a ray prediction head, and an object detection head. Accordingly, the depth prediction head can output the depth map of the image based on the image feature map. The ray prediction head can output the ray map of the image based on the image feature map. The object detection head can output the first bounding box of the scene objects contained in the image based on the image feature map. The above-mentioned multi-task model can be a neural network with a Transformer architecture, a convolutional neural network (CNN), a recurrent neural network (RNN), or other deep learning-based neural networks, which are not limited in this embodiment.

[0051] After obtaining depth information and ray information, the processor 110 can determine the point cloud data of the 3D scene based on the depth information and ray information. In one embodiment, taking a depth map as the depth information and a ray map as the ray information, for each pixel, the processor 110 can determine the 3D coordinates of the pixel in the 3D scene based on the depth value of the pixel in the depth map and the ray vector of the pixel in the ray map. The above processing procedure performed by the processor 110 can be expressed as the following formula P. i =O i+d i ×D i Among them, P i O represents the 3D coordinates of the i-th pixel in the 3D scene. i Let d represent the coordinates of the origin of the ray at the i-th pixel. i D represents the depth value of the i-th pixel. i This represents the ray direction vector of the i-th pixel. The processor 110 repeats the above processing procedure to obtain the three-dimensional coordinates of each pixel in the three-dimensional scene, thus obtaining the point cloud data of the three-dimensional scene. The point cloud data of the three-dimensional scene is pseudo-point cloud data, distinct from the real point cloud data acquired by the LiDAR.

[0052] In this embodiment, the processor 110 determines an image feature map based on second image features. Then, the processor 110 performs feature decoding on the image feature map to obtain depth information, ray information, and a first bounding box of the scene object. Subsequently, the processor 110 determines the point cloud data of the 3D scene based on the depth information and ray information. In this way, the processor 110 can simultaneously obtain the point cloud data of the 3D scene and the first bounding box of the scene object. Subsequently, the processor 110 can adjust the first bounding box of the scene object based on the point cloud data of the 3D scene to obtain a second bounding box of the scene object, thereby realizing the recognition of irregular structural parts of the scene object.

[0053] In one implementation, when the processor 110 performs the step of adjusting the first bounding box based on point cloud data to obtain the second bounding box of the scene object, it is specifically configured to: determine the first point cloud data of the scene object based on the point cloud data and the first bounding box; add second point cloud points in the point cloud data that satisfy a preset point cloud association condition with the first point cloud points of the first point cloud data to the first point cloud data to obtain the second point cloud data of the scene object; wherein, the second point cloud points are point cloud points representing the irregular structural parts of the scene object; and adjust the first bounding box based on the second point cloud data to obtain the second bounding box of the scene object.

[0054] For each scene object, after obtaining the point cloud data of the 3D scene and the first bounding box of the scene object, the processor 110 can use the spatial position, size, and orientation of the first bounding box of the scene object as constraints, and based on the 3D coordinates of the point cloud points in the point cloud data of the 3D scene, determine the point cloud points within the first bounding box of the scene object, thus obtaining the first point cloud data representing the scene object. Since the first bounding box of the scene object is a 3D bounding box that encloses the main structural part of the scene object, the first point cloud data of the scene object only contains the point cloud points of the main structural part of the scene object.

[0055] Point cloud points of irregularly shaped structural parts of scene objects are often outside the first bounding box and not included in the first point cloud data of the scene object. Therefore, the processor 110 can further determine second point cloud points in the point cloud data that satisfy preset point cloud association conditions with the first point cloud points of the first point cloud data. These point cloud association conditions are used to filter out second point cloud points of irregularly shaped structural parts that are associated with the first point cloud points of the main structural parts of the scene object from the point cloud data. The second point cloud points represent the irregularly shaped structural parts of the scene object. Then, the processor 110 can add the second point cloud points to the first point cloud data to obtain the second point cloud data of the scene object. The second point cloud data of the scene object includes not only the point cloud points of the main structural parts of the scene object but also the point cloud points of the irregularly shaped structural parts. The process of adding second point cloud points that satisfy preset point cloud association conditions with the first point cloud points of the first point cloud data to the first point cloud data to obtain the second point cloud data of the scene object will be described in detail later and will not be repeated here.

[0056] After obtaining the second point cloud data of the scene object, the processor 110 can adjust the first bounding box based on the second point cloud data to obtain the second bounding box of the scene object. The second bounding box of the scene object is a 3D bounding box that encloses the main structural part and the irregular structural part of the scene object. The process by which the processor 110 adjusts the first bounding box based on the second point cloud data to obtain the second bounding box of the scene object will be described in detail later and will not be repeated here.

[0057] In this embodiment, the processor 110 uses the point cloud points of the main structural part of the irregular scene object (i.e., the first point cloud points in the first point cloud data) as reference point cloud points, and determines the point cloud points of the irregular structural part of the irregular scene object (i.e., the second point cloud points that satisfy the point cloud association conditions with the first point cloud points) in the point cloud data of the 3D scene. Then, the processor 110 adds the second point cloud points to the first point cloud data to obtain the second point cloud data of the irregular scene object. Since the second point cloud data of the irregular scene object contains point cloud data of both the main structural part and the irregular structural part, the second bounding box obtained by the processor 110 based on the second point cloud data by adjusting the first bounding box of the irregular scene object can accurately reflect the actual space occupation of the irregular scene object, thereby accurately determining the bounding box of the irregular scene object.

[0058] In one implementation, when the processor 110 executes the step of adding a second point cloud point that satisfies a preset point cloud association condition with a first point cloud point in the first point cloud data to the first point cloud data to obtain the second point cloud data of the scene object, the specific configuration is as follows: determining a third point cloud point in the point cloud data whose distance from the first point cloud point in the first point cloud data is less than a preset first distance threshold; determining a second point cloud point in the third point cloud data that satisfies a preset geometric connection relationship with the first point cloud point; and adding the second point cloud point to the first point cloud data to obtain the second point cloud data of the scene object.

[0059] For example, processor 110 divides some point cloud points in the point cloud data of a 3D scene into the first point cloud data of each scene object. However, the number of remaining point cloud points in the point cloud data of the 3D scene (i.e., point cloud points that do not belong to the first point cloud data of any scene object) is still large. To reduce computation, for each scene object, processor 110 can use each first point cloud point in the first point cloud data of that scene object as a reference point. Then, for each first point cloud point used as a reference point, processor 110 can determine the distance (e.g., Euclidean distance) between the first point cloud point and each remaining point cloud point based on the 3D coordinates of the first point cloud point and the 3D coordinates of each remaining point cloud point. Afterward, for each remaining point cloud point, if the distance between the remaining point cloud point and the first point cloud point is less than a preset first distance threshold, processor 110 can determine the remaining point cloud point as a third point cloud point in the point cloud data whose distance to any first point cloud point in the first point cloud data is less than the first distance threshold. Processor 110 repeats the above processing procedure to obtain the set of third point cloud points corresponding to the scene object.

[0060] The point cloud points of the irregular structural parts of a scene object are typically geometrically connected to the point cloud points of the main structural parts of the vehicle. Therefore, after obtaining the third point cloud point set corresponding to the scene object, the processor 110 can determine whether each third point cloud point in the third point cloud point set satisfies a preset geometric connection relationship with any first point cloud point in the first point cloud data of the scene object. If the third point cloud point satisfies a geometric connection relationship with any first point cloud point, the processor 110 can determine that the third point cloud point is a point cloud point of the irregular structural part of the scene object. Accordingly, the processor 110 can determine the third point cloud point as the second point cloud point corresponding to the scene object. The processor 110 repeats the above processing procedure to obtain the second point cloud point set corresponding to the scene object. The process by which the processor 110 determines the second point cloud point in the third point cloud point that satisfies a preset geometric connection relationship with the first point cloud point will be described in detail later and will not be repeated here.

[0061] After obtaining the second point cloud set corresponding to the scene object, the processor 110 can further add each second point cloud point in the second point cloud set to the first point cloud data of the scene object to obtain the second point cloud data of the scene object. The second point cloud data includes point cloud points of the main structural part and point cloud points of the irregular structural part of the scene object.

[0062] It should be noted that the processor 110 can iteratively execute the above processing procedure until a preset iteration stopping condition is met (such as the absence of a second point cloud point, or the reaching of a preset number of iterations). In other words, after obtaining the second point cloud data of the scene object, the processor 110 can further identify candidate point cloud points in the point cloud data whose distance to the point cloud points in the second point cloud data (including the first and second point cloud points) is less than a preset first distance threshold. Then, the processor 110 can identify target point cloud points among the candidate point cloud points that satisfy a preset geometric connection relationship with the point cloud points in the second point cloud data, and add the target point cloud points to the second point cloud data to obtain the updated point cloud data of the scene object.

[0063] In this embodiment of the present disclosure, firstly, the processor 110 filters the point cloud data for third point cloud points whose distance to the first point cloud point in the first point cloud data of the scene object is less than a first distance threshold, thereby quickly determining the range of candidate point cloud points and improving processing efficiency. Then, the processor 110 further filters the third point cloud points for second point cloud points that satisfy a geometric connection relationship with the first point cloud point in the first point cloud data of the scene object, thereby accurately filtering out point cloud points of abnormal parts of the scene object.

[0064] In one embodiment, when the processor 110 executes the step of determining a second point cloud point in the third point cloud point that satisfies a preset geometric connection relationship with the first point cloud point, it is specifically configured to: determine point cloud points whose distance from the third point cloud point is less than a preset second distance threshold, and obtain neighboring point cloud points of the third point cloud point; in response to the neighboring point cloud point of the fourth point cloud point in the third point cloud point being the first point cloud point, or the fourth point cloud point establishing a geometric connection path with the first point cloud point through at least one neighboring point cloud point, determine the fourth point cloud point as a second point cloud point that satisfies a geometric connection relationship with the first point cloud point.

[0065] For example, the third point cloud point in the third point cloud set of the scene object is not necessarily a point cloud point of the irregular structural part of the scene object. It may be a discrete noise point cloud point around the scene object, a point cloud point of other scene objects, or a point cloud point that overlaps with the scene object in local space but is not actually connected. Therefore, for each third point cloud point, the processor 110 can determine point cloud points in the point cloud data of the 3D scene that are less than a preset second distance threshold, and obtain the neighboring point cloud points of the third point cloud point. The second distance threshold is less than the first distance threshold. In one embodiment, in order to reduce the amount of computation, the processor 110 can determine point cloud points in the first point cloud data and the third point cloud set of the scene object that are less than the second distance threshold, and obtain the neighboring point cloud points of the third point cloud point. That is, the neighboring point cloud points of the third point cloud point can be the first point cloud point in the first point cloud data of the scene object, or other third point cloud points in the third point cloud set of the scene object. For example, the first point cloud data includes 10 first point cloud points, namely P 1,1 P 1,2 ...P 1,10 The third point cloud set includes 6 third point cloud points, namely P 3,1 P 3,2 P 3,3 P 3,4 P 3,5 P 3,6 Among them, P 3,1 The neighborhood point cloud points are P 1,1 P 1,5 P 3,2 and P 3,3 P 3,2 The neighborhood point cloud points are P 1,7 P 1,10 P 3,1 and P 3,3 P 3,3 The neighborhood point cloud points are P 3,1 P 3,2 and P 3,4 P 3,4 The neighborhood point cloud points are P 3,4 and P 3,5 P 3,5 The neighborhood point cloud points are P 3,4 P 3,6 The neighboring point cloud points are empty.

[0066] After obtaining the neighboring point clouds of each third point cloud, the processor 110 can further determine, for each third point cloud, whether its neighboring point clouds are first point clouds, or whether the third point cloud can establish a geometric connection path with the first point cloud through at least one consecutive neighboring point clouds. In response to the fact that the neighboring point clouds of a fourth point cloud among the third point clouds are first point clouds, or that the fourth point cloud can establish a geometric connection path with the first point cloud through at least one consecutive neighboring point clouds, the processor 110 can determine that the fourth point cloud is a second point cloud that satisfies a geometric connection relationship with the first point cloud. For example, the fourth point cloud P... 3,1 The neighboring point cloud points are directly the first point cloud point P. 1,1 and P 1,5 Then the fourth point cloud point P 3,1 This is the second point cloud point. The fourth point cloud point P... 3,2 The neighboring point cloud points are directly the first point cloud point P. 1,7 and P 1,10 Then the fourth point cloud point P 3,2 This is the second point cloud point. The fourth point cloud point P... 3,3 Through a neighborhood point cloud point P 3,1 With the first point cloud point P 1,1 Establishing a geometric connection path, the fourth point cloud point P... 3,3 This is the second point cloud point. The fourth point cloud point P... 3,4 Through two consecutive neighborhood point cloud points P 3,3 and P 3,1 With the first point cloud point P 1,1 Establishing a geometric connection path, the fourth point cloud point P... 3,4 This is the second point cloud point. The fourth point cloud point P... 3,5 Through three consecutive neighborhood point cloud points P 3,4 P 3,3 and P 3,1 With the first point cloud point P 1,1 Establishing a geometric connection path, the fourth point cloud point P... 3,5 This is the second point cloud point. The third point cloud point P... 3,6 If a point in the neighboring point cloud is not the first point in the point cloud, and a geometric connection path cannot be established between the third point in the point cloud and the first point in the point cloud through at least one consecutive neighboring point in the point cloud, then the third point in the point cloud P... 3,6 It is not the second point cloud point.

[0067] In this embodiment of the present disclosure, the processor 110 uses the neighboring point cloud points of the third point cloud point as a basis and adopts two filtering methods: either using the neighboring point cloud points as the first point cloud point, or establishing a geometric connection path between the first point cloud point and at least one continuous neighboring point cloud point. This allows the processor to filter out the second point cloud points that satisfy the geometric connection relationship with the first point cloud point from the third point cloud point, thereby accurately filtering out the second point cloud points that belong to the irregular structure part of the scene object.

[0068] In one implementation, when the processor 110 performs the step of adding the second point cloud point to the first point cloud data to obtain the second point cloud data of the scene object, it is specifically configured to: in response to the fact that the second point cloud point can be added to the first point cloud data of different scene objects, determine the target scene object that meets the preset point cloud addition conditions with the second point cloud point; add the second point cloud point to the first point cloud data of the target scene object to obtain the second point cloud data of the target scene object.

[0069] For example, when multiple scene objects are close to each other or have partial spatial overlap, a certain second point cloud point may simultaneously satisfy geometric connectivity with the first point cloud data of multiple scene objects. In this case, the second point cloud point can be added to the first point cloud data of different scene objects, resulting in an attribution conflict. For instance, if two trucks are parked next to each other, and the protruding cargo of the first truck extends near the second truck, a certain second point cloud point on the protruding cargo of the first truck satisfies geometric connectivity with the first point cloud data of both the first and second trucks. This second point cloud point can be added to the first point cloud data of both the first and second trucks, resulting in an attribution conflict.

[0070] If the processor 110 adds the same second point cloud point to the first point cloud data of different scene objects simultaneously, it will cause the second point cloud data of different scene objects to overlap, resulting in overlapping bounding boxes of different scene objects. Therefore, for each second point cloud point, if the second point cloud point can be added to the first point cloud data of different scene objects, the processor 110 can determine the target scene object that meets the preset point cloud addition conditions among the different scene objects. The point cloud addition conditions are used to determine the unique target scene object to which the second point cloud point belongs when it simultaneously belongs to different scene objects. The process by which the processor 110 determines the target scene object that meets the preset point cloud addition conditions in response to the second point cloud point being addable to the first point cloud data of different scene objects will be described in detail later and will not be repeated here.

[0071] After the processor 110 determines the target scene object that meets the point cloud addition conditions with the second point cloud point, it can add the second point cloud point to the first point cloud data of the target scene object to obtain the second point cloud data of the target scene object.

[0072] In this embodiment of the present disclosure, when the second point cloud point can be added to the first point cloud data of different scene objects, the processor 110 adds the second point cloud point to the first point cloud data of the target scene object that meets the point cloud addition conditions with the second point cloud point. In this way, the processor 110 can ensure that each second point cloud point is added to the first point cloud data of its uniquely belonging target scene object, thereby avoiding the duplication of point cloud data of different scene objects, and thus avoiding the overlap of bounding boxes of different scene objects, improving the accuracy and reliability of scene object detection.

[0073] In one implementation, when the processor 110 executes the step of determining a target scene object that satisfies a preset point cloud addition condition with respect to the second point cloud point, it is specifically configured to: in response to the first scene object among different scene objects having the longest geometric connection path established with the second point cloud point, determine the first scene object as a target scene object that satisfies the point cloud addition condition with respect to the second point cloud point; in response to the second scene object among different scene objects having the shortest distance with respect to the second point cloud point, determine the second scene object as a target scene object that satisfies the point cloud addition condition with respect to the second point cloud point; in response to the pixel position corresponding to the second point cloud point being located within the two-dimensional bounding box of a third scene object among different scene objects, determine the third scene object as a target scene object that satisfies the point cloud addition condition with respect to the second point cloud point.

[0074] For example, the length of the geometric connection path directly reflects the strength of the structural continuity between the second point cloud and the scene object. The longer the geometric connection path, the more likely the second point cloud is connected to the scene object through a more continuous and denser link of point clouds, and the greater the likelihood that it belongs to a naturally extended irregular structural part of the scene object. Therefore, when the second point cloud simultaneously satisfies geometric connection relationships with multiple scene objects, the processor 110 can determine the first scene object with the longest geometric connection path established with the second point cloud among different scene objects. Then, the processor 110 can determine the first scene object as the target scene object that satisfies the point cloud addition conditions with the second point cloud.

[0075] The distance directly reflects the proximity between the second point cloud and the scene object. The shorter the distance, the closer the second point cloud is to the scene object, and the greater the likelihood that it belongs to a naturally extending irregular structure of the scene object. Therefore, when the second point cloud has the same longest geometric connection path with multiple scene objects, the processor 110 can determine the second scene object with the shortest distance to the second point cloud among different scene objects. Then, the processor 110 can determine the second scene object as the target scene object that satisfies the point cloud addition conditions with the second point cloud. The second scene object is the scene object among different scene objects whose longest geometric connection path to the second point cloud is also the shortest distance to the second point cloud.

[0076] The second point cloud point corresponds one-to-one with its corresponding pixel in the image. The pixel position of the second point cloud point in the image directly reflects the actual source of the second point cloud point. If the pixel position of the second point cloud point falls within the two-dimensional bounding box of a scene object, it is more likely to belong to the irregular structure part of the naturally extended part of the scene object. Therefore, when the second point cloud point has the same shortest distance to multiple scene objects, the processor 110 can determine the third scene object to which the two-dimensional bounding box of the pixel position of the second point cloud point belongs among different scene objects. Then, the processor 110 can determine the third scene object as the target scene object that meets the point cloud addition conditions with the second point cloud point. Herein, the third scene object is the scene object to which the two-dimensional bounding box of the pixel position of the second point cloud point belongs among different scene objects, where the geometric connection path established with the second point cloud point is the longest geometric connection path, the distance to the second point cloud point is the shortest distance, and the two-dimensional bounding box of the pixel position of the second point cloud point belongs. If the pixel position corresponding to the second point cloud point is not located within the two-dimensional bounding box of any scene object in different scene objects, the processor 110 determines the second point cloud point as a background point cloud point or a noise point cloud point and does not add it to the first point cloud data of any scene object.

[0077] In this embodiment of the disclosure, when the second point cloud point can be added to the first point cloud data of multiple scene objects, the processor 110 sequentially determines the target scene object to which the second point cloud point uniquely belongs among different scene objects according to the judgment order of longest geometric connection path, shortest distance, and pixel position within the two-dimensional bounding box. In this way, the processor 110 can ensure that each second point cloud point is added to the first point cloud data of its uniquely belonging target scene object, thereby avoiding the duplication of point cloud data between different scene objects, and thus avoiding the overlap of bounding boxes between different scene objects, improving the accuracy and reliability of scene object detection.

[0078] In one implementation, when the processor 110 performs the step of adjusting the first bounding box based on the second point cloud data to obtain the second bounding box of the scene object, it is specifically configured to: determine the different pixels of the fifth point cloud point in the second point cloud data in different view images; determine the depth value of the different pixels based on the depth information of the different view images; in response to the error of the depth value of the different pixels being greater than a preset error threshold, remove the fifth point cloud point from the second point cloud data to obtain the third point cloud data of the scene object; and adjust the first bounding box based on the third point cloud data to obtain the second bounding box of the scene object.

[0079] For example, the point cloud data of a 3D scene is pseudo-point cloud data determined by the depth and ray information corresponding to the image. Due to factors such as lighting conditions and object occlusion, the corresponding depth and ray information of the image may be deviated or incorrect, resulting in some point cloud points in the 3D scene's point cloud data being noisy point cloud points. Taking a first-view image acquired by a first-view vision sensor from different perspectives as an example, for each point cloud point (i.e., the fifth point cloud point) in the second point cloud data of the scene object, the processor 110 can, based on the transformation matrix between the sensor coordinate system and the world coordinate system of the first-view vision sensor, back-project the fifth point cloud point from the world coordinate system to the sensor coordinate system of the first-view vision sensor to obtain the 3D coordinates of the fifth point cloud point in the sensor coordinate system of the first-view vision sensor. Then, the processor 110 can, based on the sensor parameters of the first-view vision sensor, back-project the fifth point cloud point from the sensor coordinate system to the image coordinate system to obtain the pixel coordinates of the fifth point cloud point in the first-view image, i.e., obtain the pixel point of the fifth point cloud point in the first-view image.

[0080] After obtaining the pixel of the fifth point cloud in the first-view image, the processor 110 can further determine the first depth value of the pixel based on the depth information corresponding to the first-view image. Then, the processor 110 can determine the depth coordinate (i.e., the z-axis coordinate) of the fifth point cloud in the three-dimensional coordinate system of the visual sensor in the first view as the second depth value of the pixel. Then, the processor 110 can determine the absolute value of the difference between the first depth value and the second depth value as the error of the pixel's depth value. The processor 110 repeats the above processing procedure to obtain the error of the depth value of different pixels of the fifth point cloud in different view images.

[0081] If the error in the depth value of a pixel in any viewpoint image of the fifth point cloud exceeds a preset error threshold, then the fifth point cloud is considered a noisy point cloud. Accordingly, the processor 110 can remove the fifth point cloud from the second point cloud data to obtain the third point cloud data of the scene object. Then, the processor 110 can adjust the first bounding box based on the third point cloud data to obtain the second bounding box of the scene object. The process of adjusting the first bounding box based on the third point cloud data to obtain the second bounding box of the scene object will be described in detail later and will not be repeated here.

[0082] In this embodiment of the present disclosure, the processor 110 uses the depth value error of the same point cloud point in images from different viewpoints to remove noisy point cloud points in the second point cloud data, thereby avoiding the influence of noisy point cloud points on the determination of the bounding box of scene objects and improving the accuracy and reliability of scene object detection.

[0083] In one implementation, when the processor 110 performs the step of adjusting the first bounding box based on the third point cloud data to obtain the second bounding box of the scene object, it is specifically configured to: determine a sixth point cloud point in the third point cloud data that is outside the boundary surface of the first bounding box; in response to the fact that the number of point cloud points of the sixth point cloud point is greater than a preset number threshold and the distance between the sixth point cloud point and the boundary surface is greater than a preset third distance threshold, adjust the boundary surface along the outward normal direction of the boundary surface based on the maximum distance between the sixth point cloud point and the boundary surface to obtain the second bounding box of the scene object.

[0084] For example, the first bounding box of the scene object encloses the main structural portion of the scene object, while the irregular structural portion of the scene object may only extend beyond a portion of the boundary surface of the first bounding box. For each boundary surface of the first bounding box, the processor 110 can determine the planar equation and outward normal direction of the boundary surface based on the center point coordinates, length, width, height, and orientation angle of the first bounding box. The outward normal direction of the boundary surface refers to the normal direction perpendicular to the boundary surface and pointing outward from the center point coordinates of the first bounding box as the origin. Then, the processor 110 can determine the sixth point cloud point in the third point cloud data located outside the boundary surface based on the three-dimensional coordinates of each point cloud point in the third point cloud data, the planar equation of the boundary surface, and the outward normal direction.

[0085] Due to factors such as depth estimation errors and point cloud noise, there may be a small number of discrete noise point clouds outside the boundary surface. These discrete noise point clouds are few in number and close to the boundary surface. If these noise point clouds are mistakenly identified as real irregular structures, the bounding box of the scene object will be over-enlarged, introducing a large amount of blank space. Therefore, after obtaining the sixth point cloud outside the boundary surface, the processor 110 can determine whether the number of points in the sixth point cloud is greater than a preset threshold, and whether the average distance between the sixth point cloud and the boundary surface is greater than a preset third distance threshold. The distance between the sixth point cloud and the boundary surface is the perpendicular distance between the sixth point cloud and the boundary surface. If the number of points in the sixth point cloud is greater than the preset threshold, and the distance between the sixth point cloud and the boundary surface is greater than the preset third distance threshold, then the sixth point cloud outside the boundary surface is not a noise point cloud. Accordingly, based on the maximum distance between the sixth point cloud and the boundary surface, the processor 110 moves the boundary surface by the maximum distance along the outward normal direction of the boundary surface to obtain the second bounding box of the scene object.

[0086] It should be noted that if there is no sixth point cloud point outside a certain boundary face of the first bounding box, the processor 110 does not need to adjust the boundary face. If there is a sixth point cloud point outside a certain boundary face of the first bounding box, but the number of the sixth point cloud point outside the boundary face is less than or equal to a preset number threshold, or the average distance between the sixth point cloud point outside the boundary face and the boundary face is less than or equal to a preset third distance threshold, the processor 110 also does not need to adjust the boundary face.

[0087] In this embodiment, the processor 110 only adjusts the boundary surfaces of the irregular structural portion of the scene object that extend beyond the first bounding box to obtain the second bounding box of the scene object. In this way, the second bounding box of the scene object, while fully encompassing both the main structural portion and the irregular structural portion of the scene object, is not excessively enlarged, preventing the introduction of large amounts of blank space, thereby improving the accuracy and reliability of scene object detection.

[0088] Exemplary methods Figure 2 This is a schematic flowchart of a scene object detection method provided in an exemplary embodiment of this disclosure. This embodiment can be applied to electronic devices, such as... Figure 2 As shown, it includes the following steps: Step 201: Acquire the image captured by the vision sensor.

[0089] Step 202: Perform feature encoding on the image to obtain the first image features.

[0090] Step 203: Perform feature fusion on the first image features to obtain the second image features.

[0091] Step 204: Decode the features of the second image to obtain the point cloud data of the 3D scene and the first bounding box of the scene object.

[0092] Step 205: Based on the point cloud data, adjust the first bounding box to obtain the second bounding box of the scene object.

[0093] In one embodiment, such as Figure 3 As shown above, in the above Figure 2 Based on the illustrated embodiment, step 202 may include the following steps: Step 301: Obtain the sensor parameters of the vision sensor.

[0094] Step 302: Encode the sensor parameters to obtain sensor features.

[0095] Step 303: Divide the image into image blocks to obtain an image block sequence.

[0096] Step 304: Perform feature encoding on the image patch sequence to obtain the image patch feature sequence.

[0097] Step 305: Perform feature fusion on the image patch feature sequence and sensor features to obtain the first image features.

[0098] In one embodiment, such as Figure 4 As shown above, in the above Figure 2 Based on the illustrated embodiment, step 203 may include the following steps: Step 401: In response to the image being a single-view image, perform intra-view feature fusion on the first image features to obtain the second image features.

[0099] Step 402: In response to the image being a multi-view image, the first image features are alternately fused within the view and fused across the view to obtain the second image features.

[0100] In one embodiment, such as Figure 5 As shown above, in the above Figure 2 Based on the illustrated embodiment, step 204 may include the following steps: Step 501: Determine the image feature map based on the second image features.

[0101] Step 502: Decode the image feature map to obtain depth information, ray information, and the first bounding box of the scene object.

[0102] Step 503: Based on depth information and ray information, determine the point cloud data of the 3D scene.

[0103] In one embodiment, such as Figure 6As shown above, in the above Figure 2 Based on the illustrated embodiment, step 205 may include the following steps: Step 601: Based on the point cloud data and the first bounding box, determine the first point cloud data of the scene object.

[0104] Step 602: Add the second point cloud points in the point cloud data that satisfy the preset point cloud association conditions with the first point cloud points in the first point cloud data to the first point cloud data to obtain the second point cloud data of the scene object. The second point cloud points are point cloud points representing the irregular structural parts of the scene object.

[0105] Step 603: Based on the second point cloud data, adjust the first bounding box to obtain the second bounding box of the scene object.

[0106] In one embodiment, such as Figure 7 As shown above, in the above Figure 6 Based on the illustrated embodiment, step 602 may include the following steps: Step 701: Determine the third point cloud point in the point cloud data whose distance from the first point cloud point in the first point cloud data is less than a preset first distance threshold.

[0107] Step 702: Determine the second point cloud point in the third point cloud point that satisfies the preset geometric connection relationship with the first point cloud point.

[0108] Step 703: Add the second point cloud data to the first point cloud data to obtain the second point cloud data of the scene object.

[0109] In one embodiment, such as Figure 8 As shown above, in the above Figure 7 Based on the illustrated embodiment, step 702 may include the following steps: Step 801: Determine the point cloud points whose distance from the third point cloud point is less than the preset second distance threshold, and obtain the neighboring point cloud points of the third point cloud point.

[0110] Step 802: In response to the fact that the neighboring point cloud points of the fourth point cloud point in the third point cloud point are the first point cloud point, or the fourth point cloud point establishes a geometric connection path with the first point cloud point through at least one neighboring point cloud point, the fourth point cloud point is determined to be the second point cloud point that satisfies the geometric connection relationship with the first point cloud point.

[0111] In one embodiment, such as Figure 9 As shown above, in the above Figure 7 Based on the illustrated embodiment, step 703 may include the following steps: Step 901: In response to the fact that the second point cloud points can be added to the first point cloud data of different scene objects, determine the target scene object that meets the preset point cloud addition conditions with the second point cloud points.

[0112] Step 902: Add the second point cloud to the first point cloud data of the target scene object to obtain the second point cloud data of the target scene object.

[0113] In one embodiment, such as Figure 10 As shown above, in the above Figure 9 Based on the illustrated embodiment, step 901 may include the following steps: Step 1001: In response to the fact that the geometric connection path established between the first scene object and the second point cloud point in different scene objects is the longest geometric connection path, the first scene object is determined as the target scene object that satisfies the point cloud addition condition with the second point cloud point.

[0114] Step 1002: In response to the fact that the distance between the second scene object and the second point cloud point is the shortest distance among different scene objects, the second scene object is determined as the target scene object that meets the point cloud addition conditions with the second point cloud point.

[0115] Step 1003: In response to the pixel position corresponding to the second point cloud point being located within the two-dimensional bounding box of the third scene object in different scene objects, the third scene object is determined as the target scene object that satisfies the point cloud addition condition with the second point cloud point.

[0116] In one embodiment, such as Figure 11 As shown above, in the above Figure 6 Based on the illustrated embodiment, step 603 may include the following steps: Step 1101: Determine the different pixels of the fifth point cloud point in the second point cloud data in images from different viewpoints.

[0117] Step 1102: Determine the depth value of different pixels based on the depth information of images from different viewpoints.

[0118] Step 1103: In response to the error of the depth value of different pixels being greater than the preset error threshold, the fifth point cloud point is removed from the second point cloud data to obtain the third point cloud data of the scene object.

[0119] Step 1104: Based on the third point cloud data, adjust the first bounding box to obtain the second bounding box of the scene object.

[0120] In one embodiment, such as Figure 12 As shown above, in the above Figure 11 Based on the illustrated embodiment, step 1104 may include the following steps: Step 1201: Determine the sixth point cloud point in the third point cloud data that is located outside the boundary surface of the first bounding box.

[0121] Step 1202: In response to the fact that the number of point cloud points of the sixth point cloud point is greater than a preset number threshold, and the distance between the sixth point cloud point and the boundary surface is greater than a preset third distance threshold, the boundary surface is adjusted along the outward normal direction of the boundary surface based on the maximum distance between the sixth point cloud point and the boundary surface to obtain the second bounding box of the scene object.

[0122] Regarding the scene object detection method in the above embodiments, the specific execution methods of each step and the corresponding beneficial effects have been described in detail in the corresponding embodiment section of the aforementioned scene object detection device section. Please refer to the corresponding execution methods and beneficial technical effects of the aforementioned exemplary system section, which will not be repeated here.

[0123] Exemplary device Figure 13 This is a schematic diagram of the structure of a scene object detection device provided in an exemplary embodiment of this disclosure. Figure 13 As shown, the scene object detection device 1300 includes an image acquisition module 1310, a feature encoding module 1320, a feature fusion module 1330, a feature decoding module 1340, and a bounding box adjustment module 1350.

[0124] Image acquisition module 1310 is used to acquire images collected by the vision sensor; The feature encoding module 1320 is used to perform feature encoding on the image to obtain the first image features; The feature fusion module 1330 is used to fuse the features of the first image to obtain the features of the second image. The feature decoding module 1340 is used to perform feature decoding on the second image features to obtain point cloud data of the three-dimensional scene and the first bounding box of the scene object; The bounding box adjustment module 1350 is used to adjust the first bounding box based on point cloud data to obtain the second bounding box of the scene object.

[0125] In one embodiment, the feature encoding module 1320 includes: The parameter acquisition unit is used to acquire the sensor parameters of the vision sensor. The first feature encoding unit is used to encode the sensor parameters to obtain sensor features; Image block division unit, used to divide the image into image blocks to obtain an image block sequence; The second feature coding unit is used to perform feature coding on the image patch sequence to obtain the image patch feature sequence; The feature fusion unit is used to fuse the image patch feature sequence and sensor features to obtain the first image feature.

[0126] In one embodiment, the feature fusion module 1330 includes: The first feature fusion unit is used to perform intra-view feature fusion on the first image features in response to the image being a single-view image, to obtain the second image features; The second feature fusion unit is used to alternately perform intra-view feature fusion and cross-view feature fusion on the first image features in response to the image being a multi-view image, so as to obtain the second image features.

[0127] In one embodiment, the feature decoding module 1340 includes: The feature map determination unit is used to determine the image feature map based on the second image features; The feature decoding unit is used to perform feature decoding on the image feature map to obtain depth information, ray information, and the first bounding box of the scene object; The point cloud determination unit is used to determine the point cloud data of a 3D scene based on depth and ray information.

[0128] In one embodiment, the bounding box adjustment module 1350 includes: The first point cloud determination unit is used to determine the first point cloud data of the scene object based on the point cloud data and the first bounding box. The second point cloud determination unit is used to add second point cloud points that satisfy the preset point cloud association conditions with the first point cloud points in the point cloud data to the first point cloud data to obtain the second point cloud data of the scene object; wherein, the second point cloud points are point cloud points that represent the irregular structural parts of the scene object; The bounding box adjustment unit is used to adjust the first bounding box based on the second point cloud data to obtain the second bounding box of the scene object.

[0129] In one embodiment, the second point cloud determining unit is specifically used for: Identify a third point cloud point in the point cloud data whose distance from the first point cloud point in the first point cloud data is less than a preset first distance threshold; Identify the second point cloud point in the third point cloud point that satisfies a preset geometric connection relationship with the first point cloud point; Add the second point cloud data to the first point cloud data to obtain the second point cloud data of the scene object.

[0130] In one embodiment, the second point cloud determining unit is specifically used for: Identify point cloud points whose distance to the third point cloud point is less than a preset second distance threshold, and obtain the neighboring point cloud points of the third point cloud point. In response to the fact that the neighboring point cloud points of the fourth point cloud point in the third point cloud point are the first point cloud point, or that the fourth point cloud point establishes a geometric connection path with the first point cloud point through at least one neighboring point cloud point, the fourth point cloud point is determined to be the second point cloud point that satisfies the geometric connection relationship with the first point cloud point.

[0131] In one embodiment, the second point cloud determining unit is specifically used for: In response to the fact that the second point cloud point can be added to the first point cloud data of different scene objects, the target scene object that meets the preset point cloud addition conditions with the second point cloud point is determined. Add the second point cloud to the first point cloud data of the target scene object to obtain the second point cloud data of the target scene object.

[0132] In one embodiment, the second point cloud determining unit is specifically used for: In response to the longest geometric connection path established between the first scene object and the second point cloud point in different scene objects, the first scene object is determined as the target scene object that satisfies the point cloud addition condition with the second point cloud point. In response to the shortest distance between the second scene object and the second point cloud point in different scene objects, the second scene object is determined as the target scene object that meets the point cloud addition conditions with the second point cloud point; In response to the pixel position corresponding to the second point cloud point being located within the 2D bounding box of the third scene object in a different scene object, the third scene object is determined as the target scene object that satisfies the point cloud addition condition with the second point cloud point.

[0133] In one embodiment, the bounding box adjustment unit is specifically used for: Determine the different pixels of the fifth point cloud point in the second point cloud data in images from different viewpoints; Determine the depth value of different pixels based on the depth information of images from different viewpoints; In response to the error of the depth value of different pixels being greater than the preset error threshold, the fifth point cloud point is removed from the second point cloud data to obtain the third point cloud data of the scene object; Based on the third point cloud data, the first bounding box is adjusted to obtain the second bounding box of the scene object.

[0134] In one embodiment, the bounding box adjustment unit is specifically used for: Identify the sixth point cloud point in the third point cloud data that is located outside the boundary surface of the first bounding box; In response to the fact that the number of point cloud points of the sixth point cloud point is greater than a preset number threshold, and the distance between the sixth point cloud point and the boundary surface is greater than a preset third distance threshold, the boundary surface is adjusted along the outward normal direction of the boundary surface based on the maximum distance between the sixth point cloud point and the boundary surface to obtain the second bounding box of the scene object.

[0135] The beneficial technical effects corresponding to the exemplary embodiments of this device can be found in the corresponding beneficial technical effects in the exemplary method section above, and will not be repeated here.

[0136] Exemplary electronic devices Figure 14 A structural diagram of an electronic device provided in this disclosure includes at least one processor 11 and a memory 12.

[0137] The processor 11 may be a central processing unit (CPU) or other form of processing unit with data processing capabilities and / or instruction execution capabilities, and may control other components in the electronic device 10 to perform desired functions.

[0138] The memory 12 may include one or more computer program products, which may include various forms of computer-readable storage media, such as volatile memory and / or non-volatile memory. Volatile memory may include, for example, random access memory (RAM) and / or cache memory. Non-volatile memory may include, for example, read-only memory (ROM), hard disk, flash memory, etc. One or more computer program instructions may be stored on the computer-readable storage medium, and the processor 11 may execute one or more computer program instructions to implement the scene object detection methods and / or other desired functions of the various embodiments of this disclosure described above.

[0139] In one example, the electronic device 10 may also include an input device 13 and an output device 14, which are interconnected via a bus system and / or other forms of connection mechanism (not shown).

[0140] The input device 13 may also include, for example, a keyboard, a mouse, etc.

[0141] The output device 14 can output various information to the outside, including, for example, a display, a speaker, a printer, and a communication network and its connected remote output devices, etc.

[0142] Of course, for the sake of simplicity, Figure 14 Only some of the components of the electronic device 10 relevant to this disclosure are shown, omitting components such as buses, input / output interfaces, etc. In addition, the electronic device 10 may include any other suitable components depending on the specific application.

[0143] Exemplary computer program products and computer-readable storage media In addition to the methods and devices described above, embodiments of this disclosure may also provide a computer program product, including computer program instructions, which, when executed by a processor, cause the processor to perform the steps in the scene object detection methods of the various embodiments of this disclosure described in the "Exemplary Methods" section above.

[0144] Computer program products can be written in any combination of one or more programming languages ​​to perform the operations of embodiments of this disclosure. These programming languages ​​include object-oriented programming languages ​​such as Java and C++, as well as conventional procedural programming languages ​​such as C or similar languages. The program code can be executed entirely on a user's computing device, partially on a user's computing device, as a standalone software package, partially on a user's computing device and partially on a remote computing device, or entirely on a remote computing device or server.

[0145] Furthermore, embodiments of this disclosure may also be computer-readable storage media storing computer program instructions thereon, which, when executed by a processor, cause the processor to perform the steps in the scene object detection methods of the various embodiments of this disclosure described in the "Exemplary Methods" section above.

[0146] Computer-readable storage media may take the form of any combination of one or more readable media. A readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may include, but is not limited to, systems, apparatuses, or devices that are electrical, magnetic, optical, electromagnetic, infrared, or semiconductor, or any combination thereof. More specific examples of readable storage media (a non-exhaustive list) include: electrical connections having one or more wires, portable disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof.

[0147] The basic principles of this disclosure have been described above with reference to specific embodiments. However, the advantages, benefits, and effects mentioned in this disclosure are merely examples and not limitations, and should not be considered as essential features of each embodiment of this disclosure. Furthermore, the specific details disclosed above are for illustrative and facilitative purposes only, and are not limitations. These details do not limit the scope of this disclosure to the necessity of employing the aforementioned specific details for implementation.

[0148] Various modifications and variations can be made to this disclosure without departing from its spirit and scope. Therefore, this disclosure is also intended to include such modifications and variations if they fall within the scope of the claims of this disclosure and their equivalents.

Claims

1. A scene object detection device, comprising one or more processors, wherein the one or more processors are configured to: Acquire images captured by the vision sensor; The image is feature-encoded to obtain the first image features; The first image features are fused to obtain the second image features; The second image features are decoded to obtain point cloud data of the 3D scene and the first bounding box of the scene object; Based on the point cloud data, the first bounding box is adjusted to obtain the second bounding box of the scene object.

2. The apparatus according to claim 1, wherein, The step of performing feature encoding on the image to obtain the first image feature includes: Obtain the sensor parameters of the vision sensor; The sensor parameters are feature-encoded to obtain sensor features; The image is divided into image blocks to obtain an image block sequence; The image patch sequence is feature-encoded to obtain an image patch feature sequence; The first image feature is obtained by fusing the image patch feature sequence and the sensor features.

3. The apparatus according to claim 1, wherein, The step of fusing the first image features to obtain the second image features includes: In response to the fact that the image is a single-view image, the first image features are fused within the view to obtain the second image features; In response to the image being a multi-view image, the first image features are alternately fused within the view and fused across the view to obtain the second image features.

4. The apparatus according to claim 1, wherein, The step of decoding the second image features to obtain point cloud data of the 3D scene and the first bounding box of the scene object includes: Based on the second image feature, an image feature map is determined; The image feature map is decoded to obtain depth information, ray information, and the first bounding box of the scene object; Based on the depth information and the ray information, the point cloud data of the three-dimensional scene is determined.

5. The apparatus according to claim 1, wherein, The step of adjusting the first bounding box based on the point cloud data to obtain the second bounding box of the scene object includes: Based on the point cloud data and the first bounding box, the first point cloud data of the scene object is determined; A second point cloud point that satisfies a preset point cloud association condition with a first point cloud point in the first point cloud data is added to the first point cloud data to obtain the second point cloud data of the scene object; wherein, the second point cloud point is a point cloud point representing the irregular structural part of the scene object; Based on the second point cloud data, the first bounding box is adjusted to obtain the second bounding box of the scene object.

6. The apparatus according to claim 5, wherein, The step of adding a second point cloud point that satisfies a preset point cloud association condition with a first point cloud point in the first point cloud data to the first point cloud data to obtain the second point cloud data of the scene object includes: Determine a third point cloud point in the point cloud data whose distance from a first point cloud point in the first point cloud data is less than a preset first distance threshold. Determine a second point cloud point among the third point cloud points that satisfies a preset geometric connection relationship with the first point cloud point; The second point cloud point is added to the first point cloud data to obtain the second point cloud data of the scene object.

7. The apparatus according to claim 6, wherein, The step of determining the second point cloud point in the third point cloud point that satisfies a preset geometric connection relationship with the first point cloud point includes: Determine point cloud points whose distance from the third point cloud point is less than a preset second distance threshold, and obtain the neighboring point cloud points of the third point cloud point; In response to the fact that the neighboring point cloud points of the fourth point cloud point in the third point cloud point are the first point cloud point, or that the fourth point cloud point establishes a geometric connection path with the first point cloud point through at least one neighboring point cloud point, the fourth point cloud point is determined to be the second point cloud point that satisfies a geometric connection relationship with the first point cloud point.

8. The apparatus according to claim 6, wherein, The step of adding the second point cloud point to the first point cloud data to obtain the second point cloud data of the scene object includes: In response to the fact that the second point cloud point can be added to the first point cloud data of different scene objects, a target scene object that meets the preset point cloud addition conditions with the second point cloud point is determined; The second point cloud point is added to the first point cloud data of the target scene object to obtain the second point cloud data of the target scene object.

9. The apparatus according to claim 8, wherein, The determination of the target scene object that satisfies the preset point cloud addition conditions with the second point cloud points includes: In response to the fact that the geometric connection path established between the first scene object and the second point cloud point in different scene objects is the longest geometric connection path, the first scene object is determined as the target scene object that satisfies the point cloud addition condition with the second point cloud point. In response to the fact that the distance between the second scene object and the second point cloud point among the different scene objects is the shortest distance, the second scene object is determined as the target scene object that satisfies the point cloud addition condition with the second point cloud point; In response to the fact that the pixel position corresponding to the second point cloud point is located within the two-dimensional bounding box of the third scene object in the different scene objects, the third scene object is determined as the target scene object that satisfies the point cloud addition condition with the second point cloud point.

10. The apparatus according to claim 5, wherein, The step of adjusting the first bounding box based on the second point cloud data to obtain the second bounding box of the scene object includes: Determine the different pixels of the fifth point cloud point in the second point cloud data in images from different viewpoints; Based on the depth information of the images from different viewpoints, the depth values ​​of the different pixels are determined; In response to the error of the depth value of the different pixels being greater than a preset error threshold, the fifth point cloud point is removed from the second point cloud data to obtain the third point cloud data of the scene object; Based on the third point cloud data, the first bounding box is adjusted to obtain the second bounding box of the scene object.

11. The apparatus according to claim 10, wherein, The step of adjusting the first bounding box based on the third point cloud data to obtain the second bounding box of the scene object includes: Identify the sixth point cloud point in the third point cloud data that is located outside the boundary surface of the first bounding box; In response to the fact that the number of point cloud points of the sixth point cloud point is greater than a preset number threshold, and the distance between the sixth point cloud point and the boundary surface is greater than a preset third distance threshold, the boundary surface is adjusted along the outward normal direction of the boundary surface based on the maximum distance between the sixth point cloud point and the boundary surface to obtain the second bounding box of the scene object.

12. A scene object detection method, comprising: Acquire images from the vision sensor; The image is feature-encoded to obtain the first image features; The first image features are fused to obtain the second image features; The second image features are decoded to obtain point cloud data of the 3D scene and the first bounding box of the scene object; Based on the point cloud data, the first bounding box is adjusted to obtain the second bounding box of the scene object.

13. An electronic device, the electronic device comprising: processor; Memory used to store the processor's executable instructions; The processor is configured to read the executable instructions from the memory and execute the instructions to implement the scene object detection method of claim 12.

14. A computer-readable storage medium storing a computer program that is executed by a processor to perform the scene object detection method of claim 12.