JP6579654B2 - Color code processing apparatus, color code processing method, and program - Google Patents
Color code processing apparatus, color code processing method, and program Download PDFInfo
- Publication number
- JP6579654B2 JP6579654B2 JP2015161694A JP2015161694A JP6579654B2 JP 6579654 B2 JP6579654 B2 JP 6579654B2 JP 2015161694 A JP2015161694 A JP 2015161694A JP 2015161694 A JP2015161694 A JP 2015161694A JP 6579654 B2 JP6579654 B2 JP 6579654B2
- Authority
- JP
- Japan
- Prior art keywords
- color code
- acquisition
- information
- acquisition target
- targets
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Description
本発明は、情報の電子データ化に用いられる装置等に関するものである。 The present invention relates to an apparatus used for converting information into electronic data.
従来の技術として、隣接する2つの領域が正面に出るように4等分した領域からなり、一方の隣接した2つの領域が自由記入領域で、他方の隣接した2つの領域にはカレンダー予定表がそれぞれ印刷されているロータリー式ボードを備えたボード装置が知られていた(例えば、特許文献1参照)。 As a conventional technique, two adjacent areas are divided into four equal parts so that they face the front, one adjacent two areas are free entry areas, and the other two adjacent areas have calendar calendars. There has been known a board device provided with a rotary board that is printed (see, for example, Patent Document 1).
しかしながら、従来においては、撮影した画像に配置されている情報を、適切に電子データ化することが困難である、という課題があった。例えば、ボードに表示されている情報を電子データ化する場合、ボードに記入されたデータをキーボード等を用いて手入力していく必要があり、作業に時間がかかるとともに、記入時に情報が誤って入力されてしまう等の問題があった。 However, conventionally, there is a problem that it is difficult to appropriately convert information arranged in a captured image into electronic data. For example, when the information displayed on the board is converted to electronic data, it is necessary to manually input the data entered on the board using a keyboard, etc., and it takes time to complete the work, and the information is incorrect when the information is entered. There was a problem such as being input.
本発明は、かかる課題を解消するためになされたものであり、撮影した画像に配置されている情報を容易にかつ適切に電子データ化することができるカラーコード処理装置等を提供することを目的とする。 The present invention has been made to solve such a problem, and an object of the present invention is to provide a color code processing device and the like that can easily and appropriately convert information arranged in a photographed image into electronic data. And
本発明のカラーコード処理装置は、第一の方向に配列された二以上の取得対象であって、異なる属性値と対応付けられた取得対象である二以上の第一の取得対象と、二以上の第一の取得対象のうちのいずれかに対応する位置にそれぞれ配置された二以上のカラーコードと、が撮影された撮影画像を受け付ける受付部と、受付部が受け付けた撮影画像から、カラーコードと、カラーコードに対応する位置に配置された第一の取得対象との複数の組を検出し、検出した各組について、それぞれ、カラーコードに対応する情報と、第一の取得対象に対応する属性値と、を有する情報である読取情報を取得する取得部と、取得部が取得した読取情報を出力する出力部とを備えたカラーコード処理装置である。 The color code processing device of the present invention is two or more acquisition targets arranged in a first direction, two or more first acquisition targets that are acquisition targets associated with different attribute values, and two or more acquisition targets Two or more color codes arranged at positions corresponding to any one of the first acquisition targets, a reception unit that receives the captured image, and a color code from the captured image received by the reception unit And a plurality of pairs with the first acquisition target arranged at the position corresponding to the color code, and for each detected pair, the information corresponding to the color code and the first acquisition target respectively. The color code processing apparatus includes an acquisition unit that acquires read information that is attribute information and an output unit that outputs the read information acquired by the acquisition unit.
かかる構成により、撮影した画像に配置されている情報を容易にかつ適切に電子データ化することができる。例えば、撮影した画像に配置されているカラーコードに対応する情報と第一の取得対象に対応する情報とを適切に対応付けて取得することができる。 With this configuration, the information arranged in the captured image can be converted into electronic data easily and appropriately. For example, information corresponding to the color code arranged in the photographed image and information corresponding to the first acquisition target can be acquired in association with each other.
また、本発明のカラーコード処理装置は、前記カラーコード処理装置において、受付部は、二以上の第一の取得対象と、第一の方向とは異なる第二の方向に配列された二以上の取得対象であって、異なる属性値と対応付けられた取得対象である二以上の第二の取得対象と、二以上の第一の取得対象のいずれかと二以上の第二の取得対象のうちのいずれかとに対応する位置にそれぞれ配置されている二以上のカラーコードと、が撮影された撮影画像を受け付け、取得部は、受付部が受け付けた撮影画像から、カラーコードと、カラーコードに対応する位置に配置された第一の取得対象と、カラーコードに対応する位置に配置された第二の取得対象との複数の組を検出し、検出した各組について、それぞれ、カラーコードに対応する情報と、第一の取得対象に対応する属性値と、第二の取得対象に対応する属性値とを有する情報である読取情報を取得するカラーコード処理装置である。 Further, the color code processing device of the present invention is the color code processing device, wherein the receiving unit includes two or more first acquisition targets and two or more arranged in a second direction different from the first direction. Two or more second acquisition targets that are acquisition targets associated with different attribute values, and one of two or more first acquisition targets and two or more second acquisition targets Two or more color codes respectively arranged at positions corresponding to any one of them are received, and the acquisition unit corresponds to the color code and the color code from the captured images received by the reception unit. A plurality of sets of the first acquisition target arranged at the position and the second acquisition target arranged at the position corresponding to the color code are detected, and information corresponding to the color code is detected for each detected set And first And attribute values corresponding to the acquisition target, a color code processing apparatus that acquires read information which is information having the attribute value corresponding to the second acquisition target.
かかる構成により、撮影した画像に配置されている情報を容易にかつ適切に電子データ化することができる。例えば、撮影した画像に配置されているカラーコードに対応する情報と第一の取得対象に対応する情報と第二の取得対象に対応する情報とを適切に対応付けて取得することができる。 With this configuration, the information arranged in the captured image can be converted into electronic data easily and appropriately. For example, the information corresponding to the color code arranged in the photographed image, the information corresponding to the first acquisition target, and the information corresponding to the second acquisition target can be appropriately associated with each other and acquired.
また、本発明のカラーコード処理装置は、前記カラーコード処理装置において、第一の取得対象と対応付けられた属性値は、日時であり、カラーコードに対応付けられた情報は、ユーザ識別子であるカラーコード処理装置である。 In the color code processing device of the present invention, in the color code processing device, the attribute value associated with the first acquisition target is a date and time, and the information associated with the color code is a user identifier. A color code processing apparatus.
かかる構成により、撮影した画像に配置されている情報から、ユーザ識別子と日時とを対応付けた情報を容易に取得することができる。 With this configuration, it is possible to easily acquire information in which a user identifier is associated with a date and time from information arranged in a captured image.
また、本発明のカラーコード処理装置は、前記カラーコード処理装置において、第一の取得対象と対応付けられた属性値は、日時であり、第二の取得対象と対応付けられた属性値は、ユーザ識別子であり、カラーコードに対応付けられた情報は、ユーザの行動を示す行動情報であるカラーコード処理装置である。 In the color code processing device of the present invention, in the color code processing device, the attribute value associated with the first acquisition target is a date and time, and the attribute value associated with the second acquisition target is The information that is a user identifier and associated with the color code is a color code processing device that is behavior information indicating the behavior of the user.
かかる構成により、撮影した画像に配置されている情報から、日時とユーザ識別子と行動情報とを対応付けた情報を容易に取得することができる。 With this configuration, it is possible to easily acquire information in which date / time, user identifier, and behavior information are associated with each other from information arranged in a captured image.
本発明によるカラーコード処理装置等によれば、撮影した画像に配置されている情報を容易にかつ適切に電子データ化することができる。 According to the color code processing apparatus and the like according to the present invention, information arranged in a photographed image can be converted into electronic data easily and appropriately.
以下、カラーコード処理装置等の実施形態について図面を参照して説明する。なお、実施の形態において同じ符号を付した構成要素は同様の動作を行うので、再度の説明を省略する場合がある。 Hereinafter, embodiments of a color code processing apparatus and the like will be described with reference to the drawings. In addition, since the component which attached | subjected the same code | symbol in embodiment performs the same operation | movement, description may be abbreviate | omitted again.
(実施の形態)
図1は、本実施の形態におけるカラーコード処理装置1のブロック図である。
(Embodiment)
FIG. 1 is a block diagram of a color
カラーコード処理装置1は、受付部101、撮影部102、対応格納部103、取得部104、出力部105、読取情報格納部106を備える。
The color
受付部101は、撮影画像を受け付ける。撮影画像は、二以上の第一の取得対象と、二以上の第一の取得対象のうちのいずれかに対応する位置にそれぞれ配置された二以上のカラーコードと、が撮影された画像である。撮影画像に撮影された二以上の第一の取得対象は、第一の方向に配列された二以上の取得対象であり、異なる属性値と対応付けられた取得対象である。
The accepting
二以上の第一の取得対象は、互いに異なる取得対象である。取得対象は、例えば、この取得対象に対応付けられた属性値を、この取得対象を撮影した画像から後述する取得部104が取得可能な表示物である。表示物は、例えば、文字列、図、およびしるし等のうちの一以上で構成される。この表示物は、例えば、後述する取得部104が、この取得対象を撮影した撮影画像において、この取得対象が撮影されている領域を検出可能なものである。取得対象は標示物であっても良い。取得対象は、通常、平面上に配置されるが、曲面等の、平面以外の面上に配置されても良い。取得対象は、例えば、物体の表面等に、配置される。ここでの配置とは、表記されていることや、印刷されていること、貼付されていること、載置されていること、吸着されていること等も含む概念である。物体とは、例えば、紙やフイルム等のシート状の部材や、板状部材等である。板状部材は、例えば、いわゆるホワイトボードや、黒板、コルクボード等である。板状部材は、取得対象が表面に配置された磁性体を有するプレートやシートを、磁力によって吸着可能な板状部材であっても良い。物体がどこに、どのように配置されているかは問わない。例えば、取得対象は、壁面に取り付けられたホワイトボード(図示せず)上に、インク等で描かれた文字や図である。また、取得対象は、壁面に取り付けられたホワイトボード上に貼付されたシール(図示せず)やプレート等に印刷された、あるいは描かれた文字や図である。なお、かかることは、後述する第二の取得対象についても同様である。 Two or more first acquisition targets are different acquisition targets. The acquisition target is, for example, a display object that can be acquired by an acquisition unit 104 (to be described later) from an image obtained by capturing the acquisition target with an attribute value associated with the acquisition target. The display object is composed of, for example, one or more of a character string, a figure, and a sign. For example, the display unit can detect an area where the acquisition target is captured in a captured image obtained by capturing the acquisition target. The acquisition target may be a sign. The acquisition target is usually arranged on a plane, but may be arranged on a surface other than a plane such as a curved surface. For example, the acquisition target is arranged on the surface of an object. The arrangement here is a concept including notation, printing, pasting, placement, adsorption, and the like. The object is, for example, a sheet-like member such as paper or film, a plate-like member, or the like. The plate-like member is, for example, a so-called white board, blackboard, cork board, or the like. The plate-like member may be a plate-like member capable of adsorbing a plate or sheet having a magnetic body with an acquisition target disposed on the surface by a magnetic force. It does not matter where and how the objects are arranged. For example, the acquisition target is a character or drawing drawn with ink or the like on a whiteboard (not shown) attached to the wall surface. The acquisition target is a character or a figure printed or drawn on a seal (not shown) or a plate attached on a whiteboard attached to a wall surface. This also applies to a second acquisition target described later.
第一の方向は、どのような方向であっても良い。第一の方向は、通常、水平方向や、垂直方向であるが、他の方向であってもよい。二以上の第一の取得対象は、等間隔で配置されていても良く、等間隔で配置されていなくても良い。二以上の第一の取得対象は、必ずしも同一直線上に配列されていなくても良く、第一の方向に伸びる平行な二以上の異なる直線上に、二以上の第一の取得対象が、個別に配置されていても良い。 The first direction may be any direction. The first direction is usually the horizontal direction or the vertical direction, but may be another direction. Two or more first acquisition targets may be arranged at equal intervals or may not be arranged at equal intervals. Two or more first acquisition targets may not necessarily be arranged on the same straight line, and two or more first acquisition targets may be individually arranged on two or more different parallel straight lines extending in the first direction. May be arranged.
二以上の第一の取得対象が対応付けられている属性値(以下、第一属性値と称す)は、通常、互いに異なる属性値である。二以上の第一の取得対象が対応付けられている第一属性値はどのような属性値であっても良い。二以上の第一属性値は、例えば、同じ属性に属する異なる属性値である。第一属性値は、二以上の階層で階層化された属性値であっても良い。属性値が階層化されている場合、最も下位の階層の属性値が異なる場合は、異なる属性値と考えてよい。第一属性値は、例えば、日時である。つまり、第一属性値は、日時の属性についての属性値であってもよい。ここでの日時は、日付だけであっても良く、時刻だけであっても良く、日付と時刻との組合わせであっても良い。また、ここでの日時は、例えば、9時から12時、1ってもよい。時は、時間帯等刻だけであっても良く、日付と日値の午前、午後等の、時間帯や期間であっても良い。かかることは、後述するように撮影画像が、第一の取得対象と第二の取得対象とを撮影した画像である場合においても同様である。 The attribute values associated with two or more first acquisition targets (hereinafter referred to as first attribute values) are usually different attribute values. The first attribute value associated with two or more first acquisition targets may be any attribute value. Two or more first attribute values are different attribute values belonging to the same attribute, for example. The first attribute value may be an attribute value hierarchized in two or more hierarchies. When attribute values are hierarchized, when attribute values of the lowest hierarchy are different, they may be considered as different attribute values. The first attribute value is, for example, date and time. That is, the first attribute value may be an attribute value for the date / time attribute. The date and time here may be only the date, only the time, or a combination of the date and time. Further, the date and time here may be, for example, 1 to 9 o'clock to 12 o'clock. The time may be only the time zone or the like, or may be a time zone or period such as morning or afternoon of the date and day value. This also applies to the case where the captured image is an image obtained by capturing the first acquisition target and the second acquisition target, as will be described later.
なお、第一の取得対象が文字列である場合、第一の取得対象が、この第一の取得対象に対応する第一属性値を示す文字列であってもよい。かかることは、後述する第二の取得対象についても同様である。 When the first acquisition target is a character string, the first acquisition target may be a character string indicating a first attribute value corresponding to the first acquisition target. The same applies to the second acquisition target described later.
カラーコードとは、例えば、複数の色の配列が任意の情報と対応づけられたコードである。カラーコードは、例えば、カラーバーコードとも呼ばれる場合がある。例えば、カラーコードは、複数の色が、マトリクス上に配列されたコードである。また、カラーコードは、複数の色が円環上に配列されたコードであってもよい。例えば、このカラーコードは、カメレオンコードとも呼ばれる。カラーコードの複数の色の配列と対応付けられた情報は、通常、カラーコードを読み取ることで取得される情報である。以下、カラーコードの複数の色の配列と対応付けられた情報を、説明の便宜上、カラーコード情報と呼ぶ。カラーコード情報は、例えば、カラーコードに割り当てられた識別子等の文字列である。カラーコードや、カラーコードからカラーコードに割り当てられた文字列等のカラーコード情報を取得する処理については、特許第5695821号公報(特許文献2)や、特開2003−178277号公報(特許文献3)等に記載されているように、公知技術であるため、ここでは詳細な説明は省略する。 The color code is, for example, a code in which an array of a plurality of colors is associated with arbitrary information. The color code may be referred to as a color barcode, for example. For example, the color code is a code in which a plurality of colors are arranged on a matrix. The color code may be a code in which a plurality of colors are arranged on a ring. For example, this color code is also called a chameleon code. Information associated with the arrangement of a plurality of colors in the color code is information that is usually acquired by reading the color code. Hereinafter, information associated with the arrangement of a plurality of colors of the color code is referred to as color code information for convenience of explanation. The color code information is, for example, a character string such as an identifier assigned to the color code. Regarding processing for obtaining color code information such as a color code and a character string assigned to the color code from the color code, Japanese Patent No. 5695821 (Patent Document 2) and Japanese Patent Application Laid-Open No. 2003-178277 (Patent Document 3). ) Etc., since it is a well-known technique, detailed description is abbreviate | omitted here.
撮影画像に配置された二以上のカラーコードは、全てが異なるカラーコードであっても良く、少なくとも一部が同じカラーコードであっても良い。同じカラーコードとは、例えば、色の配列等が同じであるカラーコードである。 The two or more color codes arranged in the captured image may all be different color codes, or at least some of them may be the same color code. The same color code is a color code having the same color arrangement, for example.
カラーコード情報は、他の情報と対応付けられていても良い。カラーコード情報と対応付けられた情報は、例えば、対応格納部103に格納されている。ここでは、カラーコード情報をカラーコードに対応付けられた情報と考えても良く、カラーコード情報と対応付けられた情報をカラーコードに対応付けられた情報と考えても良い。後述する取得部104は、例えば、一のカラーコードを読み取ることでカラーコード情報であるカラーコードに対応付けられた情報を取得してもよい。ここでの読み取りは、例えば、カラーコードの画像から、カラーコード情報を取得することである。例えば、カラーコードの読み取りは、カラーコードの色の配列等に対応するカラーコード情報を取得することである。また、取得部104は、一のカラーコードを読み取ることでカラーコード情報を取得し、取得したカラーコード情報に対応付けられた情報を、対応格納部103から読み出すことで、カラーコードと対応付けられた情報を取得するようにしてもよい。なお、以下においては、カラーコード情報がカラーコードの識別子であり、対応格納部103に格納されているカラーコード情報に対応付けられた情報が、カラーコードと対応付けられた情報である場合を例に挙げて説明する。ただし、カラーコード情報がカラーコードと対応付けられた情報であってもよい。例えば、カラーコード情報である文字列が、カラーコードと対応付けられた情報であってもよい。
The color code information may be associated with other information. Information associated with the color code information is stored in the
カラーコードに対応付けられた情報は、例えば、ユーザ識別子である。ここでのユーザとは、例えば、第一属性値や、後述する第二属性値との対応付けの対象となる二以上のユーザである。ユーザ識別子は、ユーザの名前であってもよく、ユーザに割り当てられたコードであっても良く、ユーザのメールアドレスや、電話番号であってもよい。また、ユーザ識別子は、ユーザの会員番号や、社員番号等であっても良い。この場合、例えば、カラーコード情報と、ユーザ識別子とが対応付けられて対応格納部103に格納されている。
The information associated with the color code is, for example, a user identifier. The users here are, for example, two or more users to be associated with the first attribute value and the second attribute value described later. The user identifier may be the user's name, a code assigned to the user, or the user's email address or telephone number. Further, the user identifier may be a user membership number, an employee number, or the like. In this case, for example, the color code information and the user identifier are associated with each other and stored in the
また、カラーコードに対応付けられた情報は、例えば、ユーザの行動を示す行動情報である。行動情報は、例えば、ユーザの行動を表す文字列等の情報である。例えば、行動情報は、ユーザが出勤していることを示す「出勤」等の情報や、ユーザが休んでいることを示す「休み」等の情報や、ユーザが出張していることを示す「出張」等の情報や、これらの情報に対応するコード等である。また、行動情報は、ユーザが会議に参加していることを示す「会議中」等の情報であっても良い。この場合、例えば、カラーコード情報と、行動情報とが対応付けられて対応格納部103に格納されている。
The information associated with the color code is, for example, behavior information indicating the user's behavior. Behavior information is information, such as a character string showing a user's behavior, for example. For example, the behavior information includes information such as “attendance” indicating that the user is attending work, information such as “rest” indicating that the user is absent, and “business trip” indicating that the user is on a business trip. ", And a code corresponding to the information. Further, the behavior information may be information such as “in meeting” indicating that the user is participating in the meeting. In this case, for example, color code information and behavior information are associated with each other and stored in the
撮影画像に撮影されるカラーコードは、例えば、第一の取得対象は配置される面と同じ面(例えば、平面)に配置される。撮影されるカラーコードは、例えば、第一の取得対象が配置される面と同一の面に直接印刷、あるいは描画されていても良い。また、カラーコードが配置された部材(図示せず)、具体的には印刷または描画された部材、例えば、プレートやシートやシール等が、カラーコードが配置される面上(例えば、第一の取得対象が配置される面と同じ面上)に配置されることで、撮影されるカラーコードが、カラーコードが配置される面上に配置されていても良い。カラーコードが配置された部材は、例えば、プレートやシートやシール等の平面部材である。撮影画像には、例えば、カラーコードが配置された部材が着脱可能となるよう取り付けられた面を撮影したものである。例えば、撮影されるカラーコードは、カラーコードが配置される面上(例えば、第一の取得対象が配置される面と同じ面上)に着脱可能となるよう取り付け可能な平面部材の表面に配置されたカラーコードである。着脱可能となるよう取り付け可能な平面部材とは、例えば、カラーコードが配置される面上に吸着可能な平面部材である。例えば、カラーコードが配置される面上が、磁石を吸着可能な面である場合、磁石を有する平面部材である。また、着脱可能となるよう取り付け可能な平面部材は、裏面側に吸盤等を有する平面部材や、カラーコードが配置される面上に密着させることが可能な平面部材である。また、カラーコードが配置された平面部材が配置される面を備えた部材(例えば、後述する板状部材等)が、平面部材が配置されうる位置に、平面部材の下辺や側辺等を嵌め込み可能なガイド部材(図示せず)を備えていてもよい。 For example, the color code captured in the captured image is arranged on the same surface (for example, a plane) as the surface on which the first acquisition target is arranged. The color code to be photographed may be directly printed or drawn on the same surface as the surface on which the first acquisition target is arranged, for example. Further, a member (not shown) on which the color code is arranged, specifically, a printed or drawn member such as a plate, a sheet, or a seal is placed on the surface on which the color code is arranged (for example, the first code The color code to be photographed may be arranged on the surface on which the color code is arranged by being arranged on the same surface as the surface on which the acquisition target is arranged. The member in which the color code is arranged is a flat member such as a plate, a sheet, or a seal. For example, the photographed image is obtained by photographing a surface on which a member on which a color code is arranged is detachable. For example, the color code to be photographed is placed on the surface of a flat member that can be attached so as to be removable on the surface on which the color code is placed (for example, on the same surface as the surface on which the first acquisition target is placed). Color code. The flat member that can be attached so as to be detachable is, for example, a flat member that can be adsorbed onto the surface on which the color code is arranged. For example, when the surface on which the color code is arranged is a surface capable of attracting a magnet, it is a planar member having a magnet. Moreover, the planar member which can be attached so that attachment or detachment is possible is a planar member which has a suction cup etc. in a back surface side, or a planar member which can be stuck on the surface where a color code is arrange | positioned. In addition, a member (for example, a plate-like member to be described later) having a surface on which the planar member on which the color code is disposed is fitted with a lower side or a side side of the planar member at a position where the planar member can be disposed. A possible guide member (not shown) may be provided.
なお、カラーコードの近傍、例えばカラーコードの上部や下部、あるいは、カラーコードの背景部分等に、カラーコードに対応付けられた情報を示す文字列または画像が配置されていても良い。カラーコードが配置された平面部材の、カラーコードが配置されている部分以外の余白等に、カラーコードに対応付けられた情報を示す文字列または画像が配置されていても良い。カラーコードに対応付けられた情報を示す文字列または画像は、例えば、カラーコードに対応付けられた情報であってもよく、カラーコードに対応付けられた情報である文字列や画像の一部や、カラーコードに対応付けられた情報をユーザが認識可能な文字列や画像であっても良い。また、カラーコードが配置された平面部材の裏面に、カラーコードに対応付けられた情報を示す文字列または画像が配置されていても良い。この文字列や画像によって、ユーザが配置するカラーコードが、どのようなカラーコードであるかをユーザが認識可能である。 Note that a character string or an image indicating information associated with the color code may be arranged in the vicinity of the color code, for example, in the upper or lower portion of the color code or the background portion of the color code. A character string or an image indicating information associated with the color code may be arranged in a margin or the like other than the portion where the color code is arranged on the planar member where the color code is arranged. The character string or image indicating the information associated with the color code may be, for example, information associated with the color code, or may be a part of the character string or image that is the information associated with the color code, A character string or an image that allows the user to recognize information associated with the color code may be used. Further, a character string or an image indicating information associated with the color code may be arranged on the back surface of the planar member on which the color code is arranged. From this character string or image, the user can recognize what color code the user arranges.
撮影画像において、カラーコードが第一の取得対象と対応付けて配置されているということは、例えば、撮影画像において、一のカラーコードがこのカラーコードに対応付けられた第一の取得対象が特定可能となるよう配置されていることである。一のカラーコードが、第一の取得対象と対応付けて配置されているということは、例えば、一の第一の取得対象からみて、第一の方向とは異なる特定の方向や、第一の方向とは異なる方向に位置する特定の領域に、一のカラーコードが配置されていることである。例えば、一の第一の取得対象からみて、上下左右のいずれかの方向、あるいは、左斜め上、右斜め上、左斜め下、および右斜め下のいずれかの方向に一のカラーコードが配置されていることである。ここでは、取得対象から見た方向で説明しているが、カラーコードから見た方向で考えて場合においても同様である。また、一のカラーコードが、第一の取得対象と対応付けて配置されているということは、例えば、第一の取得対象に対して、特定の位置関係にある特定の大きさおよび形状を有する領域に一のカラーコードが配置されていること等であっても良い。 In the captured image, the color code is arranged in association with the first acquisition target. For example, in the captured image, the first acquisition target in which one color code is associated with the color code is specified. It is arranged so that it is possible. The fact that one color code is arranged in association with the first acquisition target means, for example, that a specific direction different from the first direction from the first acquisition target, One color code is arranged in a specific region located in a direction different from the direction. For example, one color code is placed in one of the top, bottom, left, and right directions, or left diagonally up, right diagonally up, left diagonally down, and right diagonally down from the first acquisition target. It has been done. Here, the description is made in the direction viewed from the acquisition target, but the same applies to the case of considering the direction viewed from the color code. In addition, the fact that one color code is arranged in association with the first acquisition target means, for example, that the color code has a specific size and shape in a specific positional relationship with respect to the first acquisition target. For example, one color code may be arranged in the area.
例えば、複数の第一の取得対象が、表を構成する複数の行または列の項目として配置されている場合、一の第一の取得対象と対応付けられて配置されたカラーコードは、この一の取得対象が項目として配置された行または列に配置されたカラーコードであってもよい。具体的には、一のカラーコードに対応する第一の取得対象は、このカラーコードが配置された列の項目として配置された文字列や画像であっても良い。ここでの表の項目は、例えば、見出し項目や、項目名等を含むと考えてもよい。なお、ここでの表は、罫線等を有していても良く、有していなくても良い。 For example, when a plurality of first acquisition targets are arranged as items of a plurality of rows or columns constituting a table, the color code arranged in association with the first acquisition target is this one. The acquisition target may be a color code arranged in a row or column arranged as an item. Specifically, the first acquisition target corresponding to one color code may be a character string or an image arranged as an item of a column in which the color code is arranged. The items in the table here may be considered to include, for example, heading items, item names, and the like. In addition, the table | surface here may have a ruled line etc., and does not need to have it.
また、表の代わりに、二以上の第一の取得対象が、第一の軸の項目として配置された座標系等を考えてもよい。この場合、第一の軸の値が、一の項目となるよう配置されたカラーコードは、この一の項目である第一の取得対象と対応付けられた位置に配置されたカラーコードと考えてもよい。 Further, instead of a table, a coordinate system in which two or more first acquisition targets are arranged as items of the first axis may be considered. In this case, the color code arranged so that the value of the first axis is one item is considered as the color code arranged at a position associated with the first acquisition target that is this one item. Also good.
受付部101は、上述した二以上の第一の取得対象と、二以上の第二の取得対象と、二以上の第一の取得対象のいずれかと二以上の第二の取得対象のうちのいずれかとに対応する位置にそれぞれ配置されている二以上のカラーコードと、が撮影された撮影画像を受け付けてもよい。二以上の第二の取得対象は、互いに異なる取得対象である。二以上の第二の取得対象は、上述した第一の方向とは異なる第二の方向に配列された二以上の取得対象であって、異なる属性値と対応付けられた取得対象である。ここでのいずれかとは、例えば、いずれか一つを意味すると考えてよい。第二の取得対象は、例えば、第一の取得対象と同一の面(例えば、平面)に配置される。
The receiving
第二の方向は、例えば、第一の方向に対して、視覚によって明確に識別可能な方向であることが好ましい。第二の方向は、例えば、カラーコードと第一の取得対象との対応関係、およびカラーコードと第二の取得対象との対応関係を、後述する取得部104が検出可能な方向であることが好ましい。第二の方向は、例えば、第一の方向に対して略垂直となる方向や、第一の方向とのなす角度が、40〜90度の範囲内の値となる方向あることが好ましい。二以上の第二の取得対象が配置される位置は、二以上の第一の取得対象を第二の方向に移動させた場合に、いずれの第一の取得対象とも重ならない位置であることが好ましい。
For example, the second direction is preferably a direction that can be clearly identified visually with respect to the first direction. The second direction is, for example, a direction in which the
二以上の第二の取得対象と対応付けられた属性値(以下、第二属性値と称す)は、例えば、第一属性値とは、異なる属性値である。異なる属性値とは、例えば、属性が異なる属性値である。例えば、第一属性値が日時の属性についての属性値である場合、場所の属性についての属性値である第二属性値は、第一属性値とは属性が異なる属性値である。第二属性値は、第一属性値と異なる属性値であればどのような属性値であっても良い。例えば、第一属性値が日時である場合、即ち日時の属性についての属性値である場合、第二の取得対象と対応付けられた属性値は、上述したようなユーザ識別子であってもよい。また、この場合、カラーコードと対応付けられた情報は上述したようなユーザの行動を示す行動情報であっても良い。 An attribute value (hereinafter referred to as a second attribute value) associated with two or more second acquisition targets is an attribute value different from the first attribute value, for example. Different attribute values are attribute values having different attributes, for example. For example, when the first attribute value is an attribute value for the date / time attribute, the second attribute value that is the attribute value for the place attribute is an attribute value that is different in attribute from the first attribute value. The second attribute value may be any attribute value as long as the attribute value is different from the first attribute value. For example, when the first attribute value is a date and time, that is, an attribute value for the date and time attribute, the attribute value associated with the second acquisition target may be a user identifier as described above. In this case, the information associated with the color code may be behavior information indicating the user's behavior as described above.
撮影画像において、カラーコードが第二の取得対象と対応付けて配置されているということは、取得対象が異なる点を除けば、上述したように、カラーコードが第一の取得対象と対応付けて配置されていることと同様である。撮影画像において、一のカラーコードが、二以上の第一の取得対象のいずれかと二以上の第二の取得対象のうちのいずれかとに対応する位置に配置されているということは、例えば、撮影画像において、一のカラーコードが、このカラーコードと対応付けられた一の第一の取得対象と、一の第二の取得対象と、をそれぞれ特定可能となるよう配置されていることである。一のカラーコードが、第一の取得対象と第二の取得対象とに対応付けて配置されているということは、例えば、一のカラーコードが、一の第一の取得対象からみて、第一の方向とは異なる特定の方向に配置されており、かつ、このカラーコードが、一の第二の取得対象からみて、第二の方向とは異なる特定の方向に配置されていることである。 In the captured image, the color code is arranged in association with the second acquisition target. The color code is associated with the first acquisition target as described above except that the acquisition target is different. It is the same as being arranged. In the captured image, one color code is arranged at a position corresponding to one of two or more first acquisition targets and one of two or more second acquisition targets. In the image, one color code is arranged so that one first acquisition target associated with the color code and one second acquisition target can be specified. The fact that one color code is arranged in association with the first acquisition target and the second acquisition target means that, for example, one color code is The color code is arranged in a specific direction different from the second direction, and the color code is arranged in a specific direction different from the second direction, as viewed from one second acquisition target.
例えば、複数の第一の取得対象が、一の表を構成する複数の行の項目として配置されており、複数の第二の取得対象が、同じ表を構成する複数の列の項目として配置されている場合において、一の第一の取得対象と、一の第二の取得対象とに対応する位置にそれぞれ配置されている一のカラーコードは、例えば、この一の表の、一の第一の取得対象が項目として配置された行の、一の第二の取得対象が項目として配置された列に配置されたカラーコードである。 For example, a plurality of first acquisition targets are arranged as items of a plurality of rows constituting one table, and a plurality of second acquisition targets are arranged as items of a plurality of columns constituting the same table. In this case, one color code arranged at a position corresponding to one first acquisition object and one second acquisition object is, for example, one first code in this one table. This is a color code arranged in a column where the second acquisition target is arranged as an item in a row where the acquisition target is arranged as an item.
また、表の代わりに、二以上の第一の取得対象が、第一の軸の項目として配置され、二以上の第二の取得対象が、第二の軸の項目として配置された座標系等を考えてもよい。この場合、第一の軸の値が一の項目である第一の取得対象となるよう配置され、第二の軸の値が一の項目である第二の取得対象となるよう配置されたカラーコードは、第一の軸の値である第一の取得対象と、第二の軸の値である第二の取得対象とに対応付けられた位置に配置されたカラーコードと考えてもよい。 Also, instead of the table, two or more first acquisition objects are arranged as items of the first axis, and two or more second acquisition objects are arranged as items of the second axis, etc. You may think. In this case, the color arranged so that the value of the first axis is the first acquisition target that is one item and the value of the second axis is the second acquisition target that is the one item The code may be considered as a color code arranged at a position associated with the first acquisition target that is the value of the first axis and the second acquisition target that is the value of the second axis.
撮影画像は、一以上の静止画像であっても、動画像であっても良い。撮影画像は、一定または一定ではない時間間隔を隔てて撮影された複数の静止画像であってもよく、動画像から一定または一定ではない時間間隔を隔てて抽出された複数のフレーム画像であっても良い。撮影画像は、カラー画像であってもモノクロームの画像であっても良い。また、撮影画像の階調数等は問わない。 The captured image may be one or more still images or a moving image. The captured image may be a plurality of still images captured at regular or non-constant time intervals, and may be a plurality of frame images extracted from a moving image at regular or non-constant time intervals. Also good. The captured image may be a color image or a monochrome image. Further, the number of gradations of the captured image is not limited.
受付部101がどのように撮影画像を受け付けるかは問わない。例えば、受付部101は、カラーコード処理装置1が有する撮影部102が撮影した撮影画像を受け付けても良く、カラーコード処理装置1の外部等に別途設けられた撮影部が撮影した撮影画像や、撮影して図示しない記録媒体等に蓄積された撮影画像を受け付けても良い。外部等に設けられた撮影部から撮影画像を受け付ける場合、カラーコード処理装置1は、撮影部102を有していなくても良い。なお、以下、本実施の形態においては、一例として、カラーコード処理装置1が撮影部102を備えている場合について説明する。
It does not matter how the
ここでの受け付けとは、有線もしくは無線の通信回線を介して送信された情報の受信、光ディスクや磁気ディスク、半導体メモリなどの記録媒体から読み出された情報の受け付けなどを含む概念である。受付部101は、撮影画像を受け付けるためのインターフェース等と考えてもよい。受付部101は、例えば、撮影画像を受信したり読み出したりするためのデバイスドライバーや、メニュー画面の制御ソフトウェア等で実現され得る。
The acceptance here is a concept including reception of information transmitted via a wired or wireless communication line, acceptance of information read from a recording medium such as an optical disk, a magnetic disk, and a semiconductor memory. The receiving
撮影部102は、二以上の第一の取得対象と、二以上の第一の取得対象のうちのいずれかに対応する位置にそれぞれ配置された二以上のカラーコードと、を撮影して、撮影画像を取得する。例えば、二以上の第一の取得対象と、二以上のカラーコードが配置されたシート状部材や板状部材を撮影して撮影画像を取得する。撮影部102が撮影する画像は、静止画像であっても良く、動画像であっても良い。また、撮影する画像の画素数等は問わない。また、撮影部102が撮影する画像のファイル形式等は問わない。また、撮影部102が撮影する画像は、カラー画像であっても良く、モノクローム画像であってもよい。
The photographing
撮影部102は、通常、デジタルカメラや、光学式スキャナや、ラインセンサ等で実現される。
The photographing
対応格納部103には、二以上のカラーコード情報と、各カラーコード情報に対応付けられた情報とが格納されている。対応格納部103には、例えば、カラーコード情報と、このカラーコード情報と対応付けられた情報とを有する二以上のコード対応情報が格納されている。カラーコード情報と対応付けられた情報は、例えば、ユーザ識別子や、行動情報である。
The
対応格納部103は、不揮発性の記録媒体が好適であるが、揮発性の記録媒体でも実現可能である。かかることは、他の格納部においても同様である。
The
取得部104は、受付部101が受け付けた撮影画像から、カラーコードと、このカラーコードに対応する位置に配置された第一の取得対象との複数の組を検出する。取得部104は、検出した各組について、それぞれ、読取情報を取得する。読取情報は、検出した各組のカラーコードに対応する情報と、第一の取得対象に対応する属性値と、を有する情報である。
The
取得部104は、受付部101が受け付けた撮影画像から、カラーコードと、このカラーコードに対応する位置に配置された第一の取得対象と、このカラーコードに対応する位置に配置された第二の取得対象との複数の組を検出し、検出した各組について、それぞれ、読取情報を取得するようにしてもよい。ここでの読取情報は、カラーコードに対応する情報と、第一の取得対象に対応する属性値と、第二の取得対象に対応する属性値とを有する情報である。ここでの読取情報は、例えば、上述した読取情報において、更に第二の取得対象に対応する属性値を加えたものと考えてもよい。
The
以下、撮影画像から、カラーコードと第一の取得対象との複数の組を検出し、検出した各組について読取情報を取得する第一の処理と、カラーコードと第一の取得対象と第二の取得対象との複数の組を検出し、検出した各組について読取情報を取得する第二の処理と、について、それぞれ説明する。 Hereinafter, a first process for detecting a plurality of sets of a color code and a first acquisition target from the captured image, and acquiring read information for each detected set, a color code, a first acquisition target, and a second A second process of detecting a plurality of sets with the acquisition target and acquiring read information for each detected set will be described.
(1)第一の処理
(a)複数の組の検出
例えば、取得部104は、撮影画像において検出したカラーコードと取得対象とを検出し、検出したカラーコードと取得対象とを用いて、カラーコードと、カラーコードに対応する位置に配置された第一の取得対象との複数の組を検出する。また、撮影画像において二以上のカラーコードを検出し、検出した各カラーコードに対応する位置(例えば、方向や、列や、行等)において第一の取得対象を検出することで、各カラーコードと第一の取得対象との組を検出しても良い。また、撮影画像において二以上の取得対象を検出し、検出した取得対象に対応するカラーコードが配置される位置(例えば、方向や、列や、行等)においてカラーコードを検出することで、各カラーコードと第一の取得対象との組を検出しても良い。
(1) First processing (a) Detection of a plurality of sets For example, the
撮影画像からカラーコードを検出するということは、例えば、撮影画像からカラーコードが配置されている領域を検出することや、検出した領域の情報(例えば、領域の輪郭等を定義する座標等の情報等)を取得することや、検出したカラーコードの画像を取得することである。かかることは第一の取得対象や、第二の取得対象等の取得対象の検出についても同様である。 Detecting a color code from a photographed image means, for example, detecting a region where the color code is arranged from the photographed image, and information on the detected region (for example, information such as coordinates defining the outline of the region). Etc.) and an image of the detected color code. The same applies to detection of acquisition targets such as the first acquisition target and the second acquisition target.
取得部104は、例えば、撮影画像において、カラーコードが配置されている領域を検出して、それぞれの領域の情報を取得する。あるいは、検出した領域内の画像を取得する。領域の情報は、例えば、領域の輪郭を示す座標の情報等である。撮影画像からカラーコードが配置されている領域を検出する処理は、カラーコードを用いた技術として上述した特許文献2や特許文献3等に示されているように公知の技術であるため、ここでは詳細な説明は省略する。
For example, the
また、取得部104は、例えば、撮影画像において、取得対象が配置されている領域をそれぞれ検出し、それぞれの領域の情報を取得する。あるいは、検出した領域内の画像を取得する。撮影画像から取得対象が配置されている領域を検出する処理は、OCR(optical character recognition)等の文字認識処理や、画像認識処理等において公知の技術であるため、ここでは詳細な説明は省略する。
In addition, the
なお、取得部104は、撮影画像から取得対象を検出する際に、第一の取得対象だけを、適宜、他の取得対象等と区別して選択的に検出しても良く、区別せずに検出しても良い。例えば、カラーコードに対応付けられた第一の取得対象は、それぞれ、カラーコードに対して、特定の方向に配置されるため、第一の取得対象を他の取得対象と区別して検出しなくても、カラーコードと、取得対象との位置関係から、カラーコードに対応する第一の取得対象を、他の取得対象から区別することが可能である。ただし、区別して検出しても良い。区別して検出する処理については後述する。また、予め指定されたルール等を満たす取得対象は取得しないようにしてもよい。予め指定されたルールを満たす取得対象とは、例えば、特定の色の取得対象や、閾値以上や、閾値以下の大きさの取得対象や、予め指定された領域に配置されている取得対象等である。
Note that when the
なお、撮影画像からカラーコードや取得対象を検出する際には、撮影画像に対して、適宜、傾き補正等を行なっても良い。また、この傾き補正は、撮影画像を複数のブロックに分割してブロックごとに行なっても良い。なお、カラーコードや取得対象を検出する際に、傾き補正等を行なう技術については公知技術であるため、ここでは詳細な説明は省略する。 When detecting a color code or an acquisition target from a captured image, tilt correction or the like may be appropriately performed on the captured image. In addition, this tilt correction may be performed for each block by dividing the captured image into a plurality of blocks. It should be noted that since a technique for performing tilt correction or the like when detecting a color code or an acquisition target is a known technique, a detailed description thereof is omitted here.
なお、取得部104が検出するカラーコードが配置されている領域や、取得対象が配置されている領域は、例えばカラーコードや、取得対象が含まれる最小矩形の領域であってもよく、カラーコードや、取得対象の輪郭で表される領域であっても良い。また、取得部104がこれらの領域を検出する際、罫線等は検出対象から除外するようにしても良い。
Note that the area where the color code detected by the
以下、取得部104が、撮影画像においてカラーコードと取得対象とを検出し、検出したカラーコードと取得対象とを用いて、カラーコードと、カラーコードに対応する位置に配置された第一の取得対象との複数の組を検出する場合の例について説明する。
Hereinafter, the
まず、取得部104は、撮影画像において、カラーコードと取得対象とをそれぞれ検出する。ここで検出する取得対象は、第一の取得対象のみであっても良く、第一の取得対象と、第一の取得対象以外の取得対象とを含む取得対象であってもよい。
First, the
次に、取得部104は、例えば、上記で検出した各カラーコードに対応する位置に配置された第一の取得対象を検出する。例えば、撮影画像内において、一の第一の取得対象からみて、第一の方向とは異なる特定の方向に一のカラーコードが配置されているものとした場合においては、上記のように撮影画像において検出した一のカラーコードが配置されている領域に対して、上記の特定の方向とは正反対の方向に配置されている第一の取得対象を、検出した取得対象の中から検出する。例えば、上記で検出した二以上の取得対象のうちの、一のカラーコードが配置されている領域内の代表点、例えば、中心点や重心から、上記の特定の方向とは逆の方向に伸ばした半直線との距離が閾値以下となる取得対象を、一のカラーコードに対応する位置にある取得対象が配置されている領域として検出する。半直線との距離とは、例えば、半直線と、取得対象の代表点、例えば、中心点や重心との距離である。この閾値は、例えば、隣り合う第一の取得対象の距離の半分よりも短い距離であることが好ましい。あるいは、一のカラーコードと同じサイズの領域を、上記の特定の方向とは逆の方向に平行移動させた場合に、この移動させた領域と重なる取得対象を、一のカラーコードに対応する位置に配置された第一の取得対象として検出してもよい。このようにして各カラーコードについて検出された第一の取得対象と、対応する各カラーコードとの組が、取得部104が検出したカラーコードと第一の取得対象との複数の組である。
Next, the
なお、撮影画像内の第一の取得対象が、一の表を構成する複数の行(または列)の項目であって、カラーコードが、この表の行(または列)に配置されている場合、一のカラーコードに対して上方(または左方向)に位置する取得対象を、一のカラーコードに対応する位置に配置されている第一の取得対象として検出してもよい。また、取得部104が、撮影画像内の罫線等を検出して、表を構成する行や列を検出することができる場合、一のカラーコードと同じ行(または列)に配置されている取得対象を、一のカラーコードに対応する位置に配置された第一の取得対象として検出するようにしてもよい。
When the first acquisition target in the captured image is an item of a plurality of rows (or columns) constituting one table, and the color code is arranged in the rows (or columns) of this table The acquisition target positioned above (or in the left direction) with respect to one color code may be detected as the first acquisition target arranged at a position corresponding to the one color code. Further, when the
次に、取得部104が、撮影画像においてカラーコードを検出し、撮影画像内の検出したカラーコードに対応する第一の取得対象が配置される位置(例えば方向)において、カラーコードに対応する取得対象を検出することによって、カラーコードと、カラーコードに対応する位置に配置された第一の取得対象との複数の組を検出する場合の例について説明する。
Next, the
まず、取得部104は、撮影画像において、カラーコードを検出する。次に、取得部104は、例えば、撮影画像内の上記で検出した各カラーコードに対応する位置(例えば、方向や領域)において、取得対象を検出する。例えば、撮影画像内において、一の第一の取得対象からみて、第一の方向とは異なる特定の方向に一のカラーコードが配置されているものとした場合においては、撮影画像の、一のカラーコードが配置されている領域に対して、上記の特定の方向とは正反対の方向において、取得対象の検出を行なって、第一の取得対象を検出しても良い。例えば、一のカラーコードが配置されている領域内の代表点、例えば、中心点や重心から、上記の特定の方向とは逆の方向に伸ばした半直線を含む領域において取得対象の検出を行なう。一のカラーコードに対応する位置にある取得対象が配置されている領域として検出する。あるいは、一のカラーコードと同じサイズの領域を、上記の特定の方向とは逆の方向に平行移動させた領域と重なる取得対象の検出を行なう。これにより、各カラーコードについて検出された第一の取得対象と、各カラーコードとの組が、取得部104が検出したカラーコードと第一の取得対象との複数の組である。
First, the
なお、撮影画像内の第一の取得対象が、一の表を構成する複数の行(または列)の項目であって、カラーコードが、この表の行(または列)に配置されている場合、一のカラーコードに対して上方(または左方向)の領域で検出される取得対象を、一のカラーコードに対応する位置に配置されている第一の取得対象としてもよい。また、取得部104が、撮影画像内の罫線等を検出して、表を構成する行や列を検出することができる場合、一のカラーコードと同じ行(または列)において検出された取得対象を、一のカラーコードに対応する位置に配置された第一の取得対象として検出するようにしてもよい。
When the first acquisition target in the captured image is an item of a plurality of rows (or columns) constituting one table, and the color code is arranged in the rows (or columns) of this table The acquisition target detected in the region above (or leftward) with respect to one color code may be the first acquisition target arranged at a position corresponding to the one color code. In addition, when the
なお、撮影画像において、第一の取得対象等の取得対象を検出し、検出された各取得対象に対応する位置においてカラーコードを検出することで、カラーコードと、カラーコードに対応する位置に配置された第一の取得対象との複数の組を検出する処理については、上記のカラーコードと、取得対象とを置き換えた場合の処理と同様のものとなるため、ここでは詳細な説明は省略する。 In the captured image, an acquisition target such as the first acquisition target is detected, and a color code is detected at a position corresponding to each detected acquisition target, thereby arranging the color code and the position corresponding to the color code. The processing for detecting a plurality of sets with the first acquisition target is the same as the processing in the case where the above-described color code is replaced with the acquisition target, and thus detailed description thereof is omitted here. .
なお、取得部104が、撮影画像から、カラーコードと、このカラーコードに対応する位置に配置された第一の取得対象との複数の組をどのように検出するかは問わない。
Note that it does not matter how the
(b)読取情報の取得
以下、上記のように検出したカラーコードと第一の取得対象との複数の組のそれぞれについて、取得部104が読取情報を取得する処理について説明する。例えば、取得部104は、カラーコードと、各カラーコードに対応する位置に配置されている第一の取得対象との組を検出した後、検出した各組のカラーコードについて色の配列等を検出して、この配列等に対応するカラーコード情報を取得する。具体的には、各組のカラーコードの画像から色の配列等を検出してカラーコード情報を取得する。カラーコードについて色の配列等を検出する処理は、カラーコードを読み取る処理と考えてもよい。カラーコードから、色の配列等を検出して、カラーコード情報を取得する処理は、カラーコードを用いた技術として上述した特許文献2や特許文献3等に示されているように公知の技術であるため、ここでは詳細な説明は省略する。取得部104が、カラーコードに対応する情報としてカラーコード情報を取得する場合、このようにして取得したカラーコード情報が、カラーコードに対応する情報である。また、取得部104が、カラーコードに対応する情報として、カラーコード情報に対応付けられた情報を取得する場合、上記のように取得したカラーコード情報と対応付けられた情報を、対応格納部103において検索し、検出した情報を、カラーコードに対応する情報として取得する。
(B) Acquisition of Read Information Hereinafter, a process in which the
また、取得部104は、カラーコードと、各カラーコードに対応する位置に配置されている第一の取得対象との組を検出した後、検出した組の第一の取得対象が配置されている領域の第一の取得対象の画像を用いて、OCR等の文字認識処理や、画像のパターンマッチング等を行なうことにより、第一の取得対象の属性値である第一属性値を取得する。例えば、第一の取得対象が、この第一の取得対象に対応する第一属性値の文字列で有る場合、OCR等の文字認識処理で取得した文字列が、第一の取得対象の属性値である。また、このOCR等の文字認識処理で取得した文字列が、第一属性値に対応付けられた文字列である場合、図示しない格納部等に予め格納されている二以上の第一の取得対象が示す文字列と、この各文字列に対応する第一属性値とを有する複数の情報から、OCR等の文字認識処理で取得した文字列に対応する第一属性値を検索等により取得する。また、例えば、第一の取得対象が第一属性値に対応付けられた画像、例えばマーク等で有る場合、取得部104は、パターンマッチングによりこの第一の取得対象である画像に合致すると判断されたパターンに予め対応付けられた第一属性値を取得してもよい。パターンマッチングに用いられるパターンと、第一属性値とを対応付けた情報は、例えば、予め図示しない格納部等に蓄積しておくようにすればよい。かかることは、後述する第二属性値を取得する場合においても同様である。OCR等の文字認識処理については、公知技術であるため、ここでは詳細な説明は省略する。また、パターンマッチングについては、公知技術であるため、ここでは詳細な説明は省略する。パターンマッチングで用いられるパターンは、例えば、パターンマッチングにおいて利用される画像についての一以上の特徴量と考えてもよい。
Further, after the
このようにして、撮影画像内のカラーコードと、そのカラーコードに対応する位置に配置された第一の取得対象との一の組について取得されたカラーコードに対応する情報と、第一の取得対象に対応する属性値との組が、一の読取情報である。 In this way, the information corresponding to the color code acquired for one set of the color code in the captured image and the first acquisition target arranged at the position corresponding to the color code, and the first acquisition A pair with the attribute value corresponding to the object is one read information.
なお、取得部104は、撮影画像において、カラーコードを検出した際に、検出したカラーコードについて、色の配列等を検出して、この色の配列等に対応するカラーコード情報や、このカラーコード情報に対応付けられた情報を予め取得して、各カラーコードと対応付けて図示しない格納部等に蓄積しておくようにし、カラーコードと第一の取得対象との複数の組をそれぞれ構成するカラーコードに対応する情報を取得する際には、上記のように予め取得されて蓄積されたカラーコード情報や、このカラーコード情報に対応付けられた情報の中から、複数の組を構成する各カラーコードに対応するカラーコード情報や、このカラーコード情報に対応付けられた情報を検索等により取得することで、複数の組をそれぞれ構成するカラーコードに対応する情報を取得するようにしてもよい。カラーコードの検出時に予め取得されたカラーコード情報が、最終的に取得しようとする読取情報を構成するカラーコードに対応する情報でない場合、各組についてカラーコード情報を取得した後、このカラーコード情報に対応した情報を、カラーコードに対応する情報として取得するようにすればよい。
When the
また、取得部104は、撮影画像において、第一の取得対象等の取得対象を検出した際に、検出した取得対象について、OCR等の文字認識処理やパターンマッチング等を行なって、取得対象に対応する属性値を予め取得して、各取得対象と対応付けて図示しない格納部等に蓄積しておくようにし、カラーコードと第一の取得対象との複数の組をそれぞれ構成するカラーコードに対応する情報を取得する際には、上記のように予め取得されて蓄積された属性値の中から、複数の組を構成する各第一の取得対象に対応付けられた属性値を検索等により取得することで、複数の組をそれぞれ構成する第一の取得対象に対応する属性値を取得するようにしてもよい。
In addition, when the
なお、取得部104は、一の組を検出する毎に、検出した組について読取情報を取得しても良く、複数の組を検出した後に、各組について読取情報を取得しても良い。
Note that the
なお、取得部104が、上記で取得したカラーコードと第一の取得対象との複数の組のそれぞれについて、どのように読取情報を取得するかは問わない。
It does not matter how the
(2)第二の処理
(a)複数の組の検出
以下、取得部104が第二の処理を行なう場合について説明する。取得部104は、例えば、上記のように、撮影画像から、カラーコードと、取得対象とを検出し、各カラーコードが配置されている各領域に対応する位置に配置された第一の取得対象を上記と同様に検出し、各カラーコードが配置されている各領域に対応する位置に配置された第二の取得対象を検出する。これにより、カラーコードと、このカラーコードに対応する位置に配置された第一の取得対象と、このカラーコードに対応する位置に配置された第二の取得対象と、の複数の組を検出することができる。なお、第二の取得対象が配置されている領域を検出する処理は、カラーコードと対応付けられた第一の取得対象が配置される位置(例えば方向や領域や行や列)と、カラーコードと対応付けられた第二の取得対象が配置される位置(例えば方向や領域や行や列)とが異なる点を除けば、第一の取得対象を検出する処理と同様であるため、ここでは、詳細な説明は省略する。
(2) Second Process (a) Detection of Multiple Sets Hereinafter, the case where the
また、取得部104は、撮影画像から、二以上のカラーコードを検出し、撮影画像内の各カラーコードに対応する第一の取得対象が配置される位置(例えば方向や領域や行や列)において第一の取得対象を検出し、撮影画像内の各カラーコードに対応する第二の取得対象が配置される位置(例えば方向や領域や行や列)において第一の取得対象を検出することにより、カラーコードと、このカラーコードに対応する位置に配置された第一の取得対象と、このカラーコードに対応する位置に配置された第二の取得対象と、の複数の組を検出してもよい。
Further, the
また、取得部104は、撮影画像において、取得対象を検出し、撮影画像内の各取得対象について、第一の取得対象に対応するカラーコードが配置される位置においてカラーコードを検出して、第一の取得対象とカラーコードとの組を検出する。また、同様に、各取得対象について、第二の取得対象に対応するカラーコードが配置される位置においてカラーコードを検出して、第二の取得対象とカラーコードとの組を検出する。そして、検出した第一の取得対象とカラーコードとの組と、第二の取得対象とカラーコードとの組において、同じカラーコードと対応付けられた複数の組に含まれる、第一の取得対象と、第二の取得対象と、カラーコードとの組を、カラーコードと、このカラーコードに対応する位置に配置された第一の取得対象と、このカラーコードに対応する位置に配置された第二の取得対象と、の組として検出するようにしても良い。
The
なお、取得部104は、撮影画像から取得対象を検出する際に、第一の取得対象と第二の取得対象とを区別して検出しても良く、区別せずに検出しても良い。例えば、通常、カラーコードに対応付けられた第一の取得対象と、第二の取得対象とは、それぞれ、カラーコードに対して、異なる特定の方向に配置されるため、第一の取得対象と第二の取得対象とを区別して検出しなくても、カラーコードに対応する第一の取得対象と、第二の取得対象とを区別して検出することが可能である。ただし、区別して検出しても良い。区別して検出する場合、検出した取得対象のうちの、第一の取得対象の配列方向に沿って配列される複数の取得対象を、第一の取得対象と判断し、第二の取得対象の配列方向に沿って配列される複数の取得対象を、第二の取得対象と判断するようにしても良い。あるいは、取得対象を撮影画像から検出した際に、この取得対象についてOCR等の文字認識処理等を行なって、取得対象についての情報、例えば取得対象を示す文字列を取得し、取得した情報から、第一の取得対象であるか第二の取得対象であるかを判断してもよい。例えば、予め指定された第一の取得対象を特定する文字列が含まれる場合、第一の取得対象と判断し、この文字列が含まれない場合や、予め指定された第二の取得対象を特定する文字列が含まれる場合に、第二の取得対象と判断してもよい。かかることは、第一の取得対象と第二の取得対象とが逆の場合も同様である。また、例えば、予め用意された複数の第一の取得対象のいずれかと一致する場合、第一の取得対象と判断し、一致しない場合や、予め指定された複数の第二の取得対象のいずれかと一致する場合に、第二の取得対象と判断してもよい。かかることは、第一の取得対象と第二の取得対象とが逆の場合も同様である。
In addition, when detecting the acquisition target from the captured image, the
(b)読取情報の取得
以下、上記のように検出した、検出したカラーコードと第一の取得対象と第二の取得対象との複数の組のそれぞれについて、取得部104が読取情報を取得する処理について説明する。取得部104は、例えば、上記のように検出した各組について、上記の第一の処理の場合と同様に、カラーコードに対応する情報と、第一の取得対象に対応する第一属性値と、第二の取得対象に対応する第二属性値とを有する読取情報を取得する。なお、第二の取得対象に対応する第二属性値を取得する処理は、上述した第一の処理における第一の取得対象に対応する第一属性値を取得する処理と、取得対象が異なる点を除けば同様であるため、ここでは、詳細な説明は省略する。なお、上述したように、取得部104は、複数の組を検出した後に、各組のカラーコードについて、色の配列等を検出して、この配列等に対応するカラーコード情報を取得し、各組の第一の取得対象および第二の取得対象についてOCR等の文字認識処理やパターンマッチング等を行なって属性値を取得してもよく、撮影画像から、カラーコードを検出した際に、色の配列等を検出して、この配列等に対応するカラーコード情報等を取得し、撮影画像から取得対象を検出した際に、OCR等の文字認識処理やパターンマッチング等を行なって属性値を取得し、このようにして予め取得したカラーコード情報や、属性値の中から、複数の組を検出した後に、各組のカラーコードや、第一の取得情報や、第二の取得情報に対応するカラーコード情報や属性値等を取得するようにしても良い。
(B) Acquisition of read information Hereinafter, the
なお、取得部104は、カラーコードと第一の取得対象と第二の取得対象との一の組を検出する毎に、検出した組について読取情報を取得しても良く、複数の組を検出した後に、各組について読取情報を取得しても良い。
The
取得部104は、例えば、撮影画像が、動画像である場合、動画像を構成するフレーム画像を再生順番に、あるいは、一定または不定のフレーム画像を隔てて順次取出し、取り出したフレーム画像について、上述したカラーコードの検出や、取得対象の検出等を行なうようにし、検出が行えなかった場合は、次に取得されたフレーム画像に対して、検出を行なうようにすればよい。
For example, when the captured image is a moving image, the acquiring
なお、以下、本実施の形態においては、一例として、第一の取得対象が、この第一の取得対象に対応する第一属性値の文字列であり、第二の取得対象が、この第二の取得対象に対応する第二属性値の文字列である場合を例に挙げて説明する。 Hereinafter, in the present embodiment, as an example, the first acquisition target is a character string of the first attribute value corresponding to the first acquisition target, and the second acquisition target is the second acquisition target. A case where the character string is the second attribute value corresponding to the acquisition target will be described as an example.
なお、取得部104がカラーコードが配置されている領域等の領域を検出する処理を行なう際には、適宜、撮影画像を複製したり、撮影画像に対して二値化等の画像処理を行なうようにしてもよい。
Note that when the
取得部104は、通常、MPUやメモリ等から実現され得る。取得部104の処理手順は、通常、ソフトウェアで実現され、当該ソフトウェアはROM等の記録媒体に記録されている。但し、ハードウェア(専用回路)で実現しても良い。
The
出力部105は、取得部104が取得した読取情報を出力する。取得部104が取得した読取情報は、カラーコードに対応する情報と、第一属性値とを対応付けて有する情報、あるいは、カラーコードに対応する情報と、第一属性値と、第二属性値とを対応付けて有する情報と考えてもよい。
The
ここでの出力とは、外部の装置への送信、記録媒体への蓄積、他の処理装置や他のプログラムなどへの処理結果の引渡しなどを含む概念である。なお、ここでの出力は、例えば、送信したり蓄積したりする読取情報の確認のための表示等を更に含んでいると考えてもよい。例えば、本実施の形態においては、一例として、出力部105は、取得した読取情報を、読取情報格納部106に蓄積する。
The output here is a concept including transmission to an external device, accumulation in a recording medium, delivery of a processing result to another processing device or another program, and the like. The output here may be considered to further include, for example, a display for confirming read information to be transmitted or accumulated. For example, in the present embodiment, as an example, the
出力部105は、蓄積手段や、送信手段等の出力デバイスを含むと考えても含まないと考えても良い。出力部105は、出力デバイスのドライバーソフトまたは、出力デバイスのドライバーソフトと出力デバイス等で実現され得る。
The
読取情報格納部106には、取得部104が取得した読取情報が格納される。
The reading
次に、カラーコード処理装置1の動作の一例について図2のフローチャートを用いて説明する。ここでは、撮影部102が、二以上の第一の取得対象と、二以上の第二の取得対象と、前記二以上の第一の取得対象のいずれかと、当該二以上の第二の取得対象のうちのいずれかとに対応する位置にそれぞれ配置されている二以上のカラーコードと、を撮影する場合を例に挙げて説明する。
Next, an example of the operation of the color
(ステップS101)撮影部102は、二以上の第一の取得対象と、二以上の第二の取得対象と、前記二以上の第一の取得対象のいずれかと、当該二以上の第二の取得対象のうちのいずれかとに対応する位置にそれぞれ配置されている二以上のカラーコードと、を撮影する。
(Step S <b> 101) The
(ステップS102)受付部101は、ステップS101で撮影された撮影画像を受け付ける。
(Step S102) The accepting
(ステップS103)取得部104は、ステップS102で受け付けた撮影画像において、複数のカラーコードを検出する。
(Step S103) The
(ステップS104)取得部104は、ステップS102で受け付けた撮影画像において、複数の取得対象を検出する。
(Step S104) The
(ステップS105)取得部104は、カウンターmの値として1を代入する。
(Step S105) The
(ステップS106)取得部104は、ステップS103で検出したカラーコードの中に、1番目のカラーコードが有るか否かを判断する。有る場合、ステップS106に進み、ない場合、処理を終了する。
(Step S106) The
(ステップS107)取得部104は、m番目のカラーコードに対応する位置に配置された第一の取得対象を検出する。
(Step S107) The
(ステップS108)取得部104は、m番目のカラーコードに対応する位置に配置された第二の取得対象を検出する。
(Step S108) The
(ステップS109)取得部104は、m番目のカラーコードに対応する情報を取得する。例えば、取得部104は、m番目のカラーコードについてカラーコード情報を取得し、このカラーコード情報と対応付けられた情報を、対応格納部103に格納された情報を用いて取得する。
(Step S109) The acquiring
(ステップS110)取得部104は、ステップS107で取得した第一の認証対象に対応する第一属性値を取得する。
(Step S110) The
(ステップS111)取得部104は、ステップS107で取得した第二の認証対象に対応する第二属性値を取得する。
(Step S111) The
(ステップS112)取得部104は、ステップS109からステップS111で取得したカラーコードに対応する情報、第一属性値、および第二属性値を有する一の対応情報を、読取情報格納部106に蓄積する。ここでの蓄積は、例えば追記である。
(Step S112) The
(ステップS113)取得部104はカウンターmの値を1インクリメントする。そして、ステップS105に戻る。
(Step S113) The
なお、図2のフローチャートにおいては、一のカラーコードと第一の認証対象と第二認証対象の組を検出する毎に、この組について読取情報を取得する場合について説明したが、本発明においては、撮影画像において検出された全てのカラーコードについて、各カラーコードと第一の認証対象と第二認証対象の組を検出した後に、各組について読取情報を取得するようにしても良い。 In the flowchart of FIG. 2, the case has been described in which reading information is acquired for each set of one color code, the first authentication target, and the second authentication target, but in the present invention, For all the color codes detected in the photographed image, after detecting each color code, the first authentication target, and the second authentication target, the read information may be acquired for each set.
なお、図2のフローチャートにおいて、電源オフや処理終了の割り込みにより処理は終了する。 In the flowchart of FIG. 2, the process is terminated by powering off or a process termination interrupt.
以下、本実施の形態におけるカラーコード処理装置1の具体的な動作について説明する。
Hereinafter, a specific operation of the color
図3は、撮影部102による撮影対象となる壁に架けられたホワイトボード3の表面を示す図(図3(a))、およびボード3に配置されたカラーコードの一例を示す図(図3(b))である。ボード3は、磁石付のプレート(図示せず)等が吸着可能なボードであるとする。ボード3の表面には、企業内の社員の出勤状況を管理する管理表300が描かれているものとする。管理表300において、上部に横方向に配列されている複数の列のそれぞれの項目は、出勤日を示す日時、ここでは特に日付を示している。また、管理表300において、左側に縦方向に配列されている複数の行のそれぞれの項目は、管理対象となるユーザのユーザ識別子である社員名(ここでは、社員の姓)を示している。ここではこの日付を示す文字列が、第一の取得対象であり、社員名を示す文字列が第二の取得対象であるとする。また、カラーコード5は、ユーザである社員の行動情報と対応付けられたものであり、管理表300の、一の行と、一の列とが交わる領域(例えばセル)内に、例えばユーザ等により配置される。例えば、対応格納部103に予め格納されている、カラーコード情報である識別子と、行動情報との対応関係を管理する対応管理表により、カラーコード5から色の配列等により読み出される識別子であるカラーコード情報が、行動情報と対応付けられていることで、結果的に、カラーコード5が、ユーザの行動情報と対応付けられている。行動情報は、例えば、ユーザが休みを取っているか、半休みを取っているか、出張しているかを示す文字列の情報であるとする。
FIG. 3 is a diagram (FIG. 3A) showing the surface of the whiteboard 3 hung on the wall to be photographed by the photographing
カラーコード5は、図3(b)に示すように、図示しないフイルム等に印刷されて、磁石付のプレート50上に貼付されている。ここでは、説明の便宜上、フィルム等に印刷されてプレート50に貼付された状態のカラーコード5を、単にカラーコード5と呼ぶ。ここでは、カラーコードが、一例として、矩形の黒い背景に、水色・紫・黄・緑・赤・青・オレンジ等の最大8色の色を有する矩形の図柄を、3行9列となるよう2次元に配列した構成を有しているカラーバーコードである場合について説明する。カラーコード5は、プレート50に貼付されているため、ボード3の管理表300上の任意の位置にプレート50を吸着させることで配置可能である。ここでは、既に3つの異なるカラーコード5が、表300に複数配置されているものとする。なお、管理表300上には、同じカラーコード5が複数配置されていても良く、ここでは、3つの異なるカラーコード5のうちの一のカラーコードが2つ配置されているものとする。なお、各カラーコード5が貼付されたプレート50の余白や、プレート50の裏面には、各カラーコードに対応付けられた情報、例えば、後述する行動情報である「休み」、「半休」等の文字列、が配置されていても良い。
As shown in FIG. 3B, the
カラーコード5から、色の配列等によって読み取られるカラーコード情報は、カラーコードに割り当てられた識別子であるカラーコード識別子であるとする。
It is assumed that the color code information read from the
図4は、カラーコード情報であるカラーコード識別子と、行動情報との対応関係を管理する対応管理表である。対応管理表は、カラーコード識別子である「コードID」と、行動情報を示す「行動情報」という項目を有している。一のレコード(行)に含まれるカラーコード識別子は、同じレコードの行動情報と対応付けられたカラーコード識別子である。 FIG. 4 is a correspondence management table for managing the correspondence between color code identifiers that are color code information and behavior information. The correspondence management table has items of “code ID” which is a color code identifier and “behavior information” indicating behavior information. The color code identifier included in one record (row) is a color code identifier associated with the action information of the same record.
まず、一のユーザが、カラーコード処理装置1が有する撮影部102を用いて、図3(a)に示したボード3を撮影したとする。撮影部102が撮影して取得した撮影画像は、ここでは、静止画像であるとする。
First, it is assumed that one user has photographed the board 3 shown in FIG. 3A using the photographing
受付部101は、撮影部102が取得した撮影画像を受け付ける。なお、撮影部102が撮影した撮影画像が動画像である場合、撮影画像の一のフレーム画像を取得しても良い。
The accepting
取得部104は、受付部101が受け付けた撮影画像において、複数のカラーコード5を検出する。具体的には、撮影画像において、複数のカラーコード5をそれぞれ検出し、検出したカラーコード5が配置されている領域の情報、例えば、カラーコード5が配置されている領域の頂点を示す4つの座標を取得する。取得した領域の情報は、例えば、図示しない格納部等に一時記憶する。カラーコード5の領域を検出する処理は公知であるため、詳細な説明は省略する。
The
また、取得部104は、受付部101が受け付けた撮影画像において、複数の取得対象を検出する。ここでは、取得対象は文字列である。取得部104は、例えば、撮影画像において、複数の文字列のかたまりを検出し、文字列の固まり毎に、その固まりが配置されている領域の情報、例えば、文字列の固まりを囲む最小矩形の領域の頂点を示す4つの座標を取得する。取得した領域の情報を、取得対象の領域の情報として、それぞれ、図示しない格納部等に一時記憶する。
In addition, the
なお、カラーコード5や取得対象を検出する際には、撮影画像に対して傾き補正等を行なうことが好ましい。
Note that when detecting the
図5は、撮影画像4において検出されたカラーコード5と、取得対象31〜37とを説明するための図である。ここでは、説明のため、撮影画像4に検出された4つのカラーコードを、カラーコード51〜54として示している。
FIG. 5 is a diagram for explaining the
取得部104は、検出されたカラーコード51〜54のうちの一のカラーコード、例えば、カラーコード51が配置されている領域の情報を、図示しない格納部から読み出し、この領域に対応する第一の取得対象が配置されている方向に位置する取得対象の領域を、上記で取得して図示しない格納部に蓄積した取得対象の領域の中から検出する。第一の取得対象が配置されている方向は、ここでは上方向であるとする。取得部104は、例えば、カラーコード51が配置されている領域の横方向(例えば、x軸方向)の座標の範囲と、上記で蓄積した複数の取得対象がそれぞれ配置されている領域の横方向の座標の範囲とを用いて、横方向の座標の範囲が、カラーコード51が配置されている領域の横方向の座標の範囲と重なる取得対象を検出する。ここでは、図5の取得対象32が、配置されている領域の横方向の範囲が重なる取得対象として検出されたとする。このため、取得部104は、この取得対象32を、カラーコード51に対応する位置に配置された第一の取得対象として検出する。
The
また、取得部104は、同様に、カラーコード51が配置されている領域に対応する第二の取得対象が配置されている方向に位置する取得対象の領域を、上記で取得して図示しない格納部に蓄積した取得対象の領域の中から検出する。第二の取得対象が配置されている方向は、ここでは左方向であるとする。取得部104は、例えば、カラーコード51が配置されている領域の縦方向(例えば、y軸方向)の座標の範囲と、上記で蓄積した複数の取得対象がそれぞれ配置されている領域の縦方向の座標の範囲とを用いて、縦方向の座標の範囲が、カラーコード51が配置されている領域の横方向の座標の範囲と重なる取得対象を検出する。ここでは、図5の取得対象35が、配置されている領域の縦方向の範囲が重なる取得対象として検出されたとする。このため、取得部104は、この取得対象35を、カラーコード51に対応する位置に配置された第二の取得対象として検出する。
Similarly, the
次に、取得部104は、上記で検出した一のカラーコード51の画像を用いて、色の配列等を検出して、カラーコード情報であるカラーコード識別子を取得する。この処理は、カラーコードを読み取る処理として公知の技術である。取得したカラーコード情報は、「A1001」であったとする。取得部104は、項目「コードID」の値が、取得したカラーコード情報「A1001」と一致するレコード(行)を、図4に示した対応管理表において検出し、検出したレコードの項目「行動情報」の値である「休み」を取得する。
Next, the
また、取得部104は、上記で検出した第一の取得対象である取得対象32の画像に対して、OCR等の文字認識処理を行なって、文字列「7/7」を取得する。ここでは、第一の取得対象が、第一属性値を示す文字列であるとすると、ここで取得した文字列「7/7」が、第一の取得対象である取得対象32に対応する第一属性値である。
The
また、取得部104は、上記で検出した第二の取得対象である取得対象35の画像に対して、OCR等の文字認識処理を行なって、文字列「7/7」を取得する。ここでは、第二の取得対象が、第二属性値を示す文字列であるとすると、ここで取得した文字列「木村」が、第二の取得対象である取得対象35に対応する第二属性値である。
Further, the
出力部105は、取得部104が一のカラーコード51について取得したカラーコード51に対応する行動情報である「休み」と、第一属性値である「7/7」と、第二属性値である「木村」とを有する読取情報を、読取情報格納部106に蓄積する。
The
図6は、読取情報格納部106に格納された読取情報を管理する読取情報管理表である。読取情報管理表は、行動情報である「行動情報」と、行動情報が示す行動が行なわれる日付である「日付」と、行動情報が示す行動を行なうユーザ名である「ユーザ」という項目を有している。読取情報管理表の各レコード(行)は、一の読取情報を示す。出力部105が一の読取情報を新たに蓄積する際には、例えば、新たなレコードが追加され、この読取情報の行動情報は、「行動情報」という項目の値として蓄積され、第一属性値は、「日付」という項目の値として蓄積され、第二属性値は、「ユーザ」という項目の値として蓄積されることが予め設定されているものとする。ここでは、図6の上から1番目のレコードが、新たに蓄積されたカラーコード51について取得された読取情報のレコードである。なお、ここでは、既に、他の読取情報が蓄積されていたものとする。
FIG. 6 is a read information management table for managing read information stored in the read
同様に、取得部104は、撮影画像4から検出された他のカラーコード52〜54についても同様の処理を行なって、読取情報を取得する。そして、出力部105は、取得された読取情報を読取情報格納部106に蓄積する。
Similarly, the
図7は、カラーコード52〜54について取得した読取情報を蓄積した時点での読取情報管理表である。上から1〜3番目のレコードが、カラーコード52〜54に対応する読取情報のレコードである。 FIG. 7 is a read information management table at the time when read information acquired for the color codes 52 to 54 is accumulated. The first to third records from the top are read information records corresponding to the color codes 52 to 54.
このようにして、ボード3に配置されたカラーコードを含む情報を、電子データとして取得して、読取情報格納部106に蓄積することができる。
In this way, information including the color code arranged on the board 3 can be acquired as electronic data and accumulated in the read
なお、上記の具体例においては、撮影画像内のカラーコードについて、第一の取得対象と、第二の取得対象とを検出する場合について説明したが、カラーコードに対応する位置に配置された第一の取得対象のみを検出して、第一属性値を取得するようにしても良い。例えば、撮影画像内に取得対象として第一の取得対象しか配置されていない場合、カラーコードに対応する位置に配置された第一の取得対象のみを取得しても良い。また、例えば、撮影画像内に取得対象として第一の取得対象と第二の取得対象とが配置されている場合であっても、カラーコードに対応する位置に配置された第一の取得対象のみを取得して、第一属性値を取得するようにしても良い。 In the above specific example, the case where the first acquisition target and the second acquisition target are detected for the color code in the photographed image has been described. However, the first is arranged at a position corresponding to the color code. Only the one acquisition target may be detected to acquire the first attribute value. For example, when only the first acquisition target is arranged as the acquisition target in the captured image, only the first acquisition target arranged at the position corresponding to the color code may be acquired. For example, even when the first acquisition target and the second acquisition target are arranged as acquisition targets in the captured image, only the first acquisition target arranged at a position corresponding to the color code is used. And the first attribute value may be acquired.
以上、本実施の形態によれば、配置されている情報を容易にかつ適切に電子データ化することができる。 As described above, according to the present embodiment, the arranged information can be converted into electronic data easily and appropriately.
また、カラーコードは、通常のバーコードや、QRコード(登録商標)等の二次元バーコード等とは異なり、一の撮影画像内、例えば、一の静止画像や、一のフレーム画像内において、同時に複数のカラーコードを検出して、カラーコードに対応する情報を取得することが可能であるため、一の撮影画像から、複数の読取情報を取得することが可能であり、カラーコードを検出するために複数回の撮影等を行なう必要がなく、撮影等を行なうユーザの操作を簡略化することができる。 Also, the color code is different from a normal barcode, a two-dimensional barcode such as QR code (registered trademark), etc., in one captured image, for example, in one still image or one frame image, Since it is possible to detect a plurality of color codes at the same time and acquire information corresponding to the color codes, it is possible to acquire a plurality of read information from one captured image and detect the color codes. Therefore, it is not necessary to perform a plurality of shootings and the like, and the user's operation for shooting can be simplified.
また、カラーコードを利用するとともに、カラーコードの近傍に、カラーコードに対応付けられた情報を示す文字列または画像を配置しないようにした場合、各ユーザがどのような情報を配置したか等を、他のユーザに容易に知られることがない。例えば、日付を示す第一の取得対象が配置された表の日付と対応付けられた部分に、休暇を取るユーザが、自分のユーザ識別子と対応付けられたカラーコードを配置することで、ユーザの勤怠等を管理する場合等において、他のユーザは、表を見ただけでは、誰が休むかを容易にすることができなくなる。この結果、ユーザのプライバシーを保護することができるという効果がある。 In addition, when a color code is used and a character string or an image indicating information associated with the color code is not arranged in the vicinity of the color code, what information each user has arranged, etc. It is not easily known to other users. For example, a user who takes a vacation places a color code associated with his / her user identifier in the portion associated with the date of the table in which the first acquisition target indicating the date is disposed. When managing attendance, etc., other users cannot easily find out who is taking a rest just by looking at the table. As a result, the user's privacy can be protected.
なお、上記実施の形態において、第一の取得対象や、第二の取得対象として、上述したようなカラーコードを用いるようにしてもよい。この場合、取得部104は、撮影画像においてカラーコードである第一の取得対象やカラーコードである第二の取得対象に対応する属性値等を取得する処理として、カラーコードに対応する情報を取得する処理と同様の処理を行なうようにすればよい。なお、この場合、取得部104は、第一の取得対象や第二の取得対象であるカラーコードと、これらと対応付けて配置されるカラーコードとを、カラーコードから読み取れる情報や、カラーコードが配置される領域等を利用して、区別して検出することが好ましい。
In the above embodiment, the color code as described above may be used as the first acquisition target or the second acquisition target. In this case, the
なお、上記実施の形態において、各処理(各機能)は、単一の装置(システム)によって集中処理されることによって実現されてもよく、あるいは、複数の装置によって分散処理されることによって実現されてもよい。 In the above embodiment, each process (each function) may be realized by centralized processing by a single device (system), or by distributed processing by a plurality of devices. May be.
また、上記実施の形態では、カラーコード処理装置がスタンドアロンである場合について説明したが、カラーコード処理装置は、スタンドアロンの装置であってもよく、サーバ・クライアントシステムにおけるサーバ装置であってもよい。後者の場合には、出力部や受付部は、通信回線を介して入力を受け付けたり、画面を出力したりすることになる。 In the above embodiment, the case where the color code processing apparatus is a stand-alone has been described. However, the color code processing apparatus may be a stand-alone apparatus or a server apparatus in a server / client system. In the latter case, the output unit or the reception unit receives an input or outputs a screen via a communication line.
また、上記実施の形態において、各構成要素は専用のハードウェアにより構成されてもよく、あるいは、ソフトウェアにより実現可能な構成要素については、プログラムを実行することによって実現されてもよい。例えば、ハードディスクや半導体メモリ等の記録媒体に記録されたソフトウェア・プログラムをCPU等のプログラム実行部が読み出して実行することによって、各構成要素が実現され得る。その実行時に、プログラム実行部は、格納部(例えば、ハードディスクやメモリ等の記録媒体)にアクセスしながらプログラムを実行してもよい。 In the above embodiment, each component may be configured by dedicated hardware, or a component that can be realized by software may be realized by executing a program. For example, each component can be realized by a program execution unit such as a CPU reading and executing a software program recorded on a recording medium such as a hard disk or a semiconductor memory. At the time of execution, the program execution unit may execute the program while accessing a storage unit (for example, a recording medium such as a hard disk or a memory).
なお、上記実施の形態におけるカラーコード処理装置を実現するソフトウェアは、以下のようなプログラムである。つまり、このプログラムは、コンピュータを、第一の方向に配列された二以上の取得対象であって、異なる属性値と対応付けられた取得対象である二以上の第一の取得対象と、二以上の第一の取得対象のうちのいずれかに対応する位置にそれぞれ配置された二以上のカラーコードと、が撮影された撮影画像を受け付ける受付部と、受付部が受け付けた撮影画像から、カラーコードと、カラーコードに対応する位置に配置された第一の取得対象との複数の組を検出し、検出した各組について、それぞれ、カラーコードに対応する情報と、第一の取得対象に対応する属性値と、を有する情報である読取情報を取得する取得部と、取得部が取得した読取情報を出力する出力部として機能させるためのプログラムである。 The software that realizes the color code processing apparatus in the above embodiment is the following program. In other words, the program includes two or more first acquisition targets that are two or more acquisition targets arranged in the first direction and that are acquisition targets associated with different attribute values. Two or more color codes arranged at positions corresponding to any one of the first acquisition targets, a reception unit that receives the captured image, and a color code from the captured image received by the reception unit And a plurality of pairs with the first acquisition target arranged at the position corresponding to the color code, and for each detected pair, the information corresponding to the color code and the first acquisition target respectively. This is a program for functioning as an acquisition unit that acquires read information, which is information having an attribute value, and an output unit that outputs the read information acquired by the acquisition unit.
なお、上記プログラムにおいて、上記プログラムが実現する機能には、ハードウェアでしか実現できない機能は含まれない。例えば、情報を取得する取得部や、情報を出力する出力部などにおけるモデムやインターフェースカードなどのハードウェアでしか実現できない機能は、上記プログラムが実現する機能には含まれない。 In the program, the functions realized by the program do not include functions that can be realized only by hardware. For example, a function that can be realized only by hardware such as a modem or an interface card in an acquisition unit that acquires information or an output unit that outputs information is not included in the function realized by the program.
また、このプログラムを実行するコンピュータは、単数であってもよく、複数であってもよい。すなわち、集中処理を行ってもよく、あるいは分散処理を行ってもよい。 Further, the computer that executes this program may be singular or plural. That is, centralized processing may be performed, or distributed processing may be performed.
図8は、上記プログラムを実行して、上記実施の形態によるカラーコード処理装置を実現するコンピュータの外観の一例を示す模式図である。上記実施の形態は、コンピュータハードウェア及びその上で実行されるコンピュータプログラムによって実現されうる。 FIG. 8 is a schematic diagram showing an example of the external appearance of a computer that executes the program and realizes the color code processing apparatus according to the embodiment. The above-described embodiment can be realized by computer hardware and a computer program executed on the computer hardware.
図8において、コンピュータシステム900は、CD−ROM(Compact Disk Read Only Memory)ドライブ905を含むコンピュータ901と、キーボード902と、マウス903と、モニタ904とを備える。
In FIG. 8, the
図9は、コンピュータシステム900の内部構成を示す図である。図9において、コンピュータ901は、CD−ROMドライブ905に加えて、MPU(Micro Processing Unit)911と、ブートアッププログラム等のプログラムを記憶するためのROM912と、MPU911に接続され、アプリケーションプログラムの命令を一時的に記憶すると共に、一時記憶空間を提供するRAM(Random Access Memory)913と、アプリケーションプログラム、システムプログラム、及びデータを記憶するハードディスク914と、MPU911、ROM912等を相互に接続するバス915とを備える。なお、コンピュータ901は、LANへの接続を提供する図示しないネットワークカードを含んでいてもよい。
FIG. 9 is a diagram showing an internal configuration of the
コンピュータシステム900に、上記実施の形態によるカラーコード処理装置等の機能を実行させるプログラムは、CD−ROM921に記憶されて、CD−ROMドライブ905に挿入され、ハードディスク914に転送されてもよい。これに代えて、そのプログラムは、図示しないネットワークを介してコンピュータ901に送信され、ハードディスク914に記憶されてもよい。プログラムは実行の際にRAM913にロードされる。なお、プログラムは、CD−ROM921、またはネットワークから直接、ロードされてもよい。
A program that causes the
プログラムは、コンピュータ901に、上記実施の形態によるカラーコード処理装置の機能を実行させるオペレーティングシステム(OS)、またはサードパーティプログラム等を必ずしも含んでいなくてもよい。プログラムは、制御された態様で適切な機能(モジュール)を呼び出し、所望の結果が得られるようにする命令の部分のみを含んでいてもよい。コンピュータシステム900がどのように動作するのかについては周知であり、詳細な説明は省略する。
The program does not necessarily include an operating system (OS) or a third-party program that causes the
本発明は、以上の実施の形態に限定されることなく、種々の変更が可能であり、それらも本発明の範囲内に包含されるものであることは言うまでもない。 The present invention is not limited to the above-described embodiments, and various modifications are possible, and it goes without saying that these are also included in the scope of the present invention.
以上のように、本発明にかかるカラーコード処理装置等は、カラーコードを利用した装置等として適しており、特に、カラーコードを含む配置されている情報を電子データ化する装置等として有用である。 As described above, the color code processing apparatus according to the present invention is suitable as an apparatus using a color code, and is particularly useful as an apparatus for converting information including a color code into electronic data. .
1 カラーコード処理装置
101 受付部
102 撮影部
103 対応格納部
104 取得部
105 出力部
106 読取情報格納部
DESCRIPTION OF
Claims (5)
前記受付部が受け付けた撮影画像から、カラーコードと、当該カラーコードに対応する位置に配置された第一の取得対象と、当該カラーコードに対応する位置に配置された第二の取得対象との複数の組を検出し、検出した各組について、それぞれ、カラーコードに対応する情報と、第一の取得対象に対応する属性値と、第二の取得対象に対応する属性値とを有する情報である読取情報を取得する取得部と、
前記取得部が取得した読取情報を出力する出力部とを備えたカラーコード処理装置。 Two or more acquisition targets arranged in the first direction, and two or more first acquisition targets that are acquisition targets associated with different attribute values, and the second direction different from the first direction Two or more second acquisition targets that are two or more acquisition targets that are arranged in a direction and are associated with different attribute values, and any one of the two or more first acquisition targets And two or more color codes respectively disposed at positions corresponding to any one of the two or more second acquisition targets, and a reception unit that receives a captured image,
From the photographed image received by the receiving unit, a color code, a first acquisition target arranged at a position corresponding to the color code, and a second acquisition target arranged at a position corresponding to the color code A plurality of sets are detected, and for each detected set, information corresponding to a color code, an attribute value corresponding to the first acquisition target, and an attribute value corresponding to the second acquisition target An acquisition unit for acquiring certain read information;
A color code processing apparatus comprising: an output unit that outputs read information acquired by the acquisition unit.
前記カラーコードに対応付けられた情報は、ユーザ識別子である請求項1記載のカラーコード処理装置。 The attribute value associated with the first acquisition target is a date and time,
Information associated with the color code, according to claim 1 Symbol placement color code processing apparatus is a user identifier.
前記第二の取得対象と対応付けられた属性値は、ユーザ識別子であり、
前記カラーコードに対応付けられた情報は、ユーザの行動を示す行動情報である請求項1記載のカラーコード処理装置。 The attribute value associated with the first acquisition target is a date and time,
The attribute value associated with the second acquisition target is a user identifier,
Information associated with the color code, color code processing apparatus according to claim 1, wherein the action information indicating the action of the user.
前記出力部が、第一の方向に配列された二以上の取得対象であって、異なる属性値と対応付けられた取得対象である二以上の第一の取得対象と、前記第一の方向とは異なる第二の方向に配列された二以上の取得対象であって、異なる属性値と対応付けられた取得対象である二以上の第二の取得対象と、前記二以上の第一の取得対象のうちのいずれかと前記二以上の第二の取得対象のうちのいずれかとに対応する位置にそれぞれ配置された二以上のカラーコードと、が撮影された撮影画像を受け付ける受付ステップと、
前記取得部が、前記受付ステップで受け付けた撮影画像から、カラーコードと、当該カラーコードに対応する位置に配置された第一の取得対象と、当該カラーコードに対応する位置に配置された第二の取得対象との複数の組を検出し、検出した各組について、それぞれ、カラーコードに対応する情報と、第一の取得対象に対応する属性値と、第二の取得対象に対応する属性値とを有する情報である読取情報を取得する取得ステップと、
前記出力部が、前記取得ステップで取得した読取情報を出力する出力ステップとを備えたカラーコード処理方法。 A color code processing method performed using a reception unit, an acquisition unit, and an output unit,
The output unit is two or more acquisition targets arranged in a first direction, and two or more first acquisition targets that are acquisition targets associated with different attribute values; and the first direction Are two or more acquisition targets arranged in different second directions, two or more second acquisition targets that are acquisition targets associated with different attribute values, and the two or more first acquisition targets An accepting step of accepting a photographed image obtained by photographing two or more color codes respectively disposed at positions corresponding to any one of the two and two or more second acquisition targets ;
From the photographed image received in the receiving step, the acquisition unit receives a color code, a first acquisition target arranged at a position corresponding to the color code, and a second arranged at a position corresponding to the color code. A plurality of pairs with the acquisition target is detected, and for each detected pair, the information corresponding to the color code, the attribute value corresponding to the first acquisition target, and the attribute value corresponding to the second acquisition target an acquisition step of acquiring information in which the read information with bets,
A color code processing method , comprising: an output step in which the output unit outputs the read information acquired in the acquisition step .
第一の方向に配列された二以上の取得対象であって、異なる属性値と対応付けられた取得対象である二以上の第一の取得対象と、前記第一の方向とは異なる第二の方向に配列された二以上の取得対象であって、異なる属性値と対応付けられた取得対象である二以上の第二の取得対象と、前記二以上の第一の取得対象のうちのいずれかと前記二以上の第二の取得対象のうちのいずれかとに対応する位置にそれぞれ配置された二以上のカラーコードと、が撮影された撮影画像を受け付ける受付部と、
前記受付部が受け付けた撮影画像から、カラーコードと、当該カラーコードに対応する位置に配置された第一の取得対象と、当該カラーコードに対応する位置に配置された第二の取得対象との複数の組を検出し、検出した各組について、それぞれ、カラーコードに対応する情報と、第一の取得対象に対応する属性値と、第二の取得対象に対応する属性値とを有する情報である読取情報を取得する取得部と、
前記取得部が取得した読取情報を出力する出力部として機能させるためのプログラム。 Computer
Two or more acquisition targets arranged in the first direction, and two or more first acquisition targets that are acquisition targets associated with different attribute values, and the second direction different from the first direction Two or more second acquisition targets that are two or more acquisition targets that are arranged in a direction and are associated with different attribute values, and any one of the two or more first acquisition targets And two or more color codes respectively disposed at positions corresponding to any one of the two or more second acquisition targets, and a reception unit that receives a captured image,
From the photographed image received by the receiving unit, a color code, a first acquisition target arranged at a position corresponding to the color code, and a second acquisition target arranged at a position corresponding to the color code A plurality of sets are detected, and for each detected set, information corresponding to a color code, an attribute value corresponding to the first acquisition target, and an attribute value corresponding to the second acquisition target An acquisition unit for acquiring certain read information;
A program for functioning as an output unit that outputs read information acquired by the acquisition unit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2015161694A JP6579654B2 (en) | 2015-08-19 | 2015-08-19 | Color code processing apparatus, color code processing method, and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2015161694A JP6579654B2 (en) | 2015-08-19 | 2015-08-19 | Color code processing apparatus, color code processing method, and program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2017041047A JP2017041047A (en) | 2017-02-23 |
JP6579654B2 true JP6579654B2 (en) | 2019-09-25 |
Family
ID=58203074
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2015161694A Active JP6579654B2 (en) | 2015-08-19 | 2015-08-19 | Color code processing apparatus, color code processing method, and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6579654B2 (en) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP7156618B2 (en) * | 2018-06-08 | 2022-10-19 | ワム・システム・デザイン株式会社 | Information processing device, information system, information processing method, and program |
JP2020042580A (en) * | 2018-09-11 | 2020-03-19 | ワム・システム・デザイン株式会社 | Code information acquiring apparatus, code information acquiring method, and program |
CN110084226B (en) | 2019-03-04 | 2022-08-09 | 华为数字能源技术有限公司 | Electronic layout diagram acquisition method, device and system applied to photovoltaic array |
JP7241342B2 (en) * | 2019-03-11 | 2023-03-17 | ワム・システム・デザイン株式会社 | Information processing device, information processing method, and program |
JP7293790B2 (en) * | 2019-03-26 | 2023-06-20 | コニカミノルタ株式会社 | Behavior identification system, behavior identification method, and behavior identification device |
JP7356627B2 (en) * | 2019-08-28 | 2023-10-05 | ワム・グランド・デザイン株式会社 | Information processing device, schedule management tool, information processing method, and program |
JP7375261B2 (en) | 2019-12-24 | 2023-11-08 | ワム・グランド・デザイン株式会社 | Code processing device, code processing method, and program |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5587516B1 (en) * | 2013-07-31 | 2014-09-10 | 株式会社日立システムズ | Management object management system |
JP2015069632A (en) * | 2013-09-29 | 2015-04-13 | 守秀 中村 | Action schedule bulletin board system and program |
JP2016018544A (en) * | 2014-07-11 | 2016-02-01 | サトーホールディングス株式会社 | Reading apparatus |
-
2015
- 2015-08-19 JP JP2015161694A patent/JP6579654B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP2017041047A (en) | 2017-02-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6579654B2 (en) | Color code processing apparatus, color code processing method, and program | |
TWI528292B (en) | Information code, information code generation method, information code reading device, and information code utilization system | |
JP5847964B2 (en) | System and method for mobile image capture and processing | |
JP6159015B2 (en) | Memo recognition system and method | |
JP6050843B2 (en) | Information processing apparatus, method, and program | |
JP5312701B1 (en) | Business card management server, business card image acquisition device, business card management method, business card image acquisition method, and program | |
US9800754B2 (en) | Global registration of filled-out content in an application form | |
JP5975281B2 (en) | Image processing apparatus and program | |
WO2020156553A1 (en) | Qr code positioning box identification method and apparatus, and electronic device and storage medium | |
JP2014053716A (en) | Image processing device and program | |
JP4323453B2 (en) | Information acquisition method and information acquisition program | |
JP2005071262A (en) | Slip processing system | |
KR20130016037A (en) | Image management apparatus using maker recognition and image tracing | |
US20150100577A1 (en) | Image processing apparatus and method, and non-transitory computer readable medium | |
US20220269396A1 (en) | Dynamic targeting of preferred objects in video stream of smartphone camera | |
JP6547654B2 (en) | Document imaging apparatus, document imaging method, program for document imaging apparatus, and management system | |
CN103037154A (en) | Image taking apparatus | |
JP2014219822A (en) | Content display device, content display method, program, and content display system | |
JP2020038611A (en) | Information processing apparatus, information processing system, method, and program | |
JP6167956B2 (en) | Information code generation method, information code, information code reader, and information code utilization system | |
JP7356627B2 (en) | Information processing device, schedule management tool, information processing method, and program | |
JP4738978B2 (en) | WRITING INFORMATION PROCESSING SYSTEM, WRITING INFORMATION PROCESSING METHOD, AND PROGRAM | |
JP2007079967A (en) | Registered imprint collation system | |
JP7427851B2 (en) | Code processing device, code processing method, and program | |
US20190095708A1 (en) | System and method for conversion between tangible and electronic calendaring systems |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20180806 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20190118 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20190129 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20190329 |
|
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: 20190823 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20190823 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6579654 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
S531 | Written request for registration of change of domicile |
Free format text: JAPANESE INTERMEDIATE CODE: R313531 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |