JP2022129666A - Legume selection system and legume selection device - Google Patents

Legume selection system and legume selection device Download PDF

Info

Publication number
JP2022129666A
JP2022129666A JP2021028439A JP2021028439A JP2022129666A JP 2022129666 A JP2022129666 A JP 2022129666A JP 2021028439 A JP2021028439 A JP 2021028439A JP 2021028439 A JP2021028439 A JP 2021028439A JP 2022129666 A JP2022129666 A JP 2022129666A
Authority
JP
Japan
Prior art keywords
pod
image
pods
sorting
sorting system
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2021028439A
Other languages
Japanese (ja)
Inventor
藤 大 輔 伊
Daisuke Ito
橋 史 夫 高
Fumio Takahasi
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Gaoqiao Engineering Corp
Original Assignee
Gaoqiao Engineering Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Gaoqiao Engineering Corp filed Critical Gaoqiao Engineering Corp
Priority to JP2021028439A priority Critical patent/JP2022129666A/en
Publication of JP2022129666A publication Critical patent/JP2022129666A/en
Pending legal-status Critical Current

Links

Images

Abstract

To provide a legume selection system and a legume selection device that have higher selection accuracy for legumes by using an artificial intelligence (AI).SOLUTION: A legume selection system is for testing or selecting legumes with shells by analyzing an image of the legumes, and includes: image acquisition means for acquiring an image taken by imaging means; and image analysis means for analyzing the image acquired by the image acquisition means. The image analysis means includes: a legume image extraction means for extracting an image of each legume in the acquired image; and a contraction processing extraction unit for executing contraction processing of reducing an outline region of the images of the extracted legumes.SELECTED DRAWING: Figure 13

Description

本発明は、枝豆を始めとする莢果、特に莢が付いたままの莢果を選別する為の莢果選別システム及び莢果選別装置に関する。また人工知能(AI)を使用して莢付きの莢果を正確に選別できるようにした莢果選別システム及び莢果選別装置に関する。 TECHNICAL FIELD The present invention relates to a pod sorting system and a pod sorting apparatus for sorting out edamame and other pods, particularly pods with pods still attached. The present invention also relates to a pod sorting system and a pod sorting apparatus that can accurately sort pods with pods using artificial intelligence (AI).

莢果は、マメ科植物の多くに見られる果実であり、インゲン、エンドウ、ネムノキ、ダイズ、ハナズオウ、ルピナス、クローバー、カラスノエンドウなどが含まれる。これら莢果は莢が付いた状態で収穫されることも多く、未成熟な大豆を収穫した枝豆においては、莢が付いた状態で食卓に提供されることも多い。そして当該莢果は、市場に流通させる際には、その品質や等級を管理する為に選別が行われており、莢付き莢果の選別を自動化するべく、カメラを利用して、枝豆を始めとする莢付きの莢果を選別する技術も幾つか提案されている。 Capsule is a fruit found in many leguminous plants, and includes kidney beans, peas, silk trees, soybeans, red buds, lupines, clovers, vetch peas, and the like. These pods are often harvested with the pods attached, and green soybeans harvested from immature soybeans are often served with the pods attached. When the pods are distributed to the market, they are sorted in order to manage their quality and grade. Several techniques for selecting pods with pods have also been proposed.

かかる莢果選別システム及び莢果選別装置について、本願出願人は特許文献1(国際公開第2016/133175号公報)を提案している。この文献では、莢内の種子を観察するに際して、透過光による撮影の必要性を無くし、反射光を撮影する事により、莢内における種子の収容状態(特に粒数や大きさ)を検査でき、望ましくは撮影画像から算出した植生指数の値により莢果を検査又は選別するようにした莢果選別システム及び莢果選別装置を実現している。 The applicant of the present application has proposed Patent Document 1 (International Publication No. 2016/133175) regarding such a pod sorting system and a pod sorting apparatus. In this document, when observing the seeds inside the pods, it is possible to inspect the condition of the seeds inside the pods (particularly the number and size of the grains) by eliminating the need for photographing with transmitted light and photographing the seeds with reflected light. Desirably, a pod sorting system and a pod sorting apparatus are realized in which the pods are inspected or sorted based on the value of the vegetation index calculated from the photographed image.

かかる莢果選別システムは、莢付きの莢果を撮影した画像を解析する事で、当該莢果を検査又は選別するものであり、撮影手段が撮影した画像を取得する画像取得手段と、画像取得手段が取得した画像を解析する画像解析手段とを備えており、前記画像解析手段は、撮影画像に基づいて個々の莢果の長さと、個々の莢果の幅を計測するサイズ検査と、計測した莢果の長さに基づいて、莢の中に収容されている種子の数を算出する粒数検査とを実行するか、又はこれに代えて当該植生指数の値により莢果を検査又は選別する莢果選別システムとする。かかる文献では莢内における種子の収容状態(特に粒数や大きさ)、黒点や変色、或いは割れやヒゲの有無等の不良を検査することを可能としている。 Such a pod sorting system inspects or sorts the pods by analyzing an image photographed of the pods with pods. and image analysis means for analyzing the captured image, and the image analysis means includes a size inspection for measuring the length of each capsule and the width of each capsule based on the photographed image, and the length of the measured capsule. or, alternatively, a pod sorting system that inspects or sorts pods according to the value of the vegetation index. In this document, it is possible to inspect the condition of the seeds in the pods (especially the number and size of the grains) and the defects such as black spots, discoloration, cracks and whiskers.

また莢果の品質を判定する莢果判定構造については、特許文献2(特開2008-20347号公報)が提案されている。この文献では、莢に豆が収容された莢果を透過した透過光によって莢果の画像を撮像する撮像手段を備え、撮影した画像に基づいて、莢への豆の収容状態、莢果の損傷状態、莢果の大きさ、莢果の長手方向端部の裂け状態、莢果の形状等を判定する莢果判定構造が提案されている。 Moreover, Patent Document 2 (Japanese Unexamined Patent Application Publication No. 2008-20347) proposes a structure for judging the quality of a pod. In this document, an imaging means is provided for capturing an image of a pod with transmitted light transmitted through the pod containing beans in the pod. There have been proposed structures for judging the size of a pod, the state of tearing at the ends of the pod in the longitudinal direction, the shape of the pod, and the like.

国際公開第2016/133175号公報International Publication No. 2016/133175 特開2008-20347号公報Japanese Unexamined Patent Application Publication No. 2008-20347

従前においてもカメラを利用して、莢付きの莢果を選別する技術は、種々提案されている。しかし従来提案されている莢果選別装置では、良品または不良品の判定精度において未だ改善の余地を有するものであった。そこで本発明は、人工知能(AI)等を使用する事により、莢果の選別精度を高めた莢果選別システム及び莢果選別装置を提供することを第1の課題とする。 Various techniques for selecting pods with pods using a camera have been proposed so far. However, conventionally proposed pod sorting apparatuses still have room for improvement in terms of accuracy in judging non-defective products or defective products. Therefore, the first object of the present invention is to provide a pod sorting system and a pod sorting apparatus that improve the sorting accuracy of pods by using artificial intelligence (AI) or the like.

また、従前における莢果選別装置においても、黒点や変色を判定することは可能であったが、画像認識の特性上、莢果の輪郭領域の影響により、黒点または変色を画像検査によって正確に判定するのは困難であった。そこで本発明では、莢果の輪郭以外の領域に存在する黒点または変色を正確に判定する事のできる莢果選別システム及び莢果選別装置を提供することを、前記課題とは別の課題とする。 In addition, although it was possible to determine black spots and discoloration in the conventional pod sorting device, due to the characteristics of image recognition, it is difficult to accurately determine black spots or discoloration by image inspection due to the influence of the contour area of the pod. was difficult. Therefore, another object of the present invention is to provide a pod sorting system and a pod sorting apparatus that can accurately determine black spots or discoloration existing in areas other than the outline of the pod.

また、従前における莢果選別装置においても、莢内に存在する豆の粒数を判定することは行われているが、天然の莢果を対象とする関係上、外観検査においてその精度を高めるのは困難であった。そこで本発明では、様々な形状である莢果において、これを外観から莢内の粒数を正確に判定できる莢果選別システム及び莢果選別装置を提供することを、前記課題とは別の課題とする。 In addition, although the number of bean grains present in the pods is determined in the conventional pod sorting device, it is difficult to improve the accuracy of the appearance inspection because it targets natural pods. Met. Therefore, another object of the present invention is to provide a pod sorting system and a pod sorting apparatus that can accurately determine the number of grains in a pod from the appearance of pods of various shapes.

また従前において提供されている莢果選別装置においては、莢果の良品と不良品の選別を行う事は可能であるが、当該選別時の判定基準を後から確認することはできなかった。そこで本発明は、過去の判定結果について後から検証し、判定基準の妥当性やその後における判定基準の修正を行うことができるようにした莢果選別システム及び莢果選別装置を提供することを、前記課題とは別の課題とする。 In addition, although it is possible to sort good pods from defective pods in the previously provided pod sorting apparatus, it was not possible to check the judgment criteria at the time of the sorting afterwards. Therefore, the present invention provides a pod sorting system and a pod sorting apparatus that can verify the past judgment results later, and make it possible to perform the validity of the judgment criteria and the correction of the judgment criteria after that. is a different issue.

また従来提供されている莢果選別装置では、莢果の画像を撮像する撮像手段としてCCD素子やCMOS素子などのイメージセンサを用いたカメラが使用されている所、カメラの特性上、中心から離れた領域の画像に歪みが生じることになる。かかる歪みは莢果の大きさ等を判定する際の誤差を生じさせてしまうことから、正確な莢果選別の障害となる。そこで本発明は、特に検査対象が莢果である事を考慮した上で、撮影画像の歪みを解消し、莢果の選別精度を高めた莢果選別システム及び莢果選別装置を提供することを、前記課題とは別の課題とする。 In addition, in the conventionally provided pod sorting apparatus, a camera using an image sensor such as a CCD element or a CMOS element is used as an imaging means for picking up an image of the pod. image will be distorted. Such distortion causes an error in judging the size of the pods, etc., and is an obstacle to accurate pod selection. Therefore, it is an object of the present invention to provide a pod sorting system and a pod sorting apparatus that eliminates the distortion of the photographed image and enhances the sorting accuracy of the pods, especially considering that the inspection object is the pod. is another subject.

また撮像手段としてエリアセンサを使用した場合には、検査対象である莢果の移動により、同じ検査対象物を複数回判定する事も考えられる。そして同じ検査対象物を複数回判定・選別した場合には、収穫した莢果の良品割合または不良品割合の信憑性が低下することになる。そこで本発明は、選別した莢果の良品割合または不良品割合について正確な値を算出できるようにした莢果選別システム及び莢果選別装置を提供することを、前記課題とは別の課題とする。 Also, when an area sensor is used as the imaging means, it is conceivable to determine the same object to be inspected a plurality of times by moving the pod, which is the object to be inspected. If the same object to be inspected is judged and sorted multiple times, the credibility of the ratio of non-defective products or the ratio of defective pods of the harvested pods will decrease. Therefore, another object of the present invention is to provide a pod sorting system and a pod sorting apparatus capable of calculating an accurate value for the ratio of good products or defective products of the sorted pods.

また従前における莢果選別装置においても、莢果の形状に基づいて欠け等を判定することは行われていたが、様々な形状となる莢果について、欠けの有無を正確に判定するのは困難であった。そこで本発明は莢果ならではの形状の特質性を考慮して、欠けの有無を正確に判定することのできる莢果選別システム及び莢果選別装置を提供することを、前記課題とは別の課題とする。 In addition, even in the conventional fruit sorting device, chipping etc. were determined based on the shape of the fruit, but it was difficult to accurately determine the presence or absence of chipping in various shapes of the fruit. . Therefore, another object of the present invention is to provide a pod sorting system and a pod sorting apparatus that can accurately determine the presence or absence of chipping in consideration of the unique characteristics of the shape of the pods.

そして従来提供されている莢果選別装置は、設置に際して個別に判定基準を設定しなければならず、導入初期における設定作業が煩雑なものとなっていた。検査対象となる莢果は、収穫された地域や生育環境において大きく異なることから、統一した判定基準を設定する事ができない為であった。一方で、同じ利用者が複数台の莢果選別装置を使用する場合もあり、このような場合にまで、設置した莢果選別装置ごとに判定基準を設定するのは作業の無駄が生じる。そこで本発明では、判定対象となる莢果が近似したものである場合には、最初に設定した莢果選別装置の判定条件を他の莢果選別装置にも展開することができるようにした莢果選別システム及び莢果選別装置を提供することを、前記課題とは別の課題とする。 In the conventionally provided pod sorting apparatus, the judgment criteria must be set individually at the time of installation, and the setting work at the initial stage of introduction is complicated. This is because the pods to be inspected differ greatly depending on the region where they were harvested and the environment in which they were grown, so it was not possible to establish a unified judgment standard. On the other hand, the same user may use a plurality of pod sorting apparatuses, and even in such a case, it is a waste of work to set the criteria for each installed pod sorting apparatus. Therefore, in the present invention, when the pods to be judged are similar, the pod sorting system and the Another object is to provide a pod sorting device.

上記課題を解決する為、本発明者は先に提案した莢果選別システム及び莢果選別装置について、更に改良を重ね、判定基準や条件を見直して、良品または不良品の判定制度を高めるか、または導入時における設定作業を容易にした莢果選別システム及び莢果選別装置を提供する。そして当該判定基準の選定に際しては、望ましくは人工知能(AI)も使用できるようにした莢果選別システム及び莢果選別装置を提供する。 In order to solve the above problems, the present inventor has further improved the previously proposed pod sorting system and pod sorting apparatus, reviewed the criteria and conditions, and enhanced or introduced a system for judging good or defective products. To provide a pod sorting system and a pod sorting device that facilitate setting work at times. Then, a pod sorting system and a pod sorting apparatus are provided that are preferably capable of using artificial intelligence (AI) when selecting the criterion.

即ち本発明では、莢果における黒点の有無を確実に判定する為の莢果選別システム及び莢果選別装置を提供する。具体的には、莢付きの莢果を撮影した画像を解析する事で、当該莢果を検査又は選別する為の莢果選別システムであって、撮影手段が撮影した画像を取得する画像取得手段と、画像取得手段が取得した画像を解析する画像解析手段とを備えており、前記画像解析手段は、取得した画像における個々の莢果の画像を抽出する莢果画像抽出部と、抽出した個々の莢果の画像の輪郭領域を減じる収縮処理を実行する収縮処理実行部とを備えることを特徴とする莢果選別システムと、当該莢果選別システムを用いた莢果選別装置を提供する。 That is, the present invention provides a pod sorting system and a pod sorting apparatus for reliably determining the presence or absence of black spots in a pod. Specifically, a pod sorting system for inspecting or sorting the pods by analyzing an image of the pods with pods photographed, comprising an image acquiring means for acquiring an image photographed by a photographing means; An image analysis means for analyzing the image acquired by the acquisition means is provided, and the image analysis means includes a capsule image extraction unit for extracting an image of each capsule in the acquired image, and an image of each extracted capsule. Provided are a pod sorting system characterized by comprising a contraction processing execution unit that executes contraction processing for reducing contour areas, and a pod sorting device using the said seed fruit sorting system.

また本発明では、莢果、特に枝豆の特性を考慮した上で、莢の長さの計測基準を設定することで、1粒の莢果を正確に判定する事のできる莢果選別システム及び莢果選別装置を提供する。具体的には、莢付きの莢果を撮影した画像を解析する事で、当該莢果を検査又は選別する為の莢果選別システムであって、撮影手段が撮影した画像を取得する画像取得手段と、画像取得手段が取得した画像を解析する画像解析手段とを備えており、前記画像解析手段は、取得した画像における個々の莢果の画像を抽出する莢果画像抽出部と、抽出した個々の莢果の画像から莢の長さを算出する莢長算出部を備え、当該莢長算出部は、抽出した個々の莢果の画像から算出した莢の幅からなる莢幅が所定の値となる領域についての莢の長さを算出することを特徴とする莢果選別システムと、当該莢果選別システムを用いた莢果選別装置を提供する。 In addition, in the present invention, a pod sorting system and a pod sorting apparatus that can accurately determine a single pod by setting a pod length measurement standard in consideration of the characteristics of pods, especially green soybeans. offer. Specifically, a pod sorting system for inspecting or sorting the pods by analyzing an image of the pods with pods photographed, comprising an image acquiring means for acquiring an image photographed by a photographing means; and an image analysis means for analyzing the image acquired by the acquisition means. A pod length calculation unit for calculating the length of the pod is provided, and the pod length calculation unit calculates the length of the pod in the region where the pod width is a predetermined value, which is the width of the pod calculated from the image of each extracted pod. Provided are a pod sorting system characterized by calculating the thickness of the pods, and a pod sorting apparatus using the said pod sorting system.

また本発明では、莢果の判定に際して使用した計測データをログ情報として保持することで、計測基準等を見直すことのできる莢果選別システム及び莢果選別装置を提供する。具体的には、莢付きの莢果を撮影した画像を解析する事で、当該莢果を検査又は選別する為の莢果選別システムであって、撮影手段が撮影した画像を取得する画像取得手段と、画像取得手段が取得した画像を解析する画像解析手段とを備えており、更に画像解析手段における解析結果をログ情報として保持するログ情報保持部を備えることを特徴とする莢果選別システムと、当該莢果選別システムを用いた莢果選別装置を提供する。特に当該ログ情報を利用する事により、学習済モデルとして人工知能装置を構築することができ、当該人工知能装置を使用する事により、より的確な判定強権を設定することができる。また当該ログ情報はインターネットを介して外部の端末から閲覧可能とすることにより、現在の検査状況を離れた場所からリアルタイムで監視することができる。 In addition, the present invention provides a pod sorting system and a pod sorting apparatus that can review the measurement criteria and the like by storing the measurement data used for judging the pods as log information. Specifically, a pod sorting system for inspecting or sorting the pods by analyzing an image of the pods with pods photographed, comprising an image acquiring means for acquiring an image photographed by a photographing means; An image analysis means for analyzing an image acquired by the acquisition means, and a log information holding unit for holding the analysis result of the image analysis means as log information; A pod sorting device using the system is provided. In particular, by using the log information, an artificial intelligence device can be constructed as a learned model, and by using the artificial intelligence device, more accurate judgment authority can be set. In addition, by enabling the log information to be viewed from an external terminal via the Internet, the current inspection status can be monitored in real time from a remote location.

また本発明では、莢果の解析結果と解析対象の画像とを検証することにより、莢果の判定精度を高めるようにした莢果選別システム及び莢果選別装置を提供する。具体的には、莢付きの莢果を撮影した画像を解析する事で、当該莢果を検査又は選別する為の莢果選別システムであって、撮影手段が撮影した画像を取得する画像取得手段と、画像取得手段が取得した画像を解析する画像解析手段とを備えており、更に画像解析手段が解析に使用した画像を保持する画像保持部を備えることを特徴とする莢果選別システムと、当該莢果選別システムを用いた莢果選別装置を提供する。 In addition, the present invention provides a pod sorting system and a pod sorting apparatus that increase the accuracy of judging the pods by verifying the analysis result of the pods and the image to be analyzed. Specifically, a pod sorting system for inspecting or sorting the pods by analyzing an image of the pods with pods photographed, comprising an image acquiring means for acquiring an image photographed by a photographing means; A pod sorting system characterized by comprising an image analysis means for analyzing an image acquired by the acquisition means, and further comprising an image holding section for holding an image used for analysis by the image analysis means, and the pod sorting system. To provide a pod sorting device using

また本発明では、選別対象となる莢果を撮影するカメラに起因する誤判定の問題を解消することのできる莢果選別システム及び莢果選別装置を提供する。具体的には、莢付きの莢果を撮影した画像を解析する事で、当該莢果を検査又は選別する為の莢果選別システムであって、撮影手段が撮影した画像を取得する画像取得手段と、画像取得手段が取得した画像を解析する画像解析手段とを備えており、画像解析手段は、画像取得手段が取得した画像について歪み補正を行う歪み補正部を備えることを特徴とする莢果選別システムと、当該莢果選別システムを用いた莢果選別装置を提供する。 In addition, the present invention provides a pod sorting system and a pod sorting apparatus that can solve the problem of misjudgment caused by a camera that photographs the pods to be sorted. Specifically, a pod sorting system for inspecting or sorting the pods by analyzing an image of the pods with pods photographed, comprising an image acquiring means for acquiring an image photographed by a photographing means; an image analysis means for analyzing an image acquired by the acquisition means, wherein the image analysis means comprises a distortion correction unit for performing distortion correction on the image acquired by the image acquisition means; and A pod sorting device using the pod sorting system is provided.

また本発明では、同じ莢果を複数回判別することに起因する良品割合または不良品割合の信憑性の低下を阻止することのできる莢果選別システム及び莢果選別装置を提供する。具体的には、莢付きの莢果を撮影した画像を解析する事で、当該莢果を検査又は選別する為の莢果選別システムであって、撮影手段が撮影した画像を取得する画像取得手段と、画像取得手段が取得した画像を解析する画像解析手段とを備えており、画像解析手段は、画像取得手段が取得した画像についての移動位置を算出し、当該移動位置に存在する莢付きの莢果を撮影した画像について解析対象から除外することを特徴とする莢果選別システムと、当該莢果選別システムを用いた莢果選別装置を提供する。 In addition, the present invention provides a pod sorting system and a pod sorting apparatus that can prevent the deterioration of the credibility of the ratio of non-defective products or the ratio of defective products caused by discriminating the same pods multiple times. Specifically, a pod sorting system for inspecting or sorting the pods by analyzing an image of the pods with pods photographed, comprising an image acquiring means for acquiring an image photographed by a photographing means; and image analysis means for analyzing the image acquired by the acquisition means, wherein the image analysis means calculates the movement position of the image acquired by the image acquisition means, and photographs the pods with pods present at the movement position. Provided are a pod sorting system characterized by excluding the image obtained from analysis, and a pod sorting apparatus using the said pod sorting system.

また本発明では、複数の莢果選別システム又は莢果選別装置を設置する際に、初期設定、即ち判定基準や各種機器(カメラや照明などを含む)の調整などの作業を容易に行う事のできる莢果選別システム及び莢果選別装置を提供する。具体的には、莢付きの莢果を撮影した画像を解析する事で、当該莢果を検査又は選別する為の莢果選別システムであって、撮影手段が撮影した画像を取得する画像取得手段と、画像取得手段が取得した画像を解析する画像解析手段とを備えており、画像解析手段は、他の莢果選別システムから取得した解析情報設定情報に基づいて解析基準を設定することを特徴とする莢果選別システムと、当該莢果選別システムを用いた莢果選別装置を提供する。 In addition, in the present invention, when installing a plurality of pod sorting systems or pod sorting devices, initial settings, that is, operations such as adjustment of criteria and various devices (including cameras and lighting) can be easily performed. Kind Code: A1 A sorting system and a pod sorting device are provided. Specifically, a pod sorting system for inspecting or sorting the pods by analyzing an image of the pods with pods photographed, comprising an image acquiring means for acquiring an image photographed by a photographing means; and an image analysis means for analyzing the image acquired by the acquisition means, wherein the image analysis means sets analysis criteria based on analysis information setting information acquired from another plant selection system. A system and a pod sorting device using the pod sorting system are provided.

そして本発明では、莢果における欠け、特に枝豆における欠けの有無を正確に判定する事のできる莢果選別システム及び莢果選別装置を提供する。具体的には、莢付きの莢果を撮影した画像を解析する事で、当該莢果を検査又は選別する為の莢果選別システムであって、撮影手段が撮影した画像を取得する画像取得手段と、画像取得手段が取得した画像を解析する画像解析手段とを備えており、画像解析手段は、取得した画像における個々の莢果の画像を抽出する莢果画像抽出部と、抽出した個々の莢果の画像を複数当分に分割すると共に、長さ方向の基端と先端における面積比を算出して、莢果における欠けの有無を判定することを特徴とする莢果選別システムと、当該莢果選別システムを用いた莢果選別装置を提供する。 Further, the present invention provides a pod sorting system and a pod sorting apparatus capable of accurately determining the presence or absence of defects in pods, particularly edamame. Specifically, a pod sorting system for inspecting or sorting the pods by analyzing an image of the pods with pods photographed, comprising an image acquiring means for acquiring an image photographed by a photographing means; An image analysis means for analyzing the image acquired by the acquisition means is provided, and the image analysis means includes a capsule image extraction unit for extracting an image of each individual capsule in the acquired image, and a plurality of extracted images of each individual capsule. A pod sorting system characterized by dividing the pods for a while and calculating the area ratio between the base end and the tip in the length direction to determine the presence or absence of chipping in the pods, and a pod sorting device using the said pod sorting system. I will provide a.

上記本発明にかかる莢果選別システムは、コンピュータを用いて形成する事ができる。具体的にはコンピュータソフトウエアによって、処理内容と処理手順が制御されたコンピュータとして具体化する事ができる。そして、前記画像解析手段は、コンピュータソフトウエアが実行されることによって処理を行うCPUやメモリーによって構成する事ができる。 The pod sorting system according to the present invention can be formed using a computer. Specifically, it can be embodied as a computer in which processing contents and processing procedures are controlled by computer software. The image analysis means can be composed of a CPU and a memory that perform processing by executing computer software.

また、当該莢果選別システムは、莢果を搬送する為のベルトコンベアや振動フィーダー等の搬送手段と、搬送している莢果を撮影するデジタルカメラやデジタルビデオカメラなどの撮影手段とを備えて構成され、更に判定結果において基準に適合しないものを取り除くための除去手段を伴うことができる。 In addition, the pod sorting system includes transport means such as a belt conveyor and a vibration feeder for transporting the pods, and photographing means such as a digital camera and a digital video camera for photographing the transported pods. Furthermore, it can be accompanied by a removing means for removing the judgment results that do not meet the criteria.

また上記のように構成した莢果選別システムを、莢果の搬送手段などと組み合わせる事で、連続的に莢果を選別することのできる莢果選別装置とすることができる。即ち、検査対象物を搬送する搬送手段と、当該搬送手段で搬送される検査対象物を撮影する撮影手段と、当該撮影手段が撮影した画像を取得すると共に、当該画像を解析する莢果選別手段とを具備しており、当該莢果選別手段として、上記莢果選別システムを使用した莢果選別装置を提供する。 In addition, by combining the pod sorting system configured as described above with a pod conveying means or the like, a pod sorting apparatus capable of continuously sorting pods can be obtained. That is, transporting means for transporting the inspection object, imaging means for photographing the inspection object transported by the transporting means, and capturing the image taken by the imaging means, and the pod sorting means for analyzing the image. and provides a pod sorting device using the pod sorting system as the pod sorting means.

かかる莢果選別装置によれば、検査対象である莢果を、搬送手段によって連続的に搬送し、これを撮影手段で撮影して、本発明にかかる莢果選別システムによって解析する事で、規格外の莢果を見つけ出し、必要に応じて排除する事ができる。 According to this pod sorting apparatus, the pods to be inspected are continuously transported by the transport means, photographed by the photographing means, and analyzed by the pod sorting system according to the present invention to detect non-standard pods. can be found and removed if necessary.

また、上記本発明にかかる莢果選別装置では、更に、搬送手段で搬送される検査対象物の内、莢果選別手段において指定された検査対象物に対してエアーを吹き付け、規格外となった検査対象をエアーで吹き飛ばす排出手段を具備する事が望ましい。その際、前記莢果選別手段における画像解析手段は、撮影画像から個々の莢果の長さと、個々の莢果の幅を計測するサイズ検査の結果から、長さと幅の中心を特定する事ができる。そこで当該排出手段は、莢果選別手段において指定された検査対象物の長さと幅の中心に向かってエアーを吹き付けるように構成するのが望ましい。当該中心にエアーを吹き付けられた莢果(規格外の莢果)は確実に抜き出され、これにより大量の選別が必要な場合であっても、精確且つ確実に、収穫した莢果の検査・選別を行う事ができる。 In addition, in the capsule sorting apparatus according to the present invention, among the inspection objects conveyed by the conveying means, air is blown to the inspection object specified by the capsule sorting means, and the inspection object that is out of the standard It is desirable to have a discharge means for blowing off with air. At that time, the image analysis means in the said capsule sorting means can specify the centers of the length and width from the result of the size inspection for measuring the length and width of each individual capsule from the photographed image. Therefore, it is desirable that the discharging means is configured to blow air toward the center of the length and width of the object to be inspected designated by the pod sorting means. The pods (non-standard pods) that have been blown with air to the center are reliably extracted, and even if a large amount of sorting is required, the harvested pods are inspected and sorted accurately and reliably. can do things

上記本発明の枝豆選別システムと此れを用いた莢果選別装置は、画像取得手段が取得した画像を解析する画像解析手段が、取得した画像における個々の莢果の画像を抽出する莢果画像抽出部と、抽出した個々の莢果の画像の輪郭領域を減じる収縮処理を実行する収縮処理実行部とを備える場合には、莢果の輪郭領域の影響を受けることなく、莢果の輪郭以外の領域に存在する黒点または変色を正確に判定する事のできる莢果選別システム及び莢果選別装置を提供することができる。 In the edamame sorting system of the present invention and the pod sorting apparatus using the same, the image analysis means for analyzing the image acquired by the image acquisition means includes a pod image extraction unit for extracting the image of each pod in the acquired image. and an erosion processing execution unit that executes erosion processing for reducing the outline area of the extracted individual pod images, the black dots present in areas other than the pod outline areas are removed without being affected by the pod outline areas. Alternatively, it is possible to provide a pod sorting system and a pod sorting apparatus capable of accurately determining discoloration.

また、画像取得手段が取得した画像を解析する画像解析手段が、取得した画像における個々の莢果の画像を抽出する莢果画像抽出部と、抽出した個々の莢果の画像から莢の長さを算出する莢長算出部を備えており、当該莢長算出部は、抽出した個々の莢果の画像から算出した莢の幅からなる莢幅が所定の値となる領域についての莢の長さを算出する場合には、特に枝豆にあっては、莢長が同じであっても莢内の粒数の違いを明確に判定する事のできる莢果選別システム及び莢果選別装置を提供することができる。 Further, the image analysis means for analyzing the image acquired by the image acquisition means includes a pod image extraction section for extracting an image of each pod in the acquired image, and calculating the length of the pod from the extracted individual pod images. A pod length calculation unit is provided, and the pod length calculation unit calculates the length of the pod in the region where the pod width is a predetermined value, which is the width of the pod calculated from the image of each extracted pod. Especially for green soybeans, it is possible to provide a pod sorting system and a pod sorting apparatus that can clearly determine the difference in the number of grains in a pod even if the pod length is the same.

また、前記画像解析手段における解析結果をログ情報として保持するログ情報保持部を備える場合には、選別対象物の良品率(規格品)や不良品率(規格外品)、或いは不良品と判断された原因などを詳細に確認することができる果選別システム及び莢果選別装置を提供することができる。また撮影手段が撮影した画像を取得する画像取得手段と、画像取得手段が取得した画像を解析する画像解析手段とを備えており、画像解析手段が解析に使用した画像を保持する画像保持部を備える場合には、選別時の判定基準を後から検証し、判定基準の妥当性やその後における判定基準の修正を行うことができるようにした莢果選別システム及び莢果選別装置を提供することができる。 In addition, when a log information holding unit is provided to hold the analysis results of the image analysis means as log information, the rate of non-defective products (standard products), defective product ratio (non-standard products), or defective products of the sorting object is determined. It is possible to provide a fruit sorting system and a pod sorting device that can confirm in detail the cause of the problem. and an image acquisition means for acquiring an image photographed by the photographing means, and an image analysis means for analyzing the image acquired by the image acquisition means. When provided, it is possible to provide a pod sorting system and a pod sorting apparatus that can verify the judgment criteria at the time of sorting later, and make it possible to correct the validity of the judgment criteria and then correct the judgment criteria.

また、前記画像解析手段が、画像取得手段が取得した画像について歪み補正を行う歪み補正部を備える場合には、カメラの特性に起因する中心から離れた領域の画像の歪みを解消して、莢果の選別精度を高めた莢果選別システム及び莢果選別装置を提供することができる。 Further, when the image analysis means includes a distortion correction section that corrects distortion of the image acquired by the image acquisition means, the distortion of the image in the area away from the center due to the characteristics of the camera is eliminated, It is possible to provide a pod sorting system and a pod sorting device with improved sorting accuracy.

また前記画像解析手段が、画像取得手段が取得した画像についての移動位置を算出し、当該移動位置に存在する莢付きの莢果を撮影した画像について解析対象から除外する場合には、同じ検査対象物を複数回判定・選別する事を無くして、選別した莢果の良品割合または不良品割合について正確な値を算出できるようにした莢果選別システム及び莢果選別装置を提供することができる。 In addition, when the image analysis means calculates the movement position for the image acquired by the image acquisition means and excludes the image of the pod with the pod present at the movement position from the analysis target, the same inspection object It is possible to provide a pod sorting system and a pod sorting device capable of calculating an accurate value for the ratio of good products or the ratio of defective products of the sorted pods by eliminating the need to judge and sort the above multiple times.

また、前記画像解析手段が、取得した画像における個々の莢果の画像を抽出する莢果画像抽出部と、抽出した個々の莢果の画像を複数等分に分割すると共に、長さ方向の基端と先端における面積比を算出して、莢果における欠けの有無を判定する場合には、莢果、特に枝豆ならではの形状の特質性を考慮して、欠けの有無を正確に判定することのできる莢果選別システム及び莢果選別装置を提供することができる。 In addition, the image analysis means includes a capsule image extraction unit that extracts an image of each capsule in the acquired image, and divides each extracted image of each capsule into a plurality of equal parts, the base end and the tip in the length direction When calculating the area ratio in and determining the presence or absence of chipping in the capsule, a capsule sorting system that can accurately determine the presence or absence of chipping in consideration of the characteristics of the shape unique to the capsule, especially edamame, and A pod sorter can be provided.

そして、前記画像解析手段が、他の莢果選別システムから取得した解析情報設定情報に基づいて解析基準を設定する場合には、設置した莢果選別装置ごとに判定基準を設定するのは作業の無駄を解消し、判定対象となる莢果が近似したものである場合には、最初に設定した莢果選別装置の判定条件を他の莢果選別装置にも展開することができるようにした莢果選別システム及び莢果選別装置を提供することができる。 When the image analysis means sets the analysis criteria based on the analysis information setting information acquired from other seed seed sorting systems, setting the determination standards for each installed seed seed sorting device is a waste of work. A pod sorting system and a pod sorting system and a pod sorting system in which the determination conditions of the initially set pod sorting device can be expanded to other pod sorting devices when the pods to be judged are similar to each other. Equipment can be provided.

本実施の形態にかかる枝豆選別システムを用いて構成した枝豆選別装置を示す全体構成図FIG. 1 is an overall configuration diagram showing an edamame sorting apparatus configured using the edamame sorting system according to the present embodiment. ハードウエア構成を示すブロック図Block diagram showing hardware configuration 基本処理の内容を示すフローチャートFlowchart showing details of basic processing 基本処理の内容を示す処理内容図Processing content diagram showing the content of basic processing 粒数検査を行う処理内容を示すフローチャートFlowchart showing details of processing for grain count inspection 粒数検査を行う処理内容図Process content diagram for particle number inspection 粒数検査における莢長判定を行う処理内容図Diagram of process for judging pod length in grain number inspection 1粒検査の処理の内容を示すフローチャートFlowchart showing the details of the single-grain inspection process 欠け検査における処理内容を示すフローチャートFlowchart showing processing details in chipping inspection 欠け検査を行う処理内容図Processing details for chipping inspection 黒点検査を行う処理内容を示すフローチャートFlowchart showing details of processing for black spot inspection 黒点を示す正面図Front view showing sunspots 黒点検査における縮小処理を示す設定画面Setting screen showing reduction processing in black point inspection 検査ログを示す画面Screen showing inspection log 同じ枝豆の複数回検査を禁止する設定画面Setting screen for prohibiting multiple inspections of the same edamame 検査画像の保存設定画面Inspection image save setting screen カメラ補正設定画面Camera correction setting screen キャリブレーション設定画面Calibration setting screen

以下、図面を参照しながら本発明にかかる莢果選別システムの1つの実施の形態を具体的に説明する。特に本実施の形態では、莢果のうち、枝豆を選別する莢果選別システムについて、具体的に説明する。但し、本実施の形態に係る莢果選別システム及び莢果選別装置は、枝豆以外の莢果、例えば大豆、インゲンマメ、ヒヨコマメ、アズキ、ラッカセイなど莢果の選別にも使用することができる。また本実施の形態にかかる莢果選別システム及び莢果選別装置は、莢付きの莢果を検査する為のものであり、よって莢果とは莢付きの莢果を示している。 One embodiment of the pod sorting system according to the present invention will be specifically described below with reference to the drawings. In particular, in the present embodiment, a specific description will be given of a pod sorting system for sorting green soybeans out of pods. However, the pod sorting system and pod sorting apparatus according to the present embodiment can also be used to sort pods other than green soybeans, such as soybeans, kidney beans, chickpeas, adzuki beans, and peanuts. Moreover, the pod sorting system and the pod sorting apparatus according to the present embodiment are for inspecting the pods with pods, so the pods indicate the pods with pods.

図1は、本実施の形態にかかる莢果選別システム(以下では、「枝豆選別システム40」とする)を用いて構成した莢果選別装置(以下では、「枝豆選別装置」とする)を示す全体構成図である。この枝豆選別装置は、選別対象となる枝豆Wを収容すると共に、選別ラインに連続的に供給するホッパー部10と、ホッパー部10から供給された枝豆Wを搬送する第一搬送手段20と、この第一搬送手段20で搬送された枝豆Wを反転させて搬送する第二搬送手段30と、それぞれの搬送手段に設けられた撮影手段21,31と、撮影手段21,31が撮影した画像を解析する枝豆選別システム40と、各搬送手段に設けられて搬送速度又は搬送量を検知する搬送検出手段22,32と、各搬送手段の終端側における枝豆Wの落下部に設けた排出手段23,33とで構成している。 FIG. 1 shows the overall configuration of a pod sorting device (hereinafter referred to as “edamame sorting device”) configured using the pod sorting system (hereinafter referred to as “edamame sorting system 40”) according to the present embodiment. It is a diagram. This green soybean sorting apparatus includes a hopper section 10 that stores green soybeans W to be sorted and continuously supplies them to a sorting line, a first conveying means 20 that conveys the green soybeans W supplied from the hopper section 10, and the A second conveying means 30 for inverting and conveying green soybeans W conveyed by the first conveying means 20, photographing means 21 and 31 provided in each conveying means, and analysis of images photographed by the photographing means 21 and 31. edamame sorting system 40, conveyance detecting means 22, 32 provided in each conveying means for detecting the conveying speed or conveying amount, and discharge means 23, 33 provided at the drop portion of edamame W on the end side of each conveying means. It consists of

前記ホッパー部10は、選別対象となる枝豆W(莢果)を収容する空間部を備えている。またホッパー部10の内部に収容されている枝豆Wを、第一搬送手段20と第二搬送手段30とからなる搬送手段に供給する為の排出構造を伴っている。かかる排出構造は、当該ホッパー部10の底面に設けられたベルトコンベアー等であり、ホッパー部10内に収容している枝豆Wを前方に移動させる。但し、このホッパー部10は、内部に収容している枝豆Wを、検査を実施する搬送手段に送り出す事ができれば他の構成であって良い。 The hopper portion 10 has a space portion for accommodating edamame W (pods) to be sorted. It also has a discharge structure for supplying green soybeans W stored inside the hopper portion 10 to a conveying means consisting of a first conveying means 20 and a second conveying means 30 . Such a discharge structure is a belt conveyor or the like provided on the bottom surface of the hopper section 10, and moves the green soybeans W stored in the hopper section 10 forward. However, the hopper section 10 may have another configuration as long as the green soybeans W stored therein can be delivered to the conveying means for inspection.

ホッパー部10から排出された枝豆Wは、第一搬送手段20と第二搬送手段30とからなる搬送手段に供給される。その際、ホッパー部10から落下した枝豆Wが相互に重なる事が無いように、落下部分には、ホッパーから排出された枝豆Wを振動させながら搬送する振動手段(図示せず)を設けるのも望ましい。 The green soybeans W discharged from the hopper portion 10 are supplied to a conveying means consisting of a first conveying means 20 and a second conveying means 30 . At that time, in order to prevent the green soybeans W dropped from the hopper portion 10 from overlapping each other, a vibrating means (not shown) for vibrating and conveying the green soybeans W discharged from the hopper may be provided at the dropping portion. desirable.

前記第一搬送手段20及び第二搬送手段30は、それぞれベルトコンベアーや振動フィーダー等によって形成する事ができる。ホッパー部10から供給された枝豆Wは、最初に第一搬送手段20によって搬送される。この第一搬送手段20には、望ましくは搬送する枝豆Wの向きを一定方向に揃える為の整列部を伴う事ができる。かかる整列部は、例えば枝豆Wの搬送方向に長尺な整列板や線材(図示せず)を所定の間隔で配置して形成できる。搬送される枝豆Wは、この整列板に当たることにより、搬送方向に向かって縦向きになるように向きが修正される。 The first conveying means 20 and the second conveying means 30 can each be formed by a belt conveyor, a vibrating feeder, or the like. The green soybeans W supplied from the hopper section 10 are first transported by the first transport means 20 . The first conveying means 20 may desirably be provided with an aligning section for aligning the direction of the green soybeans W to be conveyed. Such an aligning portion can be formed by arranging elongated aligning plates or wires (not shown) at predetermined intervals in the direction in which the green soybeans W are transported, for example. The conveyed green soybeans W collide with the aligning plate so as to be oriented vertically in the conveying direction.

上記第一搬送手段20の上方には、第一搬送手段20によって搬送されている枝豆Wを撮影する為の撮影手段21が設けられている。この撮影手段21としては、カメラやビデオカメラを使用する事ができる。この撮影手段21は、搬送される枝豆Wを静止画又は動画で撮影し、その撮影画像を枝豆選別システム40に直接取り込んで解析できるように、撮影画像を電子データで取得することが望ましい。そして、この撮影手段21の撮影範囲に存在する枝豆Wを、安定的に照らす照明を設ける事も望ましい。枝豆Wを照らす光の明るさを一定にすることにより、撮影画像の輝度を安定させるためである。 Photographing means 21 for photographing green soybeans W being conveyed by the first conveying means 20 is provided above the first conveying means 20 . A camera or a video camera can be used as the photographing means 21 . It is preferable that the photographing means 21 photograph the transported edamame W as a still image or a moving image, and acquire the photographed image as electronic data so that the photographed image can be directly imported into the edamame sorting system 40 for analysis. It is also desirable to provide lighting for stably illuminating the green soybeans W present in the photographing range of the photographing means 21 . This is because the brightness of the photographed image is stabilized by making the brightness of the light illuminating the edamame W constant.

上記撮影手段21で撮影された画像は、コンピュータなどで構成されている枝豆選別システム40に送られる。枝豆選別システム40では、取得した撮影画像に基づいて、選別対象である枝豆Wを検査し、少なくとも枝豆Wの大きさや粒数、或いは欠けの有無、及び黒点の有無や変色の少なくとも何れかを検査し、規格から外れる枝豆Wを特定する。この枝豆選別システム40の構成や処理については、後述する。 The image photographed by the photographing means 21 is sent to an edamame sorting system 40 comprising a computer or the like. The green soybean sorting system 40 inspects the green soybeans W to be sorted based on the acquired photographed image, and inspects at least the size and the number of grains of the green soybeans W, the presence or absence of chipping, the presence or absence of black spots, or discoloration. Then, the green soybeans W that deviate from the standard are identified. The configuration and processing of this green soybean sorting system 40 will be described later.

第一搬送手段20には、その搬送速度や搬送距離を取得する為の搬送検出手段22を設けている。枝豆Wの搬送情報と撮影画像とを関連付けることにより、上記の枝豆選別システム40で選定した枝豆W(規格外の枝豆W)が、どの位置に搬送されているのかを特定する為である。搬送過程において、枝豆選別システム40で選定した規格外の枝豆Wを特定することで、当該規格外の枝豆Wを搬送ラインの外に排出する事もできる。かかる搬送検出手段22としては、ロータリーエンコーダやリニアエンコーダなどを使用する事ができる。 The first transport means 20 is provided with transport detection means 22 for acquiring the transport speed and transport distance. By associating the transportation information of the green soybeans W with the photographed image, it is possible to identify where the green soybeans W selected by the green soybean sorting system 40 (non-standard green soybeans W) are transported. By specifying the non-standard edamame W selected by the edamame sorting system 40 in the transportation process, the non-standard edamame W can be discharged out of the transportation line. A rotary encoder, a linear encoder, or the like can be used as the transport detection means 22 .

本実施の形態において、前記規格外の枝豆Wは、第一搬送手段20の終端から落下する際に排除される。即ち、第一搬送手段20の終端には、搬送している枝豆Wを第二搬送手段30に落下させる落下部が設けられており、当該落下部から落下する際、前記枝豆選別システム40で特定した枝豆W(規格外の枝豆W)を、排出手段23によって搬送ラインから排出する。かかる排出手段23は、特定した枝豆Wに対してエアーを吹き付けて、搬送ラインの外に吹き飛ばすように構成する他、特定した枝豆Wを取り出すことのできる各種構成で形成する事ができる。 In this embodiment, the non-standard green soybeans W are removed when they drop from the end of the first conveying means 20 . That is, at the end of the first conveying means 20, there is provided a drop section for dropping the edamame W being conveyed to the second conveying means 30. When dropping from the dropping section, the edamame sorting system 40 identifies The green soybeans W (non-standard green soybeans W) are discharged from the conveying line by the discharging means 23 . The discharging means 23 can be configured to blow air against the specified green soybeans W to blow them out of the conveying line, or can be formed in various configurations capable of taking out the specified green soybeans W.

以上により、第一搬送手段20によって搬送され、且つ枝豆選別システム40によって規格外と判定された枝豆Wは、排出手段23によって排出され、残った枝豆Wが第二搬送手段30によって搬送される。この第二搬送手段30で搬送する際、枝豆Wは、第一搬送手段20における搬送状態から反転させた状態で搬送するのが望ましい。したがって、第一搬送手段20の後、又は第二搬送手段30の始端側(第一搬送手段20側)には、搬送する枝豆Wを反転させる反転手段を設けるのが望ましい。かかる反転手段は、例えば搬送する枝豆Wを落下させる時の落差を利用して反転させる他、搬送される莢果の何れかの面にベルトやローラーによる回転力を作用させて反転することもできる。また第二搬送手段30を第一搬送手段20とは逆向きに搬送させることにより、第二搬送手段30落下した枝豆Wを反転させることもできる。 As described above, the green soybeans W transported by the first transport means 20 and judged to be nonstandard by the green soybean sorting system 40 are discharged by the discharge means 23 , and the remaining green soybeans W are transported by the second transport means 30 . When conveyed by the second conveying means 30, the green soybeans W are desirably conveyed in a state inverted from the state conveyed by the first conveying means 20. As shown in FIG. Therefore, it is desirable to provide reversing means for reversing the green soybeans W to be transported after the first transport means 20 or at the start end side of the second transport means 30 (first transport means 20 side). Such reversing means can reverse the green soybeans W to be transported, for example, by utilizing the drop when the green soybeans W are dropped, or by applying a rotational force from a belt or roller to either surface of the transported pods. Further, by causing the second conveying means 30 to convey in the opposite direction to the first conveying means 20, the green soybeans W dropped by the second conveying means 30 can be reversed.

この第二搬送手段30で搬送する枝豆Wも、前記第一搬送手段20における搬送と同じように選別される。即ち、第二搬送手段30で搬送する枝豆Wを撮影手段31で撮影し、その撮影画像を枝豆選別システム40で解析して、規格外の枝豆Wを特定する。その際、枝豆の搬送速度や距離は、ロータリーエンコーダからなる搬送検出手段32から取得する。そして当該規格外の枝豆Wは、搬送手段の終端において排出手段33によりエアーを吹き付けて排出する。かかる第二搬送手段30における処理は、前記第一搬送手段20における処理と同じであるから、図面では第一搬送ラインと同じ構成については符号に「10」の値を加算して示し、その詳細な説明は省略する。 The green soybeans W transported by the second transport means 30 are also sorted in the same manner as transported by the first transport means 20 . That is, the green soybeans W transported by the second transport means 30 are photographed by the photographing means 31, the photographed image is analyzed by the green soybean sorting system 40, and non-standard green soybeans W are specified. At that time, the conveying speed and distance of the green soybeans are acquired from the conveying detection means 32 consisting of a rotary encoder. Then, the nonstandard edamame W is discharged by blowing air from the discharge means 33 at the end of the conveying means. Since the processing in the second conveying means 30 is the same as the processing in the first conveying means 20, in the drawings, the same configuration as the first conveying line is indicated by adding the value of "10" to the reference numeral, and the details detailed description is omitted.

図2は、本実施の形態に係る莢果選別システムを構成するコンピュータのハードウエア構成の例を示している。ただし、図2のコンピュータ500は、当該莢果選別システムの代表的な構成を例示したに過ぎず、当該枝豆選別システムは、画像解析のための演算装置やメモリ及びプログラムを実行する限りにおいて、専用の装置として構成しても良い。 FIG. 2 shows an example of the hardware configuration of a computer that constitutes the pod sorting system according to this embodiment. However, the computer 500 in FIG. 2 merely exemplifies a typical configuration of the pod sorting system, and the edamame sorting system is a dedicated computer as long as it executes the arithmetic unit, memory and program for image analysis. It may be configured as a device.

この図2に示すコンピュータ500は、CPU501、メモリ502、音声出力装置503、ネットワークインタフェース504、ディスプレイコントローラ505、ディスプレイ506、入力機器インタフェース507、キーボード508、マウス509、外部記憶装置510、外部記録媒体駆動装置511、およびこれらの構成要素を互いに接続するバス512を含んで構成されている。 The computer 500 shown in FIG. 2 includes a CPU 501, a memory 502, an audio output device 503, a network interface 504, a display controller 505, a display 506, an input device interface 507, a keyboard 508, a mouse 509, an external storage device 510, and an external recording medium drive. It comprises a device 511 and a bus 512 connecting these components together.

CPU501は、コンピュータ500の各構成要素の動作を制御し、OSの制御下で、上記枝豆選別システムの各処理の実行をコントロールし、その動作を制御する。メモリ502は通常、不揮発性メモリであるROM(Read Only Memory)、および揮発性メモリであるRAM(Random Access Memory)から構成され、記憶部に相当する。ROMには、コンピュータ500の起動時に実行される枝豆選別システムで実行されるプログラム等が格納される。RAMには、CPU501で実行され、撮影手段から取得した画像を解析し、枝豆の大きさや粒数を算出し、また欠けやヒゲ・黒点・変色・割れの有無、又は活性度等を判定するためのプログラムや、それらのプログラムが実行中に使用するデータが一時的に格納される。 The CPU 501 controls the operation of each component of the computer 500, controls the execution of each process of the green soybean sorting system, and controls the operation under the control of the OS. The memory 502 is normally composed of ROM (Read Only Memory), which is non-volatile memory, and RAM (Random Access Memory), which is volatile memory, and corresponds to a storage unit. The ROM stores programs and the like that are executed by the green soybean sorting system when the computer 500 is started. In the RAM, it is executed by the CPU 501, analyzes the image acquired from the photographing means, calculates the size and number of edamame beans, and determines the presence or absence of chipping, whiskers, black spots, discoloration, cracks, activity, etc. programs and data used by those programs while they are running.

音声出力装置503は、スピーカ等の、音声を出力する機器であり、ネットワークインタフェース504は、各種の機器と情報交換する為のネットワーク520に接続するためのインタフェースである。ディスプレイコントローラ505は、CPU501が発する描画命令を処理するための専用コントローラであり、表示部としてのディスプレイ506に描画データを出力する。かかるディスプレイ506は、LCD等で構成される表示装置である。 The audio output device 503 is a device such as a speaker that outputs audio, and the network interface 504 is an interface for connecting to a network 520 for exchanging information with various devices. A display controller 505 is a dedicated controller for processing drawing commands issued by the CPU 501, and outputs drawing data to a display 506 as a display unit. Such a display 506 is a display device configured by an LCD or the like.

入力機器インタフェース507は、キーボード508やマウス509、或いはタッチパッドなどの入出力デバイスから入力された信号を受信して、その信号パターンに応じて所定の指令をCPU501に提供する。キーボード508やマウス509は、プログラムの実行や設定などの操作を行う場合に必要となる。外部記憶装置510も本明細書における記憶手段の範疇に含まれる。かかる外部記憶装置510は、たとえばハードディスクドライブ(HDD)のような記憶装置で構成することができる。この装置内には上述したプログラムやデータが記録され、実行時に、必要に応じてそこからメモリ502のRAMにロードされる。外部記録媒体駆動装置511は、CD(Compact Disc)、MO(Magnet-Optical Disc)、DVD(Digital Versatile Disc)などの可搬型の外部記録媒体530の記録面にアクセスして、そこに記録されているデータを読み取る装置である。 The input device interface 507 receives a signal input from an input/output device such as the keyboard 508, mouse 509, or touch pad, and provides a predetermined command to the CPU 501 according to the signal pattern. A keyboard 508 and a mouse 509 are required when performing operations such as program execution and setting. The external storage device 510 is also included in the category of storage means in this specification. Such an external storage device 510 can be composed of a storage device such as a hard disk drive (HDD). The above-described programs and data are recorded in this device, and loaded from there into the RAM of the memory 502 as required during execution. The external recording medium drive device 511 accesses the recording surface of a portable external recording medium 530 such as a CD (Compact Disc), MO (Magnet-Optical Disc), DVD (Digital Versatile Disc), etc. It is a device that reads data stored in

本実施の形態にかかる枝豆選別システムは、上記のように構成されるコンピュータを用いて形成され、以下の図3~18に示す処理を実行する。 The green soybean sorting system according to the present embodiment is formed using a computer configured as described above, and executes the processes shown in FIGS. 3 to 18 below.

≪基本処理≫
図3は撮影手段から取得した撮影画像について実行する基本処理の内容を示すフローチャートであり、図4はこの基本処理の内容を示す処理内容図である。基本処理を実行すると、最初に枝豆選別システムは、複数の枝豆が写っている撮影画像を撮影手段から取得して、メモリに記録する(S11)。そして、図4(B)に示す様に、複数の枝豆が写っている画像(撮影手段から取得した撮影画像)に対し、枝豆ごとにラベリング処理を行い(S12)、枝豆ごとの画像を抽出する。撮影画像を解析する際、撮影画像に複数含まれる莢果は、枝豆ごとに抽出されている事が望ましく、ラベリング処理を施すことにより、莢果の輪郭形状を特定する事ができる。
≪Basic processing≫
FIG. 3 is a flow chart showing the contents of basic processing to be executed on the photographed image acquired from the photographing means, and FIG. 4 is a processing content diagram showing the contents of this basic processing. When the basic processing is executed, the green soybean sorting system first acquires a photographed image showing a plurality of green soybeans from the photographing means and records it in memory (S11). Then, as shown in FIG. 4(B), an image showing a plurality of green soybeans (captured image acquired by the photographing means) is subjected to labeling processing for each green soybean (S12), and an image for each green soybean is extracted. . When analyzing the photographed image, it is desirable that a plurality of pods contained in the photographed image be extracted for each green soybean, and the contour shape of the pods can be specified by performing labeling processing.

そして抽出した枝豆ごとの画像について角度補正処理を行う(S13)。角度補正を行った補正画像について、長軸方向となる長さ(以下、「莢長」とも言う)と、短軸方向となる幅(以下、「莢幅」とも言う)とを計測する。角度補正を行う事により、莢果における莢の長さ及び幅の測定を、より正確に行う事ができる為である。この角度補正処理では、各枝豆の画像において、長尺な向き(長さ方向)が縦又は横の何れか同じ方向を向くように、画像処理を行う。そして図4(C)に示す様に、角度補正を行った画像に対して二値化処理を行い(S15)、その後における各検査で、必要な数値や場所の特定や取得を迅速に行えるようにしている。 Then, angle correction processing is performed on the extracted image for each green soybean (S13). The length along the major axis (hereinafter also referred to as “pod length”) and the width along the minor axis (hereinafter also referred to as “pod width”) are measured for the corrected image that has undergone angle correction. This is because angle correction enables more accurate measurement of the length and width of the pod in the pod. In this angle correction processing, image processing is performed so that the elongated direction (longitudinal direction) of each green soybean image faces the same direction, either vertically or horizontally. Then, as shown in FIG. 4C, the angle-corrected image is binarized (S15). I have to.

莢果の選別を自動化する場合には、ベルトコンベアーなどの搬送手段で搬送する必要があり、搬送している莢果を撮影して、これを検査する必要がある。しかしながら搬送手段で搬送する莢果の向きを正確に揃えるのは事実上困難である。そこで上述のように、無造作に搬送される莢果を撮影し、その向きを修正する事で、検査の実情に合致しながらも、莢果の長さ及び幅の測定を正確に行う事ができる莢果選別システムとしている。 In the case of automating the sorting of the pods, it is necessary to convey them by a conveying means such as a belt conveyor, and it is necessary to photograph and inspect the pods being conveyed. However, it is practically difficult to precisely align the orientation of the pods conveyed by the conveying means. Therefore, as described above, by photographing the casually transported pods and correcting the orientation, the length and width of the pods can be accurately measured while meeting the actual inspection conditions. system.

≪粒数検査≫
図5は、粒数検査を行う処理内容を示すフローチャートであり、図6はこの粒数検査を行う処理内容図であり、図7は粒数検査における莢長判定を行う処理内容図である。この粒数検査では、最初に前記基本処理を行った画像(ラベリング処理及び角度補正処理後の画像)を検査画像として取得する。この検査画像は、搬送手段を搬送される枝豆ごとに作成されることから、この粒数検査はすべての枝豆について実行される。
≪Grain count inspection≫
FIG. 5 is a flow chart showing the contents of processing for grain number inspection, FIG. 6 is a diagram showing the details of processing for this grain number inspection, and FIG. 7 is a diagram showing the details of processing for determining pod length in grain number inspection. In this particle number inspection, an image (image after labeling processing and angle correction processing) subjected to the basic processing is obtained as an inspection image. Since this inspection image is created for each green soybean conveyed by the conveying means, this grain count inspection is executed for all green soybeans.

画像解析手段は取得した撮影画像から、個々の莢果の長さと幅に関する情報を取得する「サイズ検査」を実行する。この長さと幅に関する情報は、取得した撮影画像における画素に基づいたドット数(又はピクセル数)として取得する他、検査対象物の実際の長さ及び幅として取得することができる。撮影画像から検査対象物の実際の長さ及び幅を算出する場合には、撮影画像上で特定される長さに一定の拡大または縮尺定数を乗算することもできる。 The image analysis means performs a "size check" to obtain information on the length and width of individual pods from the captured images. Information about the length and width can be obtained as the number of dots (or the number of pixels) based on the pixels in the captured image, and can also be obtained as the actual length and width of the inspection object. When calculating the actual length and width of the inspection object from the captured image, the length specified on the captured image can also be multiplied by a fixed enlargement or scaling constant.

即ち、検査画像を取得すると、コンピュータで構成されている枝豆選別システムのCPUは、図6(A)に示す様に、検査画像において枝豆が写し出されている領域における長さ方向のピクセル数を判読し、これに基づいて当該枝豆の長さを演算する(S52)。この演算は、撮影画像を実測値にする為の係数を乗算することによって算出する事ができる。 That is, when the inspection image is obtained, the CPU of the green soybean sorting system, which is composed of a computer, reads the number of pixels in the longitudinal direction of the area where the green soybeans are projected in the inspection image, as shown in FIG. 6(A). Then, based on this, the length of the edamame is calculated (S52). This calculation can be performed by multiplying the photographed image by a coefficient for making it an actual measurement value.

そして演算により算出した枝豆の長さを取得すると、この長さに基づいて粒数を算出する(S54)。この粒数の算出は、図6に示す様に、莢果の長さとの関係で種子の粒数を関連付けた長さ/個数テーブル41を準備し、画像の解析によって読み取った莢果の長さを検索値として検索する事で、当該長さに対応する種の個数を演算・抽出する事ができる。また、ファイルシステムを検索するまでもなく、取得した莢果の長さに応じて、一定の値(種子の個数)を出力する様にプログラムを設計することもできる。即ち、莢の長さを計測して、この値を使用することで、莢内に収容されている種子の大凡の数を算出する事ができる。 Then, when the length of green soybeans calculated by calculation is acquired, the number of grains is calculated based on this length (S54). For the calculation of the number of grains, as shown in FIG. 6, a length/number table 41 that associates the number of seed grains in relation to the length of the capsule is prepared, and the length of the read capsule is searched by image analysis. By searching as a value, the number of seeds corresponding to the length can be calculated and extracted. The program can also be designed to output a constant value (the number of seeds) according to the length of the obtained pods without searching the file system. That is, by measuring the length of the pod and using this value, it is possible to calculate the approximate number of seeds contained within the pod.

この莢長の算出に際しては、莢幅について基準となる値を設定し、当該値以上の範囲についての莢長を算出するように構成することもできる。即ち、上述のように枝豆における莢の長さから、おおよその粒数は想定することは可能である。しかし同じ莢長でも、中に存在する種子の大きさ次第では、1粒であったり、2粒であったりする場合も存在する。そこで種子が存在しない領域の長さを除外することで、実質的に種子が存在する領域の長さを算出し、粒数を正確に判定するものである。 When calculating the pod length, it is also possible to set a reference value for the pod width, and to calculate the pod length for a range equal to or greater than this value. That is, as described above, it is possible to roughly estimate the number of grains from the length of the pods in green soybeans. However, even with the same pod length, depending on the size of the seeds in the pod, there may be one or two pods. Therefore, by excluding the length of the region where seeds do not exist, the length of the region where seeds actually exist is calculated, and the number of grains is accurately determined.

図7は粒数検査における莢長判定を行う処理内容図である。この図7(A)に示す様に、莢長が同じ長さであっても、莢内に収容された種子の粒数が1粒であったり、2粒であったりする場合がある。そこで莢幅について基準値(LB)を設定し、当該基準値よりも大きい値についての莢長を算出することにより、種子が存在する領域についての実効長を算出することができる。本実施の形態では、莢幅についての基準値(LB)を10mmと設定しており、その結果、図7(B)に示す様に、1粒の種子が収容されている莢果の莢長は、その莢長が2粒の時の莢長よりも短くなり1粒である事が判定される。一方で、2粒の種子を収容した莢果では、基準となる莢幅以上の領域の莢長は、2粒と判断する莢長の範囲となる事から、正確な粒数判定を行うことができる。 FIG. 7 is a processing content diagram for judging pod length in grain number inspection. As shown in FIG. 7A, even if the pod length is the same, the number of seeds contained in the pod may be one or two. Therefore, by setting a reference value (LB) for the pod width and calculating the pod length for values larger than the reference value, it is possible to calculate the effective length for the region where the seeds are present. In this embodiment, the reference value (LB) for the pod width is set to 10 mm, and as a result, as shown in FIG. , the pod length is shorter than the pod length of 2 seeds, and it is judged to be 1 seed. On the other hand, in the case of a pod containing two seeds, the pod length in the area larger than the standard pod width is within the range of the pod length that is judged to be two seeds, so it is possible to accurately determine the number of seeds. .

なお、この莢長の算出際しては、基準となる莢幅以下の領域の長さを算出することによっても、莢内の種子が1粒の莢果を判定することができ、また基準となる莢幅以上となる突出部(凸部)の存在個数を算出することによっても莢果内の種子の粒数を算出することができる。 In addition, when calculating the pod length, it is possible to determine the pod fruit with one seed in the pod by calculating the length of the area below the pod width, which is the reference, and also serves as the reference. The number of seed grains in a pod can also be calculated by calculating the number of protruding portions (convex portions) that are greater than the width of the pod.

上記の粒数検査に際しては、莢内の種子の数を算出すると共に、種子の存在によって変化する莢の幅を算出する事ができる。即ち、前記画像解析手段における粒数検査では、莢幅が最大となる位置を凸部とし、当該凸部間において幅が凹部より狭く且つ最小となる位置を凹部とする。かかる凸部や凹部は莢内に収容されている各種子について算出することもでき、これによって莢果の全体形状を詳細に把握し、判定することができる。 In the grain number inspection, it is possible to calculate the number of seeds in the pod and the width of the pod that changes depending on the presence of the seeds. That is, in the grain number inspection in the image analysis means, the position where the pod width is maximum is defined as the convex portion, and the position between the convex portions where the width is narrower than the concave portion and is minimum is defined as the concave portion. Such protrusions and recesses can also be calculated for each seed housed in the pod, thereby enabling detailed understanding and determination of the overall shape of the pod.

また莢内において種子が存在する場所は、輪郭が膨らんでいることから凸部を設定する事ができ、また種子間には、凹部が存在することから、凹部の存在を確認する事により、凸部に種子が存在する事を確認できる。そして、凸部が2つ以上として算出された場合には、当該凸部間における幅の変化量を確認する事で、莢内の粒数を判定することもできる。莢の長さだけを以って粒数を特定した場合には、同じ莢長でも、中に存在する種子の大きさ次第では、1粒であったり、2粒であったりする場合も考えられる為である。したがって、凸部間における幅の変化は谷部(凹部)が1つ出現するように変化している事を確認する事が望ましい。 In addition, since the contour of the place where the seed exists in the pod is swollen, a convex portion can be set, and since there is a concave portion between the seeds, by confirming the existence of the concave portion, the convex portion can be set. It can be confirmed that there are seeds in the part. When the number of protrusions is calculated to be two or more, the number of grains in the pod can be determined by checking the amount of change in width between the protrusions. When the number of grains is specified only by the length of the pods, even with the same length of pods, depending on the size of the seeds inside, there may be one or two grains. It is for Therefore, it is desirable to confirm that the width change between the convex portions is changed so that one valley portion (concave portion) appears.

以上の通り、粒数検査においては、莢内に収容されている種子が1粒のみの莢果を特定する事も望ましい。かかる種子が1粒の莢果は、先ず莢の全長によって特定する事ができる。即ち、所定の莢幅以上となる領域における莢長が、基準の長さよりも短い莢果は、種子が1粒だけであると想定する事ができる。莢果の長さにより粒数を予想する事で、粒数検査における処理速度を向上させることができる。そして、基準値以上の長さを有する莢果については、莢内の種子が2粒以上であると判断する。しかしながら2粒以上と判断しても、種子の粒が大きい場合には、実際には1粒しか収容されていない場合もある。そこで、撮影画像から幅を読み出し、凸部と凹部を抽出・確認して、実際の粒数を算出することもできる。即ち、基準値以上の長さであり、粒数を2つと設定した場合には、当該莢果を長さ方向に2つの領域に分けて、それぞれの領域において最も幅広の凸部を抽出する。その結果、莢内に収容されている種子が2粒以上であれば、当該凸部は2か所に存在し、当該凸部間には凹部が存在するはずである。しかしながら、莢内の種子が1粒の場合には、仮に凸部を2か所に設定したとしても、当該凸部同士の間には、両方の凸部よりも狭い幅は存在せず、よって凹部が存在しないことになる。したがって、莢内の種子が1粒となり得る長さの莢果については、凸部間に凹部が存在するか否かを確認する事で、1粒か否かを判断する事ができる。 As described above, it is also desirable to identify pods containing only one seed contained in the pods in the grain count inspection. Such single-seed pods can first be identified by the total length of the pod. That is, it can be assumed that a capsule having a pod length shorter than the reference length in a region where the pod width is equal to or larger than the predetermined pod width has only one seed. By estimating the number of grains from the length of the pod, it is possible to improve the processing speed in the grain number inspection. A pod having a length equal to or longer than the standard value is judged to have two or more seeds in the pod. However, even if it is determined that there are two or more seeds, only one seed may actually be contained if the seed is large. Therefore, it is also possible to read the width from the photographed image, extract and confirm the convex portion and the concave portion, and calculate the actual number of grains. That is, when the length is longer than the reference value and the number of grains is set to 2, the pod is divided into two regions in the length direction, and the widest protrusion is extracted in each region. As a result, if the number of seeds contained in the pod is two or more, there should be two convex portions and a concave portion between the convex portions. However, when there is only one seed in the pod, even if two protrusions are provided, there is no width between the protrusions that is narrower than both protrusions. There will be no recess. Therefore, it is possible to determine whether or not a pod having a length such that one seed can be contained in the pod is one by confirming whether or not there is a concave portion between the convex portions.

このように、莢内の種子が1粒の莢果を特定する処理は、特に枝豆を選別する際に有効である。枝豆の選別では、莢内の種子の数も商品価値に影響を与えている実情から、種子が1粒の莢果を特定し、これを選別する事で商品価値を高める事ができる為である。 In this way, the process of identifying a pod with one seed inside the pod is particularly effective when sorting green soybeans. In the selection of edamame, the number of seeds in a pod also affects the commercial value. Therefore, the commercial value can be increased by identifying pods with one seed and sorting them.

演算の結果として得られる粒数が1粒か否かの判断(S56)により、莢果を選別することができる。これは枝豆の場合、1粒のものは商品価値が低い事もあることから、商品価値を高める為に種子が1粒の枝豆を選別して取り除くためである。この莢に収容される種子が1粒か否かの判断では、先ず前記粒数判断において、1粒と判断されたものが除かれる。よって、当該莢内の種子が1粒と判断された枝豆は、規格外品と判断され、排出手段により排出対象として特定される。 The pods can be sorted by determining whether the number of grains obtained as a result of the calculation is one (S56). This is because, in the case of edamame, one seed may have a low commercial value, so edamame with one seed is selected and removed in order to increase the commercial value. In judging whether or not the number of seeds contained in the pod is one, first, those judged to be one in the above-mentioned judgment of the number of seeds are excluded. Therefore, green soybeans determined to have one seed in the pod are determined to be non-standard products, and are specified as objects to be discharged by the discharging means.

そして、前記粒数判断において、莢内に収容された種子が2粒以上と判断された枝豆は、その粒数に応じて、領域が分割される(S58)。図6では、特に2粒と判断された例を示している。この為、検査画像は、図6(B)に示す様に、長さ方向に2つの領域(A1及びA2)に分割されている。次にそれぞれの領域において、幅の値が最も大きい地点を凸部として設定する。図6(C)では、第一の領域A1において幅が最も広い地点を第一の凸部C1として設定し、第二の領域A2において幅が最も広い地点を第二の凸部C2として設定している。そして夫々の凸部における値(幅)を算出する(S59)。 Then, in the determination of the number of grains, the edamame for which the number of seeds housed in the pod is determined to be two or more is divided into areas according to the number of grains (S58). FIG. 6 shows an example in which two grains are determined. For this reason, the inspection image is divided into two areas (A1 and A2) in the longitudinal direction, as shown in FIG. 6B. Next, in each region, a point with the largest width value is set as a convex portion. In FIG. 6C, the widest point in the first region A1 is set as the first convex portion C1, and the widest point in the second region A2 is set as the second convex portion C2. ing. Then, the value (width) of each convex portion is calculated (S59).

次に、図6(D)に示す様に、夫々の凸部(C1及びC2)の間SAの幅を演算し、図6(E)に示す様に、各凸部の幅よりも小さい値で、且つ幅が最小値となる地点を凹部として設定し、その幅を算出する(S60)。そして凹部の有無を判断し(S61)、凹部を算出できる場合には、莢内に2粒以上の種子が入っており、規格に合った枝豆として、この粒数検査では規格内と判断する(S62)。一方、凹部が算出できない場合には、莢内の種子が1粒の枝豆と判断し、規格外であると判断して、排出手段により排出対象として特定する。即ち枝豆選別システムは、莢の長さから、莢内の種子の数を2粒と判断した結果(図8(A))、前記同様に凸部及び凹部を特定する処理を実行する。具体的には、当該枝豆の画像を2つの領域(A1及びA2)に分割し(図8(B))、それぞれの領域において最も幅が広い領域を、それぞれの凸部(C1及びC2)に設定する(図8(C))。そして、この凸部同士の間であって、それぞれの凸部よりも狭く、且つ最も狭い幅の位置を凹部に設定する(図8(D))。しかし莢内の種子が1粒の場合には、この凹部の幅は、何れかの凸部と同じ幅になってしまうことから、当該凹部を設定する事ができない(図8(E))。よって、この場合には、莢内の種子が1粒と判断し、規格外の枝豆として特定する。 Next, as shown in FIG. 6(D), the width of the SA between the respective convex portions (C1 and C2) is calculated, and as shown in FIG. 6(E), a value smaller than the width of each convex portion and the point where the width is the minimum value is set as the recess, and the width is calculated (S60). Then, the presence or absence of recesses is determined (S61), and if the recesses can be calculated, it is determined that two or more seeds are contained in the pod and that the edamame conforms to the standard, and that the grain number inspection is within the standard ( S62). On the other hand, if the concave portion cannot be calculated, the seed in the pod is determined to be one green soybean, is determined to be out of specification, and is specified as an object to be discharged by the discharge means. That is, the green soybean sorting system determines that the number of seeds in the pod is two from the length of the pod (Fig. 8(A)), and executes the process of identifying the convex portion and the concave portion in the same manner as described above. Specifically, the edamame image is divided into two regions (A1 and A2) (FIG. 8B), and the widest region in each region is assigned to each convex portion (C1 and C2). Set (FIG. 8(C)). Then, a recess is set at a position between the protrusions that is narrower than the protrusions and has the narrowest width (FIG. 8(D)). However, when the number of seeds in the pod is one, the width of this concave portion is the same as that of any convex portion, so that concave portion cannot be set (FIG. 8(E)). Therefore, in this case, it is determined that there is one seed in the pod, and the edamame is identified as non-standard edamame.

以上の様な処理によって粒数検査を実行することにより、処理の高速化を達成する事ができる。即ち、莢の長さによって、莢内の種子が1粒の枝豆を一次的に排除していることから、検査対象を減じる事ができ、これによって処理の高速化を図る事ができる。更に、長さでは規格内の枝豆について、更に凸部及び凹部を検査する事により、長さの規格は充たしながらも、実際には莢内の種子が1粒の枝豆を抽出する事ができ、選別の精度を大幅に向上させることができる。よって、上記の処理によって粒数検査を実行する事により、高速かつ正確に枝豆(莢内の種子が1粒の枝豆)を選別する事ができる。 By executing the particle number inspection by the above processing, it is possible to achieve high speed processing. That is, since the seeds in the pod temporarily exclude one green soybean depending on the length of the pod, the objects to be inspected can be reduced, thereby speeding up the processing. Furthermore, for green soybeans within the standard length, by further inspecting the convex and concave portions, it is possible to extract green soybeans that actually have one seed in the pod while satisfying the length standard. The accuracy of sorting can be greatly improved. Therefore, edamame (green soybeans with one seed in the pod) can be quickly and accurately sorted by executing the grain count inspection by the above process.

≪欠け検査≫
また、前記枝豆選別システムは、基本処理を行って作成した検査画像を取得する事により、更に欠け検査を実行する事ができる。この欠け検査では、枝豆における莢に欠けが有るか否かを検査するものであり、本実施の形態では、図9及び図10に示す様に、莢果の画像を長さ方向に複数等分に分割し、両端の面積比によって欠けの有無を判定している。これは莢果、特に枝豆においては、莢の欠けは長さ方向の端部において発生していることが多いことに着目したものである。
≪Crack inspection≫
Further, the green soybean sorting system can further perform chipping inspection by acquiring an inspection image created by performing basic processing. In this chipping inspection, it is inspected whether or not there is chipping in the pods of green soybeans. In this embodiment, as shown in FIGS. It is divided, and the presence or absence of chipping is determined based on the area ratio of both ends. This is based on the fact that in pods, especially green soybeans, pod chipping often occurs at the ends in the length direction.

この処理では、前記ラベリング処理によって輪郭形状を特定し、その角度補正処理によって長軸方向を揃えた検査画像を取得する(S91)。この取得した検査画像に対して、長軸方向に、長さを均等にして複数に分割し(S92)、当該分割した領域の面積を長さ方向の両端部の領域で対比する(S93)。そしてこの対比結果が所定の基準内であるかを判断し(S94)、両者の差が少なく、ほぼ同じ比率である場合には、莢の欠けが存在し、規格外であると判断する(S96)。一方で、両者の差が大きく比率が相違する場合には、莢の欠けが存在しないことから規格内と判断する(S95)。これは図10(A)に示す様に莢の長さ方向の端部に欠けが存在しない場合には、一方の端部(莢の先端部)が先細り形状となる事から両面積は異なり、一方で図10(B)に示す様に何れかの端部(特に莢の先端側端部)に欠けが存在する場合には、両端部における面積がほぼ同じになる為である。この長さ方向端部同士における面積比率は任意に設定することができるが、例えば、一方の面積が他方の面積の70%以下、又は50%以下である場合には、莢が欠けていないと判断することができる。また面積の対比は比率ではなく、面積の差分によって判断することもできる。そして莢の長軸方向に分割する場合には、長軸の長さで分割することができ、その分割数は図10に示す様に三等分とする他、二等分であっても良く、更には四等分以上であっても良い。また等分に分割することなく莢長の両端部を所定の長さ分だけ抽出し、その面積を対比することもできる。 In this process, the contour shape is specified by the labeling process, and an inspection image with the long axis direction aligned by the angle correction process is acquired (S91). The obtained inspection image is divided into a plurality of parts with equal lengths in the long axis direction (S92), and the areas of the divided areas are compared at both ends in the length direction (S93). Then, it is determined whether the result of this comparison is within a predetermined standard (S94), and if the difference between the two is small and the ratio is almost the same, it is determined that the pods are missing and out of the standard (S96). ). On the other hand, if the difference between the two is large and the ratio is different, it is determined that the pod is within the standard because there is no pod chipping (S95). This is because, as shown in FIG. 10(A), when there is no chipping at the ends in the length direction of the pod, one end (the tip of the pod) is tapered, and both areas are different. On the other hand, as shown in FIG. 10(B), if there is chipping at one of the ends (particularly, the tip end of the pod), the areas at both ends are almost the same. The area ratio between the ends in the length direction can be set arbitrarily. can judge. Also, the comparison of areas can be determined by the difference in area instead of the ratio. When the pod is divided in the longitudinal direction, it can be divided by the length of the long axis. Furthermore, it may be divided into four or more equal parts. It is also possible to extract a predetermined length of both ends of the pod length without dividing the pod into equal parts and compare the areas.

このように長さ方向両端部における面積を対比することにより、莢幅が複雑に変化する枝豆であっても、欠けの有無を正確に判定することができ、枝豆選別の精度を高めることができる。 By comparing the areas at both ends in the length direction in this way, it is possible to accurately determine the presence or absence of chipping even in edamame whose pod width changes in a complicated manner, and to improve the accuracy of edamame sorting. .

≪黒点検査≫
図11は、黒点検査を行う処理内容を示すフローチャートであり、図12は黒点の出現状況を示す正面図であり、図13は縮小処理の(A)設定画面、(B)処理内容図である。この黒点検査では、まずカメラ等の撮影手段で撮影した画像に対してラベリング処理及び傾き補正処理を行った画像を検査画像として取得する(S111)。そして取得した検査画像に対して、その輪郭(周囲)を削る縮小処理を行う(S112)。これは、通常の枝豆の選別において黒点と判断されるのは、図12に示す様に莢の輪郭以外の領域に存在する変色領域(黒点)であり、輪郭領域に存在する変色は黒点と判断されない事に起因する。また検査画像においては、その撮影に際して影などが映り込むことも否定できず、当該影部分が変色領域として認識されるのを阻止する為である。
≪Black spot inspection≫
FIG. 11 is a flow chart showing the details of processing for performing a black dot inspection, FIG. 12 is a front view showing how black dots appear, and FIGS. . In this black point inspection, first, an image captured by an imaging means such as a camera is subjected to labeling processing and tilt correction processing, and the resulting image is acquired as an inspection image (S111). Then, the obtained inspection image is subjected to reduction processing for cutting the outline (periphery) (S112). This is because, as shown in FIG. 12, what is judged to be a black point in normal sorting of green soybeans is a discolored area (black point) existing in an area other than the outline of the pod, and a discolored area existing in the outline area is judged to be a black point. due to not being done. In addition, it is undeniable that a shadow or the like may be reflected in the inspection image at the time of photographing, and this is to prevent the shadow portion from being recognized as a discolored region.

かかる縮小処理は、図13(B)に示す様に検査画像における輪郭領域を削った画像を作成する。輪郭を削る量は、図13(A)の設定画面で任意に設定することが可能であり、莢の輪郭領域において広い範囲に変色が存在する場合には、縮小処理の回数を複数回設定することにより、縮小させるピクセルを多く設定することができる。即ち、1回の縮小処理で削るピクセル数を設定しておいて、これを複数回行う事により削るピクセル数を調整することができる。但し、1回で削るピクセル数を任意に調整することによって、縮小処理の程度を調整することも可能である。 Such reduction processing creates an image in which the contour area in the inspection image is removed as shown in FIG. 13(B). The amount of trimming the outline can be arbitrarily set on the setting screen in FIG. By doing so, it is possible to set a large number of pixels to be reduced. That is, the number of pixels to be removed in one reduction process is set, and the number of pixels to be removed can be adjusted by performing this process multiple times. However, it is also possible to adjust the degree of reduction processing by arbitrarily adjusting the number of pixels to be removed in one operation.

そして縮小処理を行った画像に対して、黒点として変色している領域の面積(ピクセル数)を算出し(S113)、これが基準の範囲内か否かを判断する(S114)。算出した変色領域が基準の範囲内であれば規格内と判断し(S115)、基準の範囲を超えている場合には規格外と判断することができる(S116)。 Then, the area (the number of pixels) of the area discolored as a black spot is calculated (S113), and it is determined whether or not it is within the standard range (S114). If the calculated discolored area is within the standard range, it can be determined to be within the standard (S115), and if it exceeds the standard range, it can be determined to be out of standard (S116).

なお、この変色した領域の認識に際しては、図13に示す様に、検査画像に対してR(赤)、G(緑)、B(青)の少なくとも何れかについて、黒点と判断する為の輝度値の上限と下限を設定し、当該範囲内のものを黒点判定の対象とすることができる。例えば、図10ではG(緑)の輝度値について、最小0,最大60の範囲を設定しており、G(緑)の輝度値が0~60のものについて黒点判定の対象としている。その結果、莢の輪郭領域における変色や影を除外して、正確に黒点などの変色を判定することができる。 When recognizing this discolored area, as shown in FIG. 13, at least one of R (red), G (green), and B (blue) in the inspection image has a luminance required to determine that it is a black point. By setting the upper and lower limits of the values, it is possible to make objects within these ranges the target of the black point determination. For example, in FIG. 10, a range of minimum 0 and maximum 60 is set for the luminance value of G (green). As a result, it is possible to accurately determine discoloration such as black spots by excluding discoloration and shadows in the contour area of the pod.

≪検査ログ管理≫
そして本実施の形態に係る莢果選別システム及び莢果選別装置では、上記の検査結果を保存しておくことにより、検査対象となる枝豆における良品や不良品の割合、及び不良品となったものの原因などを確認することができる。図14は枝豆の判定に使用したデータをログとして保持する莢果選別システム及び莢果選別装置を示している。かかる検査ログは検査日ごと、又は検査時間ごとなど、一定の時間や検査対象のロットごとに保持することができ(図14(A))、例えば図14(B)に示す様にCSV等のテキスト形式で保持することができる。但し、当該ログの保持形式は当然ながら他のファイル形式であっても良い。
≪Inspection log management≫
In the pod sorting system and pod sorting apparatus according to the present embodiment, by storing the above inspection results, it is possible to determine the ratio of non-defective and defective edamame to be inspected, the cause of defective products, etc. can be confirmed. FIG. 14 shows a pod sorting system and a pod sorting apparatus that hold data used for judging green soybeans as a log. Such an inspection log can be held for each inspection day, each inspection time, or for a certain period of time or for each lot to be inspected (FIG. 14(A)). Can be kept in text format. However, the log may of course be held in another file format.

本実施の形態において、当該ログ情報は、検査画像を判定した結果の数値、例えば莢長や莢幅、面積、或いはRGBの輝度値などを保持することができ、その他にも判定に使用した実際の数値等のデータを保持しておくことができる。かかるログ情報を保持しておくことにより、特定のログファイルの記述内容(生のデータ)から良品(規格内)と不良品(気化器外)の状況や、その比率、或いは不良品の内訳なども確認することができる(図14(C))。従って、当該ログ情報として、枝豆の選別に使用した全てのデータを保持しておくことで、収穫した枝豆の収穫農家や収穫地等によって区別したロットごとに、枝豆の状況を確認することができる。 In the present embodiment, the log information can hold numerical values obtained as a result of judging the inspection image, such as pod length, pod width, area, or RGB luminance value. data such as numerical values can be stored. By retaining such log information, the status of non-defective products (within the standard) and defective products (outside the vaporizer), their ratio, or the breakdown of defective products can be obtained from the description contents (raw data) of a specific log file. can also be confirmed (FIG. 14(C)). Therefore, by storing all the data used for sorting green soybeans as the log information, it is possible to check the status of the green soybeans for each lot classified by the harvesting farm and harvesting area of the green soybeans. .

このように、検査ログから良品や不良品の割合や、不良品と判断された原因を特定する際には、その精度を高める為に、枝豆の検査に際して一度判定した枝豆については再度判定しないように構成することが望ましい。 In this way, when identifying the ratio of non-defective products and defective products from the inspection log and the cause of the defective product, in order to improve the accuracy, it is necessary not to re-assess the edamame that has been judged once during the inspection of edamame. It is desirable to configure

そこで、図15に示す様に一度判定した枝豆について、その移動位置を予測して、当該移動位置に存在する枝豆を判定対象から除外するように構成することができる。即ち、図15(A)に示す設定画面で移送方向の移動量(移動量Y)とその許容範囲を設定し、また移動方向に交差する向きの移動量(移動量X)の許容範囲を設定する。そしてこの値を使用して、図15(B)に示す様に、一度検出した検査対象が設定した位置に移動している場合には、当該位置に存在する検査対象を対象から除外する。本実施の形態において、検査対象となる枝豆はコンベアー等の搬送手段によって移動されることから、原則としてコンベアーの移動方向への変位を予測するように構成している。従って、撮影した検査画像において判定した枝豆について、所定の時間後(検査画像の撮影タイミング)における搬送方向の移動位置を予測し、次の撮影画像において当該位置に存在する枝豆を検査対象から除外するものである。この時、移送方向の移動量(移動量Y)はコンベアー等の搬送手段の移動速度や前記搬送検出手段22,23に基づいて設定することができ、その上で移動距離の誤差範囲を設定することができる。また本実施の形態では搬送手段による移動方向に交差する向きの移動量(移動量X)は誤差範囲を設定できるように構成している。これは原則として移動方向に交差する向きには枝豆が移動しない事を前提としているが、仮に移動方向に交差する向きにも移動する場合には、当該移動方向に交差する向きへの移動量を設定することもできる。 Therefore, as shown in FIG. 15, it is possible to predict the movement position of the edamame once determined, and exclude the edamame existing at the movement position from the determination target. That is, on the setting screen shown in FIG. 15A, the amount of movement in the transfer direction (movement amount Y) and its allowable range are set, and the allowable range of the amount of movement (movement amount X) in the direction intersecting the movement direction is set. do. Then, using this value, as shown in FIG. 15B, when the once detected inspection target moves to the set position, the inspection target existing at that position is excluded from the target. In this embodiment, since the green soybeans to be inspected are moved by conveying means such as a conveyor, in principle, the displacement in the moving direction of the conveyor is predicted. Therefore, for the edamame determined in the photographed inspection image, the movement position in the transport direction after a predetermined time (timing of photographing the inspection image) is predicted, and the edamame existing at that position in the next photographed image is excluded from the inspection object. It is. At this time, the movement amount in the transfer direction (movement amount Y) can be set based on the movement speed of the conveying means such as a conveyor and the conveying detection means 22 and 23, and then the error range of the movement distance is set. be able to. Further, in the present embodiment, an error range can be set for the amount of movement (movement amount X) in the direction intersecting the moving direction of the conveying means. In principle, this assumes that the green soybeans do not move in the direction that intersects the direction of movement. Can also be set.

このように、一度判定した枝豆を再度判定しないように構成することにより、検査対象である枝豆の良品や不良品の割合や、不良品と判断された原因などを正確に判断することができ、また検査対象となる枝豆の判定個数を正確に把握することができる。なお、当該ログデータはネットワークを介して外部のサーバ装置に転送することもでき、この場合には外部の端末からログ情報を随時確認することができる。また、当該ログ情報に基づいて機械学習(特に深層学習)を行って、学習済みモデルの人工知能(AI)を構築することもできる。即ち、このログ情報を入力層として、この入力層のデータから、コンピュータのアルゴリズムによって自ら特徴量を導き出し、中間層において、その特徴量同士の結び付を示すネットワーク構造を構築し、最終的に出力層となる出力情報(判定基準)を構築することができる。更に、当該ログ情報はインターネットを介して外部の端末からアクセスできるように構築することで、最新のログ情報に基づいた枝豆の選別状況を、位置的に離れた場所から確認することもできる。 In this way, by configuring so that the edamame that has been judged once is not judged again, it is possible to accurately judge the ratio of non-defective and defective edamame to be inspected, the cause of being judged as defective, etc. In addition, it is possible to accurately grasp the number of green soybeans to be inspected. The log data can also be transferred to an external server device via a network. In this case, the log information can be checked at any time from an external terminal. Also, machine learning (especially deep learning) can be performed based on the log information to construct an artificial intelligence (AI) of the trained model. In other words, with this log information as an input layer, a computer algorithm derives feature values from the data in this input layer, constructs a network structure that shows the connections between the feature values in the intermediate layer, and finally outputs it. Layered output information (criteria) can be constructed. Furthermore, by configuring the log information so that it can be accessed from an external terminal via the Internet, it is possible to check the sorting status of green soybeans based on the latest log information from a remote location.

≪判定条件の確認≫
また本実施の形態に係る莢果選別システム及び莢果選別装置では、枝豆の判定基準を詳細に調整することで、より精度の高い選別を実施できるように構成することができる。即ち、撮影手段が撮影した画像を保持することで、後から当該画像について判定を行い、その基準が適正か否かを確認するように構成するものである。よって、図16(A)の設定画面のせていないように寄り、図16(B)の保存画像に示す様に、一度検査した対象物(枝豆)の撮影画像を保存するように構成することが望ましい。かかる撮影画像は無制限に保存する事も考えられるが、予め保存枚数や保存容量(ファイルサイズ)を設定しておいて、最新の画像を上書き保存するように構成しても良い。
<<Confirmation of Judgment Conditions>>
In addition, the pod sorting system and pod sorting apparatus according to the present embodiment can be configured to perform more accurate sorting by adjusting the criteria for judging green soybeans in detail. That is, by holding the image captured by the image capturing means, the image is judged later, and it is confirmed whether or not the reference is appropriate. Therefore, it is possible to move the setting screen of FIG. 16A so that it is not overlaid, and save the captured image of the object (green soybeans) that has been inspected once, as shown in the saved image of FIG. 16B. desirable. Although it is conceivable that such photographed images are stored without limit, the number of images to be stored and the storage capacity (file size) may be set in advance so that the latest image is overwritten and stored.

保存した撮影画像に対しては、後から判定時のアルゴリズムを適用することにより、判定時における実際のデータ(数値データなど)を取得することができ、その値の妥当性を確認することにより、判定の精度を確認することができる。そして判定基準やカメラの向き、照明の設定などを調整することにより、枝豆選別の制度を高めることができる。 By applying the algorithm for judgment to the saved photographed image later, the actual data (numerical data, etc.) at the time of judgment can be obtained, and by confirming the validity of the value, Accuracy of determination can be confirmed. By adjusting criteria, camera orientation, and lighting settings, you can improve the accuracy of edamame sorting.

特に枝豆の良品/不良品を判断に際して、収穫された枝豆は様々な形状であることから、カメラや照明の設定や判定基準の設定は、都度、設定することが望ましい。この時、既に判定した画像に基づいて、その結果ログから判定基準などを設定することにより、状況に応じた最適な選別条件を設定することができる。よって、撮影画像の保存は、特に天然物である枝豆の選別において特に有効に機能することができる。 In particular, when judging good/defective green soybeans, it is desirable to set camera and lighting settings and judgment criteria each time, because harvested green soybeans come in various shapes. At this time, it is possible to set the optimum sorting condition according to the situation by setting the judgment criteria from the result log based on the already judged image. Therefore, the storage of photographed images can function particularly effectively in the sorting of edamame, which is a natural product.

≪機器の設定≫
そして本実施の形態に係る莢果選別システム及び莢果選別装置では、設置時における設定作業を容易にするように構成することが望ましい。この為、本実施の形態に係る莢果選別システム及び莢果選別装置では、カメラの補正機能や、既に設定している莢果選別システム及び莢果選別装置に基づいた機器設定機能を有することが望ましい。
≪Device Settings≫
The pod sorting system and the pod sorting apparatus according to the present embodiment are preferably configured so as to facilitate the setting work at the time of installation. For this reason, the pod sorting system and pod sorting apparatus according to the present embodiment preferably have a camera correction function and a device setting function based on the already set pod sorting system and pod sorting apparatus.

図17(A)はカメラ補正前における実際の検査画像を示しており、図17(B)はカメラ補正後における検査画像を示している。特にこの実施の形態では、広角レンズを用いたカメラを使用していることから、中心から離れるにしたがって撮影画像に歪みが生じる。従ってカメラ補正を使用する事により、当該画像の歪みを解消して、正確な検査画像を取得することができる。本実施の形態では、以下のように演算することができる。 FIG. 17A shows an actual inspection image before camera correction, and FIG. 17B shows an inspection image after camera correction. Especially in this embodiment, since a camera using a wide-angle lens is used, the captured image is distorted as the distance from the center increases. Therefore, by using camera correction, the distortion of the image can be eliminated and an accurate inspection image can be obtained. In the present embodiment, calculation can be performed as follows.

補正量 = 1 + |(枝豆中心-カメラ中心)| ÷ 補正係数
補正後幅 = 幅 ÷ 補正量
上記補正係数は、カメラ特有の値を使用することができ、個々の枝豆を抽出した検査画像に対して当該カメラ補正を行う事により、正確な検査画像を取得することができる。そして当該正確な検査画像に対して、上記判定基準を適用することにより、枝豆選別の制度を高めることができる。
Correction amount = 1 + |(green soybean center - camera center)| ÷ correction factor Width after correction = width ÷ correction amount By performing the camera correction, an accurate inspection image can be obtained. By applying the above determination criteria to the accurate inspection image, the accuracy of edamame sorting can be improved.

また、図18は既に設定した莢果選別システム及び莢果選別装置に基づいて、他の莢果選別システム及び莢果選別装置を設定する為の設定画面を示している。図18(A)では設定を調整する前の値を示しており、図18(B)ではキャリブレーション設定により調整した後の値を示している。特に図18では既に稼働しているか、又は適正に設定している莢果選別装置(標準機)の値を使用し、これに基づいて、新たに設置する莢果選別装置の設定項目を較正、校正、調整など行うように構成している。この図では特に撮影画像のピントを最適に設定する為に、フォーカスを調整する際の画面を示している。標準機から基準となる「ピント値(基準値)」としてR(赤)、G(緑)、B(青)の値を取得し、現在のR(赤)、G(緑)、B(青)の値である「ピント値(現在値)」との差(ピント値(Δ))が、当該基準値の範囲内になる様にカメラを調整する。そしてカメラの調整によって現在の値が基準値の範囲内である場合には、調整結果として「OK」を表示するように構成している。 Moreover, FIG. 18 shows a setting screen for setting other pod sorting systems and pod sorting devices based on the already set pod sorting system and pod sorting device. FIG. 18A shows the values before the settings are adjusted, and FIG. 18B shows the values after the calibration settings are adjusted. In particular, in FIG. 18, the values of the pod sorting device (standard machine) that is already in operation or are properly set are used, and based on this, the setting items of the newly installed pod sorting device are calibrated, calibrated, It is configured to perform adjustments, etc. This figure shows a screen for adjusting the focus in order to optimally set the focus of the photographed image. R (red), G (green), and B (blue) values are acquired from the standard machine as the standard "focus value (reference value)", and the current R (red), G (green), and B (blue) values are acquired. ), the camera is adjusted so that the difference (focus value (Δ)) from the “focus value (current value)” is within the range of the reference value. If the current value is within the range of the reference value due to camera adjustment, "OK" is displayed as the adjustment result.

そして当該莢果選別システム及び莢果選別装置の設定は、前記ピント校正の他、撮影画像の明るさ校正、撮影画像の傾き校正、及び撮影画像の寸法校正において行うことができる。 The setting of the pod sorting system and the pod sorting device can be performed in the calibration of the brightness of the captured image, the calibration of the tilt of the captured image, and the calibration of the dimension of the captured image, in addition to the focus calibration.

かかる標準機を用いたキャリブレーションにより、当該莢果選別システム及び莢果選別装置の設定時における設定作業を大幅井簡素化することができる。 Calibration using such a standard machine can greatly simplify the setting work at the time of setting the pod sorting system and the pod sorting apparatus.

10 ホッパー部
20 第一搬送手段
21,31 撮影手段
22,32 搬送検出手段
23,33 排出手段
30 第二搬送手段
31 撮影手段
40 枝豆選別システム
W 枝豆
10 Hopper part 20 First conveying means 21, 31 Photographing means 22, 32 Conveyance detecting means 23, 33 Ejecting means 30 Second conveying means 31 Photographing means 40 Edamame sorting system W Edamame

Claims (5)

莢付きの莢果を撮影した画像を解析する事で、当該莢果を検査又は選別する為の莢果選別システムであって、
撮影手段が撮影した画像を取得する画像取得手段と、画像取得手段が取得した画像を解析する画像解析手段とを備えており、
前記画像解析手段は、
取得した画像における個々の莢果の画像を抽出する莢果画像抽出部と、
抽出した個々の莢果の画像の輪郭領域を減じる収縮処理を実行する収縮処理実行部とを備えることを特徴とする、莢果選別システム。
A pod sorting system for inspecting or sorting pods by analyzing an image of a pod with a pod attached,
An image acquiring means for acquiring an image captured by the imaging means, and an image analyzing means for analyzing the image acquired by the image acquiring means,
The image analysis means is
A pod image extracting unit for extracting an image of each pod in the acquired image;
A pod sorting system, comprising: a erosion processing execution unit that performs erosion processing for reducing contour regions of extracted individual pod images.
更に、前記画像解析手段は、
取得した画像における個々の莢果の画像を抽出する莢果画像抽出部と、
抽出した個々の莢果の画像から莢の長さを算出する莢長算出部を備え、
当該莢長算出部は、抽出した個々の莢果の画像から算出した莢の幅からなる莢幅が所定の値となる領域についての莢の長さを算出する、請求項1に記載の莢果選別システム。
Furthermore, the image analysis means
A pod image extracting unit for extracting an image of each pod in the acquired image;
Equipped with a pod length calculation unit that calculates the length of the pod from the extracted individual pod images,
The pod selection system according to claim 1, wherein the pod length calculation unit calculates the length of the pod in an area where the pod width is a predetermined value, which is the width of the pod calculated from the extracted individual pod images. .
前記画像解析手段における解析結果をログ情報として保持するログ情報保持部を備える、請求項1又は2に記載の莢果選別システム。
3. The pod sorting system according to claim 1, further comprising a log information holding unit that holds the analysis results of said image analysis means as log information.
前記画像解析手段は、画像取得手段が取得した画像についての移動位置を算出し、当該移動位置に存在する莢付きの莢果を撮影した画像について解析対象から除外する、請求項1~3の何れか一項に記載の莢果選別システム。
4. Any one of claims 1 to 3, wherein the image analysis means calculates a movement position for the image acquired by the image acquisition means, and excludes an image obtained by photographing a pod with pods existing at the movement position from the analysis target. The pod sorting system according to item 1.
更に前記画像解析手段は、
取得した画像における個々の莢果の画像を抽出する莢果画像抽出部と、
抽出した個々の莢果の画像を複数当分に分割すると共に、長さ方向の基端と先端における面積比を算出して、莢果における欠けの有無を判定する請求項1~4の何れか一項に記載の莢果選別システム。
Further, the image analysis means is
A pod image extracting unit for extracting an image of each pod in the acquired image;
According to any one of claims 1 to 4, wherein the image of each extracted capsule is divided into a plurality of equal parts, and the area ratio between the base end and the tip in the length direction is calculated to determine the presence or absence of chipping in the capsule. The described pod sorting system.
JP2021028439A 2021-02-25 2021-02-25 Legume selection system and legume selection device Pending JP2022129666A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2021028439A JP2022129666A (en) 2021-02-25 2021-02-25 Legume selection system and legume selection device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2021028439A JP2022129666A (en) 2021-02-25 2021-02-25 Legume selection system and legume selection device

Publications (1)

Publication Number Publication Date
JP2022129666A true JP2022129666A (en) 2022-09-06

Family

ID=83150946

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2021028439A Pending JP2022129666A (en) 2021-02-25 2021-02-25 Legume selection system and legume selection device

Country Status (1)

Country Link
JP (1) JP2022129666A (en)

Similar Documents

Publication Publication Date Title
JP6590907B2 (en) Fruit sorting system, fruit sorting device, and fruit sorting method
US7403872B1 (en) Method and system for inspecting manufactured parts and sorting the inspected parts
TW452915B (en) Method of sorting and investigating automatic semiconductor wafer with extended optical inspection and apparatus for implementing the same
KR101298957B1 (en) Wood knot detecting method, device, and program
EP3234861B1 (en) Screening of electronic components for detection of counterfeit articles using automated inspection system
JP7442462B2 (en) Seed sorting
Paliwal et al. Grain kernel identification using kernel signature
US20010028734A1 (en) System and method for selection of a reference die
EP3541161B1 (en) Stored image reclassification system and re-classification method
JP5085860B2 (en) Wood inspection method, apparatus and program
KR100598381B1 (en) in-line typed apparatus for auto wafer-defect classification and control method thereof
KR20170015338A (en) Method for creating grade discrimination standard in granular object appearance grade discrimination device
US20150051860A1 (en) Automatic optical appearance inspection by line scan apparatus
JP5006147B2 (en) Wood inspection method, apparatus and program
WO2022049549A1 (en) Artificial intelligence based tobacco particle measurement system
JP2022129666A (en) Legume selection system and legume selection device
JP2022129668A (en) Legume selection system and legume selection device
JP2022129667A (en) Legume selection system and legume selection device
CN115526820A (en) Workpiece detection method and equipment
KR102572968B1 (en) Wafer inspection method using the deep learning and wafer inspection device for implementing this
KR20230139166A (en) Inspection Method for Wood Product
CN113554588A (en) Product flaw detection device and method
TWI773493B (en) Defect feature threshold obtaining device, image detection system using the same and method
JP2862821B2 (en) Grain sorter
JP2008153255A (en) Model registration method for inspection of mounted component, inspection method of mounted component, and board inspection device using that method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20230719