JP2020087093A - Vending machine settlement system, vending machine, face authentication server, vending machine settlement method, and program - Google Patents

Vending machine settlement system, vending machine, face authentication server, vending machine settlement method, and program Download PDF

Info

Publication number
JP2020087093A
JP2020087093A JP2018222207A JP2018222207A JP2020087093A JP 2020087093 A JP2020087093 A JP 2020087093A JP 2018222207 A JP2018222207 A JP 2018222207A JP 2018222207 A JP2018222207 A JP 2018222207A JP 2020087093 A JP2020087093 A JP 2020087093A
Authority
JP
Japan
Prior art keywords
feature vector
customer
face
face authentication
vending machine
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2018222207A
Other languages
Japanese (ja)
Other versions
JP7180869B2 (en
Inventor
侑 松瀬
Yu Matsuse
侑 松瀬
宏之 岡本
Hiroyuki Okamoto
宏之 岡本
康孝 清水
Yasutaka Shimizu
康孝 清水
輝哉 池上
Teruya Ikegami
輝哉 池上
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Suntory Holdings Ltd
Original Assignee
NEC Corp
Suntory Holdings Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp, Suntory Holdings Ltd filed Critical NEC Corp
Priority to JP2018222207A priority Critical patent/JP7180869B2/en
Publication of JP2020087093A publication Critical patent/JP2020087093A/en
Application granted granted Critical
Publication of JP7180869B2 publication Critical patent/JP7180869B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

To provide a vending machine settlement system capable of performing quick settlement based on face authentication.SOLUTION: A face authentication server 101 holds first and second feature vectors generated from a customer ID and a face image, and performs face authentication. A vending machine 103 generates a third feature vector corresponding to the first feature vector from the face image of a customer. The face authentication server extracts the first feature vector stored in a database, that is, the first feature vector having higher similarity to the third feature vector than a predetermined threshold. The face authentication server generates a list composed of the customer ID corresponding to the extracted first feature vector as a face authentication candidate. The vending machine generates a fourth feature vector from the face image of the customer who tries to purchase merchandise. The face authentication server performs face authentication of the customer who tries to purchase the merchandise on the basis of the fourth feature vector and the second feature vector corresponding to the customer ID included in the face authentication candidate.SELECTED DRAWING: Figure 1

Description

本発明は、自動販売機決済システム、自動販売機、顔認証サーバ、自動販売機決済方法及びプログラムに関する。 The present invention relates to a vending machine settlement system, a vending machine, a face authentication server, a vending machine settlement method and a program.

近年、自動販売機は高機能化している。例えば、現金を用いた通常の決済(商品購入)だけでなく、IC(Integrated Circuit)カードによる決済に対応した自動販売機の普及が始まっている。また、スマートフォン等の端末を介して自動販売機とサーバを接続し、当該サーバを通じて種々のサービスを顧客に提供するシステムが存在する。例えば、特許文献1には、顧客の商品購入に応じてポイントを付与する自動販売機が開示されている。 In recent years, vending machines have become highly functional. For example, vending machines that are compatible with not only ordinary payment using cash (purchase of goods) but also payment using an IC (Integrated Circuit) card have become popular. There is also a system that connects a vending machine to a server via a terminal such as a smartphone and provides various services to customers through the server. For example, Patent Document 1 discloses an automatic vending machine that gives points according to a customer's product purchase.

特開2017−220031号公報JP, 2017-220031, A

自動販売機は、駅や商業施設内に設置されているだけでなく、職場や学校等に設置されていることも多い。職場では財布等の現金やICカードを常に携帯していない人も多く、このような人が自動販売機にて商品を購入しようと思えば財布等を持ち出して自動販売機まで出向く必要がある。しかし、財布等を持ち出すことを手間であると考える人もおり、手ぶらで商品購入をしたいという要望がある。このような要望に応えるため、自動販売機を含むシステムに顔認証機能を組み込むことが考えられる。 Vending machines are often installed not only in stations and commercial facilities but also in workplaces and schools. Many people at work do not always carry cash such as wallets or IC cards, and if such a person wants to purchase a product at a vending machine, he or she needs to bring out the wallet and go to the vending machine. However, some people think that it is a hassle to bring out a wallet or the like, and there is a desire to purchase a product by hand. In order to meet such a demand, it is possible to incorporate a face recognition function into a system including a vending machine.

しかし、単に顔認証機能を組み込んだだけでは、顧客による商品選択から決済完了までの時間が長くなり、自動販売機の持つ利便性が低下する。つまり、膨大なデータ(顧客の識別子と認証情報)を有するデータベースから決済の対象となる顧客を特定するためには、多くの処理時間を必要とする。 However, if the face authentication function is simply incorporated, the time from the product selection by the customer to the completion of payment becomes long, and the convenience of the vending machine is reduced. That is, it takes a lot of processing time to specify a customer to be settled from a database having a huge amount of data (customer identifier and authentication information).

換言すれば、商品を選択してから決済が完了するまでの長い時間、顧客は自動販売機の面前で待機しなければならず、このような顧客への強要は「早く商品を購入したい」という顧客の意図に反するものであり許容されない。 In other words, the customer has to wait in front of the vending machine for a long time from the selection of the product until the settlement is completed, and such a coercion to the customer is "I want to purchase the product quickly". It is against the customer's intention and is not acceptable.

そこで、顔認証による迅速な決済を可能とすることに寄与する、自動販売機決済システム、自動販売機、顔認証サーバ、自動販売機決済方法及びプログラムを提供することが望まれる。 Therefore, it is desired to provide an automatic vending machine payment system, an automatic vending machine, a face authentication server, an automatic vending machine payment method, and a program that contribute to enabling quick payment by face authentication.

本発明乃至開示の第1の視点によれば、顧客ID(Identifier)と、前記顧客IDに対応する人物の顔画像から生成された第1、第2の特徴ベクトルと、を関連付けて記憶するデータベースにアクセスし、要求された人物の顔認証を行う、顔認証サーバと、商品購入に関する決済を行う、決済サーバと、前記顔認証サーバに顔認証を要求し、前記顔認証サーバによる認証が成功した顧客が購入する商品の決済を前記決済サーバに要求する、自動販売機と、を含み、前記自動販売機は、自装置周辺に存在する顧客を検出するのに応じて、検出した前記顧客の顔画像から前記第1の特徴ベクトルに対応する第3の特徴ベクトルを生成し、前記顔認証サーバは、前記データベースに記憶された第1の特徴ベクトルであって、前記第3の特徴ベクトルとの間の類似度が所定の閾値よりも高い第1の特徴ベクトルを抽出し、前記抽出された第1の特徴ベクトルに対応する前記顧客IDからなるリストを顔認証候補として生成し、前記自動販売機は、前記顧客を検出するタイミングと異なるタイミングにおいて、商品を購入しようとする顧客の顔画像から第4の特徴ベクトルを生成し、前記顔認証サーバは、前記第4の特徴ベクトルと、前記顔認証候補に含まれる顧客IDに対応する前記第2の特徴ベクトルと、に基づき、前記商品を購入しようとする顧客の顔認証を行う、自動販売機決済システムが提供される。 According to a first aspect of the present invention or disclosure, a database that stores a customer ID (Identifier) and first and second feature vectors generated from a face image of a person corresponding to the customer ID in association with each other. Access to and perform face authentication of the requested person, perform face authentication server and payment related to product purchase, request payment of face authentication from the payment server and the face authentication server, and authentication by the face authentication server is successful. A vending machine that requests the settlement server to settle a product purchased by the customer, and the vending machine detects the customer present in the vicinity of the device, and detects the face of the customer. A third feature vector corresponding to the first feature vector is generated from an image, and the face authentication server is the first feature vector stored in the database, and is between the third feature vector and the third feature vector. Of the first feature vector whose similarity is higher than a predetermined threshold value is generated, and a list of the customer IDs corresponding to the extracted first feature vector is generated as a face authentication candidate. , A fourth feature vector is generated from a face image of a customer who intends to purchase a product at a timing different from the timing of detecting the customer, and the face authentication server is configured to generate the fourth feature vector and the face authentication candidate. An automatic vending machine payment system is provided, which performs face authentication of a customer who intends to purchase the product based on the second feature vector corresponding to the customer ID included in.

本発明乃至開示の第2の視点によれば、顧客ID(Identifier)と、前記顧客IDに対応する人物の顔画像から生成された第1、第2の特徴ベクトルと、を関連付けて記憶するデータベースにアクセスし、要求された人物の顔認証を行う、顔認証サーバと、商品購入に関する決済を行う、決済サーバと、に接続され、前記顔認証サーバに顔認証を要求し、前記顔認証サーバによる認証が成功した顧客が購入する商品の決済を前記決済サーバに要求する、装置であって、自装置周辺に存在する顧客を検出するのに応じて、検出した前記顧客の顔画像から前記第1の特徴ベクトルに対応する第3の特徴ベクトルを生成し、前記顔認証サーバに対して前記第3の特徴ベクトルを送信すると共に、前記顔認証サーバに、前記データベースに記憶された第1の特徴ベクトルであって、前記第3の特徴ベクトルとの間の類似度が所定の閾値よりも高い第1の特徴ベクトルを抽出し、前記抽出された第1の特徴ベクトルに対応する前記顧客IDからなるリストを顔認証候補として生成することを要求し、前記顧客を検出するタイミングと異なるタイミングにおいて、商品を購入しようとする顧客の顔画像から第4の特徴ベクトルを生成し、前記顔認証サーバに対して、前記第4の特徴ベクトルと、前記顔認証候補に含まれる顧客IDに対応する前記第2の特徴ベクトルと、に基づき、前記商品を購入しようとする顧客の顔認証を行うように要求する、自動販売機が提供される。 According to a second aspect of the present invention and the disclosure, a database that stores a customer ID (Identifier) and first and second feature vectors generated from a face image of a person corresponding to the customer ID in association with each other. Is connected to a face authentication server that performs face authentication of a requested person and performs payment related to product purchase, and requests face authentication to the face authentication server. A device that requests the settlement server to settle a product purchased by a customer who has succeeded in authentication, and in response to detecting a customer present in the vicinity of the device, the first image is detected from the face image of the customer. Generating a third feature vector corresponding to the feature vector, transmitting the third feature vector to the face authentication server, and causing the face authentication server to store the first feature vector stored in the database. A list of the customer IDs corresponding to the extracted first feature vector, the first feature vector having a similarity with the third feature vector higher than a predetermined threshold is extracted. Is generated as a face authentication candidate, and a fourth feature vector is generated from a face image of a customer who wants to purchase a product at a timing different from the timing of detecting the customer, and , Requesting face authentication of a customer who intends to purchase the product, based on the fourth feature vector and the second feature vector corresponding to the customer ID included in the face authentication candidate, A vending machine is provided.

本発明乃至開示の第3の視点によれば、顧客ID(Identifier)と、前記顧客IDに対応する人物の顔画像から生成された第1、第2の特徴ベクトルと、を関連付けて記憶するデータベースにアクセスし、要求された人物の顔認証を行う、サーバであって、前記データベースに記憶された第1の特徴ベクトルであって、自動販売機により生成された第3の特徴ベクトルとの間の類似度が所定の閾値よりも高い第1の特徴ベクトルを抽出し、前記抽出された第1の特徴ベクトルに対応する前記顧客IDからなるリストを顔認証候補として生成し、前記自動販売機が商品を購入しようとする顧客の顔画像から生成した第4の特徴ベクトルと、前記顔認証候補に含まれる顧客IDに対応する前記第2の特徴ベクトルと、に基づき、前記商品を購入しようとする顧客の顔認証を行う、顔認証サーバが提供される。 According to a third aspect of the present invention or the disclosure, a database that stores a customer ID (Identifier) and first and second feature vectors generated from a face image of a person corresponding to the customer ID in association with each other. Between the first feature vector stored in the database and the third feature vector generated by the vending machine, the server performing the face authentication of the requested person. A first feature vector whose degree of similarity is higher than a predetermined threshold value is extracted, a list including the customer ID corresponding to the extracted first feature vector is generated as a face authentication candidate, and the vending machine sells the product. A customer who intends to purchase the product based on a fourth feature vector generated from the face image of the customer who wants to purchase the product and the second feature vector corresponding to the customer ID included in the face authentication candidate. A face authentication server for performing face authentication is provided.

本発明乃至開示の第4の視点によれば、顧客ID(Identifier)と、前記顧客IDに対応する人物の顔画像から生成された第1、第2の特徴ベクトルと、を関連付けて記憶するデータベースにアクセスし、要求された人物の顔認証を行う、顔認証サーバと、商品購入に関する決済を行う、決済サーバと、前記顔認証サーバに顔認証を要求し、前記顔認証サーバによる認証が成功した顧客が購入する商品の決済を前記決済サーバに要求する、自動販売機と、を含む自動販売機決済システムにおいて、自装置周辺に存在する顧客を検出するのに応じて、検出した前記顧客の顔画像から前記第1の特徴ベクトルに対応する第3の特徴ベクトルを生成するステップと、前記データベースに記憶された第1の特徴ベクトルであって、前記第3の特徴ベクトルとの間の類似度が所定の閾値よりも高い第1の特徴ベクトルを抽出し、前記抽出された第1の特徴ベクトルに対応する前記顧客IDからなるリストを顔認証候補として生成するステップと、前記顧客を検出するタイミングと異なるタイミングにおいて、商品を購入しようとする顧客の顔画像から第4の特徴ベクトルを生成するステップと、前記第4の特徴ベクトルと、前記顔認証候補に含まれる顧客IDに対応する前記第2の特徴ベクトルと、に基づき、前記商品を購入しようとする顧客の顔認証を行うステップと、を含む、自動販売機決済方法が提供される。 According to a fourth aspect of the present invention or the disclosure, a database that stores a customer ID (Identifier) and first and second feature vectors generated from a face image of a person corresponding to the customer ID in association with each other. Access to and perform face authentication of the requested person, perform face authentication server and payment related to product purchase, request payment of face authentication from the payment server and the face authentication server, and authentication by the face authentication server is successful. In a vending machine settlement system including an vending machine that requests the settlement server to settle a product purchased by the customer, the face of the detected customer is detected in response to detecting a customer existing in the vicinity of the own device. Generating a third feature vector corresponding to the first feature vector from an image, and calculating the similarity between the first feature vector stored in the database and the third feature vector. Extracting a first feature vector higher than a predetermined threshold value, generating a list of the customer IDs corresponding to the extracted first feature vector as a face authentication candidate, and detecting the customer. Generating a fourth feature vector from a face image of a customer who intends to purchase a product at different timings, the fourth feature vector, and the second feature vector corresponding to the customer ID included in the face authentication candidate. And a step of performing face authentication of a customer who intends to purchase the product based on the feature vector.

本発明乃至開示の第5の視点によれば、顧客ID(Identifier)と、前記顧客IDに対応する人物の顔画像から生成された第1、第2の特徴ベクトルと、を関連付けて記憶するデータベースにアクセスし、要求された人物の顔認証を行う、顔認証サーバと、商品購入に関する決済を行う、決済サーバと、に接続され、前記顔認証サーバに顔認証を要求し、前記顔認証サーバによる認証が成功した顧客が購入する商品の決済を前記決済サーバに要求する、自動販売機に搭載されたコンピュータに、自装置周辺に存在する顧客を検出するのに応じて、検出した前記顧客の顔画像から前記第1の特徴ベクトルに対応する第3の特徴ベクトルを生成する処理と、前記顔認証サーバに対して前記第3の特徴ベクトルを送信すると共に、前記顔認証サーバに、前記データベースに記憶された第1の特徴ベクトルであって、前記第3の特徴ベクトルとの間の類似度が所定の閾値よりも高い第1の特徴ベクトルを抽出し、前記抽出された第1の特徴ベクトルに対応する前記顧客IDからなるリストを顔認証候補として生成することを要求する処理と、前記顧客を検出するタイミングと異なるタイミングにおいて、商品を購入しようとする顧客の顔画像から第4の特徴ベクトルを生成する処理と、前記顔認証サーバに対して、前記第4の特徴ベクトルと、前記顔認証候補に含まれる顧客IDに対応する前記第2の特徴ベクトルと、に基づき、前記商品を購入しようとする顧客の顔認証を行うように要求する処理と、を実行させるプログラムが提供される。
なお、このプログラムは、コンピュータが読み取り可能な記憶媒体に記録することができる。記憶媒体は、半導体メモリ、ハードディスク、磁気記録媒体、光記録媒体等の非トランジェント(non-transient)なものとすることができる。本発明は、コンピュータプログラム製品として具現することも可能である。
According to a fifth aspect of the present invention or disclosure, a database that stores a customer ID (Identifier) and first and second feature vectors generated from a face image of a person corresponding to the customer ID in association with each other. Is connected to a face authentication server that performs face authentication of a requested person and performs payment related to product purchase, and requests face authentication to the face authentication server. The face of the detected customer is detected by the computer mounted in the vending machine, which requests the settlement server to settle the product purchased by the customer who has succeeded in authentication, in response to the detection of the customer around the device. A process of generating a third feature vector corresponding to the first feature vector from an image, transmitting the third feature vector to the face authentication server, and storing the third feature vector in the database in the face authentication server. Of the extracted first feature vector, the first feature vector having a similarity between the third feature vector and the third feature vector higher than a predetermined threshold value, and corresponding to the extracted first feature vector. And a process of requesting to generate a list of the customer IDs as face authentication candidates, and a fourth feature vector is generated from a face image of a customer who wants to purchase a product at a timing different from the timing of detecting the customer. And the second feature vector corresponding to the customer ID included in the face authentication candidate, with respect to the face authentication server, based on the processing A process for requesting to perform face recognition of a customer and a program for executing the process are provided.
Note that this program can be recorded in a computer-readable storage medium. The storage medium may be a non-transient one such as a semiconductor memory, a hard disk, a magnetic recording medium, an optical recording medium, or the like. The present invention can also be embodied as a computer program product.

本発明乃至開示の各視点によれば、顔認証による迅速な決済を可能とすることに寄与する、自動販売機決済システム、自動販売機、顔認証サーバ、自動販売機決済方法及びプログラムが、提供される。 According to the respective aspects of the present invention and the disclosure, there are provided an automatic vending machine payment system, an automatic vending machine, a face authentication server, an automatic vending machine payment method and a program, which contribute to enabling quick payment by face authentication. To be done.

一実施形態の概要を説明するための図である。It is a figure for explaining the outline of one embodiment. 第1の実施形態に係る自動販売機決済システムの一例を示す図である。It is a figure which shows an example of the vending machine payment system which concerns on 1st Embodiment. 第1の実施形態に係る自動販売機決済システムの動作の一例を示すシーケンス図である。It is a sequence diagram which shows an example of operation|movement of the vending machine payment system which concerns on 1st Embodiment. 第1の実施形態に係る自動販売機の概略の一例を示す図である。It is a figure which shows an example of the outline of the vending machine which concerns on 1st Embodiment. 第1の実施形態に係る自動販売機のハードウェア構成の一例を示す図である。It is a figure which shows an example of the hardware constitutions of the vending machine which concerns on 1st Embodiment. 第1の実施形態に係る自動販売機の処理構成の一例を示す図である。It is a figure which shows an example of a process structure of the vending machine which concerns on 1st Embodiment. 顔画像抽出部の動作を説明するための図である。It is a figure for demonstrating operation|movement of a face image extraction part. 顔画像抽出部の動作を説明するための図である。It is a figure for demonstrating operation|movement of a face image extraction part. 特徴ベクトル生成部の動作を説明するための図である。It is a figure for explaining operation of a feature vector generation part. 特徴ベクトル生成部の動作を説明するための図である。It is a figure for explaining operation of a feature vector generation part. 第1の実施形態に係る顔認証サーバのハードウェア構成の一例を示す図である。It is a figure which shows an example of the hardware constitutions of the face authentication server which concerns on 1st Embodiment. 第1の実施形態に係る顔認証サーバの処理構成の一例を示す図である。It is a figure which shows an example of a process structure of the face authentication server which concerns on 1st Embodiment. 第1の実施形態に係る顔認証サーバの内部データベースに格納される情報の一例を示す図である。It is a figure which shows an example of the information stored in the internal database of the face authentication server which concerns on 1st Embodiment. 第1の実施形態に係る自動販売機決済システムの動作の一例を示すシーケンス図である。It is a sequence diagram which shows an example of operation|movement of the vending machine payment system which concerns on 1st Embodiment. 第1の実施形態に係る自動販売機決済システムの動作の一例を示すシーケンス図である。It is a sequence diagram which shows an example of operation|movement of the vending machine payment system which concerns on 1st Embodiment. 第1の実施形態に係る自動販売機決済システムの動作の一例を示すシーケンス図である。It is a sequence diagram which shows an example of operation|movement of the vending machine payment system which concerns on 1st Embodiment. 第1の実施形態に係る自動販売機の動作を説明するための図である。It is a figure for demonstrating operation|movement of the vending machine which concerns on 1st Embodiment. 第1の実施形態に係る自動販売機の動作を説明するための図である。It is a figure for demonstrating operation|movement of the vending machine which concerns on 1st Embodiment. 第1の実施形態に係る自動販売機決済システムの別の動作の一例を示すシーケンス図である。It is a sequence diagram which shows an example of another operation|movement of the vending machine payment system which concerns on 1st Embodiment. 第1の実施形態に係る自動販売機の動作を説明するための図である。It is a figure for demonstrating operation|movement of the vending machine which concerns on 1st Embodiment. 第2の実施形態に係る顔画像抽出部の動作を説明するための図である。It is a figure for demonstrating operation|movement of the face image extraction part which concerns on 2nd Embodiment. 第2の実施形態に係る顔認証サーバの動作を説明するための図である。It is a figure for demonstrating operation|movement of the face authentication server which concerns on 2nd Embodiment. 第3の実施形態に係る決済制御部の動作を説明するための図である。It is a figure for demonstrating operation|movement of the payment control part which concerns on 3rd Embodiment. 自動販売機の別の概略の一例を示す図である。It is a figure showing an example of another outline of a vending machine.

初めに、一実施形態の概要について説明する。なお、この概要に付記した図面参照符号は、理解を助けるための一例として各要素に便宜上付記したものであり、この概要の記載はなんらの限定を意図するものではない。また、各図におけるブロック間の接続線は、双方向及び単方向の双方を含む。一方向矢印については、主たる信号(データ)の流れを模式的に示すものであり、双方向性を排除するものではない。さらに、本願開示に示す回路図、ブロック図、内部構成図、接続図などにおいて、明示は省略するが、入力ポート及び出力ポートが各接続線の入力端及び出力端のそれぞれに存在する。入出力インターフェイスも同様である。 First, an outline of one embodiment will be described. Note that the reference numerals attached to the outline are added to the respective elements for convenience as an example for facilitating understanding, and the description of the outline is not intended to limit the invention. The connecting lines between blocks in each figure include both bidirectional and unidirectional. The unidirectional arrows schematically show the flow of main signals (data), and do not exclude bidirectionality. Further, although not explicitly shown in the circuit diagram, block diagram, internal configuration diagram, connection diagram, etc. disclosed in the present disclosure, an input port and an output port exist at each of the input end and the output end of each connection line. The same applies to the input/output interface.

一実施形態に係る自動販売機決済システムは、顔認証サーバ101と、決済サーバ102と、自動販売機103と、を含む(図1参照)。顔認証サーバ101は、 顧客ID(Identifier)と、顧客IDに対応する人物の顔画像から生成された第1、第2の特徴ベクトルと、を関連付けて記憶するデータベースにアクセスし、要求された人物の顔認証を行う。決済サーバ102は、商品購入に関する決済を行う。自動販売機103は、顔認証サーバ101に顔認証を要求し、顔認証サーバ101による認証が成功した顧客が購入する商品の決済を決済サーバ102に要求する。自動販売機103は、自装置周辺に存在する顧客を検出するのに応じて、検出した顧客の顔画像から第1の特徴ベクトルに対応する第3の特徴ベクトルを生成する。顔認証サーバ101は、データベースに記憶された第1の特徴ベクトルであって、第3の特徴ベクトルとの間の類似度が所定の閾値よりも高い第1の特徴ベクトルを抽出する。さらに、顔認証サーバ101は、抽出された第1の特徴ベクトルに対応する顧客IDからなるリストを顔認証候補として生成する。自動販売機103は、前記顧客を検出するタイミングと異なるタイミングにおいて、商品を購入しようとする顧客の顔画像から第4の特徴ベクトルを生成する。顔認証サーバ101は、第4の特徴ベクトルと、顔認証候補に含まれる顧客IDに対応する第2の特徴ベクトルと、に基づき、商品を購入しようとする顧客の顔認証を行う。 The vending machine payment system according to one embodiment includes a face authentication server 101, a payment server 102, and a vending machine 103 (see FIG. 1 ). The face authentication server 101 accesses the database that stores the customer ID (Identifier) and the first and second feature vectors generated from the face image of the person corresponding to the customer ID in association with each other, and requests the requested person. Face recognition. The payment server 102 makes payment related to product purchase. The vending machine 103 requests the face authentication server 101 for face authentication, and requests the payment server 102 to settle a product purchased by a customer whose authentication by the face authentication server 101 has succeeded. The vending machine 103 generates a third feature vector corresponding to the first feature vector from the detected face image of the customer in response to detecting the customer existing around the device. The face authentication server 101 extracts a first feature vector stored in the database and having a degree of similarity with the third feature vector higher than a predetermined threshold value. Further, the face authentication server 101 generates a list of customer IDs corresponding to the extracted first feature vector as a face authentication candidate. The vending machine 103 generates the fourth feature vector from the face image of the customer who wants to purchase the product at a timing different from the timing of detecting the customer. The face authentication server 101 performs face authentication of a customer who intends to purchase a product based on the fourth feature vector and the second feature vector corresponding to the customer ID included in the face authentication candidates.

自動販売機103は、自装置前の顧客を認識すると、当該認識した顧客の顔画像から第3の特徴ベクトル(後述する概略特徴ベクトル)を生成する。顔認証サーバ101は、自動販売機103から送信されてくる第3の特徴ベクトルを利用し、データベースに格納された膨大な顧客のなかから、自動販売機103の面前に存在する顧客と類似する特徴を持つ顧客を予め絞り込む。当該絞込には、顧客の顔画像から生成された第3の特徴ベクトルに対応する第1の特徴ベクトル(後述する絞込特徴ベクトル)が用いられる。その後、自動販売機103は、商品の購入意志を持つ顧客の顔画像から第4の特徴ベクトル(後述する詳細特徴ベクトル)を生成する。顔認証サーバ101は、先に生成した顔認証候補に含まれる顧客を認証対象として扱う。顔認証サーバ101は、顔認証候補に含まれる顧客の顔を詳細に特徴付ける第2の特徴ベクトル(後述する認証特徴ベクトル)と、自動販売機103から取得した第4の特徴ベクトルと、を用いて顔認証を実行する。 When the vending machine 103 recognizes the customer in front of its own device, the vending machine 103 generates a third feature vector (a general feature vector described later) from the face image of the recognized customer. The face authentication server 101 uses the third feature vector transmitted from the vending machine 103, and features similar to the customers existing in front of the vending machine 103 among the huge number of customers stored in the database. Customers in advance. For the narrowing down, a first feature vector (narrowing down feature vector described later) corresponding to the third feature vector generated from the face image of the customer is used. After that, the vending machine 103 generates a fourth feature vector (detailed feature vector described later) from the face image of the customer who intends to purchase the product. The face authentication server 101 treats a customer included in the face authentication candidates generated previously as an authentication target. The face authentication server 101 uses a second feature vector (authentication feature vector described later) that characterizes the face of the customer included in the face authentication candidates in detail, and a fourth feature vector acquired from the vending machine 103. Perform face recognition.

このように、図1に示す自動販売機決済システムでは、自動販売機103が顧客(将来の顧客)を認識すると、当該顧客の顔を特徴付ける特徴ベクトルを顔認証サーバ101に送信し、今後、顔認証が生じるであろう顧客を予め絞り込んでおく。その後、自動販売機103は、実際に顧客が商品を購入する意思を示すと、当該顧客の顔をより詳細に特徴付ける特徴ベクトルを顔認証サーバ101に送信して顔認証の実行を依頼する。顔認証サーバ101では、予め絞り込まれた顧客のなかから商品を購入しようとする顧客を特定(認証)すればよいため、顔認証による迅速な決済が実現できる。 As described above, in the vending machine payment system shown in FIG. 1, when the vending machine 103 recognizes a customer (future customer), the feature vector characterizing the face of the customer is transmitted to the face authentication server 101, and the face authentication server 101 Target customers who will be authenticated in advance. After that, when the customer actually indicates the intention to purchase the product, the vending machine 103 transmits a feature vector characterizing the face of the customer in more detail to the face authentication server 101 to request execution of face authentication. Since the face authentication server 101 only needs to identify (authenticate) a customer who intends to purchase a product from among customers who have been narrowed down in advance, quick settlement by face authentication can be realized.

以下に具体的な実施の形態について、図面を参照してさらに詳しく説明する。なお、各実施形態において同一構成要素には同一の符号を付し、その説明を省略する。 Hereinafter, specific embodiments will be described in more detail with reference to the drawings. In addition, in each embodiment, the same components are denoted by the same reference numerals, and the description thereof will be omitted.

[第1の実施形態]
第1の実施形態について、図面を用いてより詳細に説明する。
[First Embodiment]
The first embodiment will be described in more detail with reference to the drawings.

図2は、第1の実施形態に係る自動販売機決済システムの一例を示す図である。図2を参照すると、自動販売機決済システムは、自動販売機10−1〜10−N(Nは正の整数、以下同じ)と、顔認証サーバ20と、決済サーバ30と、を含んで構成される。 FIG. 2 is a diagram illustrating an example of the vending machine payment system according to the first embodiment. Referring to FIG. 2, the vending machine payment system includes vending machines 10-1 to 10-N (N is a positive integer, the same applies hereinafter), a face authentication server 20, and a payment server 30. To be done.

なお、以降の説明において、自動販売機10−1〜10−Nを区別する特段の理由がない場合には、単に「自動販売機10」と表記する。 In the following description, if there is no special reason for distinguishing the vending machines 10-1 to 10-N, they are simply referred to as "vending machine 10".

自動販売機10は、飲料等の商品を無人で販売する装置である。自動販売機10は、現金及びICカードを用いた既存の決済手段に加え、顔認証等による決済に対応している。 The vending machine 10 is a device for selling products such as beverages unattended. The vending machine 10 supports payment by face authentication or the like in addition to existing payment means using cash and an IC card.

顔認証サーバ20は、自動販売機10にて商品を購入しようとする顧客の認証を行う装置である。顔認証サーバ20は、システムに含まれる複数の自動販売機10からの顔認証の要求を処理する。顔認証サーバ20は、予め登録された顧客を識別する識別子(ID;IDentifier)と顧客の顔画像から抽出された特徴量(特徴ベクトル)を対応付けて記憶している。なお、顔認証サーバ20に登録される特徴ベクトルには2種類存在するが、各特徴ベクトルの詳細は後述する。 The face authentication server 20 is a device that authenticates a customer who wants to purchase a product at the vending machine 10. The face authentication server 20 processes requests for face authentication from a plurality of vending machines 10 included in the system. The face authentication server 20 stores a previously registered identifier (ID; IDentifier) for identifying a customer and a feature amount (feature vector) extracted from the face image of the customer in association with each other. There are two types of feature vectors registered in the face authentication server 20, and details of each feature vector will be described later.

決済サーバ30は、顧客による商品購入に関する決済を行う装置である。より具体的には、決済サーバ30は、顔認証にて正当性が確認された顧客の商品購入に関する決済処理を行う。決済サーバ30は、予め登録された顧客の識別子(ID)と決済に用いる情報(例えば、クレジットカードに関する情報)を対応付けて記憶している。 The payment server 30 is a device that performs payment related to product purchases by customers. More specifically, the payment server 30 performs a payment process related to the purchase of the product of the customer whose validity is confirmed by the face authentication. The payment server 30 stores a customer identifier (ID) registered in advance and information used for payment (for example, information about a credit card) in association with each other.

なお、図2に示す自動販売機決済システムを利用する顧客は、自分の顔画像を自動販売機10の運営会社等に送信し、当該顔画像から抽出された特徴ベクトルを顔認証サーバ20に予め登録しておく必要がある。同様に、顧客は、決済に使用するカード情報を上記運営会社等に連絡し、当該カード情報を決済サーバ30に予め登録しておく必要ある。また、特に制限されないが、顔認証サーバ20と決済サーバ30に登録する顧客IDは共通とすることが望ましい。2つのサーバで同じ顧客IDを用いることで、顧客IDの相互変換等が不要となるためである。 Note that a customer who uses the vending machine payment system shown in FIG. 2 transmits his or her face image to the operating company of the vending machine 10 or the like, and sends the feature vector extracted from the face image to the face authentication server 20 in advance. You need to register. Similarly, the customer needs to contact the operating company or the like with the card information used for the payment and register the card information in the payment server 30 in advance. Further, although not particularly limited, it is desirable that the customer IDs registered in the face authentication server 20 and the settlement server 30 are common. This is because by using the same customer ID in the two servers, mutual conversion of customer IDs is unnecessary.

これらの情報登録には、運営会社のホームページを利用した登録、スマートフォン等の端末を利用した登録、必要情報を記入した書類を送付することによる登録等種々の形態があり得る。また、これらの登録処理は、当業者にとって明らかであり、その詳細な説明を省略する。 Such information registration can take various forms such as registration using the website of the operating company, registration using a terminal such as a smartphone, and registration by sending a document in which necessary information is entered. Further, these registration processes are obvious to those skilled in the art, and detailed description thereof will be omitted.

なお、顔認証サーバ20に登録する特徴ベクトルは、自動販売機10から送信される情報(特徴ベクトル)と整合をとる必要がある。この点に関する説明は後述する。 The feature vector registered in the face authentication server 20 needs to match the information (feature vector) transmitted from the vending machine 10. A description of this point will be given later.

図2に示す構成は例示であって、システムの構成を限定する趣旨ではない。例えば、自動販売機決済システムには、顔認証に対応していない自動販売機が含まれていてもよい。あるいは、顔認証サーバ20と決済サーバ30の機能を有する1台のサーバ装置を用意してもよい。あるいは、顔認証サーバ20等が利用するデータベースを管理するデータベースサーバ等がシステムに含まれていてもよい。 The configuration shown in FIG. 2 is an example, and is not intended to limit the configuration of the system. For example, the vending machine settlement system may include a vending machine that does not support face authentication. Alternatively, one server device having the functions of the face authentication server 20 and the payment server 30 may be prepared. Alternatively, the system may include a database server or the like that manages a database used by the face authentication server 20 or the like.

[システムの概略動作]
続いて、図3を参照しつつ、第1の実施形態に係る自動販売機決済システムの概略動作を説明する。
[General operation of the system]
Subsequently, a schematic operation of the vending machine payment system according to the first embodiment will be described with reference to FIG.

図3は、第1の実施形態に係る自動販売機決済システムの動作の一例を示すシーケンス図である。なお、図3に示すシーケンス図は、顧客が商品購入時の決済手段として顔認証を選択する場合の動作を示す。現金による決済等を含む動作の詳細は後述する。 FIG. 3 is a sequence diagram showing an example of the operation of the vending machine payment system according to the first embodiment. The sequence diagram shown in FIG. 3 shows the operation when the customer selects the face authentication as the settlement means when purchasing the product. Details of operations including payment by cash will be described later.

自動販売機10は、自装置の周辺に「人」が現れると当該人物を検出する(ステップS01)。 The vending machine 10 detects a person when a "person" appears around the device (step S01).

「人」を検出すると、自動販売機10は、自装置の動作モードを「選択モード」に設定する。なお、選択モードは、自動販売機10の周辺に存在する人(顧客)が購入する商品を選択している(商品を購入しようとしている)と想定されるモードである。 When the "person" is detected, the vending machine 10 sets the operation mode of its own device to the "selection mode". In addition, the selection mode is a mode in which it is assumed that a person (customer) who exists in the vicinity of the vending machine 10 selects a product to be purchased (is trying to purchase the product).

選択モードに遷移する前の動作モードは「待機モード」である。待機モードは、顧客が自動販売機10の面前に現れるのを待つモードである。 The operation mode before transitioning to the selection mode is the “standby mode”. The standby mode is a mode of waiting for a customer to appear in front of the vending machine 10.

選択モードの自動販売機10は、周辺に存在する人物の顔画像を取得し、当該顔画像から特徴ベクトルを生成する(ステップS02)。 The automatic vending machine 10 in the selection mode acquires face images of persons existing in the vicinity and generates a feature vector from the face images (step S02).

特徴ベクトルの生成が終了すると、自動販売機10は、顔認証サーバ20に対して「絞込要求」を送信する。その際、自動販売機10は、自装置のID、上記生成した特徴ベクトルを絞込要求に含めて顔認証サーバ20に送信する。 When the generation of the feature vector is completed, the vending machine 10 transmits a “narrowing down request” to the face authentication server 20. At that time, the vending machine 10 includes the ID of its own device and the generated feature vector in the narrowing-down request and transmits it to the face authentication server 20.

以下、絞込要求と共に送信する特徴ベクトルを「概略特徴ベクトル」と表記する。概略特徴ベクトルは、顔画像の大まかな特徴を特徴付けるベクトル(複数の特徴量を要素とする集合)であり、顔認証に用いた場合の精度は低いという特性を持つ。 Hereinafter, the feature vector transmitted together with the narrowing-down request will be referred to as a “schematic feature vector”. The general feature vector is a vector (a set having a plurality of feature amounts as an element) that characterizes a rough feature of a face image, and has a characteristic of low accuracy when used for face authentication.

顔認証サーバ20は、絞込要求を受信し、概略特徴ベクトルを取得する。顔認証サーバ20は、取得した概略特徴ベクトルと、内部のデータベース(顧客IDと特徴ベクトルを対応付けるデータベース)に格納された特徴ベクトルと、を用いて「顔認証候補」を生成する(ステップS11)。 The face authentication server 20 receives the narrowing-down request and acquires a rough feature vector. The face authentication server 20 uses the acquired outline feature vector and the feature vector stored in the internal database (database that associates the customer ID with the feature vector) to generate a "face authentication candidate" (step S11).

顔認証候補とは、内部データベースに登録された特徴ベクトルであって、自動販売機10から取得した概略特徴ベクトルとの間の類似度が所定の閾値よりも高い特徴ベクトルに対応する顧客(顧客ID)のリストである。より具体的には、顔認証サーバ20は、内部データベースに登録された多数の顧客の中から、取得した概略特徴ベクトルに類似する(顔が似ている)小数の顧客を抽出し、当該抽出した顧客を「顔認証処理の候補」に設定する。なお、概略特徴ベクトルが有する上記特性(認証精度は低い)から、通常、複数の顧客(特徴ベクトル)が抽出される。 The face authentication candidate is a feature vector registered in the internal database, and a customer (customer ID corresponding to a feature vector whose similarity to the general feature vector acquired from the vending machine 10 is higher than a predetermined threshold value). ) Is a list of. More specifically, the face authentication server 20 extracts a small number of customers who are similar to the acquired general feature vector (similar in face) from the large number of customers registered in the internal database, and extracted the extracted customers. Set the customer as a "candidate for face authentication processing". Note that a plurality of customers (feature vectors) are usually extracted from the above-described characteristics (authentication accuracy is low) of the general feature vector.

顔認証サーバ20の「顔認証候補」に関する生成処理に並行して、自動販売機10は、顧客が商品を選択したか否かを判定する。具体的には、自動販売機10は、顧客による商品選択操作(例えば、商品サンプルに対応付けられたボタンの押下)を検出する(ステップS03)。 The vending machine 10 determines whether or not the customer has selected a product, in parallel with the generation processing regarding the “face authentication candidate” of the face authentication server 20. Specifically, the vending machine 10 detects a product selection operation by a customer (for example, pressing a button associated with a product sample) (step S03).

顧客による商品購入動作を検出すると、自動販売機10は、顧客が決済手段を選択するための表示を行う(決済選択画面を表示;ステップS04)。例えば、自動販売機10は、ICカードによる決済及び顔認証による決済のいずれかを選択するように顧客を促す表示を行う。ここでは、「顔認証」による決済が選択されたものとする。 When the customer purchase operation is detected, the vending machine 10 performs a display for the customer to select a payment method (displays a payment selection screen; step S04). For example, the vending machine 10 displays a message prompting the customer to select either payment using an IC card or face authentication. Here, it is assumed that the payment by “face authentication” is selected.

顔認証による決済が選択されると、自動販売機10は、自装置の動作モードを「認証モード」に設定する。認証モードは、顧客が商品購入を完了させるための顔認証を行うモードである。 When face settlement is selected, the vending machine 10 sets the operation mode of its own device to the “authentication mode”. The authentication mode is a mode in which a customer performs face authentication for completing product purchase.

認証モードの自動販売機10は、商品を選択した顧客の顔画像を取得し、当該顔画像から特徴ベクトルを生成する(ステップS05)。 The vending machine 10 in the authentication mode acquires the face image of the customer who has selected the product and generates a feature vector from the face image (step S05).

特徴ベクトルの生成が終了すると、自動販売機10は、顔認証サーバ20に対して「認証要求」を送信する。その際、自動販売機10は、自装置のID、上記生成した特徴ベクトルを認証要求に含めて顔認証サーバ20に送信する。 When the generation of the feature vector is completed, the vending machine 10 transmits an “authentication request” to the face authentication server 20. At that time, the vending machine 10 includes the ID of its own device and the generated feature vector in the authentication request, and transmits the authentication request to the face authentication server 20.

以下、認証要求と共に送信する特徴ベクトルを「詳細特徴ベクトル」と表記する。詳細特徴ベクトルは、顔画像の詳細な特徴を特徴付けるベクトルであり、顔認証に用いた場合の精度は高いという特性を持つ。 Hereinafter, the feature vector transmitted together with the authentication request will be referred to as “detailed feature vector”. The detailed feature vector is a vector that characterizes detailed features of the face image, and has a characteristic of high accuracy when used for face authentication.

顔認証サーバ20は、認証要求を受信し、詳細特徴ベクトルを取得する。自動販売機10は、先に生成した顔認証候補に含まれる顧客それぞれに対応する特徴ベクトルと、取得した詳細特徴ベクトルと、を用いて、顔認証サーバ20から送信された詳細特徴ベクトルに対応する人物の認証を行う(ステップS12)。 The face authentication server 20 receives the authentication request and acquires the detailed feature vector. The vending machine 10 uses the feature vector corresponding to each customer included in the face authentication candidates generated previously and the acquired detailed feature vector to correspond to the detailed feature vector transmitted from the face authentication server 20. The person is authenticated (step S12).

顔認証サーバ20は、自動販売機10に向けて認証結果を送信する。具体的には、顔認証サーバ20は、自動販売機10から送信された詳細特徴ベクトルに対応する人物(認証対象の人物)が正当な権限を持つ場合(被認証者の証明を受理する場合)、認証結果として「認証成功」を送信する。 The face authentication server 20 transmits the authentication result to the vending machine 10. Specifically, the face authentication server 20 determines that the person corresponding to the detailed feature vector transmitted from the vending machine 10 (person to be authenticated) has the proper authority (when accepting the proof of the person to be authenticated). , "Authentication successful" is transmitted as the authentication result.

対して、顔認証サーバ20は、認証対象の人物が正当な権限を持たない場合(被認証者の証明を棄却する場合)、認証結果として「認証失敗」を送信する。なお、顔認証サーバ20は、少なくとも認証成功に係る認証結果を自動販売機10に送信する際には認証に成功した顧客のIDも合わせて送信する。 On the other hand, the face authentication server 20 transmits “authentication failure” as the authentication result when the person to be authenticated does not have the proper authority (when rejecting the authentication of the person to be authenticated). It should be noted that the face authentication server 20 also transmits the ID of the customer who has succeeded in the authentication at least when transmitting the authentication result related to the successful authentication to the vending machine 10.

顔認証サーバ20から「認証成功」の認証結果を取得した場合、自動販売機10は、顔認証サーバ20により認証された顧客IDを指定しつつ、決済サーバ30に対して当該顧客による商品購入に関する決済処理を要求する(ステップS06)。 When the authentication result of “successful authentication” is acquired from the face authentication server 20, the vending machine 10 specifies the customer ID authenticated by the face authentication server 20 and relates to the purchase of the product by the customer with respect to the payment server 30. A payment process is requested (step S06).

決済サーバ30は、決済情報(顧客ID、決済金額)を取得すると、指定されたIDの顧客に関する決済を実行し、その結果を自動販売機10に通知する(ステップS21)。 When the payment server 30 acquires the payment information (customer ID, payment amount), the payment server 30 executes payment for the customer with the specified ID and notifies the vending machine 10 of the result (step S21).

自動販売機10は、決済サーバ30から「決済は正常終了」に係る通知を受信した場合に、選択された商品を排出する(ステップS07)。その際、自動販売機10は、顔認証による決済は終了したので自装置の動作モードを「待機モード」に設定し、新たな顧客による商品購入に備える。 When the vending machine 10 receives the notification of “successful payment is completed” from the payment server 30, the vending machine 10 discharges the selected product (step S07). At this time, the vending machine 10 sets the operation mode of its own device to the “standby mode” because the settlement by face authentication is completed, and prepares for the purchase of a product by a new customer.

続いて、自動販売機決済システムをなす各装置の詳細について説明する。 Next, details of each device that constitutes the vending machine payment system will be described.

[自動販売機の外観]
図4は、自動販売機10の概略の一例を示す図である。図4に示すように、自動販売機10には、商品サンプル11と商品を選択するための選択ボタン12が含まれる。顧客は、選択ボタン12を押下することで希望する商品の選択を行う。
[Appearance of vending machines]
FIG. 4 is a diagram showing an example of an outline of the vending machine 10. As shown in FIG. 4, the vending machine 10 includes a product sample 11 and a selection button 12 for selecting a product. The customer selects a desired product by pressing the selection button 12.

自動販売機10は、複数種類の決済手段に対応している。具体的には、自動販売機10は、現金、ICカード及び顔認証による決済に対応している。なお、上記決済手段は例示であって、例えば、自動販売機10はICカードによる決済に対応していなくともよい。 The vending machine 10 supports a plurality of types of payment means. Specifically, the vending machine 10 supports payment by cash, an IC card, and face authentication. Note that the payment means is an example, and for example, the vending machine 10 may not support payment using an IC card.

現金による決済を希望する顧客は、希望する商品の代金以上の金額を現金投入口13から投入し、希望する商品が選択可能となった後に選択ボタン12を押下する。 A customer who wishes to make a payment by cash inserts an amount equal to or more than the price of the desired product through the cash slot 13, and presses the selection button 12 after the desired product can be selected.

一方、ICカードや顔認証による決済を希望する顧客は、希望する商品に対応する選択ボタン12を押下した後に、いずれかの手段により決済する。その際、自動販売機10は、ICカードによる支払いを希望するのか、顔認証による支払いを希望するのかを選択するための表示を行い、顧客の選択に応じた決済処理を行う。 On the other hand, a customer who wishes to make a payment using an IC card or face authentication makes a payment by any means after pressing the selection button 12 corresponding to the desired product. At this time, the vending machine 10 displays to select whether the IC card payment or the face authentication payment is desired, and performs the payment process according to the customer's selection.

具体的には、ICカードによる支払いを希望する場合には、顧客は、ICカードリーダ14にICカードを近づけ支払いを完了する。顔認証による支払いを希望する場合には、顧客は、特段の動作を行わず顔認証による決済が完了するのを待てば良い。但し、必要に応じて液晶パネル15(表示手段)に顔画像の取得に関する表示がなされるので、顧客は当該表示される指示に従って顔認証による決済を完了させる。 Specifically, when the customer wishes to pay by IC card, the customer brings the IC card closer to the IC card reader 14 and completes the payment. If the customer desires to pay by face authentication, the customer does not perform any special operation and waits until the settlement by face authentication is completed. However, since the display regarding the acquisition of the face image is displayed on the liquid crystal panel 15 (display means) as necessary, the customer completes the settlement by the face authentication according to the displayed instruction.

現金、ICカード及び顔認証のいずれかによる決済が正常に終了すると、排出口16から商品が排出される。 When the payment by cash, IC card or face authentication is normally completed, the product is discharged from the discharge port 16.

なお、図4には、商品サンプル11を陳列するタイプの自動販売機の外観を図示しているが、商品サンプルと対応する選択ボタンを液晶パネルで表示するタイプの自動販売機でもよいことは勿論である。 Although FIG. 4 shows the appearance of the vending machine of the type displaying the product sample 11, it goes without saying that the vending machine of the type displaying the selection button corresponding to the product sample on the liquid crystal panel may be used. Is.

[自動販売機のハードウェア構成]
図5は、第1の実施形態に係る自動販売機10のハードウェア構成の一例を示す図である。自動販売機10は、図5に例示する構成を備える。例えば、自動販売機10は、内部バスにより相互に接続される、CPU(Central Processing Unit)21、メモリ22、表示モジュール23、カメラモジュール24、アンテナ25に接続された無線通信モジュール26等を備える。
[Hardware configuration of vending machines]
FIG. 5: is a figure which shows an example of the hardware constitutions of the vending machine 10 which concerns on 1st Embodiment. The vending machine 10 has the configuration illustrated in FIG. For example, the vending machine 10 includes a CPU (Central Processing Unit) 21, a memory 22, a display module 23, a camera module 24, a wireless communication module 26 connected to an antenna 25, and the like, which are mutually connected by an internal bus.

なお、図5に示す構成は、自動販売機10のハードウェア構成を限定する趣旨ではない。自動販売機10は、図示しないハードウェアも含む。具体的には、図5には、自動販売機10が有する自動販売機としての機能を実現するためのハードウェア(商品を格納する格納手段、顧客が選択した商品を外部に排出する手段、商品購入代金を処理する手段等)が図示されていない。これらのハードウェアは既存の自動販売機にて用いられている手段を使用することができる。 The configuration shown in FIG. 5 is not intended to limit the hardware configuration of the vending machine 10. The vending machine 10 also includes hardware (not shown). Specifically, FIG. 5 shows hardware for realizing the function of the vending machine 10 as an automatic vending machine (storage means for storing products, means for discharging a product selected by the customer, products The means for processing the purchase price, etc.) are not shown. These hardware can use the means used in the existing vending machine.

自動販売機10は、無線通信モジュール26を介してネットワークにアクセスし、顔認証サーバ20、決済サーバ30と通信を行う。なお、自動販売機10は無線通信に変えて、イーサネット(登録商標)等の有線によりネットワークと接続されていてもよい。 The vending machine 10 accesses the network via the wireless communication module 26 and communicates with the face authentication server 20 and the payment server 30. The vending machine 10 may be connected to a network by wire such as Ethernet (registered trademark) instead of wireless communication.

メモリ22は、RAM(Random Access Memory)、ROM(Read Only Memory)、HDD(Hard Disk Drive)等である。 The memory 22 is a RAM (Random Access Memory), a ROM (Read Only Memory), an HDD (Hard Disk Drive), or the like.

表示モジュール23は、液晶パネル15を含んで構成される。表示モジュール23は、CPU21から表示データを受け取り、当該表示データを用いて液晶パネル15を駆動することで、顧客に情報を提供する。また、表示モジュール23は、タッチパネル等の操作デバイスを含む。当該操作モジュールは、タッチパネル等による顧客の操作を検出し、その結果(例えば、顧客による押下座標)を操作データとしてCPU21に出力する。 The display module 23 is configured to include the liquid crystal panel 15. The display module 23 receives display data from the CPU 21, and drives the liquid crystal panel 15 using the display data to provide information to the customer. The display module 23 also includes an operation device such as a touch panel. The operation module detects the customer's operation on the touch panel or the like, and outputs the result (for example, the customer's pressed coordinate) to the CPU 21 as operation data.

なお、液晶パネル15とタッチパネルを一体として構成することにより、GUI(Graphical User Interface)を構築することができる。第1の実施形態に係る自動販売機10は、液晶パネル15とタッチパネルが一体して構成されているものとして説明を行う。 Note that a GUI (Graphical User Interface) can be constructed by integrally configuring the liquid crystal panel 15 and the touch panel. The vending machine 10 according to the first embodiment will be described assuming that the liquid crystal panel 15 and the touch panel are integrally configured.

カメラモジュール24は、レンズ等の光学系の部品と、受光素子やメモリ等の電子系の部品と、を含んで構成される。カメラモジュール24は、所定の周期にて自動販売機10の周辺を撮影し、撮像データをCPU21に出力するように構成される。あるいは、CPU21がカメラモジュール24に指示を行うことで、定期的に撮像データを取得するようにしてもよい。なお、自動販売機10が有するカメラは、少なくとも商品を購入しようとする顧客の顔を含む正面が撮像できるように設置される。 The camera module 24 is configured to include an optical system component such as a lens and an electronic system component such as a light receiving element and a memory. The camera module 24 is configured to take a picture around the vending machine 10 in a predetermined cycle and output the taken image data to the CPU 21. Alternatively, the CPU 21 may instruct the camera module 24 to periodically acquire the imaging data. The camera of the vending machine 10 is installed so that at least the front surface including the face of the customer who wants to purchase the product can be imaged.

後述する自動販売機10の各処理モジュールは、例えば、メモリ22に格納されたプログラムをCPU21が実行することで実現される。また、そのプログラムは、ネットワークを介してダウンロードするか、あるいは、プログラムを記憶した記憶媒体を用いて、更新することができる。さらに、上記処理モジュールは、半導体チップにより実現されてもよい。即ち、上記処理モジュールが行う機能を何らかのハードウェア、及び/又は、ソフトウェアで実行する手段があればよい。 Each processing module of the vending machine 10 described later is realized by the CPU 21 executing a program stored in the memory 22, for example. In addition, the program can be downloaded via a network or updated using a storage medium storing the program. Further, the processing module may be realized by a semiconductor chip. That is, it is sufficient that there is a means for executing the function performed by the processing module with some hardware and/or software.

[自動販売機の処理構成]
自動販売機10は、顔認証サーバ20に顔認証を要求し、顔認証サーバ20による認証が成功した顧客が購入する商品の決済を決済サーバ30に要求する機能を有する。自動販売機10は、当該機能を実現するため下記の処理モジュールを備える。
[Processing configuration of vending machines]
The vending machine 10 has a function of requesting face authentication from the face authentication server 20 and requesting the payment server 30 to settle a product purchased by a customer who has been successfully authenticated by the face authentication server 20. The vending machine 10 includes the following processing module to realize the function.

図6は、第1の実施形態に係る自動販売機10の処理構成の一例を示す図である。図6を参照すると、自動販売機10は、通信制御部301と、自動販売機制御部302と、決済制御部303と、顔画像抽出部304と、特徴ベクトル生成部305と、記憶部306と、を含んで構成される。 FIG. 6 is a diagram illustrating an example of a processing configuration of the vending machine 10 according to the first embodiment. Referring to FIG. 6, the vending machine 10 includes a communication control unit 301, a vending machine control unit 302, a settlement control unit 303, a face image extraction unit 304, a feature vector generation unit 305, and a storage unit 306. , And are included.

通信制御部301は、他の装置(顔認証サーバ20、決済サーバ30)との間の通信を制御する手段である。 The communication control unit 301 is means for controlling communication with other devices (face authentication server 20, payment server 30).

自動販売機制御部302は、自動販売機としての機能を制御(実現)する手段である。例えば、自動販売機制御部302は、選択ボタン12の制御(ボタンの点灯、消滅)、ICカードによる決済、決済が完了した商品の排出等を実現する。 The vending machine control unit 302 is means for controlling (implementing) the function of the vending machine. For example, the vending machine control unit 302 realizes control of the selection button 12 (lighting or extinguishing of the button), payment by an IC card, discharge of products for which payment is completed, and the like.

決済制御部303は、主に顧客の顔決済に係る自動販売機10の制御を行う手段である。具体的には、決済制御部303は、上述の3つの動作モード(待機モード、選択モード、認証モード)に関する状態遷移を管理する。 The payment control unit 303 is a unit that mainly controls the vending machine 10 relating to face payment of a customer. Specifically, the settlement control unit 303 manages the state transition regarding the above-mentioned three operation modes (standby mode, selection mode, authentication mode).

また、決済制御部303は、表示モジュール23を制御し、上述の決済選択画面等の表示を液晶パネル15に行って顧客にGUIを提供する。 Further, the payment control unit 303 controls the display module 23 to display the above-described payment selection screen and the like on the liquid crystal panel 15 and provide the GUI to the customer.

さらに、決済制御部303は、レンズに映る状況を撮像して得られる画像データ(撮像データ)をカメラモジュール24から取得する。決済制御部303は、カメラモジュール24から画像データを取得すると、当該画像データを顔画像抽出部304に引き渡す。 Furthermore, the settlement control unit 303 acquires image data (image pickup data) obtained by picking up an image of the situation reflected on the lens from the camera module 24. When the payment control unit 303 acquires the image data from the camera module 24, the payment control unit 303 delivers the image data to the face image extraction unit 304.

顔画像抽出部304は、取得した画像データから顔画像(人の顔に相当する領域)を抽出する手段である。 The face image extraction unit 304 is a unit that extracts a face image (a region corresponding to a human face) from the acquired image data.

例えば、特開2014−170979号公報(参考文献1)に開示されているように、顔画像抽出部304は、取得した画像データ(顔画像を含むデータ)と、顔画像のテンプレート画像と、を比較する。その後、顔画像抽出部304は、両者の差分が閾値以下であるか否かにより、取得した画像データにおける顔画像の存否を判定する。 For example, as disclosed in Japanese Unexamined Patent Application Publication No. 2014-170979 (reference 1), the face image extraction unit 304 stores the acquired image data (data including the face image) and the template image of the face image. Compare. After that, the face image extraction unit 304 determines whether or not a face image is present in the acquired image data depending on whether or not the difference between the two is less than or equal to a threshold value.

取得した画像データに顔画像が存在する場合に、顔画像抽出部304は、当該顔画像の領域を切り出して顔画像を抽出する。 When a face image exists in the acquired image data, the face image extraction unit 304 cuts out the area of the face image and extracts the face image.

なお、顔画像の抽出には種々の方法が考えられ、上記内容に限定されないのは勿論である。例えば、色情報やエッジの方向や密度を組み合わせたモデルをあらかじめ記憶しておき、入力フレームからモデルに類似した領域が検出された場合に顔画像が存在すると判定し、顔画像を抽出することもできる。 Various methods are conceivable for extracting the face image, and it is needless to say that the method is not limited to the above. For example, a model in which color information, edge directions, and densities are combined is stored in advance, and when a region similar to the model is detected from the input frame, it is determined that a face image exists, and the face image may be extracted. it can.

さらに、顔(頭部)の輪郭は楕円、目や口は矩形形状をしていることを利用して作成したテンプレートを使用し、顔画像を抽出することも可能である。さらにまた、頬や額の部分は輝度が高く、目や口の部分の輝度は低いという輝度分布の特性を利用した顔検出手法や、顔の対称性や肌色領域と位置を利用して顔検出を行う手法等を用いてもよい。 Furthermore, it is also possible to extract a face image using a template created by utilizing the fact that the contour of the face (head) is elliptical and the eyes and mouth are rectangular. Furthermore, a face detection method that uses the characteristics of the brightness distribution that the cheeks and forehead parts have high brightness and the eyes and mouth parts have low brightness, and face detection using the symmetry of the face and the skin color area and position. You may use the method etc. which perform.

あるいは、大量の顔と非顔の学習サンプルから得られた特徴量分布を統計的に学習し、入力画像から得られる特徴量が顔と非顔のどちらの分布に属するかを判定する手法を用いてもよい。即ち、ディープラーニングやサポートベクターマシン等の機械学習に係る技術を顔画像の抽出に用いてもよい。 Alternatively, a method of statistically learning the feature amount distribution obtained from a large number of face and non-face learning samples and determining whether the feature amount obtained from the input image belongs to the face or non-face distribution is used. May be. That is, a technique related to machine learning such as deep learning or support vector machine may be used to extract the face image.

顔画像抽出部304は、自動販売機10の動作モードに応じて顔画像抽出動作を切り替える。 The face image extraction unit 304 switches the face image extraction operation according to the operation mode of the vending machine 10.

動作モードが「待機モード」の場合には、顔画像抽出部304は、取得した画像データからなるべく多くの顔画像を抽出するように動作する。例えば、顔画像抽出部304は、上記参考文献1の技術を適用する際、顔画像の存否に利用する閾値を低く設定し、多くの画像が顔画像として抽出されるようにする。 When the operation mode is the “standby mode”, the face image extraction unit 304 operates so as to extract as many face images as possible from the acquired image data. For example, when applying the technique of Reference 1, the face image extraction unit 304 sets a low threshold value used for presence/absence of a face image so that many images are extracted as face images.

より具体的には、顧客が自動販売機10に対して正対していない場合や、顧客が自動販売機10から離れた距離に位置し顔画像と想定される領域が小さい場合であっても、顔画像抽出部304は、画像データから顔画像の抽出を試みる。 More specifically, even when the customer is not directly facing the vending machine 10, or when the customer is located at a distance from the vending machine 10 and the area assumed to be a face image is small, The face image extraction unit 304 tries to extract a face image from the image data.

例えば、顔画像抽出部304は、図7に示す画像データを取得したとする。この場合、顔画像抽出部304は、図7(a)及び図7(b)の画像データそれぞれから点線に囲まれた領域を顔画像として抽出する。つまり、図7(a)に示すような適切なサイズの顔画像だけではなく、図7(b)に示すような小さいサイズの顔画像も抽出される。 For example, it is assumed that the face image extraction unit 304 has acquired the image data shown in FIG. 7. In this case, the face image extraction unit 304 extracts a region surrounded by a dotted line from each of the image data of FIGS. 7A and 7B as a face image. That is, not only the face image of an appropriate size as shown in FIG. 7A, but also the face image of a small size as shown in FIG. 7B is extracted.

顔画像抽出部304は、顔画像の抽出に成功すると、当該抽出した顔画像を記憶部306に格納すると共に、決済制御部303に対してその旨(顔画像の抽出成功)を通知する。 When the face image extraction unit 304 succeeds in extracting the face image, the face image extraction unit 304 stores the extracted face image in the storage unit 306 and notifies the settlement control unit 303 of the fact (success of face image extraction).

決済制御部303は、「待機モード」時に顔画像抽出部304が少なくとも1つの顔画像を抽出した場合に、自装置前に顧客が存在すると判定し、動作モードを「選択モード」に設定する。このように、自動販売機10は、待機モード中に撮像した画像データに顔画像が含まれる場合に、自装置の周辺に顧客が存在すると判断する。 When the face image extraction unit 304 extracts at least one face image in the “standby mode”, the payment control unit 303 determines that there is a customer in front of the own device and sets the operation mode to the “selection mode”. In this way, the vending machine 10 determines that there is a customer in the vicinity of the own device when the face image is included in the image data captured in the standby mode.

動作モードが「認証モード」の場合には、顔画像抽出部304は、所定の条件を満たす顔画像を抽出するように動作する。例えば、顔画像抽出部304は、商品を購入しようとする顧客の顔画像のサイズが所定の大きさよりも大きい場合に、上記所定の条件をみたすと判断する。より具体的には、顔画像抽出部304は、抽出された顔画像の面積(画像のサイズ)に対して閾値処理を施し、所定の面積以上の顔画像を抽出する。 When the operation mode is the “authentication mode”, the face image extraction unit 304 operates so as to extract a face image that satisfies a predetermined condition. For example, the face image extraction unit 304 determines that the predetermined condition is satisfied when the size of the face image of the customer who wants to purchase the product is larger than the predetermined size. More specifically, the face image extraction unit 304 performs threshold processing on the area (image size) of the extracted face image to extract a face image having a predetermined area or more.

例えば、顔画像抽出部304は、図8に示す2つの画像データを取得したとする。この場合、顔画像抽出部304は、図8(a)に示す顔画像は所定の面積以上であると判定し抽出する。一方、顔画像抽出部304は、図8(b)に示す顔画像は所定の面積よりも小さいと判定し抽出しない。顔画像抽出部304は、所定の条件を満たす顔画像の抽出に成功した場合には、当該抽出した顔画像を記憶部306に格納すると共に、その旨を決済制御部303に通知する。 For example, it is assumed that the face image extraction unit 304 has acquired the two image data shown in FIG. In this case, the face image extraction unit 304 determines that the face image shown in FIG. 8A has a predetermined area or more and extracts it. On the other hand, the face image extraction unit 304 determines that the face image shown in FIG. 8B is smaller than the predetermined area and does not extract it. When the face image extraction unit 304 succeeds in extracting the face image satisfying the predetermined condition, the face image extraction unit 304 stores the extracted face image in the storage unit 306 and notifies the settlement control unit 303 of the fact.

また、顔画像を抽出したが、当該顔画像が所定の条件を満たさない場合には、顔画像抽出部304は、その旨を決済制御部303に通知する。例えば、顔画像抽出部304は、顔画像を抽出したが、その大きさが予め定めた大きさよりも小さい旨を通知する。 When the face image is extracted but the face image does not satisfy the predetermined condition, the face image extraction unit 304 notifies the settlement control unit 303 of that fact. For example, the face image extraction unit 304 notifies that the size of the face image has been extracted but is smaller than the predetermined size.

特徴ベクトル生成部305は、顔画像抽出部304が抽出した顔画像から特徴ベクトルを生成する手段である。特徴ベクトル生成部305は、自動販売機10の動作モードに応じて特徴ベクトル生成処理を切り替える。 The feature vector generation unit 305 is means for generating a feature vector from the face image extracted by the face image extraction unit 304. The feature vector generation unit 305 switches the feature vector generation processing according to the operation mode of the vending machine 10.

より具体的には、動作モードが「選択モード」の場合には、特徴ベクトル生成部305は「概略特徴ベクトル」を生成する。動作モードが「認証モード」の場合には、特徴ベクトル生成部305は「詳細特徴ベクトル」を生成する。 More specifically, when the operation mode is the “selection mode”, the feature vector generation unit 305 generates the “outline feature vector”. When the operation mode is the “authentication mode”, the feature vector generation unit 305 generates the “detailed feature vector”.

なお、特徴ベクトル生成部305は、特徴ベクトルの生成にあたり顔画像の正規化を行う。顔画像抽出部304により抽出された顔画像は、画像データ取得時の環境や条件により、大きさやサイズが不統一である。特徴ベクトル生成部305は、顔画像が所定の大きさとなるように拡大・縮小処理を実行したり、輝度の平均化等を行ったりすることで画像の正規化を行う。 The feature vector generation unit 305 normalizes the face image when generating the feature vector. The face images extracted by the face image extraction unit 304 have inconsistent sizes and sizes depending on the environment and conditions at the time of image data acquisition. The feature vector generation unit 305 normalizes the image by performing enlarging/reducing processing so that the face image has a predetermined size, and averaging the brightness.

正規化後の顔画像には、例えば、図9に示すように、両眼の端点を特徴点とする特徴点A1、A2、口の両端点を特徴点する特徴点A3、A4、鼻頭を特徴点とする特徴点A5が含まれる。特徴ベクトル生成部305は、テンプレートマッチング等の手法を用いて顔画像からこれらの特徴点を抽出し、当該特徴点の座標(X座標、Y座標)を並べることで特徴ベクトルを生成できる。 In the normalized face image, for example, as shown in FIG. 9, feature points A1 and A2 having endpoints of both eyes as feature points, feature points A3 and A4 having endpoints of mouth as feature points, and nose head are featured. A characteristic point A5 that is a point is included. The feature vector generation unit 305 can generate a feature vector by extracting these feature points from the face image using a technique such as template matching and arranging the coordinates (X coordinate, Y coordinate) of the feature points.

その際、特徴ベクトル生成部305は、動作モードに応じて選択する特徴点を切り替える。例えば、特徴点A1〜A5それぞれの座標は、図10のとおりであるとする。 At that time, the feature vector generation unit 305 switches the feature points to be selected according to the operation mode. For example, it is assumed that the coordinates of each of the characteristic points A1 to A5 are as shown in FIG.

動作モードが「選択モード」の場合には、特徴ベクトル生成部305は、両眼の端点(特徴点A1、A2)の位置(X座標、Y座標)を要素とする「概略特徴ベクトル」を生成する。この場合に生成される特徴ベクトルは下記の式(1)で表される4次元のベクトルである。
FV={X1、Y1、X2、Y2} ・・・(1)
When the operation mode is the “selection mode”, the feature vector generation unit 305 generates the “outline feature vector” having the positions (X coordinates, Y coordinates) of the endpoints (feature points A1 and A2) of both eyes as elements. To do. The feature vector generated in this case is a four-dimensional vector represented by the following equation (1).
FV={X1, Y1, X2, Y2} (1)

動作モードが「認証モード」の場合には、特徴ベクトル生成部305は、上記5つの特徴点の位置を要素とする「詳細特徴ベクトル」を生成する。この場合に生成される特徴ベクトルは下記の式(2)で表される10次元のベクトルである。
FV={X1、Y1、X2、Y2、・・・、X5、Y5} ・・・(2)
When the operation mode is the “authentication mode”, the feature vector generation unit 305 generates a “detailed feature vector” having the positions of the above five feature points as elements. The feature vector generated in this case is a 10-dimensional vector represented by the following equation (2).
FV={X1, Y1, X2, Y2,..., X5, Y5} (2)

なお、上記特徴ベクトル生成部305の動作は例示であって、2つの特徴ベクトルの生成は上記内容に限定されないことは勿論である。つまり、特徴ベクトル生成部305が生成する2つの特徴ベクトルは、上述した特徴(概略特徴ベクトルは低精度;詳細特徴ベクトルは高精度)を備えるものであればどのようなものであってもよい。 The operation of the feature vector generation unit 305 is merely an example, and it goes without saying that the generation of the two feature vectors is not limited to the above. That is, the two feature vectors generated by the feature vector generation unit 305 may be any as long as they have the above-described features (the rough feature vector has low accuracy; the detailed feature vector has high accuracy).

ここで、通常、次数が低い特徴ベクトルはその生成は早いが認証に用いた場合の精度が低く、次数が高い特徴ベクトルはその生成に長い時間を要するが認証に用いた場合の精度が高い。当該事実によれば、特徴ベクトル生成部305は、次数の高い特徴ベクトル(詳細特徴ベクトル)と次数の低い特徴ベクトル(詳細特徴ベクトルよりも次数の低い概略特徴ベクトル)の生成を動作モードにより切り替えているとも言える。 Here, a feature vector with a low degree is usually generated quickly but has low accuracy when used for authentication, and a feature vector with a high degree requires a long time to generate but has high accuracy when used for authentication. According to the fact, the feature vector generation unit 305 switches between generation of a high-order feature vector (detailed feature vector) and a low-order feature vector (a general feature vector of lower order than the detailed feature vector) according to the operation mode. It can be said that there is.

特徴ベクトル生成部305は、特徴ベクトルの生成処理が完了すると、当該特徴ベクトルを記憶部306に格納すると共に、特徴ベクトル生成処理が完了した旨を決済制御部303に通知する。決済制御部303は、生成された特徴ベクトルを顔認証サーバ20に向けて送信する。 When the feature vector generation process is completed, the feature vector generation unit 305 stores the feature vector in the storage unit 306 and notifies the settlement control unit 303 that the feature vector generation process is completed. The payment control unit 303 sends the generated feature vector to the face authentication server 20.

次に、顔認証サーバ20について説明する。 Next, the face authentication server 20 will be described.

[顔認証サーバのハードウェア構成]
図11は、第1の実施形態に係る顔認証サーバ20のハードウェア構成の一例を示す図である。顔認証サーバ20は、所謂、コンピュータであり、図11に例示する構成を備える。例えば、顔認証サーバ20は、CPU31、メモリ32に加え、入出力インターフェイス33及び通信手段であるNIC(Network Interface Card)34等を備える。
[Hardware configuration of face authentication server]
FIG. 11 is a diagram illustrating an example of a hardware configuration of the face authentication server 20 according to the first embodiment. The face authentication server 20 is a so-called computer and has the configuration illustrated in FIG. 11. For example, the face authentication server 20 includes a CPU 31, a memory 32, an input/output interface 33, a NIC (Network Interface Card) 34 as a communication unit, and the like.

入出力インターフェイス33は、図示しない入出力装置のインターフェイスとなる手段である。入出力装置には、例えば、表示装置、操作デバイス等が含まれる。表示装置は、例えば、液晶ディスプレイ等である。操作デバイスは、例えば、キーボードやマウス等である。 The input/output interface 33 is a unit that serves as an interface of an input/output device (not shown). The input/output device includes, for example, a display device and an operation device. The display device is, for example, a liquid crystal display or the like. The operation device is, for example, a keyboard or a mouse.

後述する顔認証サーバ20の各処理モジュールは、自動販売機10と同様に、例えば、メモリ32に格納されたプログラムをCPU31が実行することで実現される。 Each processing module of the face authentication server 20, which will be described later, is realized by the CPU 31 executing a program stored in the memory 32, for example, as in the vending machine 10.

[顔認証サーバの処理構成]
顔認証サーバ20は、顧客IDと、顧客IDに対応する人物の顔画像から生成された2つの特徴ベクトルと、を関連付けて記憶するデータベースにアクセスし、要求された人物の顔認証を行う機能を有する。顔認証サーバ20は、当該機能を実現するため下記の処理モジュールを備える。
[Processing configuration of face authentication server]
The face authentication server 20 has a function of performing a face authentication of the requested person by accessing a database that stores the customer ID and two feature vectors generated from the face image of the person corresponding to the customer ID in association with each other. Have. The face authentication server 20 includes the following processing module to realize the function.

図12は、第1の実施形態に係る顔認証サーバ20の処理構成の一例を示す図である。図12を参照すると、顔認証サーバ20は、通信制御部401と、記憶部402と、候補生成部403と、顔認証部404と、を含んで構成される。 FIG. 12 is a diagram illustrating an example of a processing configuration of the face authentication server 20 according to the first embodiment. Referring to FIG. 12, the face authentication server 20 includes a communication control unit 401, a storage unit 402, a candidate generation unit 403, and a face authentication unit 404.

通信制御部401は、他の装置(自動販売機10)との間の通信を制御する手段である。 The communication control unit 401 is means for controlling communication with another device (the vending machine 10).

記憶部402は、顧客IDと特徴ベクトルを関連付けて記憶する。例えば、記憶部402には、図13に示すようなデータベースが構築される。図13に示すように、顔認証サーバ20の内部データベースには、顧客IDと2種類の特徴ベクトル(絞込特徴ベクトル、認証特徴ベクトル)が関連付けられて格納(登録)される。 The storage unit 402 stores the customer ID and the feature vector in association with each other. For example, a database as shown in FIG. 13 is constructed in the storage unit 402. As shown in FIG. 13, a customer ID and two types of feature vectors (narrowing feature vector and authentication feature vector) are stored (registered) in the internal database of the face authentication server 20 in association with each other.

顔認証サーバ20に登録する2種類の特徴ベクトルの算出方法には、自動販売機10が算出する2つの特徴ベクトルと同様の手法を用いる。具体的には、自動販売機10が生成する「概略特徴ベクトル」と同様の方法(例えば、同じ箇所の特徴点)により「絞込特徴ベクトル」が生成され顔認証サーバ20の内部データベースに格納される。同様に、自動販売機10が生成する「詳細特徴ベクトル」と同様の方法により「認証特徴ベクトル」が生成され顔認証サーバ20の内部データベースに格納される。換言するならば、顔認証サーバ20の内部データベースには、自動販売機10が生成する2つの特徴ベクトルそれぞれと比較可能な特徴ベクトルが予め登録される。 As a method of calculating the two types of feature vectors registered in the face authentication server 20, a method similar to the two feature vectors calculated by the vending machine 10 is used. Specifically, the “narrowing feature vector” is generated by the same method as the “outline feature vector” generated by the vending machine 10 (for example, the feature point at the same location) and stored in the internal database of the face authentication server 20. It Similarly, the “authentication feature vector” is generated by the same method as the “detailed feature vector” generated by the vending machine 10 and stored in the internal database of the face authentication server 20. In other words, a feature vector that can be compared with each of the two feature vectors generated by the vending machine 10 is registered in advance in the internal database of the face authentication server 20.

候補生成部403は、上述の「顔認証候補」を生成する手段である。具体的には、候補生成部403は、「絞込要求」を自動販売機10から取得すると、内部データベースに格納された絞込特徴ベクトルそれぞれに関し、自動販売機10から取得した概略特徴ベクトルとの類似度を算出する。 The candidate generation unit 403 is a unit that generates the above-mentioned “face authentication candidate”. Specifically, when the candidate generation unit 403 acquires the “narrowing request” from the vending machine 10, the candidate generating unit 403 relates to each of the narrowing-down feature vectors stored in the internal database with the general characteristic vector acquired from the vending machine 10. Calculate the similarity.

例えば、候補生成部403は、2つの特徴ベクトル間のカイ二乗距離やユークリッド距離等を算出する。算出されたカイ二乗距離やユークリッド距離は、2つの特徴ベクトル(特徴ベクトルにより特徴付けられる2つの顔画像)間の類似度を示す指標となる。なお、2つの特徴ベクトルの類似度を示す指標は上記のユークリッド距離やカイ二乗距離に限定されない。類似度は、2つの特徴ベクトルの相関値(Correlation)等の指標であってもよい。 For example, the candidate generation unit 403 calculates the chi-square distance, Euclidean distance, etc. between the two feature vectors. The calculated chi-square distance or Euclidean distance is an index indicating the degree of similarity between two feature vectors (two face images characterized by the feature vector). The index indicating the degree of similarity between the two feature vectors is not limited to the Euclidean distance or the chi-square distance. The similarity may be an index such as a correlation value (Correlation) of two feature vectors.

候補生成部403は、算出した類似度それぞれに対して閾値処理を実行し、所定の閾値よりも高い絞込特徴ベクトルを抽出する。この抽出された絞込特徴ベクトルに対応する顧客(顧客ID)が顔認証候補を構成するメンバとなる。なお、概略特徴ベクトル及び概略特徴ベクトルと同様の方法により算出された絞込特徴ベクトルは、通常、次数が低いので上記類似度の算出処理に要する時間は短い。 The candidate generation unit 403 executes threshold value processing on each of the calculated similarities, and extracts narrowing-down feature vectors higher than a predetermined threshold value. The customer (customer ID) corresponding to the extracted narrowed-down feature vector becomes a member constituting the face authentication candidate. It should be noted that the rough feature vector and the narrowed-down feature vector calculated by the same method as the rough feature vector usually have a low degree, and thus the time required for the similarity calculation processing is short.

顔認証部404は、自動販売機10から送信される詳細特徴ベクトルを用いて顔認証を実行する手段である。具体的には、顔認証部404は、「認証要求」を自動販売機10から取得すると、先に算出された顔認証候補から得られる認証特徴ベクトルそれぞれに関し、自動販売機10から取得した詳細特徴ベクトルとの類似度を算出する。例えば、顔認証部404は、2つの特徴ベクトル間のカイ二乗距離やユークリッド距離等を算出する。 The face authentication unit 404 is means for performing face authentication using the detailed feature vector transmitted from the vending machine 10. Specifically, when the face authentication unit 404 acquires the “authentication request” from the vending machine 10, the detailed characteristics acquired from the vending machine 10 regarding each of the authentication feature vectors obtained from the face authentication candidates calculated previously. Calculate the similarity with the vector. For example, the face authentication unit 404 calculates the chi-square distance, Euclidean distance, etc. between the two feature vectors.

顔認証部404は、算出した類似度に対して閾値処理を実行し、所定の閾値よりも高い認証特徴ベクトルが存在するか否かを判定する。 The face authentication unit 404 executes threshold value processing on the calculated similarity, and determines whether or not there is an authentication feature vector higher than a predetermined threshold value.

判定の結果、所定の閾値よりも類似度の高い認証特徴ベクトルが存在すれば、顔認証部404は、自動販売機10から取得した詳細特徴ベクトルに対応する顧客を認証する(認証成功に設定する)。 As a result of the determination, if there is an authentication feature vector having a degree of similarity higher than a predetermined threshold value, the face authentication unit 404 authenticates the customer corresponding to the detailed feature vector acquired from the vending machine 10 (sets authentication success). ).

判定の結果、所定の閾値よりも類似度の高い認証特徴ベクトルが存在しなければ、顔認証部404は、自動販売機10から取得した詳細特徴ベクトルに対応する顧客を認証しない(認証失敗に設定する)。認証結果は、通信制御部401を介して自動販売機10に送信される。 If the result of the determination is that there is no authentication feature vector having a degree of similarity higher than a predetermined threshold value, the face authentication unit 404 does not authenticate the customer corresponding to the detailed feature vector acquired from the vending machine 10 (set as authentication failure). To). The authentication result is transmitted to the vending machine 10 via the communication control unit 401.

[決済サーバ]
決済サーバ30は、顔認証サーバ20と同様に情報処理装置(コンピュータ)により構成され、その機能の実現は当業者にとって明らかであるので、決済サーバ30に関する詳細な説明は省略する。
[Payment server]
The payment server 30 is configured by an information processing device (computer) like the face authentication server 20, and since the realization of the function is obvious to those skilled in the art, detailed description of the payment server 30 will be omitted.

[システムの動作]
続いて、図面を参照しつつ、自動販売機決済システムの動作について説明する。
[System operation]
Next, the operation of the vending machine payment system will be described with reference to the drawings.

図14〜図16は、第1の実施形態に係る自動販売機決済システムの動作の一例を示すシーケンス図である。 14 to 16 are sequence diagrams showing an example of the operation of the vending machine payment system according to the first embodiment.

ステップS101において、自動販売機10は、自装置前に顧客が存在するか否かを判定する。具体的には、自動販売機10は、自装置に取り付けられたカメラによる画像データから少なくとも1つの顔画像を抽出できた場合に、自装置前に顧客が存在すると判定する。 In step S101, the vending machine 10 determines whether or not there is a customer in front of itself. Specifically, the vending machine 10 determines that there is a customer in front of the own device when at least one face image can be extracted from the image data by the camera attached to the own device.

顧客が存在しなければ(ステップS101、No分岐)、自動販売機10は上記判定処理を繰り返す。 If there is no customer (step S101, No branch), the vending machine 10 repeats the above determination process.

顧客が存在すれば(ステップS101、Yes分岐)、自動販売機10は、画像データから「概略特徴ベクトル」を生成し、絞込要求と共に顔認証サーバ20に向けて送信する(ステップS102)。つまり、自動販売機10は、自装置周辺に存在する顧客を検出するのに応じて、検出した顧客の顔画像から顔認証サーバ20が保持する絞込特徴ベクトルに対応する概略特徴ベクトルを生成し、送信する。 If there is a customer (step S101, Yes branch), the vending machine 10 generates an "outline feature vector" from the image data, and sends it to the face authentication server 20 together with the narrowing request (step S102). That is, the vending machine 10 generates a rough feature vector corresponding to the narrowing down feature vector held by the face authentication server 20 from the detected customer's face image in response to detecting the customer existing around the device. ,Send.

顔認証サーバ20は、取得した「概略特徴ベクトル」と、内部データベースに格納された複数の「絞込特徴ベクトル」それぞれとの間の類似度を算出する(ステップS201)。 The face authentication server 20 calculates the degree of similarity between the acquired "outline feature vector" and each of the plurality of "narrowed-down feature vectors" stored in the internal database (step S201).

顔認証サーバ20は、算出した類似度に対して閾値処理を実行し、所定の類似度よりも高い「絞込特徴ベクトル」に対応する顧客IDを抽出することで、顔認証候補を生成する(ステップS202)。 The face authentication server 20 performs threshold processing on the calculated similarity and extracts the customer ID corresponding to the “narrowing feature vector” higher than the predetermined similarity to generate face authentication candidates ( Step S202).

このように、顔認証サーバ20は、内部データベースに記憶された絞込特徴ベクトルであって、取得した概略特徴ベクトルとの間の類似度が所定の閾値よりも高い絞込特徴ベクトルを抽出する。その後、顔認証サーバ20は、当該抽出された絞込特徴ベクトルに対応する顧客IDからなるリストを顔認証候補として生成する。 As described above, the face authentication server 20 extracts the narrowing-down feature vector stored in the internal database and having the similarity with the acquired rough feature vector higher than a predetermined threshold value. After that, the face authentication server 20 generates a list of customer IDs corresponding to the extracted narrowed-down feature vector as a face authentication candidate.

自動販売機10は、顧客が現金投入口13に現金を投入したか否かを検出する(ステップS103)。 The vending machine 10 detects whether the customer has inserted cash into the cash slot 13 (step S103).

現金が投入された場合(ステップS103、Yes分岐)、自動販売機10(自動販売機制御部302)は、顧客は現金による決済を希望していると判断し、現金による購入処理を行う(ステップS104)。 When cash is thrown in (step S103, Yes branch), the vending machine 10 (vending machine control unit 302) determines that the customer wants to pay in cash and performs a purchase process in cash (step). S104).

現金が投入されていない場合(ステップS103、No分岐)、自動販売機10は、顧客が商品を選択したか否かを判定する(ステップS105)。 When cash is not input (step S103, No branch), the vending machine 10 determines whether or not the customer has selected the product (step S105).

商品が選択されていなければ(ステップS105、No分岐)、自動販売機10は、ステップS103に戻り、現金投入、商品選択に係る判定処理を繰り返す。 If the product has not been selected (step S105, No branch), the vending machine 10 returns to step S103 and repeats the determination process related to cash insertion and product selection.

商品が選択されていれば(ステップS105、Yes分岐)、自動販売機10は、決済選択画面を液晶パネル15に表示する(ステップS106)。自動販売機10は、例えば、図17に示すような表示を行う。 If the product is selected (step S105, Yes branch), the vending machine 10 displays the payment selection screen on the liquid crystal panel 15 (step S106). The vending machine 10 displays, for example, as shown in FIG.

なお、決済選択画面が表示されているにも関わらず、顧客が現金を現金投入口13に投入することも想定される。このような場合に備え、自動販売機10は、決済選択画面の表示中であっても現金が投入されたか否かを検出する(ステップS107)。 Note that it is also assumed that the customer throws cash into the cash slot 13 even though the settlement selection screen is displayed. In preparation for such a case, the vending machine 10 detects whether cash has been inserted even while the payment selection screen is displayed (step S107).

現金が投入された場合(ステップS107、Yes分岐)、自動販売機10は、ステップS104の現金による購入処理を行う。 When cash is thrown in (step S107, Yes branch), the vending machine 10 performs the cash purchase processing in step S104.

現金が投入されなければ(ステップS107、No分岐)、自動販売機10は、顧客が選択した決済手段による決済処理を行う。 If the cash is not input (step S107, No branch), the vending machine 10 performs the payment process by the payment means selected by the customer.

具体的には、ICカードが選択されれば(ステップS108、Yes分岐)、自動販売機10は、ICカードによる購入処理を行う(ステップS109)。 Specifically, if the IC card is selected (step S108, Yes branch), the vending machine 10 performs the purchase process using the IC card (step S109).

ICカードが選択されなければ(ステップS108、No分岐)、自動販売機10は、顔認証による決済が選択されたか否かを判定する(ステップS110)。 If the IC card is not selected (step S108, No branch), the vending machine 10 determines whether the settlement by face authentication is selected (step S110).

顔認証が選択されれば(ステップS110、Yes分岐)、自動販売機10は、ステップS111以降の処理を実行する。 If the face authentication is selected (Yes at Step S110), the vending machine 10 executes the processing at Step S111 and subsequent steps.

顔認証が選択されなければ(ステップS110、No分岐)、自動販売機10は、ステップS107に戻り、顧客による決済手段選択に関する判定処理を繰り返す。 If the face authentication is not selected (step S110, No branch), the vending machine 10 returns to step S107 and repeats the determination process regarding the payment means selection by the customer.

ステップS111以降の処理は、図15、図16を参照しつつ説明する。 The processing after step S111 will be described with reference to FIGS.

顔決済が選択されると、自動販売機10は、自装置の動作モードを「認証モード」に設定する。 When face settlement is selected, the vending machine 10 sets the operation mode of its own device to the “authentication mode”.

ステップS111において、自動販売機10は、画像データから顧客の顔画像を抽出する。その後、自動販売機10は、抽出した顔画像が所定の条件を満たすか否かを判定する(ステップS112)。具体的には、自動販売機10は、抽出した顔画像の面積が所定値よりも小さい場合などに、上記所定の条件を満たさないと判断する。 In step S111, the vending machine 10 extracts the face image of the customer from the image data. Then, the vending machine 10 determines whether or not the extracted face image satisfies a predetermined condition (step S112). Specifically, the vending machine 10 determines that the predetermined condition is not satisfied when the area of the extracted face image is smaller than a predetermined value.

抽出した顔画像が所定条件を満たさない場合(ステップS112、No分岐)、自動販売機10は、「画像修正画面」を表示する(ステップS113)。画像修正画面とは、顧客を撮像した画像データから抽出した顔画像が上記所定の条件を満たすように、顧客に所定の動作を要望する(督促する)画面である。自動販売機10は、例えば、図18に示すような表示を行う。図18では、顔の大きさの目安となるガイドを表示している。 When the extracted face image does not satisfy the predetermined condition (step S112, No branch), the vending machine 10 displays the “image correction screen” (step S113). The image correction screen is a screen that requests (reminds) the customer to perform a predetermined operation so that the face image extracted from the image data of the image of the customer satisfies the predetermined condition. The vending machine 10 displays, for example, as shown in FIG. In FIG. 18, a guide serving as a guide for the size of the face is displayed.

図18に示すような表示に接した顧客は、立ち位置を変更し、自身の顔と枠がほぼ一致した場合に、OKボタンを押すことになる。このように、図18に示すような画面に接した顧客は、顔認証による決済が一度失敗し、顔画像が再び取得されることを認識する。換言するならば、自動販売機10は、顧客を撮像した画像データから抽出した顔画像が所定の条件を満たさないと判断した場合に、顔認証による決済が失敗したことを表すメッセージと、顔画像の再撮像を知らせるメッセージとを含む画面を表示する。 The customer who comes into contact with the display as shown in FIG. 18 changes the standing position and presses the OK button when the face and the frame of the customer almost match. In this way, the customer who comes into contact with the screen as shown in FIG. 18 recognizes that the settlement by the face authentication has once failed and the face image is acquired again. In other words, when the vending machine 10 determines that the face image extracted from the image data of the image of the customer does not satisfy the predetermined condition, the vending machine 10 displays a message indicating that settlement by face authentication has failed, and a face image. A screen including a message notifying re-imaging of is displayed.

顧客が画像修正画面の内容に従った後(例えば、上記OKボタンが押された後)、自動販売機10は、再び顔画像を抽出する(ステップS111に戻る)。 After the customer follows the contents of the image correction screen (for example, after pressing the OK button), the vending machine 10 extracts the face image again (return to step S111).

抽出した顔画像が所定条件を満たす場合(ステップS112、Yes分岐)、自動販売機10は、「詳細特徴ベクトル」を生成し、認証要求と共に顔認証サーバ20に向けて送信する(ステップS114)。このように、認証モード時の自動販売機10は、商品を購入しようとする顧客の顔画像から、先に顧客を検出するタイミングと異なるタイミングにおいて、詳細特徴ベクトルを生成し、顔認証サーバ20に送信する。 When the extracted face image satisfies the predetermined condition (step S112, Yes branch), the vending machine 10 generates a "detailed feature vector" and sends it to the face authentication server 20 together with the authentication request (step S114). As described above, the vending machine 10 in the authentication mode generates the detailed feature vector from the face image of the customer who wants to purchase the product at a timing different from the timing of first detecting the customer, and causes the face authentication server 20 to generate the detailed feature vector. Send.

顔認証サーバ20は、取得した「詳細特徴ベクトル」と、顔認証候補から特定される複数の「認証特徴ベクトル」それぞれとの間の類似度を算出する(ステップS203)。 The face authentication server 20 calculates the degree of similarity between the acquired "detailed feature vector" and each of the plurality of "authentication feature vectors" specified from the face authentication candidates (step S203).

顔認証サーバ20は、算出した類似度に対して閾値処理を実行し、取得した「詳細特徴ベクトル」に対応する顧客の顔認証を行う(ステップS204)。 The face authentication server 20 performs threshold processing on the calculated similarity and performs face authentication of the customer corresponding to the acquired “detailed feature vector” (step S204).

顔認証サーバ20は、認証結果(認証成功、認証失敗)を自動販売機10に送信する。その際、顔認証サーバ20は、認証に成功した場合には、成功した顧客IDも合わせて自動販売機10に送信する。このように、顔認証サーバ20は、詳細特徴ベクトルと、顔認証候補に含まれる顧客IDに対応する認証特徴ベクトルと、に基づき、商品を購入しようとする顧客の顔認証を行う。 The face authentication server 20 transmits the authentication result (authentication success, authentication failure) to the vending machine 10. At that time, when the face authentication server 20 succeeds in the authentication, the face authentication server 20 also transmits the successful customer ID to the vending machine 10. In this way, the face authentication server 20 performs face authentication of a customer who intends to purchase a product based on the detailed feature vector and the authentication feature vector corresponding to the customer ID included in the face authentication candidates.

自動販売機10は、顔認証サーバ20による認証結果を確認し、顧客の顔認証に成功したか否かを判定する(ステップS115)。 The vending machine 10 confirms the authentication result by the face authentication server 20 and determines whether or not the face authentication of the customer is successful (step S115).

顔認証に成功した場合(ステップS115、Yes分岐)には、自動販売機10は、認証に成功した顧客のIDと決済金額を少なくとも含む決済情報を決済サーバ30に送信する(ステップS116)。 When the face authentication is successful (step S115, Yes branch), the vending machine 10 transmits the payment information including at least the ID of the successfully authenticated customer and the payment amount to the payment server 30 (step S116).

ステップS117以降の動作は、図16を参照して説明する。 The operation after step S117 will be described with reference to FIG.

決済情報を取得すると、決済サーバ30は、当該決済情報に基づいて決済の対象となる顧客を特定し、当該特定した顧客のカード情報等を用いて決済を行う(ステップS301)。その後、決済サーバ30は、決済結果(決済は正常終了、決済不可)を自動販売機10に向けて送信する。 When the payment server 30 acquires the payment information, the payment server 30 identifies the customer who is the object of the payment based on the payment information, and performs the payment using the card information of the identified customer (step S301). After that, the payment server 30 transmits the payment result (payment is normally completed, payment is not possible) to the vending machine 10.

自動販売機10は、決済サーバ30による決済結果を確認し、決済が正常に終了したか否かを判定する(ステップS117)。 The vending machine 10 confirms the settlement result by the settlement server 30 and determines whether the settlement is normally completed (step S117).

決済が正常に終了した場合(ステップS117、Yes分岐)、自動販売機10は、排出口16から選択された商品を排出する(ステップS118)。 When the settlement is normally completed (step S117, Yes branch), the vending machine 10 ejects the selected product from the outlet 16 (step S118).

認証に失敗した場合(ステップS115、No分岐)や決済に失敗した場合(ステップS117、No分岐)には、自動販売機10は、ステップS119のエラー処理を実行する。 When the authentication fails (step S115, No branch) or the payment fails (step S117, No branch), the vending machine 10 executes the error process of step S119.

例えば、自動販売機10は、顔認証による決済が失敗した旨を液晶パネル15に表示し、他の決済手段の選択を顧客に促す。あるいは、自動販売機10は、顔認証による再試行(リトライ)を促す画面を液晶パネル15に表示する。その際、自動販売機10は、図18に示す枠(ガイド)と共に顔画像の撮像を知らせるメッセージを表示する。あるいは、自動販売機10は、図18に示すような画像修正画面に変えて(画像修正画面は表示せずに)、他の決済手段の選択を促すメッセージを含む画面を表示してもよい。 For example, the vending machine 10 displays on the liquid crystal panel 15 that payment by face authentication has failed, and prompts the customer to select another payment method. Alternatively, the vending machine 10 displays on the liquid crystal panel 15 a screen prompting a retry by face recognition. At that time, the vending machine 10 displays a message notifying that the face image is captured together with the frame (guide) shown in FIG. Alternatively, the vending machine 10 may change to the image correction screen as shown in FIG. 18 (without displaying the image correction screen) and display a screen including a message prompting selection of another payment method.

あるいは、自動販売機10は、他の決済手段による決済を促すために、ICカードリーダ14や現金投入口13の周りに配置したLED(Light Emitting Diode)を点灯してもよい。あるいは、自動販売機10は、新商品を紹介するような動画を再生しつつ、顧客の顔画像を撮像し、顔認証を再度実施してもよい。あるいは、自動販売機10は、商品やポイントが得られるゲームを顧客に提供しつつ、顔認証を再実施してもよい。 Alternatively, the vending machine 10 may turn on an LED (Light Emitting Diode) arranged around the IC card reader 14 and the cash slot 13 in order to prompt payment by another payment means. Alternatively, the vending machine 10 may capture a face image of a customer and perform face authentication again while reproducing a moving image that introduces a new product. Alternatively, the vending machine 10 may re-perform face recognition while providing a customer with a game in which products and points can be obtained.

[第1の実施形態の変形例]
上記自動販売機決済システムの構成や動作は例示であって、下記の変形例があり得る。
[Modification of First Embodiment]
The configuration and operation of the vending machine payment system described above are merely examples, and the following modifications are possible.

[変形例1]
例えば、図14等のシーケンス図では、現金決済と、ICカード及び顔認証による決済と、に関する動作を分離している。つまり、現金が投入された場合には、顧客は現金による決済を希望するものと判断され、図17に示す決済選択画面には「現金」による支払いに関する選択肢が表示されていない。しかし、現金、ICカード及び顔認証による決済選択方法を統一することもできる。
[Modification 1]
For example, in the sequence diagram of FIG. 14 and the like, operations relating to cash payment and payment using an IC card and face authentication are separated. In other words, when cash is thrown in, it is determined that the customer desires to make payment in cash, and the payment selection screen shown in FIG. 17 does not display the options for payment in “cash”. However, the payment selection methods based on cash, IC card, and face recognition can be unified.

例えば、図19に示すように、自動販売機10は、自装置前に顧客を検出すると、商品が選択されるか否かを検出し、選択された場合に、現金を選択肢として含む決済選択画面を表示してもよい(ステップS106a)。この場合、自動販売機10は、図20に示すような決済選択画面を表示する。自動販売機10は、現金が選択された場合(ステップS107a)に、現金による購入処理を実行する(ステップS104)。なお、図19において、図14に示す処理と同一の処理については同じ符号を付している。 For example, as shown in FIG. 19, when the vending machine 10 detects a customer in front of itself, the vending machine 10 detects whether or not a product is selected, and if selected, a payment selection screen including cash as an option. May be displayed (step S106a). In this case, the vending machine 10 displays the payment selection screen as shown in FIG. When cash is selected (step S107a), the vending machine 10 executes cash purchase processing (step S104). In FIG. 19, the same processes as those shown in FIG. 14 are designated by the same reference numerals.

[変形例2]
上記実施形態では、特徴ベクトル生成部305は、概略特徴ベクトルの生成と詳細特徴ベクトルの生成に同種の特徴量(例えば、特徴点の座標位置)を用いる場合を説明した。しかし、2つの特徴ベクトルをなす各要素は異なる種類の特徴量であってもよい。より具体的には、詳細特徴ベクトル及び認証特徴ベクトルのそれぞれは、概略特徴ベクトル及び絞込特徴ベクトルそれぞれに含まれる特徴量とは異なる種類の特徴量を要素として含んでもよい。
[Modification 2]
In the above embodiment, the case where the feature vector generation unit 305 uses the same kind of feature amount (for example, the coordinate position of the feature point) for the generation of the rough feature vector and the generation of the detailed feature vector has been described. However, the elements forming the two feature vectors may be different types of feature amounts. More specifically, each of the detailed feature vector and the authentication feature vector may include, as an element, a feature amount of a type different from the feature amount included in each of the general feature vector and the narrowed-down feature vector.

例えば、特開2015−097000号公報(参考文献2)の開示のように、顔画像から特徴点(例えば、目、鼻、口等の中心点や端点)を抽出し、特徴点近傍の濃淡値や特性(周期性、方向性、色分布等)を特徴量として扱い、特徴ベクトルの要素としてもよい。あるいは、特徴点の座標に加え、特徴点の座標から計算できる値(例えば、眉間の長さ)を詳細特徴ベクトル等の要素としてもよい。 For example, as disclosed in Japanese Patent Laid-Open No. 2015-097000 (Reference 2), feature points (for example, center points and end points of eyes, nose, mouth, etc.) are extracted from a face image, and a gray value near the feature points is extracted. Alternatively, the characteristics (periodicity, directionality, color distribution, etc.) may be treated as a feature amount and used as an element of the feature vector. Alternatively, in addition to the coordinates of the feature points, a value that can be calculated from the coordinates of the feature points (for example, the length between the eyebrows) may be used as an element such as the detailed feature vector.

このように、概略特徴ベクトル(絞込特徴ベクトル)と詳細特徴ベクトル(認証特徴ベクトル)に含まれる要素は、異なる種類の特徴量から算出されたものであってもよい。つまり、特徴ベクトル生成部305は、算出に多少の時間を要するが、認証に用いた場合に高い精度が期待できる特徴量を要素とする詳細特徴ベクトルを生成してもよい。このような詳細特徴ベクトルを用いることで、より高い認証精度が実現できる。 As described above, the elements included in the general feature vector (narrowing down feature vector) and the detailed feature vector (authentication feature vector) may be calculated from different types of feature amounts. That is, the feature vector generation unit 305 may generate a detailed feature vector having a feature amount that can be expected to be highly accurate when used for authentication, although the calculation takes some time. Higher authentication accuracy can be realized by using such a detailed feature vector.

あるいは、特徴ベクトル生成部305は、概略特徴ベクトルに上記参考文献2に開示された特徴量等を追加して詳細特徴ベクトルを生成してもよい。つまり、特徴ベクトル生成部305は、概略特徴ベクトルを包含しつつ、概略特徴ベクトルの次数よりも高い次数を有する詳細特徴ベクトルを生成してもよい。 Alternatively, the feature vector generation unit 305 may generate the detailed feature vector by adding the feature amount and the like disclosed in Reference 2 to the general feature vector. That is, the feature vector generation unit 305 may generate a detailed feature vector having a higher order than the order of the rough feature vector while including the rough feature vector.

通常、次数が高い特徴ベクトルはその生成に長い時間を要するが認証に用いた場合の精度が高く、顔画像の特徴を漏れなく表現することができる。そのような詳細特徴ベクトルを用いることで、高い認証精度が得られる。 Normally, a feature vector with a high degree takes a long time to generate, but it has high accuracy when used for authentication, and the features of a face image can be expressed without omission. By using such a detailed feature vector, high authentication accuracy can be obtained.

なお、概略特徴ベクトルを用いた認証では十分な精度が得られない可能性が高い。上述のように、概略特徴ベクトルは、小さい顔画像からも生成される。小さい顔画像には、顔の細部を特徴付ける特徴が含まれていない。また、特徴ベクトル生成部305の正規化処理により小さい顔画像が拡大されても当初から含まれていない特徴が現出するわけでもない。このような理由から、概略特徴ベクトルを用いた顔認証では十分高い精度は期待できない。 In addition, there is a high possibility that sufficient accuracy cannot be obtained by the authentication using the rough feature vector. As described above, the rough feature vector is also generated from a small face image. The small face image contains no features that characterize the details of the face. In addition, even if a smaller face image is enlarged in the normalization process of the feature vector generation unit 305, a feature that is not included from the beginning does not appear. For this reason, face recognition using a rough feature vector cannot be expected to have sufficiently high accuracy.

以上のように、第1の実施形態に係る自動販売機決済システムでは、自動販売機10が自装置前の顧客を認識すると即座に(商品選択前に)、当該認識した顧客の顔画像から概略特徴ベクトルを生成する。顔認証サーバ20は、当該概略特徴ベクトルを利用して、内部データベースに格納された膨大な顧客のなかから、自動販売機10の面前に存在する顧客と類似する特徴を持つ顧客を予め絞り込んでおく。つまり、顔認証サーバ20は、将来、発生するであろう顔認証の候補となる顧客のリストを「顔認証候補」として予め生成しておく。その後、顧客が商品を選択し顔認証による決済を希望した場合には、自動販売機10は、当該顧客の顔画像から詳細特徴ベクトルを生成する。顔認証サーバ20は、予め生成した顔認証候補に含まれる顧客を認証対象として扱い、詳細特徴ベクトルと認証特徴ベクトルを用いた正確な(精度の高い)顔認証を実現する。上記自動販売機決済システムの動作により、顔認証による迅速な決済が可能となる。 As described above, in the vending machine payment system according to the first embodiment, as soon as the vending machine 10 recognizes the customer in front of the self-apparatus (before selecting the product), the outline of the face image of the customer is recognized. Generate a feature vector. Using the general feature vector, the face authentication server 20 narrows down in advance a large number of customers stored in the internal database and having similar characteristics to the customers existing in front of the vending machine 10. .. That is, the face authentication server 20 previously generates a list of customers who are candidates for face authentication that will occur in the future as “face authentication candidates”. After that, when the customer selects a product and desires payment by face authentication, the vending machine 10 generates a detailed feature vector from the face image of the customer. The face authentication server 20 treats a customer included in the face authentication candidates generated in advance as an authentication target, and realizes accurate (high accuracy) face authentication using the detailed feature vector and the authentication feature vector. The operation of the vending machine settlement system described above enables quick settlement by face authentication.

通常、顧客が商品を購入する際には、自動販売機10の面前に位置してから商品を選択するまでの間に多少の時間がある(タイムラグがある)。第1の実施形態に係る自動販売機決済システムでは、このタイムラグを利用し、面前の顧客に似た顔を持つ顧客を予め絞り込んでおく。当該絞込に利用する特徴ベクトル(概略特徴ベクトル、絞込特徴ベクトル)は次数が低いので、類似度生成処理や閾値処理の対象が多数であっても、これらの処理に要する時間は短時間であると言える。一方、実際に決済処理が必要となった場合には、高い認証精度が得られる特徴ベクトル(詳細特徴ベクトル、認証特徴ベクトル)を用いた顔認証が実行される。これら2つの特徴ベクトルは、次数が高く類似度生成処理や閾値処理に要する時間は長くなる。しかし、当該処理の対象となる顧客は顔認証サーバ20の内部データベースに格納された多数の顧客ではなく、既に絞込された顧客であるので、認証結果を得るまでの時間は短時間で済む。このようにして、第1の実施形態に係る自動販売機決済システムは、顔認証を用いた迅速な決済を提供できる。 Generally, when a customer purchases a product, there is some time (a time lag) between being in front of the vending machine 10 and selecting the product. In the vending machine payment system according to the first embodiment, this time lag is used to preliminarily narrow down the customers who have faces similar to the face-to-face customers. Since the feature vectors used for the narrowing down (the rough feature vector and the narrowing down feature vector) have a low degree, the time required for these processes is short even if there are many targets of the similarity generation process or the threshold process. It can be said that there is. On the other hand, when the payment process is actually required, face authentication is performed using a feature vector (detailed feature vector, authentication feature vector) that provides high authentication accuracy. These two feature vectors have a high degree and require a long time for the similarity generation processing and the threshold processing. However, since the customers to be processed are not the many customers stored in the internal database of the face authentication server 20 but the already narrowed-down customers, the time required to obtain the authentication result is short. In this way, the vending machine payment system according to the first embodiment can provide quick payment using face authentication.

また、第1の実施形態に係る自動販売機決済システムでは、顔認証に使用する顔画像を抽出する際に、当該抽出した顔画像が所定の条件を満たすか否かを判定している。つまり、自動販売機10は、所定の条件を満たす品質の良い顔画像を抽出し、当該顔画像から顔認証に用いる詳細特徴ベクトルを生成している。このようにして生成された詳細特徴ベクトルは、商品を購入しようとする顧客の顔に表れている特徴を漏れなく含み、高い認証精度が期待できる。このようにして、第1の実施形態に係る自動販売機決済システムは、精度の高い顔認証による決済を提供することもできる。 Further, in the vending machine payment system according to the first embodiment, when extracting a face image used for face authentication, it is determined whether the extracted face image satisfies a predetermined condition. That is, the vending machine 10 extracts a high-quality face image that satisfies a predetermined condition, and generates a detailed feature vector used for face authentication from the face image. The detailed feature vector generated in this manner includes features that appear on the face of the customer who wants to purchase the product without omission, and high authentication accuracy can be expected. In this way, the vending machine payment system according to the first embodiment can also provide highly accurate payment by face authentication.

[第2の実施形態]
続いて、第2の実施形態について図面を参照して詳細に説明する。
[Second Embodiment]
Next, the second embodiment will be described in detail with reference to the drawings.

第2の実施形態は、顧客が商品を選択してから認証を行うまでの時間をより短くする自動販売機決済システムについて説明する。 The second embodiment will describe an automatic vending machine payment system that shortens the time from when a customer selects a product to when performing authentication.

第1の実施形態では、待機モードにて撮像される顧客は1人であることを前提として説明したが、待機モードでは2以上の人物の顔画像が得られることがある。例えば、自動販売機10が食堂や工場等に設置された場合には、決まった時間(例えば、昼休み等)に自動販売機10の前に行列ができることが想定される。このような状況下にて、待機モードにて取得される画像データから2以上の顔画像が抽出された場合の自動販売機10の動作について説明する。 In the first embodiment, the description has been made on the assumption that there is only one customer who is imaged in the standby mode, but face images of two or more persons may be obtained in the standby mode. For example, when the vending machine 10 is installed in a cafeteria, a factory or the like, it is assumed that a line can be formed in front of the vending machine 10 at a fixed time (for example, lunch break). The operation of the vending machine 10 when two or more face images are extracted from the image data acquired in the standby mode under such a situation will be described.

第2の実施形態に係る顔画像抽出部304は、待機モードにおいて1枚の画像データから複数の顔画像の存在を認めた場合、当該複数の顔画像それぞれを抽出し、記憶部306に格納する。例えば、図21に示すように1枚の画像データに2つの顔画像501、502が含まれる場合には、顔画像抽出部304は、当該2つの顔画像501、502を抽出し、記憶部306に格納する。 When the face image extraction unit 304 according to the second embodiment recognizes the presence of a plurality of face images from one image data in the standby mode, each of the plurality of face images is extracted and stored in the storage unit 306. .. For example, when one image data includes two face images 501 and 502 as shown in FIG. 21, the face image extraction unit 304 extracts the two face images 501 and 502, and the storage unit 306. To store.

続いて、特徴ベクトル生成部305は、抽出された複数の顔画像それぞれについて、「概略特徴ベクトル」を生成する。決済制御部303は、生成された複数の概略特徴ベクトルをまとめて顔認証サーバ20に送信する。 Then, the feature vector generation unit 305 generates a “schematic feature vector” for each of the extracted face images. The payment control unit 303 collectively transmits the generated plurality of schematic feature vectors to the face authentication server 20.

第2の実施形態に係る顔認証サーバ20の候補生成部403は、取得した複数の概略特徴ベクトルそれぞれについて、顔認証候補の生成に係る処理を実行する。 The candidate generation unit 403 of the face authentication server 20 according to the second embodiment executes a process related to generation of face authentication candidates for each of the acquired plurality of general feature vectors.

その後、候補生成部403は、各概略特徴ベクトルから生成した顔認証候補を統合して、後の顔認証に用いる顔認証候補(最終的な顔認証候補)を生成する。例えば、図21の例では、候補生成部403は、顔画像501の概略特徴ベクトルを利用して第1の顔認証候補を生成し、顔画像502の概略特徴ベクトルを利用して第2の顔認証候補を生成する。 After that, the candidate generation unit 403 integrates the face authentication candidates generated from the respective outline feature vectors to generate a face authentication candidate (final face authentication candidate) used for the subsequent face authentication. For example, in the example of FIG. 21, the candidate generation unit 403 generates the first face authentication candidate using the general feature vector of the face image 501, and uses the general feature vector of the face image 502 to generate the second face. Generate authentication candidates.

その後、候補生成部403は、第1及び第2の顔認証候補を統合することで、顔認証候補を生成する。例えば、候補生成部403は、顧客IDを要素とする各顔認証候補の和集合を生成することで、複数の顔認証候補を統合する。 After that, the candidate generation unit 403 generates a face authentication candidate by integrating the first and second face authentication candidates. For example, the candidate generation unit 403 integrates a plurality of face authentication candidates by generating a union of face authentication candidates having the customer ID as an element.

ここで、1枚の画像データに2以上の顔画像が含まれたとしても、最終的に商品を購入するのは1人である。つまり、認証モードにて取得される顔画像は原則として1つであり、対応して生成される詳細特徴ベクトルも1つである。従って、顔認証サーバ20が複数の詳細特徴ベクトルを同時に取得することはなく、顔認証部404は、自動販売機10から1人の顔認証を依頼されることになる。 Here, even if two or more face images are included in one piece of image data, only one person will finally purchase the product. That is, in principle, the number of face images acquired in the authentication mode is one, and the number of detailed feature vectors generated correspondingly is also one. Therefore, the face authentication server 20 does not simultaneously acquire a plurality of detailed feature vectors, and the face authentication unit 404 is requested by the vending machine 10 to perform face authentication for one person.

第2の実施形態に係る顔認証部404は、詳細特徴ベクトルを取得すると、第1の実施形態と同様に、顔認証を行う。即ち、顔認証サーバ20は、複数の顔画像それぞれから生成された概略特徴ベクトルに対応する複数の顔認証候補を生成し、当該生成された複数の顔認証候補を統合して顔認証に用いる顔認証候補を生成する。その後、顔認証サーバ20は、生成された顔認証候補(複数の顔認証候補が統合された顔認証候補)を用いて、顔認証を実行する。 The face authentication unit 404 according to the second embodiment, when acquiring the detailed feature vector, performs face authentication as in the first embodiment. That is, the face authentication server 20 generates a plurality of face authentication candidates corresponding to the outline feature vector generated from each of a plurality of face images, integrates the generated face authentication candidates, and uses the face for face authentication. Generate authentication candidates. After that, the face authentication server 20 executes face authentication using the generated face authentication candidates (face authentication candidates in which a plurality of face authentication candidates are integrated).

例えば、上述の例では、図21に示す顔画像501の人物を認証する場合であっても、顔画像502の人物を認証する場合であっても、第1及び第2の顔認証候補が統合された新たな顔認証候補から得られる認証特徴ベクトルが用いられて顔認証が行われる。その結果、1枚の画像データに写る複数の人物のいずれかが、商品を購入したとしても迅速に認証処理を完了することができる。 For example, in the above example, the first and second face authentication candidates are integrated regardless of whether the person in the face image 501 shown in FIG. 21 is authenticated or the person in the face image 502 is authenticated. Face authentication is performed using the authentication feature vector obtained from the new face authentication candidate. As a result, even if any one of the plurality of persons shown in one image data purchases the product, the authentication process can be completed quickly.

例えば、図21の例において、顔画像501が抽出され、顔画像502が抽出されない(抽出しない)場合を考える。この場合、顔認証サーバ20にて、顔画像501に対応する顔認証候補は生成されるが、顔画像502に対応する顔認証候補は生成されない。このような状況下で、顔画像502に相当する人物が商品を選択したとすると、当該人物の詳細特徴ベクトルが顔認証サーバ20に送信される。しかし、顔画像502に対応する顔認証候補は未だ作成されていないので、顔認証サーバ20は「認証失敗」を自動販売機10に送信する。この場合、自動販売機10のリカバリー処理やエラー処理によって、顔画像502の人物の決済に関する処理が行われるが、決済完了までに多くの時間を要してしまう。 For example, in the example of FIG. 21, consider a case where the face image 501 is extracted and the face image 502 is not extracted (not extracted). In this case, the face authentication server 20 generates face authentication candidates corresponding to the face image 501, but does not generate face authentication candidates corresponding to the face image 502. In such a situation, if the person corresponding to the face image 502 selects the product, the detailed feature vector of the person is transmitted to the face authentication server 20. However, since the face authentication candidate corresponding to the face image 502 has not been created yet, the face authentication server 20 transmits “authentication failure” to the vending machine 10. In this case, although processing related to the person settlement of the face image 502 is performed by the recovery processing and the error processing of the vending machine 10, it takes a lot of time until the settlement is completed.

しかし、第2の実施形態によれば、複数の概略特徴ベクトルから顔認証候補が生成されるため、上記のような問題は生じない。例えば、上記の例では、顔画像502の人物が商品を選択しても、既に生成された顔認証候補には、当該人物と類似する特徴をもつ顧客が予め候補として抽出されているので、顔認証サーバ20は、当該人物を早期に認証できる。 However, according to the second embodiment, the face authentication candidate is generated from the plurality of schematic feature vectors, so that the above problem does not occur. For example, in the above example, even if the person in the face image 502 selects a product, a customer having characteristics similar to the person is already extracted as a candidate in the face authentication candidates already generated. The authentication server 20 can authenticate the person at an early stage.

なお、上記説明では、複数の顔認証候補を統合して新たな顔認証候補を生成する場合を説明したが、複数の顔認証候補を統合せずシステムを運用してもよい。つまり、候補生成部403は、複数の顔画像それぞれから生成された概略特徴ベクトルとの間の類似度が所定の閾値よりも高い絞込特徴ベクトルを抽出し、抽出された絞込特徴ベクトルに対応する顧客IDからなるリストを顔認証候補として複数生成してもよい。顔認証部404は、当該生成された複数の顔認証候補を顔認証に用いることができる。 In the above description, a case has been described in which a plurality of face authentication candidates are integrated to generate a new face authentication candidate, but the system may be operated without integrating a plurality of face authentication candidates. That is, the candidate generation unit 403 extracts a narrowing-down feature vector having a similarity with the rough feature vector generated from each of the plurality of face images that is higher than a predetermined threshold, and corresponds to the extracted narrowing-down feature vector. A plurality of lists of customer IDs to be used may be generated as face authentication candidates. The face authentication unit 404 can use the generated plurality of face authentication candidates for face authentication.

また、顔認証サーバ20は、自動販売機10ごとに、顔認証候補と顔認証候補の生成に使用した概略特徴ベクトルを対応付ける生成済み候補リストを生成してもよい。顔認証サーバ20は、同じ自動販売機10から同じ概略特徴ベクトルを取得した場合には、内部データベースから絞込特徴ベクトルを抽出する処理を行わず、生成済み候補リストの顔認証候補を顔認証に用いることができる。 In addition, the face authentication server 20 may generate a generated candidate list that associates the face authentication candidate with the rough feature vector used to generate the face authentication candidate for each vending machine 10. When the face authentication server 20 acquires the same general feature vector from the same vending machine 10, it does not perform the process of extracting the narrowed feature vector from the internal database, and the face authentication candidate in the generated candidate list is used as the face authentication. Can be used.

顔認証サーバ20は、自動販売機10のIDと取得した概略特徴ベクトルを確認し、同じ自動販売機10から同じ概略特徴ベクトルを取得した場合には、顔認証候補の生成を省略することができる。即ち、第2の実施形態に係る顔認証サーバ20は、顔認証候補の作成に係る処理を早期に終了できる。その結果、例えば、顧客が直ぐに商品を選択し、概略特徴ベクトルと詳細特徴ベクトルの間の送信間隔が短い場合であっても、顔認証候補生成に係る処理がボトルネックとなることを防止できる。 The face authentication server 20 confirms the ID of the vending machine 10 and the acquired general feature vector, and when the same general feature vector is acquired from the same vending machine 10, generation of face authentication candidates can be omitted. .. That is, the face authentication server 20 according to the second embodiment can end the process related to the creation of face authentication candidates at an early stage. As a result, for example, even when the customer immediately selects a product and the transmission interval between the general feature vector and the detailed feature vector is short, it is possible to prevent the face authentication candidate generation process from becoming a bottleneck.

あるいは、顔認証サーバ20は、自動販売機10ごとに、顔認証に成功した絞込特徴ベクトルからなる認証成功リストを生成してもよい。顔認証サーバ20は、顔認証候補に優先して当該認証成功リストを参照して顔認証を行うことができる。 Alternatively, the face authentication server 20 may generate, for each vending machine 10, an authentication success list including narrowed-down feature vectors that have succeeded in face authentication. The face authentication server 20 can perform face authentication by referring to the authentication success list in preference to the face authentication candidates.

ある顧客が自動販売機10にて商品を購入し、顔認証に成功していれば、当該顧客の認証特徴ベクトルは自動販売機10のIDと共に認証成功リストに格納される。そして、同じ顧客が同じ自動販売機10にて商品を購入すれば、当該顧客の詳細特徴ベクトルと過去に認証に成功した認証特徴ベクトルと比較されるので、早期に「認証成功」に係る結果が得られる。即ち、顔認証サーバ20は、認証に成功した詳細特徴ベクトルを自動販売機10ごとにキャッシュする。すると、同じ顧客の詳細特徴ベクトルはキャッシュにヒットすることになるから、無駄な類似度算出が不要となる。 When a customer purchases a product at the vending machine 10 and succeeds in face authentication, the authentication feature vector of the customer is stored in the authentication success list together with the ID of the vending machine 10. If the same customer purchases a product at the same vending machine 10, the detailed feature vector of the customer is compared with the authentication feature vector that has been successfully authenticated in the past, so that the result of “authentication success” is obtained at an early stage. can get. That is, the face authentication server 20 caches the detailed feature vector that has been successfully authenticated for each vending machine 10. Then, since the detailed feature vector of the same customer hits the cache, useless similarity calculation is unnecessary.

なお、認証に成功した詳細特徴ベクトルを数多く保持することは、顔認証候補を算出する意味を没却することになる。そこで、保持する(キャッシュする)詳細特徴ベクトルの数を制限する、あるいは、認証に成功した回数も合わせて対応付けて管理し、成功した回数の高い詳細特徴ベクトルを保持する等の対応が有効である。例えば、顔認証サーバ20は、認証成功リストにおいて顔認証に成功した回数を認証特徴ベクトルに対応付けて管理し、顔認証に成功した回数が所定の値よりも小さい認証特徴ベクトルを認証成功リストから削除する。 Note that holding a large number of detailed feature vectors that have been successfully authenticated negates the meaning of calculating face authentication candidates. Therefore, it is effective to limit the number of detailed feature vectors to be retained (cached), or to manage the number of times of successful authentication in association with each other, and to retain the detailed feature vector with a high number of successful times. is there. For example, the face authentication server 20 manages the number of times of successful face authentication in the authentication success list in association with the authentication feature vector, and selects from the authentication success list the authentication feature vector in which the number of times of successful face authentication is smaller than a predetermined value. delete.

あるいは、顔認証サーバ20は、複数の自動販売機10をグループ分けし、同一のグループに属する自動販売機10に関する生成済み候補リスト、認証成功リストを共有してもよい。例えば、自動販売機10の位置(設置場所)にて自動販売機をグループ分けすることができる。より詳細には、所定範囲のエリアに存在する自動販売機10を1つのグループとして管理し、当該グループ内で生成済み候補リストや認証成功リストを共有する。 Alternatively, the face authentication server 20 may divide the plurality of vending machines 10 into groups and share the generated candidate list and the authentication success list for the vending machines 10 belonging to the same group. For example, the vending machines can be grouped according to the position (installation location) of the vending machine 10. More specifically, the vending machines 10 existing in the area of the predetermined range are managed as one group, and the generated candidate list and the authentication success list are shared within the group.

例えば、図22に示すように、ある自動販売機10からの顧客の認証に成功すれば、対応する顧客IDが認証成功リスト(グループごとに管理するリスト)に登録される。顔認証サーバ20は、上記自動販売機10と同じグループに属する他の自動販売機10から詳細特徴ベクトルを取得した場合には、認証成功リストに登録された顧客の認証特徴ベクトルに関する認証処理を優先的に行う。 For example, as shown in FIG. 22, if the customer is successfully authenticated by a certain vending machine 10, the corresponding customer ID is registered in the authentication success list (a list managed for each group). When the face authentication server 20 acquires the detailed feature vector from another vending machine 10 that belongs to the same group as the vending machine 10, the face authentication server 20 prioritizes the authentication process regarding the authentication feature vector of the customer registered in the authentication success list. To do it.

このようにグループ間で情報共有することで、顔認証等の処理を高速化することができる。顧客の行動範囲は、職場や自宅の近辺であることも多い。そこで、自動販売機10の設置位置で自動販売機10をグループ化することで近い場所にある自動販売機10により生成された情報を共有し、認証処理等を高速化する。 By sharing information between groups in this way, processing such as face recognition can be speeded up. The customer's range of activity is often near the workplace or home. Therefore, by grouping the vending machines 10 at the installation position of the vending machines 10, the information generated by the vending machines 10 located in a close place is shared to speed up the authentication process and the like.

以上、第2の実施形態によれば、自動販売機決済システムは、顔認証を用いたより一層迅速な決済を提供できる。 As described above, according to the second embodiment, the vending machine payment system can provide more rapid payment using face authentication.

[第3の実施形態]
続いて、第3の実施形態について図面を参照して詳細に説明する。
[Third Embodiment]
Subsequently, a third embodiment will be described in detail with reference to the drawings.

第3の実施形態では、顧客の顔認証をより正確に行う自動販売機決済システムについて説明する。 In the third embodiment, an automatic vending machine payment system that performs face recognition of a customer more accurately will be described.

第1の実施形態では、認証モードにおいて顔画像抽出部304は、所定の条件を満たす顔画像を抽出することを説明した。より具体的には、第1の実施形態では、上記所定の条件として顔画像の大きさを設定している。この所定の条件を変更すること、あるいは、条件を追加することで顔認証の精度をより向上させることができる。 In the first embodiment, the face image extraction unit 304 has described that the face image extraction unit 304 extracts a face image that satisfies a predetermined condition in the authentication mode. More specifically, in the first embodiment, the size of the face image is set as the predetermined condition. The accuracy of face recognition can be further improved by changing this predetermined condition or adding a condition.

例えば、自動販売機10の前に2人の顧客が立っている場合が想定できる。このような場合、自動販売機10は、いずれの顧客の顔画像を取得すればよいか判断できない。そこで、第3の実施形態に係る決済制御部303は、認証モードにて取得する画像データに2以上の顔画像が含まれる場合には、商品購入希望者だけが液晶パネル15に写るように顧客に促す画像修正画面を表示する。 For example, it can be assumed that two customers are standing in front of the vending machine 10. In such a case, the vending machine 10 cannot determine which customer's face image should be acquired. Therefore, when the image data acquired in the authentication mode includes two or more face images, the payment control unit 303 according to the third embodiment allows the customer who wants to purchase the product to be displayed on the liquid crystal panel 15. Display the image correction screen that prompts you to.

自動販売機10は、例えば、図23に示すような表示を行う。このように、自動販売機10は、撮像した画像データから複数の顔画像を検出した場合には、所定の条件を満たさないと判断し、画像修正画面により1人の顧客が液晶パネル15に写るように促すことができる。自装置の前に立つ顧客が1人になることで、自動販売機10は、決済意志を持った顧客を正確に特定できるようになる。 The vending machine 10 displays, for example, as shown in FIG. As described above, when the vending machine 10 detects a plurality of face images from the captured image data, it determines that the predetermined condition is not satisfied, and one customer is displayed on the liquid crystal panel 15 by the image correction screen. Can be urged to. By having only one customer standing in front of the self-apparatus, the vending machine 10 can accurately identify the customer who intends to make a payment.

第3の実施形態に係る顔画像抽出部304は、所定期間の間に得られる複数の画像データそれぞれに含まれる顔画像に変化がある場合に、所定の条件をみたすと判断してもよい。より具体的には、顔画像抽出部304は、複数の画像データから顔画像を抽出し、これら抽出した複数の顔画像にて変化を認めた場合に、顔画像を記憶部306に格納してもよい。顔画像抽出部304が確認する顔画像の変化には、例えば、位置のずれ、瞬き等が挙げられる。顔画像抽出部304は、これらの変化を検出することで、真に自装置の前に立つ「人」の存在を確認できる(人以外の情報により顔認証をしてしまうことを排除できる)。 The face image extraction unit 304 according to the third embodiment may determine that the predetermined condition is satisfied when there is a change in the face image included in each of the plurality of image data obtained during the predetermined period. More specifically, the face image extraction unit 304 extracts a face image from a plurality of image data, and stores a face image in the storage unit 306 when a change is recognized in these extracted face images. Good. The change in the face image confirmed by the face image extraction unit 304 may be, for example, a positional shift or blinking. By detecting these changes, the face image extraction unit 304 can confirm the presence of a “person” who truly stands in front of the device itself (can eliminate the face authentication by information other than the person).

以上のように、第3の実施形態に係る自動販売機10は、商品を購入しようとする顧客を撮像したデータから抽出した顔画像が所定の条件を満たすか否かを判定している。そして、自動販売機10は、当該顔画像が所定の条件を満たさない場合には、所定の条件を満たすように顧客に所定の動作を要望する画面を表示する。その結果、顔認証に適した顔画像及び詳細特徴ベクトルが得られるので、第3の実施形態に係る自動販売機決済システムは、より一層認証精度の高い顔認証による決済を提供できる。 As described above, the vending machine 10 according to the third embodiment determines whether or not the face image extracted from the data obtained by capturing the image of the customer who intends to purchase the product satisfies the predetermined condition. Then, when the face image does not satisfy the predetermined condition, the vending machine 10 displays a screen requesting the customer to perform a predetermined operation so as to satisfy the predetermined condition. As a result, a face image and a detailed feature vector suitable for face authentication can be obtained, and thus the vending machine payment system according to the third embodiment can provide payment by face authentication with higher authentication accuracy.

[変形例]
第1乃至第3の実施形態にて説明した自動販売機決済システムの構成及び動作は例示であって、種々の変形が可能である。例えば、自動販売機決済システム及びその構成装置は、以下のような構成又は動作であってもよい。
[Modification]
The configuration and operation of the vending machine payment system described in the first to third embodiments are examples, and various modifications are possible. For example, the vending machine payment system and its constituent devices may have the following configurations or operations.

上記実施形態では、カメラから撮像した画像データ(撮像データ)を用いて自動販売機10の周囲に人が存在するか否かを判定しているが、赤外線等を用いた人感センサにより当該人物の検出を行ってもよい。あるいは、自動販売機10は、人感センサにて物体を検出した後、画像データを用いて真に人が自装置の周辺に存在するか否かを判定してもよい。つまり、人感センサによる人の検出までは、カメラモジュール24の電源を切って自動販売機10の低消費電力化を実現してもよい。 In the above-described embodiment, it is determined whether or not a person is present around the vending machine 10 by using image data (imaging data) captured by the camera. However, the person is detected by a human sensor using infrared rays or the like. May be detected. Alternatively, the vending machine 10 may use the image data to detect whether or not a person is truly present in the vicinity of the own device after detecting an object with the motion sensor. In other words, the power of the camera module 24 may be turned off to reduce the power consumption of the vending machine 10 until the detection of a person by the motion sensor.

上記実施形態では、自動販売機10は静止画を取得し、当該静止画から顔画像を抽出することを前提としている。しかし、カメラモジュール24は動画を取得し、当該動画から所定間隔でフレームを抜き出して画像データを取得してもよい。また、自動販売機10が取得する画像データのフォーマットやサイズに制限はなく、例えば、自動販売機10は、モノクロ画像を取得してもよいし、カラー画像を取得してもよい。 In the above embodiment, it is premised that the vending machine 10 acquires a still image and extracts a face image from the still image. However, the camera module 24 may acquire a moving image, extract frames at predetermined intervals from the moving image, and acquire image data. Further, there is no limitation on the format or size of the image data acquired by the vending machine 10, and for example, the vending machine 10 may acquire a monochrome image or a color image.

上記実施形態では、液晶パネル15が自動販売機10に組み込まれている構成を説明したが、液晶パネルを備えるタブレットと既存の自動販売機10を接続して自動販売機10の機能を実現してもよい。例えば、図24に示すように、タブレット17を自動販売機10aにマウントし、タブレット17のカメラ機能や通信機能を利用して上記実施形態にて説明した自動販売機10を実現してもよい。この場合、図6に示す自動販売機制御部302が既存の自動販売機10aのコントローラに相当し、決済制御部303がタブレット17のコントローラに相当する。2つのコントローラが連携(制御情報の送受信)することで、自動販売機10の機能を実現する。 In the above-described embodiment, the configuration in which the liquid crystal panel 15 is incorporated in the vending machine 10 has been described. However, the tablet equipped with the liquid crystal panel and the existing vending machine 10 are connected to realize the functions of the vending machine 10. Good. For example, as shown in FIG. 24, the tablet 17 may be mounted on the vending machine 10a, and the camera function and the communication function of the tablet 17 may be used to implement the vending machine 10 described in the above embodiment. In this case, the vending machine control unit 302 shown in FIG. 6 corresponds to the controller of the existing vending machine 10a, and the settlement control unit 303 corresponds to the controller of the tablet 17. The functions of the vending machine 10 are realized by the cooperation of the two controllers (transmission/reception of control information).

上記実施形態では、1つのカメラモジュール24により撮像された画像を用いて2つの特徴ベクトル(概略特徴ベクトル、詳細特徴ベクトル)を生成する場合を説明した。しかし、生成する特徴ベクトル(自動販売機10の動作モード)に応じて使用するカメラモジュールを使い分けても良い。例えば、待機モード時の概略特徴ベクトルを生成する際には、自動販売機10の上部に据え付けられたカメラを使用し、認証モード時の詳細特徴ベクトルを生成する際には自動販売機10の中心に据え付けられたカメラを使用してもよい。 In the above embodiment, a case has been described in which two feature vectors (a rough feature vector and a detailed feature vector) are generated using an image captured by one camera module 24. However, the camera module to be used may be selectively used according to the generated feature vector (operation mode of the vending machine 10). For example, the camera installed on the upper part of the vending machine 10 is used to generate the general feature vector in the standby mode, and the center of the vending machine 10 is used to generate the detailed feature vector in the authentication mode. You may use the camera installed in.

また、自動販売機10に取り付けたカメラの位置(例えば、上記のような自動販売機10の上部)と顧客の位置との関係によっては、顔画像が歪んでいることも考えられる。このような場合、特徴ベクトル生成部305は、アフィン変換等の幾何学的変換を適宜実行することで特徴ベクトルの算出に適した画像を取得してもよい。 In addition, the face image may be distorted depending on the relationship between the position of the camera attached to the vending machine 10 (for example, the upper part of the vending machine 10 as described above) and the position of the customer. In such a case, the feature vector generation unit 305 may acquire an image suitable for calculation of the feature vector by appropriately performing geometric transformation such as affine transformation.

上記実施形態では、顔認証サーバ20による認証結果は自動販売機10を経由して決済サーバ30に送信されているが、顔認証サーバ20から決済サーバ30に認証結果を送信してもよい。この場合、決済サーバ30は、自動販売機10に対して商品排出指示を行う。 In the above embodiment, the authentication result by the face authentication server 20 is transmitted to the payment server 30 via the vending machine 10, but the authentication result may be transmitted from the face authentication server 20 to the payment server 30. In this case, the payment server 30 issues a product discharge instruction to the vending machine 10.

さらに、各装置(自動販売機10、顔認証サーバ20、決済サーバ30)の間で送受信する情報は共通鍵暗号や公開鍵暗号等の暗号化方式により暗号化されていてもよいし、平文で送信されてもよい。但し、決済情報や特徴ベクトルは個人情報と捉える余地もあるので、装置間でやり取りする情報は暗号化されているのが望ましい。 Furthermore, the information transmitted and received between each device (the vending machine 10, the face authentication server 20, the payment server 30) may be encrypted by an encryption method such as common key encryption or public key encryption, or in plain text. It may be transmitted. However, since the settlement information and the feature vector can be regarded as personal information, it is desirable that the information exchanged between the devices is encrypted.

上記実施形態では、自動販売機10が検出した人物は商品を購入することを前提として説明したが、実際には、商品を購入せず立ち去ってしまう人も存在する。そのような場合、顔認証サーバ20にて顔認証前に事前準備した「顔認証候補」は不要となる。そこで、自動販売機10は、概略特徴ベクトルを顔認証サーバ20に送信したが、商品の購入意思を示すことなく顧客が立ち去った場合は、送信した概略特徴ベクトルを指定して「顔認証候補」の削除指示を顔認証サーバ20に送信してもよい。不要な顔認証候補を削除することで、顔認証サーバ20のリソースを有効活用できる。 In the above-described embodiment, the person detected by the vending machine 10 has been described on the assumption that the person purchases the product, but in reality, there are people who leave without purchasing the commodity. In such a case, the “face authentication candidate” prepared in advance by the face authentication server 20 before face authentication is unnecessary. Therefore, the vending machine 10 transmits the rough feature vector to the face authentication server 20, but if the customer leaves without indicating the purchase intention of the product, the vending machine 10 specifies the transmitted rough feature vector to be a “face recognition candidate”. May be transmitted to the face authentication server 20. By deleting unnecessary face authentication candidates, the resources of the face authentication server 20 can be effectively used.

上記実施形態では、顔認証サーバ20には2種類の特徴ベクトルを登録することを説明したが、1つの特徴ベクトルで2種類の特徴ベクトルを表現することも可能である。例えば、認証特徴ベクトルの要素のうち一部の要素を絞込特徴ベクトルと扱えば、顔認証サーバ20に登録する特徴ベクトルを1つとすることができる。例えば、認証特徴ベクトルを10次元のベクトルとし、絞込特徴ベクトルを認証特徴ベクトルの先頭から4つの要素(4次元のベクトル)と決めれば、1つの特徴ベクトルには実質的に2つの特徴ベクトルが含まれることになる。 In the above embodiment, it has been described that two types of feature vectors are registered in the face authentication server 20, but it is also possible to express two types of feature vectors with one feature vector. For example, if some of the elements of the authentication feature vector are treated as narrowed down feature vectors, the number of feature vectors registered in the face authentication server 20 can be one. For example, if the authentication feature vector is a 10-dimensional vector, and the narrowed-down feature vector is determined to be the four elements (four-dimensional vector) from the beginning of the authentication feature vector, one feature vector has substantially two feature vectors. Will be included.

上記実施形態では、自動販売機10が特徴ベクトルを生成しているが、自動販売機10から顔認証サーバ20に顔画像(又は顔画像を含む画像データ)を送信してもよい。つまり、サーバ側にて顔画像抽出処理や特徴ベクトル生成処理を実行しても良い。但し、この場合には、自動販売機10と顔認証サーバ20間のネットワークにおける通信帯域が十分確保されている必要がある。 In the above embodiment, the vending machine 10 generates the feature vector, but the vending machine 10 may send the face image (or image data including the face image) to the face authentication server 20. That is, the face image extraction processing and the feature vector generation processing may be executed on the server side. However, in this case, it is necessary to secure a sufficient communication band in the network between the vending machine 10 and the face authentication server 20.

上記実施形態では、詳細特徴ベクトルの生成に使用する顔画像を抽出する際、所定の条件を満たさない場合には、画像修正画面を用いて顧客に立ち位置を変更してもらうようにしている。しかし、所定の条件を満たさない場合、自動販売機10は、所定の条件を満たすようにカメラ(レンズ)を制御してもよい。例えば、所定の条件に顔の面積が設定されていれば、自動販売機10は、レンズを移動する、あるいはズームする等の対応により顔画像が所定の条件を満たすようにしてもよい。 In the above embodiment, when the face image used for generating the detailed feature vector is extracted, if the predetermined condition is not satisfied, the customer is asked to change the standing position using the image correction screen. However, when the predetermined condition is not satisfied, the vending machine 10 may control the camera (lens) so as to satisfy the predetermined condition. For example, if the face area is set to a predetermined condition, the vending machine 10 may make the face image satisfy the predetermined condition by moving the lens or zooming.

上述の説明で用いた複数のフローチャートでは、複数の工程(処理)が順番に記載されているが、各実施形態で実行される工程の実行順序は、その記載の順番に制限されない。各実施形態では、例えば各処理を並行して実行する等、図示される工程の順番を内容的に支障のない範囲で変更することができる。また、上述の各実施形態は、内容が相反しない範囲で組み合わせることができる。 In the plurality of flowcharts used in the above description, the plurality of steps (processes) are described in order, but the execution order of the steps executed in each embodiment is not limited to the order described. In each of the embodiments, the order of the illustrated steps can be changed within a range that does not hinder the contents, for example, executing each process in parallel. Further, the above-described respective embodiments can be combined within a range in which the contents do not conflict with each other.

なお、引用した上記の特許文献等の各開示は、本書に引用をもって繰り込むものとする。本発明の全開示(請求の範囲を含む)の枠内において、さらにその基本的技術思想に基づいて、実施形態ないし実施例の変更・調整が可能である。また、本発明の全開示の枠内において種々の開示要素(各請求項の各要素、各実施形態ないし実施例の各要素、各図面の各要素等を含む)の多様な組み合わせ、ないし、選択が可能である。すなわち、本発明は、請求の範囲を含む全開示、技術的思想にしたがって当業者であればなし得るであろう各種変形、修正を含むことは勿論である。特に、本書に記載した数値範囲については、当該範囲内に含まれる任意の数値ないし小範囲が、別段の記載のない場合でも具体的に記載されているものと解釈されるべきである。 It should be noted that the disclosures of each of the above cited patent documents and the like are incorporated herein by reference. Modifications and adjustments of the exemplary embodiments and examples are possible within the scope of the overall disclosure (including the claims) of the present invention and based on the basic technical concept of the invention. Further, various combinations of various disclosed elements (including each element of each claim, each element of each embodiment or example, each element of each drawing, and the like) or selection within the framework of the entire disclosure of the present invention Is possible. That is, it goes without saying that the present invention includes various variations and modifications that can be made by those skilled in the art according to the entire disclosure including the claims and the technical idea. In particular, with regard to the numerical range described in this specification, any numerical value or small range included in the range should be construed as specifically described even if not otherwise specified.

10、10−1〜10−N、10a、103 自動販売機
11 商品サンプル
12 選択ボタン
13 現金投入口
14 ICカードリーダ
15 液晶パネル
16 排出口
17 タブレット
20、101 顔認証サーバ
21、31 CPU(Central Processing Unit)
22、32 メモリ
23 表示モジュール
24 カメラモジュール
25 アンテナ
26 無線通信モジュール
30、102 決済サーバ
33 入出力インターフェイス
34 NIC(Network Interface Card)
301、401 通信制御部
302 自動販売機制御部
303 決済制御部
304 顔画像抽出部
305 特徴ベクトル生成部
306、402 記憶部
403 候補生成部
404 顔認証部
501、502 顔画像
10, 10-1 to 10-N, 10a, 103 Vending machine 11 Product sample 12 Selection button 13 Cash slot 14 IC card reader 15 Liquid crystal panel 16 Discharge port 17 Tablet 20, 101 Face authentication server 21, 31 CPU (Central Processing Unit)
22, 32 memory 23 display module 24 camera module 25 antenna 26 wireless communication module 30, 102 settlement server 33 input/output interface 34 NIC (Network Interface Card)
301, 401 Communication control unit 302 Vending machine control unit 303 Payment control unit 304 Face image extraction unit 305 Feature vector generation unit 306, 402 Storage unit 403 Candidate generation unit 404 Face authentication unit 501, 502 Face image

Claims (15)

顧客ID(Identifier)と、前記顧客IDに対応する人物の顔画像から生成された第1、第2の特徴ベクトルと、を関連付けて記憶するデータベースにアクセスし、要求された人物の顔認証を行う、顔認証サーバと、
商品購入に関する決済を行う、決済サーバと、
前記顔認証サーバに顔認証を要求し、前記顔認証サーバによる認証が成功した顧客が購入する商品の決済を前記決済サーバに要求する、自動販売機と、
を含み、
前記自動販売機は、自装置周辺に存在する顧客を検出するのに応じて、
検出した前記顧客の顔画像から前記第1の特徴ベクトルに対応する第3の特徴ベクトルを生成し、
前記顔認証サーバは、前記データベースに記憶された第1の特徴ベクトルであって、前記第3の特徴ベクトルとの間の類似度が所定の閾値よりも高い第1の特徴ベクトルを抽出し、前記抽出された第1の特徴ベクトルに対応する前記顧客IDからなるリストを顔認証候補として生成し、
前記自動販売機は、前記顧客を検出するタイミングと異なるタイミングにおいて、
商品を購入しようとする顧客の顔画像から第4の特徴ベクトルを生成し、
前記顔認証サーバは、
前記第4の特徴ベクトルと、前記顔認証候補に含まれる顧客IDに対応する前記第2の特徴ベクトルと、に基づき、前記商品を購入しようとする顧客の顔認証を行う、
自動販売機決済システム。
A database that stores the customer ID (Identifier) and the first and second feature vectors generated from the face image of the person corresponding to the customer ID in association with each other is accessed to perform face authentication of the requested person. , Face recognition server,
A payment server that performs payment related to product purchases,
A vending machine that requests face authentication from the face authentication server and requests the payment server to settle a product purchased by a customer who has been successfully authenticated by the face authentication server.
Including,
The vending machine, in response to detecting a customer around the device itself,
Generating a third feature vector corresponding to the first feature vector from the detected face image of the customer,
The face authentication server extracts a first feature vector stored in the database, the first feature vector having a similarity with the third feature vector higher than a predetermined threshold value; A list of the customer IDs corresponding to the extracted first feature vector is generated as a face authentication candidate,
The vending machine, at a timing different from the timing of detecting the customer,
Generate a fourth feature vector from the face image of the customer who wants to purchase the product,
The face authentication server is
Face authentication of a customer who intends to purchase the product is performed based on the fourth feature vector and the second feature vector corresponding to the customer ID included in the face authentication candidate.
Vending machine payment system.
前記第1及び第3の特徴ベクトルの次数は、前記第2及び第4の特徴ベクトルの次数よりも低い、請求項1の自動販売機決済システム。 The vending machine payment system according to claim 1, wherein the orders of the first and third feature vectors are lower than the orders of the second and fourth feature vectors. 前記第2及び第4の特徴ベクトルのそれぞれは、前記第1及び第3の特徴ベクトルそれぞれに含まれる特徴量とは異なる種類の特徴量を要素として含む、請求項1又は2の自動販売機決済システム。 3. The vending machine settlement according to claim 1, wherein each of the second and fourth feature vectors includes, as an element, a feature amount of a type different from the feature amount included in each of the first and third feature vectors. system. 前記自動販売機は、
撮像した画像データに顔画像が含まれる場合に、自装置の周辺に顧客が存在すると判断し、前記自装置の周辺に存在する顧客の顔画像から前記第3の特徴ベクトルを生成する、請求項1乃至3のいずれか一項に記載の自動販売機決済システム。
The vending machine is
When the captured image data includes a face image, it is determined that a customer exists around the own device, and the third feature vector is generated from the face image of the customer existing around the own device. The vending machine payment system according to any one of 1 to 3.
前記自動販売機は、
撮像した画像データに複数の顔画像が含まれる場合に、前記複数の顔画像それぞれから前記第3の特徴ベクトルを生成する、請求項4の自動販売機決済システム。
The vending machine is
The vending machine payment system according to claim 4, wherein when the captured image data includes a plurality of face images, the third feature vector is generated from each of the plurality of face images.
前記顔認証サーバは、
前記複数の顔画像それぞれから生成された第3の特徴ベクトルとの間の類似度が所定の閾値よりも高い前記第1の特徴ベクトルを抽出し、前記抽出された第1の特徴ベクトルに対応する前記顧客IDからなるリストを顔認証候補として複数生成し、前記生成された複数の顔認証候補を前記顔認証に用いる、請求項5の自動販売機決済システム。
The face authentication server is
The first feature vector whose similarity to the third feature vector generated from each of the plurality of face images is higher than a predetermined threshold is extracted, and the extracted first feature vector corresponds to the extracted first feature vector. The vending machine settlement system according to claim 5, wherein a plurality of lists including the customer IDs are generated as face authentication candidates, and the plurality of generated face authentication candidates are used for the face authentication.
複数の前記自動販売機が含まれ、
前記顔認証サーバは、前記複数の自動販売機からの顔認証の要求を処理する、請求項1乃至6のいずれか一項に記載の自動販売機決済システム。
A plurality of said vending machines are included,
7. The vending machine payment system according to claim 1, wherein the face authentication server processes face authentication requests from the plurality of vending machines.
前記顔認証サーバは、
前記自動販売機ごとに、前記顔認証候補と前記顔認証候補の生成に使用した第3の特徴ベクトルを対応付ける生成済み候補リストを生成し、
同じ自動販売機から同じ前記第3の特徴ベクトルを取得した場合には、前記データベースから第1の特徴ベクトルを抽出する処理を行わず、前記生成済み候補リストの顔認証候補を顔認証に用いる、請求項7に記載の自動販売機決済システム。
The face authentication server is
For each vending machine, generate a generated candidate list that associates the face authentication candidate with the third feature vector used to generate the face authentication candidate,
When the same third feature vector is acquired from the same vending machine, the process of extracting the first feature vector from the database is not performed, and the face recognition candidates in the generated candidate list are used for face recognition. The vending machine payment system according to claim 7.
前記顔認証サーバは、
前記自動販売機ごとに、顔認証に成功した前記第4の特徴ベクトルからなる認証成功リストを生成し、
前記顔認証候補に優先して前記認証成功リストを参照して顔認証を行う、請求項8の自動販売機決済システム。
The face authentication server is
For each of the vending machines, generate an authentication success list including the fourth feature vector that has succeeded in face authentication,
9. The vending machine settlement system according to claim 8, wherein face authentication is performed by referring to the authentication success list in preference to the face authentication candidate.
前記顔認証サーバは、
前記認証成功リストにおいて顔認証に成功した回数を前記第4の特徴ベクトルに対応付けて管理し、前記顔認証に成功した回数が所定の値よりも小さい前記第4の特徴ベクトルを前記認証成功リストから削除する、請求項9の自動販売機決済システム。
The face authentication server is
In the authentication success list, the number of successful face authentications is managed in association with the fourth feature vector, and the fourth feature vector in which the number of successful face authentications is smaller than a predetermined value is set to the authentication success list. The vending machine payment system according to claim 9, which is deleted from the vending machine payment system.
前記顔認証サーバは、
前記複数の自動販売機をグループ分けし、同一のグループに属する前記自動販売機に関する前記生成済み候補リスト、及び/又は、前記認証成功リストを共有する、請求項9又は10の自動販売機決済システム。
The face authentication server is
The vending machine settlement system according to claim 9 or 10, wherein the plurality of vending machines are divided into groups, and the generated candidate list and/or the authentication success list regarding the vending machines belonging to the same group are shared. ..
顧客ID(Identifier)と、前記顧客IDに対応する人物の顔画像から生成された第1、第2の特徴ベクトルと、を関連付けて記憶するデータベースにアクセスし、要求された人物の顔認証を行う、顔認証サーバと、
商品購入に関する決済を行う、決済サーバと、に接続され、
前記顔認証サーバに顔認証を要求し、前記顔認証サーバによる認証が成功した顧客が購入する商品の決済を前記決済サーバに要求する、装置であって、
自装置周辺に存在する顧客を検出するのに応じて、検出した前記顧客の顔画像から前記第1の特徴ベクトルに対応する第3の特徴ベクトルを生成し、
前記顔認証サーバに対して前記第3の特徴ベクトルを送信すると共に、前記顔認証サーバに、前記データベースに記憶された第1の特徴ベクトルであって、前記第3の特徴ベクトルとの間の類似度が所定の閾値よりも高い第1の特徴ベクトルを抽出し、前記抽出された第1の特徴ベクトルに対応する前記顧客IDからなるリストを顔認証候補として生成することを要求し、
前記顧客を検出するタイミングと異なるタイミングにおいて、商品を購入しようとする顧客の顔画像から第4の特徴ベクトルを生成し、
前記顔認証サーバに対して、前記第4の特徴ベクトルと、前記顔認証候補に含まれる顧客IDに対応する前記第2の特徴ベクトルと、に基づき、前記商品を購入しようとする顧客の顔認証を行うように要求する、
自動販売機。
A database that stores the customer ID (Identifier) and the first and second feature vectors generated from the face image of the person corresponding to the customer ID in association with each other is accessed to perform face authentication of the requested person. , Face recognition server,
Connected to the payment server, which performs payment related to product purchase,
A device for requesting face authentication from the face authentication server and requesting the payment server to settle a product purchased by a customer who has been successfully authenticated by the face authentication server,
In response to detecting a customer existing around the own device, a third feature vector corresponding to the first feature vector is generated from the detected face image of the customer,
The third feature vector is transmitted to the face authentication server, and the face recognition server stores the first feature vector stored in the database, which is similar to the third feature vector. Requesting to extract a first feature vector whose degree is higher than a predetermined threshold value and generate a list of the customer IDs corresponding to the extracted first feature vector as a face authentication candidate,
At a timing different from the timing of detecting the customer, a fourth feature vector is generated from the face image of the customer who wants to purchase the product,
The face authentication of the customer who intends to purchase the product is performed on the face authentication server based on the fourth feature vector and the second feature vector corresponding to the customer ID included in the face authentication candidate. Request to do,
vending machine.
顧客ID(Identifier)と、前記顧客IDに対応する人物の顔画像から生成された第1、第2の特徴ベクトルと、を関連付けて記憶するデータベースにアクセスし、要求された人物の顔認証を行う、サーバであって、
前記データベースに記憶された第1の特徴ベクトルであって、自動販売機により生成された第3の特徴ベクトルとの間の類似度が所定の閾値よりも高い第1の特徴ベクトルを抽出し、前記抽出された第1の特徴ベクトルに対応する前記顧客IDからなるリストを顔認証候補として生成し、
前記自動販売機が商品を購入しようとする顧客の顔画像から生成した第4の特徴ベクトルと、前記顔認証候補に含まれる顧客IDに対応する前記第2の特徴ベクトルと、に基づき、前記商品を購入しようとする顧客の顔認証を行う、
顔認証サーバ。
A database that stores the customer ID (Identifier) and the first and second feature vectors generated from the face image of the person corresponding to the customer ID in association with each other is accessed to perform face authentication of the requested person. , A server,
Extracting a first feature vector stored in the database, the first feature vector having a similarity with a third feature vector generated by a vending machine higher than a predetermined threshold value; A list of the customer IDs corresponding to the extracted first feature vector is generated as a face authentication candidate,
The product based on the fourth feature vector generated from the face image of the customer who is going to purchase the product by the vending machine, and the second feature vector corresponding to the customer ID included in the face authentication candidate. Perform face recognition for customers who are trying to purchase
Face recognition server.
顧客ID(Identifier)と、前記顧客IDに対応する人物の顔画像から生成された第1、第2の特徴ベクトルと、を関連付けて記憶するデータベースにアクセスし、要求された人物の顔認証を行う、顔認証サーバと、
商品購入に関する決済を行う、決済サーバと、
前記顔認証サーバに顔認証を要求し、前記顔認証サーバによる認証が成功した顧客が購入する商品の決済を前記決済サーバに要求する、自動販売機と、
を含む自動販売機決済システムにおいて、
自装置周辺に存在する顧客を検出するのに応じて、検出した前記顧客の顔画像から前記第1の特徴ベクトルに対応する第3の特徴ベクトルを生成するステップと、
前記データベースに記憶された第1の特徴ベクトルであって、前記第3の特徴ベクトルとの間の類似度が所定の閾値よりも高い第1の特徴ベクトルを抽出し、前記抽出された第1の特徴ベクトルに対応する前記顧客IDからなるリストを顔認証候補として生成するステップと、
前記顧客を検出するタイミングと異なるタイミングにおいて、商品を購入しようとする顧客の顔画像から第4の特徴ベクトルを生成するステップと、
前記第4の特徴ベクトルと、前記顔認証候補に含まれる顧客IDに対応する前記第2の特徴ベクトルと、に基づき、前記商品を購入しようとする顧客の顔認証を行うステップと、
を含む、自動販売機決済方法。
A database that stores the customer ID (Identifier) and the first and second feature vectors generated from the face image of the person corresponding to the customer ID in association with each other is accessed to perform face authentication of the requested person. , Face recognition server,
A payment server that performs payment related to product purchases,
A vending machine that requests face authentication from the face authentication server and requests the payment server to settle a product purchased by a customer who has been successfully authenticated by the face authentication server.
In vending machine payment system including
Generating a third feature vector corresponding to the first feature vector from the detected face image of the customer in response to detecting the customer existing in the vicinity of the own device;
A first feature vector stored in the database, the first feature vector having a similarity to the third feature vector higher than a predetermined threshold is extracted, and the extracted first feature vector is extracted. Generating a list of the customer IDs corresponding to the feature vectors as face authentication candidates,
Generating a fourth feature vector from a face image of a customer who intends to purchase a product at a timing different from the timing of detecting the customer,
Performing face authentication of a customer who intends to purchase the product, based on the fourth feature vector and the second feature vector corresponding to the customer ID included in the face authentication candidate;
Vending machine payment method including.
顧客ID(Identifier)と、前記顧客IDに対応する人物の顔画像から生成された第1、第2の特徴ベクトルと、を関連付けて記憶するデータベースにアクセスし、要求された人物の顔認証を行う、顔認証サーバと、商品購入に関する決済を行う、決済サーバと、に接続され、前記顔認証サーバに顔認証を要求し、前記顔認証サーバによる認証が成功した顧客が購入する商品の決済を前記決済サーバに要求する、自動販売機に搭載されたコンピュータに、
自装置周辺に存在する顧客を検出するのに応じて、検出した前記顧客の顔画像から前記第1の特徴ベクトルに対応する第3の特徴ベクトルを生成する処理と、
前記顔認証サーバに対して前記第3の特徴ベクトルを送信すると共に、前記顔認証サーバに、前記データベースに記憶された第1の特徴ベクトルであって、前記第3の特徴ベクトルとの間の類似度が所定の閾値よりも高い第1の特徴ベクトルを抽出し、前記抽出された第1の特徴ベクトルに対応する前記顧客IDからなるリストを顔認証候補として生成することを要求する処理と、
前記顧客を検出するタイミングと異なるタイミングにおいて、商品を購入しようとする顧客の顔画像から第4の特徴ベクトルを生成する処理と、
前記顔認証サーバに対して、前記第4の特徴ベクトルと、前記顔認証候補に含まれる顧客IDに対応する前記第2の特徴ベクトルと、に基づき、前記商品を購入しようとする顧客の顔認証を行うように要求する処理と、
を実行させるプログラム。
A database that stores the customer ID (Identifier) and the first and second feature vectors generated from the face image of the person corresponding to the customer ID in association with each other is accessed to perform face authentication of the requested person. Connected to a face authentication server and a payment server for performing payment related to product purchase, requesting face authentication from the face authentication server, and payment of a product purchased by a customer who has been successfully authenticated by the face authentication server. The computer installed in the vending machine, which requests the payment server,
A process of generating a third feature vector corresponding to the first feature vector from the detected face image of the customer in response to detecting the customer existing around the device itself;
The third feature vector is transmitted to the face authentication server, and the face recognition server stores the first feature vector stored in the database, which is similar to the third feature vector. A process of extracting a first feature vector whose degree is higher than a predetermined threshold value, and generating a list of the customer IDs corresponding to the extracted first feature vector as a face authentication candidate;
A process of generating a fourth feature vector from a face image of a customer who intends to purchase a product at a timing different from the timing of detecting the customer;
The face authentication of the customer who intends to purchase the product is performed on the face authentication server based on the fourth feature vector and the second feature vector corresponding to the customer ID included in the face authentication candidate. Process that requires you to do
A program to execute.
JP2018222207A 2018-11-28 2018-11-28 Vending machine payment system, vending machine, face authentication server, vending machine payment method and program Active JP7180869B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018222207A JP7180869B2 (en) 2018-11-28 2018-11-28 Vending machine payment system, vending machine, face authentication server, vending machine payment method and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018222207A JP7180869B2 (en) 2018-11-28 2018-11-28 Vending machine payment system, vending machine, face authentication server, vending machine payment method and program

Publications (2)

Publication Number Publication Date
JP2020087093A true JP2020087093A (en) 2020-06-04
JP7180869B2 JP7180869B2 (en) 2022-11-30

Family

ID=70908339

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018222207A Active JP7180869B2 (en) 2018-11-28 2018-11-28 Vending machine payment system, vending machine, face authentication server, vending machine payment method and program

Country Status (1)

Country Link
JP (1) JP7180869B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113627508A (en) * 2021-08-03 2021-11-09 北京百度网讯科技有限公司 Display scene recognition method, device, equipment and storage medium
CN113887540A (en) * 2021-12-06 2022-01-04 深圳佳特安科技有限公司 Face recognition sales counter recognition method and system
WO2024057457A1 (en) * 2022-09-14 2024-03-21 日本電気株式会社 Authentication terminal, system, control method of authentication terminal, and recording medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004030334A (en) * 2002-06-26 2004-01-29 Nec Soft Ltd Method, system and program for biometrics authentication service
JP2004258963A (en) * 2003-02-26 2004-09-16 Fujitsu Ltd High speed id-less collation method and system by multi-stage collation
JP2011090407A (en) * 2009-10-20 2011-05-06 Jr East Mechatronics Co Ltd Information processing apparatus and program
JP2013196046A (en) * 2012-03-15 2013-09-30 Omron Corp Authentication apparatus, control method of authentication apparatus, control program and recording medium
JP2017068370A (en) * 2015-09-28 2017-04-06 株式会社日本総合研究所 Automatic vending machine management server, automatic vending machine, and program for automatic vending machine management server
JP2017097743A (en) * 2015-11-27 2017-06-01 日本電気株式会社 Point management system, account generation method, vending machine, and program
JP2017162191A (en) * 2016-03-09 2017-09-14 株式会社Nttドコモ Management device and commodity providing system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004030334A (en) * 2002-06-26 2004-01-29 Nec Soft Ltd Method, system and program for biometrics authentication service
JP2004258963A (en) * 2003-02-26 2004-09-16 Fujitsu Ltd High speed id-less collation method and system by multi-stage collation
JP2011090407A (en) * 2009-10-20 2011-05-06 Jr East Mechatronics Co Ltd Information processing apparatus and program
JP2013196046A (en) * 2012-03-15 2013-09-30 Omron Corp Authentication apparatus, control method of authentication apparatus, control program and recording medium
JP2017068370A (en) * 2015-09-28 2017-04-06 株式会社日本総合研究所 Automatic vending machine management server, automatic vending machine, and program for automatic vending machine management server
JP2017097743A (en) * 2015-11-27 2017-06-01 日本電気株式会社 Point management system, account generation method, vending machine, and program
JP2017162191A (en) * 2016-03-09 2017-09-14 株式会社Nttドコモ Management device and commodity providing system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113627508A (en) * 2021-08-03 2021-11-09 北京百度网讯科技有限公司 Display scene recognition method, device, equipment and storage medium
CN113887540A (en) * 2021-12-06 2022-01-04 深圳佳特安科技有限公司 Face recognition sales counter recognition method and system
WO2024057457A1 (en) * 2022-09-14 2024-03-21 日本電気株式会社 Authentication terminal, system, control method of authentication terminal, and recording medium

Also Published As

Publication number Publication date
JP7180869B2 (en) 2022-11-30

Similar Documents

Publication Publication Date Title
US11694175B2 (en) Identifying consumers in a transaction via facial recognition
EP3374916B1 (en) Facial profile modification for hands free transactions
US20210365979A1 (en) Providing Hands-Free Data for Interactions
EP3374915B1 (en) Facial template and token pre-fetching in hands free service requests
EP3529763B1 (en) Offline user identification
TW201837763A (en) Internet-of-things-based information processing method and apparatus
US20180150831A1 (en) Augmented Reality Headset and Digital Wallet
US11495058B2 (en) Motion based account recognition
JP7180869B2 (en) Vending machine payment system, vending machine, face authentication server, vending machine payment method and program
WO2019001363A1 (en) Brick and mortar store application system, and user information processing method and device
US20180150844A1 (en) User Authentication and Authorization for Electronic Transaction
US11978105B2 (en) System, method, and apparatus for processing clothing item information for try-on
US20180374099A1 (en) Biometric analysis of users to determine user locations
US20220148006A1 (en) Identification processing apparatus, settlement terminal, and settlement system
US10916105B2 (en) Processing system for providing enhanced reality interfaces at an automated teller machine (ATM) terminal platform
WO2019114782A1 (en) Cloud biometrics authentication payment and retail management system, and payment method
JP7239149B2 (en) Vending machine payment system, vending machine, vending machine payment method and program
JP2014074972A (en) Personal authentication supporting system with face image
CN112396004A (en) Method, apparatus and computer-readable storage medium for face recognition
US11651416B2 (en) Goods purchase analysis assist system
KR102424316B1 (en) Self-checkout system and method for self-service cafeteria
TW202226102A (en) Payment terminal providing biometric authentication for certain credit card transactions
TW202230241A (en) Electronic payment method and system
KR20190057931A (en) Method for processing payment using shoes

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20190215

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20211007

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20220803

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20220809

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20221006

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: 20221018

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20221110

R150 Certificate of patent or registration of utility model

Ref document number: 7180869

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150