3D scene processing for open vocabularies
By describing the association between base classes and 3D data in the 3D scene processing model, and using open classes for detection, the problem of difficulty in identifying new class objects in the existing technology is solved, and the method of effectively detecting open vocabulary objects in 3D scenes is achieved. capabilities, improving detection performance.
Patent Information
- Application Number
- CN202410280183.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2023-03-14
- Filing Date
- 2024-03-12
- Publication Date
- 2024-09-17
AI Technical Summary
Existing 3D scene processing models have difficulty in effectively detecting new classes of objects outside closed vocabularies, especially in the absence of large-scale 3D data and text pairs, resulting in poor performance in detecting open vocabulary objects in real-world scenes.
By obtaining the detection model, which describes the association between multiple base classes of multiple objects and 3D data, and receives multiple open classes, including base classes and new classes, detection is performed in the 3D scene based on the detection model and open classes. In the 3D part, the text embedding semantic classifier and the binary calibration module are used to correct the bias and improve the open vocabulary detection ability.
It realizes the identification and positioning of new types of objects without manual annotation supervision, improves the detection model's ability to recognize open words, enhances semantic and instance-level annotation capabilities in 3D scenes, and improves detection performance.
Smart Images

Figure CN118658050A
Abstract
Description
Technical Field
[0001] The present disclosure relates generally to three-dimensional (3D) scene processing, and more particularly, to methods, apparatus, and computer program products for open vocabulary-based 3D scene processing for objects to be detected in the 3D scene. Background Art
[0002] Nowadays, 3D scene processing has become popular in various fields. For example, 3D scene understanding aims to detect (e.g., identify and / or locate) (multiple) objects in a 3D scene. Since the annotated training data related to 3D scenes is very limited, only a limited number of objects in a closed vocabulary are annotated in the training data, so the processing model trained by the training data cannot effectively detect objects belonging to new classes outside the closed vocabulary. At this time, how to detect objects in an open vocabulary in an effective way has become a hot topic. Summary of the invention
[0003] In a first aspect of the present disclosure, a method for detecting an object in a 3D scene is provided. In the method, a detection model is obtained, where the detection model describes an association relationship between multiple base classes of multiple objects and 3D data of the multiple objects. Multiple open classes of multiple candidate objects to be detected in the 3D scene are received, where the multiple open classes include multiple base classes and at least one new class that is not included in the multiple base classes. Based on the detection model and the multiple open classes, a 3D part is detected in the 3D data of the 3D scene, where the 3D part corresponds to a target candidate object among the multiple candidate objects, and the class of the target candidate object is included in the multiple open classes.
[0004] In a second aspect of the present disclosure, an electronic device is provided. The electronic device comprises: a computer processor coupled to a computer readable memory unit, the memory unit comprising instructions for implementing the method according to the first aspect of the present disclosure when executed by the computer processor.
[0005] In a third aspect of the present disclosure, a computer program product is provided, which includes a computer-readable storage medium having program instructions embedded therein and implemented therein, and the program instructions can be executed by an electronic device to enable the electronic device to perform the method according to the first aspect of the present disclosure.
[0006] This Summary is provided to introduce a selection of concepts in a simplified form that are further described below in the Detailed Description. This Summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter. BRIEF DESCRIPTION OF THE DRAWINGS
[0007] The foregoing and other objects, features, and advantages of the present disclosure will become more apparent through a more particular description of some implementations of the present disclosure in the accompanying drawings, wherein like reference numerals generally refer to like parts throughout the implementations of the present disclosure.
[0008] Figure 1 An example environment for detecting objects in a 3D scene through a closed vocabulary detection model according to machine learning techniques is shown;
[0009] Figure 2 An example diagram showing an open vocabulary based method for detecting objects in a 3D scene according to an implementation of the present disclosure is shown;
[0010] Figure 3 An example diagram showing an architecture for a detection model according to an implementation of the present disclosure;
[0011] Figure 4 An example diagram showing an association relationship between 3D data and an image according to an implementation of the present disclosure is shown;
[0012] Figure 5 An example diagram for extracting classes from an image according to an implementation of the present disclosure is shown;
[0013] Figure 6 An example diagram for acquiring 3D data associated with text according to an implementation of the present disclosure is shown;
[0014] Figure 7 An example diagram showing comparison between multiple detection results according to an implementation of the present disclosure is shown;
[0015] Figure 8 An example diagram showing comparison between multiple detection results according to an implementation of the present disclosure is shown;
[0016] Fig. 9 An example diagram showing comparison between multiple detection results according to an implementation of the present disclosure is shown;
[0017] Fig.10 An example diagram showing comparison between multiple detection results according to an implementation of the present disclosure is shown;
[0018] Fig.11 An example diagram for multiple detection results by detecting objects of a synonymous new class according to an implementation of the present disclosure is shown;
[0019] Fig.12 An example diagram for multiple detection results by detecting objects of an abstract new class according to an implementation of the present disclosure is shown;
[0020] Fig.13An example diagram for multiple detection results by detecting an object of a new class that is not labeled according to an implementation of the present disclosure is shown;
[0021] Fig.14 An example flow chart showing a method for detecting objects in a 3D scene based on an open vocabulary according to an implementation of the present disclosure; and
[0022] Fig.15 A block diagram is shown of a computing device in which various implementations of the present disclosure may be implemented. DETAILED DESCRIPTION
[0023] The principle of the present disclosure will now be described with reference to some implementations. It should be understood that describing these implementations is only for illustrative purposes, and helps those skilled in the art to understand and implement the present disclosure, rather than providing any limitation to the scope of the present disclosure. In addition to the methods described below, the disclosure described herein can be implemented in various ways.
[0024] In the following description and claims, unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this disclosure belongs.
[0025] References in this disclosure to "one implementation," "implementation," "example implementation," etc. indicate that the implementation being described may include a particular feature, structure, or characteristic, but that it is not required that every implementation include the particular feature, structure, or characteristic. Furthermore, these phrases do not necessarily refer to the same implementation. Further, when a particular feature, structure, or characteristic is described in conjunction with an example implementation, it is considered to be within the knowledge of those skilled in the art to affect such feature, structure, or characteristic in conjunction with other implementations, whether or not explicitly described.
[0026] It should be understood that although the terms "first" and "second" etc. may be used herein to describe various elements, these elements should not be limited by these terms. These terms are used only to distinguish one element from another element. For example, without departing from the scope of the example implementation, a first element may be referred to as a second element, and similarly, a second element may be referred to as a first element. As used herein, the term "and / or" includes any and all combinations of one or more of the listed terms.
[0027] The terms used herein are used only for the purpose of describing a particular implementation and are not intended to be limiting of the exemplary implementations. As used herein, the singular forms "a", "an", and "the" are also intended to include the plural forms unless the context clearly indicates otherwise. It should be further understood that the terms "comprises", "has", "has", and / or "comprising" when used herein specify the presence of specified features, elements, and / or components, etc., but do not exclude the presence or addition of one or more other features, elements, components, and / or combinations thereof.
[0028] The principles of the present disclosure will now be described with reference to some implementations. It should be understood that the description of these implementations is only for illustrative purposes and helps those skilled in the art to understand and implement the present disclosure, rather than to impose any limitations on the scope of the present disclosure. In addition to the methods described below, the disclosure described herein can be implemented in various ways. In the following description and claims, unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those of ordinary skill in the art to which the present disclosure belongs.
[0029] It is understood that the data involved in this technical solution (including but not limited to the data itself, the acquisition or use of the data) should comply with the requirements of relevant laws, regulations and relevant provisions.
[0030] It is understandable that before using the technical solutions disclosed in various implementations of the present disclosure, the user should be informed of the type, scope of use and usage scenarios of the personal information involved in the present invention in an appropriate manner in accordance with relevant laws and regulations, and the user's authorization should be obtained.
[0031] For example, in response to receiving an active request from a user, a prompt message is sent to the user to clearly inform the user that the requested operation will require obtaining and using the user's personal information. Therefore, the user can independently choose whether to provide personal information to the software or hardware that performs the operation of the technical solution of the present disclosure, such as an electronic device, application, server, or storage medium, etc., according to the prompt message.
[0032] As an optional but non-limiting implementation, in response to receiving an active request from the user, the method of sending the prompt information to the user may include, for example, a pop-up window, and the prompt information may be presented in the pop-up window in the form of text. In addition, the pop-up window may also carry a selection control for the user to select "agree" or "disagree" to provide personal information to the electronic device.
[0033] It is understood that the above process of notifying and obtaining user authorization is only illustrative and does not limit the implementation of the present disclosure. Other methods that meet relevant laws and regulations are also applicable to the implementation of the present disclosure.
[0034] Nowadays, 3D scene processing has become popular in various fields, and objects can be detected in various 3D scenes. For example, in an indoor monitoring environment, furniture such as tables, chairs, etc. can be detected from 3D data (e.g., point cloud data) of the indoor environment. In another example, in a traffic monitoring environment, vehicles and pedestrians can be detected from 3D data of the traffic environment. Since the annotated training data related to 3D scenes is very limited, and only a small number of objects in a closed vocabulary are annotated in the training data, the processing model trained by the annotated training data cannot effectively detect objects belonging to new classes outside the closed vocabulary.
[0035] For descriptive purposes, the following paragraphs will provide more details by taking an indoor environment as an example of a 3D scene. Figure 1 An example environment 100 is shown for detecting objects in a 3D scene using a closed vocabulary detection model based on machine learning techniques. Figure 1 As shown in , 3D data 110 represents scanned 3D data of an indoor 3D scene. Here, the 3D scene includes multiple objects classified into various classes. The detection model can be trained by training data, in which only some classes in the closed vocabulary of objects (called base classes) are annotated in the training data, and other classes of objects (called new classes) are not annotated in the training data. In the 3D data 110, objects refer to base classes such as walls, tables, chairs, cabinets, etc. Further, the 3D data 110 also includes new classes such as bookshelf 112 (as shown by image 114).
[0036] In general, most detection models are trained with training data from limited annotated data in a closed vocabulary. For example, if the closed vocabulary only includes walls, tables, chairs, and cabinets, the trained detection model cannot detect the unknown class "bookshelf" even if there is a bookshelf in the 3D scene. Result 120 shows the semantic results for detecting objects in 3D data 110 based on a closed vocabulary, where different colors represent different semantic classes of objects. In result 120, since the detection model has knowledge of "table" from the annotated data, object 122 is correctly detected as a "table". However, since the detection model does not have knowledge of "bookshelf" from the annotated data, object 124 (actually a bookshelf) is incorrectly detected as a "wall". Similarly, result 130 shows the positioning results for detecting objects in 3D data 110, where 3D mask 132 correctly indicates the table, but 3D mask 134 incorrectly indicates the cabinet.
[0037] like Figure 1As shown in , models trained on human-annotated datasets can only understand the semantic classes in the dataset, which is called closed set prediction. As a result, these models cannot recognize unseen classes in the open world. This greatly limits their applicability in real-world scenarios with unbounded classes. In addition, the heavy annotation cost on 3D datasets further makes it infeasible to rely on manual annotation of all real-world classes. A variety of solutions have been developed based on open vocabulary detection in two-dimensional (2D) scenes. Recently, the visual language (VL) based model is trained on billions of web-scraped image data with semantically rich text descriptions, which can learn enough visual language embedding to connect text and images, and is further utilized to solve many 2D open vocabulary tasks, including object detection, semantic segmentation, visual question answering, etc. Despite significant progress in open vocabulary image understanding tasks, this pre-training paradigm is not directly feasible in the 3D field due to the lack of large-scale 3D data and text pairs.
[0038] Further, some initial solutions have attempted to project 3D data into 2D modalities (i.e., RGB images and depth maps), so that pre-trained VL-based models can be utilized to process 2D data and achieve object-level open vocabulary recognition. However, these methods have several major problems, making them suboptimal for handling scene-level understanding tasks (e.g., instance segmentation). First, multiple RGB images and depth maps are required to represent a 3D object, which results in heavy computational and storage costs during both training and reasoning. Second, the projection from 3D to 2D results in information loss and prohibits learning directly from rich 3D data, which then leads to poor performance. Therefore, how to detect open vocabulary objects in three-dimensional scenes in an effective manner has become a hot topic.
[0039] Based on the above, a method for detecting objects in a 3D scene is provided, where the objects belong to classes defined in an open vocabulary, but are not limited to a closed vocabulary for annotated data. Figure 2 To briefly describe the proposed method, here Figure 2 An example diagram 200 for detecting objects in a 3D scene based on an open vocabulary according to an implementation of the present disclosure is shown. Figure 2 In the above example, a detection model 210 can be obtained, and the detection model here describes the association relationship between multiple base classes 230 of multiple objects and the 3D data of multiple objects. In other words, the detection model 210 has knowledge of the labeled data for the base classes from the training data. In a simple example, the multiple base classes 230 may include: a bed and a table.
[0040] Further, multiple open classes 220 of multiple candidate objects to be detected in the 3D scene may be received. Here, the multiple open classes 220 may be associated with an open vocabulary, and the open vocabulary includes multiple base classes and at least one new class that is not included in the multiple base classes. For example, the open class 220 may include: bed, table, and sofa (i.e., new class). Then, based on the detection model 210 and the multiple open classes 220, a 3D part may be detected in the 3D data 240 of the 3D scene, where the 3D part corresponds to a target candidate object among the multiple candidate objects, and the class of the target candidate object is included in the multiple open classes.
[0041] like Figure 2 As shown in , although the training data for the detection model 210 only includes the labeled data related to the base class 230, the detection model 210 can learn more about other classes that are not labeled in the training data by using the open class 220. Therefore, the detection model 210 can correctly detect more objects with more classes in the 3D data 240. For example, the bed 242 and the table 244 belonging to the base class 230 can be detected, and further, the new sofa 246 not mentioned in the base class 230 can also be detected. With the implementation of the proposed solution, the detection model 210 can learn knowledge based on the labeled training data related to the base class. At the same time, based on the open class 220, the detection model 210 can further learn knowledge about the new class from other parts in the training data. Therefore, the detection model 210 can detect objects belonging to the base class or the new class.
[0042] In the context of this disclosure, 3D open vocabulary scene processing aims to recognize and localize new classes without corresponding human annotations as supervision. 3D data can be represented in point cloud format. Typically, semantic and instance level annotations are used. Base Class and new class During the training procedure, 3D data can be compared with all point clouds. Related, but only for base classes The annotation of the new class Annotation However, during the reasoning procedure, 3D data is needed to locate objects and distinguish between objects belonging to base classes and new classes (i.e., ) point classification.
[0043] For example, for a typical 3D scene processing model, it includes a 3D encoder F3D, a dense semantic classification head F sem and instance localization head F loc The reasoning process can be shown as follows: f p =F 3D (p),s=σ·Fsem (f p ),z=F loc (f p ,s) Formula 1
[0044] In this formula, p represents the input 3D data (i.e., point cloud), f p represents the point-by-point visual features, s represents the semantic score for the detected object, z represents the instance proposal output (e.g., 3D mask in point cloud), and σ represents the flexible maximum function. Using the above network prediction based on Formula 1, we can get the semantic annotation y sem Determining semantic classification loss And we can label y for the instance ins Determining positioning loss Here, y sem and ins Base class used only during the training procedure Related.
[0045] The detection model trained with the loss function in Equation 2 can be a closed vocabulary classifier F sem The closed vocabulary model of ,cannot recognize unknown classes.,At this point, a text embedding semantic classifier is introduced to,obtain an open vocabulary model.,Furthermore, a bigram calibration module is added to correct the bias towards,the base class for open vocabulary reasoning.
[0046] refer to Figure 3 A brief description of the language-driven 3D scene detection model 210, Figure 3 An example diagram 300 of the architecture of the detection model 210 according to an implementation of the present disclosure is shown. Figure 3 As shown in FIG. 1 , 3D data 310 may be input to a backbone network 320 (denoted as F 3D ). In the proposed paradigm, the learnable semantic head is replaced by the class embedding encoded by the text encoder 340 from the class name 352 and the text description 350. The binary head 322 is added to modify the semantic score with the base and new probabilities as conditions. The instance head 326 is specifically used for instance segmentation. Most importantly, in order to give the model a rich semantic space to improve open vocabulary capabilities, the 3D data embedding is supervised by the text description embedding based on the 3D data-text association through the association model 360. Here, the detection model 210 can be optimized by multiple loss functions, such as binary loss 330, text description loss 334, semantic loss 336 and instance loss 332.
[0047] In the implementation of the present disclosure, based on the above formula 2, the detection model can be optimized to have an open vocabulary learner. Here, the learnable semantic classifier Fsem You can embed f with a class l and a learnable visual-language adapter F θ Specifically, since multiple open classes are represented in text format, multiple language features can be extracted for each of the multiple open classes. Then, 3D features for 3D data can be acquired based on a 3D feature model included in the detection model 210, where the 3D feature model describes an association relationship between reference 3D data and reference 3D features for the reference 3D data. Next, a 3D part in the 3D data can be identified based on the similarity between the multiple language features and the 3D features.
[0048] In the implementation of the present disclosure, a semantic classifier F may be learned. sem Replaced by class embedding f l and a learnable visual language adapter F θ , to match the 3D feature f p and f l The dimensions between are as follows: f v =F θ (f p ),s=σ(f l ·f v ) Formula 3
[0049] In this formula, f v Indicates the use of VL adapter F θ The characteristics of the projection, Represented by using the frozen text encoder F text (e.g. text encoder based on BERT or CLIP solutions) for class names A series of class embeddings obtained by encoding. By calculating the projection point feature f v and class f l The cosine similarity between them is then used to select the most similar class for prediction. Here, f l During the training procedure only include , but during the open vocabulary inference procedure, both the base class and the new class are used Related embedding. Use class embeddingf l As a classifier, detection model 210 can support open vocabulary reasoning with any desired classes.
[0050] Through the above implementation, the detection model 210 already has the ability to handle objects belonging to the new class, and thus the performance of the detection model 210 is improved. Since the detection model 210 is only trained to recognize the base class with labeled data, it inevitably makes overconfident predictions about the base class, regardless of whether they are correct, which is also called the calibration problem. To this end, a binary head 322 is added to correct the semantic score with the probability of a point belonging to the base class or the new class in the 3D data.
[0051] In the implementation of the present disclosure, the binary loss describes whether a unit (e.g., a point) in the 3D data is associated with multiple base classes (or new classes), and then the loss function can be updated based on the binary loss. Specifically, Figure 3 As shown in the figure, the binary head F is used. b To distinguish the annotation units in the 3D data (i.e., from those belonging to the base class points associated with objects of the new class) and unlabeled cells in the 3D data (i.e., points associated with objects belonging to the new class). In the training procedure, F b The optimization can be performed based on the following binary loss function:
[0052] In this formula, BCELoss() represents the binary cross entropy loss, y b represents a binary label, and s b represents the predicted binary score (the probability indicating whether a point belongs to the base class). In the inference procedure, the binary probability s can be corrected b , then the semantic score s can be obtained as follows: s=s B ·(1-s b )+s N ·s b Formula 5
[0053] In this formula, s B represents the semantic score calculated based on the base class only if the score of the new class is set to zero. Similarly, s N It is only calculated on the new class whose semantic score of the base class is set to zero. Through the implementation of the present disclosure, probability calibration can greatly improve the performance of both the base class and the new class, and then effectively correct the overconfident semantic prediction.
[0054] Utilizing the text embedding classifier and the binary semantic calibration module, the detection model 210 becomes a deep model with open vocabulary capabilities. In the implementation of the present disclosure, in order to train the detection model, a reference class can be obtained from a plurality of open classes, and reference 3D data corresponding to a reference object belonging to the reference class can be obtained from the 3D scene data. In other words, the reference 3D data (i.e., 3D data) and the reference class (i.e., the text of the reference name) should be associated together before training. Here, the reference class can be related to the base class. At this point, the reference 3D data corresponding to the reference object belonging to the reference class can be directly obtained from the annotated part in the training data, and then the detection model can be trained based on the reference class and the reference 3D data.
[0055] Alternatively, the reference class can be associated with the new class, while the training data does not include annotated data for the new class. The recent success of open vocabulary work in the 2D vision community shows that the effectiveness of introducing language supervision can guide the visual backbone network. Here, language supervision not only enables the visual backbone network to access the rich semantic concepts of a large vocabulary, but also helps to map visual and language features into a common space to support multimodal downstream tasks. However, Internet-scale paired 3D data-text is not as easy to obtain as image-text pairs on social media, which greatly hinders the development of language-driven 3D understanding. In the implementation of the present disclosure, an association model 360 is proposed for associating open classes and 3D data via images. At this point, reference 3D data corresponding to reference objects belonging to the new class can be extracted from the 3D data via images associated with the 3D scene as a bridge. In other words, images can serve as a bridge to associate 3D data and new class names.
[0056] Due to the reliable image description solution, the text description can be correctly extracted from the image, and then the classes of various objects can be detected from the image. Further, since a mapping can be generated between the image and the 3D data (for example, via the depth information of the image and / or a 3D scanning solution), the image can serve as a bridge between the open class and the 3D data, thereby alleviating the problem of the lack of annotated 3D training data. At this point, 3D data for a reference 3D scene (referred to as reference 3D scene data) can be obtained, where the reference 3D scene is associated with at least one reference image. In an indoor environment, multiple reference images and depth information can be collected. Then, reference 3D scene data can be generated based on multiple reference images and depth information. Alternatively, in an outdoor environment, the outdoor scene can be scanned by a 3D scanning and imaging device, and then 3D scene data can be generated directly, and multiple reference images can be collected directly in the scanning procedure.
[0057] For objects that are not labeled in the training data, reference 3D data can be selected from the reference 3D scene data via the reference image as a bridge. Figure 4 ,here Figure 4 An example diagram 400 showing an association relationship between 3D data and an image according to an implementation of the present disclosure is shown. Figure 4 An indoor scene is shown, in which images 420, 422, ..., and 424 are collected from different viewpoints in the indoor scene, and then 3D data 410 is generated based on the images 420, 422, ..., and 424 and depth information related to these images. Here, part 430 of the 3D data 410 is generated based on image 420, part 432 is generated based on images 422, ..., and part 434 is generated based on image 424.
[0058] Furthermore, an image-bridging 3D data-text association module is provided for language supervision in 3D scene perception without manual annotation. Here, multi-view images of the 3D scene act as a bridge to access the knowledge encoded in the VL base model. The text description is first generated by a powerful image description model that takes an image of the 3D scene as input and then is associated with a set of points in the 3D scene through the projection matrix between the image and the 3D scene.
[0059] In an implementation of the present disclosure, images 420, 422, ..., and 424 may be subjected to an image description module (denoted as ), the caption can then be used to determine the class of the object in the image. Figure 5 For more details, Figure 5 An example diagram 500 is shown for extracting classes from an image according to an implementation of the present disclosure. Figure 5 , the corresponding image can be input into the image description model 510 to obtain the corresponding text description. For example, the image 420 can be input into the image description model 510, and the output text description 520 can be: "a bathroom with a wooden cabinet, a sink, and a toilet".
[0060] Meanwhile, other images may undergo a similar caption description procedure, and then a caption 522 "a bicycle and a backpack on a tile floor" may be obtained from image 422, and a caption 524 "a living room with a blue couch and a backpack on the floor" may be obtained from image 424. Since image description is a basic task in the field of VL research, various basic models have been trained with a large number of samples and are readily available to solve this task. At this point, the present disclosure can make full use of the existing reliable description models to identify the class of the object from the reference image. Specifically, assuming that the training data includes multiple scenes, and each scene has multiple images, scene i th Imagej th It can be expressed as v ij , and then pre-train the image description module The corresponding language description can be generated:
[0061] In this formula, Indicates the training data for scene i th Imagej th The corresponding language description, and Represents a pre-trained image description module.
[0062] Still reference Figure 5 , words (e.g., nouns) can be extracted from the text description. Specifically, the word "bathroom" can be extracted and used as reference class 530. Similarly, other reference classes can be extracted as follows: cabinet, sink, and toilet. Further, the reference classes associated with image 422 may include bicycle, backpack, and floor, and the reference classes associated with image 424 may include living room, couch, backpack, and floor. At this point, the reference classes can be determined in a reliable and accurate manner from the training data.
[0063] In the implementation of the present disclosure, the training data can be further processed to find the association between 3D data and text (i.e., the class name of the object). Given an image-text pair, the next step is to use the image v as a bridge to connect the 3D data Connect to the text t as follows:
[0064] In this formula, represents a portion of 3D data corresponding to the text t, and v represents an image containing objects of the class described by the text t. Then Explore represents finding 3D data in the 3D scene data p Operations where 3D data includes point clouds corresponding to objects of the class described by the text t. For example, if the text t is related to "bed", then The point cloud in the 3D data 410 corresponding to the bed object is represented.
[0065] In the implementation of the present disclosure, the association between 3D data and text can be managed at different spatial levels. Figure 4 , the 3D data 410 of the scene can be managed in the scene level, that is, the 3D data 410 can work as the entire indoor scene, so an association can be established between the entire 3D data 410 and all object classes included in the indoor scene. Here, the scene level association can work as a simple and rough association to link language supervision to all points in the entire 3D scene data. Specifically, all image text descriptions of a given scene pj Can be used via the following text summarizer Convert to scene level text description middle:
[0066] In this formula, n j Indicates that for scene p j By forcing each scene p to be described by the corresponding scene text t s Caption learning introduces a rich vocabulary and visual semantic relationships to improve the language understanding ability of 3D networks. For more details on the summarization procedure, see Figure 6 ,in Figure 6 An example diagram 600 for acquiring 3D data associated with text according to an implementation of the present disclosure is shown.
[0067] like Figure 6 As shown in FIG. 1 , all text descriptions 520, 522, ..., and 524 associated with the entire scene can be input into a text summarizer. , then the text 610 can be output: "This video shows a person sitting on a couch and..." At this point, an association can be established between the text 610 and the entire 3D data at the scene level 620 for training the detection model 210. By taking advantage of the simplicity of the scene-level text description, an association can be established between the entire scene and the classes for the objects in the scene, so the unlabeled parts of the training data can be used to acquire knowledge for detecting open classes.
[0068] In an implementation of the present disclosure, 3D data-text associations may be managed at the view level 622, where reference 3D data may be selected from the 3D scene data based on a mapping relationship between at least one reference image and reference 3D scene data. The image description module 510 may provide a single text description for each image, and the area covered by the image in the scene may be referred to as a view. Thus, a view level association may be established to utilize the geometric relationship between the image and the point. Thus, each image text description tv A 3D view frustum that can be assigned to a given image v Specifically, to obtain the view level point set The RGB image v can be back-projected into 3D space using the depth information d to obtain its corresponding point cloud
[0069] In this formula, [·|·] represents a block matrix, represents the projection matrix consisting of the camera intrinsic matrix and the rigid transformation obtained through sensor configuration or mature SLAM methods (i.e., the mapping relationship between image and 3D data). The points in the 3D scene p may only partially overlap, in which case their overlapping area can be determined based on the following formula to obtain the view-level point set as follows:
[0070] In this formula, Represents the point set related to the scene, V and V- 1 is the voxelization and devoxelization process, and R represents the radius-based nearest neighbor search. Figure 6 , text 612 represents text related to view level 622, and 3D data 632 (which is related to the bathroom in the indoor scene) can be obtained from 3D data 410. At this time, a view-level association can be established between 3D data 632 and text 612, so that the unlabeled parts of the training data can be used in a more refined way to obtain knowledge for detecting new classes. This view-level association allows the model to learn using region-level text descriptions, which can greatly enhance the model's ability to identify and locate new classes.
[0071] In implementations of the present disclosure, 3D data may be extracted from 3D scene data for each image based on corresponding mapping relationships, and thus 3D data for multiple images may be compared to provide entity-level associations between 3D data and text. Here, entity-level associations may provide fine-grained 3D data-text associations that have the potential to construct entity-level 3D data-text pairs, i.e., pairs that can associate object instances with text descriptions. The comparison may include adjacent view-level point sets. and their corresponding image text descriptions t v Any of the interactions and differences between to obtain entity-level association points and text description e Entity Level Heading e It can be determined as follows:
[0072] In the above formula, E represents the v The operation of extracting a set of entity words w from , \ represents the difference operation, ∩ represents the intersection operation, and Concate represents the concatenation of all words with spaces to form an entity-level text description t e Similarly, entity-level 3D data may be determined in a similar manner based on a comparison of corresponding 3D data for adjacent views based on Formula 14. The 3D data may then be associated with previously acquired entity-level text to form a point-text pair as shown in Formula 15.
[0073] In the above formula, represents a point-text pair obtained from the difference between the i-th view and the j-th view, represents a point-text pair obtained from the difference between the i-th view and the j-th view, and represents the point-text pair obtained from the interaction between the i-th view and the j-th view. Further, at the entity level The pairs can be filtered to ensure that each view level point set is associated with at least one entity and is focused on a sufficiently small 3D space, as described below,
[0074] In this formula, γ represents a scalar to limit the minimum number of points in the 3D data, and δ is a ratio to control Maximum size and text description e This constraint helps to focus on a fine-grained 3D space with fewer entities in each caption supervision.
[0075] against Figure 6 At entity level 624 in, based on the interaction of the 3D data / text descriptions for images 420 and 422, 3D data 634 can be obtained and the associated text includes: backpack and floor. Based on the difference between the 3D data / text descriptions for images 420 and 422, 3D data 634 can be obtained and the associated text includes: bicycle. Based on the difference between the 3D data / text descriptions for images 420 and 422, 3D data 638 can be obtained and the associated text includes: couch. Using these implementations of the present disclosure, associations can be achieved at a more refined level, so that the detection model 210 can learn more knowledge about the objects.
[0076] The above three levels can provide a coarse-to-fine approach for finding associated 3D data and corresponding classes. Specifically, scene-level association has the simplest implementation and obtains the coarsest correspondence between text descriptions and points; view-level association provides a finer level of 3D data-text mapping relationship, with a larger semantic label space and a more localized point set compared to scene-level text descriptions; and entity-level association has the finest-grained correspondence, matching each text description to fewer points on average, and thus can further facilitate dense prediction and instance localization in downstream tasks. Although the above paragraphs describe the above three levels from a coarse to a fine approach, the above three levels can be implemented in a separate manner, or in a combination without any restrictions.
[0077] In the implementation of the present disclosure, the detection model 210 may be trained based on comparative learning between point sets and text. In other words, a loss function may be defined for the detection model 210 based on a comparative loss for reference 3D data and a reference class associated with a 3D data-text pair. The three levels of 3D data-text pairs are then acquired in one or more levels. F3D can be guided to learn from lexically rich language supervision. Here, contrastive learning can be applied to all kinds of coarse-to-fine 3D data-text pairs in the above three levels. Specifically, the text description embedding f t The pre-trained text encoder F text As for the associated 3D data Its corresponding point-wise features can be obtained from the adapted features f v and a global average pooling operation can be performed to obtain its feature vector
[0078] In this formula, f t Representation and Text Encoder F text The output text description related embedding, f v represents the feature determined based on Formula 3, Pool represents the pooling operation, and t represent the 3D data-text pair associated 3D data and text, and Represents the 3D data-text embedding for contrastive learning. At this point, the contrastive loss can pull the corresponding 3D data-text embeddings closer and push away irrelevant 3D data-text features:
[0079] In this formula, represents the contrastive learning loss function related to 3D data-text association, n t represents the number of 3D data-text pairs in any given association level (e.g., scene level, view level, and entity level), represents the i-th embedding associated with the 3D data, represents the i-th embedding associated with the language, and τ is a learnable temperature to adjust the logical value like CLIP. In the implementation of the present disclosure, repeated text descriptions can be removed from the batch to avoid noise optimization during contrastive learning. Using Equations 17 and 18, the final contrastive learning loss function can be determined as:
[0080] In this formula, represents the final contrastive learning loss function, α1, α2 and α2 represent different weights for the above three levels, represents the loss function determined based on Formula 18 at the scene level, represents the loss function determined based on Formula 18 at the view level, and represents the loss function determined based on Formula 18 at the entity level. Based on the above, the overall training objective can be written as:
[0081] In this formula, represents the total loss function for the detection model 210; represents a loss function associated with the semantics of the object, which can be determined from the difference between the estimated semantics and the annotated semantics; represents the loss function associated with the 3D mask of the object, which can be determined based on the difference between the estimated mask and the annotated mask; represents the final contrastive learning loss function determined by Formula 19, and represents the binary loss function determined by Formula 4.
[0082] With these implementations of the present disclosure, various aspects can be considered in the training data (including labeled data and unlabeled data), thereby improving the performance of the detection model 210. Further, since the final loss function has knowledge of the open vocabulary classes (including base classes and new classes), the detection model 210 can accurately detect objects belonging to the open classes.
[0083] In implementations of the present disclosure, the detection model 210 may be used to implement various downstream tasks. Figure 7 An example graph 700 showing a comparison between multiple detection results according to an embodiment of the present disclosure is shown. Figure 7Table 710 in Figure 7 shows the case of using the detection model 210 in 3D semantic segmentation. The first column indicates the various methods to be compared, the second column indicates whether new classes need to be known during training, and the third and fourth columns show various measurements related to the two datasets (ScanNet and S3DIS). Table 710 shows that the proposed solution can achieve better improvements than existing solutions such as LSeg-3D, 3DGenZ, 3DTZSL, etc.
[0084] Figure 8 An example diagram 800 for comparing multiple detection results according to an implementation of the present disclosure is shown. Figure 8 In FIG. 8 , table 810 shows the case of employing the detection model 210 in 3D instance segmentation. The measurements in table 810 also show that the proposed implementation of the present disclosure achieves a higher level of accuracy. Fig. 9 An example diagram 900 for comparing multiple detection results according to an implementation of the present disclosure is shown. Fig. 9 Table 910 shows the zero-shot domain transfer results for semantic segmentation and instance segmentation on ScanNet->S3DIS. Fig.10 An example diagram 1000 for comparing multiple detection results according to an implementation of the present disclosure is shown. Fig.10 , table 1010 shows measurements associated with component analysis, and different levels of accuracy can be achieved based on the selected components (eg, a binary loss function and a constructive loss function associated with three levels).
[0085] Fig.11 An example graph 1100 for multiple detection results by detecting objects of a synonymous new class according to an implementation of the present disclosure is shown. In this implementation, the class "sofa" is replaced by the class "couch", and results 1110 and 1120 show objects that can be correctly detected when either class is used. Fig.11 In the example, the two regions of knowledge by color (sofa 1112 and couch 1122) are similar and related to the same object. Fig.12 An example diagram 1200 of multiple detection results by detecting objects of an abstract new class according to an implementation of the present disclosure is shown. In this implementation, multiple classes such as "shower curtain", "toilet", "sink", and "bathtub" are removed from the open class, and the class "bathroom" is added. By comparing the results 1210 and 1220, the predicted bathroom 1222 roughly covers the real bathroom area including the bathtub 1212 and other objects. Fig.13 An example graph 1300 for multiple detection results by detecting an object of a new class that is not labeled according to an implementation of the present disclosure is shown. Fig.13, color 1312 in the truth value 1310 indicates an unlabeled object, and result 1320 shows that monitor 1322 is detected by the detection model.
[0086] Based on the above, the present disclosure proposes a general and effective language-driven 3D scene understanding framework that enables 3D models to locate and identify novel classes. By using images as a bridge, hierarchical 3D data-text pairs can be constructed based on a powerful 2D VL base model and geometric constraints between 3D scenes and 2D images. Further, contrastive learning is used to bring the features of such associated pairs closer, introducing rich semantic concepts into the 3D network. A large number of experimental results show that the proposed solution implements open vocabulary semantics and instance segmentation in a more accurate and effective way.
[0087] The above paragraphs describe details for detecting objects in a 3D scene. According to an implementation of the present disclosure, a method for detecting objects in a 3D scene is provided. For more details about the method, please refer to Fig.14 ,here Fig.14 An example flow chart of a method 1400 for detecting objects in a 3D scene based on an open vocabulary according to an implementation of the present disclosure is shown. In box 1410, a detection model is obtained, where the detection model describes an association relationship between multiple base classes of multiple objects and 3D data of the multiple objects. In box 1420, multiple open classes of multiple candidate objects to be detected in the 3D scene are received, where the multiple open classes include the multiple base classes and at least one new class not included in the multiple base classes. In box 1430, based on the detection model and the multiple open classes, a 3D part is detected in the 3D data of the 3D scene, the 3D part corresponds to a target candidate object in the multiple candidate objects, and the class of the target candidate object is included in the multiple open classes.
[0088] In an implementation of the present disclosure, detecting a 3D part includes: extracting multiple language features for multiple open classes respectively, and the multiple open classes are represented in a text format; based on a 3D feature model included in the detection model, obtaining 3D features for 3D data, and the 3D feature model describes an association relationship between reference 3D data and reference 3D features for the reference 3D data; and identifying a 3D part in the 3D data based on the similarity between the multiple language features and the 3D features.
[0089] In an implementation of the present disclosure, acquiring a detection model includes: obtaining a reference class from a plurality of open classes; acquiring reference 3D data corresponding to a reference object, the reference object belonging to the reference class; and training a detection model based on the reference 3D data and the reference class.
[0090] In an implementation of the present disclosure, obtaining reference 3D data includes: obtaining reference 3D scene data of a reference 3D scene defined by at least one reference image; and selecting reference 3D data from the reference 3D scene data based on a predetermined accuracy level.
[0091] In an implementation of the present disclosure, obtaining a reference class includes: obtaining at least one text description for the at least one reference image based on a predefined image description model; and determining a reference class based on the at least one text description.
[0092] In an implementation of the present disclosure, selecting the reference 3D data includes: in response to determining that the predetermined accuracy level is a scene level, selecting the reference 3D scene data as the reference 3D data.
[0093] In an implementation of the present disclosure, selecting the reference 3D data includes: in response to determining that the predetermined accuracy level is the view level, selecting the reference 3D data based on a mapping relationship between at least one reference image and the reference 3D scene data.
[0094] In an implementation of the present disclosure, the at least one reference image includes a plurality of reference images, and selecting the reference 3D data includes: in response to determining that the predetermined accuracy level is a physical level, selecting the first reference 3D data based on a first mapping relationship between the first reference image and the reference 3D scene data, and selecting the second reference 3D data based on a second mapping relationship between the second reference image and the reference 3D scene data; and determining the reference 3D data based on a comparison between the first reference 3D data and the second reference 3D data, the comparison including any one of an interaction and a difference between the first reference 3D data and the second reference 3D data.
[0095] In an implementation of the present disclosure, obtaining the reference class includes: determining the reference class based on a comparison of at least one text description for the first reference image and at least one text description for the second reference image.
[0096] In an implementation of the present disclosure, training the detection model includes: determining a loss function for the detection model based on a comparison loss between reference 3D data and a reference class.
[0097] In an implementation of the present disclosure, training the detection model further includes: determining a binary loss indicating whether a 3D point in the 3D data is associated with multiple base classes; and updating the loss function based on the binary loss.
[0098] According to an implementation of the present disclosure, a device for detecting objects in a three-dimensional (3D) scene is provided. The device includes: an acquisition unit configured to acquire a detection model, which describes an association relationship between multiple base classes of multiple objects and 3D data of the multiple objects; a receiving unit configured to receive multiple open classes of multiple candidate objects to be detected in the 3D scene, the multiple open classes including the multiple base classes and at least one new class not included in the multiple base classes; and a detection unit configured to detect a 3D part corresponding to a target candidate object among the multiple candidate objects in the 3D data of the 3D scene based on the detection model and the multiple open classes, the class of the target candidate object being included in the multiple open classes. Further, the device may include other units configured to implement other steps in the above method.
[0099] According to the implementation of the present disclosure, an electronic device for implementing the above method is provided. The electronic device includes: a computer processor coupled to a computer-readable memory unit, the memory unit including instructions, which, when executed by the computer processor, implement a method for detecting objects in a 3D scene. The method includes: obtaining a detection model, the detection model describing the association relationship between multiple base classes of multiple objects and 3D data of the multiple objects; receiving multiple open classes of multiple candidate objects to be detected in the 3D scene, the multiple open classes including the multiple base classes and at least one new class not included in the multiple base classes; and based on the detection model and the multiple open classes, detecting a 3D part corresponding to a target candidate object among the multiple candidate objects in the 3D data of the 3D scene, the class of the target candidate object being included in the multiple open classes.
[0100] In an implementation of the present disclosure, detecting a 3D part includes: extracting multiple language features for multiple open classes respectively, and the multiple open classes are represented in a text format; based on a 3D feature model included in the detection model, obtaining 3D features for 3D data, and the 3D feature model describes an association relationship between reference 3D data and reference 3D features for the reference 3D data; and identifying a 3D part in the 3D data based on the similarity between the multiple language features and the 3D features.
[0101] In an implementation of the present disclosure, acquiring a detection model includes: obtaining a reference class from a plurality of open classes; acquiring reference 3D data corresponding to a reference object, the reference object belonging to the reference class; and training a detection model based on the reference 3D data and the reference class.
[0102] In an implementation of the present disclosure, obtaining reference 3D data includes: obtaining reference 3D scene data of a reference 3D scene defined by at least one reference image; and selecting reference 3D data from the reference 3D scene data based on a predetermined accuracy level.
[0103] In an implementation of the present disclosure, obtaining a reference class includes: obtaining at least one text description for the at least one reference image based on a predefined image description model; and determining a reference class based on the at least one text description.
[0104] In an implementation of the present disclosure, selecting the reference 3D data includes: in response to determining that the predetermined accuracy level is a scene level, selecting the reference 3D scene data as the reference 3D data.
[0105] In an implementation of the present disclosure, selecting the reference 3D data includes: in response to determining that the predetermined accuracy level is the view level, selecting the reference 3D data based on a mapping relationship between at least one reference image and the reference 3D scene data.
[0106] In an implementation of the present disclosure, the at least one reference image includes a plurality of reference images, and selecting the reference 3D data includes: in response to determining that the predetermined accuracy level is a physical level, selecting the first reference 3D data based on a first mapping relationship between the first reference image and the reference 3D scene data, and selecting the second reference 3D data based on a second mapping relationship between the second reference image and the reference 3D scene data; and determining the reference 3D data based on a comparison between the first reference 3D data and the second reference 3D data, the comparison including any one of an interaction and a difference between the first reference 3D data and the second reference 3D data.
[0107] In an implementation of the present disclosure, obtaining the reference class includes: determining the reference class based on a comparison of at least one text description for the first reference image and at least one text description for the second reference image.
[0108] In an implementation of the present disclosure, training the detection model includes: determining a loss function for the detection model based on a comparison loss between reference 3D data and a reference class.
[0109] In an implementation of the present disclosure, training the detection model further includes: determining a binary loss indicating whether a 3D point in the 3D data is associated with multiple base classes; and updating the loss function based on the binary loss.
[0110] Fig.15 15 shows a block diagram of a computing device 1500 in which various implementations of the present disclosure may be implemented. It should be understood that Fig.15 The computing device 1500 shown in the figure is for illustration purposes only and does not in any way imply any limitation on the functionality and scope of the present disclosure. In the implementation of the present disclosure, the computing device 1500 can be used to implement the above method 1500. Fig.15As shown in FIG. 1 , computing device 1500 may be a general computing device. Computing device 1500 may include at least one or more processors or processing units 1510 , memory 1520 , storage unit 1530 , one or more communication units 1540 , one or more input devices 1550 , and one or more output devices 1560 .
[0111] Processing unit 1510 may be a physical or virtual processor and may implement various processes based on a program stored in memory 1520. In a multi-processor system, multiple processing units execute computer-executable instructions in parallel to increase the parallel processing capabilities of computing device 1500. Processing unit 1510 may also be referred to as a central processing unit (CPU), a microprocessor, a controller, or a microcontroller.
[0112] The computing device 1500 typically includes various computer storage media. Such media can be any media accessible to the computing device 1500, including but not limited to volatile and non-volatile media, or removable and non-removable media. The memory 1520 can be a volatile memory (e.g., registers, cache, random access memory (RAM)), a non-volatile memory (e.g., read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM) or flash memory), or any combination thereof. The storage unit 1530 can be any removable or non-removable medium, and can include a machine-readable medium, such as a memory, a flash drive, a disk, or other medium, which can be used to store information and / or data and can be accessed in the computing device 1500.
[0113] The computing device 1500 may further include additional removable / non-removable, volatile / non-volatile storage media. Fig.15 Not shown in the figure, but a disk drive for reading from and / or writing to a removable non-volatile disk and an optical drive for reading from and / or writing to a removable non-volatile optical disk may be provided. In this case, each drive may be connected to a bus (not shown) via one or more data medium interfaces.
[0114] The communication unit 1540 communicates with another computing device via a communication medium. In addition, the functionality of the components in the computing device 1500 can be implemented by a single computing cluster or multiple computing machines that can communicate via a communication connection. Therefore, the computing device 1500 can operate in a networked environment using logical connections to one or more other servers, networked personal computers (PCs), or other general network nodes.
[0115] Input device 1550 may be one or more of various input devices, such as a mouse, keyboard, trackball, voice input device, etc. Output device 1560 may be one or more of various output devices, such as a display, speaker, printer, etc. With the aid of communication unit 1540, computing device 1500 may further communicate with one or more external devices (not shown) such as storage devices and display devices, one or more of which allow a user to interact with computing device 1500, or any device (such as a network card, modem, etc.) that allows computing device 1500 to communicate with one or more other computing devices (if necessary). Such communication may be performed through an input / output (I / O) interface (not shown).
[0116] In some implementations, some or all of the components of the computing device 1500 may also be arranged in a cloud computing architecture rather than being integrated in a single device. In a cloud computing architecture, components may be provided remotely and work together to implement the functions described in the present disclosure. In some implementations, cloud computing provides computing, software, data access, and storage services, which will not require the end user to know the physical location or configuration of the system or hardware that provides these services. In various implementations, cloud computing provides services via a wide area network (e.g., the Internet) using appropriate protocols. For example, a cloud computing provider provides applications via a wide area network, which can be accessed through a web browser or any other computing component. The software or components of the cloud computing architecture and the corresponding data may be stored on a server at a remote location. The computing resources in a cloud computing environment may be merged or distributed at the location of a remote data center. Cloud computing infrastructures may provide services through shared data centers, although they are a single access point for users. Therefore, cloud computing architectures may be used to provide the components and functions described herein from a service provider at a remote location. Alternatively, they may be provided from a traditional server or installed directly or otherwise on a client device.
[0117] The functions described herein may be performed at least in part by one or more hardware logic components. For example, but not limited to, illustrative types of hardware logic components that may be used include field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), etc.
[0118] The program code for executing the method of the subject described herein can be written in any combination of one or more programming languages. The program code can be provided to a processor or controller of a general-purpose computer, a special-purpose computer or other programmable data processing device so that the program code enables the functions / operations specified in the flow chart and / or block diagram to be realized when the processor or controller executes the program code. The program code can be executed entirely or partially on the machine, partially on the machine, partially on a remote machine, or completely on a remote machine or server as an independent software package.
[0119] In the context of the present disclosure, a machine-readable medium may be any tangible medium containing or storing a program used by or in conjunction with an instruction execution system, device, or apparatus. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or any suitable combination of the foregoing. More specific examples of machine-readable storage media would include an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0120] Further, although operations are shown in a particular order, this should not be understood as requiring these operations to be performed in the particular order shown or in a continuous order, or that all operations shown are performed to achieve the desired result. In some cases, multitasking and parallel processing can be advantageous. Similarly, although several specific implementation details are included in the above discussion, these should not be interpreted as limitations on the scope of the subject matter described herein, but rather as descriptions of features peculiar to a particular implementation. Certain features described in the context of separate implementations may also be implemented in combination in a single implementation. On the contrary, the various features described in a single implementation may also be implemented in multiple implementations, respectively, or in any suitable sub-combination.
[0121] Although the subject matter has been described in language specific to structural features and / or methodological acts, it is to be understood that the subject matter specified in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are disclosed as example forms of implementing the claims.
[0122] It can be understood from the foregoing that, for the purpose of illustration, a specific implementation of the currently disclosed technology has been described herein, but various modifications may be made without departing from the scope of the present disclosure. Therefore, the currently disclosed technology is not limited except as set forth in the appended claims.
[0123] The implementation of the subject matter and functional operations described in the present disclosure can be implemented in various systems, digital electronic circuits, or in computer software, firmware or hardware, including the structures disclosed in this specification and their structural equivalents, or in a combination of one or more of them. The implementation of the subject matter described in this specification can be implemented as one or more computer program products, i.e., one or more modules of computer program instructions encoded on a tangible and non-transitory computer-readable medium, for execution by a data processing device or controlling the operation of the data processing device. The computer-readable medium can be a machine-readable storage device, a machine-readable storage substrate, a memory device, a material combination that implements a machine-readable propagation signal, or a combination of one or more of them. The term "data processing unit" or "data processing device" includes all devices, equipment and machines for processing data, including by means of, for example, a programmable processor, a computer or multiple processors or computers. In addition to hardware, the device may include code that creates an execution environment for the computer program in question, for example, code that constitutes processor firmware, a protocol stack, a database management system, an operating system, or a combination of one or more of them.
[0124] A computer program (also referred to as a program, software, software application, script, or code) may be written in any form of programming language, including compiled or interpreted languages, and it may be deployed in any form, including as a stand-alone program or as a module, component, subroutine, or other unit suitable for a computing environment. A computer program does not necessarily correspond to a file in a file system. A program may be stored in a portion of a file that holds other programs or data (e.g., one or more scripts stored in a markup language document), in a single file dedicated to the program in question, or in multiple collaborative files (e.g., files storing one or more modules, subroutines, or portions of code). A computer program may be deployed to be executed on one computer or multiple computers located at one location or distributed at multiple locations and interconnected by a communications network.
[0125] Processors suitable for executing computer programs include, by way of example, both general-purpose and special-purpose microprocessors and any one or more processors of any kind of digital computer. Typically, the processor will receive instructions and data from a read-only memory or a random access memory or both. The basic elements of a computer are a processor for executing instructions and one or more memory devices for storing instructions and data. Typically, a computer will also include or be operably coupled to one or more large-capacity storage devices for storing data, such as magnetic disks, magneto-optical disks, or optical disks, to receive data from or transmit data to, or both. However, a computer need not have such a device. Computer-readable media suitable for storing computer program instructions and data include all forms of non-volatile memory, media, and memory devices, including, for example, semiconductor memory devices, such as EPROM, EEPROM, and flash memory devices. The processor and memory may be supplemented or incorporated into a dedicated logic circuit.
[0126] The specification and drawings are to be regarded as exemplary only, where exemplary means example.As used herein, the use of "or" is intended to include "and / or" unless the context clearly dictates otherwise.
[0127] Although the present disclosure contains many details, these details should not be interpreted as limitations on the scope of any disclosure or what may be claimed, but rather as descriptions of features peculiar to a particular implementation of a particular disclosure. Certain features described in the present disclosure in the context of separate implementations may also be implemented in combination in a single implementation. Conversely, various features described in the context of a single implementation may also be implemented separately or in any suitable sub-combination in multiple implementations. In addition, although features may be described above as working in certain combinations, and even initially claimed as such, one or more features from a claimed combination may be deleted from the combination in some cases, and a claimed combination may be directed to a sub-combination or a variant of a sub-combination.
[0128] Similarly, although operations are shown in a particular order in the accompanying drawings, this should not be understood as requiring that the operations be performed in the particular order shown or in a sequential order, or that all of the operations shown be performed to obtain the desired results. In addition, the separation of various system components in the implementations described in this disclosure should not be understood as requiring such separation in all implementations. Only some implementations and examples are described, and other implementations, enhancements, and variations that can be made based on what is described and shown in this disclosure.
Claims
1. A method for detecting an object in a three-dimensional (3D) scene, comprising: Acquire a detection model, where the detection model describes an association relationship between a plurality of base classes of a plurality of objects and the 3D data of the plurality of objects; receiving a plurality of open classes of a plurality of candidate objects to be detected in a 3D scene, the plurality of open classes comprising the plurality of base classes and at least one new class not included in the plurality of base classes; as well as Based on the detection model and the plurality of open classes, a 3D part corresponding to a target candidate object among the plurality of candidate objects is detected in the 3D data of the 3D scene, the class of the target candidate object being included in the plurality of open classes.
2. The method of claim 1 , wherein detecting the 3D portion comprises: extracting a plurality of language features for the plurality of open classes respectively, wherein the plurality of open classes are represented in a text format; acquiring 3D features for the 3D data based on a 3D feature model included in the detection model, the 3D feature model describing an association relationship between reference 3D data and reference 3D features for the reference 3D data; and The 3D portion in the 3D data is identified based on similarities between the plurality of language features and the 3D features.
3. The method according to claim 2, wherein obtaining the detection model comprises: obtaining a reference class from the plurality of open classes; Acquiring reference 3D data corresponding to a reference object, the reference object belonging to the reference class; as well as The detection model is trained based on the reference 3D data and the reference class.
4. The method according to claim 3, wherein acquiring the reference 3D data comprises: obtaining reference 3D scene data of a reference 3D scene defined by at least one reference image; as well as The reference 3D data are selected from the reference 3D scene data based on a predetermined accuracy level.
5. The method according to claim 4, wherein obtaining the reference class comprises: Based on a predefined image description model, obtaining at least one text description for the at least one reference image; as well as Based on the at least one text description, the reference class is determined.
6. The method according to claim 4, wherein selecting the reference 3D data comprises: In response to determining that the predetermined accuracy level is a scene level, the reference 3D scene data is selected as the reference 3D data.
7. The method according to claim 4, wherein selecting the reference 3D data comprises: In response to determining that the predetermined accuracy level is a view level, the reference 3D data is selected based on a mapping relationship between the at least one reference image and the reference 3D scene data.
8. The method of claim 4, wherein the at least one reference image comprises a plurality of reference images, and selecting the reference 3D data comprises: In response to determining that the predetermined level of accuracy is a solid level, Selecting first reference 3D data based on a first mapping relationship between the first reference image and the reference 3D scene data, and selecting second reference 3D data based on a second mapping relationship between the second reference image and the reference 3D scene data; as well as The reference 3D data is determined based on a comparison between the first reference 3D data and the second reference 3D data, the comparison including any one of an interaction and a difference between the first reference 3D data and the second reference 3D data.
9. The method according to claim 8, wherein obtaining the reference class comprises: The reference class is determined based on a comparison of at least one textual description for the first reference image and at least one textual description for the second reference image.
10. The method of claim 3, wherein training the detection model comprises: Based on the comparison loss between the reference 3D data and the reference class, a loss function for the detection model is determined.
11. The method according to claim 10, wherein training the detection model further comprises: determining a binary loss indicating whether a 3D point in the 3D data is associated with the plurality of base classes; as well as Based on the binary loss, the loss function is updated.
12. An electronic device comprising a computer processor coupled to a computer readable memory unit, the memory unit comprising instructions that, when executed by the computer processor, implement a method for detecting an object in a three-dimensional (3D) scene, the method comprising: Acquire a detection model, where the detection model describes an association relationship between a plurality of base classes of a plurality of objects and the 3D data of the plurality of objects; receiving a plurality of open classes of a plurality of candidate objects to be detected in a 3D scene, the plurality of open classes comprising the plurality of base classes and at least one new class not included in the plurality of base classes; as well as Based on the detection model and the plurality of open classes, a 3D part corresponding to a target candidate object among the plurality of candidate objects is detected in the 3D data of the 3D scene, the class of the target candidate object being included in the plurality of open classes.
13. The apparatus of claim 12, wherein detecting the 3D portion comprises: extracting a plurality of language features for the plurality of open classes respectively, wherein the plurality of open classes are represented in a text format; acquiring 3D features for 3D data based on a 3D feature model included in the detection model, the 3D feature model describing an association relationship between reference 3D data and reference 3D features for the reference 3D data; and The 3D portion in the 3D data is identified based on similarities between the plurality of language features and the 3D features.
14. The apparatus according to claim 13, wherein acquiring the detection model comprises: determining the reference class based on at least one textual description for the at least one reference image determined by a predefined image description model; Acquiring reference 3D data corresponding to a reference object, the reference object belonging to the reference class; as well as The detection model is trained based on the reference 3D data and the reference class.
15. The apparatus according to claim 14, wherein acquiring the reference 3D data comprises: obtaining reference 3D scene data of a reference 3D scene defined by at least one reference image; as well as The reference 3D data are selected from the reference 3D scene data based on a predetermined accuracy level.
16. The apparatus according to claim 15, wherein selecting the reference 3D data comprises any one of the following: In response to determining that the predetermined accuracy level is a scene level, selecting the reference 3D scene data as the reference 3D data; In response to determining that the predetermined accuracy level is a view level, the reference 3D data is selected based on a mapping relationship between the at least one reference image and the reference 3D scene data.
17. The apparatus of claim 15, wherein the at least one reference image comprises a plurality of reference images, and selecting the reference 3D data comprises: In response to determining that the predetermined level of accuracy is a solid level, Selecting first reference 3D data based on a first mapping relationship between the first reference image and the reference 3D scene data, and selecting second reference 3D data based on a second mapping relationship between the second reference image and the reference 3D scene data; as well as The reference 3D data is determined based on a comparison between the first reference 3D data and the second reference 3D data, the comparison including any one of an interaction and a difference between the first reference 3D data and the second reference 3D data.
18. The apparatus of claim 14, wherein training the detection model comprises: Based on the comparison loss between the reference 3D data and the reference class, a loss function for the detection model is determined.
19. The apparatus of claim 18, wherein training the detection model further comprises: determining a binary loss indicating whether a 3D point in the 3D data is associated with the plurality of base classes; as well as Based on the binary loss, the loss function is updated.
20. A computer program product, the computer program product comprising a non-transitory computer-readable storage medium having program instructions implemented therein, the program instructions being executable by an electronic device to cause the electronic device to perform a method for detecting an object in a three-dimensional (3D) scene, the method comprising: Acquire a detection model, where the detection model describes an association relationship between a plurality of base classes of a plurality of objects and the 3D data of the plurality of objects; receiving a plurality of open classes of a plurality of candidate objects to be detected in a 3D scene, the plurality of open classes comprising the plurality of base classes and at least one new class not included in the plurality of base classes; as well as Based on the detection model and the plurality of open classes, a 3D part corresponding to a target candidate object among the plurality of candidate objects is detected in the 3D data of the 3D scene, the class of the target candidate object being included in the plurality of open classes.
