Device and method for ascertaining the pose of an object
AssigneeRobert Bosch GmbH
InventorMarkus Spies
Life of this patent
Estimating the term…
Abstract
A method for ascertaining the pose of an object. The method includes recording a first and a second camera image of the object, ascertaining a correspondence between camera pixels of the camera images and vertices of a 3D model of the object, and ascertaining the pose of the object from a set of poses by minimizing, across the set of poses, a loss function, the loss function for a pose being provided by accumulation of distance measures between projections of the object in the pose onto the respective camera image plane and the corresponding pixels of the respective camera image.
Claims11
1-10. (canceled)
A method for ascertaining a pose of an object, comprising the following steps:
- ascertaining a 3D model of the object, the 3D model including a grid of vertices;
- recording a first camera image of the object from a first perspective;
- recording a second camera image of the object from a second perspective, which differs from the first perspective;
- ascertaining a correspondence between camera pixels of the first camera image and vertices of the 3D model;
- ascertaining a correspondence between camera pixels of the second camera image and vertices of the 3D model;
- and
- ascertaining the pose of the object from a set of poses by minimizing, across the set of poses, a loss function, the loss function for each pose being provided by:
- projecting vertices of the 3D model into a camera image plane according to the first perspective, in the event that the 3D model is situated in the pose,
- projecting vertices of the 3D model into the camera image plane according to the second perspective, in the event that the 3D model is situated in the pose,
- calculating distance measures between the projections of the vertices projected according to the first perspective and the camera pixels of the first camera image, which are assigned to vertices projected according to the first perspective,
- calculating distance measures between the projections of the vertices projected according to the second perspective and the camera pixels of the second camera image, which are assigned to the vertices projected according to the second perspective, and
- accumulating the calculated distance measures to the loss function.
A method for controlling a robot, comprising the following steps:
- ascertaining the pose of an object, including:
- ascertaining a 3D model of the object, the 3D model including a grid of vertices;
- recording a first camera image of the object from a first perspective;
- recording a second camera image of the object from a second perspective, which differs from the first perspective;
- ascertaining a correspondence between camera pixels of the first camera image and vertices of the 3D model;
- ascertaining a correspondence between camera pixels of the second camera image and vertices of the 3D model;
- and
- ascertaining the pose of the object from a set of poses by minimizing, across the set of poses, a loss function, the loss function for each pose being provided by:
- projecting vertices of the 3D model into a camera image plane according to the first perspective, in the event that the 3D model is situated in the pose,
- projecting vertices of the 3D model into the camera image plane according to the second perspective, in the event that the 3D model is situated in the pose,
- calculating distance measures between the projections of the vertices projected according to the first perspective and the camera pixels of the first camera image, which are assigned to vertices projected according to the first perspective,
- calculating distance measures between the projections of the vertices projected according to the second perspective and the camera pixels of the second camera image, which are assigned to the vertices projected according to the second perspective, and
- accumulating the calculated distance measures to the loss function;
- and
- controlling the robot as a function of the ascertained pose of the object.
A software agent or hardware agent, comprising:
- a camera configured to record camera images of an object;
- and
- a control unit configured to ascertain a pose of the object, the control unit configured to:
- ascertain a 3D model of the object, the 3D model including a grid of vertices;
- record a first camera image of the object from a first perspective;
- record a second camera image of the object from a second perspective, which differs from the first perspective;
- ascertain a correspondence between camera pixels of the first camera image and vertices of the 3D model;
- ascertain a correspondence between camera pixels of the second camera image and vertices of the 3D model;
- and
- ascertain the pose of the object from a set of poses by minimizing, across the set of poses, a loss function, the loss function for each pose being provided by:
- projecting vertices of the 3D model into a camera image plane according to the first perspective, in the event that the 3D model is situated in the pose,
- projecting vertices of the 3D model into the camera image plane according to the second perspective, in the event that the 3D model is situated in the pose,
- calculating distance measures between the projections of the vertices projected according to the first perspective and the camera pixels of the first camera image, which are assigned to vertices projected according to the first perspective,
- calculating distance measures between the projections of the vertices projected according to the second perspective and the camera pixels of the second camera image, which are assigned to the vertices projected according to the second perspective, and
- accumulating the calculated distance measures to the loss function.
A computer-readable medium on which is stored a computer program including instructions for ascertaining a pose of an object, the instructions, when executed by a computer, causing the computer to perform the following steps:
- ascertaining a 3D model of the object, the 3D model including a grid of vertices;
- recording a first camera image of the object from a first perspective;
- recording a second camera image of the object from a second perspective, which differs from the first perspective;
- ascertaining a correspondence between camera pixels of the first camera image and vertices of the 3D model;
- ascertaining a correspondence between camera pixels of the second camera image and vertices of the 3D model;
- and
- ascertaining the pose of the object from a set of poses by minimizing, across the set of poses, a loss function, the loss function for each pose being provided by:
- projecting vertices of the 3D model into a camera image plane according to the first perspective, in the event that the 3D model is situated in the pose,
- projecting vertices of the 3D model into the camera image plane according to the second perspective, in the event that the 3D model is situated in the pose,
- calculating distance measures between the projections of the vertices projected according to the first perspective and the camera pixels of the first camera image, which are assigned to vertices projected according to the first perspective,
- calculating distance measures between the projections of the vertices projected according to the second perspective and the camera pixels of the second camera image, which are assigned to the vertices projected according to the second perspective, and
- accumulating the calculated distance measures to the loss function.
Dependencies are inferred from the claim text.