Method for identifying posture of target object and computing apparatus for performing method

The computing device uses a database of template images and keypoint matching to accurately recognize the pose of target objects, addressing the challenge of precise robotic operations without extensive training data.

JP2024114637AActive Publication Date: 2024-08-23SOLOMON TECHNOLOGY CORP
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
JP2024014382
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-02-10
Filing Date
2024-02-01
Publication Date
2024-08-23
Estimated Expiration
2044-02-01

AI Technical Summary

Technical Problem

Existing methods struggle to accurately identify the pose of a target object, which is crucial for precise operations such as grasping or processing by robots, as they often require extensive training on multiple target object images.

Method used

A computing device generates a database of template images with reference objects at various angles, using a convolutional neural network to analyze feature points, and performs keypoint matching to recognize the pose of a target object based on feature point correspondence.

Benefits of technology

This method allows for efficient and accurate pose recognition of target objects without the need for extensive training data, saving time and resources, and enables precise robotic operations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024114637000001_ABST
    Figure 2024114637000001_ABST
Patent Text Reader

Abstract

To provide a method for identifying the posture of a target object.SOLUTION: A method is performed by a computing apparatus that stores a database. The database includes a plurality of template images, each of which includes a reference object belonging to a particular type to which a target object belongs, and each of which corresponds to a different deflection angle. The method comprises: selecting a matching image, from the template images, that best matches an input image based on the appearance of the target object included in the input image; performing a key point matching process based on the input image and the matching image to recognize a plurality of first feature points shown in the input image and related to the appearance of the target object, and a plurality of second feature points shown in the matching image and matching with the respective first feature points; and generating a posture recognition result indicating the posture of the target object based on a relative posture relation between the first feature point and the second feature point.SELECTED DRAWING: Figure 2
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a method for recognizing the pose of a target object, more particularly a method for recognizing the pose of a target object involved in image recognition, and further to a computing device for carrying out said method. [Background technology]

[0002] In various automated operations, identifying the pose (position and orientation) of an object is an important process. For example, in an operation of grasping an object using a robot arm, the robot arm can stably grasp the object from the correct angle by determining the movement of the robot arm based on the pose of the object. In an operation of automating processing an object, the processing position or path can be adjusted based on the pose of the object, thereby improving the processing accuracy. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] China Patent Application Publication No. 113939852 Summary of the Invention [Problem to be solved by the invention]

[0004] It is therefore an object of the present invention to provide a method for identifying the pose of a target object and a computing device for carrying out the same. [Means for solving the problem]

[0005] The method is performed by a computing device storing a database, the database being associated with a particular class to which the target object belongs and including a plurality of template images, the template images including respective reference objects of the particular class and corresponding to different deflection angles relative to a reference angle at which the reference objects are captured.

[0006] The method includes the steps of obtaining an input image including a target object belonging to a specific type; selecting a matching image that best matches the input image from template images in a database based on the appearance of the target object in the input image, the matching image being one in which the angle of a reference object shown in the template image is closest to the angle of the target object shown in the input image; recognizing a plurality of first feature points shown in the input image and related to the appearance of the target object, and a plurality of second feature points shown in the matching image and respectively matching with the first feature points, by performing a keypoint matching process based on the input image and the matching image; and generating a pose recognition result indicating the pose of the target object based on the relative pose relationship between the first feature points and the second feature points.

[0007] The computing device includes a processing unit and a storage unit electrically connected to the processing unit for storing a database.

[0008] The database is associated with a particular class to which the target object belongs and includes a plurality of template images, each of which includes a reference object belonging to the particular class and each of which corresponds to a different deflection angle relative to a reference angle at which the reference object is captured.

[0009] The processing unit is configured to obtain an input image including a target object belonging to a specific type; select a matching image that best matches the input image from template images in a database based on an appearance of the target object in the input image, the matching image being one in which an angle of a reference object shown in the template image is closest to an angle of the target object shown in the input image; recognize a plurality of first feature points shown in the input image and related to the appearance of the target object and a plurality of second feature points shown in the matching image and respectively matching with the first feature points by performing a keypoint matching process based on the input image and the matching image; and generate a pose recognition result indicating the pose of the target object based on a relative pose relationship between the first feature points and the second feature points. Effect of the Invention

[0010] By performing the method for recognizing a target object, a computing device obtains an input image including a target object, selects a matching image from a database that best matches the input image, performs a keypoint matching process based on the input image and the matching image to recognize first feature points and second feature points, and recognizes the pose of the target object based on the first feature points and the second feature points.

[0011] Other features and advantages of the present invention will become apparent in the following detailed description of the embodiments which proceeds with reference to the accompanying drawings. [Brief description of the drawings]

[0012] [Figure 1] 1 is a schematic diagram showing a calculation device, a database, and an image capture device for recognizing the pose of a target object according to an embodiment of the present invention; [Diagram 2] 4 is a flowchart illustrating a method for recognizing the pose of a target object according to an embodiment of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0013] Before describing the present invention in more detail, it should be noted that, where considered appropriate, reference numerals or terminal portions of reference numerals have been repeated among the figures to indicate corresponding or similar elements which may have similar characteristics.

[0014] As used herein, the terms "couple" or "connect" refer to a direct connection between two or more electrical devices / apparatus / facilities by a conductive material (e.g., wires) or an indirect connection between two electrical devices / apparatus / facilities by one or more other devices / apparatus / facilities or wireless communication.

[0015] 1, a computing device 1 for recognizing the pose of a target object according to the present invention can be implemented as a personal computer, a laptop computer, a server, etc. The computing device 1 includes a processing unit 11 and a storage unit 12 electrically connected to the processing unit 11. Note that the term "pose" refers to the position and orientation of an object (i.e., the orientation of the object).

[0016] In this embodiment, the processing unit 11 is a chip (i.e., an integrated circuit) having data calculation and processing functions, and may include, but is not limited to, a central processing unit (CPU). The storage unit 12 is a data storage device (e.g., a hard disk) that stores digital data. In some embodiments, the processing unit 11 may be a collection of chips, and the storage unit 12 may be, but is not limited to, a collection of computer-readable storage media of the same type or different types. In some embodiments, the computing device 1 may be an electronic device such as a smartphone, a tablet computer, etc. Therefore, the hardware implementation of the computing device 1 is not limited to this embodiment.

[0017] In this embodiment, the processing unit 11 is configured to generate the database DB1 shown in FIG. 1 and store the database DB1 in the storage unit 12. Specifically, the database DB1 is related to a particular type of object (e.g., an object of a particular type, an object conforming to a particular specification, etc.) and is generated by the processing unit 11 performing a first step of a method for recognizing the pose of a target object belonging to the particular type according to some embodiments of the present invention. That is, before the processing unit 11 performs the first step of the method, the database DB1 has not yet been generated and has not been stored in the storage unit 12. Note that in FIG. 1, an example of the database DB1 is shown in advance to easily explain the operation of the computing device 1. Furthermore, the processing unit 11 is configured to be electrically connected to a photographing device 2 (e.g., a camera) configured to take a video, and the processing unit 11 is configured to receive the video from the photographing device 2 and recognize the pose of the object in the video based on the database DB1 by performing a second step of the method for recognizing the pose of the target object.

[0018] 2, there is shown a method for recognizing the pose of a target object, which is executed by the computing device 1. The method comprises steps S1 to S9, where steps S1 to S5 relate to a first stage of the method and steps S6 to S9 relate to a second stage of the method.

[0019] In step S1, the processing unit 11 obtains a template image D1, where the template image D1 is regarded as an initial template image D1' in this embodiment, and the initial template image D1' includes a reference object.

[0020] Specifically, the reference object included in the initial template image D1' belongs to a particular type to which the target object to be recognized later by the computing device 1 using the method belongs. The reference object is, for example, a particular type of workpiece or component. For example, the particular type is a UTS (UNIFIED THREAD STANDARD) standard number "#6-32UNC 2B", and the reference object and the target object are screws conforming to "#6-32UNC 2B". The angle of the reference object shown in the initial template image D1' is regarded as a reference angle of the particular type of object from the shooting viewpoint when the initial template image D1' is captured. More specifically, the shooting viewpoint is the viewpoint of a camera device (for example, but not limited to, the shooting device 2 in FIG. 1) relative to the reference object when the initial template image D1' is captured. Note that, in order to recognize the pose of other objects belonging to the particular type (i.e., other objects having substantially the same appearance as the reference object), the initial template image D1' is utilized by the processing unit 11 to generate a database DB1 related to the particular type. Therefore, the reference object itself is not necessarily the actual target that is recognized by the computing device 1 using the method.

[0021] Furthermore, the initial template image D1' has a plurality of feature markers, each of which defines a plurality of feature portions (hereinafter referred to as "reference feature portions") of the reference object shown in the initial template image D1'. Each of the reference feature portions is a portion of the appearance of the reference object shown in the initial template image D1', and the portion of the appearance of the reference object is suitable as a target to be recognized in computer vision, for example, but not limited to, a pattern, a contour, or a combination thereof of the reference object shown in the initial template image D1'. Furthermore, the feature marker may be, but is not limited to, a virtual marker added to the initial template image D1' by manual operation.

[0022] In this embodiment, the processing unit 11 is controlled by a user to obtain the initial template image D1' from the storage unit 12 by reading the initial template image D1' pre-stored in the storage unit 12. In some embodiments, the processing unit 11 may be electrically connected to an electronic device (not shown, e.g., a camera device or a computer) and obtain the initial template image D1' from the electronic device. In some embodiments, the processing unit 11 may be electrically connected to an external storage device (not shown, e.g., a memory card or a flash drive) that stores the initial template image D1' and obtain the initial template image D1' from the external electronic device.

[0023] After obtaining the first template image D1', the flow proceeds to step S2.

[0024] In step S2, the processing unit 11 generates, based on the initial template image D1', a reference pose data set D2 corresponding to the initial template image D1' and a reference feature data set D3 corresponding to the initial template image D1'.

[0025] In this embodiment, the reference pose data set D2 corresponding to the first template image D1' is expressed in a matrix and indicates the pose of the reference object shown in the first template image D1' (i.e., the pose of a specific type of object at a reference angle seen from a shooting viewpoint). Specifically, the reference pose data set D2 indicates the pose of the reference object shown in the first template image D1' using six degrees of freedom in three-dimensional space. The pose indicated by the reference pose data set D2 may be a coordinate set of a virtual three-dimensional coordinate system defined based on the shooting viewpoint, and may be considered as the reference pose of an object belonging to a specific type seen from the shooting viewpoint. For example, an object belonging to a specific type in the reference pose is located at the origin of a three-dimensional coordinate system, and the orientation in each of the three dimensions is zero (i.e., the yaw, pitch, and roll are each zero).

[0026] In this embodiment, the reference feature data set D3 corresponding to the initial template image D1' is represented by a vector including multiple components (e.g., 2304 components), and the components are used to indicate the appearance features of the reference object (a specific type of object) at the reference angle shown in the initial template image D1'. The appearance features exist only when an object belonging to the type of feature is at the reference angle as viewed from the shooting viewpoint. For example, the appearance features can be a set of coordinates and / or orientations of each of the reference feature parts shown in the initial template image D1', and the appearance features can indicate, but are not limited to, the relative positional relationship between the reference feature parts when the reference object is at the reference angle as viewed from the shooting viewpoint.

[0027] In this embodiment, the processing unit 11 inputs the initial template image D1' into a pre-trained convolutional neural network (CNN) to obtain an output reference feature data set D3. That is, the reference feature data set D3 is an analysis result of the initial template image D1' obtained by the processing unit 11 using the convolutional neural network (CNN). Note that the convolutional neural network (CNN) is not the point of the present invention and is well known to those skilled in the art, so details thereof are omitted for the sake of brevity.

[0028] After the processing unit 11 generates the reference pose data set D2 and the reference feature data set D3 corresponding to the initial template image D1', the flow proceeds to step S3.

[0029] In step S3, the processing unit 11 generates N template images D1 different from the original template image D1' by rotating the original template image D1' N times. Each rotation generates one template image D1. Each template image D1 includes a reference object. In this embodiment, the N template images D1 generated by rotating the original template image D1' N times are regarded as N processed template images D1''. Specifically, N is an integer equal to or greater than 1, and the rotation may be clockwise or counterclockwise.

[0030] In more detail, the processing unit 11 rotates the initial template image D1' multiple times (i.e., N times) based on the predetermined angle, and one processed template image D1'' is generated each time the initial template image D1' is rotated. In this embodiment, N is 35, and the predetermined angle is 10 degrees. Thus, the first processed template image D1'' generated by the processing unit 11 (hereinafter referred to as the "first processed template image") shows the result of rotating the initial template image D1' by 10 degrees (e.g., clockwise), the second processed template image D1'' generated by the processing unit 11 (hereinafter referred to as the "second processed template image") shows the result of rotating the initial template image D1' by another 10 degrees (i.e., clockwise for a total of 20 degrees), and so on for the other processed template images D1''. In this way, the angle of the reference object shown in the first processed template image D1″ (hereinafter referred to as “the display angle of the reference object”) is shifted 10 degrees clockwise with respect to the display angle of the reference object shown in the initial template image D1′. Similarly, the display angle of the reference object shown in the second processed template image D1″ is shifted 10 degrees clockwise with respect to the display angle of the reference object shown in the first processed template image D1″, and is shifted 20 degrees clockwise with respect to the display angle of the reference object shown in the initial template image D1′. Finally, in this embodiment, the processing unit 11 obtains a total of 36 template images D1 by rotating the initial template image D1′ 35 times to generate 35 processed template images D1″. That is, the 36 template images D1 include the initial template image D1′ and 35 processed template images D1″, and in each of the template images D1, the display angle of the reference object of each template image D1 is shifted 10 degrees with respect to the display angle of the reference object of the previous one or the subsequent one of the template image D1.

[0031] It should be noted that the predetermined angle and the number of rotations (i.e., N times) for rotating the initial template image D1' by the processing unit 11 are not limited to the above example. In other embodiments, the predetermined angle may be any angle less than 25 degrees, as long as the relationship between the number of template images D1 and the predetermined angle satisfies the condition that the value obtained by multiplying the number of template images D1 by the predetermined angle is equal to 360 degrees.

[0032] More specifically, in this embodiment, the template images D1 each correspond to a different deflection angle relative to a reference angle at which the reference object is captured. That is, each deflection angle is the difference between the display angle of the reference object in the corresponding template image D1 and the display angle of the reference object in the initial template image D1'. In one example of this embodiment, the deflection angle corresponding to the initial template image D1' is 0 degrees, and the remaining deflection angles corresponding to the processed template images D1'' each are shifted by 10 degrees from one another (i.e., 10 degrees, 20 degrees, 30 degrees, ..., 350 degrees), but the present invention is not limited thereto.

[0033] After the processing unit 11 generates the processed template image D1'', the flow proceeds to step S4.

[0034] In step S4, based on the processed template image D1'', the processing unit 11 further generates a plurality of reference pose data sets D2 each corresponding to the processed template image D1'', and a plurality of reference feature data sets D3 each corresponding to the processed template image D1''.

[0035] Similar to step S2, in this embodiment, the reference pose data set D2 is expressed in a matrix and indicates the pose of the reference object shown in the corresponding processed template image D1'' (i.e., the pose of a specific type of object at a deflection angle corresponding to the corresponding processed template image D1'' as viewed from the shooting viewpoint). Specifically, each of the reference pose data sets D2 indicates the pose of the reference object shown in the corresponding processed template image D1'' using six degrees of freedom in three-dimensional space. Since the processed template image D1'' is obtained by rotating the initial template image D1' by a predetermined angle multiple times, the reference pose data set D2 corresponding to each processed template image D1'' can be obtained by calculation based on the reference pose data set D2 corresponding to the initial template image D1'.

[0036] Similar to step S2, in this embodiment, the reference feature dataset D3 is represented as a vector including multiple components (e.g., 2304 individual components), and the components are used to indicate the appearance features of a reference object (a particular type of object) at a reference angle shown in the corresponding processed template image D1''.

[0037] An appearance feature exists only when, from the shooting viewpoint, an object belonging to the feature type is deviated from the reference angle by a deflection angle (e.g., 10 degrees) corresponding to the corresponding processed template image D1'' (e.g., the first processed template image D1'').

[0038] For example, the appearance feature may be a set of coordinates and / or orientation of each of the reference feature portions shown in the corresponding processed template image D1'', and the appearance feature may indicate, but is not limited to, the relative positional relationship between the reference feature portions when the reference object viewed from the shooting viewpoint is offset by a deflection angle (e.g., 10 degrees) from the reference angle.

[0039] Furthermore, in this embodiment, the processing unit 11 inputs each of the processed template images D1'' into a pre-trained convolutional neural network (CNN) to obtain a corresponding output reference feature data set D3. That is, each of the reference feature data sets D3 is an analysis result of the corresponding processed template image D1'' obtained by the processing unit 11 using the convolutional neural network (CNN).

[0040] After the processing unit 11 obtains a plurality of reference pose data sets D2 each corresponding to the processed template image D1'', and a plurality of reference feature data sets D3 each corresponding to the processed template image D1'', the flow proceeds to step S5.

[0041] In step S5, the processing unit 11 establishes a database DB1 associated with a particular type, and stores the database DB1 in the storage unit 12. Specifically, the database DB1 includes template images D1 respectively corresponding to different deflection angles (i.e., an original template image D1' and a processed template image D1''), a reference pose data set D2 respectively corresponding to the template images D1, and a reference feature data set D3 respectively corresponding to the template images D1.

[0042] After the processing unit 11 stores the database DB1 in the storage unit 12, the flow proceeds to step S6.

[0043] In step S6, when the processing unit 11 obtains an input image including a target object belonging to a specific type, the processing unit 11 selects a matching image D1* that best matches the input image from the template images D1 in the database DB1 based on the appearance of the target object in the input image. Specifically, the matching image D1* is the one in which the display angle of the reference object shown in the template image D1 is closest to the angle of the target object shown in the input image (hereinafter referred to as the "target angle").

[0044] More specifically, the input image is, for example, a frame of a real-time video, and the processing unit 11 may obtain the input image, for example, by receiving a video in real time from the imaging device 2 electrically connected to the processing unit 11. The target object is a real target recognized by the computing device 1 using the method according to the present invention, which is an object belonging to a certain type and having a substantially similar appearance to the reference object. The target object may be the reference object itself.

[0045] In this embodiment, the processing unit 11 selects the matching image D1* by the following means. First, the processing unit 11 recognizes a plurality of features of a target object shown in the input image (hereinafter referred to as "target features"), for example, by performing image recognition on the input image. Specifically, the processing unit 11 may recognize the target features shown in the input image based on the reference features defined by the feature markers in the first template image D1'. Thus, for each of the template images D1, the target features shown in the input image should respectively correspond to the reference features shown in the template image D1 and defined by the feature markers of the template image D1.

[0046] After recognizing the target feature portion shown in the input image, the processing unit 11 generates a target feature data set corresponding to the input image based on the target feature portion shown in the input image. Similar to the reference feature data set D3, the target feature data set of this embodiment is expressed as a vector including multiple components (e.g., 2304 components), and the components are used to indicate the appearance features of the target object at the target angle shown in the input image. The appearance features exist only when the target object is at the target angle as viewed from the shooting viewpoint.

[0047] After the target feature data set is generated, the processing unit 11 calculates the matching degree between the target feature data set and the reference feature data set D3 for each of the reference feature data sets D3. Specifically, since the target feature data set and the reference feature data set D3 in this embodiment are each expressed by a vector, the processing unit 11 calculates the Minkowski distance between the target feature data set and the reference feature data set D3 for each of the reference feature data sets D3, and the calculated Minkowski distance is taken as the matching degree, but the present invention is not limited thereto. Note that, the smaller the Minkowski distance between the vector representing the target feature data set and the vector representing any one of the reference feature data sets D3, the closer the two vectors are to each other, and the closer the target angle shown in the input image is to the display angle of the reference object shown in the corresponding template image D1. That is, the smaller the Minkowski distance, the higher the matching degree.

[0048] After calculating the matching degree between the target feature dataset and each reference feature dataset D3, the processing unit 11 selects one of the template images D1 corresponding to the reference feature dataset D3 having the highest matching degree with the target feature dataset as a matching image D1*. Thus, assuming that the target angle shown in the input image is deviated from the reference angle by 21.5 degrees, the processing unit 11 selects one template image D1 corresponding to a deflection angle of 20 degrees as a matching image D1* (i.e., the selected one template image D1 has a display angle of the reference object closest to the target angle of the input image).

[0049] After the processing unit 11 selects the matching image D1* from the template image D1, the flow proceeds to step S7.

[0050] In step S7, the processing unit 11 performs a keypoint matching process based on the input image and the matching image D1* to recognize a plurality of first feature points shown in the input image and related to the appearance of the target object, and a plurality of second feature points shown in the matching image D1* and respectively matching with the first feature points. Specifically, each of the first feature points is homogeneous with one of the second feature points in a one-to-one relationship. That is, each of the first feature points is homogeneous with one of the second feature points, and vice versa. In this embodiment, the processing unit 11 performs the keypoint matching process using the conventional Se2-LoFTR. In some embodiments, the processing unit 11 may perform the keypoint matching process using conventional techniques such as Coarse-LoFTR, LoFTR, SuperGlue, etc., and is not limited to this embodiment.

[0051] After the processing unit 11 recognizes the first feature point and the second feature point, the flow proceeds to step S8.

[0052] In step S8, the processing unit 11 generates a calibration data set based on the first feature points and the second feature points. The calibration data set is expressed as a matrix and indicates a relative pose relationship between the first feature points and the second feature points. Specifically, the calibration data set indicates, for each first feature point, a relative pose relationship between the first feature point and a corresponding second feature point using six degrees of freedom in three-dimensional space, thereby indicating the pose of the target object shown in the input image relative to the pose of the reference object shown in the matching image D1* with six degrees of freedom (i.e., differences in position and orientation).

[0053] After the processing unit 11 generates the calibration data set, the flow proceeds to step S9.

[0054] In step S9, a pose recognition result indicating the pose of the target object is generated based on the reference pose data set D2 corresponding to the matching image D1* and the calibration data set (indicating the relative pose relationship between the first feature point and the corresponding second feature point). Specifically, the pose recognition result indicates the pose of the target object shown in the input image relative to the pose of the reference object shown in the first template image D1' with six degrees of freedom by indicating the difference between the pose of the target object in the input image and the reference pose using six degrees of freedom. More specifically, the reference pose data set D2 corresponding to the matching image D1* of this embodiment and the calibration data set are each expressed by a matrix. Assuming that the reference pose data set D2 corresponding to the matching image D1* is a first matrix (denoted by M1) and the calibration data set is a second matrix (denoted by M2), the pose recognition result of this embodiment is generated by multiplying the second matrix by the first matrix (i.e., M2M1). The flow is then completed.

[0055] In this embodiment, the pose recognition result may be converted to a position and orientation in another coordinate system (e.g., the coordinate system of a robot arm) with six degrees of freedom by a coordinate system conversion method in the prior art. Furthermore, after the pose recognition result is generated, the processing unit 11 may further perform an automation operation on the target object based on the pose recognition result. For example, the automation operation may include gripping and moving the target object with a robot arm (not shown), or processing the target object (e.g., welding, gluing, cutting, etc.). In some embodiments, after the pose recognition result is generated, the processing unit 11 may send the pose recognition result to an automation system that performs an automation operation on the target object, so that the automation system operates on the target object based on the pose recognition result. Note that the pose recognition result has various uses, so this embodiment does not limit the operation after the pose recognition result is generated.

[0056] It should be noted that steps S1 to S9 and the flowchart shown in FIG. 2 are merely an example of the present invention, and steps S1 to S9 may be combined, divided, or rearranged as long as substantially the same function can be achieved in substantially the same manner as the method of the present invention. For example, after obtaining an initial template image D1' (i.e., step S1), the processing unit 11 may first generate a processed template image D1'' based on the initial template image D1' (i.e., step S3), and then generate a reference pose data set D2 corresponding to the template image D1 and a reference feature data set D3 corresponding to the template image D1 (i.e., steps S2 and S4). Therefore, the present invention is not limited to the flowchart in FIG. 2.

[0057] In summary, by performing the method for recognizing the pose of a target object, the computing device 1 uses only one template image D1 (i.e., the initial template image D1') including a reference object belonging to a specific type to which the target object belongs, generates a processed template image D1'' by rotating the initial template image D1', and establishes a database DB1 related to the specific type by generating a reference pose data set D2 and a reference feature data set D3 corresponding to the template image D1. Furthermore, after the database DB1 is established, when the computing device 1 obtains an input image including the target object, the computing device 1 selects a matching image D1* that best matches the input image based on the reference feature data set D3 of the database DB1, and then performs a keypoint matching process based on the input image and the matching image D1* to generate a calibration data set, and finally recognizes the pose of the target object based on the calibration data set and the reference pose data set D2 corresponding to the matching image D1*.

[0058] Although the artificial neural network can also be used to recognize the posture of the target object, the artificial neural network needs to learn the appearance of the target object in advance, and therefore requires multiple images of the target object taken from different angles to train the artificial neural network. Compared with the case of using the artificial neural network, the computing device 1 of the present invention can establish the database DB1 related to a specific type with only one template image D1 (i.e., the initial template image D1') showing a reference object belonging to the specific type to which the target object belongs, without requiring images of the target object taken from different angles. Furthermore, the time required by the processing unit 11 to generate the database DB1 based on the initial template image D1' is much shorter than the time required to train the artificial neural network. Therefore, compared with the case of using the artificial neural network, the present invention can save manpower and time, and the saving of manpower and time is more significant in the case where the object to be recognized is changed (for example, the target object is changed to an object belonging to another specific type).

[0059] In the above description, for the purpose of explanation, numerous specific details are set forth to provide a thorough understanding of the embodiments. However, it will be apparent to one skilled in the art that one or more other embodiments may be implemented without the specific details. In addition, in the description of "one embodiment" or "one embodiment" in this specification, it should be understood that all descriptions accompanied by ordinal numbers or other indications may be included in the specific implementation of the present invention having specific aspects, structures, and features. Furthermore, in this specification, multiple variations are sometimes incorporated into one embodiment, drawing, or description thereof, but this is for the purpose of streamlining the specification and for the purpose of understanding the multiple aspects of the present invention, and one or more features or specific examples in one embodiment may be implemented together with one or more features or specific examples in other embodiments, where appropriate, in the implementation of the present invention.

[0060] Although the embodiments and modified examples of the present invention have been described above, the present invention is not limited to these, and is intended to encompass all modifications and equivalent configurations as various configurations falling within the spirit and scope of the broadest interpretation. [Explanation of symbols]

[0061] 1 computing device 11 Processing Unit 12 Storage Unit 2. Imaging Device DB1 database D1 Template Image D1' First template image D1'' Processed template image D1* Matching image D2 Reference Pose Dataset D3 reference feature dataset S1-S9 Steps

Claims

1. 1. A method for identifying a pose of a target object, the method being executed by a computing device storing a database, the database being related to a particular class to which the target object belongs and comprising a plurality of template images, the template images each comprising a reference object belonging to the particular class and each corresponding to a different deflection angle relative to a reference angle at which the reference objects are captured, the method comprising: obtaining an input image including the target object of the particular class; selecting a matching image from the template images of the database that best matches the input image based on the appearance of the target object in the input image, the matching image being the one in which the angle of the reference object shown in the template image is closest to the angle of the target object shown in the input image; performing a keypoint matching process based on the input image and the matching image to recognize a plurality of first feature points shown in the input image and related to an appearance of the target object, and a plurality of second feature points shown in the matching image and matching with the first feature points, respectively; generating a pose recognition result indicating the pose of the target object based on a relative pose relationship between the first feature point and the second feature point. method.

2. the database further includes a plurality of reference feature data sets corresponding to the template images, each of the reference feature data sets indicative of an appearance feature of the reference object at the angle shown in a corresponding one of the template images; The step of selecting a matching image includes: generating a target feature data set corresponding to the input image based on a plurality of feature portions of the target object shown in the input image, the target feature data set indicating appearance features of the target object at the angle shown in the input image; calculating, for each of the reference feature data sets, a degree of matching between the target feature data set and the reference feature data set; selecting, as the matching image, one of the reference feature data sets that has the highest degree of matching with the target feature data set of the template image; The method of claim 1.

3. The target feature data set and the reference feature data set are each represented by a vector; and calculating the degree of matching for each of the reference feature data sets includes calculating a Minkowski distance between the target feature data set and the reference feature data set. The method of claim 2.

4. The template images include an initial template image and a plurality of processed template images; The method further comprises, prior to the steps of obtaining an input image and selecting a matching image, obtaining the initial template image; generating the reference feature data set corresponding to the initial template image based on the initial template image; generating the plurality of modified template images by rotating the initial template image a plurality of times, each rotation generating one modified template image; and generating the reference feature data sets corresponding to the processed template images, respectively, based on the processed template images. The method of claim 2.

5. the database further comprising a plurality of reference pose data sets respectively corresponding to the template images, each of the reference pose data sets indicative of a pose of the reference object shown in a corresponding one of the template images; The method further includes generating a calibration data set based on the first feature points and the second feature points, the calibration data set being indicative of the relative pose relationship between the first feature points and the second feature points; the pose recognition result is generated based on the reference pose data set corresponding to the matching image and the calibration data set. The method of claim 2.

6. A computing device for recognizing the pose of a target object, comprising: A processing unit; a storage unit electrically connected to the processing unit and configured to store a database; the database is associated with a particular class to which the target object belongs and includes a plurality of template images, each of the template images including a reference object belonging to the particular class and each corresponding to a different deflection angle relative to a reference angle at which the reference object is captured; The processing unit includes: obtaining an input image including the target object of the particular class; Select a matching image from the template images of the database that best matches the input image based on the appearance of the target object in the input image, the matching image being the one in which the angle of the reference object shown in the template image is closest to the angle of the target object shown in the input image; performing a keypoint matching process based on the input image and the matching image to recognize a plurality of first feature points shown in the input image and related to an appearance of the target object, and a plurality of second feature points shown in the matching image and matching with the first feature points, respectively; generating a pose recognition result indicative of the pose of the target object based on a relative pose relationship between the first feature point and the second feature point. computing device.

7. the database further includes a plurality of reference feature data sets corresponding to the template images, each of the reference feature data sets indicative of an appearance feature of the reference object at the angle shown in a corresponding one of the template images; The processing unit includes: generating a target feature data set corresponding to the input image based on a plurality of feature portions of the target object shown in the input image, the target feature data set indicating appearance features of the target object at the angle shown in the input image; For each of the reference feature data sets, calculate a degree of matching between the target feature data set and the reference feature data set; and selecting the matching image by selecting as the matching image one corresponding to the reference feature data set that has the highest degree of match with the target feature data set of the template image.

7. The computing device of claim 6.

8. The target feature data set and the reference feature data set are each represented by a vector; the processing unit is configured to calculate, for each of the reference feature data sets, the degree of matching by calculating a Minkowski distance between the target feature data set and the reference feature data set.

8. The computing device of claim 7.

9. The template images include an initial template image and a plurality of processed template images; The processing unit, prior to obtaining the input image and selecting the matching image, obtaining said first template image; generating the reference feature data set corresponding to the initial template image based on the initial template image; generating the plurality of modified template images by rotating the initial template image a plurality of times, one modified template image for each rotation; and generating, based on the processed template images, the reference feature data sets each corresponding to the processed template images.

8. The computing device of claim 7.

10. the database further comprising a plurality of reference pose data sets respectively corresponding to the template images, each of the reference pose data sets indicative of a pose of the reference object shown in a corresponding one of the template images; The processing unit is further configured to generate, based on the first feature points and the second feature points, a calibration data set indicative of the relative pose relationship between the first feature points and the second feature points; the processing unit is configured to generate the pose recognition result based on the reference pose data set corresponding to the matching image and the calibration data set.

8. The computing device of claim 7.

Citation Information

Patent Citations

  • Image processor, method therefor, and imaging processing program

    JP2007219765A

  • Object recognition device and object recognition method

    CN113939852A