JP2550604B2 - Method of detecting monitored object of safety monitoring device - Google Patents
Method of detecting monitored object of safety monitoring deviceInfo
- Publication number
- JP2550604B2 JP2550604B2 JP62228261A JP22826187A JP2550604B2 JP 2550604 B2 JP2550604 B2 JP 2550604B2 JP 62228261 A JP62228261 A JP 62228261A JP 22826187 A JP22826187 A JP 22826187A JP 2550604 B2 JP2550604 B2 JP 2550604B2
- Authority
- JP
- Japan
- Prior art keywords
- monitored object
- brightness
- monitoring device
- background
- safety monitoring
- 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.)
- Expired - Lifetime
Links
Landscapes
- Manipulator (AREA)
- Image Analysis (AREA)
- Burglar Alarm Systems (AREA)
Description
【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、産業用ロボット,NC工作機械等の自動的に
動作することが可能な設備に付加された視覚機能を備え
る安全監視装置の被監視物体の検出方法に関する。DETAILED DESCRIPTION OF THE INVENTION [Industrial field of application] The present invention relates to a safety monitoring device having a visual function added to an automatically operable facility such as an industrial robot or an NC machine tool. The present invention relates to a method of detecting a surveillance object.
従来、この種の視覚機能付安全監視装置は自動機械の
危険領域を取り囲む様に監視領域を設定し、その上方に
カメラを設置して画像を取り込み解析していた。Conventionally, this type of safety monitoring device with a visual function sets a monitoring area so as to surround a dangerous area of an automatic machine, and installs a camera above the monitoring area to capture and analyze an image.
被監視物体の検出方法としては、透過光照明にて、被
監視物体をシルエット像として検出できれば、被監視物
体の明度特性に関らず検出可能であるが、設置される現
場環境から、透過光照明は設置不可能であり、背景を黒
色(又は黒色に近いもの)として、反射光による検出が
行なわれていた。As a method of detecting the monitored object, if the monitored object can be detected as a silhouette image by transmitted light illumination, it can be detected regardless of the brightness characteristics of the monitored object. The illumination cannot be installed, and the background is black (or something close to black), and detection is performed by reflected light.
この場合、背景と被監視物体との明度差により被監視
物体を識別することになるが、背景が黒色系である場
合、例えば黒色の安全靴等の検出が出来ないし、或いは
白い手袋であっても、作業で黒く汚れると検出が難しく
なるといった不具合が有り、安全靴に白(黄)線を入れ
たり、或いは手袋を頻繁に交換すること等で対処してい
た。In this case, the monitored object is identified by the difference in brightness between the background and the monitored object, but if the background is black, for example, black safety shoes cannot be detected, or if white gloves are used. However, there is a problem that it becomes difficult to detect if it becomes black when working, and the problem was addressed by putting white (yellow) lines on safety shoes or frequently changing gloves.
ここにおいて本発明は、従来方法の難点を克服し、被
監視物体の明度特性の如何に関らず被監視物体を検出で
きる方法を提供することを、その目的とする。It is an object of the present invention to provide a method capable of detecting a monitored object regardless of the brightness characteristics of the monitored object, overcoming the drawbacks of the conventional method.
そこで本発明は、 上方に配設する1つのカメラの監視領域を少なくとも
2つに分割し、背景を従来の黒色系のものと、それより
明度の高い背景とにし、それら分割された監視領域毎に
ウインドウを設定し、 黒色系の背景側では、背景のレベルより少し上の明度
レベル以上の明度レベルの画素を白“1"とする様に、 又、明度の高い背景側では、背景の明度レベルより少
し低い明度レベル以下の明度レベルにある画素を白“1"
とする様に2値化し、白“1"の総画素数を計数し被監視
物体を検出する 安全監視装置の被監視物体検出方法である。Therefore, in the present invention, the surveillance area of one camera arranged above is divided into at least two, and the background is made of a conventional black type and a background of higher brightness, and each of the divided surveillance areas is divided into two areas. Set the window to, and on the black background side, set the pixels with brightness level slightly higher than the background level to white “1”, and on the background side with high brightness, the background brightness. Pixels at brightness levels that are slightly lower than the brightness level that are lower than the level are white "1"
It is a method of detecting a monitored object in a safety monitoring device, which binarizes as described above and counts the total number of white "1" pixels to detect the monitored object.
この様にすると、黒色系の背景領域で従来通りの例え
ば入手,ヘルメット等の検出が出来、従来検出困難であ
った例えば安全靴、汚れた手袋等は明度の高い背景領域
で検出できることになり、従って被監視物体が如何なる
明度特性であっても検出が可能となる。By doing this, it is possible to detect, for example, conventional acquisition, helmets, etc. in the black background area, and it is possible to detect, for example, safety shoes, dirty gloves, etc., which were difficult to detect in the background area of high brightness, Therefore, it is possible to detect whatever brightness characteristic the monitored object has.
以下、本発明による安全監視装置の被監視物体検出方
法を、図面に示す一実施例に基づいて具体的に説明す
る。Hereinafter, a method of detecting a monitored object of a safety monitoring device according to the present invention will be specifically described based on an embodiment shown in the drawings.
第1図は、作業員が治具台8上に溶接部品9をセット
した後、安全な領域に退いて溶接開始ボタン(図示せ
ず)を押すと、スポット溶接ロボット7が動作し、溶接
を開始する。この時設備に付加された安全監視装置が作
動する。FIG. 1 shows that after the worker sets the welding part 9 on the jig base 8 and then moves back to a safe area and presses the welding start button (not shown), the spot welding robot 7 operates to perform welding. Start. At this time, the safety monitoring device added to the equipment operates.
安全監視装置は、画像処理機能を備えた装置であり、
溶接ロボット7の周囲を4領域6a,6b,6c,6dに分割し、
各領域毎に上方にカメラ1〜カメラ4を設置しており、
計4台のカメラを配設している。The safety monitoring device is a device having an image processing function,
The circumference of the welding robot 7 is divided into four areas 6a , 6b , 6c , 6d ,
Cameras 1 to 4 are installed above each area,
There are four cameras in total.
この一実施例では第2図に表わす様に、背景を2領域
61,62に分割し、各領域に納まる様にウインドウ1・63,
ウインドウ2・64を設定している。In this embodiment, as shown in FIG.
It is divided into 61 and 62, and windows 1 and 63, so that they fit into each area
Window 2/64 is set.
監視領域61は設備側65で黒色系の背景であり、監視領
域62は反設備側66で緑色系である。後者は明るい方が良
いのであるが、例えば作業員の靴等で汚れ易いのでこう
いう緑色系にしている。The monitoring area 61 is a black background on the equipment side 65, and the monitoring area 62 is a green background on the non-equipment side 66. It is better for the latter to be bright, but it is easy to get dirty with shoes of workers, for example, so it is made green.
そして、監視領域6a,6b,6c,6dごとに、同様な手段を
施す。Then, for each monitoring area 6 a, 6 b, 6 c , 6 d, subjected to similar means.
さて、第3図は明度に対応する画素数を表わすヒスト
グラムである。Now, FIG. 3 is a histogram showing the number of pixels corresponding to the brightness.
第3図aにウインドウ1・63のヒストグラム例を示
す。2値化レベル6a2を背景のレベル6a1より少し上に設
定し、このレベルLEV1・6a2以上の明度レベルの画素を
白“1"とする。そうすると安全靴6a3等を除いて人手6a
5,作業服6a4等が画像として残ることになる。FIG. 3a shows an example of a histogram of window 1.63. The binarization level 6a2 is set to be slightly higher than the background level 6a1, and the pixels having the brightness level of LEV1 · 6a2 or higher are set to white “1”. Then, except for safety shoes 6a3 etc.
5, work clothes 6a4 etc. will remain as images.
又、ウインドウ2・64のヒストグラムを第3図bに表
わす。2値化レベル2b2を背景レベル6b1より少し低いレ
ベルLEV2・6b2に設定し、このレベル以下の明度レベル
の画素を白“1"とする。するの今度は安全靴6b3等が画
像として残ることになる。Also, the histogram of window 2.64 is shown in FIG. The binarization level 2b2 is set to a level LEV2 · 6b2 which is slightly lower than the background level 6b1, and the pixels of the lightness level below this level are set to white “1”. This time, safety shoes 6b3 etc. will remain as images.
この様にして、視野内の被監視物体はその明度に関ら
ず画像に捕えられることになる。In this way, the monitored object in the field of view is captured in the image regardless of its brightness.
安全監視装置は、まずカメラ1の画像を入力し、ウイ
ンドウ1・63及びウインドウ2・64内の白“1"の画素数
を計数する。次にカメラ2の画像を取込み同様に画素数
を計数する。次にカメラ4を同様に処理する。First, the safety monitoring device inputs the image of the camera 1 and counts the number of white "1" pixels in the windows 1.63 and 2.664. Next, the image of the camera 2 is taken in and the number of pixels is counted similarly. Next, the camera 4 is similarly processed.
そして、カメラ1〜カメラ4の検出画素数のうち、各
々定められた基準値以上のものがあれば、溶接ロボット
7に対して動作不可信号を出力し、全てのカメラの画素
数が各々定められた基準値より小であれば、動作可信号
を出力する。If any of the detected pixel numbers of the cameras 1 to 4 is greater than or equal to the determined reference value, an operation disable signal is output to the welding robot 7, and the pixel numbers of all the cameras are determined. If it is smaller than the reference value, the operation enable signal is output.
安全監視装置は以上の動作を繰り返すことにより、被
監視物体の明度に関らず、安全監視が行なえる。By repeating the above operation, the safety monitoring device can perform safety monitoring regardless of the brightness of the monitored object.
本発明の画像処理の流れ図を第4図に表わす。 A flow chart of the image processing of the present invention is shown in FIG.
カメラ1〜カメラ4からステップ50で濃淡画像が入力
し、ステップ511で2値化されステップ512でウインドウ
1を求めステップ513で画素計数するとともに、これと
並行してステップ521〜ステップ5n1で2値化が行なわ
れ、ウインドウ2〜ウインドウnが求められステップ52
3〜ステップ5n3でそれらの画素計数が行なわれるととも
に、ステップ53でヒストグラムが生成される。A grayscale image is input from camera 1 to camera 4 in step 50, binarized in step 511, window 1 is obtained in step 512, and pixels are counted in step 513. In parallel with this, binarization is performed in steps 521 to 5n1. Is performed, window 2 to window n are obtained, and step 52 is performed.
The pixels are counted in steps 3 to 5n3, and a histogram is generated in step 53.
以上説明した様に、本発明によれば背景を2領域に分
割し、各領域毎にウインドウを設定し、各ウインドウ毎
に異なる2値化レベルで2値化処理することで、如何な
る明度特性の被監視物体も確実に検出できることにな
り、従来の様に安全靴に白(黄)線を入れたり、或いは
手袋を交換する等の処置が不要となり、安全監視装置の
信頼性が高まり、作業の効率が著しく向上する。As described above, according to the present invention, by dividing the background into two regions, setting a window for each region, and performing binarization processing with a different binarization level for each window, it is possible to obtain any brightness characteristic. The monitored object can also be detected with certainty, which eliminates the need for the white (yellow) wire on the safety shoes or the replacement of gloves as in the past, which increases the reliability of the safety monitoring device and improves the work efficiency. The efficiency is significantly improved.
第1図は本発明の一実施例を表わす概要斜視図、第2図
はこの一実施例における背景の分割及びウインドウの設
定を説明する図、第3図は被監視物体の抽出可能性を説
明する為の図、第4図は安全監視装置の画像処理の流れ
図である。 5……安全監視装置(画像処理装置)、6a,6b,6c,6d…
…監視領域(背景)、7……溶接ロボット、8……治具
台、9……溶接部品、61……監視領域1(黒色系)、62
……監視領域2(緑色系)、63……ウインドウ1、64…
…ウインドウ2。FIG. 1 is a schematic perspective view showing an embodiment of the present invention, FIG. 2 is a view for explaining background division and window setting in this embodiment, and FIG. 3 is a possibility of extracting a monitored object. FIG. 4 is a flowchart for image processing of the safety monitoring device. 5 ... Safety monitoring device (image processing device), 6a , 6b , 6c , 6d ...
… Monitoring area (background), 7… Welding robot, 8… Jig stand, 9… Welding part, 61… Monitoring area 1 (black), 62
…… Monitoring area 2 (green), 63 …… Window 1, 64…
... Window 2.
Claims (1)
各ウインドウ毎に異なる明度レベルで2値化を行ない、
2値化後の白(“1")の画素を計数する機能を設けた視
覚機能を備える安全監視装置の被監視物体の検出方法で
あって、 監視領域を少なくとも2分し、各領域を明度の異なる背
景にし、各領域内にウインドウを設定し、 明度の低い背景側で背景より明度の高い被監視物体を検
出し、 明度の高い背景側で背景より明度の低い被監視物体を検
出する ことを特徴とする安全監視装置の被監視物体検出方法。1. A plurality of windows are set in the field of view,
Binarization is performed with different brightness levels for each window.
A method for detecting a monitored object in a safety monitoring device having a visual function provided with a function of counting white (“1”) pixels after binarization, wherein the monitoring area is divided into at least two parts, and each area is set to a brightness value. Different backgrounds are set up, and windows are set in each area, and the monitored object with higher brightness than the background is detected on the background side with low brightness, and the monitored object with lower brightness than the background is detected on the background side with high brightness. And a method for detecting a monitored object in a safety monitoring device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP62228261A JP2550604B2 (en) | 1987-09-14 | 1987-09-14 | Method of detecting monitored object of safety monitoring device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP62228261A JP2550604B2 (en) | 1987-09-14 | 1987-09-14 | Method of detecting monitored object of safety monitoring device |
Publications (2)
Publication Number | Publication Date |
---|---|
JPS6474392A JPS6474392A (en) | 1989-03-20 |
JP2550604B2 true JP2550604B2 (en) | 1996-11-06 |
Family
ID=16873700
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP62228261A Expired - Lifetime JP2550604B2 (en) | 1987-09-14 | 1987-09-14 | Method of detecting monitored object of safety monitoring device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2550604B2 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0726624B2 (en) * | 1989-08-10 | 1995-03-29 | 三菱電機株式会社 | Oil rotary vacuum pump shaft seal device |
-
1987
- 1987-09-14 JP JP62228261A patent/JP2550604B2/en not_active Expired - Lifetime
Also Published As
Publication number | Publication date |
---|---|
JPS6474392A (en) | 1989-03-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7116814B2 (en) | Image-based container defects detector | |
US9628659B2 (en) | Method and apparatus for inspecting an object employing machine vision | |
CN113469974B (en) | Method and system for monitoring state of grate plate of pellet grate | |
EP4129566A1 (en) | Information processing device and machine tool | |
JP2550604B2 (en) | Method of detecting monitored object of safety monitoring device | |
JPS63306894A (en) | Safety monitor method | |
JPH06308256A (en) | Cloudy fog detecting method | |
JP7496080B2 (en) | Machine Tools | |
JPH0514891A (en) | Image monitor device | |
JP2865442B2 (en) | Method of extracting change area of surveillance image | |
JPH0781677B2 (en) | Self-diagnosis method for safety monitoring device | |
JPH07192186A (en) | Method for abnormality detection using image | |
JPH0538655A (en) | Safety monitoring system for working machine | |
JP3311880B2 (en) | Automatic detection device for fruits and vegetables injury | |
JPH06126685A (en) | Intrusion detector | |
JPS6315116B2 (en) | ||
JPH0512591A (en) | Monitoring device | |
JPH0514898A (en) | Image monitor device | |
JPH04196993A (en) | Image monitor device | |
JP2877279B2 (en) | Arc shape detector for TIG welding | |
JP2503613B2 (en) | Abnormality monitoring device | |
JP3190173B2 (en) | Semiconductor device appearance inspection method and appearance inspection device | |
JPH04200084A (en) | Image monitor device | |
JPH0760459B2 (en) | Corner detector | |
JPH01240294A (en) | Image take in method for safety monitoring device |