Object recognition device, object recognition method, and conveyance robot system

The object recognition device addresses the challenge of mixed article identification on pallets by using color and shape characteristics to evaluate and enhance the accuracy of article recognition, ensuring precise identification.

JP2024155438APending Publication Date: 2024-10-31HITACHI LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
JP2023070149
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-04-21
Publication Date
2024-10-31

AI Technical Summary

Technical Problem

Existing image processing devices struggle to accurately identify objects when articles with various patterns and shapes are mixedly loaded on a pallet, leading to erroneous identification due to mismatched detection areas.

Method used

An object recognition device that includes an input unit, detection unit, identification unit, and confidence calculation unit to evaluate the accuracy of detected article areas using color and shape characteristics, and outputs operation commands to a robot for precise article recognition.

Benefits of technology

Enables accurate identification of articles even when mixed on a pallet by evaluating the match between detected and actual article areas, improving the reliability of object recognition.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024155438000001_ABST
    Figure 2024155438000001_ABST
Patent Text Reader

Abstract

To provide an object recognition device, an object recognition method, and a conveyance robot system, which can accurately identify an article even when there are different articles on a pallet by evaluating whether a detected article area coincides with an actual article area.SOLUTION: An object recognition device, for example, recognizes an article area in an image captured by a camera. The object recognition device comprises: an input section that acquires the image; a detection section that detects an article area in the image and acquires position and posture information on an article; an identification section that identifies an article type of the article area using a color feature or a shape feature of the article area; a certainty level calculation section that compares the article types of adjacent article areas and calculates a certainty level representing accuracy of detection of the article area; and an output section that outputs, to a robot, an operation command based on the position and posture information of the article and the certainty level.SELECTED DRAWING: Figure 3
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to an object recognition device, an object recognition method, and a transport robot system. [Background technology]

[0002] In recent years, the use of robots such as articulated arm robots that transport items has been increasing in logistics warehouses, etc. When this type of robot selects and transports an item from items mixed on a pallet (hereinafter abbreviated as "mixed item"), it is necessary for the robot to correctly recognize the boundary between the item being transported and other items.

[0003] As a conventional technique for detecting an area where an object exists from an image, the image processing device of Patent Document 1 is known. For example, the abstract of Patent Document 1 describes the problem of "providing a technique for accurately identifying variations of products having various variations," and describes as a means of solving the problem, "The image processing device has an object detection unit, a category identification unit, a product identification unit, and a display processing unit. The object detection unit detects an area in an image where an object exists. The category identification unit identifies a category to which the object belongs by using the shape of the detected area. The product identification unit identifies the product based on reference data of the product corresponding to the identified category and feature amounts obtained from the area."

[0004] Specifically, paragraph 0016 of Patent Document 1 states, "The product identification unit 130 performs a matching process between image features obtained from the area detected by the object detection unit 110 and reference data (reference image features) of each product prepared for identifying the product, and identifies the object (product) located in the area. ... The product identification unit 130 narrows down the product reference data used in the matching process with the image features obtained from the area detected by the object detection unit 110, based on the category of the object located in the area."

[0005] Furthermore, paragraph 0053 of Patent Document 1 also states with regard to classification errors that "the classification error candidate extraction unit 150 may be configured to identify candidate areas based on the confidence level of the matching process by the product classification unit 130 (the likelihood of the product classification result. The confidence level of the matching process can be determined, for example, based on the magnitude of the score (similarity) obtained as a result of the matching process." [Prior art documents] [Patent documents]

[0006] [Patent Document 1] Patent Publication No. 2021-96635 Summary of the Invention [Problem to be solved by the invention]

[0007] However, the image processing device of Patent Document 1 only judges whether the image feature obtained from the area detected by the object detection unit 110 matches the reference data, and does not judge the accuracy of the detection area itself. Therefore, when detecting an area where an object exists in a situation where items with various patterns and shapes are mixed and partially overlapping on a pallet, for example, the image processing device of Patent Document 1 performs matching processing as is even if the detection area differs from the actual item area, resulting in an erroneous identification of the item.

[0008] Therefore, the present invention aims to provide an object recognition device, an object recognition method, and a transport robot system that can evaluate whether a detected item area matches an actual item area, and accurately identify items even when items are mixed on a pallet. [Means for solving the problem]

[0009] In order to solve the above problems, the object recognition device of the present invention, for example, is an object recognition device that recognizes an item area in an image captured by a camera, and includes an input unit that acquires the image, a detection unit that detects an item area in the image and acquires position and orientation information of the item, an identification unit that identifies the item type of the item area using color features or shape features of the item area, a certainty calculation unit that compares the item types of adjacent item areas and calculates a certainty indicating the accuracy of the detection of the item area, and an output unit that outputs an operation command to a robot based on the position and orientation information of the item and the certainty.

[0010] Furthermore, the object recognition method of the present invention, for example, in an object recognition method for recognizing an item area in an image captured by a camera, includes the steps of acquiring the image, detecting an item area in the image and acquiring item position and orientation information, identifying an item type of the item area using color features or shape features of the item area, and comparing the item types of adjacent item areas and calculating a confidence level representing the accuracy of the detection of the item area.

[0011] In addition, the transport robot system of the present invention is, for example, a transport robot system equipped with an object recognition device, a robot, and a camera, wherein the object recognition device comprises an input unit that acquires an image captured by the camera, a detection unit that detects an item area in the image and acquires position and orientation information of the item, an identification unit that identifies the item type of the item area using color features or shape features of the item area, a certainty calculation unit that compares the item types of adjacent item areas and calculates a certainty indicating the accuracy of the detection of the item area, and an output unit that outputs an operation command to the robot based on the position and orientation information of the item and the certainty, and the robot operates based on the operation command. Effect of the Invention

[0012] According to the present invention, it is possible to evaluate whether the detected item area matches the actual item area, and to accurately identify items even when items are mixed on a pallet. [Brief description of the drawings]

[0013] [Figure 1] FIG. 1 is a diagram illustrating a usage environment of a transfer robot system according to a first embodiment. [Diagram 2] FIG. 1 is a hardware configuration diagram of an object recognition device according to a first embodiment. [Diagram 3] FIG. 1 is a functional block diagram of an object recognition device according to a first embodiment. [Figure 4] 4 is a flowchart of a process executed by a calculation unit including a detection unit, a discrimination unit, and a certainty factor calculation unit according to the first embodiment. [Figure 5A] FIG. 1 is a diagram showing an example of a top view of an article that includes many flat surfaces on its top surface. [Figure 5B] FIG. 1 is a diagram showing an example of a top view of an article having many projections and recesses on its top surface. [Figure 5C] FIG. 13 is a diagram showing an example of a top view of an article in which a bottle is packaged. [Figure 6] FIG. 13 is a diagram showing an example in which one item is detected as two item regions of the same item type. [Figure 7] FIG. 13 is a diagram showing an example in which one item is detected as two item regions of different item types. [Figure 8] FIG. 13 is a diagram showing an example in which one planar object is detected as two object regions. [Figure 9] FIG. 13 is a diagram showing an example in which one uneven object is detected as two object regions. [Figure 10] FIG. 13 is a diagram showing an example in which one bottle packaging item is detected as two item regions. [Figure 11] 11 is a flowchart relating to optimization of recognition parameters according to the second embodiment. [Figure 12A] FIG. 13 is a diagram showing an example of an item arrangement before a shifting operation is performed in the third embodiment. [Figure 12B] FIG. 13 is a diagram showing an example of an item arrangement after a shifting operation according to the third embodiment. [Figure 13] 13 is a flowchart relating to a shifting operation according to the third embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS EXAMPLES

[0014] Hereinafter, embodiments of an object recognition device, an object recognition method, and a transport robot system according to the present invention will be described with reference to the drawings.

[0015] <Outline of the transport robot system> FIG. 1 is a diagram for explaining the usage environment of the transport robot system. The object recognition device 1 is connected to the robot 2 and outputs an operation command to the robot 2. In FIG. 1, the object recognition device 1 is connected to the robot 2 by wire, but the present invention is not limited to this, and the connection may be wireless. The robot 2 has a multi-joint arm 21 and a hand 22. The robot 2 is, for example, a multi-joint arm robot controlled by the object recognition device 1. The camera 3 is, for example, a stereo camera in which a left camera 3L and a right camera 3R capture images synchronously, and transmits the captured stereo image (hereinafter abbreviated as "image") to the object recognition device 1. The item 4 is various items transported by the robot 2. Examples of the item 4 include plastic bottles, toilet paper, and cardboard. The pallet 5 is a pallet on which the item 4 is placed. The robot 2 is installed at a location where the hand 22 can grasp any item 4 on the pallet 5 by moving the multi-joint arm 21. The camera 3 is installed at a location where the entire upper surface of the pallet 5 can be imaged. The object recognition device 1, the robot 2, and the camera 3 function as a transport robot system.

[0016] <Hardware configuration of object recognition device 1> Fig. 2 is a hardware configuration diagram of the object recognition device 1. The object recognition device 1 is a computer equipped with a processor 11 such as a CPU, a memory 12 such as a semiconductor memory, an input device 13 such as a keyboard or a mouse, an output device 14 such as a liquid crystal display, a communication interface 15 for communicating with the robot 2 and the camera 3, and a bus 16 connecting these. The hardware configuration of the object recognition device 1 shown in Fig. 2 is an example, and is not limited to this.

[0017] <Function blocks of object recognition device 1> FIG. 3 is a functional block diagram of the object recognition device 1. The object recognition device 1 includes an input unit 15a that acquires an image of an object 4 placed on a pallet 5 captured from above by a camera 3, a detection unit 11a that detects an object region corresponding to the object 4 in the acquired image, an identification unit 11b that identifies the object type of the detected object region, a certainty factor calculation unit 11c that compares the object types of adjacent object regions and calculates a certainty factor that indicates the accuracy of the detection of the object region, and an output unit 15b that outputs an operation command based on the position and orientation information of the object 4 and the certainty factor to the robot 2. The operation command can be, for example, a command to grip an object in an object region with a high certainty factor. The detection unit 11a, the identification unit 11b, and the certainty factor calculation unit 11c function as a calculation unit, and the calculation unit is realized by the processor 11 shown in FIG. 2. The input unit 15a and the output unit 15b are functional units realized by the communication interface 15 in FIG. 2.

[0018] <Outline of the flowchart of the processing in the calculation unit> Fig. 4 is a flowchart of the process executed by a calculation unit including a detection unit 11a, a discrimination unit 11b, and a certainty factor calculation unit 11c. The calculation unit executes steps S1 to S5 shown in Fig. 4. Each step will be described in detail below.

[0019] <<Step S1>> In step S1, the detection unit 11a detects an item region corresponding to each item in the image and acquires the position and orientation information of the item. There are various methods for the detection unit 11a to detect the item region. For example, there is a method of acquiring shape features or color features in the image. Specifically, a method may be used in which vertical unevenness information included in the shape features is acquired from the image, a concave portion is detected as an item boundary between items, and an area containing many flat surfaces or an area with many concaves and convexes is detected as the item region. For example, the concave and convex information may be the curvature of the upper surface of the item. For example, an example of the concave portion may be a portion with a large curvature. In addition, a method may be used that uses pattern matching between the image and known top view shape features or top view color features of the item. Note that the item region is an area in the image where the item exists. Also, the item boundary is a boundary between the item regions.

[0020] <<Step S2>> In step S2, the recognition unit 11b recognizes the item type of the item region by using shape features or color features of the item region in the image.

[0021] Fig. 5A is a diagram showing an example of a top view of an object having many flat surfaces on its upper surface. Object 41 in Fig. 5A is an object having many flat surfaces on its upper surface and few vertical irregularities. Based on the shape characteristics of the object area in the image, the identification unit 11b identifies the object type of an object area having few irregularities and a flat upper surface, for example, an object area corresponding to object 41, as a flat object. For example, the object type of an object area corresponding to a cardboard or box-shaped object is identified as a flat object.

[0022] FIG. 5B is a diagram showing an example of a top view of an item having many projections and recesses on its upper surface. The item 42 in FIG. 5B is an item having many projections and recesses on its upper surface, for example, an item having a large curvature on its upper surface or an item boundary that is not linear. The identification unit 11b identifies the type of an item area having many projections and recesses on its upper surface, for example, an item area corresponding to the item 42, as an uneven item based on the shape characteristics of the item area in the image. Also, even if the item is box-shaped, an item in which multiple items are wrapped together may have a large curvature on the upper surface of the item, and in that case, it is classified as an item having many projections and recesses. For example, the type of an item area corresponding to toilet paper or a bag is identified as an uneven item.

[0023] FIG. 5C is a diagram showing an example of a top view of an item in which a bottle is packaged. Item 43 in FIG. 5C is an item in which a plurality of bottles are wrapped together. For example, there is a plastic bottle for beverages. Based on the color characteristics of the item area in the image, the identification unit 11b identifies the item type of an item area in which circular patterns corresponding to the cap portion 44 at the top of the bottle are arranged at equal intervals, for example, the item area corresponding to item 43, as a bottle-packaged item. If there is an item that has a top view shape or color characteristics different from the three item types listed above, it may be added as a new type.

[0024] <<Step S3>> In step S3 of FIG. 4, the certainty calculation unit 11c compares the item types of adjacent item regions, and calculates the possibility that adjacent item regions contain the same item as the item identity possibility. Specifically, first, the certainty calculation unit 11c extracts a pair of adjacent item regions based on the item position and orientation information acquired by the detection unit 11a in step S1. Then, the item types of adjacent item regions are compared. If the combination of item types of adjacent item regions matches a combination that is predefined as a combination of item types that is likely to contain the same item, the item identity possibility is calculated to be higher than a predetermined value. Examples of combinations of item types that are likely to contain the same item include combinations of the same item type and combinations of either a flat item or an uneven item and a bottle packaged item, as described below.

[0025] Fig. 6 is a diagram showing an example in which one item is detected as two item regions of the same item type. Specifically, Fig. 6 shows an example in which one item 43 is detected by dividing it into item region A1a and item region A1b. Note that the item types of item region A1a and item region A1b are identified as bottle-packaged items based on information on the circular patterns inside item region A1a and item region A1b, respectively.

[0026] When the item types of adjacent item areas are the same, such as item area A1a and item area A1b shown in Fig. 6, there is a high possibility that the adjacent item areas contain the same item, so the item identity probability is calculated to be higher than a predetermined value. In this embodiment, the predetermined value is 50%, but is not limited to this. In the case shown in Fig. 6, the certainty factor calculation unit 11c calculates the item identity probability to be 75%, which is higher than the predetermined value of 50%.

[0027] In addition, when adjacent item regions have different item types, it is generally highly likely that the adjacent item regions represent different items, but depending on the combination of item types of adjacent item regions, there are cases where the adjacent item regions are highly likely to contain the same item. Therefore, the item identity probability is calculated according to the combination of different item types.

[0028] For example, when the combination of different object types is a combination of a flat object and a concave-convex object, there is a high possibility that adjacent object regions represent different objects, so the object identity probability is calculated to be lower than a predetermined value, for example, 25%, which is lower than the predetermined value of 50%.

[0029] Next, an example in which one item is detected as two item regions of different item types is shown in FIG. 7. FIG. 7 is a top view of a labeled bottle packaging item 45. The labeled bottle packaging item 45 is an item in which an opaque label 46 is present near the center of the item 43 shown in FIG. 5. Here, as a result of executing step S1 on the labeled bottle packaging item 45, the detection unit 11a detects the opaque label 46 in the center portion as the item region A2a, and detects the surrounding multiple bottles as the item region A2b. Then, as a result of executing step S2 on the item region A2a and the item region A2b, the identification unit 11b identifies the item type of the item region A2a as a flat item or an uneven item, and identifies the item region A2b as a bottle packaging item.

[0030] 7, when the combination of different item types is a combination of either a flat item or an uneven item with a bottle packaging item, the item area A2a is expanded in a 360-degree direction, and circular patterns are detected in an expanded area A3, which is the item area after the expansion of the item area A2a, and the number of circular patterns in the item area A2a (item area before expansion) is compared with the number of circular patterns in the expanded area A3. Here, an example will be described in which the number of circular patterns in the item area A2a relative to the number of circular patterns in the expanded area A3 is calculated as a circle ratio for comparison, but the present invention is not limited to this.

[0031] When the circle ratio is large, that is, when the number of circular patterns in the enlarged area A3 is greater than the number of circular patterns in the item area A2a, it is highly likely that bottle caps are arranged around the item area A2a, and therefore it is highly likely that the item areas A2a and A2b contain labeled bottle packaged items. Therefore, in this case, the certainty calculation unit 11c calculates the item identity probability for the item areas A2a and A2b to be higher than a predetermined value.

[0032] Conversely, when the circle ratio is small, i.e., when the number of circular patterns in the enlarged area A3 is equal to or smaller than the number of circular patterns in the item area A2a, the item area A2a and the item area A2b are likely to represent different items, and therefore, in this case, the certainty calculation unit 11c calculates the item identity probability for the item area A2a and the item area A2b to be lower than a predetermined value.

[0033] <<Step S4>> In step S4, the certainty factor calculation unit 11c calculates the possibility that an article boundary exists between adjacent article regions as an article boundary existence possibility based on the article type of the adjacent article regions. Note that the optimal article boundary determination method for calculating the article boundary existence possibility differs depending on the article type, so the certainty factor calculation unit 11c selects the optimal article boundary determination method for each article region based on the article type of the adjacent article region identified in step S2. Then, based on the selected article boundary determination method, the certainty factor calculation unit 11c calculates the possibility that an article boundary exists from shape features and color features in the image as an article boundary existence possibility. Hereinafter, the article boundary determination method based on the article type of the article region will be described with reference to Figs. 8 to 10.

[0034] 8 is a diagram showing an example in which one planar object is detected as two object regions. Specifically, this is an example in which an object 41, which is actually one object, is detected as two object regions A4a and A4b. Note that both object regions A4a and A4b are identified as being of the object type of a planar object based on shape characteristics in the image.

[0035] When both of the object types of adjacent object regions, such as object regions A4a and A4b, are planar objects, the certainty factor calculation unit 11c determines whether or not a straight line exists between the adjacent object regions based on color features in the image, and determines whether or not a depression exists between the adjacent object regions based on shape features in the image. When the certainty factor calculation unit 11c determines that both a straight line and a depression exist between the adjacent object regions, it calculates the object boundary presence probability to be higher than a predetermined value.

[0036] For example, in the case shown in Figure 8, the certainty calculation unit 11c determines that a straight line L1 that may be an article boundary exists between article area A4a and article area A4b based on the color characteristics of the article 41, such as the pattern on the article surface.

[0037] However, there is a possibility that the straight line L1 is an erroneous article boundary existing inside the article 41. Therefore, a determination is made as to whether or not a depression exists between the article regions A4a and A4b based on shape features in the image, such as curvature, and a determination is made as to whether or not the straight line L1 is a true article boundary. This article boundary determination is based on the fact that when an article boundary actually exists between adjacent article regions, it is often the case that both a straight line and a vertical depression exist between the article regions in the image.

[0038] 8, an item 41 exists between item area A4a and item area A4b, and there is little unevenness between item area A4a and item area A4b, so the certainty calculation unit 11c determines that no depression exists. In this case, the certainty calculation unit 11c determines that a straight line L1 exists, but that no depression exists, and therefore calculates the item boundary presence possibility to be lower than the predetermined value. Note that the predetermined value used to calculate the item boundary presence possibility is described as 50%, the same as the predetermined value used to calculate the item identity possibility, but may be a value different from the predetermined value used to calculate the item identity possibility.

[0039] 9 is a diagram showing an example in which one uneven object is detected as two object regions. Specifically, this is an example in which an object 42, which is actually a single object, is detected as object region A5a and object region A5b. Note that both object regions A5a and A5b are identified as object types that are uneven objects based on shape features in the image.

[0040] When both of the object types of adjacent object regions, such as object regions A5a and A5b, are uneven objects, the certainty calculation unit 11c determines whether or not a straight line exists between the adjacent object regions based on color features in the image, and determines whether or not a depression exists between the adjacent object regions based on shape features in the image. When the certainty calculation unit 11c determines that both a straight line and a depression exist between the adjacent object regions, it calculates the object boundary existence possibility for object region A4a and object region A4b to be higher than a predetermined value.

[0041] 9, for example, the certainty factor calculation unit 11c determines, based on shape features in the image, that there is a groove D between item region A5a and item region A5b that can be an item boundary. On the other hand, the certainty factor calculation unit 11c determines, based on color features in the image, that there is no straight line between item region A5a and item region A5b that can be an item boundary. In this case, since there is a high possibility that groove D is an erroneous item boundary that exists inside item 42, the certainty factor calculation unit 11c calculates the item boundary existence probability for item region A5a and item region A5b to be lower than a predetermined value.

[0042] In addition, one or both of the process of determining whether or not a straight line exists between adjacent item regions based on the color features in the image and the process of determining whether or not a depression exists between adjacent item regions based on the shape features in the image may be performed by the detection unit 11a in this step S3, or may be performed in advance by the detection unit 11a in step S1.

[0043] 10 is a diagram showing an example in which one bottle-packaged item is detected as two item regions. Specifically, this is an example in which an item 43, which is actually one item, is detected as item region A6a and item region A6b. Note that both item region A6a and item region A6b are identified as being bottle-packaged items based on their color characteristics in the image.

[0044] In the case of the article 43, the cap portions 44 of multiple bottles are wrapped together, so that the cap portions 44 are arranged at equal intervals within the same bottle packaged article. On the other hand, when two articles 43 are adjacent to each other, there is a gap between the articles 43 and the thickness of the wrapping material, so that the distance between the cap portions 44 of adjacent bottles included in different articles 43 is greater than the distance between the cap portions 44 within the same article 43.

[0045] When both item types in adjacent item areas, such as item area A6a and item area A6b, are bottle packaging items, the certainty calculation unit 11c calculates an intra-area cap distance representing the distance between the caps of adjacent bottles within one of the adjacent item areas, and an extra-area cap distance representing the distance between the caps of adjacent bottles contained in a different item area, and when the intra-area cap distance and the extra-area cap distance are the same, calculates the item boundary existence probability to be lower than the specified value.

[0046] For example, as shown in FIG. 10, the length of a line segment L2a connecting the circle centers of the cap portion 44 of the item region A6a and the item region A6b is set as the outside-region cap distance, and the length of a line segment L2b connecting the circle centers of the cap portion 44 inside the item region A6b is set as the inside-region cap distance, and these are compared to determine whether an item boundary exists between the item region A6a and the item region A6b. Then, when the inside-region cap distance and the outside-region cap distance are the same, the certainty factor calculation unit 11c calculates the article boundary existence possibility to be lower than a predetermined value. However, in determining whether the inside-region cap distance and the outside-region cap distance are the same, some deviation may be taken into consideration. In FIG. 10, the outside-region cap distance and the inside-region cap distance can be considered to be the same, so the article boundary existence possibility for the item region A6a and the item region A6b is calculated to be lower than a predetermined value.

[0047] <<Step S5>> In step S5, the certainty calculation unit 11c calculates the certainty based on the article identity probability calculated in step S3 and the article boundary existence probability calculated in step S4. For example, the certainty is calculated based on the formula: certainty=100%×(1-(article identity probability))×(article boundary existence probability). As described above, the article identity probability is the probability that adjacent article regions contain the same article, and when the article identity probability is high, there is a high possibility that an article has been erroneously detected as a divided region. In this case, since the detected article region and the actual article region are unlikely to match, it is appropriate that the certainty is low. Therefore, in the above formula, the article identity probability is used in the form of "1-(article identity probability)". The calculation of the certainty using the above formula is an example, and is not limited to this.

[0048] As described above, according to the present invention, it is possible to evaluate whether the detected item area matches the actual item area, and to accurately identify items even when items are mixed on a pallet. EXAMPLES

[0049] In the second embodiment, an example will be described in which the object recognition device 1 according to the first embodiment further optimizes the recognition parameters. The following will mainly describe the differences from the first embodiment.

[0050] <Optimization of recognition parameters> The recognition parameter determines the degree to which the detection unit 11a extracts image features to be used when detecting an object region in an image. For example, when curvature is used as a shape feature in an image, if the curvature is within a certain threshold, the threshold is regarded as a plane, and this threshold is the recognition parameter.

[0051] FIG. 11 is a flowchart related to optimization of the recognition parameters. Steps S1 to S5 are the same as those in FIG. 4. In step S6, the confidence calculation unit 11c compares the confidence value calculated in step S5 with a predetermined threshold value to determine whether or not the recognition parameters need to be adjusted. If the confidence is greater than the threshold value, the object region detected in step S2 is determined to be correct, and the flowchart ends. On the other hand, if the confidence is equal to or less than the threshold value, the confidence calculation unit 11c determines whether or not the number of times the recognition parameters have been adjusted is equal to or greater than a certain number of times. If the number of times the recognition parameters have been adjusted is equal to or greater than the certain number of times, it is determined that further adjustment of the recognition parameters will not change the result of the object region, and the flowchart ends. If the number of times the recognition parameters have been adjusted is less than the certain number of times, the confidence calculation unit 11c performs step S8, that is, adjustment of the recognition parameters. After adjusting the recognition parameters in step S8, steps S1 to S5 are performed again. Since there is a possibility that the confidence will increase if the detection result of the object region is changed by adjusting the recognition parameters, S6 and S7 are performed again.

[0052] By adjusting the recognition parameters in this manner, it is possible to adjust the detection accuracy of the article region. EXAMPLES

[0053] In the third embodiment, an example will be described in which the object recognition device 1 according to the first embodiment causes the robot 2 to perform a shifting operation. The following will mainly describe the differences from the first embodiment.

[0054] <Shifting action> The shifting operation is an operation for changing the arrangement of the article 4 on the pallet 5 in order to make it easier to detect the article area. The shifting operation is realized by the robot 2 gripping an edge of the article 4 based on a command from the object recognition device 1, and moving the article 4 a certain distance on the pallet 5 to arrange it.

[0055] Fig. 12A is a diagram showing an example of item arrangement before a shifting operation is performed, and Fig. 12B is a diagram showing an example of item arrangement after the shifting operation is performed. Before the shifting operation is performed, as shown in Fig. 12A, item 41 and item 42 are arranged closely to each other. In this example, groove D is recognized as the item boundary between item area A7a and item area A7b, but this is a mistaken recognition because it differs from the actual item boundary (the boundary between item 41 and item 42). In such a case, by performing a shifting operation to change the arrangement of item 41 in a direction away from item 42 as shown in Fig. 12B, it becomes possible to divide the area at an appropriate item boundary, such as item area A8a and item area A8b.

[0056] FIG. 13 is a flow chart relating to the shifting operation. Steps S1 to S5 are the same as those in FIG. 4. FIG. 13 also includes step S10. Step S10 is a step in which the camera 3 captures an image of the object 4 placed on the pallet 5 from above, and the input unit 15a reacquires the image from the camera 3. Note that in this embodiment, the camera 3 captures images at a constant cycle, and the input unit 15a acquires the latest images in accordance with the capture cycle of the camera 3, but this is not limited to the above. For example, the camera 3 may capture images based on instructions from the object recognition device 1.

[0057] In step S6, the confidence calculation unit 11c determines whether the confidence is equal to or lower than a threshold value, and if the confidence is equal to or lower than the threshold value, in step S9, the confidence calculation unit 11c causes the robot 2 to perform a shifting operation. Specifically, in step S9, the confidence calculation unit 11c generates a command for the shifting operation, and the output unit 15b outputs the command for the shifting operation to the robot 2. This causes the robot 2 to perform the shifting operation. After that, in step S10, the input unit 15a reacquires an image of the pallet 5 after the shifting operation is performed. Then, steps S1 to 5 are performed using the reacquired image. Note that, in step S1 after the shifting operation is performed, it is preferable that the detection unit 11a detects the object area based on the shape characteristics in the image for the area whose arrangement has been changed by the shifting operation. This is because the influence of the shifting operation is more easily reflected in the shape characteristics in the image than in the color characteristics.

[0058] Then, since the shifting operation may change the detection result of the object area, which may increase the confidence level, step S6 is executed again.

[0059] The shifting operation may be performed together with the optimization of the recognition parameters. For example, if the recognition result is not improved by adjusting the recognition parameters in step S7 shown in Fig. 11, the shifting operation in step S9 shown in Fig. 13 may be performed.

[0060] As described above, by performing the shifting operation of this embodiment, it becomes possible to divide the area at an appropriate article boundary. EXAMPLES

[0061] In this embodiment, an example will be described in which the transport robot system includes a display unit. The display unit is provided, for example, as a display screen or the like in the object recognition device 1. The display unit may also be provided as a display screen or the like in the robot 2. Alternatively, the display unit may be provided as a display device such as a display connected to the object recognition device 1 or a mobile terminal.

[0062] The display unit displays the certainty factor calculated by the certainty factor calculation unit 11c. At that time, the display unit displays the article area and the certainty factor by superimposing them on the image captured by the camera 3.

[0063] By providing the transport robot system with a display unit, the robot manager can grasp the confidence level indicating the accuracy of the detection of the item area by the detection unit. This allows the robot manager to perform operations to improve the confidence level, such as shifting an item in an item area with a low confidence level. [Explanation of symbols]

[0064] 1 Object recognition device 11 Processors 11a Detection section 11b Identification part 11c Confidence calculation part 12. Memory 12a Object recognition processing program 13 Input Devices 14 Output Devices 15 Communication Interface 15a Input section 15b Output section 16 Bus 2. Robot 21 Articulated Arm 22 Hands 3. Camera 3L Left camera 3R Right Camera 4 Goods 5 Palette 41, 42, 43 Goods 44 Bottle cap 45 Labelled bottle packaging items 46 Opaque Labels A1, A2, A4, A5, A6, A7, A8 Article area A3 Expanded Area L1 straight line D groove L2 line segment

Claims

1. An object recognition device for recognizing an object area in an image captured by a camera, An input unit for acquiring the image; A detection unit that detects an object area in the image and acquires position and orientation information of the object; An identification unit that identifies an item type of the item area by using a color feature or a shape feature of the item area; a certainty factor calculation unit that compares the item types of the adjacent item regions and calculates a certainty factor that indicates the accuracy of detection of the item regions; an output unit that outputs an operation command to a robot based on the position and orientation information of the article and the certainty factor; An object recognition device comprising:

2. The object recognition device according to claim 1 , The certainty factor calculation unit comparing the item types of the adjacent item regions and calculating the possibility that the adjacent item regions contain the same item as an item identity possibility; Calculating an article boundary presence probability based on an article type of the adjacent article regions, the possibility that an article boundary exists between the adjacent article regions; The certainty is calculated based on the item identity possibility and the item boundary existence possibility.

1. An object recognition device comprising:

3. The object recognition device according to claim 2, The object recognition device is characterized in that the certainty calculation unit calculates the probability of item identity to be higher than a predetermined value when a combination of item types in adjacent item regions matches a predetermined combination that is likely to include the same item.

4. The object recognition device according to claim 3, The certainty factor calculation unit When the item types of the adjacent item regions are the same, the item identity probability is calculated to be higher than a predetermined value; An object recognition device characterized in that, when the object types of adjacent object regions are different, the object identity possibility is calculated according to a combination of the different object types.

5. The object recognition device according to claim 4, The certainty factor calculation unit When the combination of different article types is a combination of a flat article having many flat surfaces and an uneven article having many uneven surfaces, the article identity probability is calculated to be lower than the predetermined value, When the combination of different item types is a combination of either the planar item or the uneven item with a bottle packaging item, the object recognition device enlarges the item area identified as the planar item or the uneven item, and when the number of circular patterns in the enlarged item area is greater than the number of circular patterns in the item area before enlargement, calculates the item identity probability to be higher than the specified value, and when the number of circular patterns in the enlarged item area is equal to or less than the number of circular patterns in the item area before enlargement, calculates the item identity probability to be lower than the specified value.

6. The object recognition device according to claim 2, The certainty calculation unit, when all of the object types of the adjacent object regions are planar objects that contain many flat surfaces, determines whether or not a straight line exists between the adjacent object regions based on color features in the image, and determines whether or not a depression exists between the adjacent object regions based on shape features in the image, and when it is determined that both the straight line and the depression exist, calculates the object boundary existence probability to be higher than a predetermined value.

7. The object recognition device according to claim 2, The certainty calculation unit, when both of the object types of the adjacent object regions are uneven objects containing many unevenness, determines whether or not a straight line exists between the adjacent object regions based on color features in the image, and determines whether or not a depression exists between the adjacent object regions based on shape features in the image, and when it is determined that both the straight line and the depression exist, calculates the object boundary existence probability to be higher than a predetermined value.

8. The object recognition device according to claim 2, When both of the item types of the adjacent item regions are bottle packaging items, the certainty calculation unit calculates an intra-area cap distance that represents the distance between cap portions of adjacent bottles in one of the adjacent item regions, and an extra-area cap distance that represents the distance between cap portions of adjacent bottles included in a different item region, An object recognition device, comprising: an object recognition unit that calculates the article boundary presence possibility to be lower than a predetermined value when the area inside cap distance and the area outside cap distance are the same.

9. The object recognition device according to claim 1 , the certainty calculation unit adjusts a recognition parameter that determines a degree to which the detection unit extracts features in the image to be used when detecting an object region in the image when the certainty is equal to or less than a threshold; The detection unit detects an object region in the image using the adjusted recognition parameters.

1. An object recognition device comprising:

10. The object recognition device according to claim 1 , The certainty factor calculation unit generates a command for a shifting operation to change a position of the article when the certainty factor is lower than a threshold value; The object recognition device, wherein the output unit outputs a command for the shifting operation to the robot.

11. An object recognition method for recognizing an object area in an image captured by a camera, comprising: acquiring said image; Detecting an article area in the image and acquiring position and orientation information of the article; identifying an item type of the item area using color or shape characteristics of the item area; comparing the item types of adjacent item regions and calculating a confidence level representing the accuracy of detection of the item regions; An object recognition method comprising:

12. A transport robot system including an object recognition device, a robot, and a camera, The object recognition device includes: an input unit that acquires an image captured by the camera; A detection unit that detects an object area in the image and acquires position and orientation information of the object; An identification unit that identifies an item type of the item area by using a color feature or a shape feature of the item area; a certainty factor calculation unit that compares the item types of the adjacent item regions and calculates a certainty factor that indicates the accuracy of detection of the item regions; an output unit that outputs an operation command to the robot based on the position and orientation information of the article and the certainty factor, The robot operates based on the operation command. A transport robot system comprising:

13. The transport robot system according to claim 12, The transport robot system further comprises a display unit that displays the degree of certainty.

Citation Information

Patent Citations

  • Image processing system, image processing method, and program

    JP2021096635A