JP2001134762A - Selector for bottles - Google Patents

Selector for bottles

Info

Publication number
JP2001134762A
JP2001134762A JP31711599A JP31711599A JP2001134762A JP 2001134762 A JP2001134762 A JP 2001134762A JP 31711599 A JP31711599 A JP 31711599A JP 31711599 A JP31711599 A JP 31711599A JP 2001134762 A JP2001134762 A JP 2001134762A
Authority
JP
Japan
Prior art keywords
bottle
image
sorting
centroid
position information
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
JP31711599A
Other languages
Japanese (ja)
Inventor
Morihiro Hosokawa
盛弘 細川
Seiichiro Fukuhara
誠一郎 福原
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.)
Kyokuto Kaihatsu Kogyo Co Ltd
Original Assignee
Kyokuto Kaihatsu Kogyo 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 Kyokuto Kaihatsu Kogyo Co Ltd filed Critical Kyokuto Kaihatsu Kogyo Co Ltd
Priority to JP31711599A priority Critical patent/JP2001134762A/en
Publication of JP2001134762A publication Critical patent/JP2001134762A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide a selector for bottles for exactly and speedily selecting a desired bottle. SOLUTION: A bottle 1 is photographed by a CCD camera, a bottle type is identified from a distance Δx from a center G of the image (center of gravity) to a point A on the bottom o f the bottle, further, a reference point B0 is set to the prescribed point on the bottom of the bottle, and whether it is the desired bottle or not is judged from the relative positions of prescribed points B1-B6 on a contour with this reference position as an origin.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、廃棄物としての瓶
類(ガラス瓶及びプラスチックボトル等)から所望の瓶
を選別する装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an apparatus for selecting a desired bottle from bottles such as glass bottles and plastic bottles as waste.

【0002】[0002]

【従来の技術及び発明が解決しようとする課題】従来、
コンベア上を搬送されて来る瓶類をCCDカメラによっ
て撮影し、瓶の色を識別して仕分ける装置が知られてい
る。例えばビール瓶は茶色の瓶として識別され、選別さ
れる。ここで、ビール瓶は再利用が可能であるため、回
収する必要がある。ところが、ビール瓶以外の茶色の瓶
類もビール瓶と一緒に選別されるため、選別された茶色
の瓶類からさらにビール瓶を探し出して回収する作業が
必要となり、回収効率が悪い。一方、ビール瓶はメーカ
ーごとに形状が互いに僅かに異なるため、これらをメー
カーごとに種分けするとなると、さらに時間と労力とが
必要となる。このように、従来の瓶類の選別装置では、
所望の瓶を正確かつ迅速に選別することは容易でなかっ
た。
2. Description of the Related Art
2. Description of the Related Art There is known an apparatus that takes images of bottles conveyed on a conveyor with a CCD camera and identifies and sorts the colors of the bottles. For example, a beer bottle is identified and sorted as a brown bottle. Here, beer bottles can be reused and need to be collected. However, brown bottles other than the beer bottles are also sorted together with the beer bottles. Therefore, it is necessary to further search for and collect beer bottles from the selected brown bottles, resulting in poor collection efficiency. On the other hand, beer bottles are slightly different in shape from one maker to another, and if these are classified by maker, more time and labor are required. Thus, in the conventional bottle sorter,
It was not easy to accurately and quickly sort the desired bottle.

【0003】上記のような従来の問題点に鑑み、本発明
は、所望の瓶を正確かつ迅速に選別する瓶類の選別装置
を提供することを目的とする。
[0003] In view of the above-mentioned conventional problems, an object of the present invention is to provide a bottle sorting apparatus for accurately and quickly sorting desired bottles.

【0004】[0004]

【課題を解決するための手段】本発明の瓶類の選別装置
は、搬送されて来る瓶類を対象物としてこれを撮影する
撮影装置と、前記撮影装置によって撮影された対象物の
画像の図心を求め、この図心を基準位置とする基準位置
設定手段と、前記画像の輪郭上の所定点についての前記
基準位置に対する相対的な位置情報を算出する位置算出
手段と、選別する瓶種ごとに予め測定した上記の位置情
報を選別用データとして記憶している記憶手段と、前記
位置算出手段によって算出された位置情報を、前記記憶
手段に記憶されている選別用データのうち指定されたも
のと照合する照合手段と、前記位置算出手段によって算
出された位置情報が、前記指定された選別用データと同
一性を有する場合、当該対象物の取出し指令を出力する
出力手段とを備えたものである(請求項1)。
According to the present invention, there is provided an apparatus for sorting bottles, comprising: a photographing apparatus for photographing bottles being conveyed as an object; and an image of the object photographed by the photographing apparatus. A reference position setting means for obtaining a center and using the centroid as a reference position; a position calculating means for calculating relative position information with respect to the reference position for a predetermined point on the contour of the image; Storage means for storing the above-mentioned position information measured in advance as selection data, and the position information calculated by the position calculation means, which is designated among the selection data stored in the storage means. When the position information calculated by the position calculating unit has the sameness as the specified sorting data, an output unit that outputs a command to take out the object. Those (claim 1).

【0005】上記のように構成された瓶類の選別装置
(請求項1)においては、基準位置設定手段により対象
物の画像の図心が求められて基準位置とされ、この基準
位置から画像の輪郭上の所定点までの相対的な位置情報
と、選別用データとが照合手段により照合され、所望の
瓶が選別される。
In the bottle sorter configured as described above (claim 1), the centroid of the image of the object is determined by the reference position setting means and set as a reference position. The relative position information up to a predetermined point on the contour and the sorting data are collated by the collating means, and a desired bottle is selected.

【0006】また、本発明の瓶類の選別装置は、搬送さ
れて来る瓶類を対象物としてこれを撮影する撮影装置
と、前記撮影装置によって撮影された対象物の画像の図
心を求め、この図心を参照して当該画像の瓶底部所定点
に基準位置を設定する基準位置設定手段と、前記画像の
輪郭を構成する複数の所定点に関して、前記基準位置に
対する相対的な位置情報を算出する位置算出手段と、選
別する瓶種ごとに予め測定した上記の位置情報を選別用
データとして記憶している記憶手段と、前記位置算出手
段によって算出された位置情報を、前記記憶手段に記憶
されている選別用データのうち指定されたものと照合す
る照合手段と、前記位置算出手段によって算出されたす
べての位置情報が、前記指定された選別用データと同一
性を有する場合、当該対象物の取出し指令を出力する出
力手段とを備えたものであってもよい(請求項2)。
In addition, a bottle sorting apparatus of the present invention obtains a photographing apparatus for photographing bottles conveyed as an object and a centroid of an image of the object photographed by the photographing apparatus. Reference position setting means for setting a reference position at a predetermined point on the bottle bottom of the image with reference to the centroid, and calculating relative position information with respect to the reference position for a plurality of predetermined points forming the outline of the image Position calculating means, storing means for storing the position information measured in advance for each bottle type to be sorted as sorting data, and position information calculated by the position calculating means, stored in the storage means. The collating means for collating with the specified data among the selected data for identification and all the position information calculated by the position calculating means have the same identity as the specified data for classification. It may be one and output means for outputting a take-out instruction of the object (claim 2).

【0007】上記のように構成された瓶類の選別装置
(請求項2)においては、基準位置設定手段により、対
象物の画像の図心を参照して画像の瓶底部所定点が基準
位置とされ、この基準位置から画像の輪郭を構成する複
数の所定点までの相対的な位置情報と、選別用データと
が照合手段により照合され、所望の瓶が選別される。
In the bottle sorting apparatus configured as described above (claim 2), the reference position setting means refers to the centroid of the image of the object, and the predetermined point at the bottom of the bottle of the image is defined as the reference position. Then, the relative position information from the reference position to a plurality of predetermined points constituting the outline of the image and the sorting data are collated by the collating means, and a desired bottle is selected.

【0008】また、本発明の瓶類の選別装置は、搬送さ
れて来る瓶類を対象物としてこれを撮影する撮影装置
と、前記撮影装置によって撮影された対象物の画像の図
心を求めるとともに、この図心を参照して前記画像の瓶
底部所定点に基準位置を設定する基準位置設定手段と、
前記図心から前記画像の瓶底部までの相対的な位置情報
を算出し、これを、予め記憶した第1の選別用データと
照合して同一性を判定する第1の選別手段と、前記基準
位置から前記画像の輪郭を構成する複数の所定点までの
相対的な位置情報を算出し、これらを、予め記憶した第
2の選別用データと照合して同一性を判定する第2の選
別手段と、前記第1の選別手段及び前記第2の選別手段
においてそれぞれ同一性が認められた場合、当該対象物
の取出し指令を出力する出力手段とを備えたものであっ
てもよい(請求項3)。
Further, the bottle sorting apparatus of the present invention obtains an image of a bottle to be transported as an object, and obtains a centroid of an image of the object captured by the image capturing apparatus. Reference position setting means for setting a reference position at a predetermined point at the bottom of the bottle with reference to the centroid;
First sorting means for calculating relative position information from the centroid to the bottom of the bottle of the image and comparing the calculated information with first sorting data stored in advance to determine the identity; Calculating relative position information up to a plurality of predetermined points constituting an outline of the image, comparing the calculated positional information with second pre-stored second selection data to determine identity. An output unit that outputs a command to take out the target object when the identity is recognized in the first sorting unit and the second sorting unit (claim 3). .

【0009】上記のように構成された瓶類の選別装置に
おいて、第1の選別手段は、対象物の画像の図心から瓶
底部までの相対的な位置情報に基づいて、対象物が所望
の瓶であるか否かを判定する。第2の選別手段は、瓶底
部の基準位置から画像の輪郭を構成する複数の所定点ま
での相対的な位置情報に基づいて、対象物が所望の瓶で
あるか否かを判定する。そして、出力手段は、第1の選
別手段及び第2の選別手段においてそれぞれ同一性が認
められた場合、当該対象物の取出し指令を出力する。
In the bottle sorter configured as described above, the first sorter is configured to determine whether the object is a desired bottle based on the relative position information from the centroid of the image of the object to the bottom of the bottle. Is determined. The second sorting means determines whether or not the target object is a desired bottle based on relative position information from a reference position at the bottom of the bottle to a plurality of predetermined points forming an outline of the image. Then, the output means outputs a command to take out the object when the first sorting means and the second sorting means recognize the identity, respectively.

【0010】[0010]

【発明の実施の形態】図2は、本発明の一実施形態によ
る瓶類の選別装置の概略構成を示す斜視図である。図に
おいて、瓶(ガラス瓶、プラスチックボトル等)1は、
搬送コンベア2により図の左方から右方へ搬送される。
なお、瓶1は前工程において搬送方向に整列させられ、
搬送コンベア2の表面において搬送方向に連続して設け
られた突起(図示せず)によって整列姿勢を維持してい
るものとする。搬送コンベア2の両側部の所定位置には
光透過型の光電スイッチ3が配置され、これによって瓶
1の到来を検出する。また、光電スイッチ3によって検
出される位置の瓶1に対して側方から白色光を照射する
ランプ4と、このランプ4に対向して搬送コンベア2の
反対側に配置され、ランプ4と共に撮影装置を構成する
CCDカメラ5とが設けられている。CCDカメラ5
は、ランプ4の光により、瓶1の形状をシルエットとし
て取り込む。
FIG. 2 is a perspective view showing a schematic configuration of a bottle sorting apparatus according to one embodiment of the present invention. In the figure, a bottle (glass bottle, plastic bottle, etc.) 1
The sheet is conveyed by the conveyor 2 from left to right in the figure.
The bottle 1 is aligned in the transport direction in the previous process,
It is assumed that the alignment posture is maintained by projections (not shown) provided continuously in the transport direction on the surface of the transport conveyor 2. Light transmission type photoelectric switches 3 are arranged at predetermined positions on both sides of the conveyor 2 to detect the arrival of the bottle 1. Further, a lamp 4 for irradiating the bottle 1 at a position detected by the photoelectric switch 3 with white light from the side, and an opposite side of the transport conveyor 2 opposed to the lamp 4, and a photographing device together with the lamp 4. Is provided. CCD camera 5
Captures the shape of the bottle 1 as a silhouette by the light of the lamp 4.

【0011】搬送コンベア2の搬送方向においてCCD
カメラ5より下流には、瓶1を取り出すためのロボット
6が設けられている。ロボット6は、水平回動自在のア
ーム6a及び6bと、昇降自在のエア吸着装置6cとを
備えており、瓶1を搬送コンベア2上から取り上げて所
定の次工程に渡す役目をする。上記CCDカメラ5から
出力される画像信号は、画像処理装置7に入力され、こ
こで、瓶1の形状の識別が行われ、取出し指令が制御装
置8に送られる。ロボット6は、この制御装置8によっ
て駆動される。なお、上記画像処理装置7は、CPU、
メモリ等を含んで構成されており、図3のフローチャー
トに示す所定の処理を行う。
In the transport direction of the transport conveyor 2, a CCD
A robot 6 for taking out the bottle 1 is provided downstream of the camera 5. The robot 6 includes horizontally rotatable arms 6a and 6b and a vertically movable air suction device 6c. The robot 6 picks up the bottle 1 from the conveyor 2 and transfers it to a predetermined next process. The image signal output from the CCD camera 5 is input to an image processing device 7, where the shape of the bottle 1 is identified, and a take-out command is sent to a control device 8. The robot 6 is driven by the control device 8. The image processing device 7 includes a CPU,
It is configured to include a memory and the like, and performs predetermined processing shown in the flowchart of FIG.

【0012】次に、上記選別装置の動作について、瓶1
がビール瓶である場合を例として説明する。まず、画像
処理装置7のCPU(以下単にCPUという。)は、図
3のステップ100において、選別する瓶の指定を行
う。これは、予め画像処理装置7に対して任意に指定さ
れた瓶の種類を、CPUが読みとることにより行われ
る。図2において、搬送コンベア2上を瓶1が搬送され
て来ると、瓶1の先端部が光電スイッチ3によって検出
される。これにより、CPUは、図3のステップ101
から102へ進む。ステップ102においてCPUは、
瓶1の画像信号をCCDカメラ5から読み込む。次にC
PUはステップ103において、CCDカメラ5の各ピ
クセルについて画像信号のバイナリー処理を行い、所定
のしきい値を境に、画像を白と黒とに分ける。これによ
り、比較的光を透過しにくいビール瓶は、白い逆光背景
の中の黒い画像として捉えられ、瓶1の輪郭が明らかに
なる。
Next, regarding the operation of the above-mentioned sorting device, the bottle 1
Is a beer bottle as an example. First, the CPU of the image processing device 7 (hereinafter, simply referred to as CPU) specifies a bottle to be sorted in step 100 of FIG. This is performed by the CPU reading the type of the bottle arbitrarily designated to the image processing apparatus 7 in advance. In FIG. 2, when the bottle 1 is transported on the transport conveyor 2, the tip of the bottle 1 is detected by the photoelectric switch 3. As a result, the CPU proceeds to step 101 in FIG.
To 102. In step 102, the CPU
The image signal of the bottle 1 is read from the CCD camera 5. Then C
In step 103, the PU performs binary processing of the image signal for each pixel of the CCD camera 5, and divides the image into white and black at a predetermined threshold. Thereby, a beer bottle that is relatively hard to transmit light is perceived as a black image in a white backlighting background, and the outline of the bottle 1 becomes clear.

【0013】図1は、CCDカメラ5の画像信号にバイ
ナリー処理を施して得られた瓶(ビール瓶)1の画像
を、モニタ画面で見たとした場合の図である。なお、瓶
1は輪郭のみを示しているが、実際は、瓶全体が黒く表
示される状態である。画像はCCDカメラ5のピクセル
によってマトリクス状に構成されている。図の横方向を
X方向、縦方向をY方向とすると、(a)において、瓶
1に接してX軸方向に延びている直線Lは、搬送コンベ
ア2の表面である。直線LよりY方向の下方にも搬送コ
ンベア2が写るが、図示は省略する。瓶1は、必ずX方
向に所定範囲で表わされるため、X方向に連続して表さ
れる直線Lとは容易に識別することができる。
FIG. 1 is a view when an image of a bottle (beer bottle) 1 obtained by subjecting an image signal of the CCD camera 5 to binary processing is viewed on a monitor screen. Although the bottle 1 shows only the outline, the bottle 1 is actually displayed in black. The image is formed in a matrix by the pixels of the CCD camera 5. Assuming that the horizontal direction in the figure is the X direction and the vertical direction is the Y direction, a straight line L extending in the X-axis direction in contact with the bottle 1 is the surface of the conveyor 2 in FIG. The conveyor 2 is also shown below the straight line L in the Y direction, but is not shown. Since the bottle 1 is always represented by a predetermined range in the X direction, it can be easily distinguished from the straight line L continuously shown in the X direction.

【0014】一方、X軸に平行な直線Cは、CCDカメ
ラ5から取り込んだ画像に基づくものではなく、画像処
理上の補助線である。この補助線Cは、瓶径の大小に関
わらず固定されている。図示のようなビール瓶の場合の
みならず、ドリンク剤のような小瓶の場合でも、補助線
CのY座標位置は、水平方向への瓶の中心線と上記直線
Lとの間に位置するように設定されている。これによ
り、後述する瓶1の上部における輪郭上の所定点(図1
の(c)におけるB1〜B6)を確実に捉えることがで
きる。また、直線Lは搬送コンベア2の表面であるた
め、画像上は、ほぼ固定された一定の直線である。
On the other hand, a straight line C parallel to the X axis is not based on an image taken from the CCD camera 5, but is an auxiliary line for image processing. This auxiliary line C is fixed regardless of the size of the bottle diameter. Not only in the case of a beer bottle as shown, but also in the case of a small bottle such as a drink, the Y coordinate position of the auxiliary line C is set so as to be located between the center line of the bottle in the horizontal direction and the straight line L. Is set. As a result, a predetermined point on the contour of the upper part of the bottle 1 described later (FIG. 1)
(C) in (c) can be reliably grasped. Further, since the straight line L is the surface of the conveyor 2, it is a substantially fixed fixed straight line on the image.

【0015】(a)に示す画像に対して、CPUは、ス
テップ104において瓶1の図心G(重心)の算出を行
う。図心Gは、瓶1を表す黒のピクセルの集合体を有限
個の等質点系として、その質量中心を演算することによ
り求められる。すなわち、図心Gの座標(Xg,Yg)
は、瓶1を表す黒のピクセルの個数をn、各ピクセルの
座標を(X1,Y1)、(X2,Y2)、...、(X
n,Yn)とすると、 Xg=(X1+X2+...+Xn)/n Yg=(Y1+Y2+...+Yn)/n である。
The CPU calculates the centroid G (centroid) of the bottle 1 in step 104 with respect to the image shown in FIG. The centroid G is obtained by calculating the center of mass of a set of black pixels representing the bottle 1 as a finite number of iso-mass systems. That is, the coordinates (Xg, Yg) of the centroid G
Represents the number of black pixels representing bottle 1 as n, and the coordinates of each pixel as (X1, Y1), (X2, Y2),. . . , (X
n, Yn), Xg = (X1 + X2 +... + Xn) / n Yg = (Y1 + Y2 +... + Yn) / n.

【0016】上記のようにして求められる図心は、ビー
ル瓶やワインボトルのように光の透過量が少ない対象物
に対しては精度が高いが、着色されていない透明瓶やプ
ラスチックボトルのような対象物に対しては精度が低
い。続いてCPUは、ステップ105において、図心G
と同一Y座標で白の領域との境界を成すピクセルを検索
する。このピクセルは左右に2つあるが、図心Gからの
距離の近い方が瓶底であるとの判断により、CPUは、
図心Gを基準位置として、瓶1の底部における点Aのピ
クセルまでの距離Δxを求める(図1の(b)参照)。
The centroid obtained as described above is highly accurate for an object having a small amount of light transmission such as a beer bottle or a wine bottle, but is high for an uncolored transparent bottle or a plastic bottle. Accuracy is low for objects. Subsequently, the CPU proceeds to step 105 to display the centroid G
Then, a pixel forming a boundary with the white area at the same Y coordinate as that of is searched. Although there are two pixels on the left and right, the CPU determines that the one closer to the center of gravity G is the bottom of the bottle.
Using the centroid G as a reference position, the distance Δx to the pixel at the point A at the bottom of the bottle 1 is determined (see FIG. 1B).

【0017】上記Δxの値は、瓶種(瓶の種類)によっ
て異なる。従って、特定メーカーのビール瓶の大瓶及び
中瓶を選別したい場合には、これらのΔxを予め測定
し、許容誤差を含めた所定の範囲を、画像処理装置7に
選別用データとして設定しておく。CPUはステップ1
06において、距離Δxが、ステップ100で指定され
た瓶について設定された所定の範囲内にあるか否かを判
断する(第1の選別)。ここで、判断結果がノーの場合
は、対象物が所望のビール瓶である可能性は極めて少な
いため、CPUはステップ110にジャンプして対象物
が通過するのを待つ。対象物が通過したら、CPUはス
テップ101に戻り、次の対象物を待つ。一方、ステッ
プ106における判断結果がイエスであれば、CPUは
次の選別過程に進む(ステップ107)。なお、図心G
が正確に算出されている場合、上記ステップ106にお
けるイエスの判断により極めて正確に所望の瓶を選別す
ることができる。但し、前述のように図心Gの精度が低
い場合には、所望の瓶ではないにもかかわらずステップ
106の判断結果がイエスとなる場合もあり得る。そこ
で、さらに以下に述べる第2の選別を行う。
The value of Δx varies depending on the bottle type (bottle type). Therefore, when it is desired to sort large and medium beer bottles of a specific maker, Δx is measured in advance, and a predetermined range including an allowable error is set in the image processing device 7 as sorting data. CPU goes to step 1
At 06, it is determined whether or not the distance Δx is within a predetermined range set for the bottle specified in step 100 (first sorting). Here, if the determination result is no, the CPU jumps to step 110 and waits for the target object to pass because there is very little possibility that the target object is a desired beer bottle. When the object has passed, the CPU returns to step 101 and waits for the next object. On the other hand, if the decision result in the step 106 is YES, the CPU proceeds to the next selection process (step 107). The centroid G
Is accurately calculated, a desired bottle can be selected very accurately by the determination of YES in the above-described step 106. However, when the accuracy of the centroid G is low as described above, the determination result of step 106 may be YES even though the bottle is not the desired bottle. Therefore, a second sorting described below is further performed.

【0018】ステップ107においてCPUは、底部の
点Aと同一のX座標を有する補助線C上の基準位置B0
を求める(図1の(c)参照)。点Aは図心Gに基づい
て求められ、基準位置B0は点Aに基づいて求められる
ことから、基準位置B0も図心Gを参照して求められて
いることになる。しかしながら、基準位置B0のY座標
は補助線Cに基づく一定値であり、X座標は瓶底によっ
て決まるため、基準位置B0の座標は図心Gの精度には
左右されない。
In step 107, the CPU determines a reference position B0 on the auxiliary line C having the same X coordinate as the point A at the bottom.
(See FIG. 1 (c)). Since the point A is obtained based on the centroid G and the reference position B0 is obtained based on the point A, the reference position B0 is also obtained with reference to the centroid G. However, since the Y coordinate of the reference position B0 is a constant value based on the auxiliary line C and the X coordinate is determined by the bottle bottom, the coordinates of the reference position B0 do not depend on the accuracy of the centroid G.

【0019】CPUは、上記基準位置B0からX方向に
所定の距離Δx1離れたX座標位置の最上部に存在する
黒領域のピクセルによって表される点B1の、基準位置
B0に対する距離Δy1を求める。同様にして、X方向
にそれぞれ所定の距離Δx2,Δx3,Δx4,Δx5,Δ
x6離れたX座標を有し、かつ、瓶1の画像の上部輪郭
を構成する複数の点B2,B3,B4,B5,B6につい
て、それぞれ、基準位置B0からのY方向の距離Δy
2,Δy3,Δy4,Δy5,Δy6を求める。画像処理装
置7には、これらのX方向の距離に対するY方向の距離
が、予め選別する瓶ごとに測定され、選別用データとし
て画像処理装置7に記憶されている。従ってCPUは、
上記のようにして求めた距離Δy1〜Δy6と、ステッ
プ100で指定された瓶についての記憶された値とを比
較して、距離Δy1〜Δy6が、記憶された値と所定の
許容誤差範囲内で一致するか否かを判断し(ステップ1
08)、すべて一致する場合には、同一性ありと認め、
対象物は指定された瓶種であると特定する。従って、C
PUは、当該対象物を取り出すべく、制御装置8に対し
て取出し指令を出力する(ステップ109)。一方、一
つでも一致しないものがあれば、CPUはステップ10
8から110にジャンプして、対象物の通過待ちを行
う。そして、対象物が通過すれば、CPUはステップ1
01に戻って、次の対象物の到来を待つ。
The CPU obtains the distance Δy1 of the point B1 represented by the pixel of the black region existing at the top of the X coordinate position at a predetermined distance Δx1 from the reference position B0 in the X direction with respect to the reference position B0. Similarly, predetermined distances Δx2, Δx3, Δx4, Δx5, Δ
For a plurality of points B2, B3, B4, B5, and B6 that have X coordinates that are x6 apart and that form the upper contour of the image of bottle 1, each distance Δy in the Y direction from reference position B0.
2, Δy3, Δy4, Δy5, Δy6 are determined. In the image processing device 7, the distance in the Y direction with respect to the distance in the X direction is measured in advance for each bottle to be sorted, and is stored in the image processing device 7 as sorting data. Therefore, the CPU
By comparing the distances Δy1 to Δy6 determined as described above with the stored values for the bottle specified in step 100, the distances Δy1 to Δy6 are set within the predetermined allowable error range with the stored values. It is determined whether they match (step 1
08) If all match, the identity is recognized.
The target object is specified as a specified bottle type. Therefore, C
The PU outputs a removal command to the control device 8 in order to remove the object (Step 109). On the other hand, if any one does not match, the CPU proceeds to step 10
Jump from 8 to 110 and wait for the passage of the object. If the object passes, the CPU proceeds to step 1
It returns to 01 and waits for the arrival of the next object.

【0020】上記のような第2の選別によれば、瓶底の
基準位置B0を基点として、瓶の輪郭上の相対的な位置
情報が複数箇所でチェックされるため、極めて正確に瓶
類を識別し、所望の瓶を選別することができる。特に、
ビール瓶はメーカーにより点B3〜B5の形状が明瞭に
異なるため、上記のようなチェックにより、正確に所望
の瓶を選別することができる。なお、上記の例ではB1
〜B6の6点についてチェックしたが、6点に限らず、
必要に応じて増減できることはいうまでもない。また、
前述のように、基準位置B0は図心Gの精度に左右され
ないため、図心Gの精度が良くない場合でも、これに影
響されることなく、正確に瓶の選別を行うことができ
る。
According to the above-described second sorting, relative position information on the outline of the bottle is checked at a plurality of locations with reference to the reference position B0 at the bottom of the bottle. Once identified, the desired bottle can be sorted. In particular,
Since the shapes of the points B3 to B5 of the beer bottles are clearly different depending on the maker, a desired bottle can be accurately selected by the above check. In the above example, B1
I checked about 6 points of ~ B6, but not limited to 6 points,
Needless to say, it can be increased or decreased as needed. Also,
As described above, since the reference position B0 is not affected by the accuracy of the centroid G, even if the accuracy of the centroid G is not good, the bottles can be accurately sorted without being affected by the accuracy.

【0021】なお、上記実施形態(図1)において、瓶
1が前後逆すなわち右方が瓶底になっている場合がある
が、図心Gからの距離が近い方を上記距離Δxとするこ
とにより、同様に瓶の選別を行うことができる。なお、
この場合、Δx、Δx1、Δx2等は、上記実施形態の
場合とは逆符号方向に設定される。
In the above embodiment (FIG. 1), the bottle 1 may be upside down, that is, the right side is the bottom of the bottle. The shorter distance from the centroid G is defined as the distance Δx. Thus, sorting of bottles can be performed in the same manner. In addition,
In this case, Δx, Δx1, Δx2, etc. are set in the opposite sign direction to that in the above embodiment.

【0022】また、上記実施形態においては第1の選別
に加えて第2の選別を行ったが、例えばビール瓶のみが
搬送されるラインであれば、図心Gの精度が常に高いの
で、第2の選別を省略することもできる。この場合のフ
ローチャートは図4に示すように、図3のステップ10
7及び108を省略した形となる。一方、第1の選別を
省略して、第2の選別のみを行うこともできる。この場
合、CPUは、図3のステップ104からステップ10
7へジャンプする。
In the above-described embodiment, the second sorting is performed in addition to the first sorting. However, for example, in a line where only beer bottles are conveyed, the accuracy of the centroid G is always high. Can be omitted. The flow chart in this case is as shown in FIG.
7 and 108 are omitted. On the other hand, it is also possible to omit the first sorting and perform only the second sorting. In this case, the CPU proceeds from step 104 to step 10 in FIG.
Jump to 7.

【0023】図5は、上記のように動作する画像処理装
置7の内部機能をブロック図で表現したものである。図
において、画像処理装置7は、位置検出手段71、照合
手段72、出力手段73、基準位置設定手段74及び記
憶手段75を含んで構成されている。基準位置設定手段
74は、CCDカメラ5によって撮影された対象物の画
像の図心Gを求め(ステップ104)、この図心Gを第
1の選別における基準位置とする。また、基準位置設定
手段74は、さらに、この図心Gを参照して当該画像の
瓶底部所定点に基準位置B0を設定する(ステップ10
7)。位置算出手段71は、第1の選別においては、画
像の輪郭上の所定点Aについての基準位置(G)に対す
る相対的な位置情報を算出する(ステップ105)。ま
た、第2の選別において位置検出手段71は、画像の輪
郭を構成する複数の所定点B1〜B6に関して、基準位
置B0に対する相対的な位置情報を算出する(ステップ
107)。記憶手段75は、選別する瓶種ごとに予め測
定した上記の位置情報を選別用データとして記憶してい
る。照合手段72は、位置算出手段71によって算出さ
れた位置情報を、記憶手段75に記憶されている選別用
データのうち指定されたものと照合する(ステップ10
6,108)。出力手段73は、第1の選別において
は、位置算出手段71によって算出された位置情報が、
指定された選別用データと同一性を有する場合、当該対
象物の取出し指令を出力する(図4のステップ106,
109)。また、第2の選別において出力手段73は、
位置算出手段71によって算出されたすべての位置情報
が、指定された選別用データと同一性を有する場合、当
該対象物の取出し指令を出力する(図3のステップ10
8,109)。
FIG. 5 is a block diagram showing the internal functions of the image processing apparatus 7 operating as described above. In the figure, the image processing apparatus 7 includes a position detecting unit 71, a collating unit 72, an output unit 73, a reference position setting unit 74, and a storage unit 75. The reference position setting means 74 obtains a centroid G of the image of the object photographed by the CCD camera 5 (step 104), and sets this centroid G as a reference position in the first sorting. Further, the reference position setting means 74 further sets a reference position B0 at a predetermined point on the bottle bottom of the image with reference to the centroid G (step 10).
7). In the first sorting, the position calculating means 71 calculates relative position information of the predetermined point A on the contour of the image with respect to the reference position (G) (step 105). Further, in the second sorting, the position detecting means 71 calculates relative position information with respect to the reference position B0 for a plurality of predetermined points B1 to B6 constituting the outline of the image (step 107). The storage means 75 stores the above-described position information measured in advance for each bottle type to be sorted as sorting data. The collation means 72 collates the position information calculated by the position calculation means 71 with the designated data among the sorting data stored in the storage means 75 (step 10).
6, 108). The output means 73 outputs the position information calculated by the position calculation means 71 in the first selection.
If it has the same identity as the specified sorting data, a command to take out the object is output (step 106 in FIG. 4,
109). In the second sorting, the output unit 73
If all the position information calculated by the position calculation means 71 has the same identity as the specified sorting data, a command to take out the object is output (step 10 in FIG. 3).
8, 109).

【0024】なお、上記実施形態では、図2に示すよう
に瓶1を側方からシルエットとして撮影したが、搬送コ
ンベア2の上方にCCDカメラ5を配置して瓶1を真上
から撮影してもよい。この場合も、図1に示したように
瓶1の輪郭上の所定点をチェックすることにより、同様
に選別を行うことができる。但し、瓶1の形状が際立つ
ように、瓶1に対して多方から光を当てることが望まし
い。
In the above embodiment, the bottle 1 is photographed as a silhouette from the side as shown in FIG. 2, but the CCD camera 5 is arranged above the conveyor 2 to photograph the bottle 1 from directly above. Is also good. In this case as well, sorting can be performed similarly by checking a predetermined point on the outline of the bottle 1 as shown in FIG. However, it is desirable to irradiate the bottle 1 with light from many directions so that the shape of the bottle 1 stands out.

【0025】[0025]

【発明の効果】以上のように構成された本発明は以下の
効果を奏する。請求項1の瓶類の選別装置によれば、対
象物の画像の図心を基準位置として、輪郭上の所定点の
位置情報をチェックすることにより対象物の形状が識別
され、所望の瓶が選別される。図心を基準位置とした上
記所定点までの位置情報は瓶種により異なるため、正確
かつ迅速な選別を行うことができる。
The present invention configured as described above has the following effects. According to the bottle sorter of the first aspect, the shape of the object is identified by checking the position information of a predetermined point on the contour with the centroid of the image of the object as the reference position, and the desired bottle is identified. Be sorted out. Since the position information up to the predetermined point with the centroid as the reference position differs depending on the bottle type, accurate and quick sorting can be performed.

【0026】請求項2の瓶類の選別装置によれば、対象
物の画像の瓶底部所定点を基準位置として、画像の輪郭
を構成する複数の所定点までの相対的な位置情報をチェ
ックすることにより対象物の形状が識別され、所望の瓶
が選別される。瓶底部所定点を基準位置とした上記複数
の所定点までの位置情報は瓶種により異なるため、正確
かつ迅速な選別を行うことができる。また、基準位置を
設定するにあたって図心を参照してはいるが、基準位置
は瓶底部所定点にあるため、図心の精度に左右されるこ
となく、正確な選別を行うことができる。
According to the bottle sorter of the second aspect, relative position information up to a plurality of predetermined points forming the contour of the image is checked with the predetermined point at the bottom of the bottle of the image of the object as a reference position. Thereby, the shape of the object is identified, and a desired bottle is selected. Since the position information up to the plurality of predetermined points with the bottle bottom predetermined point as the reference position differs depending on the bottle type, accurate and quick sorting can be performed. In addition, although the centroid is referred to when setting the reference position, since the reference position is at a predetermined point on the bottom of the bottle, accurate sorting can be performed without being affected by the accuracy of the centroid.

【0027】請求項3の瓶類の選別装置によれば、対象
物の画像の図心から瓶底部までの相対的な位置情報に基
づいて第1の選別が行われるとともに、瓶底部の基準位
置から画像の輪郭を構成する複数の所定点までの相対的
な位置情報に基づいて第2の選別が行わる。従って、選
別基準の異なる2種類の形状選別を行うことにより、所
望の瓶を極めて正確かつ迅速に選別することができる。
According to the bottle sorting apparatus of the third aspect, the first sorting is performed based on the relative position information from the centroid of the image of the object to the bottom of the bottle, and at the same time, from the reference position of the bottom of the bottle. The second sorting is performed based on relative position information up to a plurality of predetermined points forming the outline of the image. Therefore, a desired bottle can be sorted very accurately and quickly by performing two types of shape sorting with different sorting criteria.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の瓶の選別装置において、CCDカメラ
の画像信号にバイナリー処理を施して得られた瓶(ビー
ル瓶)の画像を、モニタ画面で見たとした場合の図であ
る。
FIG. 1 is a view showing a case where an image of a bottle (beer bottle) obtained by subjecting an image signal of a CCD camera to binary processing in a bottle sorting apparatus of the present invention is viewed on a monitor screen.

【図2】上記瓶類の選別装置の概略構成を示す斜視図で
ある。
FIG. 2 is a perspective view showing a schematic configuration of the bottle sorter.

【図3】上記瓶類の選別装置における画像処理装置の処
理内容を示すフローチャートである。
FIG. 3 is a flowchart showing processing contents of an image processing apparatus in the bottle sorter.

【図4】上記瓶類の選別装置における画像処理装置の他
の処理内容を示すフローチャートである。
FIG. 4 is a flowchart showing another processing content of the image processing device in the bottle sorter.

【図5】上記瓶類の選別装置における画像処理装置の内
部機能をブロック図で表現したものである。
FIG. 5 is a block diagram showing an internal function of an image processing device in the bottle sorter.

【符号の説明】[Explanation of symbols]

1 瓶 4 ランプ 5 CCDカメラ 6 ランプ 7 画像処理装置 71 位置算出手段 72 照合手段 73 出力手段 74 基準位置設定手段 75 記憶手段 B0 基準位置 G 図心(重心) Reference Signs List 1 bottle 4 lamp 5 CCD camera 6 lamp 7 image processing device 71 position calculating means 72 collating means 73 output means 74 reference position setting means 75 storage means B0 reference position G centroid (centroid)

───────────────────────────────────────────────────── フロントページの続き Fターム(参考) 2F065 AA17 AA52 BB05 DD03 DD06 FF02 FF42 HH02 HH13 HH17 JJ03 JJ26 PP15 QQ05 QQ21 QQ24 QQ32 QQ38 RR07 TT03 3F079 AD12 CA18 CA21 CA23 CB25 CB29 CB35 CC01 DA11 5B057 AA01 BA02 BA29 DA12 DC03 DC06 DC16 DC33 5L096 BA08 CA02 EA43 FA06 FA60 FA66 HA09  ──────────────────────────────────────────────────続 き Continued on the front page F-term (reference) 2F065 AA17 AA52 BB05 DD03 DD06 FF02 FF42 HH02 HH13 HH17 JJ03 JJ26 PP15 QQ05 QQ21 QQ24 QQ32 QQ38 RR07 TT03 3F079 AD12 CA18 CA21 CA23 CB25 CB29 DC02 ACO3 DC16 DC33 5L096 BA08 CA02 EA43 FA06 FA60 FA66 HA09

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】搬送されて来る瓶類を対象物としてこれを
撮影する撮影装置と、 前記撮影装置によって撮影された対象物の画像の図心を
求め、この図心を基準位置とする基準位置設定手段と、 前記画像の輪郭上の所定点についての前記基準位置に対
する相対的な位置情報を算出する位置算出手段と、 選別する瓶種ごとに予め測定した上記の位置情報を選別
用データとして記憶している記憶手段と、 前記位置算出手段によって算出された位置情報を、前記
記憶手段に記憶されている選別用データのうち指定され
たものと照合する照合手段と、 前記位置算出手段によって算出された位置情報が、前記
指定された選別用データと同一性を有する場合、当該対
象物の取出し指令を出力する出力手段とを備えたことを
特徴とする瓶類の選別装置。
1. A photographing apparatus for photographing bottles conveyed as an object, and a reference position of an image of the object photographed by the photographing device, and using the centroid as a reference position. Setting means; position calculating means for calculating relative position information with respect to the reference position for a predetermined point on the contour of the image; and storing the above-mentioned position information measured in advance for each bottle type to be sorted as sorting data. A storage unit that performs the position information calculation performed by the position calculation unit; and a comparison unit that compares the position information calculated by the position calculation unit with a designated one of the selection data stored in the storage unit. An output unit that outputs a command to take out the object when the positional information has the same identity as the specified sorting data.
【請求項2】搬送されて来る瓶類を対象物としてこれを
撮影する撮影装置と、 前記撮影装置によって撮影された対象物の画像の図心を
求め、この図心を参照して当該画像の瓶底部所定点に基
準位置を設定する基準位置設定手段と、 前記画像の輪郭を構成する複数の所定点に関して、前記
基準位置に対する相対的な位置情報を算出する位置算出
手段と、 選別する瓶種ごとに予め測定した上記の位置情報を選別
用データとして記憶している記憶手段と、 前記位置算出手段によって算出された位置情報を、前記
記憶手段に記憶されている選別用データのうち指定され
たものと照合する照合手段と、 前記位置算出手段によって算出されたすべての位置情報
が、前記指定された選別用データと同一性を有する場
合、当該対象物の取出し指令を出力する出力手段とを備
えたことを特徴とする瓶類の選別装置。
2. An imaging device for photographing bottles conveyed as an object, and a centroid of an image of the object photographed by the imaging device is determined, and the centroid of the image is determined with reference to the centroid. Reference position setting means for setting a reference position at a predetermined point on the bottom of the bottle; position calculating means for calculating relative position information with respect to the reference position for a plurality of predetermined points forming the contour of the image; Storage means for storing the position information measured in advance for each of the pieces of data as selection data, and the position information calculated by the position calculation means, specified in the selection data stored in the storage means A collating means for collating the object with the object; and outputting, when all the position information calculated by the position calculating means have the sameness as the designated sorting data, a command to take out the object. Sorting apparatus of bottles, characterized in that an output means.
【請求項3】搬送されて来る瓶類を対象物としてこれを
撮影する撮影装置と、 前記撮影装置によって撮影された対象物の画像の図心を
求めるとともに、この図心を参照して前記画像の瓶底部
所定点に基準位置を設定する基準位置設定手段と、 前記図心から前記画像の瓶底部までの相対的な位置情報
を算出し、これを、予め記憶した第1の選別用データと
照合して同一性を判定する第1の選別手段と、前記基準
位置から前記画像の輪郭を構成する複数の所定点までの
相対的な位置情報を算出し、これらを、予め記憶した第
2の選別用データと照合して同一性を判定する第2の選
別手段と、 前記第1の選別手段及び前記第2の選別手段においてそ
れぞれ同一性が認められた場合、当該対象物の取出し指
令を出力する出力手段とを備えたことを特徴とする瓶類
の選別装置。
3. A photographing device for photographing bottles conveyed as an object, and a centroid of an image of the object photographed by the photographing device is determined, and the image is referred to with reference to the centroid. Reference position setting means for setting a reference position at a predetermined point on the bottom of the bottle, and calculating relative position information from the centroid to the bottom of the bottle of the image, and comparing the calculated position information with the first sorting data stored in advance. A first selection unit for determining the identity and relative position information from the reference position to a plurality of predetermined points constituting the contour of the image, and calculating them based on a second selection stored in advance. A second sorting unit that determines the identity by collating with the data for use, and when the first sorting unit and the second sorting unit determine the identity, respectively, outputs a command to take out the object. Output means. Sorting apparatus of bottles to be.
JP31711599A 1999-11-08 1999-11-08 Selector for bottles Pending JP2001134762A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP31711599A JP2001134762A (en) 1999-11-08 1999-11-08 Selector for bottles

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP31711599A JP2001134762A (en) 1999-11-08 1999-11-08 Selector for bottles

Publications (1)

Publication Number Publication Date
JP2001134762A true JP2001134762A (en) 2001-05-18

Family

ID=18084615

Family Applications (1)

Application Number Title Priority Date Filing Date
JP31711599A Pending JP2001134762A (en) 1999-11-08 1999-11-08 Selector for bottles

Country Status (1)

Country Link
JP (1) JP2001134762A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6491776B1 (en) * 2018-04-12 2019-03-27 株式会社Windy Tablet recognition or identification system and method
CN114130687A (en) * 2021-10-22 2022-03-04 南京认知物联网研究院有限公司 Product visual quality inspection method, system, computer equipment and storage medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6491776B1 (en) * 2018-04-12 2019-03-27 株式会社Windy Tablet recognition or identification system and method
JP2019180922A (en) * 2018-04-12 2019-10-24 株式会社Windy System and method for tablet recognition or identification
CN114130687A (en) * 2021-10-22 2022-03-04 南京认知物联网研究院有限公司 Product visual quality inspection method, system, computer equipment and storage medium

Similar Documents

Publication Publication Date Title
US11842477B2 (en) Object inspection and sorting system
KR102103048B1 (en) Optical granular substance sorter
US20160078414A1 (en) Solid waste identification and segregation system
JP2004050390A (en) Work taking out device
JP4959520B2 (en) Position and orientation recognition apparatus and method, and component picking system
JP2022550216A (en) Systems and methods for segmentation of transparent objects using polarization cues
CN113877836B (en) Intelligent identification sorting system based on visual detection system
CN111551559A (en) LCD (liquid Crystal display) liquid crystal screen defect detection method based on multi-view vision system
US7106896B2 (en) ID recognition apparatus and ID recognition sorter system for semiconductor wafer
CN106067031A (en) Cooperate with the degree of depth learning network Machine Vision Recognition system based on artificial mechanism for correcting errors
CN110889317A (en) Operation assisting device
JP2010243405A (en) Image processing marker, image processing apparatus for detecting position and attitude of marker displayed object, and image processing program
JP2001134762A (en) Selector for bottles
JPH08315152A (en) Image recognition device
JPH08201041A (en) Method for recognizing three-dimensional shape
JPH0991425A (en) Image processor
US20020191850A1 (en) Real time object localization and recognition from silhouette images
US20170200383A1 (en) Automated review of forms through augmented reality
CN110738068B (en) Automobile instrument board recognition device and method for rigid suspension chain
Kawollek et al. Machine vision for three-Dimensional modelling of gerbera jamesonii for automated robotic harvesting
JP6864722B2 (en) Inspection equipment, inspection methods and programs
JPS61156485A (en) Slice level determining method of visual device
JP2011167642A (en) Identification method of transparent container
CN116119275A (en) Production line control system based on multi-model cascading steel back surface detection
KR20050098211A (en) A system for checking the shape of an object using a plurality of cameras being obliquely disposed

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20060808

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060815

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20061016

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20070116