JP7492226B2 - Moving object tracking device - Google Patents
Moving object tracking device Download PDFInfo
- Publication number
- JP7492226B2 JP7492226B2 JP2019216362A JP2019216362A JP7492226B2 JP 7492226 B2 JP7492226 B2 JP 7492226B2 JP 2019216362 A JP2019216362 A JP 2019216362A JP 2019216362 A JP2019216362 A JP 2019216362A JP 7492226 B2 JP7492226 B2 JP 7492226B2
- Authority
- JP
- Japan
- Prior art keywords
- identification code
- moving object
- identification
- code
- codes
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 claims description 71
- 230000008569 process Effects 0.000 claims description 68
- 230000010354 integration Effects 0.000 claims description 32
- 238000012545 processing Methods 0.000 claims description 31
- 208000003580 polydactyly Diseases 0.000 claims description 21
- 230000007717 exclusion Effects 0.000 claims description 18
- 230000008859 change Effects 0.000 claims description 16
- 230000006870 function Effects 0.000 claims description 11
- 238000004891 communication Methods 0.000 claims description 9
- 238000003384 imaging method Methods 0.000 claims description 8
- 238000010801 machine learning Methods 0.000 claims description 7
- 238000012790 confirmation Methods 0.000 claims description 6
- 230000036962 time dependent Effects 0.000 claims 3
- 239000000284 extract Substances 0.000 description 20
- 238000010276 construction Methods 0.000 description 16
- 238000010586 diagram Methods 0.000 description 16
- 238000013135 deep learning Methods 0.000 description 9
- 238000012549 training Methods 0.000 description 7
- 230000006399 behavior Effects 0.000 description 5
- 230000003203 everyday effect Effects 0.000 description 3
- 210000003371 toe Anatomy 0.000 description 3
- 230000002354 daily effect Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000001454 recorded image Methods 0.000 description 2
- 230000004044 response Effects 0.000 description 2
- 238000011410 subtraction method Methods 0.000 description 2
- 230000002123 temporal effect Effects 0.000 description 2
- 230000009466 transformation Effects 0.000 description 2
- 235000013361 beverage Nutrition 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 239000003086 colorant Substances 0.000 description 1
- 230000008602 contraction Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000000605 extraction Methods 0.000 description 1
- 210000002683 foot Anatomy 0.000 description 1
- 230000005484 gravity Effects 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000010422 painting Methods 0.000 description 1
- 238000007639 printing Methods 0.000 description 1
- 238000004381 surface treatment Methods 0.000 description 1
Landscapes
- Closed-Circuit Television Systems (AREA)
- Image Analysis (AREA)
Description
この発明は、作業場、施設などの対象領域における、人や移動機械などの追跡に関するものである。 This invention relates to tracking people, moving machines, etc. in a target area such as a workplace, facility, etc.
作業場、施設などにおいて、人や移動機械などの場所を追跡することが行われている。追跡を行うことにより、行動を把握したり、危険領域への警告を行ったりする等の処理を行うことができる。 In workplaces, facilities, etc., the locations of people and mobile machines are tracked. By tracking, it is possible to understand their behavior and issue warnings about dangerous areas, etc.
特許文献1には、人に携帯用の送受信機を装着しておき、当該携帯用の送受信機と通信可能な複数の位置特定装置を設けて、人の位置を特定して追跡するシステムが開示されている。 Patent document 1 discloses a system in which a person is fitted with a portable transceiver and multiple location identification devices capable of communicating with the portable transceiver are provided to identify and track the person's location.
特許文献2には、カメラにて人を撮像して特定し、撮像画像に基づいて人の移動軌跡を求めて記録するシステムが開示されている。このシステムによれば、人に送受信機を携帯させる必要がなく、移動軌跡を取得することができる。 Patent document 2 discloses a system that uses a camera to capture and identify people, and determines and records the movement trajectory of the person based on the captured image. With this system, it is possible to obtain the movement trajectory without requiring people to carry a transceiver.
特許文献3には、作業機械などにGPS受信機を装着しておき、作業機械の移動軌跡を追跡するシステムが開示されている。したがって、作業機械などの稼働状況を遠隔から把握することができる。 Patent document 3 discloses a system in which a GPS receiver is attached to a work machine or the like, and the movement trajectory of the work machine is tracked. This makes it possible to remotely grasp the operating status of the work machine or the like.
しかしながら、上記のような従来技術においては、次のような問題点があった。 However, the above-mentioned conventional technology has the following problems:
特許文献1、3においては、人や機械に送受信機を設けなければ追跡ができず、各人や機械ごとに送受信機を装着しなければならず、費用を要していた。 In Patent Documents 1 and 3, tracking is not possible unless a transceiver is installed on the person or machine, and a transceiver must be attached to each person or machine, which is costly.
特許文献2においては、人や機械に送受信機を装着する必要がなく簡易に実施できる。しかし、撮像した顔画像に基づいて人物を特定しており、顔が映し出されていない場合など、人物特定の精度が十分ではなかった。 In Patent Document 2, there is no need to attach a transmitter or receiver to a person or machine, and the method can be easily implemented. However, the person is identified based on the captured face image, and the accuracy of identifying the person is insufficient in cases where the face is not captured, for example.
この発明は上記のような問題点を解決して、簡易な構成でありながら対象となる人物や機械の特定精度の高いシステムを提供することを目的とする。 The purpose of this invention is to solve the problems described above and provide a system that is simple in configuration but can accurately identify target people or machines.
この発明を独立して適用可能ないくつかの特徴を以下に列挙する。 Some features of this invention that can be applied independently are listed below.
(1)(3)この発明に係る移動物追跡装置は、対象領域を撮像する一以上の対象領域カメラと、対象領域を動く移動物に表示されたユニークな識別符号を、前記対象領域カメラによって撮像した画像に基づいて認識する認識手段と、前記撮像画像に基づいて、前記移動物の対象領域内での位置を取得する画像位置取得手段と、前記認識された識別符号に基づいて移動物の同一性を判断し、当該移動物の位置の時間的変化を記録部に記録する位置処理手段とを備えた移動物追跡装置であって、前記認識手段は、第1の識別符号とそれ以外の識別符号とを区別し、第1の識別符号である推定確率を算出する第1の推定手段と、第2の識別符号とそれ以外の識別符号とを区別し、第2の識別符号である推定確率を算出する第2の推定手段と・・・第nの識別符号とそれ以外の識別符号とを区別し、第nの識別符号である推定確率を算出する第nの推定手段と、第1~第nの推定手段の推定結果に基づいて、識別符号の認識を行う統合手段とを備えている。 (1)(3)The moving object tracking device according to the present invention is a moving object tracking device that includes one or more target area cameras that capture an image of a target area, a recognition means that recognizes a unique identification code displayed on a moving object moving in the target area based on an image captured by the target area camera, an image position acquisition means that acquires the position of the moving object in the target area based on the captured image, and a position processing means that determines the identity of the moving object based on the recognized identification code and records the temporal change in the position of the moving object in a recording unit, and the recognition means includes a first estimation means that distinguishes between a first identification code and other identification codes and calculates an estimated probability that the moving object is the first identification code, a second estimation means that distinguishes between a second identification code and other identification codes and calculates an estimated probability that the moving object is the second identification code, an nth estimation means that distinguishes between an nth identification code and other identification codes and calculates an estimated probability that the moving object is the nth identification code, and an integration means that recognizes the identification code based on the estimation results of the first to nth estimation means.
したがって、移動物の動きを精度良く追跡することができる。 This allows the movement of moving objects to be tracked with high accuracy.
(2)(4)この発明に係る移動物追跡装置は、カメラには、入場時カメラが含まれており、対象領域に入場しようとする移動物に表示されたユニークな識別符号を、前記入場カメラによって撮像した画像に基づいて認識する入場時認識手段と、前記移動物を前記入場時カメラで撮像した際に、当該移動物の移動物IDを取得する移動物ID取得手段と、取得した移動物IDと前記認識した識別符号を対応づけて記録部に記録する対応記録手段とをさらに備え、前記位置処理手段は、前記対象領域カメラにて撮像した移動物の撮像画像から認識した識別符号に基づいて、前記記録部を参照して、当該移動物の移動物IDを取得することを特徴としている。 (2)(4) The moving object tracking device according to the present invention further comprises an entry time recognition means for recognizing a unique identification code displayed on a moving object attempting to enter a target area based on an image captured by the entry time camera, a moving object ID acquisition means for acquiring a moving object ID of the moving object when the moving object is imaged by the entry time camera, and a correspondence recording means for recording the acquired moving object ID and the recognized identification code in a recording unit in association with each other, wherein the position processing means acquires the moving object ID of the moving object by referring to the recording unit based on the identification code recognized from the image of the moving object captured by the target area camera.
したがって、対象領域への入場時に、移動物IDと識別符号とを自動的に対応付けることができる。 Therefore, the moving object ID and identification code can be automatically associated upon entry into the target area.
(5)この発明に係る移動物追跡装置は、移動物には識別符号が複数個表示されており、前記認識手段は、移動物に表示された識別符号を異なる角度から撮像した画像に基づいて学習を行った機械学習の学習済みモデルによって識別符号を認識することを特徴としている。 (5) The moving object tracking device according to the present invention is characterized in that a plurality of identification codes are displayed on the moving object, and the recognition means recognizes the identification codes using a machine learning trained model that has been trained based on images of the identification codes displayed on the moving object captured from different angles.
したがって、撮像角度によらずに、正しく識別符号を認識することができる。 Therefore, the identification code can be correctly recognized regardless of the imaging angle.
(6)この発明にかかる移動物追跡装置は、識別符号が、前記移動物に装着された装着物に表示されていることを特徴としている。 (6) The moving object tracking device of the present invention is characterized in that an identification code is displayed on an attachment attached to the moving object.
したがって、装着物の装着によって識別符号との紐付けを行うことができる。 Therefore, the identification code can be linked to the wearer by wearing the accessory.
(7)この発明に係る移動物追跡装置は、統合手段が、第1の識別符号~第nの識別符号のうち、最も高い推定確率が所定の確定確率以上であれば、当該最も高い推定確率の識別符号を認識結果とすることを特徴としている。 (7) The moving object tracking device according to the present invention is characterized in that, if the highest estimated probability among the first identification code to the nth identification code is equal to or higher than a predetermined confirmed probability, the integration means determines the identification code with the highest estimated probability as the recognition result.
したがって、正確な推定結果を得ることができる。 Therefore, accurate estimation results can be obtained.
(8)この発明に係る移動物追跡装置は、統合手段が、第1の識別符号~第nの識別符号のうち、最も高い推定確率が所定の除外確率以下であれば、当該識別符号を第n+1の識別符号であるとして、撮像画像に基づく学習を行い、第n+1の識別符号とそれ以外の識別符号とを区別し、第n+1の識別符号である推定確率を算出する第n+1の推定手段を生成する学習処理を行い、あるいは当該学習処理を提案することを特徴としている。 (8) The moving object tracking device according to the present invention is characterized in that, if the highest estimation probability among the first identification code to the nth identification code is equal to or less than a predetermined exclusion probability, the integration means determines that the identification code is the n+1th identification code, performs learning based on the captured image, distinguishes between the n+1th identification code and other identification codes, and performs a learning process to generate an n+1th estimation means that calculates the estimation probability that the identification code is the n+1th identification code, or suggests the learning process.
したがって、あらたな移動物についても認識を行うための学習を行うことができる。 Therefore, it is possible to learn to recognize new moving objects.
(9)この発明に係る移動物追跡装置は、統合手段が、第1の識別符号~第nの識別符号のうち、所定の除外確率を超え、所定の確定確率以下の推定確率が複数ある場合、前記カメラにて撮像した移動物画像を表示し、操作者に選択させることを特徴としている。 (9) The moving object tracking device according to the present invention is characterized in that, when there are multiple identification codes, among the first identification code to the nth identification code, that have estimated probabilities that exceed a predetermined exclusion probability and are equal to or lower than a predetermined confirmation probability, the integration means displays moving object images captured by the camera and allows the operator to select one.
したがって、より正確な推定結果を得ることができる。 This allows for more accurate estimation results.
(10)この発明に係る移動物追跡装置は、移動物ID取得手段が、移動物である人物が所持する移動物IDを記録した媒体から近距離通信によって、あるいは当該人物の入力操作により、前記移動物IDを取得することを特徴としている。 (10) The moving object tracking device according to the present invention is characterized in that the moving object ID acquisition means acquires the moving object ID from a medium on which the moving object ID is recorded and which is carried by a person who is a moving object, by short-range communication or by an input operation by the person.
これにより、移動部IDと識別符号とを紐付けることができる。 This allows the mobile unit ID to be linked to the identification code.
(11)この発明に係る移動物追跡装置は、位置処理手段が、前記画像位置取得手段によって取得した移動物の位置に基づいて、各移動物について記録された進入禁止区域を参照し、当該移動物が進入禁止区域に入った場合には、警告を出力する警告手段を備えることを特徴としている。 (11) The moving object tracking device according to the present invention is characterized in that the position processing means refers to the no-entry zone recorded for each moving object based on the position of the moving object acquired by the image position acquisition means, and includes a warning means for outputting a warning when the moving object enters the no-entry zone.
したがって、作業者の安全や機密の保持などを確保することができる。 This ensures worker safety and confidentiality.
(12)この発明に係る移動物追跡装置は、進入禁止区域が、危険性のある移動物の移動につれてあるいは日時とともにダイナミックに変化することを特徴としている。 (12) The moving object tracking device of the present invention is characterized in that the no-entry zone changes dynamically according to the movement of a potentially dangerous moving object or according to the date and time.
したがって、刻々と変化する危険状況にも対応して警告を発することができる。 Therefore, it is possible to respond to ever-changing dangerous situations and issue warnings.
(13)この発明に係る移動物追跡装置は、認識手段が、移動物が特定できる状態にて、装着物が装着された当該移動物が一つだけで撮像された画像に基づいて、認識手段を学習する学習手段を備えることを特徴としている。 (13) The moving object tracking device according to the present invention is characterized in that the recognition means includes a learning means for learning the recognition means based on an image captured of only one moving object with an attachment attached thereto in a state in which the moving object can be identified.
したがって、より精度良く推定できるように追加学習を行うことができる。 Therefore, additional learning can be carried out to enable more accurate estimation.
(14)この発明に係る移動物追跡装置は、識別符号が、複数桁の個別符号を有し、当該個別符号の表示形態またはその背景の表示形態を、前記桁に応じて変えるよう構成されており、前記認識手段は、前記識別符号の表示形態または背景の表示形態に基づいて、個別符号がいずれの桁であるかを認識し、識別符号を認識することを特徴としている。 (14) The moving object tracking device according to the present invention is characterized in that the identification code has an individual code of multiple digits, and the display form of the individual code or the display form of the background is configured to change according to the digits, and the recognition means recognizes which digit the individual code is based on the display form of the identification code or the display form of the background, and recognizes the identification code.
したがって、個別符号がいずれの桁のものであるかを容易に認識することができる。 Therefore, it is easy to recognize which digit an individual code belongs to.
(15)この発明に係る移動物追跡装置は、識別符号が、複数桁の個別符号を有しており、認識手段は、各桁の個別符号の認識結果と、複数桁全体の認識結果とに基づいて、識別符号を認識することを特徴としている。 (15) The moving object tracking device according to the present invention is characterized in that the identification code has an individual code of multiple digits, and the recognition means recognizes the identification code based on the recognition result of the individual code of each digit and the recognition result of the entire multiple digits.
したがって、推定の精度を高めることができる。 This allows for improved estimation accuracy.
(16)この発明に係る移動物追跡装置は、識別符号の各桁の個別符号が、互いに類似性の低いものを用いるようにしたことを特徴としている。 (16) The moving object tracking device according to the present invention is characterized in that the individual codes for each digit of the identification code are low in similarity to each other.
したがって、推定精度を高くすることができる。 This allows for improved estimation accuracy.
(17)(18)この発明に係る移動物追跡装置は、対象領域を撮像する一以上の対象領域カメラと、対象領域に入場しようとする移動物を撮像する入場カメラと、対象領域に入場しようとする移動物に表示されたユニークな識別符号を、前記入場カメラによって撮像した画像に基づいて認識する入場時認識手段と、前記移動物を前記入場時カメラで撮像した際に、当該移動物の移動物IDを取得する移動物ID取得手段と、取得した移動物IDと前記認識した識別符号を対応づけて記録部に記録する対応記録手段と、対象領域を動く移動物に表示されたユニークな識別符号を、前記対象領域カメラによって撮像した画像に基づいて認識する認識手段と、認識手段によって認識した識別符号と、記録部に記録された識別符号と移動物IDの対応に基づいて、前記対象領域カメラによって撮像した移動物を特定する特定手段とを備えた移動物特定装置であって、
前記認識手段は、第1の識別符号とそれ以外の識別符号とを区別し、第1の識別符号である推定確率を算出する第1の推定手段と、第2の識別符号とそれ以外の識別符号とを区別し、第2の識別符号である推定確率を算出する第2の推定手段と、・・・第nの識別符号とそれ以外の識別符号とを区別し、第nの識別符号である推定確率を算出する第nの推定手段と、第1~第nの推定手段の推定結果に基づいて、識別符号の認識を行う統合手段とを備えていることを特徴としている。
(17)(18) A moving object tracking device according to the present invention is a moving object identification device comprising one or more target area cameras which capture an image of a target area, an entrance camera which captures an image of a moving object which is about to enter the target area, an entrance time recognition means which recognizes a unique identification code displayed on a moving object which is about to enter the target area based on an image captured by the entrance camera, a moving object ID acquisition means which acquires a moving object ID of the moving object when the moving object is imaged by the entrance time camera, a correspondence recording means which records in a recording unit the acquired moving object ID and the recognized identification code in correspondence with each other, a recognition means which recognizes a unique identification code displayed on a moving object moving in the target area based on an image captured by the target area camera, and an identification means which identifies the moving object imaged by the target area camera based on the identification code recognized by the recognition means and the correspondence between the identification code recorded in the recording unit and the moving object ID,
The recognition means comprises a first estimation means for distinguishing between a first identification code and other identification codes and calculating an estimated probability that the code is the first identification code, a second estimation means for distinguishing between a second identification code and other identification codes and calculating an estimated probability that the code is the second identification code, an nth estimation means for distinguishing between an nth identification code and other identification codes and calculating an estimated probability that the code is the nth identification code, and an integration means for recognizing the identification code based on the estimation results of the first to nth estimation means.
したがって、移動物の動きを精度良く追跡することができる。 This allows the movement of moving objects to be tracked with high accuracy.
(19)この発明に係る移動物追跡装置は、移動物には識別符号が複数個表示されており、前記認識手段は、移動物に表示された識別符号を異なる角度から撮像した画像に基づいて学習を行った機械学習の学習済みモデルによって識別符号を認識することを特徴としている。 (19) The moving object tracking device according to the present invention is characterized in that a plurality of identification codes are displayed on the moving object, and the recognition means recognizes the identification codes using a machine learning trained model that has been trained based on images of the identification codes displayed on the moving object captured from different angles.
したがって、撮像角度によらずに、正しく識別符号を認識することができる。 Therefore, the identification code can be correctly recognized regardless of the imaging angle.
(20)この発明に係る移動物追跡装置は、統合手段が、第1の識別符号~第nの識別符号のうち、最も高い推定確率が所定の確定確率以上であれば、当該最も高い推定確率の識別符号を認識結果とすることを特徴としている。 (20) The moving object tracking device according to the present invention is characterized in that, if the highest estimated probability among the first identification code to the nth identification code is equal to or higher than a predetermined confirmed probability, the integration means determines the identification code with the highest estimated probability as the recognition result.
したがって、正確な推定結果を得ることができる。 Therefore, accurate estimation results can be obtained.
(21)この発明に係る移動物追跡装置は、統合手段が、第1の識別符号~第nの識別符号のうち、最も高い推定確率が所定の除外確率以下であれば、当該識別符号を第n+1の識別符号であるとして、撮像画像に基づく学習を行い、第n+1の識別符号とそれ以外の識別符号とを区別し、第n+1の識別符号である推定確率を算出する第n+1の推定手段を生成する学習処理を行い、あるいは当該学習処理を提案することを特徴としている。 (21) The moving object tracking device according to the present invention is characterized in that, if the highest estimation probability among the first identification code to the nth identification code is equal to or less than a predetermined exclusion probability, the integration means determines that the identification code is the n+1th identification code, performs learning based on the captured image, distinguishes between the n+1th identification code and other identification codes, and performs a learning process to generate the n+1th estimation means that calculates the estimation probability that the identification code is the n+1th identification code, or suggests the learning process.
したがって、あらたな移動物についても認識を行うための学習を行うことができる。 Therefore, it is possible to learn to recognize new moving objects.
(22)この発明に係る移動物追跡装置は、統合手段が、第1の識別符号~第nの識別符号のうち、所定の除外確率を超え、所定の確定確率以下の推定確率が複数ある場合、前記カメラにて撮像した移動物画像を表示し、操作者に選択させることを特徴としている。 (22) The moving object tracking device according to the present invention is characterized in that, when there are multiple identification codes, among the first identification code to the nth identification code, that have estimated probabilities that exceed a predetermined exclusion probability and are equal to or lower than a predetermined confirmation probability, the integration means displays moving object images captured by the camera and allows the operator to select one.
したがって、より正確な推定結果を得ることができる。 This allows for more accurate estimation results.
(23)この発明に係る移動物追跡装置は、識別符号が、複数桁の個別符号を有し、当該個別符号の表示形態またはその背景の表示形態を、前記桁に応じて変えるよう構成されており、認識手段は、前記識別符号の表示形態または背景の表示形態に基づいて、個別符号がいずれの桁であるかを認識し、識別符号を認識することを特徴としている。 (23) The moving object tracking device according to the present invention is characterized in that the identification code has an individual code of multiple digits, and the display form of the individual code or the display form of the background is configured to change according to the digits, and the recognition means recognizes which digit the individual code is based on the display form of the identification code or the display form of the background, and recognizes the identification code.
したがって、個別符号がいずれの桁のものであるか認識精度を高くすることができる。 This makes it possible to improve the accuracy of recognizing which digit an individual code belongs to.
(24)この発明に係る移動物追跡装置は、識別符号が、複数桁の個別符号を有しており、認識手段が、各桁の個別符号の認識結果と、複数桁全体の認識結果とに基づいて、識別符号を認識することを特徴としている。 (24) The moving object tracking device according to the present invention is characterized in that the identification code has an individual code of multiple digits, and the recognition means recognizes the identification code based on the recognition result of the individual code of each digit and the recognition result of the entire multiple digits.
したがって、認識精度を高くすることができる。 This allows for improved recognition accuracy.
(25)この発明に係る移動物追跡装置は、識別符号の各桁の個別符号は、互いに類似性の低いものを用いるようにしたことを特徴としている。 (25) The moving object tracking device according to the present invention is characterized in that the individual codes for each digit of the identification code are low in similarity to each other.
したがって、認識精度を高くすることができる。 This allows for improved recognition accuracy.
(26)(27)この発明に係る認識装置は、カメラにて撮像した画像に基づいて、対象物を認識する認識装置であって、第1の識別符号とそれ以外の識別符号とを区別し、第1の識別符号である推定確率を算出する第1の推定手段と、第2の識別符号とそれ以外の識別符号とを区別し、第2の識別符号である推定確率を算出する第2の推定手段と、・・・第nの識別符号とそれ以外の識別符号とを区別し、第nの識別符号である推定確率を算出する第nの推定手段と、第1~第nの推定手段によって推定された第1の対象物~第nの対象物のうち、最も高い推定確率が所定の確定確率以上であれば、当該最も高い推定確率の識別符号を認識結果とする統合手段とを備えたことを特徴としている。 (26)(27) The recognition device according to the present invention is a recognition device that recognizes an object based on an image captured by a camera, and is characterized in that it comprises a first estimation means for distinguishing between a first identification code and other identification codes and calculating an estimated probability that the code is the first identification code, a second estimation means for distinguishing between a second identification code and other identification codes and calculating an estimated probability that the code is the second identification code, an nth estimation means for distinguishing between an nth identification code and other identification codes and calculating an estimated probability that the code is the nth identification code, and an integration means for taking the identification code with the highest estimated probability as the recognition result if the highest estimated probability of the first object to the nth object estimated by the first to nth estimation means is equal to or higher than a predetermined final probability.
したがって、より精度良く対象物を認識することができる。 This allows for more accurate recognition of objects.
(28)この発明に係る認識装置は、識別符号が、複数桁の個別符号を有し、当該個別符号の表示形態またはその背景の表示形態を、前記桁に応じて変えるよう構成されており、前記認識手段は、前記識別符号の表示形態または背景の表示形態に基づいて、個別符号がいずれの桁であるかを認識し、識別符号を認識することを特徴としている。 (28) The recognition device according to the present invention is characterized in that the identification code has an individual code of multiple digits, and the display form of the individual code or the display form of the background is changed according to the digits, and the recognition means recognizes which digit the individual code is based on the display form of the identification code or the display form of the background, and recognizes the identification code.
したがって、個別符号がいずれの桁のものであるかの推定精度を高くすることができる。 This allows for a high degree of accuracy in estimating which digit an individual code belongs to.
(29)この発明に係る認識装置は、識別符号が、複数桁の個別符号を有しており、前記認識手段は、各桁の個別符号の認識結果と、複数桁全体の認識結果とに基づいて、識別符号を認識することを特徴としている。 (29) The recognition device according to the present invention is characterized in that the identification code has individual codes of multiple digits, and the recognition means recognizes the identification code based on the recognition results of the individual codes of each digit and the recognition results of the entire multiple digits.
したがって、認識精度を高くすることができる。 This allows for improved recognition accuracy.
(30)この発明に係る認識装置は、識別符号の各桁の個別符号が、互いに類似性の低いものを用いるようにしたことを特徴としている。 (30) The recognition device according to the present invention is characterized in that the individual codes for each digit of the identification code are low in similarity to each other.
したがって、認識精度を高くすることができる。 This allows for improved recognition accuracy.
(31)この発明に係る認識装置は、第1~第nの各推定手段は、推定対象とする第1~第nの識別符号を対象識別符号とし、それ以外の識別符号を対象外識別符号としたとき、学習に用いる対象識別符号と対象外識別符号のデータ数を実質的に同じ数とした学習データにて学習されたものであることを特徴としている。 (31) The recognition device according to the present invention is characterized in that, when the first to nth identification codes to be estimated are the target identification codes and the other identification codes are the non-target identification codes, each of the first to nth estimation means is trained with learning data in which the number of data items for the target identification codes and the non-target identification codes used for learning are substantially the same.
したがって、適切な学習を行うことができる。 This allows for proper learning.
(32)(36)(48)(51)この発明に係る認識装置は、対象領域を撮像する一以上の対象領域カメラと、対象領域を動く移動物に表示されたユニークな識別符号を、前記対象領域カメラによって撮像した画像に基づいて認識する認識手段と、前記撮像画像に基づいて、前記移動物の対象領域内での位置を取得する画像位置取得手段と、前記認識された識別符号に基づいて移動物の同一性を判断し、当該移動物の位置の時間的変化を記録部に記録する位置処理手段とを備えた移動物追跡装置であって、前記識別符号は、複数桁の個別符号を有し、当該個別符号の表示形態またはその背景の表示形態を、前記桁に応じて変えるよう構成されており、前記認識手段は、前記識別符号の表示形態または背景の表示形態に基づいて、個別符号がいずれの桁であるかを認識し、識別符号を認識することを特徴としている。 (32)(36)(48)(51)The recognition device according to the present invention is a moving object tracking device including one or more target area cameras for capturing an image of a target area, recognition means for recognizing a unique identification code displayed on a moving object moving in the target area based on an image captured by the target area camera, image position acquisition means for acquiring the position of the moving object in the target area based on the captured image, and position processing means for determining the identity of the moving object based on the recognized identification code and recording the change in the position of the moving object over time in a recording unit, wherein the identification code has an individual code of multiple digits, and the display form of the individual code or the display form of the background is configured to change according to the digits, and the recognition means recognizes which digit the individual code is based on the display form of the identification code or the display form of the background, and recognizes the identification code.
したがって、個別符号がいずれの桁であるかの推定が容易であり、推定精度を高くして追跡を行うことができる。 Therefore, it is easy to estimate which digit an individual code is, and tracking can be performed with high estimation accuracy.
(33)(37)(49)(52)この発明に係る移動物追跡装置は、認識手段が、各桁の個別符号の認識結果と、複数桁全体の認識結果とに基づいて、識別符号を認識することを特徴としている。 (33)(37)(49)(52) The moving object tracking device according to the present invention is characterized in that the recognition means recognizes the identification code based on the recognition results of the individual codes of each digit and the recognition results of the entire set of digits.
したがって、推定精度を高くすることができる。 This allows for improved estimation accuracy.
(34)(38)(50)(53)この発明に係る対象物追跡装置は、対象領域を撮像する一以上の対象領域カメラと、対象領域を動く移動物に表示されたユニークな識別符号を、前記対象領域カメラによって撮像した画像に基づいて認識する認識手段と、前記撮像画像に基づいて、前記移動物の対象領域内での位置を取得する画像位置取得手段と、前記認識された識別符号に基づいて移動物の同一性を判断し、当該移動物の位置の時間的変化を記録部に記録する位置処理手段とを備えた移動物追跡装置であって、前記識別符号は、複数桁の個別符号を有しており、前記認識手段は、各桁の個別符号の認識結果と、複数桁全体の認識結果とに基づいて、識別符号を認識することを特徴としている。 (34)(38)(50)(53)The object tracking device according to the present invention is a moving object tracking device including one or more object area cameras for capturing an image of a target area, a recognition means for recognizing a unique identification code displayed on a moving object moving in the target area based on an image captured by the object area camera, an image position acquisition means for acquiring a position of the moving object in the target area based on the captured image, and a position processing means for determining the identity of the moving object based on the recognized identification code and recording a temporal change in the position of the moving object in a recording unit, wherein the identification code has an individual code of multiple digits, and the recognition means recognizes the identification code based on the recognition result of the individual code of each digit and the recognition result of the entire multiple digits.
したがって、精度良く推定を行って、対象物を追跡することができる。 This allows for accurate estimation and tracking of the target object.
(35)(39)この発明に係る対象物追跡装置は、前記カメラには、入場時カメラが含まれており、対象領域に入場しようとする移動物に表示されたユニークな識別符号を、前記入場カメラによって撮像した画像に基づいて認識する入場時認識手段と、前記移動物を前記入場時カメラで撮像した際に、当該移動物の移動物IDを取得する移動物ID取得手段と、取得した移動物IDと前記認識した識別符号を対応づけて記録部に記録する対応記録手段とをさらに備え、前記位置処理手段は、前記対象領域カメラにて撮像した移動物の撮像画像から認識した識別符号に基づいて、前記記録部を参照して、当該移動物の移動物IDを取得することを特徴としている。 (35)(39) The object tracking device according to the present invention is characterized in that the cameras include an entry camera, and further includes an entry recognition means for recognizing a unique identification code displayed on a moving object attempting to enter a target area based on an image captured by the entry camera, a moving object ID acquisition means for acquiring a moving object ID of the moving object when the moving object is imaged by the entry camera, and a correspondence recording means for recording the acquired moving object ID and the recognized identification code in a recording unit in association with each other, and the position processing means acquires the moving object ID of the moving object by referring to the recording unit based on the identification code recognized from the image of the moving object captured by the target area camera.
したがって、入場時の画像で対応づけを行うことができる。 Therefore, matching can be done using the image taken at the time of entry.
(40)(54)この発明に係る対象物追跡装置は、識別符号の各桁の個別符号が、互いに類似性の低いものを用いるようにしたことを特徴としている。 (40)(54) The object tracking device according to the present invention is characterized in that the individual codes for each digit of the identification code are low in similarity to each other.
したがって、推定精度を高くすることができる。 This allows for improved estimation accuracy.
(41)この発明に係る対象物追跡装置は、前記移動物には識別符号が複数個表示されており、前記認識手段は、移動物に表示された識別符号を異なる角度から撮像した画像に基づいて学習を行った機械学習の学習済みモデルによって識別符号を認識することを特徴としている。 (41) The object tracking device according to the present invention is characterized in that the moving object is displayed with a plurality of identification codes, and the recognition means recognizes the identification codes using a machine learning trained model that has been trained based on images of the identification codes displayed on the moving object captured from different angles.
したがって、推定精度を高くすることができる。 This allows for improved estimation accuracy.
(42)この発明に係る対象物追跡装置は、識別符号は、前記移動物に装着された装着物に表示されていることを特徴としている。 (42) The object tracking device according to the present invention is characterized in that the identification code is displayed on an attachment attached to the moving object.
したがって、ヘルメットなどの装着物の識別符号によって追跡を行うことができる。 Therefore, tracking can be done using the identification code on the person's helmet or other equipment.
(43)この発明に係る対象物追跡装置は、移動物ID取得手段は、移動物である人物が所持する移動物IDを記録した媒体から近距離通信によって、あるいは当該人物の入力操作により、前記移動物IDを取得することを特徴としている。 (43) The object tracking device according to the present invention is characterized in that the moving object ID acquisition means acquires the moving object ID from a medium on which the moving object ID is recorded and which is carried by a person who is a moving object, by short-range communication or by an input operation by the person.
したがって、適切に人物と移動物IDとを対応付けることができる。 This allows appropriate association of people with moving object IDs.
(44)この発明に係る対象物移動装置は、位置処理手段が、前記画像位置取得手段によって取得した移動物の位置に基づいて、各移動物について記録された進入禁止区域を参照し、当該移動物が進入禁止区域に入った場合には、警告を出力する警告手段を備えることを特徴としている。 (44) The object moving device according to the present invention is characterized in that the position processing means refers to the no-entry zone recorded for each moving object based on the position of the moving object acquired by the image position acquisition means, and includes a warning means for outputting a warning when the moving object enters the no-entry zone.
したがって、警告によって安全を確保することができる。 So warnings can help ensure safety.
(45)この発明に係る対象物移動装置は、進入禁止区域が、危険性のある移動物の移動につれてあるいは日時とともにダイナミックに変化することを特徴としている。 (45) The object moving device of the present invention is characterized in that the no-entry zone changes dynamically according to the movement of a potentially dangerous moving object or according to the date and time.
したがって、状況に応じて適切な警告を行うことができる。 This allows appropriate warnings to be given depending on the situation.
(46)この発明に係る対象物移動装置は、認識手段が、移動物が特定できる状態にて、装着物が装着された当該移動物が一つだけで撮像された画像に基づいて、認識手段を学習する学習手段を備えることを特徴としている。 (46) The object movement device according to the present invention is characterized in that the recognition means includes a learning means for learning the recognition means based on an image captured of only one moving object with an attachment attached thereto in a state in which the moving object can be identified.
したがって、対応づけを確実に行うことができる。 This allows for reliable matching.
(47)この発明に係る対象物移動装置は、第1~第nの各推定手段は、推定対象とする第1~第nの識別符号を対象識別符号とし、それ以外の識別符号を対象外識別符号としたとき、学習に用いる対象識別符号と対象外識別符号のデータ数を実質的に同じ数とした学習データにて学習されたものであることを特徴している。 (47) The object moving device according to the present invention is characterized in that, when the first to nth identification codes to be estimated are the target identification codes and the other identification codes are the non-target identification codes, each of the first to nth estimation means is trained with learning data in which the number of data items for the target identification codes and the non-target identification codes used for learning are substantially the same.
したがって、適切な学習を行うことができる。 This allows for proper learning.
(55)(58)この発明に係る認識装置は、カメラにて撮像した画像に基づいて、識別符号を認識する認識装置であって、前記識別符号は、複数桁の個別符号を有し、当該個別符号の表示形態またはその背景の表示形態を、前記桁に応じて変えるよう構成されており、前記識別符号の表示形態または背景の表示形態に基づいて、個別符号がいずれの桁であるかを認識し、識別符号を認識することを特徴としている。 (55)(58) The recognition device according to the present invention is a recognition device that recognizes an identification code based on an image captured by a camera, the identification code having an individual code of multiple digits, and configured to change the display form of the individual code or the display form of the background according to the digits, and is characterized in that it recognizes which digit the individual code is based on the display form of the identification code or the display form of the background, and recognizes the identification code.
したがって、個別符号がいずれの桁であるかを容易に認識することができる。 Therefore, it is easy to recognize which digit an individual code belongs to.
(56)(59)この発明に係る認識装置は、各桁の個別符号の認識結果と、複数桁全体の認識結果とに基づいて、識別符号を認識することを特徴としている。 (56)(59) The recognition device according to the present invention is characterized in that it recognizes an identification code based on the recognition results of the individual codes of each digit and the recognition results of the entire set of digits.
したがって、認識精度を高くすることができる。 This allows for improved recognition accuracy.
(57)(60)この発明に係る認識装置は、カメラにて撮像した画像に基づいて、識別符号を認識する認識装置であって、前記識別符号は、複数桁の個別符号を有しており、各桁の個別符号の認識結果と、複数桁全体の認識結果とに基づいて、識別符号を認識することを特徴としている。 (57)(60) The recognition device according to the present invention is a recognition device that recognizes an identification code based on an image captured by a camera, and the identification code has individual codes of multiple digits, and is characterized in that the recognition device recognizes the identification code based on the recognition results of the individual codes of each digit and the recognition results of the entire set of digits.
したがって、認識精度を高くすることができる。 This allows for improved recognition accuracy.
(61)この発明に係る認識装置は、識別符号の各桁の個別符号は、互いに類似性の低いものを用いるようにしたことを特徴としている。 (61) The recognition device according to the present invention is characterized in that the individual codes for each digit of the identification code are low in similarity to each other.
したがって、認識精度を高くすることができる。 This allows for improved recognition accuracy.
(62)(63)この発明に係る警告装置は、対象領域を動く複数の移動物の位置を取得する位置取得手段と、前記位置取得手段によって取得した移動物の位置に基づいて、各移動物について記録された進入禁止区域を参照し、当該移動物が進入禁止区域に入った場合には、警告を出力する警告手段とを備えている。 (62)(63) The warning device according to the present invention includes a position acquisition means for acquiring the positions of a plurality of moving objects moving within a target area, and a warning means for referring to a no-entry zone recorded for each moving object based on the position of the moving object acquired by the position acquisition means, and outputting a warning when the moving object enters the no-entry zone.
したがって、移動物に対して進入禁止区域に対する警告を発することができる。 Therefore, it is possible to issue a warning to moving objects about no-entry areas.
(64)この発明に係る警告装置は、進入禁止区域が、危険性のある移動物の移動につれてあるいは日時とともにダイナミックに変化することを特徴としている。 (64) The warning device of this invention is characterized in that the no-entry zone changes dynamically according to the movement of a potentially dangerous moving object or according to the date and time.
したがって、刻々と変化する危険状況に応じた警告を発することができる。 This allows warnings to be issued according to ever-changing dangerous situations.
「認識手段」は、実施形態においては、ステップS26~S35、S54~S63などがこれに対応する。 In the embodiment, the "recognition means" corresponds to steps S26 to S35, S54 to S63, etc.
「移動物ID取得手段」は、実施形態においては、ステップS22がこれに対応する。 In this embodiment, step S22 corresponds to the "moving object ID acquisition means."
「対応記録手段」は、実施形態においては、ステップS46がこれに対応する。 In this embodiment, step S46 corresponds to the "corresponding recording means."
「位置記録手段」は、実施形態においては、ステップS67がこれに対応する。 In this embodiment, step S67 corresponds to the "position recording means."
「プログラム」とは、CPUまたはGPU(あるいはその双方)により直接実行可能なプログラムだけでなく、ソース形式のプログラム、圧縮処理がされたプログラム、暗号化されたプログラム等を含む概念である。 The term "program" refers not only to programs that can be executed directly by the CPU or GPU (or both), but also to source-format programs, compressed programs, encrypted programs, etc.
1.第1の実施形態
1.1全体構成
図1に、この発明の第1の実施形態による人物追跡装置の機能構成を示す。この実施形態では、作業現場における作業者の行動追跡を例として説明する。
1. First embodiment
1 shows the functional configuration of a person tracking device according to a first embodiment of the present invention. In this embodiment, tracking of the behavior of a worker at a work site will be described as an example.
作業者2は、作業現場への入場時に装着物であるヘルメット4を装着する。ヘルメット4には、前面、後面、左右側面、上面など複数箇所に識別符号6が印刷などの方法で付されている。同じヘルメット4には同じ識別符号が複数箇所に付されており、ヘルメット4ごとにユニークに異なる識別符号が付されている。たとえば、「0」「1」・・・「9」の識別符号が付されている。 When a worker 2 enters a work site, he or she puts on a helmet 4, which is an accessory. An identification code 6 is printed or otherwise attached to the helmet 4 in multiple locations, such as the front, back, left and right sides, and top. The same identification code is attached to multiple locations on the same helmet 4, and each helmet 4 is assigned a unique identification code. For example, the identification codes are "0," "1," ... "9."
作業者の入場時には、入場カメラ7によってヘルメット4を装着した作業者2が撮像される。撮像された画像は、認識手段10によって識別符号が認識される。認識手段10は、第1の推定手段E1、第2の推定手段E2・・・第nの推定手段Enを備えている。 When a worker enters, the worker 2 wearing the helmet 4 is captured by the entry camera 7. The identification code in the captured image is recognized by the recognition means 10. The recognition means 10 includes a first estimation means E1, a second estimation means E2, ..., and an n-th estimation means En.
第1の推定手段E1は、撮像した識別符号が「0」であるか、「0」以外であるか(「1」・・・「9」のいずれかであるか)を推定する。第2の推定手段E2は、撮像した識別符号が「1」であるか、「1」以外であるか(「0」「2」・・・「9」のいずれかであるか)を推定する。以下、同様に、第nの推定手段Enは、撮像した識別符号が「9」であるか、「9」以外であるか(「0」・・・「8」のいずれかであるか)を推定する。 The first estimation means E1 estimates whether the imaged identification code is a "0" or a value other than "0" (whether it is a "1"..."9"). The second estimation means E2 estimates whether the imaged identification code is a "1" or a value other than "1" (whether it is a "0", "2",..."9"). Similarly, the nth estimation means En estimates whether the imaged identification code is a "9" or a value other than "9" (whether it is a "0"..."8").
統合手段12は、第1の推定手段E1~第nの推定手段Enの推定結果を統合して、撮像された識別符号が何であるかを認識する。 The integration means 12 integrates the estimation results of the first estimation means E1 to the nth estimation means En to recognize the identification code captured in the image.
上記入場時における入場カメラ7での撮像時に、ID取得手段14は、作業者2から作業者IDを取得する。たとえば、作業者の有する近距離通信機能のあるIDカードを読み取り器にかざしてもらい、作業者IDを読み取ることができる。 When the entrance camera 7 captures an image at the time of entry, the ID acquisition means 14 acquires the worker ID from the worker 2. For example, the worker can be asked to hold an ID card with a short-range communication function over a reader to read the worker ID.
対応記録手段16は、取得された作業者IDと、推定された識別符号とを対応づけて記録する。これにより、当該識別符号の付されたヘルメットを装着している作業者を特定することができる。 The correspondence recording means 16 records the acquired worker ID in association with the estimated identification code. This makes it possible to identify the worker who is wearing the helmet with the identification code.
作業場に入った作業者2は、作業場カメラ8によって撮像される。撮像されたヘルメット4の識別符号は、認識手段10によって認識される。画像位置取得手段18は、ヘルメット4を装着した作業者2の撮像画像に基づいて、当該作業者2の位置を推定して取得する。 A worker 2 who enters the work area is imaged by the work area camera 8. The identification code of the helmet 4 that is imaged is recognized by the recognition means 10. The image position acquisition means 18 estimates and acquires the position of the worker 2 wearing the helmet 4 based on the captured image of the worker 2.
位置処理手段20は、認識された識別符号によって対応する作業者IDを特定し、当該作業者IDに対応付けて作業者の位置を記録部に記録する。 The position processing means 20 identifies the corresponding worker ID by the recognized identification code and records the worker's position in the recording unit in association with the worker ID.
カメラ8を複数設けることで、広範囲にわたる作業者の移動軌跡を記録することができる。
By providing multiple cameras 8, it is possible to record the movement trajectory of the worker over a wide range.
1.2システム構成
図2に、移動物追跡装置のシステム構成を示す。作業現場28には、入場エリア26が設けられている。作業員が作業現場28に入場する際には、ヘルメットを着用し、入場エリア26にて、IDカードをカード読取器22にかざして認証を行う。IDカードには、各作業者の作業者IDが記録されており、カード読取器22はこれを読み取って、PC21を介して、現場事務所などに設けられたPC24に送信する。IDカードとしては、フェリカ(商標)などの近距離通信方式などを用いることができる。
1.2 System Configuration Figure 2 shows the system configuration of the moving object tracking device. An entrance area 26 is provided at a work site 28. When a worker enters the work site 28, he or she wears a helmet and, in the entrance area 26, holds an ID card over a card reader 22 for authentication. The ID card records the worker ID of each worker, which is read by the card reader 22 and transmitted via PC 21 to a PC 24 provided at a site office or the like. A short-distance communication system such as FeliCa (trademark) can be used as the ID card.
入場エリア26には、入場カメラC1が設けられており、識別符号の付されたヘルメットを装着した作業員を撮像する。撮像画像は、PC24に送られる。PC24は、この画像に基づいて識別符号を認識する。さらに、これを、カード読取器22より受信した作業者IDと対応づけて記録する。 An entrance camera C1 is installed in the entrance area 26, and captures an image of a worker wearing a helmet with an identification code attached. The captured image is sent to the PC 24. The PC 24 recognizes the identification code based on this image. It then records this in association with the worker ID received from the card reader 22.
図においては、作業者W1~W5が入場済みであることが示されている。作業現場28には、作業場カメラC2~C5が設けられ、作業現場28を撮像している。この撮像画像は、PC24に送られ、各作業者W1~W5のヘルメットの識別符号が認識される。また、画像に基づいて、作業者の位置が把握される。したがって、各作業者W1~W5の位置を知ることができ、その行動軌跡を記録することができる。 In the figure, it is shown that workers W1 to W5 have already entered the work site. Work site cameras C2 to C5 are installed at the work site 28 and capture images of the work site 28. These captured images are sent to the PC 24, which recognizes the identification codes on the helmets of each worker W1 to W5. The positions of the workers are also ascertained based on the images. Therefore, the positions of each worker W1 to W5 can be known and their movement trajectories can be recorded.
なお、作業現場28には、建設機械M1も入場している。この建設機械M1にも、識別符号が付されている。したがって、作業場カメラC2~C5で撮像し、その移動軌跡を記録することができる。なお、この実施形態においては、当該建設機械M1について予め定められた識別符号が付されている。この点、作業者については、装着するヘルメットによって識別符号が変化する点と異なっている。 Note that construction machine M1 is also present at the work site 28. This construction machine M1 is also given an identification code. Therefore, it can be photographed by work site cameras C2 to C5 and its movement trajectory recorded. Note that in this embodiment, the construction machine M1 is given a predetermined identification code. This differs from the worker, whose identification code changes depending on the helmet he or she wears.
図3に、PC24のハードウエア構成を示す。CPU30には、メモリ32、ディスプレイ34、ハードディスク36、DVD-ROMドライブ38、キーボード/マウス40、通信回路42が接続されている。通信回路42は、ネットワークやインターネットに接続するためのものである。 Figure 3 shows the hardware configuration of PC 24. Connected to CPU 30 are memory 32, display 34, hard disk 36, DVD-ROM drive 38, keyboard/mouse 40, and communication circuit 42. Communication circuit 42 is for connecting to a network or the Internet.
ハードディスク36には、オペレーティングシステム44、移動物追跡プログラム46が記録されている。移動物追跡プログラム46は、オペレーティングシステム44と協働してその機能を発揮するものである。これらプログラムは、DVD-ROM48に記録されていたものを、DVD-ROMドライブ38を介して、ハードディスク36にインストールしたものである。 The hard disk 36 stores an operating system 44 and a moving object tracking program 46. The moving object tracking program 46 performs its functions in cooperation with the operating system 44. These programs were recorded on a DVD-ROM 48 and installed on the hard disk 36 via the DVD-ROM drive 38.
図4に、作業者が着用するためのヘルメット4を示す。各ヘルメット4には、それぞれ、ユニークな識別符号が付されている。図においては、「0」から「9」の識別符号が付されている。また、各ヘルメット4において、前面、後面、左右側面、上面のそれぞれに、同じ識別符号が付されている。これは、様々な角度から撮像された際であっても、画像中に識別符号が含まれるようにするためである。
Fig. 4 shows a helmet 4 to be worn by a worker. Each helmet 4 is assigned a unique identification code. In the figure, the identification codes are "0" to "9". Furthermore, the same identification code is assigned to the front, rear, left and right sides, and top of each helmet 4. This is to ensure that the identification code is included in the image even when the image is captured from various angles.
1.3追跡処理
以下、ヘルメット4を着用した作業者の行動を追跡する処理について説明する。
1.3 Tracking Process The process of tracking the behavior of a worker wearing the helmet 4 will now be described.
(1)学習用データ生成処理および学習済モデル生成
この実施形態では、撮像した識別符号を、深層学習の学習済みモデルにて認識するようにしている。そこで、まず、学習用データ生成の処理から説明する。
(1) Learning Data Generation Process and Trained Model Generation In this embodiment, an image of an identification code is recognized by a trained model of deep learning. First, the learning data generation process will be described.
図5に、移動物追跡プログラム46の学習用データ生成処理のフローチャートを示す。図4のヘルメット4を様々な角度から撮像した多数の画像を、予めハードディスク36に記録しておく。 Figure 5 shows a flowchart of the learning data generation process of the moving object tracking program 46. A large number of images of the helmet 4 in Figure 4 taken from various angles are recorded in advance on the hard disk 36.
CPU30は、この画像を一枚ずつハードディスク36から読み出す(ステップS2)。読み出された画像の例を、図6Aに示す。図においては、モノクロにて示しているが、この実施形態ではカラー画像を用いている(モノクロ画像を用いてもよい)。 The CPU 30 reads these images one by one from the hard disk 36 (step S2). An example of the read image is shown in FIG. 6A. In the figure, the image is shown in monochrome, but in this embodiment, a color image is used (a monochrome image may also be used).
次に、CPU30は、この画像から、ヘルメット4のみを抽出する(ステップS3)。この実施形態では、HSVによる色相、彩度、明度を指定して、予め定められたヘルメット4の部分を取り出す。ヘルメット4が黄色であれば、当該黄色に対して所定の幅を持って、色相、彩度、明度を指定し、ヘルメット部分を取り出す。抽出した画像を、図6Bに示す。なお、RGBなど他の色表現に基づいて取り出すようにしてもよい。 Next, the CPU 30 extracts only the helmet 4 from this image (step S3). In this embodiment, the hue, saturation, and brightness are specified using HSV to extract a predetermined portion of the helmet 4. If the helmet 4 is yellow, the hue, saturation, and brightness are specified with a predetermined width for the yellow color to extract the helmet portion. The extracted image is shown in FIG. 6B. It is also possible to extract the helmet based on other color representations such as RGB.
次に、CPU30は、ヘルメットの黄色について膨張・収縮処理を行う(たとえばクロージング処理)。これにより、ヘルメット中に含まれていた識別符号が除去(黄色に塗りつぶされる)され、ヘルメット全体の領域を抽出することができる。なお、輪郭認識などの方法によってヘルメットの領域を認識するようにしてもよい。 Next, the CPU 30 performs an expansion/contraction process on the yellow color of the helmet (for example, a closing process). This removes the identification code contained in the helmet (by painting it yellow), and the area of the entire helmet can be extracted. Note that the area of the helmet may also be recognized by a method such as contour recognition.
続いて、CPU30は、認識したヘルメット全体の領域を参照し、元画像中から識別符号を抽出する(ステップS4)。識別符号に用いられている所定色(この実施形態では黒色)を抽出する。抽出された識別符号を図6Cに示す。この実施形態では、ヘルメット4において複数箇所に識別符号を付している。したがって、図6Cに示すように、抽出された画像にも、一部しか撮像されていない識別符号も含めて、複数の識別符号が含まれている。 The CPU 30 then refers to the recognized area of the entire helmet and extracts the identification code from the original image (step S4). The specified color (black in this embodiment) used in the identification code is extracted. The extracted identification code is shown in FIG. 6C. In this embodiment, identification codes are attached to multiple locations on the helmet 4. Therefore, as shown in FIG. 6C, the extracted image also contains multiple identification codes, including identification codes that are only partially captured.
次に、CPU30は、この抽出した識別符号の画像をディスプレイ34に表示するとともに、操作者に教師データとしてのクラス(ここでは画像によって示される識別符号の値)の入力を促す(ステップS5)。これを受けて、操作者は、キーボード/マウス40により、クラス(図6Cの例であれば「0」)を入力する。CPU30は、入力されたクラスを、図6Cの識別符号の画像と対応づけて記録する。 Next, the CPU 30 displays the image of the extracted identification code on the display 34, and prompts the operator to input a class (here, the value of the identification code shown by the image) as teaching data (step S5). In response, the operator inputs the class ("0" in the example of FIG. 6C) using the keyboard/mouse 40. The CPU 30 records the input class in association with the image of the identification code in FIG. 6C.
なお、図6Aのような画像の状態で、予めクラスを付して記録しておいてもよい。 In addition, the image may be recorded in advance with a class assigned in the state shown in Figure 6A.
以上のようにして一つの画像についての処理が終了すると、記録されている次の画像について、同様の処理を行って識別符号の抽出、クラスの付与を行う(ステップS1~S6)。 When the processing for one image is completed in this manner, the same process is carried out for the next recorded image to extract an identification code and assign a class (steps S1 to S6).
全ての画像について、識別符号の抽出、クラスの付与を行うと、CPU30は、識別符号「0」のクラスのための学習データセットを生成する(ステップS7)。図7Aに示すように、「0」のクラスが付された識別符号の画像と、「0」以外のクラスが付された識別符号の画像(ここでは、「1」~「9」のクラスが付された画像)とによって、「0」のための学習データセットが生成される。 After extracting the identification codes and assigning classes to all images, the CPU 30 generates a learning data set for the identification code "0" class (step S7). As shown in FIG. 7A, a learning data set for "0" is generated from images with identification codes assigned the class "0" and images with identification codes assigned classes other than "0" (here, images assigned classes "1" to "9").
次に、CPU30は、識別符号「1」のクラスのための学習データセットを生成する(ステップS8)。図7Bに示すように、「1」のクラスが付された識別符号の画像と、「1」以外のクラスが付された識別符号の画像(ここでは、「0」「2」~「9」のクラスが付された画像)とによって、「1」のための学習データセットが生成される。 Next, the CPU 30 generates a learning data set for the class of the identification code "1" (step S8). As shown in FIG. 7B, the learning data set for "1" is generated from images of identification codes assigned the class "1" and images of identification codes assigned classes other than "1" (here, images assigned the classes "0", "2" to "9").
以下、同様にして、CPU30は、識別符号「3」「4」「5」「6」「7」「8」「9」のための学習データセットをそれぞれ生成する。 The CPU 30 then generates learning data sets for the identification codes "3," "4," "5," "6," "7," "8," and "9" in the same manner.
なお、ステップS1~S6において生成したクラス付きの識別符号の画像が、少数しかなければ、学習データセットのデータが少なくなってしまい、学習効果を得ることができない。そこで、学習データセットのデータ数を豊富にするため、ステップS1~S6において生成したクラス付きの識別符号の画像に対し、変形、移動などの加工を施して、1枚の画像から複数枚を得るようにしてもよい。 If there are only a few images of the identification codes with classes generated in steps S1 to S6, the data in the learning data set will be small, and learning effects cannot be obtained. Therefore, in order to increase the amount of data in the learning data set, the images of the identification codes with classes generated in steps S1 to S6 may be processed, such as by deformation or movement, to obtain multiple images from a single image.
以上のようにして、「0」から「9」のそれぞれについての学習データセットを生成すると、CPU30は、それぞれの学習データセットに基づいて深層学習のプログラムの学習を行う。これにより、CPU30は、「0」を推定するための学習済モデル、「1」を推定するための学習済モデル・・・「9」を推定するための学習済モデルを得ることができる。これらモデルは、ハードディスク36に保持される。 Once the learning data sets for each of "0" to "9" have been generated in the above manner, the CPU 30 trains a deep learning program based on each learning data set. This enables the CPU 30 to obtain a trained model for estimating "0", a trained model for estimating "1", ... and a trained model for estimating "9". These models are stored on the hard disk 36.
(2)識別符号と作業者IDとの対応付処理
作業者2がいずれのヘルメット4を装着するかが決まっていない場合、作業者IDとヘルメット4の識別符号とを対応づける必要がある。この実施形態においては、作業現場への入場時にこれを行うようにしている。
(2) Corresponding Process Between Identification Code and Worker ID When it is not decided which helmet 4 the worker 2 will wear, it is necessary to correlate the worker ID with the identification code of the helmet 4. In this embodiment, this is done when the worker enters the work site.
図8、図9に、移動物追跡プログラム46の入場時処理のフローチャートを示す。作業者2は、入場エリア26において、入場時にIDカードをカード読取器22にかざす。IDカードから読み取られた作業者IDは、PC21を介して、PC24に送信される。 Figures 8 and 9 show a flowchart of the entry processing of the moving object tracking program 46. When entering the entry area 26, the worker 2 holds his/her ID card over the card reader 22. The worker ID read from the ID card is sent to PC 24 via PC 21.
CPU30は、IDカードが読み取られて、作業者IDが送信されてきたかどうかを判断する(ステップS21)。作業者IDが送信されてくると、当該作業者IDを、本日の出勤作業者としてハードディスク36に記録する(ステップS22)。 The CPU 30 reads the ID card and determines whether the worker ID has been transmitted (step S21). If the worker ID has been transmitted, the CPU 30 records the worker ID in the hard disk 36 as a worker who has clocked in for the day (step S22).
CPU30は、続いて、入場エリア26に設けられたカメラC1が撮像した、当該作業者2の画像を取得する(ステップS23)。取得された画像の例を図10Aに示す。CPU10は、この画像から作業者2の画像を抽出する(ステップS24)。この実施形態では、Dark Net(商標)を用いて、深層学習による推定プログラムにて、人物(作業者2)の画像を抽出するようにしている。なお、入場エリア26の撮像時の背景が一定であれば、背景差分法によって作業者2の画像を抽出してもよい。抽出した画像例を、図10Bに示す。 The CPU 30 then acquires an image of the worker 2 captured by the camera C1 installed in the entrance area 26 (step S23). An example of the acquired image is shown in FIG. 10A. The CPU 10 extracts an image of the worker 2 from this image (step S24). In this embodiment, an image of the person (worker 2) is extracted using a deep learning estimation program using Dark Net (trademark). Note that if the background at the time the entrance area 26 is captured is constant, the image of the worker 2 may be extracted using a background subtraction method. An example of the extracted image is shown in FIG. 10B.
さらに、CPU30は、図5のステップS3、S4と同じようにして、図10Bの人物画像から、ヘルメット4の画像を抽出し、識別符号を抽出する(ステップS25)。図10Cに、抽出された識別符号の画像を示す。 Furthermore, the CPU 30 extracts an image of the helmet 4 from the person image in FIG. 10B in the same manner as steps S3 and S4 in FIG. 5, and extracts the identification code (step S25). An image of the extracted identification code is shown in FIG. 10C.
次に、CPU30は、この識別符号の画像に写された識別符号を認識する処理を行う。この推定処理は、前述の深層学習によって学習したモデルを用いて行われる。 Next, the CPU 30 performs a process to recognize the identification code captured in the image of the identification code. This estimation process is performed using the model learned by the deep learning described above.
この実施形態では、識別符号の画像から、いずれの識別符号であるかを1回の推定処理で行うのではなく、複数回の推定処理を行い、その結果を統合して最終的な推定を行うようにしている。 In this embodiment, instead of performing a single estimation process to determine which identification code an image of an identification code is, the estimation process is performed multiple times and the results are integrated to make a final estimation.
CPU30は、まず、図10Cに示す画像が、「0」であるかどうかを推定し、推定確率を出力する(ステップS26)。この際には、「0」のための学習済モデルを用いる。前述のように、「0」のための学習済モデルは、「0」と「0」以外とを区別したデータによって学習したものである。 First, the CPU 30 estimates whether the image shown in FIG. 10C is a "0" and outputs the estimated probability (step S26). At this time, a trained model for "0" is used. As described above, the trained model for "0" is trained using data that distinguishes between "0" and non-"0".
続いて、CPU30は、「1」のための学習済モデルを用い、図10Cに示す画像が「1」であるかどうかを推定し、推定確率を出力する(ステップS27)。 Next, the CPU 30 uses the trained model for "1" to estimate whether the image shown in FIG. 10C is "1" and outputs the estimated probability (step S27).
以下、同様にして、図10Cに示す画像が、それぞれ「2」「3」「4」・・・「9」であるかどうかを推定し、推定確率を出力する。 Then, in the same manner, it estimates whether the images shown in Figure 10C are "2," "3," "4," ... "9," and outputs the estimated probability.
図11に、算出された推定確率の例を示す。次に、CPU30は、最も高い推定確率を選択し、これが所定の確定確率以上であるかどうかを判断する(ステップS41)。図11において、最も高い推定確率は、「2」についての97.7%である。CPU30は、これが、確定確率(信頼にたる所定の確率、たとえば95%)以上であるかどうかを判断する。 Figure 11 shows an example of the calculated estimated probability. Next, the CPU 30 selects the highest estimated probability and determines whether this is equal to or greater than a predetermined confirmed probability (step S41). In Figure 11, the highest estimated probability is 97.7% for "2". The CPU 30 determines whether this is equal to or greater than a confirmed probability (a reliable predetermined probability, for example 95%).
ここでは、所定確率以上であるから、この推定確率にしたがって、識別符号を認識する(ステップS43)。すなわち、識別符号は「2」であると認識する。CPU30は、認識した識別符号と、ステップS22で取得した作業者IDとを対応づけて記録する。 Here, since the probability is equal to or greater than the predetermined probability, the identification code is recognized according to this estimated probability (step S43). That is, the identification code is recognized to be "2." The CPU 30 records the recognized identification code in association with the worker ID obtained in step S22.
この処理は、各作業者が入場するたびに行われるので、図12に示すように、各作業者の作業者IDと着用したヘルメット4に付された識別符号との対応が記録されることになる。また、一日ごとにこの対応づけは更新される。 This process is performed each time a worker enters the facility, so that the correspondence between each worker's worker ID and the identification code attached to the helmet 4 worn by the worker is recorded, as shown in FIG. 12. This correspondence is updated every day.
ステップS41において、最も高い推定確率が確定確率を下回っていた場合、CPU30は、最も高い推定確率が除外確率(信頼に値しない所定の確率、たとえば10%)未満であるかどうかを判断する(ステップS42)。 If the highest estimated probability is lower than the confirmed probability in step S41, the CPU 30 determines whether the highest estimated probability is lower than the excluded probability (a predetermined unreliable probability, for example 10%) (step S42).
除外確率以上であるとすれば(すなわち確定確率未満、除外確率以上)、CPU30は、除外確率以上の推定確率の識別符号を全て(推定確率の上位所定個でもよい)選択し、これをステップS25の識別符号画像とともにディスプレイ34に表示する(ステップS44)。 If it is equal to or greater than the exclusion probability (i.e., less than the confirmed probability but equal to or greater than the exclusion probability), the CPU 30 selects all identification codes with estimated probabilities equal to or greater than the exclusion probability (or a predetermined number of the top estimated probabilities) and displays these on the display 34 together with the identification code image of step S25 (step S44).
図13に、その画面例を示す。上部に、識別符号画像が表示され、その下に、ラジオボタンとともに選択肢「9」「8」「いずれでもない」が表示されている。操作者が、「9」または「8」を選択すると、この選択に従って識別符号の認識を行う(ステップS45)。 Figure 13 shows an example of the screen. An identification code image is displayed at the top, and below that, radio buttons and options "9", "8", and "none" are displayed. When the operator selects "9" or "8", the identification code is recognized according to this selection (step S45).
この場合、CPU30は、操作者の選択を教師データとして、当該識別符号画像によって上記の学習済モデルをさらに学習するようにしてもよい。 In this case, the CPU 30 may further learn the learned model using the identification code image, using the operator's selection as training data.
なお、操作者が「いずれでもない」を選択した場合には、正しい識別符号を入力するように求める。これに応じて、入力された識別符号に従って認識を行う。この場合も、上記と同様、再学習を行うようにしてもよい。 If the operator selects "None of the above," the operator is prompted to input the correct identification code. In response, recognition is performed according to the input identification code. In this case, re-learning may also be performed as described above.
また、ステップS42において、最も高い推定確率が、除外確率未満であった場合、CPU30は、いずれの識別符号にも該当しないと判断し、その確認を操作者に求める。その画面例を、図14に示す。 Also, in step S42, if the highest estimated probability is less than the exclusion probability, the CPU 30 determines that the item does not match any of the identification codes and asks the operator to confirm this. An example of the screen is shown in FIG. 14.
画面から数字が認識できる場合には、操作者が正しい識別符号を入力する。CPU30は、これにしたがって認識を行う(ステップS47)。したがって、学習モデルを用意していない識別符号についても、処理を行うことができる。 If the numbers can be recognized from the screen, the operator inputs the correct identification code. The CPU 30 performs recognition accordingly (step S47). Therefore, processing can be performed even for identification codes for which no learning model is prepared.
なお、新たな識別符号が所定数以上入力されて、その画像と教師データが蓄積されると、CPU30は、この識別符号のための学習モデルを新たに生成する。また、他の識別符号のための学習モデルを再学習する。 When a new identification code is input a predetermined number of times and its images and training data are accumulated, the CPU 30 generates a new learning model for this identification code. It also re-learns the learning models for other identification codes.
また、画面から数字が認識できない場合には、操作者は「数字が読み取れません」のラジオボタンをクリックする。これにより、CPU30は、作業者がヘルメットを装着していないと判断する。なお、ヘルメットの装着の有無については、ステップS3において、ヘルメットに対応する色の領域面積が所定値以下である場合に、ヘルメットを装着していないものとして、以後の処理を行わないようにしてもよい。 If the operator cannot recognize the numbers on the screen, he or she clicks the "Cannot read numbers" radio button. This causes the CPU 30 to determine that the worker is not wearing a helmet. Regarding the presence or absence of a helmet, if the area of the color region corresponding to the helmet is equal to or smaller than a predetermined value in step S3, it may be determined that the helmet is not being worn and subsequent processing may not be performed.
以上のようにして、図12に示すような対応表を得ることができる。なお、この対応表は、毎日更新されることになる。作業現場において、各作業者2が着用するヘルメットは、毎日変わることがあるからである。 In this way, a correspondence table like that shown in FIG. 12 can be obtained. This correspondence table is updated daily, because the helmet worn by each worker 2 at the work site may change every day.
(3)追跡処理
作業現場28に入った作業者2は、カメラC2~C5によって動画として撮像され、その行動軌跡が記録される。
(3) Tracking Process When a worker 2 enters the work site 28, he or she is photographed as a video by the cameras C2 to C5, and the trajectory of the worker's movements is recorded.
CPU30は、各カメラC2~C5からの画像を取得する(ステップS51)。取得した画像から、人物画像を抽出する(ステップS52)。図17AにカメラC2からの画像、図17Bに抽出された人物の画像を示す。 The CPU 30 acquires images from each of the cameras C2 to C5 (step S51). From the acquired images, a person image is extracted (step S52). Figure 17A shows the image from camera C2, and Figure 17B shows the extracted person image.
この実施形態では、深層学習によって学習済モデルにより、画像中から人物画像を抽出するようにしている。たとえば、Dark Net(商標)を用いることができる。Dark Net(商標)によれば、人物、建設機械などを区別して、それを取り囲む矩形として抽出することができる。 In this embodiment, a model trained through deep learning is used to extract images of people from within an image. For example, Dark Net (trademark) can be used. Dark Net (trademark) can distinguish between people, construction machinery, etc., and extract them as rectangles that surround them.
続いて、CPU30は、人物画像からヘルメット画像を抽出し、識別符号画像を得る(ステップS53)。この抽出方法は、図8のステップS25と同じとすることが好ましい。抽出されたヘルメット画像を図17Cに、識別符号画像を図17Dに示す。 Next, the CPU 30 extracts a helmet image from the person image to obtain an identification code image (step S53). This extraction method is preferably the same as that in step S25 of FIG. 8. The extracted helmet image is shown in FIG. 17C, and the identification code image is shown in FIG. 17D.
次に、CPU30は、この識別符号の画像に写された識別符号を認識する処理を行う。この推定処理は、前述の深層学習によって学習したモデルを用いて行われる。 Next, the CPU 30 performs a process to recognize the identification code captured in the image of the identification code. This estimation process is performed using the model learned by the deep learning described above.
CPU30は、まず、図17Dに示す画像が、「0」であるかどうかを推定し、推定確率を出力する(ステップS54)。この際には、「0」のための学習済モデルを用いる。前述のように、「0」のための学習済モデルは、「0」と「0」以外とを区別したデータによって学習したものである。 First, the CPU 30 estimates whether the image shown in FIG. 17D is a "0" and outputs the estimated probability (step S54). At this time, a trained model for "0" is used. As described above, the trained model for "0" is trained using data that distinguishes between "0" and non-"0".
続いて、CPU30は、「1」のための学習済モデルを用い、図17Dに示す画像が「1」であるかどうかを推定し、推定確率を出力する(ステップS55)。 Next, the CPU 30 uses the trained model for "1" to estimate whether the image shown in FIG. 17D is "1" and outputs the estimated probability (step S55).
以下、同様にして、図17Dに示す画像が、それぞれ「2」「3」「4」・・・「9」であるかどうかを推定し、推定確率を出力する。 Then, in the same manner, it estimates whether the images shown in Figure 17D are "2," "3," "4," ... "9," and outputs the estimated probability.
図18に、算出された推定確率の例を示す。次に、CPU30は、最も高い推定確率を選択し、これが所定の確定確率以上であるかどうかを判断する(ステップS64)。図18において、最も高い推定確率は、「5」についての96.2%である。CPU30は、これが、確定確率(信頼にたる所定の確率、たとえば95%)以上であるかどうかを判断する。 Figure 18 shows an example of the calculated estimated probability. Next, the CPU 30 selects the highest estimated probability and determines whether this is equal to or greater than a predetermined confirmed probability (step S64). In Figure 18, the highest estimated probability is 96.2% for "5". The CPU 30 determines whether this is equal to or greater than a confirmed probability (a reliable predetermined probability, for example 95%).
ここでは、所定確率以上であるから、この推定確率にしたがって、識別符号を認識する(ステップS65)。すなわち、識別符号は「5」であると認識する。さらに、CPU30は、図12のテーブルを参照して、識別符号「5」に対応する作業者IDを取得する。 Here, since the probability is equal to or greater than the predetermined probability, the identification code is recognized according to this estimated probability (step S65). That is, the identification code is recognized to be "5". Furthermore, the CPU 30 refers to the table in FIG. 12 and obtains the worker ID corresponding to the identification code "5".
次に、CPU30は、図17Aの画像に基づいて当該作業者の位置を特定する(ステップS66)。図17Aに示すように、人物を抽出する際の枠60の下辺の中央点62を、作業者の位置として特定する。 Next, the CPU 30 identifies the position of the worker based on the image in FIG. 17A (step S66). As shown in FIG. 17A, the center point 62 of the bottom side of the frame 60 used to extract the person is identified as the position of the worker.
カメラC2による撮像範囲は決まっている。この実施形態では、予め撮像画像中の特徴点(目印になるマークのある点、壁と地面の接する点など)F1~F4が定められており、それぞれの座標位置が記録されている。したがって、CPU30は、作業者の位置を示す中央点62の座標を、特徴点F1~F4との相対的な位置関係にて算出する(射影変換)。このようにして、作業者の位置座標を得ることができる。 The imaging range of camera C2 is fixed. In this embodiment, feature points F1 to F4 in the captured image (points with landmarks, points where a wall meets the ground, etc.) are determined in advance, and the coordinate positions of each are recorded. Therefore, CPU 30 calculates the coordinates of center point 62, which indicates the worker's position, based on the relative positional relationship with feature points F1 to F4 (projective transformation). In this way, the worker's position coordinates can be obtained.
次に、CPU30は、当該座標位置を、作業者IDに対応づけて記録する(ステップS67)。この際、図17Aの画像の撮像時刻(画像に付されている)を併せて記録する。なお、図17Aにおいて複数の作業者が撮像されていれば、それぞれの作業者について識別符号を認識し座標位置を特定する。 Next, the CPU 30 records the coordinate position in association with the worker ID (step S67). At this time, the time of capturing the image in FIG. 17A (which is attached to the image) is also recorded. If multiple workers are captured in FIG. 17A, the identification code of each worker is recognized and the coordinate position is identified.
さらに、CPU30は、上記の処理を、他のカメラC3~C5の画像についても行う。このようにして、作業者ごとに、図19に示すような時刻と位置とが記録されることになる。 The CPU 30 also performs the above process on the images from the other cameras C3 to C5. In this way, the time and position as shown in FIG. 19 are recorded for each worker.
したがって、時間経過とともに、各作業者の移動軌跡を記録することができる。また、時間的な位置の変化を作業現場の平面図上に画像として表示するようにしてもよい。 Therefore, the movement trajectory of each worker can be recorded over time. In addition, the change in position over time can be displayed as an image on a floor plan of the work site.
上記では作業者の軌跡を追跡する例を示したが、建設機械M1についても同様にその軌跡を記録することができる。なお、建設機械M1については、直接識別符号を付すことが好ましい。したがって、予め、各建設機械M1について、識別符号の対応を記録しておくことができる。
Although an example of tracking the trajectory of a worker has been shown above, the trajectory of the construction machine M1 can also be recorded in a similar manner. It is preferable to directly assign an identification code to the construction machine M1. Therefore, the correspondence of the identification code can be recorded in advance for each construction machine M1.
1.4その他
(1)上記実施形態では、リアルタイムに作業者の位置を判断して記録するようにしている。しかし、所定時間分(たとえば1日分)の画像を記録しておき、まとめて作業者の位置を判断して記録するようにしてもよい。
1.4 Other
(1) In the above embodiment, the location of the worker is determined and recorded in real time. However, images for a predetermined period of time (for example, one day's worth) may be recorded, and the location of the worker may be determined and recorded all at once.
(2)上記実施形態では、撮像された動画の各フレーム間における画像の関連性を考慮せずに、作業者を特定して位置を特定するようにしている。しかし、フレーム間の関連を考慮して作業者を特定するようにしてもよい。 (2) In the above embodiment, the worker is identified and his/her position is determined without considering the image correlation between each frame of the captured video. However, the worker may be identified by considering the correlation between frames.
たとえば、撮像された動画において、第1フレームが図20A、第2フレームが図20B、第3フレームが図20C、第4フレームが図20Dであったとする。この時、CPU30は、まず、第1フレームにおいて作業者のヘルメットの識別符号を認識し作業者を特定する(たとえば作業者Aと特定したとする)。その位置を中央点62aによって特定する。 For example, in a captured video, the first frame is FIG. 20A, the second frame is FIG. 20B, the third frame is FIG. 20C, and the fourth frame is FIG. 20D. At this time, the CPU 30 first recognizes the identification code on the worker's helmet in the first frame and identifies the worker (for example, the worker is identified as Worker A). The position is identified by the center point 62a.
次に、CPU30は、第2フレーム(図20B)において、中央点62aの周囲所定範囲にある人物画像を抽出する。この作業者画像の識別符号を認識し作業者を特定する。その位置を中央点62bによって特定する。 Next, the CPU 30 extracts a person image within a specified range around the center point 62a in the second frame (Fig. 20B). It recognizes the identification code of this worker image and identifies the worker. Its position is identified by the center point 62b.
次に、CPU30は、第3フレーム(図20C)において、中央点62bの周囲所定範囲にある人物画像を抽出する。この作業者画像の識別符号を認識し作業者を特定する。その位置を中央点62cによって特定する。 Next, the CPU 30 extracts a person image within a specified range around the center point 62b in the third frame (Fig. 20C). It recognizes the identification code of this worker image and identifies the worker. Its position is identified by the center point 62c.
以上の処理を繰り返すことで、特定の作業者の軌跡を追跡することが容易にできる。なお、識別符号によって認識した作業者が、前後のフレームと異なる場合には、前後のフレームと合致させるようにしてもよい。たとえば、図20A、図20B、図20Dのフレームにおいて作業者Aと認識され、図20Cのフレームにおいてのみ作業者Bと認識された場合には、図20Cのフレームについても作業者Aであると認識する。 By repeating the above process, it is easy to track the trajectory of a specific worker. Note that if the worker recognized by the identification code is different from the previous and next frames, it may be possible to match the worker with the previous and next frames. For example, if worker A is recognized in the frames of Figures 20A, 20B, and 20D, and worker B is recognized only in the frame of Figure 20C, the worker will also be recognized as A in the frame of Figure 20C.
(3)上記実施形態では、作業者IDをIDカードから取得するようにしている。しかし、バーコードリーダなどを用いて作業者の有するQRコードなどを読み取るようにしてもよい。また、作業者の所有するスマートフォンから取得してもよい。 (3) In the above embodiment, the worker ID is obtained from an ID card. However, it may also be possible to read a QR code or the like held by the worker using a barcode reader or the like. It may also be possible to obtain the ID from a smartphone held by the worker.
たとえば、スマートフォンの位置情報(内蔵のGPS受信機による)と予め記録した作業者ID(あるいはこれと紐付けられた機体IDなど)を、インターネットを経由してPC24に送信するようにする。この送信処理は、スマートフォンにインストールされたアプリ(プログラム)によって行う。これにより、PC24は、作業者が入場エリア26に入ったことを検知し、作業者IDを取得することができる。 For example, the smartphone's location information (from a built-in GPS receiver) and a pre-recorded worker ID (or a machine ID linked to the same, etc.) are transmitted to PC 24 via the Internet. This transmission process is performed by an app (program) installed on the smartphone. This enables PC 24 to detect that a worker has entered entrance area 26 and obtain the worker ID.
また、作業者自身に、キーボードなどから入力させるようにしてもよい。 Alternatively, the operator may input the information via a keyboard, etc.
(4)上記実施形態では、識別符号として数字を用いている。しかし、文字、記号、模様などを用いてもよい。さらに、識別符号を模様としてランダムに複数生成して、学習済みの推定手段によって正しく推定される確率の高い複数の模様の組合せを用いるようにしてもよい。 (4) In the above embodiment, numbers are used as the identification code. However, letters, symbols, patterns, etc. may also be used. Furthermore, multiple identification codes may be randomly generated as patterns, and a combination of multiple patterns that is highly likely to be correctly estimated by the trained estimation means may be used.
(5)上記実施形態では、作業者の軌跡を記録するようにしている。しかし、これに代えて、あるいはこれに加えて、取得した作業者の位置に基づいて警告などを発するようにしてもよい。 (5) In the above embodiment, the trajectory of the worker is recorded. However, instead of this, or in addition to this, a warning or the like may be issued based on the acquired position of the worker.
図21に示すように、作業現場において、危険エリア70が設定されていたとする。たとえば、建築物の崩壊のおそれがあるため進入しては行けない区域が危険エリア70として、その四隅の座標が予めハードディスク36に記録されている。 As shown in FIG. 21, assume that a danger area 70 has been set up at a work site. For example, an area into which no one should enter due to the risk of a building collapsing is set as the danger area 70, and the coordinates of its four corners are recorded in advance on the hard disk 36.
CPU30は、各作業者の位置を特定した後、いずれかの作業者がこの危険エリア70に入ったかどうかを判断する。危険エリア70に入ったと判断した場合、CPU30は、当該作業者の有するスマートフォンに対して、電話をかけ警告メッセージを送信する。 After identifying the location of each worker, the CPU 30 judges whether any of the workers have entered the danger area 70. If it judges that any of the workers have entered the danger area 70, the CPU 30 makes a call to the smartphone of the worker and sends a warning message.
これらの処理を行うためには、各作業者の有するスマートフォンの電話番号をハードディスク36に予め記録しておく。また、警告の音声メッセージをハードディスク36に予め記録しておく。 To carry out these processes, the phone number of each worker's smartphone is pre-recorded on the hard disk 36. Also, a warning voice message is pre-recorded on the hard disk 36.
上記では、電話によって警告音声メッセージを送信したが、スマートフォンに予め専用のアプリケーションをインストールしておき、インターネットなどを介して当該アプリケーションを制御して警告音を発するように制御してもよい。 In the above, the warning voice message was sent by telephone, but it is also possible to install a dedicated application on a smartphone in advance and control the application via the Internet, etc. to emit a warning sound.
なお、許可を得た者などに限定して、危険エリア70に進入可能とする場合もある。この場合、作業者ごとに危険エリア70に進入可能かどうかを予めテーブルとして記録しておくことができる。図22にその例を示す。この図では、作業者IDが1328の作業者は、危険エリア70に進入可能となっている。 In some cases, only authorized personnel may enter the dangerous area 70. In this case, whether each worker is permitted to enter the dangerous area 70 can be recorded in advance as a table. An example is shown in FIG. 22. In this figure, a worker with a worker ID of 1328 is permitted to enter the dangerous area 70.
CPU30は、危険エリア70に入った作業者が進入可能かどうかを判断し、進入可能でなければ警告を発するようにする。 The CPU 30 determines whether a worker who has entered the danger area 70 is permitted to reenter, and issues a warning if the worker is not permitted to reenter.
なお、進入可能かどうかについて、当該作業者の当日の作業継続時間に応じて決定するようにしてもよい。たとえば、長時間労働している作業者が進入してはいけない領域などを設けてもよい。 Whether or not an area can be entered may be determined based on the duration of work that the worker will be doing that day. For example, areas may be set up that workers who are working long hours cannot enter.
また、午前中は進入不可であるが、午後からは進入可能となるようなエリアを設けてもよい。これを記録しておけば、時間に応じて警告を発することができる。 You could also set up areas where access is prohibited in the morning but is permitted in the afternoon. By recording this, you could issue warnings according to the time.
上記実施形態では、危険エリア70は固定的であった。しかし、図21の危険エリア72に示すように、動的に変化する場合もある。すなわち、建設機械M1の移動につれて、その周囲所定範囲の危険エリア72も移動することになる。CPU30は、建設機械M1の位置も把握しているので、刻々、危険エリア72を更新することができる。 In the above embodiment, the danger area 70 was fixed. However, as shown by the danger area 72 in FIG. 21, it may change dynamically. In other words, as the construction machine M1 moves, the danger area 72 within a specified range around it also moves. The CPU 30 is also aware of the position of the construction machine M1, so it can update the danger area 72 from moment to moment.
(6)上記実施形態では、カメラC2~C5によって作業員・建設機械を撮像し、位置を特定するようにしている。しかし、作業員にGPS受信機を持たせて(建設機械にGPS受信機を設けて)各作業員・建設機械の位置を取得するようにしてもよい。いずれの作業員・建設機械の位置であるかは、GPS受信機の固有のIDによって識別することができる。 (6) In the above embodiment, cameras C2 to C5 capture images of workers and construction machinery to identify their locations. However, it is also possible to have workers carry GPS receivers (or to install a GPS receiver on construction machinery) to obtain the location of each worker and construction machinery. The location of each worker and construction machinery can be identified by the unique ID of the GPS receiver.
しかし、上記のようにGPS受信機による位置特定では、電波の届かない屋内などでは用いることができない。そこで、屋内などGPSの電波の届かない場所に関しては、上記実施形態によるカメラでの位置特定を併用すればよい。 However, as described above, position determination using a GPS receiver cannot be used indoors or in other places where radio waves cannot reach. Therefore, for places where GPS radio waves cannot reach, such as indoors, position determination using a camera according to the above embodiment can be used in addition.
図23に、GPS電波の届かない領域90のある作業現場28を示す。作業者の入場時に、ヘルメットの識別符号を読み取って作業者IDと紐付ける点は同様である。当該ヘルメットには、GPS受信機が設けられている。したがって、このGPS受信機の受信機IDも、作業者IDと紐付けられる。なお、GPS受信機は、ヘルメットではなく作業者の身体に装着するようにしてもよい。この場合、作業者の入場時刻と、GPS受信機による時刻・位置に基づいて、紐付けを行うようにすればよい。 Figure 23 shows a work site 28 that has an area 90 where GPS radio waves cannot reach. When a worker enters, the identification code on the helmet is read and linked to the worker ID. The helmet is equipped with a GPS receiver. Therefore, the receiver ID of this GPS receiver is also linked to the worker ID. Note that the GPS receiver may be attached to the worker's body instead of the helmet. In this case, the linking can be done based on the time of the worker's entry and the time and position measured by the GPS receiver.
電波の届かない領域90以外の作業現場28では、GPS受信機により各作業者の位置が特定され、その軌跡が追跡される。電波の届かない領域90においては、カメラC7による画像により、作業者が特定され、その位置が特定される。 In the work site 28 other than the area 90 where radio waves cannot reach, the position of each worker is identified by a GPS receiver and their trajectory is tracked. In the area 90 where radio waves cannot reach, the worker is identified and his/her position is determined by the image captured by the camera C7.
(7)上記実施形態では、作業現場28における動体の追跡について説明した。しかし、作業現場以外での動体の追跡にも適用することができる。たとえば、図書館等の施設、テーマパーク、公園などの施設、工場などの設備などにも適用することができる。 (7) In the above embodiment, the tracking of moving objects at the work site 28 has been described. However, the present invention can also be applied to tracking moving objects outside of work sites. For example, the present invention can be applied to facilities such as libraries, theme parks, parks, and equipment in factories.
(8)上記実施形態では、ヘルメットに識別符号を付している。しかし、社員証、IDカード、服、リストバンドなどに識別符号を付すようにしてもよい。 (8) In the above embodiment, an identification code is attached to the helmet. However, an identification code may be attached to an employee ID card, an ID card, clothing, a wristband, etc.
(9)上記実施形態では、作業者の装着したヘルメットの識別符号によって作業者を特定するようにしている。しかし、作業者の顔、身体の画像に基づいて、作業者を特定するようにしてもよい。 (9) In the above embodiment, the worker is identified by the identification code on the helmet worn by the worker. However, the worker may also be identified based on an image of the worker's face or body.
(10)上記実施形態では、識別符号ごと(「0」から「9」ごと)に推定を行って、その推定結果を統合するようにしている。 (10) In the above embodiment, estimation is performed for each identification code (for each digit from "0" to "9"), and the estimation results are integrated.
しかし、識別符号画像がいずれの識別符号を示しているかを推定する一つの推定手段を設けるようにしてもよい。 However, it is also possible to provide a single estimation means for estimating which identification code the identification code image represents.
(11)上記では、作業者個人の軌跡を追跡するようにしている。 (11) In the above, the trajectory of each individual worker is tracked.
しかし、作業者のグループごと(左官、鳶などの業務ごと)にヘルメットの識別符号を異なるようにし、個人を特定せず、グループに属する作業者の軌跡を追跡するようにしてもよい。 However, it would also be possible to assign different helmet identification codes to each group of workers (each job, such as plasterer, scaffolder, etc.) and track the trajectories of workers belonging to the group without identifying individuals.
(12)上記実施形態では、識別符号を認識して作業者を特定し、これに基づいて作業者の追跡を行うようにしている。しかし、識別符号を認識することで作業者を特定する処理は、追跡以外の場合に用いることができる。たとえば、作業者の特定自体や、作業者が現場にいるかどうかなどの処理にも用いることができる。 (12) In the above embodiment, the identification code is recognized to identify the worker, and the worker is tracked based on this. However, the process of identifying the worker by recognizing the identification code can be used in cases other than tracking. For example, it can be used to identify the worker itself, or to determine whether the worker is at the work site.
(13)上記実施形態では、作業者の追跡を行った上で、危険区域への侵入警告を行うようにしている。しかし、追跡は行わずに、侵入警告だけを行うようにしてもよい。 (13) In the above embodiment, the worker is tracked and then a warning is issued for intrusion into a dangerous area. However, it is also possible to only issue a warning for intrusion without tracking.
(14)上記実施形態およびその変形例は、他の実施形態にも適用可能である。
(14) The above embodiment and its variations can be applied to other embodiments.
2.第2の実施形態
2.1全体構成
図24に、この発明の第2の実施形態による人物追跡装置の機能構成を示す。この実施形態では、作業現場における作業者の行動追跡を例として説明する。追跡の処理は、第1の実施形態と同じものを用いることができる。この実施形態は、その認識手段10の追加学習についての仕組みに関するものである。
2. Second embodiment
2.1 Overall Configuration Fig. 24 shows the functional configuration of a person tracking device according to a second embodiment of the present invention. In this embodiment, tracking of the behavior of a worker at a work site is described as an example. The same tracking process as in the first embodiment can be used. This embodiment relates to a mechanism for additional learning of the recognition means 10.
作業者2は、作業現場への入場時に装着物であるヘルメット4を装着する。ヘルメット4には、前面、後面、左右側面、上面など複数箇所に識別符号6が印刷などの方法で付されている。同じヘルメット4には同じ識別符号が複数箇所に付されており、ヘルメット4ごとにユニークに異なる識別符号が付されている。たとえば、「0」「1」・・・「9」の識別符号が付されている。 When a worker 2 enters a work site, he or she puts on a helmet 4, which is an accessory. An identification code 6 is printed or otherwise attached to the helmet 4 in multiple locations, such as the front, back, left and right sides, and top. The same identification code is attached to multiple locations on the same helmet 4, and each helmet 4 is assigned a unique identification code. For example, the identification codes are "0," "1," ... "9."
入場時に、作業者IDと識別符号との対応づけが成される点は、第1の実施形態と同様である。 As with the first embodiment, the worker ID is matched to the identification code upon entry.
入場後、作業者が自動販売機にて飲み物を購入したとする。この作業現場では、各作業者のIDカードを自動販売機にかざすことで商品を購入できるようになっている。したがって、商品購入時に、作業者IDを取得して、その自動販売機の前にいる作業者が誰であるかを特定することができる。すなわち、ID取得手段14は、作業者IDを取得する。 After entering the work site, let's say a worker purchases a drink from a vending machine. At this work site, each worker can purchase a product by holding their ID card over the vending machine. Therefore, when purchasing a product, the worker ID can be obtained and it is possible to identify the worker standing in front of the vending machine. That is, the ID obtaining means 14 obtains the worker ID.
自動販売機には、カメラ9が設けられており、作業者を撮像できるようになっている。学習手段13は、特定された作業者IDと撮像された作業者の画像とに基づいて、第1の推定手段E1~Enを追加学習する。 The vending machine is equipped with a camera 9, which is capable of capturing an image of the worker. The learning means 13 additionally learns the first estimation means E1 to En based on the identified worker ID and the captured image of the worker.
これにより、第1の推定手段E1~Enの推定精度を向上させることができる。
This makes it possible to improve the estimation accuracy of the first estimating means E1 to En.
2.2システム構成
図25に、移動物追跡装置のシステム構成を示す。作業現場28には、入場エリア26が設けられている。作業員が作業現場28に入場する際には、ヘルメットを着用し、入場エリア26にて、IDカードをカード読取器22にかざして認証を行う。IDカードには、各作業者の作業者IDが記録されており、カード読取器22はこれを読み取って、PC21を介して、現場事務所などに設けられたPC24に送信する。IDカードとしては、フェリカ(商標)などの近距離通信方式などを用いることができる。
2.2 System Configuration Figure 25 shows the system configuration of the moving object tracking device. An entrance area 26 is provided at a work site 28. When a worker enters the work site 28, he or she wears a helmet and is authenticated by holding an ID card over a card reader 22 at the entrance area 26. The ID card records the worker ID of each worker, which is read by the card reader 22 and transmitted via PC 21 to a PC 24 provided at a site office or the like. A short-distance communication system such as FeliCa (trademark) can be used as the ID card.
入場エリア26には、入場カメラC1が設けられており、識別符号の付されたヘルメットを装着した作業員を撮像する。撮像画像は、PC24に送られる。PC24は、この画像に基づいて識別符号を認識する。さらに、これを、カード読取器22より受信した作業者IDと対応づけて記録する。 An entrance camera C1 is installed in the entrance area 26, and captures an image of a worker wearing a helmet with an identification code attached. The captured image is sent to the PC 24. The PC 24 recognizes the identification code based on this image. It then records this in association with the worker ID received from the card reader 22.
図においては、作業者W1~W5が入場済みであることが示されている。作業現場28には、作業場カメラC2~C5が設けられ、作業現場28を撮像している。この撮像画像は、PC24に送られ、各作業者W1~W5のヘルメットの識別符号が認識される。また、画像に基づいて、その位置が把握される。したがって、各作業者W1~W5の位置を知ることができ、その行動軌跡を記録することができる。 In the figure, it is shown that workers W1 to W5 have already entered the work site. Work site cameras C2 to C5 are installed at the work site 28, and capture images of the work site 28. These captured images are sent to the PC 24, which recognizes the identification codes on the helmets of each worker W1 to W5. In addition, their positions are ascertained based on the images. Therefore, the positions of each worker W1 to W5 can be known, and their movement trajectories can be recorded.
作業現場28には、飲料などの自動販売機94が設置されている。この自動販売機94には、各作業者の有するIDカードの作業者IDを読み取る機能が内蔵されている。これにより、商品購入時の清算を行うようにしている。自動販売機94によって読み取られた作業者IDは、PC24に送信される。 At the work site 28, a vending machine 94 for beverages and the like is installed. This vending machine 94 has a built-in function for reading the worker ID on the ID card held by each worker. This allows for settlement at the time of product purchase. The worker ID read by the vending machine 94 is sent to the PC 24.
また、自動販売機94には、カメラW8が設置されており、商品を購入した作業者W3を撮像できるようになっている。撮像された画像は、上記の作業者IDとともに、PC24に送信される。 The vending machine 94 is also equipped with a camera W8, which is capable of capturing an image of the worker W3 who has purchased a product. The captured image is sent to the PC 24 together with the worker ID described above.
PC24は、送られてきた作業者IDと作業者の画像とに基づいて、識別符号を認識するプログラムを追加学習する。 The PC 24 additionally learns a program that recognizes the identification code based on the worker ID and image of the worker that were sent.
PC24のハードウエア構成は、図3に示すものと同様である。
The hardware configuration of the PC 24 is similar to that shown in FIG.
2.3追加学習処理
作業者の追跡処理については、第1の実施形態と同様である。以下では、追加学習処理について説明する。
2.3 Additional Learning Process The process of tracking a worker is the same as that in the first embodiment. The additional learning process will be described below.
図26に、移動物追跡プログラム46における追加学習処理のフローチャートを示す。 Figure 26 shows a flowchart of the additional learning process in the moving object tracking program 46.
CPU30は、自動販売機94から作業者IDが送信されてきたかどうか(すなわち、作業者が自動販売機で商品を購入したかどうか)を判断する(ステップS91)。作業者IDが送信されてくると、CPU30は、当該作業者IDをハードディスク36に記録する(ステップS92)。 The CPU 30 determines whether an operator ID has been transmitted from the vending machine 94 (i.e., whether the operator has purchased a product from the vending machine) (step S91). When the operator ID is transmitted, the CPU 30 records the operator ID on the hard disk 36 (step S92).
続いて、CPU30は、自動販売機94が撮像した購入時の作業者の画像を取得して記録する(ステップS93)。取得した画像の例を図27Aに示す。 Next, the CPU 30 acquires and records an image of the operator at the time of purchase captured by the vending machine 94 (step S93). An example of the acquired image is shown in FIG. 27A.
次に、CPU30は、この作業者画像から人物を抽出し、さらに、ヘルメットを抽出し、識別符号の画像を抽出する(ステップS94)。この処理は、第1の実施形態にて説明したとおりである。抽出された識別符号画像の例を、図27Bに示す。 Next, the CPU 30 extracts the person from this worker image, and further extracts the helmet, and extracts an image of the identification code (step S94). This process is as described in the first embodiment. An example of the extracted identification code image is shown in FIG. 27B.
さらに、CPU30は、取得した作業者IDに紐付けられた識別符号を取得する(ステップS95)。すなわち、図8、図9の入場時処理のステップS46において記録された識別符号を取得する。 The CPU 30 then acquires an identification code associated with the acquired worker ID (step S95). That is, the CPU 30 acquires the identification code recorded in step S46 of the entry processing in Figures 8 and 9.
CPU30は、上記にて得た識別符号画像について、取得した識別符号を教師データとして、「0」から「9」のそれぞれの推定手段の追加学習を行う(ステップS96~S105)。 The CPU 30 performs additional learning of the estimation means for each of the digits "0" to "9" for the identification code image obtained above, using the acquired identification code as training data (steps S96 to S105).
以上のようにして、推定手段の推定精度を高くすることができる。
In this manner, the estimation accuracy of the estimation means can be improved.
2.4その他
(1)上記実施形態では、作業者IDを取得して作業者を特定した状態にて撮像した画像により、追加学習を行うようにしている。
2.4 Other
(1) In the above embodiment, additional learning is performed using an image captured after the worker ID is acquired and the worker is identified.
しかし、その他作業者が特定できる状態での画像に基づいて、追加学習を行ってもよい。 However, additional learning may be performed based on images in which the worker can be identified.
たとえば、GPS受信機を所持している作業者が、一人だけで撮像されている画像に基づいて、追加学習をしてもよい。この場合、作業者の位置が特定されているので、撮像されている作業者を特定することができる。 For example, additional learning may be performed based on images captured by a worker carrying a GPS receiver alone. In this case, the worker's position is identified, so the worker in the image can be identified.
あるいは、特定の場所・特定の時刻にその場所にいることが定められている作業者を撮像した画像に基づいて追加学習をしてもよい。この場合も、撮像されている作業者を特定することができるからである。 Alternatively, additional learning can be done based on images of workers who are determined to be in a specific location at a specific time. In this case too, it is possible to identify the worker whose image is being captured.
(2)上記実施形態およびその変形例は、他の実施形態にも適用可能である。
(2) The above embodiment and its modifications can be applied to other embodiments.
3.第3の実施形態
3.1全体構成
図28に、この発明の第3の実施形態による人物追跡装置の機能構成を示す。基本的な構成は、第1の実施形態と同様である。
3. Third embodiment
3.1 Overall Configuration Fig. 28 shows the functional configuration of a person tracking device according to the third embodiment of the present invention. The basic configuration is the same as that of the first embodiment.
ただし、ヘルメット4に付された識別符号6が異なっている。この実施形態においては、複数桁で、各桁の色が異なる識別符号6を用いている。これにより、色も考慮してより正確に識別符号6を認識することができる。
However, the identification code 6 attached to the helmet 4 is different. In this embodiment, the identification code 6 has multiple digits, and each digit has a different color. This allows the identification code 6 to be recognized more accurately, taking the color into consideration.
3.2システム構成
システム構成は、図2、図3を用いて説明した第1の実施形態と同様である。
3.2 System Configuration The system configuration is the same as that of the first embodiment described with reference to FIGS.
図29に、作業者が着用するためのヘルメット4を示す。各ヘルメット4には、それぞれ、ユニークな識別符号が記載されたシール7が貼り付けられている。なお、シール7の素材としては反射の少ない素材や反射の少ない表面加工の施されたものが好ましい。たとえば、マット紙を用いることができる。この実施形態では、白色のマット紙に、黒の背景と色のついた識別符号を印刷してシール7を形成している。 Figure 29 shows helmets 4 to be worn by workers. Each helmet 4 has a sticker 7 with a unique identification code attached to it. The sticker 7 is preferably made of a material with low reflection or a surface treatment with low reflection. For example, matte paper can be used. In this embodiment, the sticker 7 is formed by printing a colored identification code with a black background on white matte paper.
シール7は、地色が黒色(特定色)であり、その中に所定桁数(この例では3桁)の識別符号が記載されている。たとえば、左上のヘルメット4であれば、「J」「1」「K」という個別符号を並べて識別符号が構成されている。また、前面、上面、左右側面のそれぞれに、同じ識別符号が付されている。これは、様々な角度から撮像された際であっても、画像中に識別符号が含まれるようにするためである。 The sticker 7 has a background color of black (a specific color) on which an identification code of a specified number of digits (three digits in this example) is written. For example, the identification code of the helmet 4 at the top left is made up of a series of individual codes "J", "1", and "K". The same identification code is also given to the front, top, left and right sides. This is to ensure that the identification code is included in the image even when it is photographed from various angles.
また、各桁において、個別符号の色を変えるようにしている。図29には現れていないが、この実施形態では、最初の桁はピンク、2番目の桁は黄色、3番目の桁は青色にて表示している。なお、区別可能な色であればどのような色の組合せを用いてもよいが、各色のRGB値が大きく異なるように設定することが好ましい。 The color of the individual code is also changed for each digit. Although not shown in FIG. 29, in this embodiment, the first digit is displayed in pink, the second digit in yellow, and the third digit in blue. Any color combination may be used as long as the colors are distinguishable, but it is preferable to set the RGB values of each color to be significantly different.
また、各桁において用いる符号のフォントは、線幅が均一となるもの(ゴチックなど)が好ましい。 It is also preferable that the font used for the symbols in each digit has a uniform line width (such as Gothic).
さらに、各桁において用いる符号は、互いに類似度の低いものを用いるようにしている。この実施形態では、数字、アルファベットの中から、図30に示す丸印を付したものを用いるようにしている。 Furthermore, the symbols used for each digit are designed to have low similarity to each other. In this embodiment, the numbers and alphabets marked with circles as shown in Figure 30 are used.
類似度の低い符号の選定にあたっては、次のようにして行ってもよい。候補となる複数種類の符号(たとえば、0~9、A~Z)について学習させた認識手段10に、判断したい符号を所定数与えて判断させる。この判断結果に基づき、各符号ごとにF値(F尺度)を算出する。このF値は、以下の式によって算出される。 The selection of codes with low similarity may be performed as follows. A predetermined number of codes to be judged are given to the recognition means 10, which has been trained on multiple types of candidate codes (for example, 0-9 and A-Z), and the recognition means 10 is made to judge them. Based on the results of this judgment, an F-value (F-scale) is calculated for each code. This F-value is calculated using the following formula:
F値=(2・適合率・再現率)/(適合率+再現率)
たとえば、符号「1」についての適合率は以下のようにして算出する。認識手段10が「1」であると判断したものが15個あったとき、その内の10個が「1」を与えた場合である場合には、適合率は、10/15となる。すなわち、当該符号であると認識した数のうちに正当数がいくらあるかによって算出される。
F-score = (2 * precision * recall) / (precision + recall)
For example, the precision rate for the code "1" is calculated as follows: If there are 15 numbers that the recognition means 10 judges to be "1" and 10 of them give the value "1", the precision rate is 10/15. In other words, it is calculated based on how many of the numbers recognized as the code are valid.
また、符号「1」についての再現率は以下のようにして算出する。符号「1」を12個与えたとき、その内、認識手段10が「1」と正しく判断した数が10個であれば、再現率は10/12となる、すなわち、当該符号を所定数与えたときに、その内、いくつ正答するかによって算出される。 The recall rate for the code "1" is calculated as follows. If 12 code "1"s are given, and the recognition means 10 correctly judges 10 of them to be "1", then the recall rate is 10/12. In other words, when a given number of codes are given, the recall rate is calculated based on how many of them are correct.
以上のようにして、候補となる各符号についてF値を算出し、F値の上位から所定個数を使用する符号として選定する。
In this manner, the F value is calculated for each candidate code, and a predetermined number of codes having the highest F value are selected as the codes to be used.
3.3追跡処理
以下、ヘルメット4を着用した作業者の行動を追跡する処理について説明する。
3.3 Tracking Process The process of tracking the behavior of a worker wearing the helmet 4 will now be described.
(1)学習用データ生成処理および学習済モデル生成
この実施形態では、撮像した識別符号を、深層学習の学習済みモデルにて認識するようにしている。そこで、まず、学習用データ生成の処理から説明する。
(1) Learning Data Generation Process and Trained Model Generation In this embodiment, an image of an identification code is recognized by a trained model of deep learning. First, the learning data generation process will be described.
図31に、移動物追跡プログラム46の学習用データ生成処理のフローチャートを示す。図29のヘルメット4を様々な角度から撮像した多数の画像を、予めハードディスク36に記録しておく。 Figure 31 shows a flowchart of the learning data generation process of the moving object tracking program 46. A large number of images of the helmet 4 in Figure 29 taken from various angles are recorded in advance on the hard disk 36.
CPU30は、この画像を一枚ずつハードディスク36から読み出す(ステップS2)。読み出された画像の例を、図32Aに示す。図においては、モノクロにて示しているが、この実施形態ではカラー画像を用いている。 The CPU 30 reads these images one by one from the hard disk 36 (step S2). An example of the read image is shown in FIG. 32A. In the figure, the images are shown in monochrome, but in this embodiment, color images are used.
次に、CPU30は、この画像から、ヘルメット4のみを抽出する(ステップS103)。この実施形態では、ヘルメットの画像を深層学習した学習済みモデルにて、ヘルメットを抽出するようにしている。たとえば、YOLO(https://pjreddie.com/darknet/yolo/)を用いることができる。図32Aに示すように、ヘルメット4の領域が矩形のバウンダリーボックスにて抽出される。 Next, the CPU 30 extracts only the helmet 4 from this image (step S103). In this embodiment, the helmet is extracted using a trained model that has been deep-trained on the helmet image. For example, YOLO (https://pjreddie.com/darknet/yolo/) can be used. As shown in FIG. 32A, the area of the helmet 4 is extracted as a rectangular boundary box.
次に、CPU30は、抽出したヘルメット4の画像から、シール4の色(この実施形態では黒)に基づいて、シール7全体を抽出する(ステップS104)。抽出された画像の例を図32Bに示す。なお、図32Aにおいては、シール7が3カ所写し出されている。この実施形態では、最も面積の広いシール7の画像を一つ選択するようにしている。また、各桁の色に基づいて、3つの桁全てが含まれるシール7の画像を選択するようにしてもよい。なお、シール4の画像の選択は、操作者がマウスなどを用いて行うようにしてもよい。 Next, the CPU 30 extracts the entire sticker 7 from the extracted image of the helmet 4 based on the color of the sticker 4 (black in this embodiment) (step S104). An example of the extracted image is shown in FIG. 32B. Note that in FIG. 32A, sticker 7 is shown in three places. In this embodiment, one image of the sticker 7 with the largest surface area is selected. Also, an image of sticker 7 that includes all three digits may be selected based on the color of each digit. Note that the image of sticker 4 may be selected by the operator using a mouse or the like.
シール7に示された識別符号は色がついているが、CPU30は、抽出したシール7の画像の識別符号の部分を白色に変換し、図32Bのような画像を得ている。 The identification code shown on sticker 7 is colored, but CPU 30 converts the identification code portion of the extracted image of sticker 7 to white, resulting in an image like that shown in Figure 32B.
CPU30は、このようにして抽出したシール7の画像(すなわち全体符号)を、ディスプレイに表示する。操作者は、この画像を見て、全体符号のクラス(図32Bの例であれば「J1K」)を入力する(ステップS105)。CPU30は、図32Bの全体符号の画像と入力されたクラス「J1K」とを対応づけて記録する。 The CPU 30 displays the image of the sticker 7 thus extracted (i.e., the overall code) on the display. The operator looks at this image and inputs the class of the overall code ("J1K" in the example of FIG. 32B) (step S105). The CPU 30 records the image of the overall code in FIG. 32B in association with the input class "J1K".
続いて、CPU30は、全体符号の画像(シール7の画像)を、その色に基づいて各桁に分ける(ステップS106)。1桁目はピンク、2桁目は黄色、3桁目は青色であるので、これにしたがって各桁の個別符号を分離する。CPU30は、認識した各個別符号の部分を白色に変換し、他の部分を黒色にして、桁ごとに分離された画像を、図32Cのように得る。 Then, the CPU 30 separates the image of the overall code (image of sticker 7) into digits based on their color (step S106). The first digit is pink, the second digit is yellow, and the third digit is blue, so the individual codes for each digit are separated accordingly. The CPU 30 converts the recognized parts of each individual code to white and the other parts to black, obtaining an image separated into digits as shown in FIG. 32C.
CPU30は、このようにして抽出した個別符号の画像を、ディスプレイに表示する。操作者は、この画像を見て、個別符号のクラス(図32Bの例であれば「J」「1」「K」)を入力する(ステップS107)。CPU30は、各個別画像に対応付けて、入力されたクラス「J」「1」「K」を対応づけて記録する。 The CPU 30 displays the image of the individual code extracted in this manner on the display. The operator looks at this image and inputs the class of the individual code (in the example of FIG. 32B, "J", "1", or "K") (step S107). The CPU 30 records the input classes "J", "1", and "K" in association with each individual image.
以上のようにして一つの画像についての処理が終了すると、記録されている次の画像について、同様の処理を行って全体符号の抽出とクラスの付与、個別符号の抽出とクラスの付与を行う(ステップS101~S108)。 When the processing for one image is completed in this manner, the same processing is carried out for the next recorded image to extract the overall code and assign a class, and to extract individual codes and assign a class (steps S101 to S108).
全ての画像について、全体符号・個別符号の抽出、クラスの付与を行うと、CPU30は、識別符号「J1K」のクラスのための学習データセットを生成する(ステップS7)。「J1K」の学習データセットは、「J1K」のクラスが付された全体符号の画像と、「J1K」以外のクラスが付された全体符号の画像とによって生成される。 After extracting the overall code and individual code and assigning classes to all images, the CPU 30 generates a learning data set for the class of the identification code "J1K" (step S7). The learning data set for "J1K" is generated from images of the overall code assigned the class "J1K" and images of the overall code assigned a class other than "J1K".
なお、図31のステップS101~S108にて生成した「J1K」のデータセットの数と、「J1K」以外のデータセットの数は、等しくないのが通常である。たとえば、全体符号のクラスが10個あれば、1:9となるのが通常である。 Note that the number of "J1K" data sets generated in steps S101 to S108 in FIG. 31 is usually not equal to the number of data sets other than "J1K". For example, if there are 10 classes of the overall code, the ratio is usually 1:9.
しかし、「J1K」のデータセットの数と、「J1K」以外のデータセットの数が大きく異なるような学習用データセットは、学習のために好ましいものではない。そこで、この実施形態では、「J1K」以外のデータからピックアップして学習用データセットとして用いることで、「J1K」のデータセットの数と、「J1K」以外のデータセットの数がほぼ等しくなるようにしている(たとえば1:1.5を超えない範囲(好ましくは、1:1.1を超えない範囲)としている)。 However, a learning dataset in which the number of "J1K" datasets and the number of datasets other than "J1K" are significantly different is not desirable for learning. Therefore, in this embodiment, data other than "J1K" is picked up and used as the learning dataset, so that the number of "J1K" datasets and the number of datasets other than "J1K" are approximately equal (for example, in a range not exceeding 1:1.5 (preferably, not exceeding 1:1.1)).
CPU30は、同様の処理を行って、「BW2」「RJ6」「LNU」「YHX」「4UC」「STD」「TL1」「CKF」「F2Y」のクラスのためのそれぞれの学習データセットを生成する(ステップS109~S110)。 The CPU 30 performs similar processing to generate learning data sets for each of the classes "BW2", "RJ6", "LNU", "YHX", "4UC", "STD", "TL1", "CKF", and "F2Y" (steps S109 to S110).
次に、CPU30は、個別符号「1」のクラスのための学習データセットを生成する(ステップS111)。「1」の学習データセットは、「1」のクラスが付された個別符号の画像と、「1」以外のクラスが付された個別符号の画像とによって生成される。 Next, the CPU 30 generates a learning data set for the class of the individual code "1" (step S111). The learning data set for "1" is generated from images of individual codes assigned the class "1" and images of individual codes assigned a class other than "1".
なお、図31のステップS101~S108にて生成した「1」のデータセットの数と、「1」以外のデータセットの数は、等しくないのが通常である。たとえば、個別符号のクラスが20個あれば、1:19となるのが通常である。 Note that the number of "1" data sets generated in steps S101 to S108 in FIG. 31 is usually not equal to the number of data sets other than "1". For example, if there are 20 classes of individual codes, the ratio is usually 1:19.
しかし、「1」のデータセットの数と、「1」以外のデータセットの数が大きく異なるような学習用データセットは、学習のために好ましいものではない。そこで、この実施形態では、「1」以外のデータからピックアップして学習用データセットとして用いることで、「1」のデータセットの数と、「1」以外のデータセットの数がほぼ等しくなるようにしている(たとえば1:1.5を超えない範囲(好ましくは、1:1.1を超えない範囲)としている)。 However, a training dataset in which the number of "1" data sets and the number of non-"1" data sets differ significantly is not desirable for training. Therefore, in this embodiment, data other than "1" is picked up and used as the training dataset, so that the number of "1" data sets and the number of non-"1" data sets are approximately equal (for example, in a range not exceeding 1:1.5 (preferably, not exceeding 1:1.1)).
CPU30は、同様の処理を行って、「2」「4」「6」「B」「C」「D」「F」「H」「J」「K」「L」「N」「R」「S」「T」「U」「W」「X」「Y」のクラスのためのそれぞれの学習データセットを生成する(ステップS111~S112)。 The CPU 30 performs similar processing to generate learning data sets for each of the classes "2", "4", "6", "B", "C", "D", "F", "H", "J", "K", "L", "N", "R", "S", "T", "U", "W", "X", and "Y" (steps S111 to S112).
以上のようにして、全体符号、個別符号のそれぞれについての学習データセットを生成すると、CPU30は、それぞれの学習データセットに基づいて深層学習のプログラムの学習を行う。これにより、CPU30は、全体符号「J1K」「BW2」・・・「CKF」「F2Y」を推定するための学習済みモデル、個別符号「1」「2」・・・「X」「Y」を推定するための学習済みモデルを得ることができる。これらモデルは、ハードディスク36に保持される。 After generating the learning data sets for the overall code and the individual codes in the above manner, the CPU 30 trains a deep learning program based on the respective learning data sets. This allows the CPU 30 to obtain trained models for estimating the overall codes "J1K", "BW2", ... "CKF", "F2Y", and trained models for estimating the individual codes "1", "2", ... "X", "Y". These models are stored on the hard disk 36.
(2)識別符号と作業者IDとの対応付処理
作業者2がいずれのヘルメット4を装着するかが決まっていない場合、作業者IDとヘルメット4の識別符号とを対応づける必要がある。この実施形態においては、作業現場への入場時にこれを行うようにしている。
(2) Corresponding Process Between Identification Code and Worker ID When it is not decided which helmet 4 the worker 2 will wear, it is necessary to correlate the worker ID with the identification code of the helmet 4. In this embodiment, this is done when the worker enters the work site.
図33、図34に、移動物追跡プログラム46の入場時処理のフローチャートを示す。作業者2は、入場エリア26において、入場時にIDカードをカード読取器22にかざす。IDカードから読み取られた作業者IDは、PC21を介して、PC24に送信される。 Figures 33 and 34 show a flowchart of the entry processing of the moving object tracking program 46. When entering the entry area 26, the worker 2 holds his/her ID card over the card reader 22. The worker ID read from the ID card is sent to PC 24 via PC 21.
CPU30は、IDカードが読み取られて、作業者IDが送信されてきたかどうかを判断する(ステップS121)。作業者IDが送信されてくると、当該作業者IDを、本日の出勤作業者としてハードディスク36に記録する(ステップS122)。 The CPU 30 reads the ID card and determines whether the worker ID has been transmitted (step S121). If the worker ID has been transmitted, the CPU 30 records the worker ID in the hard disk 36 as a worker who has clocked in for the day (step S122).
CPU30は、続いて、入場エリア26に設けられたカメラC1が撮像した、当該作業者2の画像を取得する(ステップS123)。取得された画像の例を図35Aに示す。CPU10は、この画像からヘルメット4の画像を抽出する(ステップS124)。この実施形態では、深層学習による推定プログラムにて、ヘルメット4の画像を抽出するようにしている。たとえば、YOLOを用いることができる。図35Aに示すように、ヘルメット4の画像が矩形領域(バウンダリーボックス)として抽出される。 The CPU 30 then acquires an image of the worker 2 captured by the camera C1 installed in the entrance area 26 (step S123). An example of the acquired image is shown in FIG. 35A. The CPU 10 extracts an image of the helmet 4 from this image (step S124). In this embodiment, an estimation program using deep learning is used to extract the image of the helmet 4. For example, YOLO can be used. As shown in FIG. 35A, the image of the helmet 4 is extracted as a rectangular area (boundary box).
さらに、CPU30は、シール7の地色(この実施形態では黒)に基づいて、識別符号の記載されたシール7の画像を抽出する(ステップS125)。なお、図35Aにおいては、ヘルメット4の画像内に3つのシール7の画像が写されている。CPU30は、最も面積の広いシール7の画像を一つ選択するようにしている。また、各桁の色に基づいて、3つの桁全てが含まれるシール7の画像を選択するようにしてもよい。図35Bに、抽出されたシール7の画像を示す。 Furthermore, the CPU 30 extracts an image of the sticker 7 bearing the identification code based on the background color of the sticker 7 (black in this embodiment) (step S125). In FIG. 35A, three images of stickers 7 are shown within the image of the helmet 4. The CPU 30 selects the image of the sticker 7 with the largest surface area. Also, an image of the sticker 7 containing all three digits may be selected based on the color of each digit. The extracted image of the sticker 7 is shown in FIG. 35B.
シール7に示された識別符号は色がついているが、CPU30は、抽出したシール7の識別符号の部分を白色に変換し、図35Cのような画像を得ている。 The identification code shown on sticker 7 is colored, but CPU 30 converts the extracted part of sticker 7 that contains the identification code to white, resulting in an image like that shown in Figure 35C.
続いて、CPU30は、図35Bのカラー画像に基づいて、各桁の個別符号を抽出する(ステップS126)。CPU30は、図35Dに示すように、抽出した個別符号の識別符号の部分を白色に変換し、他の部分を黒色にする。 Next, the CPU 30 extracts the individual code for each digit based on the color image in FIG. 35B (step S126). As shown in FIG. 35D, the CPU 30 converts the identification code portion of the extracted individual code to white and the other portions to black.
次に、CPU30は、上記で抽出した全体符号および各桁の個別符号の画像に写された符号を認識する処理を行う。この推定処理は、前述の深層学習によって学習したモデルを用いて行われる。 Next, the CPU 30 performs a process to recognize the symbols captured in the image of the overall symbol extracted above and the individual symbols of each digit. This estimation process is performed using the model learned by the deep learning described above.
CPU30は、まず、図35Cに示す画像が、「J1K」であるかどうかを推定し、推定確率を出力する(ステップS127)。この際には、「J1K」のための学習済モデルを用いる。前述のように、「J1K」のための学習済モデルは、「J1K」と「J1K」以外とを区別したデータによって学習したものである。 First, the CPU 30 estimates whether the image shown in FIG. 35C is "J1K" and outputs the estimated probability (step S127). At this time, a trained model for "J1K" is used. As described above, the trained model for "J1K" is trained using data that distinguishes between "J1K" and non-"J1K".
続いて、CPU30は、「BW2」のための学習済モデルを用い、図35Cに示す画像が「BW2」であるかどうかを推定し、推定確率を出力する。 Next, the CPU 30 uses the trained model for "BW2" to estimate whether the image shown in FIG. 35C is "BW2" and outputs the estimated probability.
以下、同様にして、図35Cに示す画像が、「RJ6」「LNU」「YXH」・・・「F2Y」であるかどうかを推定し、推定確率を出力する。図36に、全体符号について算出された推定確率の例を示す。 In the same manner, it is estimated whether the image shown in FIG. 35C is "RJ6", "LNU", "YXH", ... "F2Y", and the estimated probability is output. An example of the estimated probability calculated for the entire code is shown in FIG. 36.
続いて、CPU30は、図35Dに示す最初の桁の画像が、「1」であるかどうかを推定し、推定確率を出力する(ステップS131)。この際には、「1」のための学習済モデルを用いる。前述のように、「1」のための学習済モデルは、「1」と「1」以外とを区別したデータによって学習したものである。 Next, the CPU 30 estimates whether the image of the first digit shown in FIG. 35D is a "1" and outputs the estimated probability (step S131). At this time, a trained model for "1" is used. As described above, the trained model for "1" is trained using data that distinguishes between "1" and non-"1".
さらに、CPU30は、「2」のための学習済みモデルを用い、図35Dに示す最初の桁の画像が「2」であるかどうかを推定し、推定確率を出力する。 Furthermore, the CPU 30 uses the trained model for "2" to estimate whether the image of the first digit shown in FIG. 35D is a "2" and outputs the estimated probability.
以下同様にして、図35Dに示す最初の桁の画像が、「4」「6」・・・「X」「Y」であるかどうかを推定し、推定確率を出力する(ステップS132)。このようにして、最初の桁の個別符号がいずれに該当するかの推定確率が算出される。 In the same manner, it is estimated whether the image of the first digit shown in Fig. 35D is "4", "6", ... "X", or "Y", and the estimated probability is output (step S132). In this way, the estimated probability of which individual code the first digit corresponds to is calculated.
続いて、CPU30は、上記と同様の処理によって、図35Dの2番目の桁の画像、3番目の桁の画像が、それぞれ、いずれに該当するかの推定確率を算出する。図37に、個別符号について算出された推定確率の例を示す。 Next, the CPU 30 performs the same process as above to calculate the estimated probability that the image of the second digit and the image of the third digit in FIG. 35D correspond to each of them. FIG. 37 shows an example of the estimated probability calculated for the individual codes.
CPU30は、推定された全体符号と、推定された個別符号とに基づいて、識別符号の推定を行う(ステップS134)。たとえば、CPU30は、次のようにして識別符号の推定を行う。 The CPU 30 estimates the identification code based on the estimated overall code and the estimated individual code (step S134). For example, the CPU 30 estimates the identification code as follows.
CPU30は、まず、個別符号について各桁ごとに最も高い推定確率のものを選択する。図37の例であれば、1桁目の個別符号として「R」、2桁目の個別符号として「J」、3桁目の個別符号として「6」が選択されることになる。 The CPU 30 first selects the individual code with the highest estimated probability for each digit. In the example of FIG. 37, "R" would be selected as the first digit individual code, "J" as the second digit individual code, and "6" as the third digit individual code.
続いて、CPU30は、このようにして選択した個別符号「R」「J」「6」と、図36の全ての全体符号との間で、各桁ごとに比較を行ってハミング距離(各桁ごとに合致していれば「0」、合致していなければ「1」としたときの合計)を算出する。図38に、算出したハミング距離を示す。全体符号「J1K」についてはハミング距離「3」、「BW2」についてはハミング距離「3」、「RJ6」についてはハミング距離「0」・・・というように算出される。 Next, the CPU 30 compares each digit between the individual codes "R", "J", and "6" selected in this way and all the overall codes in Figure 36, and calculates the Hamming distance (the sum of "0" if there is a match for each digit, and "1" if there is no match). Figure 38 shows the calculated Hamming distance. The Hamming distance is calculated as "3" for the overall code "J1K", "3" for "BW2", "0" for "RJ6", etc.
CPU30は、これら算出されたハミング距離のうちの最小のものに対応する全体符号を、第1の識別符号候補として決定する。図38の場合には、全体符号「RJ6」が、第1の識別符号候補として決定されることになる。 The CPU 30 determines the overall code corresponding to the smallest of these calculated Hamming distances as the first identification code candidate. In the case of FIG. 38, the overall code "RJ6" is determined as the first identification code candidate.
次に、CPU30は、全体符号について最も高い推定確率のものを第2の識別符号候補として選択する。図36に示す場合であれば、全体符号「RJ6」が第2の識別符号候補として決定されることになる。 Next, the CPU 30 selects the overall code with the highest estimated probability as the second identification code candidate. In the case shown in FIG. 36, the overall code "RJ6" is determined to be the second identification code candidate.
CPU30は、上記の第1の識別符号候補と第2の識別符号候補が同じ場合には、当該全体符号を識別符号として決定する。図38の場合であれば、識別符号は「RJ6」と決定されることになる。 When the first and second identification code candidates are the same, the CPU 30 determines the overall code as the identification code. In the case of FIG. 38, the identification code is determined to be "RJ6."
第1の識別符号候補と第2の識別符号候補が異なる場合には、CPU30は、いずれかを選択して識別符号を決定する。たとえば、図39に示すように、第1の識別符号候補が「RJ6」として選択され、第2の識別符号候補が「YXH」として選択された場合を例として説明する。図39では、全体符号についての推定確率は、「YXH」が最も高い(0.931)ので、これが第2の識別符号候補として選択されることになる。 If the first identification code candidate and the second identification code candidate are different, the CPU 30 selects one of them to determine the identification code. For example, as shown in FIG. 39, a case will be described in which the first identification code candidate is selected as "RJ6" and the second identification code candidate is selected as "YXH". In FIG. 39, the estimated probability for the overall code is highest for "YXH" (0.931), so this will be selected as the second identification code candidate.
CPU30は、まず、第1の識別符号候補「RJ6」において、各個別符号「R」「J」「6」のうち、各桁の符号が合致する個別符号についての代表推定確率を算出する。ここでは、個別符号「R」「J」「6」は、全体符号「RJ6」に対して全ての桁において符号が合致している。したがって、CPU30は、これらの個別符号の推定確率の平均値(最大値でもよい)を、代表推定確率として算出する。個別符号「R」「J」「6」の推定確率が、それぞれ、「0.988」「0.975」「0.964」であれば、代表推定確率(平均値)は、0.975となる。 First, the CPU 30 calculates the representative estimation probability for the individual codes "R", "J", and "6" in the first identification code candidate "RJ6" that match the codes in each digit. Here, the individual codes "R", "J", and "6" match the codes in all digits of the overall code "RJ6". Therefore, the CPU 30 calculates the average value (or the maximum value) of the estimation probabilities of these individual codes as the representative estimation probability. If the estimation probabilities of the individual codes "R", "J", and "6" are "0.988", "0.975", and "0.964", respectively, the representative estimation probability (average value) is 0.975.
CPU30は、このようにして算出した第1の識別符号候補の代表推定確率(0.975)と、第2の識別符号候補の推定確率(0.931)とを比較する。そして、推定確率の高い方を、識別符号として決定する。図39の例であれば、第1の識別符号候補が識別符号として選択されることになる。 The CPU 30 compares the representative estimated probability (0.975) of the first identification code candidate calculated in this manner with the estimated probability (0.931) of the second identification code candidate. The CPU 30 then determines the one with the higher estimated probability as the identification code. In the example of Figure 39, the first identification code candidate is selected as the identification code.
上記のように、CPU30は、個別符号の推定結果と全体符号の推定結果の双方を考慮して、最終的な識別符号の推定を行うようにしている。 As described above, the CPU 30 estimates the final identification code by taking into account both the individual code estimation results and the overall code estimation results.
なお、第1の識別符号候補の決定において、図38では、ハミング距離が最小となるものが一つだけであった。しかし、図40に示すように、ハミング距離が最小となるものが複数見いだされる場合もある。図40では、ハミング距離「2」の「BW2」「RJ6」「LNU」が3つ選択されることになる。 In determining the first identification code candidate, in FIG. 38, there was only one with the smallest Hamming distance. However, as shown in FIG. 40, there are cases where multiple candidates with the smallest Hamming distance are found. In FIG. 40, three candidates with a Hamming distance of "2" are selected: "BW2", "RJ6", and "LNU".
この場合には、CPU30は、次のようにして、第1の識別符号候補を選択する。上記3つの全体符号に表された各桁のうち、符号が合致する個別符号の推定確率を取得する。図40の例であれば、全体符号「BW2」については、個別符号「B」の推定確率、全体符号「RJ6」については、個別符号「6」の推定確率、全体符号「LNU」については、個別符号「N」の推定確率を取得し代表推定確率とする。ここでは、それぞれ、図40に示すように、「1.000」「0.990」「0.985」が取得されたものとする。 In this case, the CPU 30 selects the first identification code candidate as follows. Among the digits represented in the above three overall codes, the estimated probability of the individual code with a matching code is obtained. In the example of Figure 40, for the overall code "BW2", the estimated probability of the individual code "B" is obtained; for the overall code "RJ6", the estimated probability of the individual code "6" is obtained; and for the overall code "LNU", the estimated probability of the individual code "N" is obtained; these are set as the representative estimated probabilities. Here, it is assumed that "1.000", "0.990", and "0.985" are obtained, respectively, as shown in Figure 40.
なお、一つの全体符号について符号が合致する個別符号が複数ある場合には、その推定確率の平均値(または最大値)を代表推定確率として算出する。 When there are multiple individual codes that match one overall code, the average (or maximum) of the estimated probabilities is calculated as the representative estimated probability.
CPU30は、上記によって取得した代表推定確率の最も高いものに対応する全体符号を選択し、これを第1の識別符号候補とする。図40の例であれば、全体符号「BW2」が選択されて、第1の識別符号候補とされることになる。 The CPU 30 selects the overall code corresponding to the highest representative estimation probability obtained above, and sets this as the first identification code candidate. In the example of Figure 40, the overall code "BW2" is selected and set as the first identification code candidate.
このようにして、ハミング距離が最小の全体符号が複数存在する場合にも、一つの第1の識別符号候補を選択することができる。 In this way, even if there are multiple overall codes with the smallest Hamming distance, one first identification code candidate can be selected.
CPU30は、上記のようにして第1の識別符号候補と第2の識別符号候補とに基づいて識別符号を推定する。さらに、推定した識別符号と作業者IDとを対応付けて記録する(ステップS135)。 The CPU 30 estimates an identification code based on the first identification code candidate and the second identification code candidate as described above. Furthermore, the CPU 30 records the estimated identification code in association with the worker ID (step S135).
以上のようにして、対応表を得ることができる。なお、この対応表は、毎日更新されることになる。作業現場において、各作業者2が着用するヘルメットは、毎日変わることがあるからである。 In this way, a correspondence table can be obtained. This correspondence table is updated daily, because the helmet worn by each worker 2 at the work site may change every day.
(3)追跡処理
作業現場28に入った作業者2は、カメラC2~C5によって動画として撮像され、その行動軌跡が記録される。追跡処理のフローチャートを図41に示す。
(3) Tracking Process The camera C2 to C5 capture the image of the worker 2 who has entered the work site 28 as a moving image, and record the movement trajectory of the worker 2. A flowchart of the tracking process is shown in FIG.
CPU30は、各カメラC2~C5からの画像を取得する(ステップS151)。取得した画像から、人物画像60およびヘルメット画像61を抽出する(ステップS152、S153)。人物画像60とヘルメット画像61は互いに対応付けて記録される。これは、複数の人物が撮像された時にその対応関係を明確にするためである。 The CPU 30 acquires images from each of the cameras C2 to C5 (step S151). From the acquired images, a person image 60 and a helmet image 61 are extracted (steps S152, S153). The person image 60 and the helmet image 61 are recorded in correspondence with each other. This is to clarify the correspondence when multiple people are captured.
図43に、複数の人物が重なって撮像された時の人物画像の枠60a、ヘルメット画像の枠61aと、他の人物画像の枠60b、ヘルメット画像の枠61bを示す。 Figure 43 shows a frame 60a of a person image, a frame 61a of a helmet image, a frame 60b of another person image, and a frame 61b of the helmet image when multiple people are captured overlapping each other.
CPU30は、各人物画像枠60a、60bについて、それぞれのヘルメット画像枠61a、61b枠の重なり度合いを算出する。人物画像枠60の中にヘルメット画像枠61が完全に含まれていれば100%、全く重なっていなければ0%として、重なり度合いを算出する。CPU30は、注目する人物画像枠60とヘルメット画像枠61の重なり度合いが所定の割合(たとえば10%)を超えるようなヘルメット画像枠61を選択する。図43の例であれば、人物画像枠60aについては、ヘルメット画像枠61a、61bが選択されることになる。人物画像枠60bについては、ヘルメット画像枠61bのみが選択されることになる。 The CPU 30 calculates the degree of overlap of the helmet image frames 61a, 61b for each of the person image frames 60a, 60b. The degree of overlap is calculated as 100% if the helmet image frame 61 is completely contained within the person image frame 60, and 0% if there is no overlap at all. The CPU 30 selects a helmet image frame 61 such that the degree of overlap between the person image frame 60 of interest and the helmet image frame 61 exceeds a predetermined percentage (for example, 10%). In the example of Figure 43, for the person image frame 60a, the helmet image frames 61a, 61b are selected. For the person image frame 60b, only the helmet image frame 61b is selected.
CPU30は、人物画像枠に対して一つのヘルメット画像枠が選択された場合には、このヘルメット画像枠を人物画像枠に対応づける。図43の例であれば、人物画像枠60bに対してはヘルメット画像枠61bが対応づけられる。 When one helmet image frame is selected from a person image frame, the CPU 30 associates this helmet image frame with the person image frame. In the example of Figure 43, helmet image frame 61b is associated with person image frame 60b.
人物画像枠に対して複数のヘルメット画像枠が選択された場合には、それらヘルメット画像枠の上辺が最も上のものを一つ選択して対応づける。図43の例であれば、人物画像枠60aに対して、ヘルメット画像枠61aが対応づけられる。 When multiple helmet image frames are selected for a person image frame, the helmet image frame with the uppermost top edge is selected and associated with the person image frame. In the example of Figure 43, helmet image frame 61a is associated with person image frame 60a.
以上のようにして、第1の対応候補(60aと61a、60bと61b)が得られる。これをそのまま対応付けとして用いてもよいが、この実施形態では、確実性を高めるために、以下のようにして第2の対応候補も算出している。 In this way, the first correspondence candidates (60a and 61a, 60b and 61b) are obtained. These may be used as the correspondence as is, but in this embodiment, to increase the accuracy, the second correspondence candidates are also calculated as follows.
CPU30は、各ヘルメット画像枠61a、61bについて、上記重なり度合いが所定以上の人物画像枠60a、60bを選択する。図43の例であれば,ヘルメット画像枠61aについては、人物画像枠60aのみが選択される。ヘルメット画像枠61bについては、人物画像枠60a、60bが選択される。 For each helmet image frame 61a, 61b, the CPU 30 selects person image frames 60a, 60b whose overlapping degree is equal to or greater than a predetermined value. In the example of FIG. 43, for the helmet image frame 61a, only the person image frame 60a is selected. For the helmet image frame 61b, the person image frames 60a, 60b are selected.
CPU30は、ヘルメット画像枠に対して一つの人物画像枠が選択された場合には、この人物画像枠をヘルメット画像枠に対応づける。図43の例であれば、ヘルメット画像枠61aに対しては人物画像枠60aが対応づけられる。 When a person image frame is selected for a helmet image frame, the CPU 30 associates this person image frame with the helmet image frame. In the example of FIG. 43, the person image frame 60a is associated with the helmet image frame 61a.
ヘルメット画像枠に対して複数の人物画像枠が選択された場合には、それら人物画像枠の上辺が最も下のものを一つ選択して対応づける。図43の例であれば、ヘルメット画像枠61bに対して、人物画像枠60bが対応づけられる。 When multiple person image frames are selected for a helmet image frame, the one with the lowest upper edge is selected and associated with the helmet image frame. In the example of Figure 43, person image frame 60b is associated with helmet image frame 61b.
以上のようにして、第2の対応候補(60aと61a、60bと61b)が得られる。 In this way, the second correspondence candidates (60a and 61a, 60b and 61b) are obtained.
CPU30は、第1の対応候補と第2の対応候補のうち、対応が合致しているものを対応付けとして採用する。上記の例であれば、いずれも合致しているので、全ての対応付けを採用して記録する。 The CPU 30 uses the first and second correspondence candidates that match as the correspondence. In the above example, all of the correspondences match, so all of the correspondences are used and recorded.
合致しない対応付けについては採用しない。したがって、対応付けとして採用しなかった人物については、当該フレームに関して、下記の位置推定を行わないことになる。なお、前後のフレームの情報から、対応付けできなかった人物とヘルメットとの対応付けを行うようにしてもよい。 Matchings that do not match will not be adopted. Therefore, for people who are not adopted as a match, the position estimation described below will not be performed for that frame. Note that it is also possible to match a person who could not be matched with a helmet using information from previous and following frames.
図42AにカメラC2からの画像、図42Bに抽出されたヘルメットの画像61を示す。人物画像60も同様に抽出される。 Figure 42A shows an image from camera C2, and Figure 42B shows an extracted helmet image 61. A person image 60 is extracted in the same way.
この実施形態では、深層学習による学習済モデルにより、画像中から人物画像およびヘルメット画像を抽出するようにしている。たとえば、YOLOを用いることができる。 In this embodiment, a trained model based on deep learning is used to extract images of people and helmets from an image. For example, YOLO can be used.
続いて、CPU30は、ヘルメット画像からシール部分を抽出する。抽出されたシール画像を図42Cに示す。さらに、図42Dに示すように、全体符号、個別符号の画像を得る。このようにして抽出した、全体符号、個別符号の画像から、識別符号の推定を行う(ステップS154)。この処理は、図33、図34のステップS125~S134と同様の処理である。 Then, the CPU 30 extracts the sticker portion from the helmet image. The extracted sticker image is shown in FIG. 42C. Furthermore, as shown in FIG. 42D, images of the overall code and individual code are obtained. From the images of the overall code and individual code extracted in this manner, an identification code is estimated (step S154). This process is the same as steps S125 to S134 in FIG. 33 and FIG. 34.
次に、CPU30は、図42Aの画像に基づいて当該作業者の位置を特定する(ステップS155)。図42Aに示すように、人物を抽出する際の枠60の下辺の中央点62を、作業者の位置として特定する。なお、枠60の重心点や他の点を作業者の位置として用いるようにしてもよい。 Next, the CPU 30 identifies the position of the worker based on the image in FIG. 42A (step S155). As shown in FIG. 42A, the center point 62 of the bottom side of the frame 60 used when extracting the person is identified as the position of the worker. Note that the center of gravity of the frame 60 or another point may be used as the position of the worker.
カメラC2による撮像範囲は決まっている。この実施形態では、予め撮像画像中の特徴点(目印になるマークのある点、タイルの端、壁と地面の接する点など)F1~F4が定められており、それぞれの座標位置が記録されている。したがって、CPU30は、作業者の位置を示す中央点62の座標を、特徴点F1~F4との相対的な位置関係にて算出する(射影変換)。このようにして、作業者の位置座標を得ることができる。 The imaging range of camera C2 is fixed. In this embodiment, feature points F1 to F4 in the captured image (points with landmark marks, edges of tiles, points where walls meet the ground, etc.) are determined in advance, and the coordinate positions of each are recorded. Therefore, CPU 30 calculates the coordinates of center point 62, which indicates the worker's position, based on the relative positional relationship with feature points F1 to F4 (projective transformation). In this way, the worker's position coordinates can be obtained.
次に、CPU30は、当該座標位置を、作業者IDに対応づけて記録する(ステップS156)。この際、図42Aの画像の撮像時刻(画像に付されている)を併せて記録する。なお、図42Aにおいて複数の作業者が撮像されていれば、それぞれの作業者について識別符号を認識し座標位置を特定する。 Next, the CPU 30 records the coordinate position in association with the worker ID (step S156). At this time, the image capture time (added to the image) of the image in FIG. 42A is also recorded. If multiple workers are captured in the image of FIG. 42A, the identification code of each worker is recognized and the coordinate position is identified.
さらに、CPU30は、上記の処理を、他のカメラC3~C5の画像についても行う。このようにして、作業者ごとに、図19に示すような時刻と位置とが記録されることになる。 The CPU 30 also performs the above process on the images from the other cameras C3 to C5. In this way, the time and position as shown in FIG. 19 are recorded for each worker.
したがって、時間経過とともに、各作業者の移動軌跡を記録することができる。また、時間的な位置の変化を作業現場の平面図上に画像として表示するようにしてもよい。 Therefore, the movement trajectory of each worker can be recorded over time. In addition, the change in position over time can be displayed as an image on a floor plan of the work site.
上記では作業者の軌跡を追跡する例を示したが、建設機械M1についても同様にその軌跡を記録することができる。なお、建設機械M1については、直接識別符号を付すことが好ましい。したがって、予め、各建設機械M1について、識別符号の対応を記録しておくことができる。
Although an example of tracking the trajectory of a worker has been shown above, the trajectory of the construction machine M1 can also be recorded in a similar manner. It is preferable to directly assign an identification code to the construction machine M1. Therefore, the correspondence of the identification code can be recorded in advance for each construction machine M1.
3.4その他
(1)上記実施形態では、個別符号の色を変えることで各桁を区別するようにしている。しかし、個別符号の模様などの表示形態を変えることで区別するようにしてもよい。また、個別符号の背景の色や背景の模様などの背景の表示形態を変えることによって区別をしてもよい。
3.4 Other
(1) In the above embodiment, the individual codes are differentiated by changing the color of the individual codes. However, the individual codes may be differentiated by changing the display form, such as the pattern of the individual codes. Also, the individual codes may be differentiated by changing the display form of the background, such as the color or pattern of the background.
(2)上記実施形態では、ヘルメットに写し出されたシール7のうち、3つの桁全部が写し出されている画像のみを用いて、個別符号の推定を行っている。しかし、これに加えて、2つの桁や1つの桁のみが写し出されているシール7の画像も考慮して、個別符号を推定してもよい。たとえば、3つの桁全部が写し出されているシール画像に基づく個別符号の推定と、2つの桁や1つの桁のみが写し出されているシール画像に基づく個別符号の推定とが異なる場合、推定確率の高い方を選択するようにするとよい。 (2) In the above embodiment, the individual code is estimated using only images of the sticker 7 displayed on the helmet that show all three digits. However, in addition to this, the individual code may also be estimated by taking into consideration images of the sticker 7 that show only two digits or one digit. For example, when an individual code estimate based on a sticker image that shows all three digits differs from an individual code estimate based on a sticker image that shows only two digits or one digit, it is advisable to select the one with the higher estimation probability.
(3)上記実施形態では、ハミング距離を用いて、識別符号を推定するようにしている。しかし、同じ桁には異なる個別符号を用るように識別符号を設定し、ナンバリング条件によって、識別符号を推定するようにしてもよい。 (3) In the above embodiment, the identification code is estimated using the Hamming distance. However, the identification code may be set so that different individual codes are used for the same digit, and the identification code may be estimated based on the numbering conditions.
たとえば、各桁の個別符号について最も推定確率の高いものが「B」「1」「K」であったとする。ここで、一番目の桁に「B」がくる全体符号は「BW2」のみである。二番目の桁に「1」がくる全体符号は「J1K」のみである。三番目の桁に「K」がくる全体符号は「J1K」のみである。この結果、「BW2」が1つ、「J1K」が2つ見いだされたので、最も多い「J1K」を各桁の個別符号に基づく第1の識別符号候補として決定することができる。第2の識別符号候補と一致すれば、これを識別符号として決定する。異なる場合の処理は、上記にて説明したとおりである。 For example, suppose the individual codes for each digit have the highest estimated probability of being "B," "1," and "K." Here, the only overall code with "B" in the first digit is "BW2." The only overall code with "1" in the second digit is "J1K." The only overall code with "K" in the third digit is "J1K." As a result, one "BW2" and two "J1K"s are found, so the most common "J1K" can be determined as the first identification code candidate based on the individual codes for each digit. If it matches the second identification code candidate, it is determined to be the identification code. If they differ, the process is as explained above.
また、各桁の個別符号について最も推定確率の高いものが複数得られることもある。このような場合にも、上記のようなナンバリング条件を用いて、第1の識別符号候補を決定することができる。 In addition, there may be multiple codes with the highest estimated probability for each digit. In such cases, the first identification code candidate can be determined using the numbering conditions described above.
たとえば、各桁の個別符号について最も推定確率の高いものが「B」「1」「HまたはK」であったとする。すなわち、3桁目の個別符号については、「H」と「K」の推定確率が最も高く優劣が付けられなかったとする。 For example, suppose that the individual codes for each digit have the highest probability of being guessed as "B," "1," and "H or K." In other words, suppose that for the individual code for the third digit, "H" and "K" have the highest probability of being guessed, and no ranking can be determined.
ここで、一番目の桁に「B」がくる全体符号は「BW2」である。二番目の桁に「1」がくる全体符号は「J1K」である。三番目の桁に「K」がくる全体符号は「J1K」であり、「H」がくる全体符号は「YXH」である。この結果、「BW2」が1つ、「YXH」が1つ、「J1K」が2つ見いだされたので、最も多い「J1K」を各桁の個別符号に基づく第1の識別符号候補として決定することができる。 Here, the overall code with "B" in the first digit is "BW2". The overall code with "1" in the second digit is "J1K". The overall code with "K" in the third digit is "J1K", and the overall code with "H" is "YXH". As a result, one "BW2", one "YXH", and two "J1K"s were found, so the most common "J1K" can be determined as the first identification code candidate based on the individual codes of each digit.
(4)上記実施形態では、3桁の識別符号を用いたが、2桁以下、4桁以上の識別符号を用いてもよい。 (4) In the above embodiment, a three-digit identification code is used, but an identification code of two or less digits or four or more digits may also be used.
(5)上記実施形態では、個別符号の推定に基づいて第1の識別符号候補を算出し、全体符号の推定に基づいて第2の識別符号候補を算出し、第1の識別符号候補と第2の識別符号候補とに基づいて最終的な識別符号の推定を行うようにしている。 (5) In the above embodiment, a first identification code candidate is calculated based on an estimation of the individual code, a second identification code candidate is calculated based on an estimation of the overall code, and a final identification code is estimated based on the first identification code candidate and the second identification code candidate.
しかし、第1の識別符号候補のみ、第2の識別符号候補のみによって最終的な識別符号を推定するようにしてもよい。たとえば、第1の識別符号候補のみで判断する場合には、作業者のヘルメットに3桁全ての符号が写し出されたシール7が画像中になくとも、複数のシール7に写し出された符号を統合して識別符号を推定することもできる。たとえば、作業者を撮像した画像(たとえば図32A)において、3つのシール7a、7b、7cが写し出されていたとする。シール7aには第1桁、第2桁が含まれ、シール7bには第2桁、第3桁が含まれ、シール7cには第3桁のみが含まれていたとする。CPU30は、符号の色によってこれを判断することができる。 However, the final identification code may be estimated based on only the first identification code candidate or only the second identification code candidate. For example, when judging based only on the first identification code candidate, even if there is no sticker 7 with all three digits of the code on the worker's helmet in the image, the identification code can be estimated by integrating the codes displayed on multiple stickers 7. For example, suppose that three stickers 7a, 7b, and 7c are displayed in an image of a worker (e.g., FIG. 32A). Sticker 7a includes the first and second digits, sticker 7b includes the second and third digits, and sticker 7c includes only the third digit. The CPU 30 can determine this based on the color of the codes.
上記の場合であれば、シール7aの画像に基づく個別符号の推定と、シール7bの画像に基づく個別符号の推定と、シール7cの画像に基づく個別符号の推定とを統合することで(第2桁、第3桁については推定確率の高い方を用いるとよい)、各桁の個別符号を推定し、識別符号を推定することができる。 In the above case, by combining the estimation of the individual code based on the image of sticker 7a, the estimation of the individual code based on the image of sticker 7b, and the estimation of the individual code based on the image of sticker 7c (the estimation with the higher probability should be used for the second and third digits), it is possible to estimate the individual code for each digit and thus the identification code.
また、ハミング距離に基づいて、第1の識別符号候補のみで判断するか、第2の識別符号候補も用いるかを決定してもよい。たとえば、第1の識別符号候補についてハミング距離が「0」であれば、第2の識別符号候補を算出することなく、第1の識別符号候補を識別符号として決定する。第1の識別符号候補についてハミング距離が「0」でなければ、第2の識別符号候補を算出し、両者を考慮して識別符号を決定する。 It may also be possible to determine whether to use only the first identification code candidate or to also use the second identification code candidate based on the Hamming distance. For example, if the Hamming distance for the first identification code candidate is "0", the first identification code candidate is determined as the identification code without calculating the second identification code candidate. If the Hamming distance for the first identification code candidate is not "0", the second identification code candidate is calculated, and the identification code is determined taking both into consideration.
(6)上記実施形態では、撮像された動画の各フレーム間における画像の関連性を考慮せずに、作業者を特定して位置を特定するようにしている。しかし、フレーム間の関連を考慮して作業者を特定するようにしてもよい。 (6) In the above embodiment, the worker is identified and his/her position is determined without considering the image correlation between each frame of the captured video. However, the worker may be identified by considering the correlation between frames.
たとえば、撮像された動画において、第1フレームが図20A、第2フレームが図20B、第3フレームが図20C、第4フレームが図20Dであったとする。この時、CPU30は、まず、第1フレームにおいて作業者のヘルメットの識別符号を認識し作業者を特定する(たとえば作業者Aと特定したとする)。その位置を中央点62aによって特定する。 For example, in a captured video, the first frame is FIG. 20A, the second frame is FIG. 20B, the third frame is FIG. 20C, and the fourth frame is FIG. 20D. At this time, the CPU 30 first recognizes the identification code on the worker's helmet in the first frame and identifies the worker (for example, the worker is identified as Worker A). The position is identified by the center point 62a.
次に、CPU30は、第2フレーム(図20B)において、中央点62aの周囲所定範囲にある人物画像を抽出する。この作業者画像の識別符号を認識し作業者を特定する。その位置を中央点62bによって特定する。 Next, the CPU 30 extracts a person image within a specified range around the center point 62a in the second frame (Fig. 20B). It recognizes the identification code of this worker image and identifies the worker. Its position is identified by the center point 62b.
次に、CPU30は、第3フレーム(図20C)において、中央点62bの周囲所定範囲にある人物画像を抽出する。この作業者画像の識別符号を認識し作業者を特定する。その位置を中央点62cによって特定する。 Next, the CPU 30 extracts a person image within a specified range around the center point 62b in the third frame (Fig. 20C). It recognizes the identification code of this worker image and identifies the worker. Its position is identified by the center point 62c.
以上の処理を繰り返すことで、特定の作業者の軌跡を追跡することが容易にできる。なお、識別符号によって認識した作業者が、前後のフレームと異なる場合には、前後のフレームと合致させるようにしてもよい。たとえば、図20A、図20B、図20Dのフレームにおいて作業者Aと認識され、図20Cのフレームにおいてのみ作業者Bと認識された場合には、図20Cのフレームについても作業者Aであると認識する。 By repeating the above process, it is easy to track the trajectory of a specific worker. Note that if the worker recognized by the identification code is different from the previous and next frames, it may be possible to match the worker with the previous and next frames. For example, if worker A is recognized in the frames of Figures 20A, 20B, and 20D, and worker B is recognized only in the frame of Figure 20C, the worker will also be recognized as A in the frame of Figure 20C.
(7)上記実施形態においては、ステップS155にて人物枠を用いて作業者の位置を決定している。しかし、背景差分法などによって人物画像のみを取り出して二値化し、当該二値化した人物画像の下端付近の2カ所の極小値のピクセル(2つの足先に対応)の中点の座標を人物位置として用いるようにしてもよい。また、二値化した画像において、2つの足先が認識されない場合(足が一つにまとまっている場合)には、最下端のピクセルの座標を人物位置として用いるようにしてもよい。 (7) In the above embodiment, the position of the worker is determined using a person frame in step S155. However, it is also possible to extract only the person image using a background subtraction method or the like and binarize it, and use the coordinates of the midpoint of two minimal pixels (corresponding to the two toes) near the bottom of the binarized person image as the person position. Also, if the two toes cannot be recognized in the binarized image (if the toes are grouped together), the coordinates of the bottommost pixel may be used as the person position.
さらに、次のようにして算出してもよい。多数の人物画像とこれに対する人物位置座標(足元の一点の座標など)を学習データとして与えて学習させた学習済モデルを用意する。この学習済モデルに、人物画像を与えて人物枠内でのローカルなローカル座標を算出し、人物枠の位置と組み合わせて人物位置座標を決定するようにしてもよい。 Furthermore, the calculation may be performed as follows. A trained model is prepared by providing a large number of person images and the corresponding person position coordinates (such as the coordinates of a point at the feet) as training data. A person image may be provided to this trained model to calculate local coordinates within the person frame, which may then be combined with the position of the person frame to determine the person position coordinates.
(8)上記実施形態およびその変形例は、他の実施形態にも適用可能である。
(8) The above embodiment and its modifications can be applied to other embodiments.
Claims (55)
対象領域を動く移動物に表示されたユニークな識別符号を、前記対象領域カメラによって撮像した画像に基づいて認識する認識手段と、
前記撮像画像に基づいて、前記移動物の対象領域内での位置を取得する画像位置取得手段と、
前記認識された識別符号に基づいて移動物の同一性を判断し、当該移動物の位置の時間的変化を記録部に記録する位置処理手段と、
を備えた移動物追跡装置であって、
前記認識手段は、
第1の識別符号とそれ以外の識別符号とを区別し、第1の識別符号である推定確率を算出する第1の推定手段と、
第2の識別符号とそれ以外の識別符号とを区別し、第2の識別符号である推定確率を算出する第2の推定手段と、
・・・
第nの識別符号とそれ以外の識別符号とを区別し、第nの識別符号である推定確率を算出する第nの推定手段と、
第1~第nの推定手段の推定結果に基づいて、識別符号の認識を行う統合手段とを備えた移動物追跡装置において、
前記統合手段は、第1の識別符号~第nの識別符号のうち、最も高い推定確率が所定の除外確率以下であれば、当該識別符号を第n+1の識別符号であるとして、撮像画像に基づく学習を行い、第n+1の識別符号とそれ以外の識別符号とを区別し、第n+1の識別符号である推定確率を算出する第n+1の推定手段を生成する学習処理を行い、あるいは当該学習処理を提案することを特徴とする移動物追跡装置。 one or more target area cameras for imaging a target area;
A recognition means for recognizing a unique identification code displayed on a moving object moving within a target area based on an image captured by the target area camera;
an image position acquisition means for acquiring a position of the moving object within a target area based on the captured image;
a position processing means for determining the identity of the moving object based on the recognized identification code and for recording a time-dependent change in the position of the moving object in a recording unit;
A moving object tracking device comprising:
The recognition means includes:
a first estimation means for distinguishing the first identification code from other identification codes and calculating an estimated probability that the code is the first identification code;
a second estimation means for distinguishing the second identification code from other identification codes and calculating an estimated probability that the code is the second identification code;
...
an n-th estimation means for distinguishing the n-th identification code from other identification codes and calculating an estimated probability that the identification code is the n-th identification code;
and an integration means for recognizing an identification code based on the estimation results of the first to nth estimation means.
The moving object tracking device is characterized in that, if the highest estimation probability among the first identification code to the nth identification code is equal to or lower than a predetermined exclusion probability, the integration means determines that identification code to be the n+1th identification code, performs learning based on a captured image, distinguishes between the n+1th identification code and other identification codes, and performs a learning process to generate the n+1th estimation means that calculates the estimation probability that the identification code is the n+1th identification code, or suggests the learning process.
対象領域を動く移動物に表示されたユニークな識別符号を、対象領域カメラによって撮像した画像に基づいて認識する認識手段と、
前記撮像画像に基づいて、前記移動物の対象領域内での位置を取得する画像位置取得手段と、
前記認識された識別符号に基づいて移動物の同一性を判断し、当該移動物の位置の時間的変化を記録部に記録する位置処理手段として機能させるための移動物追跡プログラムであって、
前記認識手段は、
第1の識別符号とそれ以外の識別符号とを区別し、第1の識別符号である推定確率を算出する第1の推定手段と、
第2の識別符号とそれ以外の識別符号とを区別し、第2の識別符号である推定確率を算出する第2の推定手段と、
・・・
第nの識別符号とそれ以外の識別符号とを区別し、第nの識別符号である推定確率を算出する第nの推定手段と、
第1~第nの推定手段の推定結果に基づいて、識別符号の認識を行う統合手段とを備えており、
前記統合手段は、第1の識別符号~第nの識別符号のうち、最も高い推定確率が所定の除外確率以下であれば、当該識別符号を第n+1の識別符号であるとして、撮像画像に基づく学習を行い、第n+1の識別符号とそれ以外の識別符号とを区別し、第n+1の識別符号である推定確率を算出する第n+1の推定手段を生成する学習処理を行い、あるいは当該学習処理を提案することを特徴とする移動物追跡プログラム。 A moving object tracking program for implementing a moving object tracking device by a computer, the moving object tracking program comprising:
A recognition means for recognizing a unique identification code displayed on a moving object moving within a target area based on an image captured by a target area camera;
an image position acquisition means for acquiring a position of the moving object within a target area based on the captured image;
A moving object tracking program for causing the program to function as a position processing means for determining the identity of a moving object based on the recognized identification code and recording a time-dependent change in the position of the moving object in a recording unit,
The recognition means includes:
a first estimation means for distinguishing between the first identification code and other identification codes and calculating an estimated probability that the identification code is the first identification code;
a second estimation means for distinguishing the second identification code from other identification codes and calculating an estimated probability that the code is the second identification code;
...
an n-th estimation means for distinguishing the n-th identification code from other identification codes and calculating an estimated probability that the identification code is the n-th identification code;
and an integration means for recognizing an identification code based on the estimation results of the first to n-th estimation means,
The moving object tracking program is characterized in that, if the highest estimation probability among the first identification code to the nth identification code is equal to or lower than a predetermined exclusion probability, the integration means determines that identification code to be the n+1th identification code, performs learning based on a captured image, distinguishes between the n+1th identification code and other identification codes, and performs a learning process to generate an n+1th estimation means that calculates the estimation probability that the identification code is the n+1th identification code, or suggests the learning process.
前記移動物追跡プログラムは、コンピュータを、さらに、対象領域に入場しようとする移動物に表示されたユニークな識別符号を、入場カメラによって撮像した画像に基づいて認識する入場時認識手段と、前記移動物を前記入場カメラで撮像した際に、当該移動物の移動物IDを取得する移動物ID取得手段と、取得した移動物IDと前記認識した識別符号を対応づけて記録部に記録する対応記録手段として機能させるためのものであり、
前記位置処理手段は、前記対象領域カメラにて撮像した移動物の撮像画像から認識した識別符号に基づいて、前記記録部を参照して、当該移動物の移動物IDを取得することを特徴とする移動物追跡プログラム。 In the moving object tracking program according to claim 2,
The moving object tracking program causes the computer to further function as an entry recognition means for recognizing a unique identification code displayed on a moving object attempting to enter a target area based on an image captured by an entry camera , a moving object ID acquisition means for acquiring a moving object ID of the moving object when the moving object is imaged by the entry camera , and a correspondence recording means for recording the acquired moving object ID and the recognized identification code in a recording unit in association with each other,
A moving object tracking program characterized in that the position processing means obtains a moving object ID of the moving object by referring to the recording unit based on an identification code recognized from an image of the moving object captured by the target area camera.
前記移動物には識別符号が複数個表示されており、
前記認識手段は、移動物に表示された識別符号を異なる角度から撮像した画像に基づいて学習を行った機械学習の学習済みモデルによって識別符号を認識することを特徴とする移動物追跡プログラム。 In the moving object tracking program according to claim 2 or 3,
A plurality of identification codes are displayed on the moving object,
A moving object tracking program characterized in that the recognition means recognizes the identification code displayed on the moving object using a machine learning trained model that has been trained based on images captured from different angles of the identification code displayed on the moving object.
前記識別符号は、前記移動物に装着された装着物に表示されていることを特徴とする移動物追跡プログラム。 In the moving object tracking program according to any one of claims 2 to 4,
A moving object tracking program, wherein the identification code is displayed on an attachment attached to the moving object.
前記統合手段は、第1の識別符号~第nの識別符号のうち、最も高い推定確率が所定の確定確率以上であれば、当該最も高い推定確率の識別符号を認識結果とすることを特徴とする移動物追跡プログラム。 In the moving object tracking program according to any one of claims 2 to 5,
The moving object tracking program is characterized in that, if the highest estimated probability among the first identification code to the nth identification code is equal to or higher than a predetermined confirmed probability, the identification code with the highest estimated probability is determined as the recognition result.
前記統合手段は、第1の識別符号~第nの識別符号のうち、所定の除外確率を超え、所定の確定確率以下の推定確率が複数ある場合、前記対象領域カメラにて撮像した移動物画像を表示し、操作者に選択させることを特徴とする移動物追跡プログラム。 In the moving object tracking program according to any one of claims 2 to 6,
The moving object tracking program is characterized in that, when there are multiple estimated probabilities among the first identification code to the nth identification code that exceed a predetermined exclusion probability and are equal to or less than a predetermined confirmation probability, the integration means displays moving object images captured by the target area camera and allows an operator to select one.
前記移動物ID取得手段は、移動物である人物が所持する移動物IDを記録した媒体から近距離通信によって、あるいは当該人物の入力操作により、前記移動物IDを取得することを特徴とする移動物追跡プログラム。 In the moving object tracking program according to claim 3 ,
A moving object tracking program characterized in that the moving object ID acquisition means acquires the moving object ID from a medium on which a moving object ID carried by a person who is a moving object is recorded by short-range communication or by an input operation by the person.
前記位置処理手段は、前記画像位置取得手段によって取得した移動物の位置に基づいて、各移動物について記録された進入禁止区域を参照し、当該移動物が進入禁止区域に入った場合には、警告を出力する警告手段を備えることを特徴とする移動物追跡プログラム。 In the moving object tracking program according to any one of claims 2 to 8,
A moving object tracking program characterized in that the position processing means refers to a no-entry area recorded for each moving object based on the position of the moving object acquired by the image position acquisition means, and is equipped with a warning means for outputting a warning if the moving object enters the no-entry area.
前記進入禁止区域は、危険性のある移動物の移動につれてあるいは日時とともにダイナミックに変化することを特徴とする移動物追跡プログラム。 10. The moving object tracking program according to claim 9,
A moving object tracking program characterized in that the no-entry zone changes dynamically with the movement of a dangerous moving object or with the date and time.
前記認識手段は、移動物が特定できる状態にて、装着物が装着された当該移動物が一つだけで撮像された画像に基づいて、認識手段を学習する学習手段を備えることを特徴とする移動物追跡プログラム。 In any one of claims 2 to 10, the moving object tracking program further comprises:
A moving object tracking program characterized in that the recognition means includes a learning means that learns the recognition means based on an image captured of only one moving object wearing an attachment in a state in which the moving object can be identified.
前記識別符号は、複数桁の個別符号を有し、当該個別符号の表示形態またはその背景の表示形態を、前記桁に応じて変えるよう構成されており、
前記認識手段は、前記識別符号の表示形態または背景の表示形態に基づいて、個別符号がいずれの桁であるかを認識し、識別符号を認識することを特徴とする移動物追跡プログラム。 In any one of claims 2 to 11, the moving object tracking program further comprises:
the identification code has an individual code of multiple digits, and is configured such that a display form of the individual code or a display form of a background of the individual code is changed according to the digits;
The recognition means recognizes which digit an individual code is, based on the display form of the identification code or the display form of the background, thereby recognizing the identification code.
前記識別符号は、複数桁の個別符号を有しており、
前記認識手段は、各桁の個別符号の認識結果と、複数桁全体の認識結果とに基づいて、識別符号を認識することを特徴とする移動物追跡プログラム。 In the moving object tracking program according to any one of claims 2 to 12,
The identification code has a multi-digit individual code,
The recognition means recognizes an identification code based on a recognition result of an individual code of each digit and a recognition result of the entire set of digits.
前記識別符号の各桁の個別符号は、互いに類似性の低いものを用いるようにしたことを特徴とする移動物追跡プログラム。 The moving object tracking program according to claim 12 or 13,
A moving object tracking program, characterized in that the individual codes for each digit of the identification code are low in similarity to each other.
対象領域に入場しようとする移動物を撮像する入場カメラと、
対象領域に入場しようとする移動物に表示されたユニークな識別符号を、前記入場カメラによって撮像した画像に基づいて認識する入場時認識手段と、
前記移動物を前記入場カメラで撮像した際に、当該移動物の移動物IDを取得する移動物ID取得手段と、
取得した移動物IDと前記認識した識別符号を対応づけて記録部に記録する対応記録手段と、
対象領域を動く移動物に表示されたユニークな識別符号を、前記対象領域カメラによって撮像した画像に基づいて認識する認識手段と、
認識手段によって認識した識別符号と、記録部に記録された識別符号と移動物IDの対応に基づいて、前記対象領域カメラによって撮像した移動物を特定する特定手段と、
を備えた移動物特定装置であって、
前記認識手段は、
第1の識別符号とそれ以外の識別符号とを区別し、第1の識別符号である推定確率を算出する第1の推定手段と、
第2の識別符号とそれ以外の識別符号とを区別し、第2の識別符号である推定確率を算出する第2の推定手段と、
・・・
第nの識別符号とそれ以外の識別符号とを区別し、第nの識別符号である推定確率を算出する第nの推定手段と、
第1~第nの推定手段の推定結果に基づいて、識別符号の認識を行う統合手段とを備えた移動物特定装置において、
前記統合手段は、第1の識別符号~第nの識別符号のうち、最も高い推定確率が所定の除外確率以下であれば、当該識別符号を第n+1の識別符号であるとして、撮像画像に基づく学習を行い、第n+1の識別符号とそれ以外の識別符号とを区別し、第n+1の識別符号である推定確率を算出する第n+1の推定手段を生成する学習処理を行い、あるいは当該学習処理を提案することを特徴とする移動物特定装置。 one or more target area cameras for imaging a target area;
An entrance camera that captures an image of a moving object that is about to enter a target area;
an entrance recognition means for recognizing a unique identification code displayed on a moving object that is about to enter a target area based on an image captured by the entrance camera;
a moving object ID acquisition means for acquiring a moving object ID of the moving object when the moving object is imaged by the entrance camera ;
a correspondence recording means for recording the acquired moving object ID and the recognized identification code in a recording unit in association with each other;
A recognition means for recognizing a unique identification code displayed on a moving object moving within a target area based on an image captured by the target area camera;
an identification means for identifying a moving object captured by the target area camera based on an identification code recognized by the recognition means and a correspondence between the identification code and a moving object ID recorded in a recording unit;
A moving object identification device comprising:
The recognition means includes:
a first estimation means for distinguishing between the first identification code and other identification codes and calculating an estimated probability that the identification code is the first identification code;
a second estimation means for distinguishing the second identification code from other identification codes and calculating an estimated probability that the code is the second identification code;
...
an n-th estimation means for distinguishing the n-th identification code from other identification codes and calculating an estimated probability that the code is the n-th identification code;
and an integration means for recognizing an identification code based on the estimation results of the first to nth estimation means.
The integration means performs a learning process to generate an n+1th estimation means that calculates the estimated probability of being the n+1st identification code by distinguishing between the n+1st identification code and other identification codes and determining whether the highest estimation probability among the first identification code to the nth identification code is equal to or lower than a predetermined exclusion probability, or by suggesting the learning process.
対象領域に入場しようとする移動物に表示されたユニークな識別符号を、対象領域に入場しようとする移動物を撮像する入場カメラによって撮像した画像に基づいて認識する入場時認識手段と、
前記移動物を前記入場カメラで撮像した際に、当該移動物の移動物IDを取得する移動物ID取得手段と、
取得した移動物IDと前記認識した識別符号を対応づけて記録部に記録する対応記録手段と、
対象領域を動く移動物に表示されたユニークな識別符号を、対象領域を撮像する一以上の対象領域カメラによって撮像した画像に基づいて認識する認識手段と、
認識手段によって認識した識別符号と、記録部に記録された識別符号と移動物IDの対応に基づいて、前記対象領域カメラによって撮像した移動物を特定する特定手段として機能させるための移動物特定プログラムであって、
前記認識手段は、
第1の識別符号とそれ以外の識別符号とを区別し、第1の識別符号である推定確率を算出する第1の推定手段と、
第2の識別符号とそれ以外の識別符号とを区別し、第2の識別符号である推定確率を算出する第2の推定手段と、
・・・
第nの識別符号とそれ以外の識別符号とを区別し、第nの識別符号である推定確率を算出する第nの推定手段と、
第1~第nの推定手段の推定結果に基づいて、識別符号の認識を行う統合手段とを備えており、
前記統合手段は、第1の識別符号~第nの識別符号のうち、最も高い推定確率が所定の除外確率以下であれば、当該識別符号を第n+1の識別符号であるとして、撮像画像に基づく学習を行い、第n+1の識別符号とそれ以外の識別符号とを区別し、第n+1の識別符号である推定確率を算出する第n+1の推定手段を生成する学習処理を行い、あるいは当該学習処理を提案することを特徴とする移動物特定プログラム。 A moving object identification program for implementing a moving object identification device by a computer, the moving object identification program comprising:
an entrance recognition means for recognizing a unique identification code displayed on a moving object attempting to enter a target area based on an image captured by an entrance camera that captures an image of the moving object attempting to enter the target area;
a moving object ID acquisition means for acquiring a moving object ID of the moving object when the moving object is imaged by the entrance camera ;
a correspondence recording means for recording the acquired moving object ID and the recognized identification code in a recording unit in association with each other;
A recognition means for recognizing a unique identification code displayed on a moving object moving in a target area based on an image captured by one or more target area cameras that capture an image of the target area;
A moving object identification program for causing the device to function as an identification means for identifying a moving object captured by the target area camera based on an identification code recognized by the recognition means and a correspondence between the identification code and a moving object ID recorded in a recording unit,
The recognition means includes:
a first estimation means for distinguishing between the first identification code and other identification codes and calculating an estimated probability that the identification code is the first identification code;
a second estimation means for distinguishing the second identification code from other identification codes and calculating an estimated probability that the code is the second identification code;
...
an n-th estimation means for distinguishing the n-th identification code from other identification codes and calculating an estimated probability that the code is the n-th identification code;
and an integration means for recognizing an identification code based on the estimation results of the first to n-th estimation means,
The moving object identification program is characterized in that, if the highest estimation probability among the first identification code to the nth identification code is equal to or lower than a predetermined exclusion probability, the integration means determines that identification code to be the n+1th identification code, performs learning based on a captured image, distinguishes between the n+1th identification code and other identification codes, and performs a learning process to generate an n+1th estimation means that calculates the estimation probability that the identification code is the n+1th identification code, or suggests the learning process.
前記移動物には識別符号が複数個表示されており、
前記認識手段は、移動物に表示された識別符号を異なる角度から撮像した画像に基づいて学習を行った機械学習の学習済みモデルによって識別符号を認識することを特徴とする移動物特定プログラム。 The moving object identification program according to claim 16,
A plurality of identification codes are displayed on the moving object,
The moving object identification program is characterized in that the recognition means recognizes the identification code using a machine learning trained model that has been trained based on images of the identification code displayed on the moving object taken from different angles.
前記統合手段は、第1の識別符号~第nの識別符号のうち、最も高い推定確率が所定の確定確率以上であれば、当該最も高い推定確率の識別符号を認識結果とすることを特徴とする移動物特定プログラム。 18. The moving object identification program according to claim 16,
The moving object identification program is characterized in that, if the highest estimated probability among the first identification code to the nth identification code is equal to or higher than a predetermined confirmed probability, the identification code with the highest estimated probability is determined as the recognition result.
前記統合手段は、第1の識別符号~第nの識別符号のうち、所定の除外確率を超え、所定の確定確率以下の推定確率が複数ある場合、前記対象領域カメラにて撮像した移動物画像を表示し、操作者に選択させることを特徴とする移動物特定プログラム。 In any one of claims 16 to 18, the moving object identification program further comprises:
The moving object identification program is characterized in that, when there are multiple estimated probabilities among the first identification code to the nth identification code that exceed a predetermined exclusion probability and are equal to or less than a predetermined confirmation probability, the integration means displays moving object images captured by the target area camera and allows an operator to select one.
前記識別符号は、複数桁の個別符号を有し、当該個別符号の表示形態またはその背景の表示形態を、前記桁に応じて変えるよう構成されており、
前記認識手段は、前記識別符号の表示形態または背景の表示形態に基づいて、個別符号がいずれの桁であるかを認識し、識別符号を認識することを特徴とする移動物特定プログラム。 In the moving object identification program according to any one of claims 16 to 19,
the identification code has an individual code of multiple digits, and is configured such that a display form of the individual code or a display form of a background of the individual code is changed according to the digits;
The moving object identification program, characterized in that the recognition means recognizes which digit an individual code is based on the display form of the identification code or the display form of the background, and recognizes the identification code.
前記識別符号は、複数桁の個別符号を有しており、
前記認識手段は、各桁の個別符号の認識結果と、複数桁全体の認識結果とに基づいて、識別符号を認識することを特徴とする移動物特定プログラム。 In the moving object identification program according to any one of claims 16 to 20,
The identification code has a multi-digit individual code,
The moving object identification program, wherein the recognition means recognizes an identification code based on a recognition result of an individual code of each digit and a recognition result of the entire set of digits.
前記識別符号の各桁の個別符号は、互いに類似性の低いものを用いるようにしたことを特徴とする移動物特定プログラム。 22. The moving object identification program according to claim 20,
A moving object identification program, characterized in that the individual codes for each digit of the identification code are low in similarity to each other.
第1の識別符号とそれ以外の識別符号とを区別し、第1の識別符号である推定確率を算出する第1の推定手段と、
第2の識別符号とそれ以外の識別符号とを区別し、第2の識別符号である推定確率を算出する第2の推定手段と、
・・・
第nの識別符号とそれ以外の識別符号とを区別し、第nの識別符号である推定確率を算出する第nの推定手段と、
第1~第nの推定手段によって推定された第1の対象物~第nの対象物のうち、最も高い推定確率が所定の確定確率以上であれば、当該最も高い推定確率の識別符号を認識結果とする統合手段とを備えており、
前記統合手段は、第1の識別符号~第nの識別符号のうち、最も高い推定確率が所定の除外確率以下であれば、当該識別符号を第n+1の識別符号であるとして、撮像画像に基づく学習を行い、第n+1の識別符号とそれ以外の識別符号とを区別し、第n+1の識別符号である推定確率を算出する第n+1の推定手段を生成する学習処理を行い、あるいは当該学習処理を提案すること、
を特徴とする認識装置。 A recognition device that recognizes an object based on an image captured by a camera,
a first estimation means for distinguishing between the first identification code and other identification codes and calculating an estimated probability that the identification code is the first identification code;
a second estimation means for distinguishing the second identification code from other identification codes and calculating an estimated probability that the code is the second identification code;
...
an n-th estimation means for distinguishing the n-th identification code from other identification codes and calculating an estimated probability that the code is the n-th identification code;
and an integration means for, if the highest estimation probability among the first object to the nth object estimated by the first to nth estimation means is equal to or higher than a predetermined final probability, determining the identification code with the highest estimation probability as a recognition result;
the integration means, if the highest estimation probability among the first identification code to the nth identification code is equal to or less than a predetermined exclusion probability, determines that identification code to be the n+1th identification code, performs learning based on the captured image, distinguishes the n+1th identification code from other identification codes, and performs a learning process to generate an n+1th estimation means for calculating the estimation probability that the identification code is the n+1th identification code, or suggests the learning process;
A recognition device comprising:
第1の識別符号とそれ以外の識別符号とを区別し、第1の識別符号である推定確率を算出する第1の推定手段と、
第2の識別符号とそれ以外の識別符号とを区別し、第2の識別符号である推定確率を算出する第2の推定手段と、
・・・
第nの識別符号とそれ以外の識別符号とを区別し、第nの識別符号である推定確率を算出する第nの推定手段と、
第1~第nの推定手段によって推定された第1の対象物~第nの対象物のうち、最も高い推定確率が所定の確定確率以上であれば、当該最も高い推定確率の識別符号を認識結果とする統合手段として機能させるための認識プログラムであって、、
前記統合手段は、第1の識別符号~第nの識別符号のうち、最も高い推定確率が所定の除外確率以下であれば、当該識別符号を第n+1の識別符号であるとして、撮像画像に基づく学習を行い、第n+1の識別符号とそれ以外の識別符号とを区別し、第n+1の識別符号である推定確率を算出する第n+1の推定手段を生成する学習処理を行い、あるいは当該学習処理を提案すること、
を特徴とする認識プログラム。 A recognition program for implementing a recognition device that recognizes an object based on an image captured by a camera, the program comprising:
a first estimation means for distinguishing between the first identification code and other identification codes and calculating an estimated probability that the identification code is the first identification code;
a second estimation means for distinguishing the second identification code from other identification codes and calculating an estimated probability that the code is the second identification code;
...
an n-th estimation means for distinguishing the n-th identification code from other identification codes and calculating an estimated probability that the code is the n-th identification code;
A recognition program for causing an identification code having the highest estimation probability to function as an integration means for determining an identification code having the highest estimation probability as a recognition result if the highest estimation probability of a first object to an n-th object estimated by the first to n-th estimation means is equal to or higher than a predetermined final probability,
the integration means, if the highest estimation probability among the first identification code to the nth identification code is equal to or less than a predetermined exclusion probability, determines that identification code to be the n+1th identification code, performs learning based on the captured image, distinguishes the n+1th identification code from other identification codes, and performs a learning process to generate an n+1th estimation means for calculating the estimation probability that the identification code is the n+1th identification code, or suggests the learning process;
A recognition program featuring:
前記識別符号は、複数桁の個別符号を有し、当該個別符号の表示形態またはその背景の表示形態を、前記桁に応じて変えるよう構成されており、
前記認識装置は、前記識別符号の表示形態または背景の表示形態に基づいて、個別符号がいずれの桁であるかを認識し、識別符号を認識することを特徴とする認識プログラム。 25. The recognition program of claim 24,
the identification code has an individual code of multiple digits, and is configured such that a display form of the individual code or a display form of a background of the individual code is changed according to the digits;
The recognition program is characterized in that the recognition device recognizes which digit an individual code is based on the display form of the identification code or the display form of the background, and recognizes the identification code.
前記識別符号は、複数桁の個別符号を有しており、
前記認識装置は、各桁の個別符号の認識結果と、複数桁全体の認識結果とに基づいて、識別符号を認識することを特徴とする移動物特定プログラム。 26. The moving object identification program according to claim 24,
The identification code has a multi-digit individual code,
The moving object identification program is characterized in that the recognition device recognizes an identification code based on the recognition results of individual codes of each digit and the recognition results of all the digits.
前記識別符号の各桁の個別符号は、互いに類似性の低いものを用いるようにしたことを特徴とする移動物特定プログラム。 27. The moving object identification program according to claim 25,
A moving object identification program, characterized in that the individual codes for each digit of the identification code are low in similarity to each other.
前記第1~第nの各推定手段は、推定対象とする第1~第nの識別符号を対象識別符号とし、それ以外の識別符号を対象外識別符号としたとき、学習に用いる対象識別符号と対象外識別符号のデータ数を実質的に同じ数とした学習データにて学習されたものであることを特徴とする移動物特定プログラム。 In any one of claims 1 to 27, the moving object identification program further comprises:
a moving object identification program characterized in that each of the first to nth estimation means is trained with learning data in which the number of data items for the target identification codes and the non-target identification codes used for learning are substantially the same when the first to nth identification codes to be estimated are target identification codes and the other identification codes are non-target identification codes.
対象領域を動く移動物に表示されたユニークな識別符号を、前記対象領域カメラによって撮像した画像に基づいて認識する認識手段と、
前記撮像画像に基づいて、前記移動物の対象領域内での位置を取得する画像位置取得手段と、
前記認識された識別符号に基づいて移動物の同一性を判断し、当該移動物の位置の時間的変化を記録部に記録する位置処理手段と、
を備えた移動物追跡装置であって、
前記認識手段は、
第1の識別符号とそれ以外の識別符号とを区別し、第1の識別符号である推定確率を算出する第1の推定手段と、
第2の識別符号とそれ以外の識別符号とを区別し、第2の識別符号である推定確率を算出する第2の推定手段と、
・・・
第nの識別符号とそれ以外の識別符号とを区別し、第nの識別符号である推定確率を算出する第nの推定手段と、
第1~第nの推定手段の推定結果に基づいて、識別符号の認識を行う統合手段とを備えており、
前記第1~第nの各推定手段は、推定対象とする第1~第nの識別符号を対象識別符号とし、それ以外の識別符号を対象外識別符号としたとき、学習に用いる対象識別符号と対象外識別符号のデータ数を実質的に同じ数とした学習データにて学習されたものであることを特徴とする移動物追跡装置。 one or more target area cameras for imaging a target area;
A recognition means for recognizing a unique identification code displayed on a moving object moving within a target area based on an image captured by the target area camera;
an image position acquisition means for acquiring a position of the moving object within a target area based on the captured image;
a position processing means for determining the identity of the moving object based on the recognized identification code and for recording a change in the position of the moving object over time in a recording unit;
A moving object tracking device comprising:
The recognition means includes:
a first estimation means for distinguishing between the first identification code and other identification codes and calculating an estimated probability that the identification code is the first identification code;
a second estimation means for distinguishing the second identification code from other identification codes and calculating an estimated probability that the code is the second identification code;
...
an n-th estimation means for distinguishing the n-th identification code from other identification codes and calculating an estimated probability that the identification code is the n-th identification code;
and an integration means for recognizing an identification code based on the estimation results of the first to n-th estimation means,
A moving object tracking device characterized in that each of the first to nth estimation means is trained with learning data in which the number of data items used for learning for the target identification codes and the non-target identification codes are substantially the same when the first to nth identification codes to be estimated are target identification codes and the other identification codes are non-target identification codes.
対象領域を動く移動物に表示されたユニークな識別符号を、対象領域カメラによって撮像した画像に基づいて認識する認識手段と、
前記撮像画像に基づいて、前記移動物の対象領域内での位置を取得する画像位置取得手段と、
前記認識された識別符号に基づいて移動物の同一性を判断し、当該移動物の位置の時間的変化を記録部に記録する位置処理手段として機能させるための移動物追跡プログラムであって、
前記認識手段は、
第1の識別符号とそれ以外の識別符号とを区別し、第1の識別符号である推定確率を算出する第1の推定手段と、
第2の識別符号とそれ以外の識別符号とを区別し、第2の識別符号である推定確率を算出する第2の推定手段と、
・・・
第nの識別符号とそれ以外の識別符号とを区別し、第nの識別符号である推定確率を算出する第nの推定手段と、
第1~第nの推定手段の推定結果に基づいて、識別符号の認識を行う統合手段とを備えており、
前記第1~第nの各推定手段は、推定対象とする第1~第nの識別符号を対象識別符号とし、それ以外の識別符号を対象外識別符号としたとき、学習に用いる対象識別符号と対象外識別符号のデータ数を実質的に同じ数とした学習データにて学習されたものであることを特徴とする移動物追跡プログラム。 A moving object tracking program for implementing a moving object tracking device by a computer, the moving object tracking program comprising:
A recognition means for recognizing a unique identification code displayed on a moving object moving within a target area based on an image captured by a target area camera;
an image position acquisition means for acquiring a position of the moving object within a target area based on the captured image;
A moving object tracking program for causing the program to function as a position processing means for determining the identity of a moving object based on the recognized identification code and recording a time-dependent change in the position of the moving object in a recording unit,
The recognition means includes:
a first estimation means for distinguishing between the first identification code and other identification codes and calculating an estimated probability that the identification code is the first identification code;
a second estimation means for distinguishing the second identification code from other identification codes and calculating an estimated probability that the code is the second identification code;
...
an n-th estimation means for distinguishing the n-th identification code from other identification codes and calculating an estimated probability that the identification code is the n-th identification code;
and an integration means for recognizing an identification code based on the estimation results of the first to n-th estimation means,
a moving object tracking program characterized in that each of the first to nth estimation means is trained with learning data in which the number of data items for the target identification codes and the non-target identification codes used for learning are substantially the same when the first to nth identification codes to be estimated are target identification codes and the other identification codes are non-target identification codes.
前記移動物追跡プログラムは、コンピュータを、さらに、対象領域に入場しようとする移動物に表示されたユニークな識別符号を、入場カメラによって撮像した画像に基づいて認識する入場時認識手段と、前記移動物を前記入場カメラで撮像した際に、当該移動物の移動物IDを取得する移動物ID取得手段と、取得した移動物IDと前記認識した識別符号を対応づけて記録部に記録する対応記録手段として機能させるためのものであり、
前記位置処理手段は、前記対象領域カメラにて撮像した移動物の撮像画像から認識した識別符号に基づいて、前記記録部を参照して、当該移動物の移動物IDを取得することを特徴とする移動物追跡プログラム。 The moving object tracking program according to claim 30,
The moving object tracking program causes the computer to further function as an entry recognition means for recognizing a unique identification code displayed on a moving object attempting to enter a target area based on an image captured by an entry camera , a moving object ID acquisition means for acquiring a moving object ID of the moving object when the moving object is imaged by the entry camera , and a correspondence recording means for recording the acquired moving object ID and the recognized identification code in a recording unit in association with each other,
A moving object tracking program characterized in that the position processing means obtains a moving object ID of the moving object by referring to the recording unit based on an identification code recognized from an image of the moving object captured by the target area camera.
前記移動物には識別符号が複数個表示されており、
前記認識手段は、移動物に表示された識別符号を異なる角度から撮像した画像に基づいて学習を行った機械学習の学習済みモデルによって識別符号を認識することを特徴とする移動物追跡プログラム。 In the moving object tracking program according to claim 30 or 31,
A plurality of identification codes are displayed on the moving object,
A moving object tracking program characterized in that the recognition means recognizes the identification code displayed on the moving object using a machine learning trained model that has been trained based on images captured from different angles of the identification code displayed on the moving object.
前記識別符号は、前記移動物に装着された装着物に表示されていることを特徴とする移動物追跡プログラム。 In the moving object tracking program according to any one of claims 30 to 32,
A moving object tracking program, wherein the identification code is displayed on an attachment attached to the moving object.
前記統合手段は、第1の識別符号~第nの識別符号のうち、最も高い推定確率が所定の確定確率以上であれば、当該最も高い推定確率の識別符号を認識結果とすることを特徴とする移動物追跡プログラム。 In the moving object tracking program according to any one of claims 30 to 33,
The moving object tracking program is characterized in that, if the highest estimated probability among the first identification code to the nth identification code is equal to or higher than a predetermined confirmed probability, the identification code with the highest estimated probability is determined as the recognition result.
前記統合手段は、第1の識別符号~第nの識別符号のうち、所定の除外確率を超え、所定の確定確率以下の推定確率が複数ある場合、前記対象領域カメラにて撮像した移動物画像を表示し、操作者に選択させることを特徴とする移動物追跡プログラム。 In the moving object tracking program according to any one of claims 30 to 34,
The moving object tracking program is characterized in that, when there are multiple estimated probabilities among the first identification code to the nth identification code that exceed a predetermined exclusion probability and are equal to or less than a predetermined confirmation probability, the integration means displays moving object images captured by the target area camera and allows an operator to select one.
前記移動物ID取得手段は、移動物である人物が所持する移動物IDを記録した媒体から近距離通信によって、あるいは当該人物の入力操作により、前記移動物IDを取得することを特徴とする移動物追跡プログラム。 The moving object tracking program according to claim 31 ,
A moving object tracking program characterized in that the moving object ID acquisition means acquires the moving object ID from a medium on which a moving object ID carried by a person who is a moving object is recorded by short-range communication or by an input operation by the person.
前記位置処理手段は、前記画像位置取得手段によって取得した移動物の位置に基づいて、各移動物について記録された進入禁止区域を参照し、当該移動物が進入禁止区域に入った場合には、警告を出力する警告手段を備えることを特徴とする移動物追跡プログラム。 In the moving object tracking program according to any one of claims 30 to 36,
A moving object tracking program characterized in that the position processing means refers to a no-entry area recorded for each moving object based on the position of the moving object acquired by the image position acquisition means, and is equipped with a warning means for outputting a warning if the moving object enters the no-entry area.
前記進入禁止区域は、危険性のある移動物の移動につれてあるいは日時とともにダイナミックに変化することを特徴とする移動物追跡プログラム。 The moving object tracking program according to claim 37,
A moving object tracking program characterized in that the no-entry zone changes dynamically with the movement of a dangerous moving object or with the date and time.
前記認識手段は、移動物が特定できる状態にて、装着物が装着された当該移動物が一つだけで撮像された画像に基づいて、認識手段を学習する学習手段を備えることを特徴とする移動物追跡プログラム。 In the moving object tracking program according to any one of claims 30 to 38,
A moving object tracking program characterized in that the recognition means includes a learning means that learns the recognition means based on an image captured of only one moving object wearing an attachment in a state in which the moving object can be identified.
前記識別符号は、複数桁の個別符号を有し、当該個別符号の表示形態またはその背景の表示形態を、前記桁に応じて変えるよう構成されており、
前記認識手段は、前記識別符号の表示形態または背景の表示形態に基づいて、個別符号がいずれの桁であるかを認識し、識別符号を認識することを特徴とする移動物追跡プログラム。 In the moving object tracking program according to any one of claims 30 to 39,
the identification code has an individual code of multiple digits, and is configured such that a display form of the individual code or a display form of a background of the individual code is changed according to the digits;
The recognition means recognizes which digit an individual code is, based on the display form of the identification code or the display form of the background, thereby recognizing the identification code.
前記識別符号は、複数桁の個別符号を有しており、
前記認識手段は、各桁の個別符号の認識結果と、複数桁全体の認識結果とに基づいて、識別符号を認識することを特徴とする移動物追跡プログラム。 In the moving object tracking program according to any one of claims 30 to 40,
The identification code has a multi-digit individual code,
The recognition means recognizes an identification code based on a recognition result of an individual code of each digit and a recognition result of the entire set of digits.
前記識別符号の各桁の個別符号は、互いに類似性の低いものを用いるようにしたことを特徴とする移動物追跡プログラム。 In the moving object tracking program according to claim 40 or 41,
A moving object tracking program, characterized in that the individual codes for each digit of the identification code are low in similarity to each other.
対象領域に入場しようとする移動物を撮像する入場カメラと、
対象領域に入場しようとする移動物に表示されたユニークな識別符号を、前記入場カメラによって撮像した画像に基づいて認識する入場時認識手段と、
前記移動物を前記入場カメラで撮像した際に、当該移動物の移動物IDを取得する移動物ID取得手段と、
取得した移動物IDと前記認識した識別符号を対応づけて記録部に記録する対応記録手段と、
対象領域を動く移動物に表示されたユニークな識別符号を、前記対象領域カメラによって撮像した画像に基づいて認識する認識手段と、
認識手段によって認識した識別符号と、記録部に記録された識別符号と移動物IDの対応に基づいて、前記対象領域カメラによって撮像した移動物を特定する特定手段と、
を備えた移動物特定装置であって、
前記認識手段は、
第1の識別符号とそれ以外の識別符号とを区別し、第1の識別符号である推定確率を算出する第1の推定手段と、
第2の識別符号とそれ以外の識別符号とを区別し、第2の識別符号である推定確率を算出する第2の推定手段と、
・・・
第nの識別符号とそれ以外の識別符号とを区別し、第nの識別符号である推定確率を算出する第nの推定手段と、
第1~第nの推定手段の推定結果に基づいて、識別符号の認識を行う統合手段とを備えた移動物特定装置において、
前記第1~第nの各推定手段は、推定対象とする第1~第nの識別符号を対象識別符号とし、それ以外の識別符号を対象外識別符号としたとき、学習に用いる対象識別符号と対象外識別符号のデータ数を実質的に同じ数とした学習データにて学習されたものであることを特徴とする移動物特定装置。 one or more target area cameras for imaging a target area;
An entrance camera that captures an image of a moving object that is about to enter a target area;
an entrance recognition means for recognizing a unique identification code displayed on a moving object that is about to enter a target area based on an image captured by the entrance camera;
a moving object ID acquisition means for acquiring a moving object ID of the moving object when the moving object is imaged by the entrance camera ;
a correspondence recording means for recording the acquired moving object ID and the recognized identification code in a recording unit in association with each other;
A recognition means for recognizing a unique identification code displayed on a moving object moving within a target area based on an image captured by the target area camera;
an identification means for identifying a moving object captured by the target area camera based on an identification code recognized by the recognition means and a correspondence between the identification code and a moving object ID recorded in a recording unit;
A moving object identification device comprising:
The recognition means includes:
a first estimation means for distinguishing between the first identification code and other identification codes and calculating an estimated probability that the identification code is the first identification code;
a second estimation means for distinguishing the second identification code from other identification codes and calculating an estimated probability that the code is the second identification code;
...
an n-th estimation means for distinguishing the n-th identification code from other identification codes and calculating an estimated probability that the identification code is the n-th identification code;
and an integration means for recognizing an identification code based on the estimation results of the first to nth estimation means.
A moving object identification device characterized in that each of the first to nth estimation means is trained with learning data in which the number of data items for the target identification codes and the non-target identification codes used for learning are substantially the same when the first to nth identification codes to be estimated are target identification codes and the other identification codes are non-target identification codes.
対象領域に入場しようとする移動物に表示されたユニークな識別符号を、対象領域に入場しようとする移動物を撮像する入場カメラによって撮像した画像に基づいて認識する入場時認識手段と、
前記移動物を前記入場カメラで撮像した際に、当該移動物の移動物IDを取得する移動物ID取得手段と、
取得した移動物IDと前記認識した識別符号を対応づけて記録部に記録する対応記録手段と、
対象領域を動く移動物に表示されたユニークな識別符号を、対象領域を撮像する一以上の対象領域カメラによって撮像した画像に基づいて認識する認識手段と、
認識手段によって認識した識別符号と、記録部に記録された識別符号と移動物IDの対応に基づいて、前記対象領域カメラによって撮像した移動物を特定する特定手段として機能させるための移動物特定プログラムであって、
前記認識手段は、
第1の識別符号とそれ以外の識別符号とを区別し、第1の識別符号である推定確率を算出する第1の推定手段と、
第2の識別符号とそれ以外の識別符号とを区別し、第2の識別符号である推定確率を算出する第2の推定手段と、
・・・
第nの識別符号とそれ以外の識別符号とを区別し、第nの識別符号である推定確率を算出する第nの推定手段と、
第1~第nの推定手段の推定結果に基づいて、識別符号の認識を行う統合手段とを備えており、
前記第1~第nの各推定手段は、推定対象とする第1~第nの識別符号を対象識別符号とし、それ以外の識別符号を対象外識別符号としたとき、学習に用いる対象識別符号と対象外識別符号のデータ数を実質的に同じ数とした学習データにて学習されたものであることを特徴とする移動物特定プログラム。 A moving object identification program for implementing a moving object identification device by a computer, the moving object identification program comprising:
an entrance recognition means for recognizing a unique identification code displayed on a moving object attempting to enter a target area based on an image captured by an entrance camera that captures an image of the moving object attempting to enter the target area;
a moving object ID acquisition means for acquiring a moving object ID of the moving object when the moving object is imaged by the entrance camera ;
a correspondence recording means for recording the acquired moving object ID and the recognized identification code in a recording unit in association with each other;
A recognition means for recognizing a unique identification code displayed on a moving object moving in a target area based on an image captured by one or more target area cameras that capture images of the target area;
A moving object identification program for causing the device to function as an identification means for identifying a moving object captured by the target area camera based on an identification code recognized by the recognition means and a correspondence between the identification code and a moving object ID recorded in a recording unit,
The recognition means includes:
a first estimation means for distinguishing between the first identification code and other identification codes and calculating an estimated probability that the identification code is the first identification code;
a second estimation means for distinguishing the second identification code from other identification codes and calculating an estimated probability that the code is the second identification code;
...
an n-th estimation means for distinguishing the n-th identification code from other identification codes and calculating an estimated probability that the code is the n-th identification code;
and an integration means for recognizing an identification code based on the estimation results of the first to n-th estimation means,
a moving object identification program characterized in that each of the first to nth estimation means is trained with learning data in which the number of data items for the target identification codes and the non-target identification codes used for learning are substantially the same when the first to nth identification codes to be estimated are target identification codes and the other identification codes are non-target identification codes.
前記移動物には識別符号が複数個表示されており、
前記認識手段は、移動物に表示された識別符号を異なる角度から撮像した画像に基づいて学習を行った機械学習の学習済みモデルによって識別符号を認識することを特徴とする移動物特定プログラム。 The moving object identification program according to claim 44,
A plurality of identification codes are displayed on the moving object,
The moving object identification program is characterized in that the recognition means recognizes the identification code using a machine learning trained model that has been trained based on images of the identification code displayed on the moving object taken from different angles.
前記統合手段は、第1の識別符号~第nの識別符号のうち、最も高い推定確率が所定の確定確率以上であれば、当該最も高い推定確率の識別符号を認識結果とすることを特徴とする移動物特定プログラム。 46. The moving object identification program according to claim 44 or 45,
The moving object identification program is characterized in that, if the highest estimated probability among the first identification code to the nth identification code is equal to or higher than a predetermined confirmed probability, the identification code with the highest estimated probability is determined as the recognition result.
前記統合手段は、第1の識別符号~第nの識別符号のうち、所定の除外確率を超え、所定の確定確率以下の推定確率が複数ある場合、前記対象領域カメラにて撮像した移動物画像を表示し、操作者に選択させることを特徴とする移動物特定プログラム。 In any one of claims 44 to 46, the moving object identification program further comprises:
The moving object identification program is characterized in that, when there are multiple estimated probabilities among the first identification code to the nth identification code that exceed a predetermined exclusion probability and are equal to or less than a predetermined confirmation probability, the integration means displays moving object images captured by the target area camera and allows an operator to select one.
前記識別符号は、複数桁の個別符号を有し、当該個別符号の表示形態またはその背景の表示形態を、前記桁に応じて変えるよう構成されており、
前記認識手段は、前記識別符号の表示形態または背景の表示形態に基づいて、個別符号がいずれの桁であるかを認識し、識別符号を認識することを特徴とする移動物特定プログラム。 In any one of claims 44 to 47, the moving object identification program further comprises:
the identification code has an individual code of multiple digits, and is configured such that a display form of the individual code or a display form of a background of the individual code is changed according to the digits;
The moving object identification program, characterized in that the recognition means recognizes which digit an individual code is based on the display form of the identification code or the display form of the background, and recognizes the identification code.
前記識別符号は、複数桁の個別符号を有しており、
前記認識手段は、各桁の個別符号の認識結果と、複数桁全体の認識結果とに基づいて、識別符号を認識することを特徴とする移動物特定プログラム。 In any one of claims 44 to 48, the moving object identification program further comprises:
The identification code has a multi-digit individual code,
The moving object identification program, wherein the recognition means recognizes an identification code based on a recognition result of an individual code of each digit and a recognition result of the entire set of digits.
前記識別符号の各桁の個別符号は、互いに類似性の低いものを用いるようにしたことを特徴とする移動物特定プログラム。 50. The moving object identification program according to claim 48 or 49,
A moving object identification program, characterized in that the individual codes for each digit of the identification code are low in similarity to each other.
第1の識別符号とそれ以外の識別符号とを区別し、第1の識別符号である推定確率を算出する第1の推定手段と、
第2の識別符号とそれ以外の識別符号とを区別し、第2の識別符号である推定確率を算出する第2の推定手段と、
・・・
第nの識別符号とそれ以外の識別符号とを区別し、第nの識別符号である推定確率を算出する第nの推定手段と、
第1~第nの推定手段によって推定された第1の対象物~第nの対象物のうち、最も高い推定確率が所定の確定確率以上であれば、当該最も高い推定確率の識別符号を認識結果とする統合手段とを備えており、
前記第1~第nの各推定手段は、推定対象とする第1~第nの識別符号を対象識別符号とし、それ以外の識別符号を対象外識別符号としたとき、学習に用いる対象識別符号と対象外識別符号のデータ数を実質的に同じ数とした学習データにて学習されたものであることを特徴とする認識装置。 A recognition device that recognizes an object based on an image captured by a camera,
a first estimation means for distinguishing between the first identification code and other identification codes and calculating an estimated probability that the identification code is the first identification code;
a second estimation means for distinguishing the second identification code from other identification codes and calculating an estimated probability that the code is the second identification code;
...
an n-th estimation means for distinguishing the n-th identification code from other identification codes and calculating an estimated probability that the identification code is the n-th identification code;
and an integration means for, if the highest estimation probability among the first object to the nth object estimated by the first to nth estimation means is equal to or higher than a predetermined final probability, determining the identification code with the highest estimation probability as a recognition result,
The recognition device is characterized in that each of the first to nth estimation means is trained with learning data in which the number of data items of the target identification codes and the non-target identification codes used for learning are substantially the same, when the first to nth identification codes to be estimated are set as target identification codes and the other identification codes are set as non-target identification codes.
第1の識別符号とそれ以外の識別符号とを区別し、第1の識別符号である推定確率を算出する第1の推定手段と、
第2の識別符号とそれ以外の識別符号とを区別し、第2の識別符号である推定確率を算出する第2の推定手段と、
・・・
第nの識別符号とそれ以外の識別符号とを区別し、第nの識別符号である推定確率を算出する第nの推定手段と、
第1~第nの推定手段によって推定された第1の対象物~第nの対象物のうち、最も高い推定確率が所定の確定確率以上であれば、当該最も高い推定確率の識別符号を認識結果とする統合手段として機能させるための認識プログラムであって、、
前記第1~第nの各推定手段は、推定対象とする第1~第nの識別符号を対象識別符号とし、それ以外の識別符号を対象外識別符号としたとき、学習に用いる対象識別符号と対象外識別符号のデータ数を実質的に同じ数とした学習データにて学習されたものであることを特徴とする認識プログラム。 A recognition program for implementing a recognition device that recognizes an object based on an image captured by a camera, the program comprising:
a first estimation means for distinguishing between the first identification code and other identification codes and calculating an estimated probability that the identification code is the first identification code;
a second estimation means for distinguishing the second identification code from other identification codes and calculating an estimated probability that the code is the second identification code;
...
an n-th estimation means for distinguishing the n-th identification code from other identification codes and calculating an estimated probability that the code is the n-th identification code;
A recognition program for causing an identification code having the highest estimation probability to function as an integration means for determining an identification code having the highest estimation probability as a recognition result if the highest estimation probability of a first object to an n-th object estimated by the first to n-th estimation means is equal to or higher than a predetermined final probability,
a recognition program characterized in that each of the first to nth estimation means is trained with learning data in which the number of data items of the target identification codes and the non-target identification codes used for learning are substantially the same, when the first to nth identification codes to be estimated are set as target identification codes and the other identification codes are set as non-target identification codes.
前記識別符号は、複数桁の個別符号を有し、当該個別符号の表示形態またはその背景の表示形態を、前記桁に応じて変えるよう構成されており、
前記認識装置は、前記識別符号の表示形態または背景の表示形態に基づいて、個別符号がいずれの桁であるかを認識し、識別符号を認識することを特徴とする認識プログラム。 53. The recognition program of claim 52,
the identification code has an individual code of multiple digits, and is configured such that a display form of the individual code or a display form of a background of the individual code is changed according to the digits;
The recognition program is characterized in that the recognition device recognizes which digit an individual code is based on the display form of the identification code or the display form of the background, and recognizes the identification code.
前記識別符号は、複数桁の個別符号を有しており、
前記認識装置は、各桁の個別符号の認識結果と、複数桁全体の認識結果とに基づいて、識別符号を認識することを特徴とする移動物特定プログラム。 In the moving object identification program according to claim 52 or 53,
The identification code has a multi-digit individual code,
The moving object identification program is characterized in that the recognition device recognizes an identification code based on the recognition results of individual codes of each digit and the recognition results of all the digits.
前記識別符号の各桁の個別符号は、互いに類似性の低いものを用いるようにしたことを特徴とする移動物特定プログラム。
55. The moving object identification program according to claim 53 or 54,
A moving object identification program, characterized in that the individual codes for each digit of the identification code are low in similarity to each other.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2023201383A JP2024023434A (en) | 2018-12-13 | 2023-11-29 | moving object tracking device |
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2018233356 | 2018-12-13 | ||
| JP2018233356 | 2018-12-13 |
Related Child Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2023201383A Division JP2024023434A (en) | 2018-12-13 | 2023-11-29 | moving object tracking device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2020098590A JP2020098590A (en) | 2020-06-25 |
| JP7492226B2 true JP7492226B2 (en) | 2024-05-29 |
Family
ID=71106036
Family Applications (2)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2019216362A Active JP7492226B2 (en) | 2018-12-13 | 2019-11-29 | Moving object tracking device |
| JP2023201383A Pending JP2024023434A (en) | 2018-12-13 | 2023-11-29 | moving object tracking device |
Family Applications After (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2023201383A Pending JP2024023434A (en) | 2018-12-13 | 2023-11-29 | moving object tracking device |
Country Status (1)
| Country | Link |
|---|---|
| JP (2) | JP7492226B2 (en) |
Families Citing this family (11)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP7551392B2 (en) * | 2020-08-07 | 2024-09-17 | 東芝テック株式会社 | Quota Systems and Programs |
| CN112256019A (en) * | 2020-09-07 | 2021-01-22 | 北京京东乾石科技有限公司 | Automatic guided vehicle control method and device, warehousing system, electronic equipment and medium |
| JP7453125B2 (en) * | 2020-11-18 | 2024-03-19 | 大成建設株式会社 | Image processing device and image processing method |
| JP2022089216A (en) * | 2020-12-04 | 2022-06-16 | 日本電気株式会社 | Monitoring device, monitoring system, monitoring method, and monitoring program |
| JP2022139871A (en) * | 2021-03-12 | 2022-09-26 | 大日本印刷株式会社 | Imaging system |
| EP4064118A1 (en) * | 2021-03-25 | 2022-09-28 | Grazper Technologies ApS | Utility vehicle and corresponding apparatus, method and computer program for a utility vehicle |
| CN117441189A (en) * | 2021-06-11 | 2024-01-23 | 松下知识产权经营株式会社 | Job analysis device and method |
| JP7690375B2 (en) * | 2021-10-18 | 2025-06-10 | 大成建設株式会社 | CO2 emission calculation system and CO2 emission calculation method |
| JP2023105741A (en) * | 2022-01-19 | 2023-07-31 | 株式会社Ridge-i | Information processor, information processing method, and information processing program |
| EP4383195A1 (en) | 2022-10-03 | 2024-06-12 | Ricoh Company, Ltd. | Image processing apparatus, image processing system, image processing method, and carrier medium |
| JP7828615B2 (en) * | 2024-01-15 | 2026-03-12 | 株式会社 インフォファーム | Location management system, location management method, and location management program |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2003274389A (en) | 2002-03-15 | 2003-09-26 | Ntt Advanced Technology Corp | Mobile object tracking device and method, and mobile object tracking program |
| JP2010217996A (en) | 2009-03-13 | 2010-09-30 | Omron Corp | Character recognition device, character recognition program, and character recognition method |
| JP2017033162A (en) | 2015-07-30 | 2017-02-09 | 有限会社新保加工 | Swimming cap, and system of determining swimmers' conditions |
| WO2018061616A1 (en) | 2016-09-28 | 2018-04-05 | 株式会社日立国際電気 | Monitoring system |
Family Cites Families (13)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP4757116B2 (en) * | 2006-06-30 | 2011-08-24 | キヤノン株式会社 | Parameter learning method and apparatus, pattern identification method and apparatus, and program |
| JP5137805B2 (en) * | 2008-12-15 | 2013-02-06 | キヤノン株式会社 | Inspection system, control method therefor, and computer program |
| JP5445062B2 (en) * | 2009-11-24 | 2014-03-19 | 富士ゼロックス株式会社 | Information processing apparatus and information processing program |
| US20120239400A1 (en) * | 2009-11-25 | 2012-09-20 | Nrc Corporation | Speech data analysis device, speech data analysis method and speech data analysis program |
| JP5406074B2 (en) * | 2010-02-23 | 2014-02-05 | 株式会社日立製作所 | Worker position recognition system |
| JP4850973B1 (en) * | 2010-09-14 | 2012-01-11 | ギアヌーヴ株式会社 | Construction site labor management system and server |
| JP6595268B2 (en) * | 2014-09-09 | 2019-10-23 | 五洋建設株式会社 | Entrance / exit management system |
| JP6663627B2 (en) * | 2015-04-14 | 2020-03-13 | 株式会社コンピュータシステム研究所 | Construction management support device, construction management support program, and storage medium |
| US20170039469A1 (en) * | 2015-08-04 | 2017-02-09 | Qualcomm Incorporated | Detection of unknown classes and initialization of classifiers for unknown classes |
| EP3478728B1 (en) * | 2016-06-30 | 2024-08-28 | Konica Minolta Laboratory U.S.A., Inc. | Method and system for cell annotation with adaptive incremental learning |
| JP2018055622A (en) * | 2016-09-30 | 2018-04-05 | 大日本印刷株式会社 | Information processing device and program |
| JP6937113B2 (en) * | 2016-11-18 | 2021-09-22 | 和彦 大崎 | Worksite management system |
| JP2018142097A (en) * | 2017-02-27 | 2018-09-13 | キヤノン株式会社 | Information processing device, information processing method, and program |
-
2019
- 2019-11-29 JP JP2019216362A patent/JP7492226B2/en active Active
-
2023
- 2023-11-29 JP JP2023201383A patent/JP2024023434A/en active Pending
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2003274389A (en) | 2002-03-15 | 2003-09-26 | Ntt Advanced Technology Corp | Mobile object tracking device and method, and mobile object tracking program |
| JP2010217996A (en) | 2009-03-13 | 2010-09-30 | Omron Corp | Character recognition device, character recognition program, and character recognition method |
| JP2017033162A (en) | 2015-07-30 | 2017-02-09 | 有限会社新保加工 | Swimming cap, and system of determining swimmers' conditions |
| WO2018061616A1 (en) | 2016-09-28 | 2018-04-05 | 株式会社日立国際電気 | Monitoring system |
Non-Patent Citations (2)
| Title |
|---|
| E.L. Andrade et al.,PLAYER IDENTIFICATION IN INTERACTIVE SPORT SCENES USING REGION SPACE ANALYSIS PRIOR INFORMATION AND NUMBER RECOGNITION,2003 International Conference on Visual Information Engineering VIE 2003,2023年12月31日,https://ieeexplore.ieee.org/stamp/stamp.jsp?tp=&arnumber=1341291 |
| 山本 大樹 外,スポーツ映像での集団領域推定と背番号認識を用いた選手追跡および識別,第19回画像センシングシンポジウム 講演論文集,2013年06月30日 |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2020098590A (en) | 2020-06-25 |
| JP2024023434A (en) | 2024-02-21 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP7492226B2 (en) | Moving object tracking device | |
| JP4970195B2 (en) | Person tracking system, person tracking apparatus, and person tracking program | |
| CN120707747A (en) | System and method for guiding card positioning using phone sensors | |
| CN104615234A (en) | Information processing device and information processing method | |
| JP2014016968A (en) | Person retrieval device and data collection device | |
| CN112949375B (en) | Computing system, computing method and storage medium | |
| KR101668555B1 (en) | Method and apparatus for recognizing worker in working site image data | |
| CN104615233A (en) | Information processing device and information processing method | |
| EP3629228B1 (en) | Image processing for determining relationships between tracked objects | |
| WO2019077559A1 (en) | System for tracking products and users in a store | |
| US9336452B2 (en) | System and method for identification of printed matter in an image | |
| WO2019077863A1 (en) | Identification device and electronic apparatus | |
| US10915738B2 (en) | Preference implementation system for acting on preferences of facility visitors | |
| WO2017179543A1 (en) | Information processing device, information processing method, and program recording medium | |
| KR102250712B1 (en) | Electronic apparatus and control method thereof | |
| US10991119B2 (en) | Mapping multiple views to an identity | |
| JP7267483B2 (en) | Object recognition system, position information acquisition method, and program | |
| CN112668387B (en) | Illegal smoking identification method based on alpha Pose | |
| KR102101332B1 (en) | Method for idetification worker | |
| CN112560715A (en) | Operation record display method and device, electronic equipment and storage medium | |
| CN108896035A (en) | Method and equipment for realizing navigation through image information and navigation robot | |
| JP7828615B2 (en) | Location management system, location management method, and location management program | |
| KR101702452B1 (en) | A method and a system for providing cctv image applied augmented reality | |
| JP5907162B2 (en) | Mobile object attribute estimation system, mobile object attribute estimation method, and program | |
| CN119179046A (en) | Positioning device, positioning method and computer program product |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A821 Effective date: 20191204 |
|
| A711 | Notification of change in applicant |
Free format text: JAPANESE INTERMEDIATE CODE: A711 Effective date: 20200310 |
|
| RD02 | Notification of acceptance of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7422 Effective date: 20200310 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A821 Effective date: 20200312 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20200831 |
|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20221117 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20230927 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20231002 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20231129 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20240122 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20240215 |
|
| 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: 20240422 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20240509 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 7492226 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |