Model-free six-dimensional object pose estimation

By using a composite pose estimation algorithm for video object segmentation and object pose tracking sub-algorithms, storable data items are generated, solving the problems of cumbersome and poor adaptability of new object pose estimation in existing technologies. This achieves fast pose estimation without retraining, thus improving the user experience.

CN123146971APending Publication Date: 2026-11-20ABB (SCHWEIZ) AG
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202480091153.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-04-30
Publication Date
2026-11-20

AI Technical Summary

Technical Problem

Existing 6D pose estimation algorithms require cumbersome retraining and computational resources when faced with new objects, and they struggle to adapt quickly to new objects in unstructured environments, resulting in a poor user experience.

Method used

A composite pose estimation algorithm is adopted, including a video object segmentation (VOS) sub-algorithm and an object pose tracking (OPT) sub-algorithm. By generating storable data items through deep video analysis, fast pose estimation of new objects can be achieved without retraining the neural network.

Benefits of technology

It enables fast pose estimation for new objects, reduces learning time, improves user experience, and is suitable for robot programming in unstructured environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123146971A_ABST
    Figure CN123146971A_ABST
Patent Text Reader

Abstract

A composite pose estimation algorithm comprising a video object segmentation sub-algorithm (311) configured to determine a mask of a visual object in an image and an object pose tracking sub-algorithm (312) configured to track a pose of the visual object over a plurality of depth video frames; wherein the pose estimation algorithm is configured to input a depth video, frames are extracted from the depth video and fed to the video object segmentation sub-algorithm which determines a respective object mask and depth video to be used by the object pose tracking sub-algorithm. A method of tracking a pose of a physical object comprising obtaining a depth video depicting the physical object in a plurality of poses from an input interface (330), forming a storable data item representing the physical object by applying a pose estimation algorithm to the depth video and tracking the physical object or a replica of the physical object using an instance of the pose estimation algorithm which has been initialized by means of the storable data item.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of computer vision, and more particularly to (six-dimensional) pose estimation or pose tracking of physical objects. The pose tracking methods disclosed herein are applicable to the programming of assisted kinesthetic robots. Background Technology

[0002] Emerging robotic application markets, such as laboratory automation and food preparation, are characterized by less structured environments and users with little prior programming experience. To provide the necessary programming for these new applications, the demand for relatively easy-to-use and / or user-friendly programming interfaces is expected to increase. This includes programming interfaces suitable for demonstration-based teaching.

[0003] In many existing and emerging robotic applications, robot manipulation is performed on objects in the environment whose positions may not be predefined and may change over time. Furthermore, some tasks may require manipulating specific physical objects designed for that task, for which prior knowledge is often lacking. Therefore, the ease of use of a learning framework largely depends on the availability of a flexible vision scheme that allows users to intuitively and time-efficiently identify new objects.

[0004] State-of-the-art 6D pose estimation algorithms (including those using deep neural networks) are often insufficient for this task because they typically require cumbersome retraining when deployed to work with new objects; this retraining consumes significant computational resources, or requires a new round of data collection, or both. For example, when using the CosyPose algorithm (see Y. Labbé et al.'s paper "CosyPose: Consistent multi-view multi-object 6D pose estimation", arXiv:2008.08465 [cs.CV]), from... arXiv.org The implementation of the (retrieval) method learns new objects based on a mixture of real images and synthetic annotated images (including the CAD model of the new object). The requirements for the CAD model and the training cost mean that, if performed by a non-professional user, it would require several days of setup and code execution.

[0005] Furthermore, introducing new objects sometimes requires refitting the 2D or 3D vision system used, especially in unstructured environments (e.g., handling test tube racks inside medical containers, or opening / closing the lid of a test tube centrifuge). This setup time further increases the overall cost of introducing new objects.

[0006] To provide an attractive robotics teaching framework that meets the user group's expectations for ease of use, it is desirable to propose a vision scheme that can provide 6D pose estimation of new objects, with a typical setup and learning time of no more than a few minutes. Summary of the Invention

[0007] One object of this disclosure is to provide a method and computer system for tracking the pose of a physical object. Another object is to achieve single-shot pose estimation of a known physical object without any preparation other than analyzing a depth video of the object (wherein the depth video may be associated with operator instructions for an initial object mask). Preferably, the depth video is unlabeled, meaning that it can be used successfully without annotations or labels for the correct pose to be learned. More preferably, no CAD model of the physical object is required from the operator; this can be described as model-free pose estimation. Yet another object is to separate the analysis of the depth video by the pose estimation algorithm from its use during pose tracking (temporally and / or spatially). In particular, it is desirable to store the relevant output of the depth video analysis as data items that can be retrieved at a later time point and provided to the pose estimation algorithm, or transferred without delay to different instances of the pose estimation algorithm. Another objective is to provide a pose estimation algorithm that does not require any training of the neural network when tracking new physical objects; to the extent that the pose estimation algorithm includes a trainable neural network applicable to all physical objects (e.g., applicable to all physical objects in the expected object category), while the pose estimation algorithm is configured for specific types of physical objects using data from the data items described above.

[0008] The present invention achieves at least some of these objectives, as specifically defined by the appended independent claims. The dependent claims relate to the currently preferred embodiments of the invention.

[0009] In a first aspect of this disclosure, a method for tracking the pose of a physical object is provided, the method comprising using a composite pose estimation algorithm. The composite pose estimation algorithm includes: - A Video Object Segmentation (VOS) sub-algorithm is configured to determine the mask of visual objects in an image; and - The Object Pose Tracking (OPT) sub-algorithm is configured to track the pose of a visual object across multiple depth video frames. The pose estimation algorithm is configured to take depth video as input, from which frames are extracted and fed to the VOS sub-algorithm; the VOS sub-algorithm determines the appropriate object mask and depth video to be used by the OPT sub-algorithm. The method includes: recording depth video depicting a physical object in multiple poses; forming a storable data item representing the physical object by applying the pose estimation algorithm to the depth video; and tracking the physical object or a copy thereof using an instance of the pose estimation algorithm initialized with the storable data item.

[0010] An instance of a pose estimation algorithm initialized with storable data items can be identical to an instance of the same algorithm previously applied to depth video. This means that the "learning phase" (where the composite pose estimation algorithm learns new physical objects) can be temporally separated from the "production phase" (where the composite pose estimation algorithm estimates the pose of familiar physical objects or copies thereof). Accordingly, the production phase can begin almost immediately, requiring only the time to load the data items into working memory. Typically, there is no need to repeat the learning phase or reanalyze the depth video. Initialization of the composite pose estimation algorithm with storable data items can also be used for backup purposes, for example, to resume production operation after an instance of the composite pose estimation algorithm has stopped working.

[0011] Alternatively, the pose estimation algorithm instance, which has been initialized with storable data items, can be an instance of the same algorithm, different from the instance previously applied to depth video. This means that the results of the learning phase can be shared with the receiver in the form of storable data items, allowing the receiver to begin the production phase for a new physical object almost instantly, without having to perform a learning phase for that physical object.

[0012] In a second aspect of this disclosure, a computer system configured to track the pose of a physical object is provided. The computer system includes a first processing circuit system and a second processing circuit system, each configured with a composite pose estimation algorithm including the VOS sub-algorithm and the OPT sub-algorithm described above. The computer system also includes: an interface for inputting a depth video depicting the physical object in multiple poses; and a memory. According to the second aspect, the first processing circuit system is further configured to apply the pose estimation algorithm to the depth video, thereby storing data items representing the physical object in the memory. Furthermore, the second processing circuit system is configured to retrieve the data items from the memory and initialize an instance of the pose estimation algorithm using the data items.

[0013] This disclosure also relates to a computer program containing instructions for causing a computer or computer system to perform the methods described above.

[0014] This disclosure also relates to a storable data item obtained by applying the pose estimation algorithm described above to a depth video depicting a physical object in multiple poses. This data item can be used to initialize an instance of the pose estimation algorithm so that it can begin estimating the pose of the physical object without prior learning.

[0015] The computer program or data item may be stored on or distributed on a data carrier. As used herein, "data carrier" can be a transient data carrier (such as modulated electromagnetic waves or light waves) or a non-transient data carrier. Non-transient data carriers include volatile and non-volatile memories, such as permanent and non-permanent storage media of magnetic, optical, or solid-state types. Such memories may be fixed or portable, and still fall within the scope of "data carrier".

[0016] In the terminology of this disclosure, “depth video” refers to a sequence of images that includes depth components, such as in red-green-blue (RGB) depth (D) format.

[0017] A "mask" or "object mask" for a visual object in an image can include a vector-based or bitmap-based representation, from which it can be determined which regions of the image correspond to the object. In depth images (e.g., depth video frames), the mask can be expressed in the image plane, i.e., independent of the depth component. In other words, the mask typically does not specify the extent of the physical object in the depth direction.

[0018] The "pose" of a physical object can indicate the orientation of the physical object, for example, based on a set of angles such as yaw, pitch, and roll. Optionally, the "pose" also includes the position of the physical object, so that the pose has a total of six degrees of freedom (6D pose).

[0019] In the terminology system disclosed herein, an "industrial robot" is a device with physical manipulators designed for or suitable for use in industrial environments for manufacturing, processing, material handling, disposal, and similar tasks. The term "industrial robot" encompasses a wide range, from light robots designed to replace human manual labor (including the emerging market use cases initially mentioned), to collaborative robots that assist human workers, to heavy-duty robots.

[0020] Generally, unless otherwise expressly defined herein, all terms used in the claims shall be interpreted according to their ordinary meaning in the art. Unless otherwise expressly stated, all references to “a”, “an”, “the” element, device, component, part, step, etc. shall be interpreted in an open-ended manner as at least one instance of that element, device, component, part, step, etc. Unless expressly stated otherwise, the steps of any method disclosed herein need not be performed in the exact order disclosed. Attached Figure Description

[0021] Now, with reference to the accompanying drawings, aspects and embodiments will be described by way of example, in which: Figure 1 This is a flowchart of a method for tracking the pose of a physical object; Figure 2 This is a flowchart of a method for programming industrial robots, which includes executing based on... Figure 1 Methods; Figure 3 A computer system is shown, which includes two sets of processing circuitry (each set of processing circuitry is configured with a composite pose estimation algorithm) and also includes shared memory; Figure 4 A computer system is shown having a single set of processing circuitry configured with a composite pose estimation algorithm; Figure 5 This is a functional block diagram of the data processing that occurs during the execution of the composite pose estimation algorithm, where boxes with different graphical styles indicate the previous frame information, object segmentation data, and memory data to be included in the storable data items; Figure 6 The diagram illustrates the process of extracting runtime data from an instance of a composite pose estimation algorithm (which has been applied to depth video of physical objects) and forming storable data items representing those physical objects, using [the algorithm's name is missing here, likely a typo]. Figure 5 Same graphic style; Figure 7 The diagram illustrates the process of loading runtime data from a data item into an instance of a composite pose estimation algorithm, where the data item corresponds to a physical object, and the algorithm initialized therefrom will be used for pose tracking of that physical object or a copy thereof; and Figure 8 The working area of ​​an industrial robot is shown, in which an associated vision system performing a composite pose estimation algorithm according to this disclosure is active, thereby facilitating the programming of the industrial robot. Detailed Implementation

[0022] The various aspects of this disclosure are now described more fully below with reference to the accompanying drawings, which illustrate specific embodiments of the invention. However, these aspects may be embodied in many different forms and should not be construed as limiting; rather, these embodiments are provided by way of example to make this disclosure exhaustive and complete, and to fully convey the scope of all aspects of the invention to those skilled in the art. Throughout the specification, the same numerals refer to the same elements. System Overview

[0023] Figure 8 An industrial robot 800 comprising a robot manipulator 810 and a robot controller 820 is shown. As indicated by the solid lines below these units, the robot manipulator 810 and the robot controller 820 are connected via a wired or wireless bidirectional data connection that transmits control signals, sensor data, etc.

[0024] The robot manipulator 810 includes an arm extending from a base 812 and consisting of a structural element 814 and at least one linear or rotary joint 813. The arm may also carry a tool 811, which allows it to interact with various workpieces 830 present in the working area 850 of the robot manipulator 810. These workpieces are manufactured, processed, or disposed of by the robot manipulator 810. The working area 850 may also include additional objects 840, such as containers, jigs, dividers, insulators, supports, etc.; these objects 840 may be general objects or may be specifically adapted to the workpieces 830 disposed of by the robot manipulator 810. The arm of the robot manipulator 810 is movable by the action of internal motors, drives, or actuators (not shown), and it includes transducers, sensors, and other measuring devices (not shown) from which the current position, pose, technical condition, load, etc., of the manipulator 810 can be obtained with a degree of accuracy. The position, pose, etc., of the robot manipulator 810 may specifically refer to points on the arm, particularly the tool center point (TCP).

[0025] Position, pose, etc., can be expressed relative to one of several possible reference frames, including: a fixed reference frame whose origin is located in the working area 850. ), a fixed reference system whose origin is located at base 812 (not shown), and a moving reference system whose origin is located at the workpiece ( ), or its origin is located at TCP (tool center point) and is oriented as a moving reference frame that is always parallel to tool 811 ( ).

[0026] The robot controller 820 includes a processing circuitry 821, a memory 822, and a communication interface 823. During operation, example contents of the memory 822 may include: S: Operating system, basic settings, software that enables general mobility, sensing, self-monitoring, and general functions and services (usually contributed by the original manufacturer); task- or role-specific configurations and configuration templates (usually contributed by the robot system integrator); and field-specific settings (usually contributed by the end user). C: Robot program or project that enables robot manipulator 810 to perform useful or intended tasks in its work area 850. The execution of the robot program can be performed based on program-independent memory contents S, for example, by calling available functions, libraries, routines, or parameter values ​​therein. It should be noted that the robot controller 820's memory 822 and processing circuitry 821 can be distributed, and / or include components with physical location and... Figure 1 The different networked resources indicated.

[0027] Each program in Program C may contain multiple movement instructions related to position (such as point, pose, path, and modulation path). The program may be a compiled executable file (binary file) or a script. Movement instructions related to the modulation path may be expressed as—or may include—path-processing instructions. Program C may be created by an operator using a robot programming device (programming station) or a general-purpose computer; if the robot controller 820 has an operator interface (not shown), these programs may also be created directly at the controller. In the first two cases, versions of the program may be downloaded to the robot controller 820 via a wired or wireless connection, or by temporary storage on a portable storage device. As described below, robot program C may also be created using kinematic programming combined with image data (including depth image data and the resulting object pose).

[0028] Figure 1 The right side of the diagram shows a dedicated programming device 860. The created program C can be transferred from the programming device 860 to the communication interface 823 of the robot controller 820, and subsequently stored in the memory 822, where it can be executed. It is important to note that the programming device 860 can be implemented as a set of cooperating components within the robot controller 820. In fact, components can be shared with the robot controller 820, for example, by using the processing circuitry system 821 for both robot control and programming purposes, and / or by using the memory 822 for the same two purposes. In other words, the programming device 860 can form part of a multifunctional device; it does not have to be a standalone device, nor does it have to be a device whose sole or primary purpose is programming.

[0029] Programming device 860 (in) Figure 8The programming device 860 (shown as a standalone device in a non-limiting example) includes a processing circuitry system 861, a memory 862, and at least one communication interface 863. To perform pose tracking, the programming device 860 utilizes a composite pose estimation algorithm, which will be described in the next section. Instructions 864 implementing the composite pose estimation algorithm, executed by the processing circuitry system 861, can be stored in the memory 862. The programming device 860 is shown connected to an external memory 870 via at least one communication interface 863, which can be shared with one or more other devices, such as one or more other programming devices, not shown. The external memory 870 can be used to store or share data items obtained by applying the pose estimation algorithm to depth video depicting physical objects in multiple poses; these data items can be used to initialize the pose estimation algorithm to handle new physical objects.

[0030] The programming device 860 can also access the imaging device 865, through which images of the work area 850 can be captured. This imaging device can be a camera or a video camera. Specifically, the imaging device can be a depth camera or a depth video camera, which, in addition to determining the two-dimensional appearance of a physical object, also determines the object's depth coordinates (e.g., through time-of-flight measurement, triangulation, radar, lidar, or other techniques known per se). An RGB-D camera is an example of a depth camera. The imaging device 865 can be part of the programming device 860, or it can be integrated into the industrial robot 800, and optionally used for other tasks.

[0031] During a kinematic programming session, the programming device 860 may access position data representing the actual position, recorded position, or recorded movement of the robot manipulator 810. This position data may be obtained, for example, via a robot controller 820 that monitors position data during its normal operation. Alternatively, the programming device 860 may also be authorized to access signals from transducers, sensors, or other measuring devices (not shown) within the robot manipulator 810. Composite pose estimation algorithm

[0032] The methods and computer systems disclosed in this paper refer to a class of composite pose estimation algorithms with specific characteristics. These composite pose estimation algorithms include: - A Video Object Segmentation (VOS) sub-algorithm is configured to determine the mask of visual objects in an image; and - The Object Pose Tracking (OPT) sub-algorithm is configured to track the pose of a visual object across multiple depth video frames. When the algorithm takes a given depth video as input and extracts frames from the video, the two sub-algorithms can cooperate as follows: The extracted frames are extracted and fed to the VOS sub-algorithm, which determines the corresponding object mask to be used by the OPT sub-algorithm. Subsequently, the OPT sub-algorithm performs pose tracking of the visual object on the extracted video frames based on the object mask. Notably, the object mask of the visual object can include a vector-based or bitmap-based representation, based on which the OPT sub-algorithm can determine which regions in the image (i.e., the video frame) correspond to the object. In particular, the OPT sub-algorithm can be configured to ignore regions in the video frame that are outside the object mask.

[0033] The VOS sub-algorithm may include one or more of the following operations: - Obtain working memory entries from previous video frames; - Optionally, long-term memory entries can be obtained from multiple previous video frames using a memory enhancement process; - The current video frame is processed by concatenating working memory entries and long-term memory entries. Regarding the first and second operations, it should be noted that the previous video frame can be either an immediately preceding video frame or a video frame separated from the current frame by one or more intermediate frames. Working memory entries and long-term memory entries can be part of the unified feature memory architecture in the VOS sub-algorithm. In some implementations of the VOS sub-algorithm, including XMem++ (see below), working memory is subdivided into permanent working memory and temporary working memory. It is worth noting that (permanent and temporary) working memory is separate from any trainable neural network in the VOS sub-algorithm; in other words, working memory operates in a normal manner and is neither controlled by nor used for artificial intelligence (machine learning).

[0034] For example, the VOS sub-algorithm may include one or more elements of the XMem architecture: (see HKCheng et al., “XMem: Long-Term Video Object Segmentation with an Atkinson-Shiffrin Memory Model”, arXiv:2207.07115[cs.CV], taken from...) arXiv.orgXMem++ architecture (see M. Bekuzarov et al., “XMem++: Production-level Video Segmentation From Few Annotated Frames”, arXiv:2307.15958 [cs.CV], taken from...) arXiv.org The TrackAnything architecture (see J. Yang et al., “Track Anything: Segment Anything Meets Videos”, arXiv:2304.11968[cs.CV], taken from...) arXiv.org Cutie architecture (see HK Cheng et al., "Putting the Object Back into VideoObject Segmentation", arXiv:2310.12982 [cs.CV], taken from...) arXiv.org Alternatively, it could be an algorithm that uses reference-guided mask propagation (see SW Oh et al., "FastVideo Object Segmentation by Reference-Guided Mask Propagation"). Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition 2018, pp. 7376-7385 Page Alternatively, algorithms using space-time memory networks can be employed (see SW Oh et al., "Video Object Segmentation using Space-Time Memory Networks"). IEEE Computer Proceedings of the Conference on Visual and Pattern Recognition 2018, pp. 9226-9235 ; and HK Cheng et al., “Rethinking Space-Time Networks with Improved Memory Coverage for Efficient Video Object Segmentation”, arXiv:2106.05210 [cs.CV], taken from arXiv.org ).

[0035] Some implementations of the OPT sub-algorithm refer to a set of keyframes, where each keyframe represents an observation of a physical object. OPT can then include one or more of the following operations: - Maintain the keyframe set using a double-ended queue; - Determine the keyframes for the current video frame based on the pose graph optimization using multiple keyframes from the stored keyframe set; - Use keyframes from previous video frames for the purpose of initializing the pose of the current video frame. Regarding the third operation, it should be noted that the previous video frame can be an immediately preceding previous video frame, or a video frame separated from the current frame by one or more intermediate frames.

[0036] For example, the OPT sub-algorithm may include the BundleTrack architecture (see B. Wen et al.'s paper "BundleTrack: 6D Pose Tracking for Novel Objects without Instance or Category-Level 3D Models", published at the 2021 IEEE / RSJ International Conference on Intelligent Robots and Systems (IROS)) or the BundleSDF architecture (see B. Wen et al.'s paper "BundleSDF: Neural 6-DoF Tracking and 3D Reconstruction of Unknown Objects", arXiv:2303.14158[cs.CV], retrieved from... arXiv.org Elements in ).

[0037] Example implementations of the composite pose estimation algorithms discussed have been described in existing technologies; see the research paper "Instance-Agnostic Geometry and Contact Dynamics Learning" by M. Sun et al. (arXiv:2309.05832[cs.CV], taken from...) arXiv.org As can be understood from the patent application with publication number CN115187633A, it discloses another example implementation.

[0038] Now, refer to Figure 5The functional block diagrams in the document review some data processing operations within the pose estimation algorithm, where the implementations of the VOS and OPT sub-algorithms are specified by reference numerals 311 and 312, respectively. These implementations largely correspond to the XMem and BundleTrack architectures; for more details on each architecture, please refer to the corresponding publications identified above.

[0039] VOS sub-algorithm 311 receives input in the form of RGB images 501 from interface 330 (these images may be frames from a video sequence). Optionally, these frames have a depth component, but this depth component will not be used in the processing within this implementation of VOS sub-algorithm 311. This implementation consists of three end-to-end trainable convolutional networks: a query encoder 502 that extracts query-specific image features 503, a decoder 506 that uses the output of a memory readout step to generate an object mask 508, and a value encoder 519 that combines the image (frame) with the object mask to extract new features. Long-term memory (including sub-memories 511 for keys and sub-memories 513 for values), working memory (including sub-memories 510 for keys and sub-memories 512 for values), and sensory memory 507 are also provided. For each new frame, VOS sub-algorithm 311 performs an attention-based memory readout based on these memories and uses the readout features to generate a segmentation mask. These memories are updated at different frequencies; for example, sensory memories 507 are updated every frame using a gated recurrent unit (GRU), while features are updated every r frames (…). These are then inserted into working memory 510 and 512. When the working memory reaches its pre-configured maximum... T max At frame intervals, those features are integrated from working memory 510, 512 into long-term memory 511, 513 in a compact form. When long-term memory is also full (e.g., after processing about a thousand frames), outdated features can be discarded.

[0040] Regarding memory read and mask read operations, Figure 5 As can be seen, the mask is calculated by decoder 506, which receives the feature vector as input. in The retrieved query returned a 503 error. Key 516 is formed by splicing (514) data from working and long-term key memories (510-511). The affinity matrix is ​​determined by key 516 and query 503, while v is the value 517 formed by splicing (515) data from working and long-term value memories (512-513). Decoder 506 also receives information from previous frames from sensory memory 507, and it has a skip connection 509 to query encoder 502.

[0041] The output of value encoder 519 is used to update working memories 510 and 512. Every r frames, query 503 is copied as a new key into memory 520, while a new value 521 is generated by feeding the current frame and prediction mask into value encoder 519. This new key and new value are appended 522 to the working memory and subsequently used in memory retrievals of subsequent frames. The new key 520 and new value 521 are also used to provide a depth update 518 to the current item in sensory memory 507. This operation can be performed once every r frames, in addition to frame-by-frame updates performed by the GRU.

[0042] The input to the OPT sub-algorithm 312 includes time-series RGB depth frames 531 and 532 provided from interface 330. Each frame corresponds to a snapshot of the physical object whose pose is to be estimated.

[0043] Box 533 applies the object mask 508 to the corresponding RGB-D frames 531 and 532, thereby obtaining masked RGB-D frames 536 and 537. Thus, further downstream processing steps can infer the range of the object within each frame 536 and 537.

[0044] The target object regions in both frames are cropped and resized before being sent to keypoint detection networks 538 and 539 to compute keypoints and feature descriptors 540 and 541. Each keypoint detection network 538 and 539 can be an LF-Net (see Y. Ono et al., “LF-Net: Learning local features from images”, [reference needed]). NeurIPS Conference Proceedings (See "2018, pp. 6234-6244"). The data association process, consisting of feature matching and outlier removal, confirms feature correspondences. The vertical connecting line illustrates the correspondence between frames 542 and 543, thus labeled. Based on these correspondences, the registration between the current frame and the previous frame can be solved in a closed-form solution, and the result is then used to provide a rough estimate of the transformation (rotation) between these two snapshots (frames). Keypoints and feature descriptors 540, along with the frame 542 labeled with them, constitute the previous frame information, which guides the processing of the current frame.

[0045] The estimated transformation is used to initialize the current node 552 in the pose graph optimization step. Graph optimization can be configured to find the minimum H-subgraph in an edge-weighted graph problem. To define the remaining nodes 545, 546, and 547 in the pose graph, no more than K keyframes are selected from the keyframe memory pool 553 for optimization. The value assigned to the number K is chosen to balance efficiency and accuracy, such as k=15. The pose graph edges 551 can represent both feature correspondences and geometric correspondences, which are computed in parallel. Given this information, the pose graph optimization step outputs the optimized pose for the current time step online. If the latest frame corresponds to a novel viewpoint of the physical object, this viewpoint is also included in the memory pool 553 along with the existing keyframes 545-550.

[0046] like Figure 5 As indicated by the solid arrow between the bold rectangles with rounded corners, the two sub-algorithms cooperate within the composite pose estimation algorithm. This cooperation involves feeding data describing the object mask 508 determined by the VOS sub-algorithm 311 to the OPT sub-algorithm 312 for determining the masked RGB-D frames 536, 537. Pose tracking method

[0047] Now for reference Figure 1 The flowchart in the diagram will describe a method 100 for tracking the pose of a physical object. Method 100 can be implemented in a computer. Specifically, method 100 can be... Figure 3 and Figure 4 The computer system 300 of the type shown in the figure is executed, and the computer system may constitute or form part of the robot controller 820.

[0048] exist Figure 3 In the computer system 300, there are separate (different) first processing circuitry systems 310 and 320. Each of these processing circuitry systems is configured to execute the composite pose estimation algorithm described above. Accordingly, the first processing circuitry system 310 is configured with instances of VOS sub-algorithm 311 and OPT sub-algorithm 312, and the second processing circuitry system 320 is independently configured with instances of VOS sub-algorithm 321 and OPT sub-algorithm 322. The computer system 300 also includes an input interface 330 and a memory 340 connected via a data bus 360. The input interface 330 is adapted to receive image or video input, for example, via a camera 350 connected to image a physical object 390 in different poses. The memory 340 is adapted to store data items 341 obtained by applying the composite pose estimation algorithm described above to depth video depicting the physical object 390 in multiple poses. The memory 340 can also be used to store data for executing the composite pose estimation algorithm. Figure 1The computer-readable instructions of method 100 illustrated herein. Figure 3 The computer system 300 thus benefits from the ability to spatially separate the learning phase from the production phase, in which the composite pose estimation algorithm learns new physical objects, and in the production phase, the composite pose estimation algorithm estimates the pose of familiar physical objects or copies thereof.

[0049] exist Figure 4 In this context, the computer system 300 has a single set of processing circuitry that executes instances of the composite pose estimation algorithm used in the learning phase and instances of the composite pose estimation algorithm used in the production phase. The two instances of the composite pose estimation algorithm are essentially identical. To emphasize this dual role, in Figure 4 The single processing circuit system is specified by reference numbers 310 and 320 (i.e., the first processing circuit system 310 and the second processing circuit system 320 are identical), and similarly, the VOS sub-algorithm is specified by 311 and 321, and the OPT sub-algorithm is specified by 312 and 322. Figure 4 The computer system 300 thus benefits from the ability to separate the learning phase from the production phase in a timely manner, for example, for purposes such as faster initialization of the production phase and data backup. The computer system 300 includes... Figure 4 Input interface 330 and memory 340 are not shown.

[0050] Return to Figure 1 Method 100 Step 110 Includes: defining a composite pose estimation algorithm having at least the following characteristics. This pose estimation algorithm includes: - VOS sub-algorithms 311 and 321 are configured to determine the mask of visual objects in an image, and - OPT sub-algorithms 312 and 322 are configured to track the pose of visual objects across multiple depth video frames. The composite pose estimation algorithm is configured to extract frames from the depth video and feed these frames to the VOS sub-algorithms 311 and 321. In addition to the depth video, the VOS sub-algorithms 311 and 321 also determine the corresponding object mask to be used by the OPT sub-algorithms 312 and 322.

[0051] In the first step 110, "defining" the composite pose estimation algorithm may include providing executable program code according to one of the implementation methods described above. This program code may be generated by the entity executing method 100 or received from another entity. Additionally or alternatively, the first step 110 may include creating data structures, reserving storage space in the working memory of the processing circuit system 310, instantiating objects, etc. Furthermore, the first step 110 may include performing training on the neural network, provided that the training is generalizable to all physical objects, rather than a form of training that specifically targets images of a particular physical object.

[0052] exist Step 2 111 In the process, for example, a depth video depicting a physical object 390 in multiple poses was recorded using a camera 350.

[0053] exist Step 3 112 During the learning phase, the composite pose estimation algorithm is applied to the depth video, thereby using data from the depth video to fill various memories of the sub-algorithm, 507, 510-513, 520, 521, and 553.

[0054] In some embodiments of method 100, a storable data item 341 (i.e., formed in the runtime memory used by an execution instance of VOS sub-algorithm 311) can be formed based on at least one snapshot of the splicing of working memory entries and long-term memory entries in VOS sub-algorithm 311, wherein each memory entry is associated with a physical object 390. The term "snapshot" can refer to the current content of the memory, for example, a static copy of that content. (As already explained, in some implementations of VOS sub-algorithm 311, working memory can be subdivided into permanent working memory and temporary working memory.)

[0055] In an implementation where each memory entry is a memory key, memory value, or a combination thereof, a storable data item 341 is formed by including at least the following: a snapshot of the concatenation of the working memory key and the long-term memory key in the VOS sub-algorithm; and / or a snapshot of the concatenation of the working memory value and the long-term memory value in the VOS sub-algorithm 311.

[0056] Another option is to form a storable data item 341 by serializing one or more memory objects representing (permanent or temporary) working memory entries and long-term memory entries.

[0057] As a supplement or alternative to the above, a storable data item 341 can be formed by including at least a snapshot of the set of keyframes stored in the OPT sub-algorithm 312. Here, each keyframe represents an observation of the physical object 390. A keyframe can be a spatial arrangement (or projection image) of detected keypoints (such as semantic keypoints). In some implementations, the orientation and position of the physical object 390 can be obtained from the keyframes. For example, the storable data item 341 can be formed by the following operation: - Identify the files to be included in the stored data items, so that each file includes a keyframe; - Establish a first data structure and a second data structure within the storable data items; and - Include the filename of the identified file in the first data structure, and include the identified file in the second data structure.

[0058] Alternatively or additionally, a storable data item 341 may be formed by including at least the configuration parameter values ​​of the VOS sub-algorithm 311 and / or the configuration parameter values ​​of the OPT sub-algorithm 312.

[0059] like Figure 5 As shown, storable data items 341 can be formed based on data extracted from working and long-term memories 510-513 and keyframe memory pool 553. After the data is extracted, the formation of data item 341 may include, for example, collecting the data according to a pre-specified format. Optionally, the collected data is serialized into a data stream or linear data record to allow storage in a specific type of memory or transmission via a specific data medium.

[0060] The implementation of XMem will be discussed as an illustrative example. Within the "InferenceCore" class, the object structure of a memory object of type "MemoryManager" (which manages the memory in the XMem implementation) can be serialized using the Python module "pickle"; the serialized (pickled) file is stored on storage 340. Optionally, configuration parameters for XMem can also be saved (at least those that have been modified to non-default values); then, within the "InferenceCore" class, the dictionary-type object variable "config" can be serialized and stored on disk.

[0061] In the BundleTrack architecture, memory is managed by the "Bundler" class in the "bundler.cpp" file. Specifically, "memory objects" are lists of keyframes stored in a public variable (called "_keyframes") from the "Bundler" class. This variable is an array (more specifically, a double-ended queue) of objects of the "Frame" class from the "Frame.cpp" file. Each "Frame" object holds information about a specific image frame from the video (e.g., color image, depth image, mask, filename, pose, state). Keyframes are selected and stored using the "checkAndAddKeyframe" method in the "Bundler" class. After applying the BundleTrack algorithm to the depth video, a memory storage method is executed, which stores the frame objects from the "_keyframes" object variable onto disk. One way to implement this is to store the keyframe filenames, and then copy the depth, color, object mask, and object pose files to separate folders to save the memory components and build a "Database" object. Save a file (e.g., a YAML file) containing the configuration used to run the BundleTrack algorithm.

[0062] exist Figure 6 The diagram also illustrates the data extraction process, deliberately omitting some details to improve overall visibility. Rounded hollow rectangle (style and...) Figure 5 The same information used in each sub-algorithm represents the previous frame information.

[0063] In method 100 Step 4 113 In the production phase, identical or different instances of the composite pose estimation algorithm are initialized using storable data item 341 (sub-step 113.1) and used to track physical object 390 or its copies. The instance of the composite pose estimation algorithm initialized thereby is suitable for this purpose as long as the copy of physical object 390 is visually sufficiently consistent with physical object 390 (e.g., consistent in shape, size, color, reflectivity, while attributes such as mass and conductivity are unimportant). For example, physical object 390 and its copy can be two samples of a continuously manufactured object.

[0064] Initializing 113.1 can be done as follows Figure 7As shown, the process continues, specifically, loading the corresponding portion of data item 341 into working and long-term memories 510-513 and the keyframe memory pool 553 (represented by dashed lines in the figure). This may include deserializing the storable data item 341 into one or more memory objects representing (temporary or permanent) working memory entries and long-term memory entries in VOS sub-algorithm 311. An instance of OPT sub-algorithm 312 can be initialized such that the pose of the first video frame to be processed in the production phase (step 113) is initialized by a keyframe from the stored set of keyframes (keyframe memory pool 553) that has the maximum number of matching points relative to the first video frame. To avoid ambiguity, it is hereby stated that: the storable data item 341 may be loaded into the working and long-term memory 510-513 and keyframe memory pool 553 of the instance of the VOS sub-algorithm and OPT sub-algorithm that forms the storable data item 341; or, the storable data item 341 may also be loaded into the working and long-term memory 510-513 and keyframe memory pool 553 of an instance of the VOS sub-algorithm and OPT sub-algorithm that forms the instance of the storable data item 341.

[0065] In the XMem implementation, a new XMem object is created from the network.py module, using either the default configuration parameters or saved non-default configuration parameters. Next, an InferenceCore object is created from the inference_core.py module, again using either the default or saved non-default configuration parameters. Then, the stored pickled file is opened and deserialized, allowing the MemoryManager object to be restored. The object variable "memory" in the InferenceCore object is updated to refer to the restored MemoryManager object. For example, information from previous frames is eliminated by filling sensory memory 507 with neutral values ​​(such as zero).

[0066] Regarding the BundleTrack section, the configuration file (e.g., a YAML file) stored during memory storage is loaded. A new class is written in the "DataLoader.cpp" file that allows the creation of "Frame" objects based on color, depth, mask, and pose files. An example can be seen in the "DataLoaderNOCS::getFrameByIndex" method (this method does not include pose loading). A new "Bundler" object is created using the parameters stored in the configuration file (e.g., the YAML file) and the newly mentioned "DataLoader" class as parameters. New methods are written in the "Bundler" class to load keyframes from disk and modify the object variable "_keyframes". For this, the new DataLoader class is used to create the necessary "Frame" objects using a list of keyframe filenames. Then, a feature detection pipeline is run for each new frame object; this may involve using the "detectFeature" method in the FeatureManager.cpp file.

[0067] Initializing a BundleTrack instance 113.1 may include the following sub-steps. Compared to the normal operation of BundleTrack, the "processNewFrame" method in the "Bundler" class is refactored, and some parameters in the configuration file are modified. Specifically, the following configuration parameters can be modified: - feature_corres max_dist_no_neighbor (linear feature matching tolerance parameter), and - feature_corres max_normal_no_neighbor (angle feature matching tolerance parameter). Both parameters relate to the feature matching tolerance used in the feature matching algorithm between two frames. These parameters are used in scenarios where the images being compared are not adjacent frames in the video. The default values ​​for these parameters (set for the algorithm's general use) are too low to allow matching between frames with large object spacing. However, if feature_corres... Set max_dist_no_neighbor to a high placeholder value (e.g., at least one meter or several meters), and set feature_corres `max_normal_no_neighbor` remains at the default 45 degrees, sufficient to initialize the `BundleTrack` sub-algorithm and immediately launch it into production. In this context, the default value might be on the order of one or several centimeters, while higher placeholder values ​​are much larger than the default. For some illustrative implementations of the algorithm, high placeholder values ​​can be set to at least one meter or at least several meters. Alternatively, the parameter `feature_corres`... max_normal_no_neighbor can also be set to an angle greater than 45 degrees.

[0068] To achieve initialization 113.1, the "processNewFrame" method in the "Bundler" class can be refactored as follows: Instead of using the pose of previous frames to initialize the pose of the current frame, a heuristic approach based on keyframe information is needed. A strategy can be used that performs feature matching between the current frame and all keyframes; the keyframe with the highest number of matching points is used to initialize the pose of the current frame. - The keyframe update process for memory needs to be disabled to prevent modification of the loaded "MemoryObject" object.

[0069] Figure 7 The data loading process is also shown in the diagram. Figure 7 Specifically, information from previous frames is not used in the usual way during initialization.

[0070] This method 100 allows for significant efficiency gains. According to the inventors' prototype testing, a representative operator spent approximately 10 minutes recording a 2-minute video of a physical object 390 using a consumer-grade GPU (e.g., an Nvidia GTX 1080), and processed it using the VOS sub-algorithm 311 and the OPT sub-algorithm 312. Afterward, a vision system with this composite pose estimation algorithm is ready for runtime use to perform object segmentation and pose estimation.

[0071] In a further development of the pose tracking method 100, step 111 is repeated to record another depth video depicting another physical object in multiple poses. Then, step 112 is repeated such that a pose estimation algorithm is applied to the other depth video to obtain data representing the physical object to be included in the storable data item 341. This data can be used to initialize another instance of the composite pose estimation algorithm, enabling that instance to estimate the pose of the other physical object. If both instances of the composite pose estimation algorithm operate in parallel, pose estimation can be performed on the physical object (whether it is an object with the appearance of the initially described physical object 390 or another physical object). Robot Programming Methods

[0072] To illustrate the practicality of pose tracking method 100, robot programming method 200 will be described through hypothetical use cases. Method 200 involves... Figure 8 The industrial robot 800 shown in the figure is of the type that includes a robot manipulator 810 and a robot controller 820. The robot programming method 200 is machine-implemented (particularly computer-implemented), and can be referenced, for example, from the above. Figure 8 The described robot programming device 860 is executed.

[0073] In robot programming method 200 Step 1 210 In this context, the movement of robot manipulator 810 is defined during a programming session, which includes the handling of workpieces. These movements can be defined by user input or by loading scripts provided by a programmer. Alternatively, the movement of robot manipulator 810 can be defined by sensing during a kinematic programming session. The term "kinematic programming"—derived from the robot's proprioceptive ability to sense its own position, pose, and movement—is a programming method in which a user performs a demonstration by physically moving the robot manipulator to perform the desired motion. The term "kinematic programming" has the same meaning as "guided programming," or at least partially overlaps in meaning. The state of the robot during a kinematic programming session is typically recorded using the robot's onboard sensors (e.g., joint angles and torques). As used herein, "kinematic programming" also includes teleoperation as a special case, where the movement of the robot manipulator is controlled by external input to the robot (e.g., via a joystick, graphical user interface, or other input method); kinematic programming via teleoperation does not require the user to be in the robot's work area.

[0074] exist Second step 211 In this process, depth video of the programming session is recorded, and the pose of the workpiece is estimated using one implementation of method 100 described in a previous subsection. "Pose" can be interpreted as including position and orientation.

[0075] The estimated pose can be used to determine a reference coordinate system in which the robot program C should express the movement of the tool 811 carried by the robot manipulator 810, particularly for determining the relationship between different reference coordinate systems. This ensures that even if the physical object defining the reference coordinate system moves between two executions of a particular trajectory, the trajectory can still be reproduced relative to the programming session (especially relative to the user's demonstration), keeping the relative motion between the TCP and the reference coordinate system constant. The estimated pose of the workpiece 830 can also be used to annotate the robot trajectory. The estimated pose can be explicitly included in the annotation, for example, to allow verification that the robot program is executing as expected, thus enabling early detection of anomalies. Alternatively, the estimated pose of the workpiece 830 can have only indirect effects, such as the preferred manner of gripping or lifting the workpiece 830 using the tool 811 carried by the robot manipulator 810.

[0076] Then, in Step 3, 212 In the process, based on the defined movement and the estimated workpiece pose, a robot program is generated to be executed by the robot controller 820.

[0077] The foregoing has primarily described various aspects of this disclosure with reference to several embodiments. However, those skilled in the art will readily understand that other embodiments besides those disclosed above are also possible within the scope of the invention as defined by the appended claims.

Claims

1. A method (100) for tracking the pose of a physical object (390), comprising: Definition (110) of a composite pose estimation algorithm, wherein the composite pose estimation algorithm includes: The Video Object Segmentation (VOS) sub-algorithm (311, 312) is configured to determine the mask of visual objects in an image, and The Object Pose Tracking (OPT) sub-algorithms (312, 322) are configured to track the pose of a visual object across multiple depth video frames. The pose estimation algorithm is configured to take a depth video as input, frames are extracted from the depth video and fed to the VOS sub-algorithm, which determines the appropriate object mask and the depth video to be used by the OPT sub-algorithm. Record (111) Depth video depicting physical objects in multiple poses; By applying the pose estimation algorithm to the depth video, a storable data item representing the physical object is formed (112); and Using an instance of the pose estimation algorithm that has been initialized (113.1) with the aid of the storable data item, track (113) the physical object or a copy of the physical object.

2. The method (100) of claim 1, wherein the storable data item is formed (112) by a snapshot comprising at least working memory entries and long-term memory entries from the VOS sub-algorithm, wherein each memory entry is associated with the physical object.

3. The method (100) of claim 2, wherein each memory entry is a memory key and / or memory value, thereby the storable data item is formed by including at least the following (112): A snapshot of the concatenation of working memory keys and long-term memory keys in the VOS sub-algorithm, and / or The VOS sub-algorithm is a snapshot of the working memory value and the long-term memory value.

4. The method (100) according to claim 2 or 3, wherein the VOS sub-algorithm includes one or more of the following operations: The working memory entry is obtained from the previous video frame; Optionally, the long-term memory entries can be obtained from multiple previous video frames using a memory enhancement process; The current video frame is processed based on the concatenation of the working memory entry and the long-term memory entry.

5. The method (100) according to any one of claims 2 to 4, wherein the storable data item is formed (112) by serializing one or more memory objects representing the working memory entry and the long-term memory entry.

6. The method (100) according to any one of the preceding claims, wherein the working memory entry and the long-term memory entry are part of the unified feature memory architecture in the VOS sub-algorithm.

7. The method (100) according to any one of the preceding claims, wherein the working memory entries and the long-term memory entries are separate from any trainable neural network in the VOS sub-algorithm.

8. The method (100) according to any one of the preceding claims, wherein the storable data item is formed (112) by a snapshot comprising at least a set of keyframes stored in the OPT sub-algorithm, each keyframe representing an observation of the physical object.

9. The method (100) according to claim 8, wherein the OPT sub-algorithm comprises one or more of the following operations: The keyframe set is maintained in the form of a double-ended queue; Based on pose graph optimization using multiple keyframes from the stored keyframe set, keyframes for the current video frame are determined.

10. The method (100) according to claim 8 or 9, wherein the storable data item is formed by the following (112): The files to be included in the storable data items are identified such that each file includes a keyframe; Establish a first data structure and a second data structure in the storable data item; and The filename of the identified file is included in the first data structure, and the identified file is included in the second data structure.

11. The method (100) according to claim 8, 9 or 10, wherein: The OPT sub-algorithm includes: initializing the pose of the current video frame using keyframes for previous video frames; and The instance of the pose estimation algorithm is initialized (113.1) such that the pose of the first video frame to be processed during the tracking (113) should be initialized by the keyframe in the stored keyframe set that has the maximum number of matching points relative to the first video frame.

12. The method (100) according to any one of the preceding claims, wherein the storable data item is formed (112) by including at least the following: the configuration parameters of the VOS sub-algorithm and / or the configuration parameters of the OPT sub-algorithm.

13. The method (100) according to any one of the preceding claims, wherein the example of initializing (113.1) the pose estimation algorithm to be used for tracking (113) comprises: The storable data item is deserialized into one or more memory objects, which represent working memory entries and long-term memory entries in the VOS sub-algorithm.

14. The method (100) according to any one of the preceding claims, wherein the instance of the pose estimation algorithm to be used for tracking (113) is initialized (113.1) such that the linear feature matching tolerance parameter in the OPT sub-algorithm has a high placeholder value and the angular feature matching tolerance parameter in the OPT sub-algorithm is greater than or equal to 45 degrees.

15. The method (100) according to any one of the preceding claims, wherein the VOS sub-algorithm is selected from the group consisting of: XMem, XMem++, Track Anything, Cutie, an algorithm using a reference boot mask for propagation, and an algorithm using a spatiotemporal memory network.

16. The method (100) according to any one of the preceding claims, wherein the OPT sub-algorithm is selected from the group consisting of BundleTrack, BundleSDF.

17. The method (100) according to any one of the preceding claims further comprises: Record (111) another depth video depicting another physical object in multiple poses; as well as The pose estimation algorithm is applied to the other depth video to obtain data representing the physical object to be included in the storable data item.

18. A method (200) for programming an industrial robot (800), the industrial robot comprising a robot manipulator (810) and a robot controller (820), the method comprising: Definition (210) is the movement of the robot manipulator during a programming session, during which the workpiece is disposed of; Record (211) depth video of the programming session and estimate the pose of the workpiece using the method (100) according to any one of the preceding claims; as well as Based on the sensed movement and the estimated workpiece pose, a robot program is generated (212) to be executed by the robot controller.

19. The method of claim 19 (200), wherein the movement is defined by being sensed during a kinesthetic programming session (210).

20. A computer system (300) configured to track the pose of a physical object, the computer system comprising: A first processing circuit system (310) and a second processing circuit system (320), each processing circuit system being configured with a composite pose estimation algorithm, the composite pose estimation algorithm comprising: The Video Object Segmentation (VOS) sub-algorithm (311, 321) is configured to determine the mask of visual objects in an image, and The Object Pose Tracking (OPT) sub-algorithms (312, 322) are configured to track the pose of a visual object across multiple depth video frames. The pose estimation algorithm is configured to take a depth video as input, frames are extracted from the depth video and fed to the VOS sub-algorithm, which determines the appropriate object mask and the depth video to be used by the OPT sub-algorithm. Interface (330), the interface being used to input depth video depicting a physical object in multiple poses; and Memory (340). The first processing circuit system is characterized in that it is further configured to: apply the pose estimation algorithm to the depth video, thereby storing data items (341) representing the physical object in the memory, and The second processing circuit is further configured to: retrieve the data item from the memory and use the data item to initialize an instance of the pose estimation algorithm.

21. A computer program (342) comprising instructions that, when executed by a computer, cause the computer to perform the method according to any one of claims 1 to 19.

22. A storable data item (341) obtained by applying a pose estimation algorithm to a depth video depicting a physical object in multiple poses, wherein: The pose estimation algorithm is a composite pose estimation algorithm, which includes: The Video Object Segmentation (VOS) sub-algorithm (311, 321) is configured to determine the mask of visual objects in an image, and The Object Pose Tracking OPT sub-algorithm (312, 322) is configured to track the pose of a visual object across multiple depth video frames; The pose estimation algorithm is configured to take a depth video as input, from which frames are extracted and fed to the VOS sub-algorithm, which determines the appropriate object mask and the depth video to be used by the OPT sub-algorithm.

23. A data carrier (340) carrying a computer program (342) according to claim 21 or a storable data item (341) according to claim 22.

Citation Information

Patent Citations

  • Six-degree-of-freedom visual feedback real-time motion tracking method

    CN115187633A