Object recognition device, object recognition method, and conveyance robot system
The object recognition device addresses the challenge of mixed article identification by using image processing to detect and identify article types based on color and shape characteristics, providing a confidence level for accurate article recognition in mixed pallet loads.
Patent Information
- Application Number
- PCT/JP2024/010653
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-04-21
- Filing Date
- 2024-03-19
- Publication Date
- 2024-10-24
AI Technical Summary
Conventional 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 the lack of evaluation of the detected area's match with the actual article area.
An object recognition device that includes an input unit to acquire images, a detection unit to detect and acquire position and orientation information of articles, an identification unit to identify article types using color or shape characteristics, a confidence calculation unit to assess detection accuracy, and an output unit to provide operation commands to robots based on the position and orientation information and confidence level.
Enables accurate identification of articles even when they are mixedly loaded on a pallet by evaluating the detected area's match with the actual area and calculating a confidence level, reducing identification errors.
Smart Images

Figure JP2024010653_24102024_PF_FP_ABST
Abstract
Description
OBJECT RECOGNITION DEVICE, OBJECT RECOGNITION METHOD, AND TRANSPORT ROBOT SYSTEM
[0001] The present invention relates to an object recognition device, an object recognition method, and a transport robot system.
[0002] In recent years, the use of robots such as articulated arm robots for transporting items has been increasing in logistics warehouses, etc. When this type of robot selects and transports one item from among 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] An image processing device disclosed in Patent Document 1 is known as a conventional technology for detecting an area where an object exists from an image. For example, the abstract of Patent Document 1 describes the problem of "providing a technology for accurately identifying variations of products that have various variations," and describes as a solution to this problem the following: "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 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 commodity 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 commodity prepared for identifying the commodity, and identifies the object (commodity) located in the area. ... The commodity identification unit 130 narrows down the reference data of the commodity used in the matching process with 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 regarding classification errors, "The classification error candidate extraction unit 150 may be configured to identify a candidate area based on the degree of certainty of the matching process by the commodity classification unit 130 (the likelihood of the commodity classification result. The degree of certainty of the matching process can be determined based on, for example, the magnitude of the score (similarity) obtained as a result of the matching process."
[0006] Japanese Patent Application Laid-Open No. 2021-96635
[0007] However, the image processing device of Patent Document 1 only determines whether image features obtained from the area detected by the object detection unit 110 match the reference data, and does not determine the accuracy of the detected 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 detected area differs from the actual area of the item, 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 the detected item area matches the actual item area and accurately identify items even when items are mixed on a pallet.
[0009] In order to solve the above problems, the object recognition device of the present invention is, for example, 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 that represents 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, is an object recognition method for recognizing an item area in an image captured by a camera, and includes the steps of acquiring the image, detecting an item area in the image and acquiring item position and orientation information, identifying the 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] Furthermore, the transport robot system of the present invention is, for example, a transport robot system comprising 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 within 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 or shape characteristics of the item area, a certainty calculation unit that compares the item types of adjacent item areas and calculates a certainty that represents 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.
[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.
[0013] 1 is a diagram illustrating a usage environment of a transport robot system according to Example 1. FIG. 1 is a hardware configuration diagram of an object recognition device according to Example 1. FIG. 2 is a functional block diagram of the object recognition device according to Example 1. FIG. 3 is a flowchart of processing executed by a calculation unit including a detection unit, an identification unit, and a certainty factor calculation unit according to Example 1. FIG. 4 is a diagram illustrating an example of a top view of an object having many flat surfaces on its top surface. FIG. 5 is a diagram illustrating an example of a top view of an object having many concaves and convexes on its top surface. FIG. 6 is a diagram illustrating an example of a top view of an object in which bottles are packaged. FIG. 7 is a diagram illustrating an example in which one object is detected as two object regions of the same object type. FIG. 8 is a diagram illustrating an example in which one object is detected as two object regions of different object types. FIG. 9 is a diagram illustrating an example in which one flat object is detected as two object regions. FIG. 10 is a diagram illustrating an example in which one uneven object is detected as two object regions. FIG. 11 is a diagram illustrating an example in which one bottle packaged object is detected as two object regions.
[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 accompanying drawings.
[0015] <Overview of the Transport Robot System> FIG. 1 is a diagram illustrating the environment in which the transport robot system is used. An object recognition device 1 is connected to a robot 2 and outputs operation commands to the robot 2. While FIG. 1 illustrates the object recognition device 1 connected to the robot 2 via a wired connection, this is not limiting and the connection may be wireless. The robot 2 has an articulated arm 21 and a hand 22. The robot 2 may be, for example, an articulated arm robot controlled by the object recognition device 1. The camera 3 is, for example, a stereo camera that captures images synchronously using a left camera 3L and a right camera 3R, and transmits the captured stereo images (hereinafter abbreviated as "images") to the object recognition device 1. The items 4 are various items transported by the robot 2. Examples of the items 4 include plastic bottles, toilet paper, and cardboard boxes. The pallet 5 is a pallet on which the items 4 are placed. The robot 2 is installed in a location where it can grasp any item 4 on the pallet 5 with its hand 22 by moving its articulated arm 21. The camera 3 is installed in a location where it can capture an image of the entire top surface of the pallet 5. 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 diagram showing the hardware configuration of the object recognition device 1. The object recognition device 1 is a computer including 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] <Functional 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 item 4 placed on a pallet 5 captured from above by a camera 3; a detection unit 11a that detects an item region corresponding to the item 4 in the acquired image; an identification unit 11b that identifies the item type of the detected item region; a confidence factor calculation unit 11c that compares the item types of adjacent item regions and calculates a confidence factor representing the accuracy of the detection of the item region; and an output unit 15b that outputs an operation command to the robot 2 based on the position and orientation information of the item 4 and the confidence factor. An example of this operation command is a command to grasp an item in an item region with a high confidence factor. The detection unit 11a, the identification unit 11b, and the confidence factor calculation unit 11c function as a calculation unit, which 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 shown in FIG. 2.
[0018] <Outline of Flowchart of Processing in Calculation Unit> Figure 4 is a flowchart of processing executed by the calculation unit including the detection unit 11a, the identification unit 11b, and the certainty factor calculation unit 11c. The calculation unit executes steps S1 to S5 shown in Figure 4. Each step will be described in detail below.
[0019] <<Step S1>> In step S1, the detection unit 11a detects object regions corresponding to individual objects in the image and acquires object position and orientation information. There are various methods for the detection unit 11a to detect object regions. For example, one method is to acquire shape features or color features in the image. Specifically, a method may be used in which vertical unevenness information contained in the shape features is acquired from the image, and recessed portions are detected as object boundaries between objects, and an area containing many flat surfaces or an area with many recesses and projections is detected as an object region. Examples of unevenness information include the curvature of the top surface of an object. Examples of recessed portions include areas with large curvature. Alternatively, a method may be used that involves pattern matching between the image and known top-view shape features or top-view color features of the object. Note that an object region is an area in the image where an object exists. Note that an object boundary is a boundary between object regions.
[0020] <<Step S2>> In step S2, the recognition unit 11b recognizes the type of item in the item region by using the shape or color characteristics of the item region in the image.
[0021] Fig. 5A is a diagram showing an example of a top view of an item having many flat surfaces on its upper surface. Item 41 in Fig. 5A is an item having many flat surfaces on its upper surface and few vertical irregularities. Based on the shape characteristics of the item area in the image, the identification unit 11b identifies the item type of an item area having few irregularities and a flat upper surface, such as the item area corresponding to item 41, as a flat item. For example, the item type of an item area corresponding to a cardboard or box-shaped item is identified as a flat item.
[0022] FIG. 5B is a diagram showing an example of a top view of an item with many irregularities on its top surface. Item 42 in FIG. 5B is an item with many irregularities on its top surface, such as an item with a large curvature on its top surface or an item whose boundary is not linear. Based on the shape characteristics of the item region in the image, the identification unit 11b identifies the type of an item region with many irregularities on its top surface, such as the item region corresponding to item 42, as an irregular item. Even if the item is box-shaped, an item made up of multiple items wrapped together may have a large curvature on its top surface, and in that case, it is classified as an item with many irregularities. For example, the type of an item region corresponding to toilet paper or a bag is identified as an irregular item.
[0023] 5C is a diagram showing an example of a top view of an item packed with bottles. Item 43 in FIG. 5C is an item in which multiple bottles are wrapped together. For example, this may be a plastic beverage bottle. Based on the color characteristics of the item region in the image, the identification unit 11b identifies the item type as a bottle-packaged item for an item region in which equally spaced circular patterns corresponding to the cap portion 44 on the top of the bottle are arranged, such as the item region corresponding to item 43, based on the color characteristics of the item region. If an item exists 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 the adjacent item regions contain the same item as the same item possibility. Specifically, first, the certainty calculation unit 11c extracts pairs of adjacent item regions based on the item position and orientation information acquired by the detection unit 11a in step S1. Then, the certainty calculation unit 11c compares the item types of the adjacent item regions. If the combination of item types of adjacent item regions matches a predetermined combination as a combination of item types that is likely to contain the same item, the certainty calculation unit 11c calculates the same item possibility to be higher than a predetermined value. As will be described later, 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 a concave-convex item with a bottle-packaged item.
[0025] 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 the information on the circular patterns inside item region A1a and item region A1b.
[0026] When adjacent item regions have the same item type, such as item region A1a and item region A1b shown in Figure 6, there is a high possibility that the adjacent item regions 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 Figure 6, the certainty calculation unit 11c calculates the item identity probability to be 75%, for example, which is higher than the predetermined value of 50%.
[0027] Furthermore, 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, if the combination of different article types is a combination of a flat article and a textured article, there is a high possibility that adjacent article regions represent different articles, so the article 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 packaged item 45. The labeled bottle packaged item 45 is an item with an opaque label 46 near the center of the item 43 shown in FIG. 5 . Here, it is assumed that, as a result of performing step S1 on the labeled bottle packaged item 45, the detection unit 11a detects the opaque label 46 in the center as item region A2a and the surrounding bottles as item region A2b. Then, as a result of performing step S2 on item region A2a and item region A2b, the identification unit 11b identifies the item type of item region A2a as a flat item or a concave-convex item, and identifies item region A2b as a bottle packaged item.
[0030] 7, when the combination of different item types is a combination of either a flat item or a textured 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 expanded area A3 relative to the number of circular patterns in the item area A2a is calculated as a circle ratio, but the comparison is not limited to this.
[0031] If the circle ratio is large, that is, if the number of circular patterns in the expanded area A3 is greater than the number of circular patterns in the item area A2a, it is highly likely that bottle caps are placed 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, if the circle ratio is small, that is, if the number of circular patterns in enlarged area A3 is equal to or less than the number of circular patterns in item area A2a, there is a high possibility that item area A2a and item area A2b represent different items. Therefore, in this case, the certainty calculation unit 11c calculates the item identity probability for item area A2a and 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 based on the article types of the adjacent article regions as an article boundary presence possibility. Note that the optimal article boundary determination method for calculating the article boundary presence 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 types of the adjacent article regions 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 presence possibility. Below, an article boundary determination method based on the article type of the article region will be described using Figures 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 the item types of adjacent item areas, such as item areas A4a and A4b, are both planar items, the certainty calculation unit 11c determines whether a straight line exists between the adjacent item areas based on color features in the image, and determines whether a depression exists between the adjacent item areas based on shape features in the image.If the certainty calculation unit 11c determines that both a straight line and a depression exist between the adjacent item areas, it calculates the item boundary existence 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, which may be an item boundary, exists between item area A4a and item area A4b based on the color characteristics of item 41, such as the pattern on the item surface.
[0037] However, there is a possibility that the straight line L1 is a false article boundary existing inside the article 41. Therefore, based on shape features in the image such as curvature, it is determined whether a depression exists between the article regions A4a and A4b, and it is then determined whether 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, both a straight line and a vertical depression often exist between the article regions in the image.
[0038] 8, an item 41 is present 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 line L1 exists, but determines that no depression exists, and therefore calculates the item boundary existence possibility to be lower than the predetermined value. Note that the predetermined value used to calculate the item boundary existence possibility will be described as 50%, the same as the predetermined value used to calculate the item identity possibility, but it may also 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 uneven objects based on their shape characteristics in the image.
[0040] When the item types of adjacent item areas, such as item areas A5a and A5b, are both uneven items, the certainty calculation unit 11c determines whether a straight line exists between the adjacent item areas based on color features in the image, and determines whether a depression exists between the adjacent item areas 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 item areas, it calculates the item boundary existence probability for item area A4a and item area A4b to be higher than a predetermined value.
[0041] 9 , 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 could 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 could be an item boundary. In this case, because there is a high possibility that groove D is a false 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 areas based on the color features in the image and the process of determining whether or not a depression exists between adjacent item areas 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 bottle-packaged items based on their color characteristics in the image.
[0044] Since the cap portions 44 of multiple bottles are wrapped together in the product 43, the cap portions 44 within the same bottle package are arranged at equal intervals. On the other hand, when two products 43 are adjacent to each other, there is a gap between the products 43 and the thickness of the wrapping material, so the distance between the cap portions 44 of adjacent bottles included in different products 43 is greater than the distance between the cap portions 44 within the same product 43.
[0045] When both of the item types in adjacent item areas, such as item area A6a and item area A6b, are bottle-packaged 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 included 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 the line segment L2a connecting the circular centers of the cap portions 44 of the object area A6a and the object area A6b is defined as the outer-area cap distance, and the length of the line segment L2b connecting the circular centers of the cap portions 44 inside the object area A6b is defined as the inner-area cap distance. These are compared to determine whether an object boundary exists between the object area A6a and the object area A6b. Then, if the inner-area cap distance and the outer-area cap distance are the same, the certainty calculation unit 11c calculates the object boundary existence probability to be lower than a predetermined value. However, some deviation may be taken into account when determining whether the inner-area cap distance and the outer-area cap distance are the same. In FIG. 10 , the outer-area cap distance and the inner-area cap distance can be considered to be the same, so the object boundary existence probability for the object area A6a and the object area A6b is calculated to be lower than the predetermined value.
[0047] <<Step S5>> In step S5, the certainty calculation unit 11c calculates the certainty based on the item identity probability calculated in step S3 and the item boundary existence probability calculated in step S4. For example, the certainty is calculated based on the formula: certainty = 100% × (1 - (item identity probability)) × (item boundary existence probability). As described above, the item identity probability is the probability that adjacent item regions contain the same item, and when there is a high probability of item identity, there is a high possibility that a single item has been erroneously detected as a divided region. In this case, the detected item region is unlikely to match the actual item region, and therefore it is reasonable for the certainty to be low. Therefore, in the above formula, the item identity probability is used in the form of "1 - (item identity probability)." Calculating 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.
[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 description will focus on differences from the first embodiment.
[0050] <Optimization of Recognition Parameters> The recognition parameters determine the degree to which image features are extracted when the detection unit 11 a detects 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 recognition parameter is the threshold when the curvature is regarded as a plane.
[0051] FIG. 11 is a flowchart related to optimization of 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 to determine whether adjustment of the recognition parameters is necessary. If the confidence is greater than the threshold, 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, the confidence calculation unit 11c determines whether the number of times the recognition parameters have been adjusted is equal to or greater than a certain number. If the number of times the recognition parameters have been adjusted is equal to or greater than the certain number, it determines 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, the confidence calculation unit 11c proceeds to step S8, i.e., adjusts the recognition parameters. After adjusting the recognition parameters in step S8, steps S1 to S5 are executed again. Since adjusting the recognition parameters may change the result of object region detection, which may increase the confidence, S6 and S7 are executed again.
[0052] By adjusting the recognition parameters in this way, it is possible to adjust the detection accuracy of the article region.
[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 description will focus on differences from the first embodiment.
[0054] <Shifting Operation> The shifting operation is an operation of changing the arrangement of the item 4 on the pallet 5 to make it easier to detect the item area. The shifting operation is realized by the robot 2 grasping the edge of the item 4 based on a command from the object recognition device 1, and moving and arranging the item 4 a certain distance on the pallet 5.
[0055] Fig. 12A is a diagram showing an example of the item arrangement before a shifting operation is performed, and Fig. 12B is a diagram showing an example of the 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 together. In this example, groove D is recognized as the item boundary between item area A7a and item area A7b, but this is an erroneous 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 by an appropriate item boundary, such as item area A8a and item area A8b.
[0056] FIG. 13 is a flowchart relating to the shifting operation. Steps S1 to S5 are the same as those in FIG. 4. FIG. 13 also shows step S10. Step S10 is a step in which the camera 3 captures an image of the item 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 regular intervals, and the input unit 15a acquires the latest images in accordance with the image capture cycle of the camera 3, but this is not limiting. 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 less than a threshold value. If the confidence is equal to or less 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. Thereafter, in step S10, the input unit 15a reacquires an image of the pallet 5 after the shifting operation has been performed. Steps S1 to S5 are then performed using the reacquired image. Note that in step S1 after the shifting operation has been performed, the detection unit 11a desirably detects the object region based on the shape features in the image for the region whose position has been changed by the shifting operation. This is because the influence of the shifting operation is more likely to be apparent in the shape features in the image than in the color features.
[0058] Then, since the detection result of the object area may change due to the shifting operation, and the confidence level may increase, 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.
[0061] In this embodiment, an example will be described in which a transport robot system is provided with 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 this 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, which indicates the accuracy of the detection unit's detection of the item area. This allows the robot manager to take actions to improve the confidence level, such as shifting an item in an item area with a low confidence level.
[0064] REFERENCE SIGNS LIST 1 Object recognition device 11 Processor 11a Detection unit 11b Identification unit 11c Certainty calculation unit 12 Memory 12a Object recognition processing program 13 Input device 14 Output device 15 Communication interface 15a Input unit 15b Output unit 16 Bus 2 Robot 21 Articulated arm 22 Hand 3 Camera 3L Left camera 3R Right camera 4 Item 5 Pallet 41, 42, 43 Item 44 Bottle cap portion 45 Labeled bottle packaging item 46 Opaque label A1, A2, A4, A5, A6, A7, A8 Item area A3 Enlarged area L1 Straight line D Groove L2 Line segment
Claims
1. An object recognition device which recognizes an item region in an image captured by a camera, comprising: an input unit which acquires the image; a detection unit which detects an item region in the image and acquires position and orientation information of the item; an identification unit which identifies the item type of the item region using color or shape features of the item region; a certainty calculation unit which compares the item types of adjacent item regions and calculates a certainty indicating the accuracy of the detection of the item region; and an output unit which outputs an operation command to a robot based on the item position and orientation information and the certainty.
2. An object recognition device as described in claim 1, wherein the certainty calculation unit compares the item types of adjacent item regions and calculates the possibility that the adjacent item regions contain the same item as an item identity possibility, calculates the possibility that an item boundary exists between the adjacent item regions based on the item types of the adjacent item regions as an item boundary existence possibility, and calculates the certainty based on the item identity possibility and the item boundary existence possibility.
3. An object recognition device as described in claim 2, 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 combination that is predetermined as a combination of item types that is likely to include the same item.
4. An object recognition device as described in claim 3, wherein the certainty calculation unit calculates the item identity probability to be higher than a predetermined value when the item types of adjacent item regions are the same, and when the item types of adjacent item regions are different, calculates the item identity probability according to a combination of the different item types.
5. An object recognition device as described in claim 4, wherein the certainty calculation unit calculates the possibility of object identity to be lower than the predetermined value when the combination of different object types is a combination of a planar object containing many flat surfaces and a bumpy object containing many bumps and recesses; when the combination of different object types is a combination of either the planar object or the bumpy object with a bottle packaging object, enlarges the object area identified as the planar object or the bumpy object, and when the number of circular patterns in the enlarged object area is greater than the number of circular patterns in the object area before enlargement, calculates the possibility of object identity to be higher than the predetermined value; and when the number of circular patterns in the enlarged object area is equal to or less than the number of circular patterns in the object area before enlargement, calculates the possibility of object identity to be lower than the predetermined value.
6. An object recognition device as described in claim 2, wherein the certainty calculation unit, when all of the object types of the adjacent object regions are planar objects containing 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. An object recognition device as described in claim 2, wherein 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. An object recognition device as described in claim 2, wherein the certainty calculation unit, when both of the item types in the adjacent item regions are bottle packaging items, calculates an intra-area cap distance representing the distance between adjacent bottle cap portions within one of the adjacent item regions, and an extra-area cap distance representing the distance between adjacent bottle cap portions included in a different item region, 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 a predetermined value.
9. An object recognition device as described in claim 1, characterized in that, when the certainty factor is below a threshold, the certainty factor calculation unit adjusts recognition parameters that determine the degree to which the detection unit extracts features in the image to be used when detecting an object area in the image, and the detection unit detects an object area in the image using the adjusted recognition parameters.
10. An object recognition device as described in claim 1, wherein the certainty calculation unit generates a command for a shifting operation to change the position of the item when the certainty is lower than a threshold value, and the output unit outputs the command for the shifting operation to the robot.
11. An object recognition method for recognizing an item area in an image captured by a camera, comprising: a step of acquiring the image; a step of detecting an item area in the image and acquiring position and orientation information of the item; a step of identifying the item type of the item area using color or shape features of the item area; and a step of comparing the item types of adjacent item areas and calculating a confidence level representing the accuracy of the detection of the item area.
12. A transport robot system comprising an object recognition device, a robot, and a camera, wherein the object recognition device comprises: an input unit which acquires an image captured by the camera; a detection unit which detects an item area in the image and acquires position and orientation information of the item; an identification unit which identifies the item type of the item area using color or shape characteristics of the item area; a certainty calculation unit which compares the item types of adjacent item areas and calculates a certainty indicating the accuracy of detection of the item area; and an output unit which 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.
13. A transport robot system according to claim 12, further comprising a display unit for displaying said certainty.
Citation Information
Patent Citations
Location attitude identification device, location attitude identification method and location attitude identification program
JP2021018662A
Image processing apparatus, method, and image processing system
JP2023007599A
Robotic system with overlap processing mechanism and methods for operating the same
WO2023034533A1
Object recognition device, robot system, and object recognition method
WO2024057627A1
