JP2014229153A - Article identification system and program for the same - Google Patents

Article identification system and program for the same Download PDF

Info

Publication number
JP2014229153A
JP2014229153A JP2013109430A JP2013109430A JP2014229153A JP 2014229153 A JP2014229153 A JP 2014229153A JP 2013109430 A JP2013109430 A JP 2013109430A JP 2013109430 A JP2013109430 A JP 2013109430A JP 2014229153 A JP2014229153 A JP 2014229153A
Authority
JP
Japan
Prior art keywords
image
distance
articles
article
contour
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.)
Granted
Application number
JP2013109430A
Other languages
Japanese (ja)
Other versions
JP6230814B2 (en
Inventor
雅和 森本
Masakazu Morimoto
雅和 森本
真幸 初田
Masayuki Hatsuda
真幸 初田
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.)
University of Hyogo
Brain Co Ltd
Original Assignee
University of Hyogo
Brain Co Ltd
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 University of Hyogo, Brain Co Ltd filed Critical University of Hyogo
Priority to JP2013109430A priority Critical patent/JP6230814B2/en
Publication of JP2014229153A publication Critical patent/JP2014229153A/en
Application granted granted Critical
Publication of JP6230814B2 publication Critical patent/JP6230814B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

PROBLEM TO BE SOLVED: To accurately divide individual articles which are in contact with each other.SOLUTION: A color image and distance image of a plurality of articles which are in contact with each other are acquired and required units in the distance image are converted to distance from a reference plane. While outlines of the articles are extracted from the distance from the reference plane and inflection points in the outline are extracted, division candidate lines are generated so that the distances from the reference plane are connected through inflection points by going through small troughs. The plurality of articles which are in contact with each other are divided into individual articles by the division candidate lines. Types of divided individual articles can be discriminated by image recognition.

Description

この発明はパン等の物品の識別に関し、特に画像認識により物品の種類を識別するシステムとそのプログラムとに関する。   The present invention relates to identification of articles such as bread, and more particularly to a system for identifying the type of an article by image recognition and a program thereof.

出願人は、パン、野菜、果物等の食品、あるいは透明の袋に詰めた錠剤等を、画像認識により識別することを検討している(例えば特許文献1 特開2011-170745)。問題の1つは、個々の物品、即ち個品、が互いに接触していると、画像上で個品へ切り分けること、即ち個々の物品の画像を抽出すること、が難しい点に有る。   The applicant is considering identifying food such as bread, vegetables, fruits, or tablets packed in a transparent bag by image recognition (for example, Japanese Patent Application Laid-Open No. 2011-170745). One problem is that when individual articles, i.e. individual items, are in contact with each other, it is difficult to cut them into pieces on the image, i.e. to extract an image of the individual article.

特許文献2(特開2012-198848)は、パンの画像の輪郭から屈曲点を抽出し、屈曲点間を接続するように、パンとパンとの境界線の候補を発生させることを提案している。そして真の境界線では、境界線候補が短く、輪郭のくびれが深く、屈曲点の周囲で輪郭は鋭角に屈曲し、かつ境界線を直径とする円がパンからはみ出さない、と指摘している。そして特許文献2は、上記の特徴を備えている候補を境界線として、個々のパンを分離することを提案している。   Patent Document 2 (Japanese Patent Application Laid-Open No. 2012-198848) proposes that a bend point is extracted from an outline of a pan image and a boundary line candidate between pan and pan is generated so as to connect the bend points. Yes. And in the true boundary line, the boundary line candidate is short, the contour is deeply constricted, the contour is bent at an acute angle around the inflection point, and the circle whose diameter is the boundary line does not protrude from the pan. Yes. Patent Document 2 proposes separating individual breads using candidates having the above-described features as boundaries.

非特許文献1(第11回情報科学技術フォーラム 2012 講演論文集 H-019)は、トレイ上で互いに接触しているパンに対して、RGB画像と距離画像とを取得し、距離画像からWatershed法により、個々のパンを切り分けることを提案している。例えばトレイからの距離が極大となる点(カメラから見てパンが凸になる点)を開始点とし、開始点から始めて距離の勾配が小さい領域を併合して1つの領域とし、勾配が大きい部分を境界とするように、画像を分割する。パンの分離に成功する場合、1個のパンが1個の領域となる。   Non-Patent Document 1 (11th Information Science and Technology Forum 2012 Proceedings H-019) acquires RGB images and distance images for pans that are in contact with each other on a tray, and uses the watershed method from distance images. Proposed to cut individual bread. For example, a point where the distance from the tray becomes maximum (a point where panning is convex when viewed from the camera) is used as a starting point, and an area with a small distance gradient starting from the starting point is merged into one area. The image is divided so that is a boundary. When bread separation is successful, one bread becomes one area.

特開2011-170745JP2011-170745 特開2012-198848JP2012-198848

第11回情報科学技術フォーラム 2012 講演論文集 H-01911th Information Science and Technology Forum 2012 Proceedings H-019

特許文献2の手法では、単純な形状の物品が互いに接触している場合は、一般に正しく切り分けることができる。しかし複雑な形状の物品が接触していると、個品へ正確に切り分けることは難しい。また非特許文献1の手法では、実際の物品よりも細かな領域へ切り分ける傾向があり、これらの領域の統合を的確に行うことが難しい。   In the method of Patent Document 2, when articles having simple shapes are in contact with each other, it is generally possible to correctly separate them. However, when an article having a complicated shape is in contact, it is difficult to accurately divide the article into individual pieces. In the method of Non-Patent Document 1, there is a tendency to cut into areas that are finer than actual articles, and it is difficult to accurately integrate these areas.

この発明の課題は、互いに接触している物品を正確に切り分けることにある。   An object of the present invention is to accurately separate articles that are in contact with each other.

この発明の物品識別システムは、
互いに接触している複数個の物品の、カラー画像と距離画像とを取得する撮像装置と、
前記距離画像の所要部を、基準平面からの距離に変換する座標変換部と、
基準平面からの距離から、物品の輪郭を抽出する輪郭抽出部と、
輪郭抽出部で求めた輪郭に対し、輪郭の屈曲点を抽出すると共に、基準平面からの距離が小さな谷を通って屈曲点間を接続する分割候補線を発生させる分割候補線発生部と、
分割候補線により切り分けた個々の物品の種類を、画像認識により識別する個品識別部、とを備えている。
The article identification system of this invention is
An imaging device for acquiring a color image and a distance image of a plurality of articles in contact with each other;
A coordinate conversion unit that converts a required portion of the distance image into a distance from a reference plane;
A contour extraction unit that extracts a contour of an article from a distance from a reference plane;
For the contour obtained by the contour extraction unit, a bending candidate point generating unit that extracts a bending point of the contour and generates a dividing candidate line that connects the bending points through a valley having a small distance from the reference plane;
An individual product identification unit that identifies, by image recognition, the types of individual articles cut by the division candidate lines.

またこの発明は、互いに接触している複数個の物品の、カラー画像と距離画像とを取得する撮像装置と、
撮像装置からのカラー画像と距離画像とに基づき、互いに接触している複数個の物品を個々の物品へ切り分け、個々の物品の種類を識別するコンピュータとから成る、物品識別システムのためのプログラムであって、
前記コンピュータを、
前記距離画像の所要個所を、基準平面からの距離に変換する座標変換部と、
基準平面からの距離から、物品の輪郭を抽出する輪郭抽出部と、
輪郭抽出部で求めた輪郭に対し、輪郭の屈曲点を抽出すると共に、基準平面からの距離が小さな谷を通って屈曲点間を接続する分割候補線を発生させる分割候補線発生部と、
分割候補線により切り分けた個々の物品の種類を、画像認識により識別する個品識別部、分割候補線により切り分けた個々の物品の種類を、画像認識により識別する個品識別部、として機能させる。
The present invention also provides an imaging device that acquires color images and distance images of a plurality of articles that are in contact with each other;
A program for an article identification system comprising a computer for separating a plurality of articles that are in contact with each other into individual articles based on a color image and a distance image from an imaging device, and identifying a type of each article. There,
The computer,
A coordinate conversion unit that converts a required portion of the distance image into a distance from a reference plane;
A contour extraction unit that extracts a contour of an article from a distance from a reference plane;
For the contour obtained by the contour extraction unit, a bending candidate point generating unit that extracts a bending point of the contour and generates a dividing candidate line that connects the bending points through a valley having a small distance from the reference plane;
It functions as an individual product identification unit for identifying the types of individual articles cut by the division candidate lines by image recognition, and as an individual product identification unit for identifying the types of individual articles cut by the division candidate lines by image recognition.

距離画像の所要個所とは、例えば物品の輪郭、分割候補線であり、距離画像全体を基準平面からの距離の画像(正規化距離画像)に変換しても、所要部のみを距離に変換しても良い。好ましくは、前記カラー画像での分割候補線上の明度に基づき、明度が高い分割候補線を削除し、明度が低い分割候補線を残すことにより、互いに接触している複数個の物品を個々の物品へ切り分ける検証部をさらに備えている。距離画像の分解能が低い場合でも、明度が高い分割候補線を削除することにより、1個の物体を2個の物体に分離することを防止できる。   The required part of the distance image is, for example, the outline of the article or the division candidate line. Even if the entire distance image is converted into an image of the distance from the reference plane (normalized distance image), only the required part is converted into the distance. May be. Preferably, based on the lightness on the division candidate lines in the color image, a plurality of articles in contact with each other are separated from each other by deleting the division candidate lines with high lightness and leaving the division candidate lines with low lightness. It further includes a verification unit that divides the data. Even when the resolution of the distance image is low, it is possible to prevent one object from being separated into two objects by deleting the division candidate lines having high brightness.

座標変換部により、撮像装置からの距離を、トレイの底面等の基準平面からの距離に変換する。これによって物品のくぼみと境界は距離の谷となり、物品が突き出している部分は距離の山あるいは尾根となる。基準平面からの距離に基づき、エッジを抽出すること、あるいは基準平面よりも高い面で2値化すること等により、物品の輪郭を抽出できる。しかし物品が互いに接触している境界は輪郭として認識できないことがある。なおこの発明では、基準平面からの距離を用いて個品を切り出し、基準平面からの距離の画像を正規化距離画像ということがある。   A coordinate conversion unit converts the distance from the imaging device into a distance from a reference plane such as the bottom surface of the tray. As a result, the indentation and the boundary of the article become a valley of distance, and the portion where the article protrudes becomes a distance mountain or ridge. The outline of the article can be extracted by extracting an edge based on the distance from the reference plane or binarizing the surface higher than the reference plane. However, the boundary where the articles are in contact with each other may not be recognized as a contour. In the present invention, an individual product may be cut out using a distance from the reference plane, and an image of the distance from the reference plane may be referred to as a normalized distance image.

特許文献2の手法を正規化距離画像に適用し、輪郭の屈曲点を抽出する。次に基準平面からの距離が小さな谷を通って屈曲点間を接続するように、分割候補線を発生させると、互いに接触している物品を個々の物品に切り分けることができる。基準平面に近い位置を通って屈曲点間を接続するので、分割候補線を的確に抽出できる。そして切り分けた個々の物品は、従来法と同様にして、物品の種類を画像認識により識別できる。
しかし複雑な形状の物品でかつ距離画像の分解能が不足する場合、偽の分割候補線が発生することがある。偽の分割候補線は物品のくびれ等に対応し、カラー画像での明度が高いという特徴がある。これに対し真の物品の境界では、分割候補線の明度が低いという特徴がある。そこでカラー画像での明度に基づき、分割候補線を検証すると、より正確に複数の物品を個々の物品へ切り分けることができる。
The method of Patent Document 2 is applied to the normalized distance image, and the inflection point of the contour is extracted. Next, when dividing candidate lines are generated so as to connect the bending points through a valley having a small distance from the reference plane, the articles in contact with each other can be cut into individual articles. Since the inflection points are connected through positions close to the reference plane, it is possible to accurately extract the division candidate lines. The separated individual articles can be identified by image recognition in the same manner as in the conventional method.
However, if the article has a complicated shape and the resolution of the distance image is insufficient, a false division candidate line may be generated. The false division candidate line corresponds to the constriction of the article and has a feature that the brightness in the color image is high. On the other hand, there is a feature that the brightness of the division candidate line is low at the true article boundary. Therefore, if the candidate dividing lines are verified based on the brightness in the color image, a plurality of articles can be more accurately divided into individual articles.

カラー画像はRGB画像として用いても、HSV等の画像に変換して用いても良い。また明度として、RGB画像でのRの値とGの値とBの値の平均値等を用いても良い。この平均値は明度の近似値である。分割候補線上の明度を簡単に扱うため、例えば分割候補線上の明度の平均値、中央値等を用いることが好ましい。屈曲点の妥当性については、特許文献2に記載の手法を適宜に用いればよい。基準平面は、トレイ等の容器の底面に限らず、例えばトレイを置く台の上面等としても良い。   The color image may be used as an RGB image or may be converted into an image such as HSV. Further, as the brightness, an average value of R value, G value, and B value in an RGB image may be used. This average value is an approximate value of brightness. In order to easily handle the lightness on the division candidate line, for example, it is preferable to use an average value, a median value, or the like of the lightness on the division candidate line. For the validity of the bending point, the method described in Patent Document 2 may be used as appropriate. The reference plane is not limited to the bottom surface of a container such as a tray, and may be, for example, the top surface of a table on which the tray is placed.

実施例の物品識別システムの使用環境を示す図The figure which shows the use environment of the article | item identification system of an Example. 実施例の物品識別システムのブロック図Block diagram of article identification system of embodiment 実施例の物品識別アルゴリズムを示すフローチャートThe flowchart which shows the article | item identification algorithm of an Example. 実施例で分割線上の明度に着目する意味を示す図The figure which shows the meaning which pays attention to the lightness on the dividing line in an Example トレイ上のパンのグレイスケール画像Grayscale image of bread on tray トレイの底面からの距離画像Distance image from the bottom of the tray トレイ上のパンのグレイスケール画像Grayscale image of bread on tray パンのカラー画像のみに基づく切り分け結果を示す図The figure which shows the separation result based only on the color image of bread トレイの底面からの距離画像Distance image from the bottom of the tray 距離画像の屈曲点間を距離画像の谷により接続する分割線を示す図The figure which shows the dividing line which connects between the inflection points of a distance image by the valley of a distance image 距離画像の屈曲点間を距離画像の谷により接続するように分割線を発生させ、分割線上の明度の平均値が閾値以上のものを削除した際の、パンの切り分け結果を示す図The figure which shows the result of carving the pan when the dividing line is generated so that the inflection points of the distance image are connected by the valley of the distance image, and the average value of the brightness on the dividing line is deleted above the threshold value 距離画像にWatershed法を適用した際の、パンの切り分け結果を示す図Figure showing the result of panning when the watershed method is applied to a distance image 距離画像からのエッジの抽出による、パンの切り分け結果を示す図The figure which shows the result of carving the bread by extracting the edge from the distance image

以下に最適実施例を示す。この発明の範囲は、特許請求の範囲の記載に基づき、明細書の記載とこの分野での周知技術とを参酌し、当業者の理解に従って定められるべきである。   The optimum embodiment is shown below. The scope of the present invention should be determined according to the understanding of those skilled in the art based on the description of the scope of the claims, taking into account the description of the specification and well-known techniques in this field.

図1において、2は物品識別装置で、パーソナルコンピュータ等から成り、例えばテーブル4に収容され、アーム5に取り付けられた撮像装置6と共に、物品識別システムを構成する。なお実施例で用いた撮像装置6は安価なもので、距離画像の分解能が低い。8はカラーカメラでRGB画像を撮像する。9はIR(赤外線)プロジェクタ、10はIR(赤外線)カメラで、プロジェクタ9から、トレイ11とパン12,13とに投影された格子点を、IRカメラ10で撮像し、カメラ10からの距離を求める。撮像装置6は、トレイ11及び互いに接触するパン12,13等の、距離画像と、RGB画像等のカラー画像とを出力する。トレイ11に代わりバケット等の容器、ベルトコンベヤ等を用いても良く、パンの代わりに野菜、果物、魚類、肉類、錠剤等を認識しても良い。また互いに接触する複数個の物品を識別するが、1個の物品を識別することがあっても良い。テーブル16にはPOS装置18が設けられ、物品識別装置2からの個品の識別データに基づき、会計処理を行う。なお物品識別装置2からのデータの出力先は任意である。また14は記憶媒体で、図3のアルゴリズムを、物品識別装置2に実行させ、図2のように機能させるための物品識別プログラムを記憶している。   In FIG. 1, reference numeral 2 denotes an article identification device, which is composed of a personal computer or the like, and constitutes an article identification system together with an imaging device 6 accommodated in, for example, a table 4 and attached to an arm 5. The imaging device 6 used in the embodiment is inexpensive and has a low resolution of the distance image. 8 picks up an RGB image with a color camera. Reference numeral 9 denotes an IR (infrared) projector, and reference numeral 10 denotes an IR (infrared) camera. The image of the grid points projected from the projector 9 onto the tray 11 and the pans 12 and 13 is captured by the IR camera 10, and the distance from the camera 10 is determined. Ask. The imaging device 6 outputs a distance image and a color image such as an RGB image, such as the tray 11 and pans 12 and 13 that are in contact with each other. A container such as a bucket, a belt conveyor, or the like may be used instead of the tray 11, and vegetables, fruits, fish, meat, tablets, or the like may be recognized instead of bread. Further, although a plurality of articles that are in contact with each other are identified, one article may be identified. The table 16 is provided with a POS device 18 and performs accounting processing based on the identification data of individual items from the item identification device 2. The output destination of data from the article identification device 2 is arbitrary. Reference numeral 14 denotes a storage medium which stores an article identification program for causing the article identification apparatus 2 to execute the algorithm shown in FIG. 3 and to function as shown in FIG.

図2は物品識別装置2を示し、図3はその動作を示す。入力は撮像装置6からのRGB画像と距離画像で(ステップ1)、HSV変換部24によりRGB画像をHSV画像(色相と彩度と明度の画像)に変換する(ステップ2)。個品の識別に明度のみを用いる場合、HSV画像ではなく明度の画像に変換すればよい。座標変換部26は、撮像装置6からの距離の画像を、トレイ11の底面からの距離の画像に変換する(ステップ3)。例えば同じ形状のトレイ11を常時用いる場合、物品が無いトレイ11の底面を撮像して、その距離画像から基準平面の方程式を求めて記憶する。そしてこの方程式を用いて、基準平面からの距離を表すように、距離画像を座標変換する。なお座標変換の手法は任意である。   FIG. 2 shows the article identification device 2, and FIG. 3 shows its operation. The input is an RGB image and a distance image from the imaging device 6 (step 1), and the HSV converter 24 converts the RGB image into an HSV image (image of hue, saturation, and brightness) (step 2). When only brightness is used for identification of individual items, it is only necessary to convert to an image of brightness instead of an HSV image. The coordinate conversion unit 26 converts the image of the distance from the imaging device 6 into the image of the distance from the bottom surface of the tray 11 (Step 3). For example, when the tray 11 having the same shape is always used, the bottom surface of the tray 11 having no article is imaged, and the equation of the reference plane is obtained from the distance image and stored. Then, using this equation, the distance image is coordinate-transformed so as to represent the distance from the reference plane. The coordinate conversion method is arbitrary.

メモリ28はHSV画像を記憶し、メモリ30は撮像装置6からの距離を表す画像を記憶し、メモリ32はトレイ11の底面からの距離の画像、即ち正規化距離画像を記憶する。輪郭抽出部34は、正規化した距離画像から物品の輪郭を抽出し、例えば正規化した距離画像でのエッジにより、あるいは正規化した距離画像を適宜の閾値で2値化して輪郭を抽出する(ステップ4)。閾値は固定でも可変でも良い。   The memory 28 stores an HSV image, the memory 30 stores an image representing a distance from the imaging device 6, and the memory 32 stores an image of a distance from the bottom surface of the tray 11, that is, a normalized distance image. The contour extraction unit 34 extracts the contour of the article from the normalized distance image, and extracts the contour by binarizing the normalized distance image with an appropriate threshold, for example, using an edge in the normalized distance image ( Step 4). The threshold value may be fixed or variable.

屈曲点検出部35は、輪郭の屈曲点を検出する(ステップ5)。輪郭の接線方向あるいは法線方向が大きく変化することが屈曲点の条件である。2個の屈曲点間を距離画像の谷、即ちトレイ11からの高さが所定値以下のルートを経由して接続する線を、分割候補線とし、分割候補線発生部36により発生させる(ステップ6)。分割候補線は、谷を経由することが第1の条件で、これ以外に短く、分割候補線を直径とする円が輪郭からはみ出さず、両端の屈曲点での屈曲が著しいものが、信頼性が高い。谷は、トレイからの高さが谷の両側の領域に比べて低いことを意味し、例えば谷からその両外側への高さの勾配が+か0とすればよい。   The bending point detection unit 35 detects the bending point of the contour (step 5). The condition of the bending point is that the tangential direction or normal direction of the contour changes greatly. A line connecting two valley points via a valley of a distance image, that is, a route having a height from the tray 11 of a predetermined value or less is set as a division candidate line, and is generated by the division candidate line generation unit 36 (step) 6). The first condition is that the candidate division line passes through the valley, and other than this, the circle whose diameter is the candidate division line does not protrude from the outline, and the bend at the bending points at both ends is remarkable. High nature. The valley means that the height from the tray is lower than the area on both sides of the valley, and for example, the height gradient from the valley to the both outsides may be + or 0.

検証部38は、分割候補線上の明度の平均値が閾値以上であると分割候補線を削除し、分割候補線上の明度の平均値が閾値未満のものを残して、残った分割候補線により互いに接触している複数個の物品を個々の物品へ切り分ける(ステップ7)。平均値に代えて中央値等を用いても良い。なお、分割候補線の信頼性が低い場合、オペレータが分割候補線を削除し、追加し、あるいは修正できるようにしても良い(ステップ8)。個々の物品へ切り分けると、距離画像と、HSV画像あるいはRGB画像とをメモリ30,32から読み出す(ステップ9)。物品のテクスチャ、形状、色相と彩度、明度等に基づき、個品識別データベース40のデータを参照して、個品識別部42により物品の種類を識別することができる(ステップ10)。特に距離画像があるので、物品の体積、及び基準平面からの距離の平均と分散を形状の特徴に追加し、物品表面の凹凸の程度をテクスチャの特徴に追加できる。認識結果をPOS装置18等へ出力する(ステップ11)。   The verification unit 38 deletes the division candidate line when the average value of the brightness on the division candidate line is equal to or greater than the threshold value, and leaves the average value of the brightness on the division candidate line that is less than the threshold value. A plurality of articles in contact are cut into individual articles (step 7). A median value or the like may be used instead of the average value. If the reliability of the division candidate line is low, the operator may delete the division candidate line, add it, or modify it (step 8). When divided into individual articles, the distance image and the HSV image or RGB image are read from the memories 30 and 32 (step 9). Based on the texture, shape, hue and saturation, brightness, etc. of the article, the type of the article can be identified by the individual item identification unit 42 with reference to the data in the individual item identification database 40 (step 10). In particular, since there is a distance image, the volume of the article and the average and dispersion of the distance from the reference plane can be added to the shape feature, and the degree of unevenness on the article surface can be added to the texture feature. The recognition result is output to the POS device 18 or the like (step 11).

分割候補線上の明度を用いる意味を図4に示す。44は物品のくびれで、距離画像の谷であり、45は物品間の境界で、同様に距離画像の谷である。一般に距離画像の分解能は、RGB画像の分解能に比べ低いので、距離画像のみから、くびれ44と境界45を識別することには限界がある。くびれ44の底面には、トレイ11の底面に平行なエリアがあることが多く、このエリアでは鎖線のように光線を反射するので、明度が高くなる。これに対し境界45にはトレイ11の底面に平行なエリアがあることは少ない。このため、くびれ44ではRGB画像もしくはグレースケール画像が明るくなり、境界45ではRGB画像もしくはグレースケール画像が暗くなる。   The meaning of using the lightness on the division candidate line is shown in FIG. 44 is a constriction of the article, which is a valley of the distance image, 45 is a boundary between the articles, and is also a valley of the distance image. In general, the resolution of the distance image is lower than the resolution of the RGB image, so that there is a limit in identifying the constriction 44 and the boundary 45 from only the distance image. In many cases, the bottom surface of the constriction 44 has an area parallel to the bottom surface of the tray 11. In this area, light rays are reflected like a chain line, so that the brightness is increased. On the other hand, the boundary 45 rarely has an area parallel to the bottom surface of the tray 11. For this reason, the RGB image or grayscale image becomes bright at the constriction 44, and the RGB image or grayscale image becomes dark at the boundary 45.

図5はトレイ上のパンのグレースケール画像を示し、図6はトレイを基準として正規化した距離画像を示す。図5の画像からは、個々のパンをカラー画像のみから切り出すことができる。図6の正規化した距離画像では、トレイ11の底面とパンとを正確に分離できている。   FIG. 5 shows a gray scale image of a pan on the tray, and FIG. 6 shows a distance image normalized with respect to the tray. From the image of FIG. 5, individual pans can be cut out only from the color image. In the normalized distance image of FIG. 6, the bottom surface of the tray 11 and the pan can be accurately separated.

図7は、くびれのある複雑な形状のパンが互いに接触している、グレースケール画像を示す。特許文献2のようにして、明度画像の輪郭から屈曲点と分割候補線とを発生させると、図8のようになり、不要な分割候補線が多数含まれている。   FIG. 7 shows a grayscale image where constricted and complex shaped breads are in contact with each other. When a bending point and a division candidate line are generated from the contour of a brightness image as in Patent Document 2, it is as shown in FIG. 8, and many unnecessary division candidate lines are included.

図7に対応する正規化した距離画像を図9に示し、距離画像の輪郭から、特許文献2のようにして屈曲点を抽出する。屈曲点の対は多数個有るが、正規化距離画像での谷により接続できる屈曲点の対を抽出し、抽出した屈曲点の対での正規化距離画像の谷を分割候補線とする。   A normalized distance image corresponding to FIG. 7 is shown in FIG. 9, and a bending point is extracted from the contour of the distance image as in Patent Document 2. Although there are many inflection point pairs, a pair of inflection points that can be connected by a trough in the normalized distance image is extracted, and a trough in the normalized distance image at the extracted inflection point pair is used as a division candidate line.

分割候補線は図10のようになり、不要な分割候補線が含まれている。これは距離画像の分解能が不足し、物品の接触部が基準平面から実際よりも高く撮像されるためである。距離画像の分解能を増すとこの問題は解決できるが、撮像装置が高価になる。そこで分割候補線上の明度の平均値が閾値以上のものを削除すると、図11のようになり、複雑な形状で互いに接触している複数個のパンを分離できる。   The candidate division lines are as shown in FIG. 10 and include unnecessary candidate division lines. This is because the resolution of the distance image is insufficient and the contact portion of the article is imaged higher than the actual from the reference plane. Increasing the resolution of the range image can solve this problem, but the imaging device becomes expensive. Therefore, if the average value of the brightness on the division candidate line is deleted, a plurality of pans that are in contact with each other in a complicated shape can be separated as shown in FIG.

図12は、非特許文献1でのWatershed法が有効でない例を示し、カラー画像と正規化した距離画像とを用い、トレイの底面から距離が極大となる点、即ち物品上の凸部をマーカー領域の初期値とする。この領域に距離の勾配が小さいエリアを併合するようにして領域を拡大すると、右下の結果となり、領域の統合が困難なため、物品を正確に分離できない。RGB画像に対してWatershed法を適用すると、左下の結果となり、やはり物品を正確に分離できない。   FIG. 12 shows an example in which the Watershed method in Non-Patent Document 1 is not effective, using a color image and a normalized distance image, and a point where the distance is maximum from the bottom of the tray, that is, a convex portion on the article is a marker. The initial value of the area. If the area is enlarged by merging an area with a small distance gradient in this area, the result will be in the lower right, and it is difficult to integrate the areas, so the articles cannot be accurately separated. When the Watershed method is applied to an RGB image, the result on the lower left is obtained, and the article cannot be separated accurately.

図13は正規化した距離画像でのエッジから物品を切り出す際の失敗例を示し、エッジのみでは、パンの分離が不完全な輪郭が得られる。この輪郭に対し、屈曲点の検出と分割候補線の発生、及び明度が高い分割候補線の削除を行うと、パンを正しく分離できる。なおカラー画像でのエッジ、例えば明度のエッジを用いると、入力画像での右下のドーナツは2個の物品と認識される。   FIG. 13 shows an example of failure when an article is cut out from an edge in a normalized distance image, and an outline with incomplete pan separation can be obtained with only the edge. Panning can be correctly separated by detecting a bending point, generating a candidate dividing line, and deleting a candidate dividing line with high brightness. If an edge in a color image, for example, a lightness edge is used, the lower right donut in the input image is recognized as two articles.

実施例ではパンの識別を示したが、野菜、果物、魚介類、肉類、薬品の錠剤等、識別対象の物品は任意である。距離画像の取得はIRプロジェクタとIRカメラによるものに限らない。   In the embodiment, identification of bread is shown. However, articles to be identified such as vegetables, fruits, seafood, meat, and medicine tablets are arbitrary. Range image acquisition is not limited to using an IR projector and IR camera.

2 物品識別装置
4 テーブル
5 アーム
6 撮像装置
8 カラーカメラ
9 IRプロジェクタ
10 IRカメラ
11 トレイ
12,13 パン
14 記憶媒体
16 テーブル
18 POS装置
20 バス
22 入力部
24 HSV変換部
26 座標変換部
28〜32 メモリ
34 輪郭抽出部
35 屈曲点検出部
36 分割候補線発生部
38 検証部
40 個品識別データベース
42 個品識別部
44 くびれ
45 境界
2 Item identification device 4 Table 5 Arm 6 Imaging device 8 Color camera 9 IR projector 10 IR camera 11 Tray 12, 13 Pan 14 Storage medium 16 Table 18 POS device 20 Bus 22 Input unit 24 HSV conversion unit 26 Coordinate conversion units 28-32 Memory 34 Outline extraction unit 35 Bending point detection unit 36 Division candidate line generation unit 38 Verification unit 40 Item identification database 42 Item identification unit 44 Constriction 45 Boundary

Claims (3)

互いに接触している複数個の物品の、カラー画像と距離画像とを取得する撮像装置と、
前記距離画像の所要個所を、基準平面からの距離に変換する座標変換部と、
基準平面からの距離から、物品の輪郭を抽出する輪郭抽出部と、
輪郭抽出部で求めた輪郭に対し、輪郭の屈曲点を抽出すると共に、基準平面からの距離が小さな谷を通って屈曲点間を接続する分割候補線を発生させる分割候補線発生部と、
分割候補線により切り分けた個々の物品の種類を、画像認識により識別する個品識別部、とを備える物品識別システム。
An imaging device for acquiring a color image and a distance image of a plurality of articles in contact with each other;
A coordinate conversion unit that converts a required portion of the distance image into a distance from a reference plane;
A contour extraction unit that extracts a contour of an article from a distance from a reference plane;
For the contour obtained by the contour extraction unit, a bending candidate point generating unit that extracts a bending point of the contour and generates a dividing candidate line that connects the bending points through a valley having a small distance from the reference plane;
An article identification system comprising: an individual article identification unit that identifies, by image recognition, the types of individual articles cut out by division candidate lines.
前記カラー画像での分割候補線上の明度に基づき、明度が高い分割候補線を削除し、明度が低い分割候補線を残すことにより、互いに接触している複数個の物品を個々の物品へ切り分ける検証部をさらに備えていることを特徴とする、請求項1の物品識別システム。   Based on the lightness on the division candidate lines in the color image, the division candidate lines with high lightness are deleted and the division candidate lines with low lightness are left, so that a plurality of articles that are in contact with each other are cut into individual articles. The article identification system according to claim 1, further comprising a section. 互いに接触している複数個の物品の、カラー画像と距離画像とを取得する撮像装置と、
撮像装置からのカラー画像と距離画像とに基づき、互いに接触している複数個の物品を個々の物品へ切り分け、個々の物品の種類を識別するコンピュータとから成る、物品識別システムのためのプログラムであって、
前記コンピュータを、
前記距離画像の所要個所を、基準平面からの距離に変換する座標変換部と、
基準平面からの距離から、物品の輪郭を抽出する輪郭抽出部と、
輪郭抽出部で求めた輪郭に対し、輪郭の屈曲点を抽出すると共に、基準平面からの距離が小さな谷を通って屈曲点間を接続する分割候補線を発生させる分割候補線発生部と、
分割候補線により切り分けた個々の物品の種類を、画像認識により識別する個品識別部、検証部により切り分けた個々の物品の種類を、画像認識により識別する個品識別部、として機能させるプログラム。
An imaging device for acquiring a color image and a distance image of a plurality of articles in contact with each other;
A program for an article identification system comprising a computer for separating a plurality of articles that are in contact with each other into individual articles based on a color image and a distance image from an imaging device, and identifying a type of each article. There,
The computer,
A coordinate conversion unit that converts a required portion of the distance image into a distance from a reference plane;
A contour extraction unit that extracts a contour of an article from a distance from a reference plane;
For the contour obtained by the contour extraction unit, a bending candidate point generating unit that extracts a bending point of the contour and generates a dividing candidate line that connects the bending points through a valley having a small distance from the reference plane;
A program that functions as an individual product identification unit that identifies, by image recognition, an individual product type that is identified by an image recognition, and an individual product identification unit that identifies, by image recognition, an individual product type that has been segmented by a verification unit.
JP2013109430A 2013-05-24 2013-05-24 Article identification system and its program Active JP6230814B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013109430A JP6230814B2 (en) 2013-05-24 2013-05-24 Article identification system and its program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013109430A JP6230814B2 (en) 2013-05-24 2013-05-24 Article identification system and its program

Publications (2)

Publication Number Publication Date
JP2014229153A true JP2014229153A (en) 2014-12-08
JP6230814B2 JP6230814B2 (en) 2017-11-15

Family

ID=52128929

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013109430A Active JP6230814B2 (en) 2013-05-24 2013-05-24 Article identification system and its program

Country Status (1)

Country Link
JP (1) JP6230814B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018147416A (en) * 2017-03-09 2018-09-20 株式会社ブレイン Meal identification system, identification method and identification program
JP2020021520A (en) * 2018-06-20 2020-02-06 株式会社マーケットヴィジョン Information processing system
CN111885120A (en) * 2020-07-02 2020-11-03 广东菜丁科技集团有限公司 Agricultural product information acquisition method and system based on Internet of things

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07287736A (en) * 1994-04-19 1995-10-31 N T T Data Tsushin Kk Article identifying system
JPH10235584A (en) * 1997-02-26 1998-09-08 Kao Corp Article recognizing method and device therefor
WO2008131474A1 (en) * 2007-04-26 2008-11-06 Gryphon Systems Engineering Pty Ltd Method and apparatus for three dimensional image processing and analysis
JP2012198848A (en) * 2011-03-23 2012-10-18 Burein:Kk Object identification device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07287736A (en) * 1994-04-19 1995-10-31 N T T Data Tsushin Kk Article identifying system
JPH10235584A (en) * 1997-02-26 1998-09-08 Kao Corp Article recognizing method and device therefor
WO2008131474A1 (en) * 2007-04-26 2008-11-06 Gryphon Systems Engineering Pty Ltd Method and apparatus for three dimensional image processing and analysis
JP2012198848A (en) * 2011-03-23 2012-10-18 Burein:Kk Object identification device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018147416A (en) * 2017-03-09 2018-09-20 株式会社ブレイン Meal identification system, identification method and identification program
JP2020021520A (en) * 2018-06-20 2020-02-06 株式会社マーケットヴィジョン Information processing system
CN111885120A (en) * 2020-07-02 2020-11-03 广东菜丁科技集团有限公司 Agricultural product information acquisition method and system based on Internet of things

Also Published As

Publication number Publication date
JP6230814B2 (en) 2017-11-15

Similar Documents

Publication Publication Date Title
JP6151562B2 (en) Article identification system and its program
EP3118813B1 (en) Image recognition device, image sensor, and image recognition method
US9514382B2 (en) Image processing apparatus and image processing method
JP7151805B2 (en) LEARNING DATA GENERATION DEVICE, LEARNING DATA GENERATION METHOD, AND PROGRAM
CN111738245B (en) Commodity identification management method, commodity identification management device, server and readable storage medium
US9679221B2 (en) Object identification apparatus, object identification method, and program
JP6520913B2 (en) Object detection apparatus, POS terminal apparatus, object detection method and computer program
US10713530B2 (en) Image processing apparatus, image processing method, and image processing program
JP2013089252A (en) Video processing method and device
WO2015115274A1 (en) Object assessment device, image sensor, and object assessment method
JP6458239B1 (en) Image recognition system
US11250570B2 (en) Display rack image processing device, image processing method, and recording medium
JP6410450B2 (en) Object identification device, object identification method, and program
JP2019046484A (en) Image recognition system
JP6230814B2 (en) Article identification system and its program
JP6316569B2 (en) Article identification system and its program
US20200292463A1 (en) Apparatus for optimizing inspection of exterior of target object and method thereof
JP2005242488A (en) Object detecting device, object detecting method and program
US20150269778A1 (en) Identification device, identification method, and computer program product
JP6628336B2 (en) Information processing system
JP6651169B2 (en) Display status judgment system
Weerasekera et al. Robust asl fingerspelling recognition using local binary patterns and geometric features
Kim et al. A novel red apple detection algorithm based on adaboost learning
JP2020009466A (en) Display state determination system
JP7386446B2 (en) information processing system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20160518

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A821

Effective date: 20160518

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20170419

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20170523

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20170530

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20171016

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20171018

R150 Certificate of patent or registration of utility model

Ref document number: 6230814

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250