JP5614355B2 - Code reader and command acquisition method - Google Patents

Code reader and command acquisition method Download PDF

Info

Publication number
JP5614355B2
JP5614355B2 JP2011074745A JP2011074745A JP5614355B2 JP 5614355 B2 JP5614355 B2 JP 5614355B2 JP 2011074745 A JP2011074745 A JP 2011074745A JP 2011074745 A JP2011074745 A JP 2011074745A JP 5614355 B2 JP5614355 B2 JP 5614355B2
Authority
JP
Japan
Prior art keywords
code
code symbol
command
parameter
detected
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2011074745A
Other languages
Japanese (ja)
Other versions
JP2012208796A (en
Inventor
仁 猪野
仁 猪野
Original Assignee
株式会社ナカヨ
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 株式会社ナカヨ filed Critical 株式会社ナカヨ
Priority to JP2011074745A priority Critical patent/JP5614355B2/en
Publication of JP2012208796A publication Critical patent/JP2012208796A/en
Application granted granted Critical
Publication of JP5614355B2 publication Critical patent/JP5614355B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、コード読取装置に関し、特にコード読取装置によるコードシンボルを用いたコマンド取得技術に関する。   The present invention relates to a code reader, and more particularly to a command acquisition technique using a code symbol by the code reader.

特許文献1には、設置スペースを要せず、不慣れなユーザでも操作が容易な入力システムを実現できる技術が開示されている。この技術では、コマンド部とパラメータ部とで構成されたバーコードが用いられ、バーコード読取装置が、記録シートに記録されたバーコードからコマンド部とパラメータ部とを読み取り、パラメータ部に格納されたパラメータを用いて、コマンド部に格納されたコマンドを実行する。   Patent Document 1 discloses a technology that does not require an installation space and can realize an input system that can be easily operated even by an unfamiliar user. In this technique, a bar code composed of a command part and a parameter part is used, and the bar code reader reads the command part and the parameter part from the bar code recorded on the recording sheet and stores them in the parameter part. The command stored in the command part is executed using the parameter.

特開2005−11279号公報JP 2005-11279 A

しかしながら、特許文献1に記載の技術では、コマンドとパラメータとが対となってバーコードに格納されているため、同じコマンドであっても、パラメータが異なれば、異なるバーコードを用意しなければならない。このため、ユーザは、コマンドが同じであっても、パラメータが異なっていれば、異なるバーコードをバーコード読取装置で読み取らねばならず、作業が煩雑である。   However, in the technique described in Patent Document 1, since a command and a parameter are stored as a pair in a barcode, even if the command is the same, a different barcode must be prepared if the parameters are different. . For this reason, even if the command is the same, if the parameters are different, the user must read different barcodes with the barcode reader, and the work is complicated.

なお、バーコードから読み取ったコマンドに対するパラメータの設定を、キーボード、タッチパネル等の入力装置を用いて行う方法も考えられるが、この場合、ユーザが入力装置に触って操作する必要がある。このため、ユーザの手の届くところに入力装置を設置しておかなければならない。また、複数のユーザが触る可能性があり、そのことを衛生的に好まないユーザも考えられる。   In addition, although the method of setting the parameter with respect to the command read from the barcode using input devices, such as a keyboard and a touch panel, is also considered, in this case, it is necessary for a user to touch and operate an input device. For this reason, the input device must be installed within the reach of the user. Moreover, there is a possibility that a plurality of users may touch it, and there are also users who do not like it hygienically.

本発明は上記事情に鑑みてなされたものであり、本発明の目的は、キーボード、タッチパネル等の入力装置を用いることなく、一次元バーコード、二次元バーコード等のコードシンボルから取得したコマンドに所望のパラメータを設定することのできる技術を提供することにある。   The present invention has been made in view of the above circumstances, and an object of the present invention is to obtain a command acquired from a code symbol such as a one-dimensional barcode or a two-dimensional barcode without using an input device such as a keyboard or a touch panel. It is to provide a technique capable of setting a desired parameter.

上記課題を解決するために、本発明において、コード読取装置は、被写体の映像データに画像認識処理を施してコードシンボルを検出し、このコードシンボルからコマンドを取得するとともに、一連の被写体の映像データから検出したコードシンボルの動きに基づいてパラメータを特定する。そして、取得したコマンドに、この特定したパラメータを設定して、自ら実行するか、あるいは他の装置に実行させる。   In order to solve the above problem, in the present invention, the code reader performs image recognition processing on the video data of the subject to detect a code symbol, acquires a command from the code symbol, and also obtains a series of video data of the subject. The parameter is specified based on the movement of the code symbol detected from the above. Then, the specified parameter is set in the acquired command and is executed by itself or by another device.

例えば、本発明は、コードシンボルを読み取ってコマンドを取得するコード読取装置であって、
被写体を撮像して映像データを出力する撮像手段と、
前記撮像手段より出力された一連の映像データに画像認識処理を施して、当該一連の映像データから前記コードシンボルおよび前記コードシンボルの座標情報逐次検出するコード検出手段と
前記コード検出手段により検出された前記コードシンボルから前記コマンドおよび付加情報を取得するコマンド取得手段と、
前記コード検出手段により逐次検出される前記コードシンボルの座標情報に基づいて、前記コードシンボルの動きを検出する動き検出手段と、
前記コード検出手段より検出された前記コードシンボルを、前記コマンド取得手段により取得された前記付加情報および前記動き検出手段により検出された前記コードシンボルの動きを表す軌跡データとともに表示する表示手段と、
前記動き検出手段により検出された前記コードシンボルの動きに基づいて、前記コマンド取得手段により取得された前記コマンドのパラメータを設定するパラメータ設定手段と、を有し、
前記動き検出手段は、
前記コード検出手段により逐次検出される前記コードシンボルの座標情報の変位量が、所定時間以上、所定値以下となった場合に、それまでに前記コード検出手段により前記一連の映像データから逐次検出された前記コードシンボルの座標情報により特定される前記コードシンボルの動きを表す軌跡データを前記パラメータ設定手段に渡し、
前記表示手段は、
前記コード検出手段により逐次検出される前記コードシンボルの座標情報の変位量が、所定時間以上、所定値以下となった場合に、それ以降に前記コード検出手段により前記一連の映像データから逐次検出される前記コードシンボルの座標情報により特定される前記コードシンボルの動きを表す軌跡データを表示せず、
前記パラメータ設定手段は、
前記動き検出手段より受け取った前記コードシンボルの動きを表す軌跡データを、パラメータとして、前記コマンド取得手段により取得されたコマンドに設定する
あるいは、本発明は、コードシンボルを読み取ってコマンドを取得するコード読取装置であって、
被写体を撮像して映像データを出力する撮像手段と、
前記撮像手段より出力された一連の映像データに画像認識処理を施して、当該一連の映像データから前記コードシンボルおよび前記コードシンボルの座標情報を逐次検出するコード検出手段と、
前記コード検出手段により検出された前記コードシンボルから前記コマンドおよび複数のパラメータ候補を取得するコマンド取得手段と、
前記コード検出手段より検出された前記コードシンボル、前記コマンド取得手段により取得された前記複数のパラメータ候補、および前記パラメータ候補の指定に用いるカーソルを表示する表示手段と、
前記コード検出手段により逐次検出される前記コードシンボルの座標情報の変位量が、所定時間以上、所定値以下となった場合に、それまでに前記コード検出手段により前記一連の映像データから逐次検出された前記コードシンボルの座標情報により特定される前記コードシンボルの動きを検出する動き検出手段と、
前記動き検出手段により検出された前記コードシンボルの動きに基づいて、前記表示手段に表示されている前記複数のパラメータ候補のなかからパラメータを選択し、当該パラメータを前記コマンド取得手段により取得されたコマンドに設定するパラメータ設定手段と、を有し、
前記パラメータ設定手段は、
前記動き検出手段により検出された前記コードシンボルの動きに予め対応付けられた操作がカーソル移動である場合、前記表示手段に表示されている前記カーソルを移動して、当該カーソルが指定するパラメータ候補を変更し、当該操作が決定である場合、前記表示手段に表示されている前記カーソルが指定するパラメータ候補をパラメータとして選択する
For example, the present invention is a code reader that reads a code symbol to obtain a command,
Imaging means for imaging a subject and outputting video data;
Code detection means for performing image recognition processing on a series of video data output from the imaging means, and sequentially detecting the code symbols and the coordinate information of the code symbols from the series of video data ;
A command acquiring means for acquiring the command and additional information from the code symbol that is detected by said code detecting means,
Motion detecting means for detecting the movement of the code symbol based on the coordinate information of the code symbol sequentially detected by the code detecting means;
Display means for displaying the code symbol detected by the code detection means together with the additional information acquired by the command acquisition means and trajectory data representing the movement of the code symbol detected by the motion detection means;
Based on the motion of the code symbol that is detected by the motion detection means, have a, and a parameter setting means for setting a parameter of the command acquired by the command acquisition unit,
The motion detection means includes
When the displacement amount of the coordinate information of the code symbol sequentially detected by the code detection means becomes a predetermined time or more and a predetermined value or less, the code detection means sequentially detects from the series of video data until then. The trajectory data representing the movement of the code symbol specified by the coordinate information of the code symbol is passed to the parameter setting means,
The display means includes
When the displacement amount of the coordinate information of the code symbol sequentially detected by the code detecting means becomes a predetermined time or more and a predetermined value or less, it is sequentially detected from the series of video data by the code detecting means thereafter. Without displaying trajectory data representing the movement of the code symbol specified by the coordinate information of the code symbol,
The parameter setting means includes
The trajectory data representing the movement of the code symbol received from the motion detection unit is set as a parameter to the command acquired by the command acquisition unit .
Alternatively, the present invention is a code reader that reads a code symbol to obtain a command,
Imaging means for imaging a subject and outputting video data;
Code detection means for performing image recognition processing on a series of video data output from the imaging means, and sequentially detecting the code symbols and the coordinate information of the code symbols from the series of video data;
Command acquisition means for acquiring the command and a plurality of parameter candidates from the code symbol detected by the code detection means;
Display means for displaying the code symbol detected by the code detection means, the plurality of parameter candidates acquired by the command acquisition means, and a cursor used for designating the parameter candidates;
When the displacement amount of the coordinate information of the code symbol sequentially detected by the code detection means becomes a predetermined time or more and a predetermined value or less, the code detection means sequentially detects from the series of video data until then. Motion detecting means for detecting the movement of the code symbol specified by the coordinate information of the code symbol;
Based on the movement of the code symbol detected by the movement detection means, a parameter is selected from the plurality of parameter candidates displayed on the display means, and the parameter is acquired by the command acquisition means. Parameter setting means for setting to
The parameter setting means includes
When the operation previously associated with the movement of the code symbol detected by the movement detecting unit is a cursor movement, the cursor displayed on the display unit is moved, and parameter candidates designated by the cursor are selected. If the change is made and the operation is determined, the parameter candidate designated by the cursor displayed on the display means is selected as a parameter .

本発明によれば、ユーザは、コードシンボルが記録された被写体をコード読取装置にかざして、この被写体に所定の動きを与えることにより、入力装置を用いることなく、コードシンボルから取得したコマンドに所望のパラメータを設定することができる。   According to the present invention, a user can select a command obtained from a code symbol without using an input device by holding the subject on which the code symbol is recorded over the code reading device and giving the subject a predetermined movement. Parameters can be set.

図1(A)、(B)は、本発明の一実施の形態に係るコード読取装置1の操作方法を説明するための図である。FIGS. 1A and 1B are diagrams for explaining an operation method of the code reader 1 according to the embodiment of the present invention. 図2は、コード読取装置1の概略機能構成図である。FIG. 2 is a schematic functional configuration diagram of the code reading device 1. 図3は、被写体2の概略図である。FIG. 3 is a schematic diagram of the subject 2. 図4は、ガイダンス記憶部111の登録内容を模式的に表した図である。FIG. 4 is a diagram schematically showing the registration contents of the guidance storage unit 111. 図5は、コード読取装置1の動作を説明するためのフロー図である。FIG. 5 is a flowchart for explaining the operation of the code reading device 1. 図6(A)は、ログイン認証コマンドに対するガイダンス映像データの表示例を示す図であり、図6(B)は、アクセスコマンドに対するガイダンス映像データの表示例を示す図である。FIG. 6A is a diagram illustrating a display example of guidance video data for a login authentication command, and FIG. 6B is a diagram illustrating a display example of guidance video data for an access command.

以下に、本発明の実施の形態について説明する。   Embodiments of the present invention will be described below.

図1(A)、(B)は、本発明の一実施の形態に係るコード読取装置1の操作方法を説明するための図である。   FIGS. 1A and 1B are diagrams for explaining an operation method of the code reader 1 according to the embodiment of the present invention.

本実施の形態に係るコード読取装置1は、IDカード、名刺、はがき、携帯電話機等の被写体2の映像データから、この被写体2に記録(印刷、表示、貼付等)されたQRコード(登録商標)21を読み取って、コマンドを取得する。図1(A)、(B)では、認識したコマンドが、ログイン認証処理の実行を指示するログイン認証コマンドである場合を例にとり説明している。   The code reading device 1 according to the present embodiment includes a QR code (registered trademark) recorded (printed, displayed, pasted, etc.) on the subject 2 from video data of the subject 2 such as an ID card, a business card, a postcard, and a mobile phone. ) 21 is read to obtain the command. In FIGS. 1A and 1B, a case where the recognized command is a login authentication command instructing execution of login authentication processing is described as an example.

まず、図1(A)に示すように、ユーザがQRコード21の記録面を前方に向けて被写体2をコード読取装置1にかざすと、コード読取装置1は、カメラ101でQRコード21の記録面を撮像し、その映像データに画像認識処理を施してQRコード21を検出する。そして、検出したQRコード21をディスプレイ102に表示するとともに、このQRコード21からコマンドを取得する。それから、コード読取装置1は、取得したコマンドがログイン認証コマンドであることを認識して、このQRコード21からユーザ名を取得する。そして、ログイン認証コマンドを検出した旨のメッセージを、ユーザ名とともにディスプレイ102に表示する。また、スピーカ103からその旨の音声メッセージを出力する(22a、22b)。   First, as shown in FIG. 1A, when the user holds the subject 2 over the code reading device 1 with the recording surface of the QR code 21 facing forward, the code reading device 1 records the QR code 21 with the camera 101. The surface is imaged, and image recognition processing is performed on the video data to detect the QR code 21. The detected QR code 21 is displayed on the display 102 and a command is acquired from the QR code 21. Then, the code reading device 1 recognizes that the acquired command is a login authentication command, and acquires the user name from the QR code 21. Then, a message indicating that the login authentication command has been detected is displayed on the display 102 together with the user name. Also, a voice message to that effect is output from the speaker 103 (22a, 22b).

つぎに、図1(B)に示すように、コード読取装置1は、ディスプレイ102およびスピーカ103を用いて、ログイン認証処理に必要な動作を行うようにガイダンスする(23a、23b)。これを受けて、ユーザは、コード読取装置1側にQRコード21の記録面を向けたまま、QRコード21が所定の軌跡を描くように被写体2を動かす。コード読取装置1は、カメラ101で撮像した一連の映像データに画像認識処理を施して、このときのQRコード21の動きを検出する。そして、このQRコード21の軌跡データ24をパラメータ(認証データ)として、このQRコード21から取得したユーザ名に対するログイン認証処理を実行する。   Next, as shown in FIG. 1B, the code reading device 1 uses the display 102 and the speaker 103 to provide guidance for performing an operation necessary for the login authentication process (23a, 23b). In response to this, the user moves the subject 2 so that the QR code 21 draws a predetermined locus with the recording surface of the QR code 21 facing the code reader 1 side. The code reading device 1 performs image recognition processing on a series of video data captured by the camera 101, and detects the movement of the QR code 21 at this time. Then, using the locus data 24 of the QR code 21 as a parameter (authentication data), a login authentication process for the user name acquired from the QR code 21 is executed.

図2は、コード読取装置1の概略機能構成図である。   FIG. 2 is a schematic functional configuration diagram of the code reading device 1.

図示するように、コード読取装置1は、カメラ101と、ディスプレイ102と、スピーカ103と、表示制御部104と、音声制御部105と、ネットワークIF部106と、コード検出部107と、コマンド取得部108と、動き検出部109と、パラメータ設定部110と、ガイダンス記憶部111と、ガイダンス処理部112と、コマンド実行部113と、を有する。   As shown in the figure, the code reading device 1 includes a camera 101, a display 102, a speaker 103, a display control unit 104, a voice control unit 105, a network IF unit 106, a code detection unit 107, and a command acquisition unit. 108, a motion detection unit 109, a parameter setting unit 110, a guidance storage unit 111, a guidance processing unit 112, and a command execution unit 113.

カメラ101は、QRコード21が記録された被写体2を撮像して映像データを出力する。ここで、図3に示すように、被写体2に記録されているQRコード21には、コード読取装置1に任意の処理を行わせるためのコマンド211が付加情報212とともに記憶されている。また、このコマンド211に設定する複数のパラメータ候補213が必要に応じて記憶されている。   The camera 101 images the subject 2 on which the QR code 21 is recorded and outputs video data. Here, as shown in FIG. 3, the QR code 21 recorded on the subject 2 stores a command 211 together with additional information 212 for causing the code reader 1 to perform arbitrary processing. In addition, a plurality of parameter candidates 213 set in the command 211 are stored as necessary.

ディスプレイ102は、カメラ101の映像データから検出されたQRコード21、およびこのQRコード21から取得したコマンド211に対するパラメータ設定のためのガイダンス映像データを含む各種情報を表示する。   The display 102 displays various information including the QR code 21 detected from the video data of the camera 101 and guidance video data for setting parameters for the command 211 acquired from the QR code 21.

スピーカ103は、QRコード21から取得したコマンド211に対するパラメータ設定のためのガイダンス音声データを含む各種音声を出力する。   The speaker 103 outputs various sounds including guidance sound data for setting parameters for the command 211 acquired from the QR code 21.

表示制御部104は、ディスプレイ102の表示を制御する。   The display control unit 104 controls display on the display 102.

音声制御部105は、スピーカ103の音声出力を制御する。   The voice control unit 105 controls the voice output of the speaker 103.

ネットワークIF部106は、コード読取装置1を無線LAN、有線LAN等のネットワークに接続するためのインターフェースである。   The network IF unit 106 is an interface for connecting the code reading device 1 to a network such as a wireless LAN or a wired LAN.

コード検出部107は、カメラ101から出力された映像データに既存の画像認識処理を施して、QRコード21を検出する。また、検出したQRコード21の座標情報を特定する。   The code detection unit 107 performs existing image recognition processing on the video data output from the camera 101 to detect the QR code 21. Further, the coordinate information of the detected QR code 21 is specified.

コマンド取得部108は、コード検出部107により検出されたQRコード21からコマンド211および付加情報212を取得する。ここで、QRコード21に複数のパラメータ候補213が記憶されている場合は、これらのパラメータ候補213も取得する。   The command acquisition unit 108 acquires a command 211 and additional information 212 from the QR code 21 detected by the code detection unit 107. Here, when a plurality of parameter candidates 213 are stored in the QR code 21, these parameter candidates 213 are also acquired.

動き検出部109は、カメラ101からの一連の映像データからコード検出部107によって特定されたQRコード21の座標情報に基づいて、このQRコード21の動きを検出する。   The motion detection unit 109 detects the motion of the QR code 21 based on the coordinate information of the QR code 21 specified by the code detection unit 107 from a series of video data from the camera 101.

パラメータ設定部110は、動き検出部109により検出されたQRコード21の動きと、後述のパラメータ設定操作情報とに基づいて、コマンド取得部108によりQRコード21から取得されたコマンド211のパラメータを設定する。ここで、コマンド取得部108によってQRコード21から複数のパラメータ候補213がコマンド211とともに取得されている場合は、動き検出部109により検出されたQRコード21の動きと、後述のパラメータ設定操作情報とに基づいて、これらのパラメータ候補213のなかからパラメータを選択し、このパラメータを、QRコード21から取得されたコマンド211に設定する。   The parameter setting unit 110 sets the parameters of the command 211 acquired from the QR code 21 by the command acquisition unit 108 based on the movement of the QR code 21 detected by the motion detection unit 109 and parameter setting operation information described later. To do. When a plurality of parameter candidates 213 are acquired from the QR code 21 together with the command 211 by the command acquisition unit 108, the movement of the QR code 21 detected by the movement detection unit 109, parameter setting operation information described later, Is selected from these parameter candidates 213, and this parameter is set in the command 211 acquired from the QR code 21.

ガイダンス記憶部111には、コマンド211毎に、コマンド実行に必要なパラメータの設定操作を受け付けるためのガイダンス情報が記憶されている。   The guidance storage unit 111 stores guidance information for accepting a parameter setting operation necessary for command execution for each command 211.

図4は、ガイダンス記憶部111の登録内容を模式的に表した図である。図示するように、ガイダンス記憶部111には、QRコード21に含まれる可能性のあるコマンド211毎にレコード1110が記憶されている。レコード1110は、コマンド211が登録されたフィールド1111と、コマンド211のパラメータ設定に必要な動作をユーザに行わせるためのガイダンス映像データ、ガイダンス音声データが登録されたフィールド1112、1113と、コマンド211に設定されるパラメータおよびパラメータ設定のために要求されるQRコード21の動きを規定するパラメータ設定操作情報が登録されたフィールド1114と、を有する。   FIG. 4 is a diagram schematically showing the registration contents of the guidance storage unit 111. As shown in the figure, the guidance storage unit 111 stores a record 1110 for each command 211 that may be included in the QR code 21. The record 1110 includes a field 1111 in which the command 211 is registered, fields 1112 and 1113 in which guidance video data and guidance audio data for performing an operation necessary for parameter setting of the command 211 are registered, and a command 211. And a field 1114 in which parameter setting operation information defining the movement of the QR code 21 required for parameter setting is registered.

なお、本実施の形態では、QRコード21に含まれる可能性のあるコマンド211として、ログイン認証処理を行うためのログイン認証コマンド、および任意のアクセス先に対するアクセス処理を行うためのアクセスコマンドを想定している。   In this embodiment, a login authentication command for performing login authentication processing and an access command for performing access processing for an arbitrary access destination are assumed as commands 211 that may be included in the QR code 21. ing.

ガイダンス処理部112は、コマンド取得部108によってQRコード21から取得されたコマンド211をキーにして、ガイダンス記憶部111からレコード1110を検索する。そして、検索したレコード1110のフィールド1112、1113に登録されているガイダンス映像データ、ガイダンス音声データを用いて、パラメータ設定に必要な動作を行うようにガイダンスする。また、検索したレコード1110のフィールド1114に登録されているパラメータ設定操作情報をパラメータ設定部110に渡す。   The guidance processing unit 112 searches the guidance storage unit 111 for the record 1110 using the command 211 acquired from the QR code 21 by the command acquisition unit 108 as a key. Then, the guidance video data and guidance audio data registered in the fields 1112 and 1113 of the retrieved record 1110 are used to provide guidance for performing an operation necessary for parameter setting. Further, the parameter setting operation information registered in the field 1114 of the retrieved record 1110 is passed to the parameter setting unit 110.

コマンド実行部113は、パラメータ設定部110により設定されたパラメータを用いて、コマンド取得部108よりQRコード21から取得されたコマンド211を実行する。あるいは、ネットワークIF部106を介して他の装置にコマンド211の実行を依頼する。そして、必要に応じて、その実行結果をディスプレイ102に表示したり、スピーカ103から音声出力したりする。   The command execution unit 113 executes the command 211 acquired from the QR code 21 from the command acquisition unit 108 using the parameters set by the parameter setting unit 110. Alternatively, it requests the other apparatus to execute the command 211 via the network IF unit 106. Then, if necessary, the execution result is displayed on the display 102 or the sound is output from the speaker 103.

図5は、コード読取装置1の動作を説明するためのフロー図である。このフローは、ユーザが、QRコード21の記録面を前方に向けて被写体2をコード読取装置1にかざすことにより開始される。   FIG. 5 is a flowchart for explaining the operation of the code reading device 1. This flow is started when the user holds the subject 2 over the code reading device 1 with the recording surface of the QR code 21 facing forward.

まず、コード検出部107は、カメラ101から出力された映像データに画像認識処理を施してQRコード21の検出を試みる(S101)。コード検出部107は、QRコード21を検出したならば(S101でYES)、このQRコード21の映像データを表示制御部104に渡す。これを受けて、表示制御部104は、QRコード21の映像データをディスプレイ102に表示する(S102)。   First, the code detection unit 107 performs image recognition processing on the video data output from the camera 101 and tries to detect the QR code 21 (S101). If the code detection unit 107 detects the QR code 21 (YES in S101), the code detection unit 107 passes the video data of the QR code 21 to the display control unit 104. In response to this, the display control unit 104 displays the video data of the QR code 21 on the display 102 (S102).

また、コード検出部107は、映像データから検出したQRコード21の映像データを、QRコード21の座標情報とともに、コマンド取得部108に渡す。ここで、QRコード21の座標情報には、QRコード21の三隅にある位置検出パターン214a〜214cのいずれか(例えば右下隅にある位置検出パターン214c)の映像データ上における座標情報を用いる(図3参照)。   In addition, the code detection unit 107 passes the video data of the QR code 21 detected from the video data to the command acquisition unit 108 together with the coordinate information of the QR code 21. Here, as coordinate information of the QR code 21, coordinate information on the video data of any one of the position detection patterns 214a to 214c at the three corners of the QR code 21 (for example, the position detection pattern 214c at the lower right corner) is used (see FIG. 3).

これを受けて、コマンド取得部108は、コード検出部107から受け取ったQRコード21の映像データから情報を読み取ってコマンド211および付加情報212の取得を試みる(S103)。そして、コマンド取得部108は、コマンド211および付加情報212を取得できなかったならば(S103でNO)、その旨をガイダンス処理部112に通知する。これを受けて、ガイダンス処理部112は、表示制御部104を介して、QRコード21に実行可能なコマンド211が含まれていない旨のメッセージをディスプレイ102に表示したり、音声制御部105を介してその旨の音声メッセージをスピーカ103から出力するなどの所定のエラー処理を行う(S121)。その後、このフローを終了する。   In response, the command acquisition unit 108 reads information from the video data of the QR code 21 received from the code detection unit 107 and tries to acquire the command 211 and additional information 212 (S103). If the command acquisition unit 108 cannot acquire the command 211 and the additional information 212 (NO in S103), the command acquisition unit 108 notifies the guidance processing unit 112 accordingly. In response to this, the guidance processing unit 112 displays a message on the display 102 that the executable command 211 is not included in the QR code 21 via the display control unit 104, or via the voice control unit 105. Then, predetermined error processing such as outputting a voice message to that effect from the speaker 103 is performed (S121). Thereafter, this flow is terminated.

一方、コマンド取得部108は、QRコード21からコマンド211および付加情報212を取得できたならば(S103でYES)、取得したコマンド211を解析する(S104)。そして、このコマンド211がログイン認証コマンドならば(S104で「ログイン認証」)、S105に進み、アクセスコマンドならば(S104で「アクセス」)、S111に進む。   On the other hand, if the command acquisition unit 108 can acquire the command 211 and the additional information 212 from the QR code 21 (YES in S103), the command acquisition unit 108 analyzes the acquired command 211 (S104). If the command 211 is a login authentication command (“login authentication” in S104), the process proceeds to S105. If the command 211 is an access command (“access” in S104), the process proceeds to S111.

S105において、コマンド取得部108は、ログイン認証コマンドを、付加情報212に含まれているユーザ名とともに、ガイダンス処理部112に通知する。これを受けて、ガイダンス処理部112は、表示制御部104を介して、QRコード21からログイン認証コマンドを検出した旨のメッセージを、ユーザ名ととともに、QRコード21を表示中のディスプレイ102に表示する。また、音声制御部105を介して、その旨の音声メッセージをスピーカ103から出力する。   In S <b> 105, the command acquisition unit 108 notifies the guidance processing unit 112 of the login authentication command together with the user name included in the additional information 212. In response to this, the guidance processing unit 112 displays a message indicating that the login authentication command is detected from the QR code 21 via the display control unit 104 on the display 102 displaying the QR code 21 together with the user name. To do. Further, a voice message to that effect is output from the speaker 103 via the voice control unit 105.

つぎに、ガイダンス処理部112は、ガイダンス記憶部111を参照し、フィールド1111にログイン認証コマンドが登録されているレコード1110を特定する。そして、このレコード1110のフィールド1112、1113に登録されているガイダンス映像データ、ガイダンス音声データを、それぞれ表示制御部104、音声制御部105に渡す。これを受けて、表示制御部104は、ガイダンス映像データ(例えば文字列「ログイン認証動作入力」)を、QRコード21とともにディスプレイ102に表示し、音声制御部105は、ガイダンス音声データ(例えば音声「ログイン認証動作を開始してください」)をスピーカ103から出力する(S106)。また、ガイダンス処理部112は、このレコード1110のフィールド1114に登録されているパラメータ設定操作情報をパラメータ設定部110に渡す。   Next, the guidance processing unit 112 refers to the guidance storage unit 111 and identifies the record 1110 in which the login authentication command is registered in the field 1111. Then, the guidance video data and the guidance audio data registered in the fields 1112 and 1113 of the record 1110 are transferred to the display control unit 104 and the audio control unit 105, respectively. In response to this, the display control unit 104 displays guidance video data (for example, a character string “login authentication operation input”) on the display 102 together with the QR code 21, and the voice control unit 105 displays guidance voice data (for example, voice “ Please start the login authentication operation ") from the speaker 103 (S106). The guidance processing unit 112 passes the parameter setting operation information registered in the field 1114 of the record 1110 to the parameter setting unit 110.

ユーザは、ディスプレイ102に表示されたガイダンス映像データおよびスピーカ103から出力されたガイダンス音声データに従い、QRコード21が所定の軌跡を描くように被写体2を動かして、ログイン認証処理に必要な動作を行う。   In accordance with the guidance video data displayed on the display 102 and the guidance voice data output from the speaker 103, the user moves the subject 2 so that the QR code 21 draws a predetermined locus, and performs an operation necessary for the login authentication process. .

この際、コード検出部107は、カメラ101から出力される一連の映像データから、逐次、QRコード21およびその座標情報を検出してコマンド取得部108に渡す。コマンド取得部108は、コード検出部107から逐次送られてくるQRコード21の座標情報を動き検出部109に渡す。動き検出部109は、コマンド取得部108から逐次送られてくるQRコード21の座標情報に基づいて、QRコード21の動きを検出し、この動きを表す軌跡データ24を表示制御部104に渡す。表示制御部104は、この軌跡データ24を、表示中のQRコード21、ガイダンス映像データ等とともに、ディスプレイ102に表示する(S107)。   At this time, the code detection unit 107 sequentially detects the QR code 21 and its coordinate information from a series of video data output from the camera 101 and passes them to the command acquisition unit 108. The command acquisition unit 108 passes the coordinate information of the QR code 21 sequentially transmitted from the code detection unit 107 to the motion detection unit 109. The motion detection unit 109 detects the motion of the QR code 21 based on the coordinate information of the QR code 21 sequentially sent from the command acquisition unit 108, and passes the trajectory data 24 representing this motion to the display control unit 104. The display control unit 104 displays the trajectory data 24 on the display 102 together with the QR code 21 being displayed, guidance video data, and the like (S107).

図6(A)は、ログイン認証コマンドに対するガイダンス映像データ23aの表示例を示す図である。この例では、IDカード等の被写体2のQRコード21から取得したログイン認証コマンドに対するガイダンス映像データ23aが、このQRコード21と、このQRコード21から取得した付加情報212に含まれているユーザ名25aと、このQRコード21の軌跡データ24とともにディスプレイ102に表示されている。ここで、軌跡データ24は、ディスプレイ102上におけるQRコード21の移動の軌跡として、表示中のQRコード21の座標情報との相対的な位置関係を維持するようにして表示される。   FIG. 6A is a diagram showing a display example of the guidance video data 23a for the login authentication command. In this example, the guidance video data 23 a for the login authentication command acquired from the QR code 21 of the subject 2 such as an ID card is included in the QR code 21 and the additional information 212 acquired from the QR code 21. 25a and the trajectory data 24 of the QR code 21 are displayed on the display 102. Here, the trajectory data 24 is displayed as a trajectory of movement of the QR code 21 on the display 102 so as to maintain a relative positional relationship with the coordinate information of the QR code 21 being displayed.

さて、動き検出部109は、コマンド取得部108から逐次送られてくるQRコード21の座標情報の変位が所定時間以上、所定値以下である(QRコード21が同じ位置にある)ことを検出すると(S108でYES)、それまでのQRコード21の動きを表す軌跡データ24をパラメータ設定部110に渡す。これを受けて、パラメータ設定部110は、ガイダンス処理部112から通知されたパラメータ設定操作情報に従い、QRコード21の軌跡データ24を、このQRコード21から取得したログイン認証コマンドに設定するユーザ入力の認証データ(パラメータ)に決定し、このユーザ入力の認証データをコマンド取得部108に通知する(S109)。   When the motion detection unit 109 detects that the displacement of the coordinate information of the QR code 21 sequentially sent from the command acquisition unit 108 is a predetermined time or more and a predetermined value or less (the QR code 21 is in the same position). (YES in S108), the trajectory data 24 representing the movement of the QR code 21 so far is passed to the parameter setting unit 110. In response to this, the parameter setting unit 110 sets the trajectory data 24 of the QR code 21 in the login authentication command acquired from the QR code 21 according to the parameter setting operation information notified from the guidance processing unit 112. The authentication data (parameter) is determined, and the authentication data input by the user is notified to the command acquisition unit 108 (S109).

つぎに、コマンド取得部108は、コマンド実行部113に、パラメータ設定部110より通知されたユーザ入力の認証データと、QRコード21から取得した付加情報212に含まれているユーザ名25aとを通知して、ログイン認証コマンドの実行を依頼する。これを受けて、コマンド実行部113は、このユーザ入力の認証データと、予めユーザ名25aに対応付けられて登録されている認証データとを比較・検証して、ユーザ名25aに対するログイン認証処理を実行する(S110)。そして、その認証結果(ログイン可否)を、表示制御部104を介してディスプレイ102に表示したり、音声制御部105を介してスピーカ103から音声出力したりした後、このフローを終了する。   Next, the command acquisition unit 108 notifies the command execution unit 113 of the user input authentication data notified from the parameter setting unit 110 and the user name 25 a included in the additional information 212 acquired from the QR code 21. And request execution of the login authentication command. In response to this, the command execution unit 113 compares and verifies the authentication data input by the user and the authentication data registered in advance in association with the user name 25a, and performs login authentication processing for the user name 25a. Execute (S110). Then, the authentication result (login permission / inhibition) is displayed on the display 102 via the display control unit 104 or output from the speaker 103 via the audio control unit 105, and then this flow is terminated.

一方、S111において、コマンド取得部108は、アクセスコマンドを、付加情報212に含まれている相手情報とともに、ガイダンス処理部112に通知する。これを受けて、ガイダンス処理部112は、表示制御部104を介して、QRコード21からアクセスコマンドを検出した旨のメッセージを、相手情報ととともに、QRコード21を表示中のディスプレイ102に表示する。また、音声制御部105を介して、その旨の音声メッセージをスピーカ103から出力する。   On the other hand, in S111, the command acquisition unit 108 notifies the guidance processing unit 112 of the access command together with the partner information included in the additional information 212. In response to this, the guidance processing unit 112 displays, via the display control unit 104, a message indicating that the access command is detected from the QR code 21 together with the partner information on the display 102 that is displaying the QR code 21. . Further, a voice message to that effect is output from the speaker 103 via the voice control unit 105.

つぎに、コマンド取得部108は、複数のアクセス先候補(パラメータ候補213)の情報をQRコード21から取得する。そして、これらのアクセス先候補の情報をガイダンス処理部112に通知する。これを受けて、ガイダンス処理部112は、表示制御部104を介して、これらのアクセス先候補の情報を、QRコード21を表示中のディスプレイ102に表示する(S112)。   Next, the command acquisition unit 108 acquires information on a plurality of access destination candidates (parameter candidates 213) from the QR code 21. Then, the guidance processing unit 112 is notified of information on these access destination candidates. Receiving this, the guidance processing unit 112 displays the information of these access destination candidates on the display 102 displaying the QR code 21 via the display control unit 104 (S112).

つぎに、ガイダンス処理部112は、ガイダンス記憶部111を参照し、フィールド1111にアクセスコマンドが登録されているレコード1110を特定する。そして、このレコード1110のフィールド1112、1113に登録されているガイダンス映像データ、ガイダンス音声データを、それぞれ表示制御部104、音声制御部105に渡す。これを受けて、表示制御部104は、ガイダンス映像データ(例えば文字列「アクセス先選択」、および、カーソル移動、決定、取消し等のアクセス先選択に必要な各操作に対応するQRコード21の動きを説明するための標示等の表記)を、QRコード21とともにディスプレイ102に表示し、音声制御部105は、ガイダンス音声データ(例えば「アクセス先を選択してください」)をスピーカ103から出力する(S113)。また、ガイダンス処理部112は、このレコード1110のフィールド1114に登録されているパラメータ設定操作情報をパラメータ設定部110に渡す。   Next, the guidance processing unit 112 refers to the guidance storage unit 111 and identifies the record 1110 in which the access command is registered in the field 1111. Then, the guidance video data and the guidance audio data registered in the fields 1112 and 1113 of the record 1110 are transferred to the display control unit 104 and the audio control unit 105, respectively. In response to this, the display control unit 104 moves the guidance video data (for example, the character string “access destination selection” and the movement of the QR code 21 corresponding to each operation necessary for access destination selection such as cursor movement, determination, and cancellation. Is displayed on the display 102 together with the QR code 21, and the voice control unit 105 outputs guidance voice data (for example, “select an access destination”) from the speaker 103 ( S113). The guidance processing unit 112 passes the parameter setting operation information registered in the field 1114 of the record 1110 to the parameter setting unit 110.

図6(B)は、アクセスコマンドに対するガイダンス映像データの表示例を示す図である。この例では、名刺、はがき等の被写体2のQRコード21から取得したアクセスコマンドに対するガイダンス映像データ23c〜23gが、このQRコード21と、このQRコード21から取得した付加情報212に含まれている相手情報25bと、このQRコード21から取得した複数のアクセス先候補26と、アクセス先候補26の指定に用いるカーソル27とともに、ディスプレイ102に表示されている。ここで、ガイダンス映像データ23d〜23gは、カーソル移動、決定、取消し等のアクセス先選択に必要な各操作に対応するQRコード21の動きを説明するための表記データであり、それぞれのガイダンス映像データ23d〜23gの属性情報に記述されたルールに従い、表示中のQRコード21の周辺に表示される。例えば、ガイダンス映像データ23d〜23gは、ユーザが被写体2を現在の位置から移動させるべき方向を、表示中のQRコード21との位置関係により一見して把握可能な位置に表示される。   FIG. 6B is a diagram showing a display example of guidance video data for an access command. In this example, guidance video data 23c to 23g for an access command acquired from the QR code 21 of the subject 2 such as a business card or a postcard are included in the QR code 21 and the additional information 212 acquired from the QR code 21. The other party information 25b, a plurality of access destination candidates 26 obtained from the QR code 21, and a cursor 27 used to specify the access destination candidate 26 are displayed on the display 102. Here, the guidance video data 23d to 23g are notation data for explaining the movement of the QR code 21 corresponding to each operation necessary for the access destination selection such as cursor movement, determination, cancellation, etc. In accordance with the rules described in the attribute information 23d to 23g, it is displayed around the QR code 21 being displayed. For example, the guidance video data 23d to 23g are displayed at positions where the user should be able to grasp at a glance the direction in which the user should move the subject 2 from the current position based on the positional relationship with the QR code 21 being displayed.

ユーザは、ディスプレイ102に表示されたガイダンス映像データ23c〜23gおよびスピーカ103から出力されるガイダンス音声データに従い、被写体2を動かして、アクセス先選択に必要な動作を行う。   The user moves the subject 2 according to the guidance video data 23c to 23g displayed on the display 102 and the guidance voice data output from the speaker 103, and performs an operation necessary for selecting an access destination.

この際、コード検出部107は、カメラ101から出力される一連の映像データから、逐次、QRコード21およびその座標情報を検出してコマンド取得部108に渡す。コマンド取得部108は、コード検出部107から逐次送られてくるQRコード21の座標情報を動き検出部109に渡す。動き検出部109は、コマンド取得部108から逐次送られてくるQRコード21の座標情報に基づいて、QRコード21の動きを検出する(S114)。   At this time, the code detection unit 107 sequentially detects the QR code 21 and its coordinate information from a series of video data output from the camera 101 and passes them to the command acquisition unit 108. The command acquisition unit 108 passes the coordinate information of the QR code 21 sequentially transmitted from the code detection unit 107 to the motion detection unit 109. The motion detection unit 109 detects the motion of the QR code 21 based on the coordinate information of the QR code 21 sequentially sent from the command acquisition unit 108 (S114).

つぎに、動き検出部109は、コマンド取得部108から逐次送られてくるQRコード21の座標情報の変位が所定時間以上、所定値以下である(QRコード21が同じ位置にある)ことを検出すると(S115でYES)、それまでのQRコード21の動きを表す軌跡データ24をパラメータ設定部110に渡す。これを受けて、パラメータ設定部110は、ガイダンス処理部112から通知されたパラメータ設定操作情報に従い、軌跡データ24が表すQRコード21の動きが、アクセス先選択のためのいずれの操作に該当するかを解析する(S116)。   Next, the motion detection unit 109 detects that the displacement of the coordinate information of the QR code 21 sequentially sent from the command acquisition unit 108 is a predetermined time or more and a predetermined value or less (the QR code 21 is in the same position). Then (YES in S115), the trajectory data 24 representing the movement of the QR code 21 so far is passed to the parameter setting unit 110. In response to this, the parameter setting unit 110 corresponds to which operation for selecting the access destination the movement of the QR code 21 represented by the trajectory data 24 according to the parameter setting operation information notified from the guidance processing unit 112. Is analyzed (S116).

本実施の形態では、軌跡データ24が表すQRコード21の動きが「上移動」あるいは「下移動」の場合(S116で「上下」)、パラメータ設定部110は、ガイダンス処理部112に、ディスプレイ102に表示中のカーソル27の上移動あるいは下移動を指示する。これを受けて、ガイダンス処理部112は、表示制御部104を介して、ディスプレイ102に表示中のカーソル27が指示しているアクセス先候補26の一つ上のアクセス先候補26、あるいは一つ下のアクセス先候補26を指示するように、カーソル27の表示位置を変更する(S117)。その後、S114に戻る。   In the present embodiment, when the movement of the QR code 21 represented by the trajectory data 24 is “upward movement” or “downward movement” (“up / down” in S116), the parameter setting unit 110 displays the display 102 on the guidance processing unit 112. Is instructed to move the cursor 27 being displayed upward or downward. In response to this, the guidance processing unit 112, via the display control unit 104, accesses the access destination candidate 26 that is one above the access destination candidate 26 indicated by the cursor 27 being displayed on the display 102, or one below. The display position of the cursor 27 is changed so as to indicate the access destination candidate 26 (S117). Thereafter, the process returns to S114.

また、軌跡データ24が表すQRコード21の動きが「右移動」の場合(S116で「右」)、パラメータ設定部110は、コマンド取得部108およびガイダンス処理部112に、取消しを指示する。これを受けて、ガイダンス処理部112は、表示制御部104を介してディスプレイ102に、取消し操作を行われた旨のメッセージを表示したり、音声制御部105を介してその旨の音声メッセージを出力したりする。また、コマンド取得部108は、QRコード21から取得したアクセスコマンドの取消し処理を行う(S118)。その後、このフローを終了する。   If the movement of the QR code 21 represented by the trajectory data 24 is “move right” (“right” in S116), the parameter setting unit 110 instructs the command acquisition unit 108 and the guidance processing unit 112 to cancel. In response to this, the guidance processing unit 112 displays a message indicating that the cancel operation has been performed on the display 102 via the display control unit 104 or outputs a voice message indicating that via the voice control unit 105. To do. Further, the command acquisition unit 108 performs a cancel process for the access command acquired from the QR code 21 (S118). Thereafter, this flow is terminated.

また、軌跡データ24が表すQRコード21の動きが「左移動」の場合(S116で「左」)、パラメータ設定部110は、ディスプレイ102に表示中のカーソル27が指示しているアクセス先候補26を、このQRコード21から取得したアクセスコマンドに設定するアクセス先のアドレス情報(パラメータ)に決定し、このアドレス情報をコマンド取得部108に通知する(S119)。   Further, when the movement of the QR code 21 represented by the trajectory data 24 is “left shift” (“left” in S116), the parameter setting unit 110 indicates the access destination candidate 26 indicated by the cursor 27 being displayed on the display 102. Is determined as the address information (parameter) of the access destination set in the access command acquired from this QR code 21, and this address information is notified to the command acquisition unit 108 (S119).

つぎに、コマンド取得部108は、コマンド実行部113に、パラメータ設定部110より通知されたアドレス情報を通知して、アクセスコマンドの実行を依頼する。これを受けて、コマンド実行部113は、このアドレス情報に対するアクセス処理を実行する(S120)。具体的には、アドレス情報が電話番号、携帯電話番号の場合は、ネットワークIF部106を介して、本コード読取装置1に接続されている図示していない電話端末に、この電話番号により特定される相手端末への発信処理を実行させる。また、アドレス情報がURLの場合は、このURLにより特定されるWEBページへのアクセス処理を実行する。そして、その実行結果を、表示制御部104を介してディスプレイ102に表示したり、音声制御部105を介してスピーカ103から音声出力したりした後、このフローを終了する。   Next, the command acquisition unit 108 notifies the command execution unit 113 of the address information notified from the parameter setting unit 110 and requests execution of the access command. In response to this, the command execution unit 113 executes access processing for this address information (S120). Specifically, when the address information is a telephone number or a mobile phone number, the telephone number (not shown) connected to the code reader 1 is specified by this telephone number via the network IF unit 106. The call processing to the other terminal is executed. When the address information is a URL, an access process to the WEB page specified by this URL is executed. Then, the execution result is displayed on the display 102 via the display control unit 104 or output from the speaker 103 via the audio control unit 105, and then this flow is terminated.

以上、本発明の一実施の形態について説明した。   The embodiment of the present invention has been described above.

本実施の形態のコード読取装置1は、被写体2の映像データに画像認識処理を施してQRコード21を検出し、このQRコード21からコマンド211を取得するとともに、一連の被写体2の映像データから検出したQRコード21の動きに基づいてパラメータを特定する。そして、取得したコマンド211に、この特定したパラメータを設定する。   The code reading device 1 according to the present embodiment performs image recognition processing on the video data of the subject 2 to detect the QR code 21, acquires a command 211 from the QR code 21, and acquires a series of video data of the subject 2. A parameter is specified based on the detected movement of the QR code 21. Then, the specified parameter is set in the acquired command 211.

したがって、本実施の形態によれば、ユーザは、QRコード21が記録された被写体2をコード読取装置1にかざして、この被写体2に所定の動きを与えることにより、キーボード、タッチパネル等の入力装置を用いることなく、QRコード21から取得されたコマンド211に所望のパラメータを設定することができる。   Therefore, according to the present embodiment, the user holds the subject 2 on which the QR code 21 is recorded over the code reading device 1 and gives the subject 2 a predetermined movement, whereby an input device such as a keyboard or a touch panel is provided. A desired parameter can be set in the command 211 acquired from the QR code 21 without using.

また、本実施の形態のコード読取装置1は、一連の被写体2の映像データから検出したQRコード21の動きを表す軌跡データ24をパラメータとして、このQRコード21から取得したコマンド211に設定することができる。このため、例えば、IDカード等に格納されるログイン認証コマンドのように、ユーザ毎に異なるパラメータ(認証データ)が設定されるコマンドに対しても、パラメータを設定することができる。また、例えば、異なる認証データが複数のコード読取装置1に設定されている場合でも、ユーザは、それらのコード読取装置1のいずれにも共通のIDカード等の被写体2を用いてログインすることができる。   In addition, the code reading device 1 according to the present embodiment sets the trajectory data 24 representing the movement of the QR code 21 detected from a series of video data of the subject 2 as a parameter to the command 211 acquired from the QR code 21. Can do. Therefore, for example, a parameter can be set for a command in which a different parameter (authentication data) is set for each user, such as a login authentication command stored in an ID card or the like. Further, for example, even when different authentication data is set in a plurality of code readers 1, the user can log in to the code readers 1 using the subject 2 such as a common ID card. it can.

また、本実施の形態のコード読取装置1は、一連の被写体2の映像データから検出したQRコード21の動きを表す軌跡データ24を、このQRコード21とともにディスプレイ102に表示することができるので、ユーザは、QRコード21の動きを確認しながら被写体2を動かすことが可能となり、パラメータの設定操作が容易になる。   In addition, the code reading device 1 according to the present embodiment can display the trajectory data 24 representing the movement of the QR code 21 detected from the video data of the subject 2 on the display 102 together with the QR code 21. The user can move the subject 2 while confirming the movement of the QR code 21, and the parameter setting operation is facilitated.

また、本実施の形態のコード読取装置1は、複数のパラメータ候補213がコマンド211とともにQRコード21に記憶されている場合、このQRコード21からコマンド211および複数のパラメータ候補213を取得してディスプレイ102に表示するとともに、一連の被写体2の映像データから検出したQRコード21の動きに基づき、ディスプレイ102に表示中の複数のパラメータ候補213のなかからパラメータを選択し、このパラメータをコマンド211に設定することができる。このため、例えば、アクセス先のアドレス情報として複数のパラメータ候補をアクセスコマンドとともに、名刺、はがき等のQRコード21に記憶しておくことで、1つのQRコード21を利用した複数のアクセス先へのアクセス処理が可能となる。   In addition, when a plurality of parameter candidates 213 are stored in the QR code 21 together with the command 211, the code reading apparatus 1 according to the present embodiment acquires the command 211 and the plurality of parameter candidates 213 from the QR code 21 and displays them. 102, and a parameter is selected from a plurality of parameter candidates 213 currently displayed on the display 102 based on the movement of the QR code 21 detected from the video data of the subject 2 in series, and this parameter is set in the command 211. can do. Therefore, for example, by storing a plurality of parameter candidates as access destination address information together with an access command in a QR code 21 such as a business card or a postcard, a plurality of access destinations using one QR code 21 can be accessed. Access processing is possible.

また、本実施の形態のコード読取装置1は、QRコード21に含まれる可能性のあるコマンド211毎に、このコマンド211の実行に必要なパラメータの設定操作を受け付けるためのガイダンス情報を記憶しており、QRコード21から取得したコマンド211のガイダンス情報に従い、ディスプレイ102およびスピーカ103を用いて、パラメータ設定操作のためのガイダンスを行う。このため、コマンド211毎に、パラメータ設定のためのQRコード21の動きを自由に決めることができ、使い勝手が向上する。   In addition, the code reading device 1 according to the present embodiment stores guidance information for accepting a parameter setting operation necessary for executing the command 211 for each command 211 that may be included in the QR code 21. In accordance with the guidance information of the command 211 acquired from the QR code 21, guidance for parameter setting operation is performed using the display 102 and the speaker 103. For this reason, the movement of the QR code 21 for parameter setting can be freely determined for each command 211, and the usability is improved.

なお、本発明は上記の実施の形態に限定されるものではなく、その要旨の範囲内で数々の変形が可能である。   In addition, this invention is not limited to said embodiment, Many deformation | transformation are possible within the range of the summary.

例えば、上記の実施の形態では、QRコード21に含まれる可能性のあるコマンド211として、ログイン認証コマンドおよびアクセスコマンドの2種類を想定しているが、本発明はこれに限定されない。ログイン認証処理、アクセス処理以外の処理の実行を指示する他のコマンドがQRコード21に含まれていてもよい。   For example, in the above-described embodiment, two types of the login authentication command and the access command are assumed as the commands 211 that may be included in the QR code 21, but the present invention is not limited to this. Other commands that instruct execution of processing other than login authentication processing and access processing may be included in the QR code 21.

また、上記の実施の形態では、QRコード21から取得したコマンド211をコード読取装置1が自ら実行するか、あるいは図示していない電話端末に実行させているが、有線LAN、無線LAN等のネットワークを介して接続されたサーバ等のその他の情報処理装置にコマンド211を実行させるようにしてもよい。   In the above embodiment, the code reader 1 executes the command 211 acquired from the QR code 21 or causes the telephone terminal (not shown) to execute it. However, a network such as a wired LAN or a wireless LAN is used. The command 211 may be executed by another information processing apparatus such as a server connected via the server.

また、上記の実施の形態では、QRコード21の座標情報として、映像上における、QRコード21の三隅にある位置検出パターン214a〜214cのうちの一つの座標情報を用いることで、QRコード21の移動をQRコード21の動きとして検出しているが、本発明はこれに限定されない。QRコード21の座標情報として、QRコード21のすべての位置検出パターン214a〜214cの座標情報を用いて、各位置検出パターン214a〜214cの相対的な位置関係をも解析することにより、QRコード21の移動に加えて、QRコード21の傾きや遠近も、QRコード21の動きとして検出できるようにしてもよい。   In the above-described embodiment, as the coordinate information of the QR code 21, one coordinate information of the position detection patterns 214a to 214c at the three corners of the QR code 21 on the video is used. Although the movement is detected as the movement of the QR code 21, the present invention is not limited to this. By using the coordinate information of all the position detection patterns 214a to 214c of the QR code 21 as the coordinate information of the QR code 21, by analyzing the relative positional relationship of the position detection patterns 214a to 214c, the QR code 21 is also analyzed. In addition to the movement, the inclination and perspective of the QR code 21 may be detected as the movement of the QR code 21.

また、上記の実施の形態では、被写体2にQRコード21が記録されている場合を例にとり説明しているが、本発明はこれに限定されない。QRコード21以外の一次元バーコード、二次元バーコード等のコードシンボルにも、本発明は同様に適用できる。   In the above embodiment, the case where the QR code 21 is recorded on the subject 2 is described as an example, but the present invention is not limited to this. The present invention can be similarly applied to code symbols other than the QR code 21 such as a one-dimensional barcode and a two-dimensional barcode.

また、上記の実施の形態において、図2に示すコード読取装置1の機能構成は、ASIC(Application Specific Integrated Circuit)、およびFPGA(Field Programmable Gate Array)などの集積ロジックICによりハード的に実現されるものでもよいし、あるいは、DSP(Digital Signal Processor)などの計算機によりソフトウエア的に実現されるものでもよい。もしくは、CPU、メモリ、HDD、DVD−ROM等の補助記憶装置、およびNIC(Network Interface Card)、モデム等の通信インターフェースを備えたPC(Personal Computer)、PDA(Personal Digital Assinstant)、タブレット端末等の汎用コンピュータにおいて、CPUが所定のプログラムを補助記憶装置からメモリ上にロードして実行することで実現されるものでもよい。   In the above embodiment, the functional configuration of the code reading device 1 shown in FIG. 2 is realized by an integrated logic IC such as an application specific integrated circuit (ASIC) and a field programmable gate array (FPGA). It may be a thing, or may be realized by software by a computer such as a DSP (Digital Signal Processor). Or, an auxiliary storage device such as a CPU, memory, HDD, DVD-ROM, NIC (Network Interface Card), PC (Personal Computer) equipped with a communication interface such as a modem, PDA (Personal Digital Assistant), tablet terminal, etc. In a general-purpose computer, the CPU may be realized by loading a predetermined program from an auxiliary storage device onto a memory and executing it.

1:コード読取装置、2:被写体、21:QRコード、101:カメラ、102:ディスプレイ、103:スピーカ、104:表示制御部、105:音声制御部、106:ネットワークIF部、107:コード検出部、108:コマンド取得部、109:動き検出部、110:パラメータ設定部、111:ガイダンス記憶部、112:ガイダンス処理部、113:コマンド実行部   1: Code reading device, 2: Subject, 21: QR code, 101: Camera, 102: Display, 103: Speaker, 104: Display control unit, 105: Audio control unit, 106: Network IF unit, 107: Code detection unit 108: Command acquisition unit 109: Motion detection unit 110: Parameter setting unit 111: Guidance storage unit 112: Guidance processing unit 113: Command execution unit

Claims (4)

コードシンボルを読み取ってコマンドを取得するコード読取装置であって、
被写体を撮像して映像データを出力する撮像手段と、
前記撮像手段より出力された一連の映像データに画像認識処理を施して、当該一連の映像データから前記コードシンボルおよび前記コードシンボルの座標情報を逐次検出するコード検出手段と
前記コード検出手段により検出された前記コードシンボルから前記コマンドおよび付加情報を取得するコマンド取得手段と、
前記コード検出手段により逐次検出される前記コードシンボルの座標情報に基づいて、前記コードシンボルの動きを検出する動き検出手段と、
前記コード検出手段より検出された前記コードシンボルを、前記コマンド取得手段により取得された前記付加情報および前記動き検出手段により検出された前記コードシンボルの動きを表す軌跡データとともに表示する表示手段と、
前記動き検出手段により検出された前記コードシンボルの動きに基づいて、前記コマンド取得手段により取得された前記コマンドのパラメータを設定するパラメータ設定手段と、を有し、
前記動き検出手段は、
前記コード検出手段により逐次検出される前記コードシンボルの座標情報の変位量が、所定時間以上、所定値以下となった場合に、それまでに前記コード検出手段により前記一連の映像データから逐次検出された前記コードシンボルの座標情報により特定される前記コードシンボルの動きを表す軌跡データを前記パラメータ設定手段に渡し、
前記表示手段は、
前記コード検出手段により逐次検出される前記コードシンボルの座標情報の変位量が、所定時間以上、所定値以下となった場合に、それ以降に前記コード検出手段により前記一連の映像データから逐次検出される前記コードシンボルの座標情報により特定される前記コードシンボルの動きを表す軌跡データを表示せず、
前記パラメータ設定手段は、
前記動き検出手段より受け取った前記コードシンボルの動きを表す軌跡データを、パラメータとして、前記コマンド取得手段により取得されたコマンドに設定する
ことを特徴とするコード読取装置。
A code reader that reads a code symbol to obtain a command,
Imaging means for imaging a subject and outputting video data;
Code detection means for performing image recognition processing on a series of video data output from the imaging means, and sequentially detecting the code symbols and the coordinate information of the code symbols from the series of video data ;
A command acquiring means for acquiring the command and additional information from the code symbol that is detected by said code detecting means,
Motion detecting means for detecting the movement of the code symbol based on the coordinate information of the code symbol sequentially detected by the code detecting means;
Display means for displaying the code symbol detected by the code detection means together with the additional information acquired by the command acquisition means and trajectory data representing the movement of the code symbol detected by the motion detection means;
Based on the motion of the code symbol that is detected by the motion detection means, have a, and a parameter setting means for setting a parameter of the command acquired by the command acquisition unit,
The motion detection means includes
When the displacement amount of the coordinate information of the code symbol sequentially detected by the code detection means becomes a predetermined time or more and a predetermined value or less, the code detection means sequentially detects from the series of video data until then. The trajectory data representing the movement of the code symbol specified by the coordinate information of the code symbol is passed to the parameter setting means,
The display means includes
When the displacement amount of the coordinate information of the code symbol sequentially detected by the code detecting means becomes a predetermined time or more and a predetermined value or less, it is sequentially detected from the series of video data by the code detecting means thereafter. Without displaying trajectory data representing the movement of the code symbol specified by the coordinate information of the code symbol,
The parameter setting means includes
A code reading apparatus , wherein trajectory data representing the movement of the code symbol received from the movement detecting unit is set as a parameter to a command acquired by the command acquiring unit .
コードシンボルを読み取ってコマンドを取得するコード読取装置であって、
被写体を撮像して映像データを出力する撮像手段と、
前記撮像手段より出力された一連の映像データに画像認識処理を施して、当該一連の映像データから前記コードシンボルおよび前記コードシンボルの座標情報を逐次検出するコード検出手段と、
前記コード検出手段により検出された前記コードシンボルから前記コマンドおよび複数のパラメータ候補を取得するコマンド取得手段と、
前記コード検出手段より検出された前記コードシンボル、前記コマンド取得手段により取得された前記複数のパラメータ候補、および前記パラメータ候補の指定に用いるカーソルを表示する表示手段と、
前記コード検出手段により逐次検出される前記コードシンボルの座標情報の変位量が、所定時間以上、所定値以下となった場合に、それまでに前記コード検出手段により前記一連の映像データから逐次検出された前記コードシンボルの座標情報により特定される前記コードシンボルの動きを検出する動き検出手段と、
前記動き検出手段により検出された前記コードシンボルの動きに基づいて、前記表示手段に表示されている前記複数のパラメータ候補のなかからパラメータを選択し、当該パラメータを前記コマンド取得手段により取得されたコマンドに設定するパラメータ設定手段と、を有し、
前記パラメータ設定手段は、
前記動き検出手段により検出された前記コードシンボルの動きに予め対応付けられた操作がカーソル移動である場合、前記表示手段に表示されている前記カーソルを移動して、当該カーソルが指定するパラメータ候補を変更し、当該操作が決定である場合、前記表示手段に表示されている前記カーソルが指定するパラメータ候補をパラメータとして選択する
ことを特徴とするコード読取装置。
A code reader that reads a code symbol to obtain a command ,
Imaging means for imaging a subject and outputting video data;
Code detection means for performing image recognition processing on a series of video data output from the imaging means, and sequentially detecting the code symbols and the coordinate information of the code symbols from the series of video data;
Command acquisition means for acquiring the command and a plurality of parameter candidates from the code symbol detected by the code detection means;
Display means for displaying the code symbol detected by the code detection means, the plurality of parameter candidates acquired by the command acquisition means, and a cursor used for designating the parameter candidates;
When the displacement amount of the coordinate information of the code symbol sequentially detected by the code detection means becomes a predetermined time or more and a predetermined value or less, the code detection means sequentially detects from the series of video data until then. Motion detecting means for detecting the movement of the code symbol specified by the coordinate information of the code symbol;
Based on the movement of the code symbol detected by the movement detection means, a parameter is selected from the plurality of parameter candidates displayed on the display means, and the parameter is acquired by the command acquisition means. Parameter setting means for setting to
The parameter setting means includes
When the operation previously associated with the movement of the code symbol detected by the movement detecting unit is a cursor movement, the cursor displayed on the display unit is moved, and parameter candidates designated by the cursor are selected. A code reading device that changes and selects a parameter candidate designated by the cursor displayed on the display means as a parameter when the operation is a decision .
コード読取装置により、コードシンボルが記録された被写体を撮像してコマンドを取得するコマンド取得方法であって、
前記被写体を撮像することにより得られる一連の映像データに画像認識処理を施して、当該一連の映像データから前記コードシンボルおよび前記コードシンボルの座標情報逐次検出し、
出された前記コードシンボルからコマンドおよび付加情報を取得し、
逐次検出される前記コードシンボルの座標情報に基づいて、前記コードシンボルの動きを検出し、
検出された前記コードシンボルを、取得された前記付加情報および検出された前記コードシンボルの動きを表す軌跡データとともに表示し、
逐次検出される前記コードシンボルの座標情報の変位量が、所定時間以上、所定値以下となった場合に、それ以降に前記一連の映像データから逐次検出される前記コードシンボルの座標情報により特定される前記コードシンボルの動きを表す軌跡データを表示せずに、それまでに前記一連の映像データから逐次検出された前記コードシンボルの座標情報により特定される前記コードシンボルの動きを表す軌跡データを、パラメータとして、前記コードシンボルから取得されたコマンドに設定する
ことを特徴とするコマンド取得方法。
A command acquisition method for acquiring a command by imaging a subject on which a code symbol is recorded by a code reader,
Image recognition processing is performed on a series of video data obtained by imaging the subject , and the code symbol and the coordinate information of the code symbol are sequentially detected from the series of video data,
Get commands and additional information from the search out the said code symbol,
Detecting the movement of the code symbol based on the coordinate information of the code symbol detected sequentially ;
Displaying the detected code symbol together with the acquired additional information and trajectory data representing the detected movement of the code symbol;
When the amount of displacement of the coordinate information of the code symbol that is sequentially detected is not less than a predetermined value for a predetermined time or longer, it is specified by the coordinate information of the code symbol that is sequentially detected from the series of video data thereafter. Without displaying the locus data representing the movement of the code symbol, the locus data representing the movement of the code symbol specified by the coordinate information of the code symbol sequentially detected from the series of video data until then, A command acquisition method , wherein the command is set as a parameter acquired from the code symbol .
コード読取装置により、コードシンボルが記録された被写体を撮像してコマンドを取得するコマンド取得方法であって、A command acquisition method for acquiring a command by imaging a subject on which a code symbol is recorded by a code reader,
前記被写体を撮像することにより得られる一連の映像データに画像認識処理を施して、当該一連の映像データから前記コードシンボルおよび前記コードシンボルの座標情報を検出し、  Image recognition processing is performed on a series of video data obtained by imaging the subject, and the code symbols and the coordinate information of the code symbols are detected from the series of video data,
検出された前記コードシンボルから前記コマンドおよび複数のパラメータ候補を取得し、  Obtaining the command and a plurality of parameter candidates from the detected code symbol;
検出された前記コードシンボル、前記コードシンボルから取得された複数のパラメータ候補、および、前記パラメータ候補の指定に用いられるカーソルを表示し、  Displaying the detected code symbol, a plurality of parameter candidates obtained from the code symbol, and a cursor used to specify the parameter candidate;
逐次検出される前記コードシンボルの座標情報の変位量が、所定時間以上、所定値以下となった場合に、それまでに前記一連の映像データから逐次検出された前記コードシンボルの座標情報により特定される前記コードシンボルの動きを検出し、  When the displacement amount of the coordinate information of the code symbol that is sequentially detected is not less than a predetermined value for a predetermined time or longer, it is specified by the coordinate information of the code symbol that has been sequentially detected from the series of video data so far. Detecting the movement of the code symbol,
検出された前記コードシンボルの動きに予め対応付けられた操作がカーソル移動である場合、表示されている前記カーソルを移動して、当該カーソルが指定するパラメータ候補を変更し、当該操作が決定である場合、表示されている前記カーソルが指定するパラメータ候補をパラメータとして選択し、  When the operation previously associated with the detected movement of the code symbol is a cursor movement, the displayed cursor is moved, the parameter candidate designated by the cursor is changed, and the operation is determined. If the parameter candidate specified by the displayed cursor is selected as a parameter,
前記複数のパラメータ候補のなかから選択されたパラメータを、前記コードシンボルから取得されたコマンドに設定する  A parameter selected from the plurality of parameter candidates is set in a command acquired from the code symbol.
ことを特徴とするコマンド取得方法。  A command acquisition method characterized by that.
JP2011074745A 2011-03-30 2011-03-30 Code reader and command acquisition method Expired - Fee Related JP5614355B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011074745A JP5614355B2 (en) 2011-03-30 2011-03-30 Code reader and command acquisition method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011074745A JP5614355B2 (en) 2011-03-30 2011-03-30 Code reader and command acquisition method

Publications (2)

Publication Number Publication Date
JP2012208796A JP2012208796A (en) 2012-10-25
JP5614355B2 true JP5614355B2 (en) 2014-10-29

Family

ID=47188452

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011074745A Expired - Fee Related JP5614355B2 (en) 2011-03-30 2011-03-30 Code reader and command acquisition method

Country Status (1)

Country Link
JP (1) JP5614355B2 (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10127724B2 (en) * 2013-01-04 2018-11-13 Vuezr, Inc. System and method for providing augmented reality on mobile devices
EP2976710A4 (en) * 2013-03-20 2016-10-26 Lg Electronics Inc Mobile device and method for controlling the same
US8704939B1 (en) * 2013-03-20 2014-04-22 Lg Electronics Inc. Mobile device and method for controlling the same
US8866953B2 (en) 2013-03-20 2014-10-21 Lg Electronics Inc. Mobile device and method for controlling the same
FR3007543A1 (en) * 2013-06-25 2014-12-26 France Telecom TECHNIQUE FOR ENTRYING A CONTROL USING A PORTABLE DEVICE
CN104463593B (en) * 2013-09-18 2018-06-19 曲立东 Label data application process and device
EP3178034B1 (en) 2014-08-08 2021-02-24 Intel Corporation Qr image based device management
JP6874539B2 (en) * 2017-06-01 2021-05-19 株式会社デンソーウェーブ Entry / exit management device and entry / exit management system
FI130829B1 (en) * 2019-01-02 2024-04-12 Procemex Oy Ltd A method of using a machine-readable code for instructing camera for detecting and monitoring objects
JP2020126447A (en) * 2019-02-05 2020-08-20 富士通フロンテック株式会社 Reader, program and reading system

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3819911B2 (en) * 2004-03-18 2006-09-13 株式会社ソニー・コンピュータエンタテインメント Entertainment equipment
JP2008501490A (en) * 2006-08-02 2008-01-24 健治 吉田 Information output device, medium, and information input / output device
JP2009301118A (en) * 2008-06-10 2009-12-24 Toshiba Corp Material information retrieval display device and program
JP5540587B2 (en) * 2009-07-02 2014-07-02 カシオ計算機株式会社 Bar code analyzing apparatus and program

Also Published As

Publication number Publication date
JP2012208796A (en) 2012-10-25

Similar Documents

Publication Publication Date Title
JP5614355B2 (en) Code reader and command acquisition method
KR102001218B1 (en) Method and device for providing information regarding the object
US8094242B2 (en) Object management apparatus, mobile terminal, and object management method
KR102157327B1 (en) Apparatas and method for converting image form of object to text form of object in an electronic device
JP5989347B2 (en) Portable terminal, portable terminal control program, and display system including portable terminal
JP5963730B2 (en) Communication system and communication apparatus
JP2014215752A (en) Electronic equipment and method for processing handwritten data
JP2013025756A (en) Image processor, control method and control program
JP5866796B2 (en) Information processing apparatus, information processing method, and computer program
JP2010074682A (en) Image processing system, image processing apparatus, method of storing image data, and program for storing image data
JP2012205056A (en) Information processing apparatus, image reading apparatus, file upload system, and program
JP2015158900A (en) Information processing device, information processing method and information processing program
US9197768B2 (en) Cooperation system, mobile information device, cooperation processing method, and non-transitory computer-readable recording medium encoded with cooperation processing program
JP5589309B2 (en) Display control apparatus, image processing apparatus, and program
US20120242683A1 (en) Computer readable recording medium, information processing terminal device, and control method of information processing terminal device
JP2012156793A (en) Information terminal, data managing method, associated definition data and program
JP5879889B2 (en) Image processing apparatus, linkage method, and linkage program
JP5605333B2 (en) Image processing apparatus, control method, and control program
US10909376B2 (en) Information processing apparatus, information processing system, and non-transitory computer readable medium storing program
JP4838655B2 (en) Document creation support apparatus and document creation support method
JP6222541B2 (en) Image processing apparatus and program
JP2010244211A (en) Information input device and information input method
JP6251327B2 (en) COMMUNICATION SYSTEM, COMMUNICATION DEVICE, AND COMMUNICATION CONTROL METHOD
JP6035787B2 (en) Data storage device, data storage method, and program
JP5429224B2 (en) File processing system, management device, and control program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20131030

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20140522

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20140603

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140725

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140825

R150 Certificate of patent or registration of utility model

Ref document number: 5614355

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees