TWI848282B - Composite QR code, printed matter, information processing system and program - Google Patents
Composite QR code, printed matter, information processing system and program Download PDFInfo
- Publication number
- TWI848282B TWI848282B TW111115076A TW111115076A TWI848282B TW I848282 B TWI848282 B TW I848282B TW 111115076 A TW111115076 A TW 111115076A TW 111115076 A TW111115076 A TW 111115076A TW I848282 B TWI848282 B TW I848282B
- Authority
- TW
- Taiwan
- Prior art keywords
- color
- unit
- aforementioned
- dimensional code
- composite
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K19/00—Record carriers for use with machines and with at least a part designed to carry digital markings
- G06K19/06—Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
- G06K19/06009—Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code with optically detectable marking
- G06K19/06037—Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code with optically detectable marking multi-dimensional coding
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K19/00—Record carriers for use with machines and with at least a part designed to carry digital markings
- G06K19/06—Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
- G06K19/06009—Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code with optically detectable marking
- G06K19/06046—Constructional details
- G06K19/06056—Constructional details the marking comprising a further embedded marking, e.g. a 1D bar code with the black bars containing a smaller sized coding
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K19/00—Record carriers for use with machines and with at least a part designed to carry digital markings
- G06K19/06—Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
- G06K19/06009—Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code with optically detectable marking
- G06K19/06046—Constructional details
- G06K19/0614—Constructional details the marking being selective to wavelength, e.g. color barcode or barcodes only visible under UV or IR
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K7/00—Methods or arrangements for sensing record carriers, e.g. for reading patterns
- G06K7/10—Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
- G06K7/14—Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation using light without selection of wavelength, e.g. sensing reflected white light
- G06K7/1404—Methods for optical code recognition
- G06K7/1408—Methods for optical code recognition the method being specifically adapted for the type of code
- G06K7/1417—2D bar codes
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K7/00—Methods or arrangements for sensing record carriers, e.g. for reading patterns
- G06K7/10—Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
- G06K7/14—Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation using light without selection of wavelength, e.g. sensing reflected white light
- G06K7/1404—Methods for optical code recognition
- G06K7/1408—Methods for optical code recognition the method being specifically adapted for the type of code
- G06K7/1434—Barcodes with supplemental or add-on codes
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K19/00—Record carriers for use with machines and with at least a part designed to carry digital markings
- G06K19/06—Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
- G06K2019/06215—Aspects not covered by other subgroups
- G06K2019/06225—Aspects not covered by other subgroups using wavelength selection, e.g. colour code
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Electromagnetism (AREA)
- General Health & Medical Sciences (AREA)
- Toxicology (AREA)
- Artificial Intelligence (AREA)
- Health & Medical Sciences (AREA)
- Image Processing (AREA)
- Inks, Pencil-Leads, Or Crayons (AREA)
- Credit Cards Or The Like (AREA)
Abstract
[課題]提供可防止機械性及電子性之複製的複合二維碼。[解決手段]複合二維碼合成有第1二維碼與第2二維碼,並包含具有第1色之第1單元、具有第2色之第2單元及具有第3色之第3單元,其中第1色、第2色及第3色彼此相異,第1二維碼係透過第1過濾處理而取得,第2二維碼係透過第2過濾處理而取得。[Topic] Provide a composite two-dimensional code that can prevent mechanical and electronic copying. [Solution] The composite two-dimensional code is a combination of a first two-dimensional code and a second two-dimensional code, and includes a first unit having a first color, a second unit having a second color, and a third unit having a third color, wherein the first color, the second color, and the third color are different from each other, the first two-dimensional code is obtained through a first filtering process, and the second two-dimensional code is obtained through a second filtering process.
Description
本發明之一實施型態係關於合成有二維碼的複合二維碼。並且,本發明之一實施型態係關於印刷有複合二維碼的印刷品。並且,本發明之一實施型態係關於複合二維碼之資訊處理系統。並且,本發明之一實施型態係關於執行複合二維碼之讀取處理的程式。 One embodiment of the present invention is related to a composite two-dimensional code synthesized with a two-dimensional code. Furthermore, one embodiment of the present invention is related to a printed matter printed with a composite two-dimensional code. Furthermore, one embodiment of the present invention is related to an information processing system for a composite two-dimensional code. Furthermore, one embodiment of the present invention is related to a program for executing a read process of a composite two-dimensional code.
QR碼(註冊商標)般的二維碼,與一維的條碼相比較包含多量的資訊,使用者只要讀取二維碼即可輕易取得多量的資訊。是故,近年在工序管理、庫存管理或結算等各式各樣的領域中,二維碼的利用增加。舉例而言,在專利文獻1中揭示了附有二維碼的票券。並且,在專利文獻2中揭示了附有二維碼的保險憑證。
Two-dimensional codes such as QR codes (registered trademarks) contain more information than one-dimensional barcodes, and users can easily obtain a large amount of information by simply reading the two-dimensional code. Therefore, in recent years, the use of two-dimensional codes has increased in various fields such as process management, inventory management, or settlement. For example,
『專利文獻』 『Patent Literature』
《專利文獻1》:日本專利公開第2015-165342號公報
"
《專利文獻2》:日本專利公開第H11-221990號公報
"
然而,二維碼由複印機複製而非法使用的情形亦不
少見(亦即二維碼的偽造)。是故,為了防止二維碼的偽造,在專利文獻1中揭示了使用反射特性相異之墨水的二維碼。並且,在專利文獻2中揭示了在經複製的情況下會附有假圖的二維碼。
However, it is not uncommon for a two-dimensional code to be copied by a copier and used illegally (i.e., forgery of the two-dimensional code). Therefore, in order to prevent forgery of the two-dimensional code,
在專利文獻1及專利文獻2中,主要以防止由複印機複製的印刷品之二維碼的偽造為目的。亦即,以防止機械性的複製為目的。然而,近年來藉由智慧型手機等資訊終端讀取二維碼,所讀取之電子資料就此直接利用的機會亦增加。是故,在二維碼的利用中,不僅要求防止機械性的複製,還要求防止電子性的複製。
In
本發明之一實施型態有鑑於上述問題,以提供可防止機械性及電子性之複製的複合二維碼為目的之一。並且,本發明之一實施型態以提供可防止機械性及電子性之複製的複合二維碼之生成方法為目的之一。並且,本發明之一實施型態以提供印刷有可防止機械性及電子性的複製之複合二維碼的印刷品為目的之一。並且,本發明之一實施型態以提供執行可防止機械性及電子性之複製的複合二維碼之讀取處理的資訊處理系統為目的。並且,本發明之一實施型態以提供執行可防止機械性及電子性之複製的複合二維碼之讀取處理的程式為目的之一。 In view of the above problems, one of the purposes of an embodiment of the present invention is to provide a composite two-dimensional code that can prevent mechanical and electronic copying. Furthermore, one of the purposes of an embodiment of the present invention is to provide a method for generating a composite two-dimensional code that can prevent mechanical and electronic copying. Furthermore, one of the purposes of an embodiment of the present invention is to provide a printed matter printed with a composite two-dimensional code that can prevent mechanical and electronic copying. Furthermore, one of the purposes of an embodiment of the present invention is to provide an information processing system that performs a read process of a composite two-dimensional code that can prevent mechanical and electronic copying. Furthermore, one of the purposes of an embodiment of the present invention is to provide a program that performs a read process of a composite two-dimensional code that can prevent mechanical and electronic copying.
本發明之一實施型態相關之複合二維碼,其係合成有第1二維碼與第2二維碼並包含具有第1色之第1單元、具有第2色之第2單元及具有第3色之第3單元的複合二維碼,其中 第1色、第2色及第3色彼此相異,第1二維碼係透過第1過濾處理而取得,第2二維碼係透過第2過濾處理而取得。 A composite two-dimensional code related to one embodiment of the present invention is a composite two-dimensional code that is a combination of a first two-dimensional code and a second two-dimensional code and includes a first unit having a first color, a second unit having a second color, and a third unit having a third color, wherein the first color, the second color, and the third color are different from each other, the first two-dimensional code is obtained through a first filtering process, and the second two-dimensional code is obtained through a second filtering process.
第1過濾處理亦可為第2色之減色處理或加色處理,第2過濾處理亦可為第1色之減色處理或加色處理。 The first filtering process can also be a subtractive or additive process for the second color, and the second filtering process can also be a subtractive or additive process for the first color.
複合二維碼亦可更包含具有第4色之第1色碼、具有第5色之第2色碼及具有第6色之第3色碼,其中第4色、第5色及第6色彼此相異,第1二維碼係進一步透過包含依據第1色碼、第2色碼及第3色碼之至少1者之色彩校正的第1過濾處理而取得,第2二維碼係進一步透過包含依據第1色碼、第2色碼及第3色碼之至少1者之色彩校正的第2過濾處理而取得。 The composite QR code may further include a first color code having a fourth color, a second color code having a fifth color, and a third color code having a sixth color, wherein the fourth color, the fifth color, and the sixth color are different from each other, the first QR code is further obtained through a first filtering process including color correction based on at least one of the first color code, the second color code, and the third color code, and the second QR code is further obtained through a second filtering process including color correction based on at least one of the first color code, the second color code, and the third color code.
第1色、第2色及第3色亦可分別與第4色、第5色及第6色相同。第4色、第5色及第6色亦可分別為紅色、綠色及藍色。第4色、第5色及第6色亦可分別為青色、洋紅色、黃色。 The 1st color, 2nd color and 3rd color may also be the same as the 4th color, 5th color and 6th color respectively. The 4th color, 5th color and 6th color may also be red, green and blue respectively. The 4th color, 5th color and 6th color may also be cyan, magenta and yellow respectively.
第1色與第2色亦可處於互補色之關係。第3色亦可為黑色。 The first color and the second color can also be in a complementary relationship. The third color can also be black.
本發明之一實施型態相關之印刷品印刷有上述複合二維碼。 The printed matter related to one embodiment of the present invention is printed with the above-mentioned composite QR code.
本發明之一實施型態相關之資訊處理系統,其包含:對於包含具有第1色之第1單元、具有第2色之第2單元及具有第3色之第3單元的複合二維碼進行第1過濾處理以取得第1二 維碼的第1取得部,以及對於複合二維碼進行第2過濾處理以取得第2二維碼的第2取得部。 An information processing system related to an embodiment of the present invention includes: a first acquisition unit that performs a first filtering process on a composite two-dimensional code including a first unit having a first color, a second unit having a second color, and a third unit having a third color to obtain a first two-dimensional code, and a second acquisition unit that performs a second filtering process on the composite two-dimensional code to obtain a second two-dimensional code.
第1取得部亦可自複合二維碼之影像資料取得第2單元之RGB值,第2單元之RGB值包含於將第2色之RGB值作為基準的第1範圍內之時,進行將第2單元之顏色轉換成第3色的第1過濾處理,取得包含具有第3色之第2單元及第3單元的第1二維碼,第2取得部亦可自影像資料取得第1單元之RGB值,第1單元之RGB值包含於將第1色之RGB值作為基準的第2範圍內之時,進行將第1單元之顏色轉換成第3色的第2過濾處理,取得包含具有第3色之第1單元及第3單元的第2二維碼。 The first acquisition unit may also acquire the RGB value of the second unit from the image data of the composite two-dimensional code. When the RGB value of the second unit is included in the first range based on the RGB value of the second color, the first filtering process is performed to convert the color of the second unit into the third color, and the first two-dimensional code including the second unit and the third unit having the third color is acquired. The second acquisition unit may also acquire the RGB value of the first unit from the image data. When the RGB value of the first unit is included in the second range based on the RGB value of the first color, the second filtering process is performed to convert the color of the first unit into the third color, and the second two-dimensional code including the first unit and the third unit having the third color is acquired.
在第1過濾處理中,亦可進一步將不包含於第1範圍內的第2單元之顏色及第1單元之顏色轉換成複合二維碼之背景色,在第2過濾處理中,亦可進一步將不包含於第2範圍內的第1單元之顏色及第2單元之顏色轉換成複合二維碼之背景色。 In the first filtering process, the color of the second unit not included in the first range and the color of the first unit can be further converted into the background color of the composite two-dimensional code. In the second filtering process, the color of the first unit not included in the second range and the color of the second unit can be further converted into the background color of the composite two-dimensional code.
複合二維碼亦可更包含具有第4色之第1色碼、具有第5色之第2色碼、具有第6色之第3色碼,亦可更包含算出部,所述算出部在影像資料中,算出第1色碼之RGB值與第4色之RGB值的第1差分值、第2色碼之RGB值與第5色之RGB值的第2差分值及第3色碼之RGB值與第6色之RGB值的第3差分值,依據第1差分值、第2差分值及第3差分值之至少1者, 校正第1單元、第2單元及第3單元的顏色。 The composite two-dimensional code may further include a first color code having a fourth color, a second color code having a fifth color, and a third color code having a sixth color, and may further include a calculation unit, which calculates the first difference value between the RGB value of the first color code and the RGB value of the fourth color, the second difference value between the RGB value of the second color code and the RGB value of the fifth color, and the third difference value between the RGB value of the third color code and the RGB value of the sixth color in the image data, and corrects the colors of the first unit, the second unit, and the third unit according to at least one of the first difference value, the second difference value, and the third difference value.
第1取得部亦可在複合二維碼之影像資料中,進行將具有第2色之第2單元轉換的第1過濾處理,取得包含具有第1色之第1單元及具有第3色之第3單元的第1二維碼之後,依據所取得之第1二維碼,取得有關於複合二維碼所包含的具有第1色之第1單元之個數的第1個數資訊,第2取得部亦可在影像資料中,進行將具有第1色之第1單元轉換的第2過濾處理,取得有關於經轉換之具有第1色之第1單元之個數的第2個數資訊,第2個數資訊滿足依據第1個數資訊的指定條件之時,取得包含具有第2色之第2單元及具有第3色之第3單元的第2二維碼。 The first acquisition unit may also perform a first filtering process to convert the second unit with the second color in the image data of the composite two-dimensional code, and after obtaining the first two-dimensional code including the first unit with the first color and the third unit with the third color, obtain the first numerical information about the number of the first unit with the first color included in the composite two-dimensional code according to the obtained first two-dimensional code. The second acquisition unit may also perform a second filtering process to convert the first unit with the first color in the image data, and obtain the second numerical information about the number of the converted first unit with the first color. When the second numerical information satisfies the specified condition according to the first numerical information, the second two-dimensional code including the second unit with the second color and the third unit with the third color is obtained.
指定條件亦可為第2個數資訊為第1個數資訊之(1-a)倍以上且第1個數資訊之(1+a)倍以下的範圍內,a為經預先設定的設定值。 The specified condition can also be within the range where the second numerical information is greater than (1-a) times the first numerical information and less than (1+a) times the first numerical information, where a is a preset setting value.
第1取得部亦可在複合二維碼之影像資料中,進行將具有第2色之第2單元轉換的第1過濾處理,取得包含具有第1色之第1單元及具有第3色之第3單元的第1二維碼之後,依據所取得之第1二維碼,取得有關於具有第1色之第1單元相對於複合二維碼所占之比例的第1比例資訊,第2取得部亦可在影像資料中,進行將具有第1色之第1單元轉換的第2過濾處理,取得有關於經轉換的具有第1色之第1單元相對於複合二維碼所 占之比例的第2比例資訊,第2比例資訊滿足依據第1比例資訊的指定條件之時,取得包含具有第2色之第2單元及具有第3色之第3單元的第2二維碼。 The first acquisition unit may also perform a first filtering process to convert the second unit having the second color in the image data of the composite two-dimensional code, and after obtaining the first two-dimensional code including the first unit having the first color and the third unit having the third color, obtain first ratio information about the ratio of the first unit having the first color to the composite two-dimensional code based on the obtained first two-dimensional code. The second acquisition unit may also perform a second filtering process to convert the first unit having the first color in the image data, and obtain second ratio information about the ratio of the converted first unit having the first color to the composite two-dimensional code. When the second ratio information satisfies the specified condition based on the first ratio information, the second two-dimensional code including the second unit having the second color and the third unit having the third color is obtained.
指定條件亦可為第2比例資訊為第1比例資訊之(1-a)倍以上且第1比例資訊之(1+a)倍以下的範圍內,a為經預先設定的設定值。 The specified condition may also be within the range where the second ratio information is greater than (1-a) times the first ratio information and less than (1+a) times the first ratio information, where a is a preset setting value.
本發明之一實施型態相關之程式於電腦執行:對於包含具有第1色之第1單元、具有第2色之第2單元及具有第3色之第3單元的複合二維碼進行第1過濾處理以取得第1二維碼,對於複合二維碼進行第2過濾處理以取得第2二維碼。 A program related to one embodiment of the present invention is executed on a computer: a first filtering process is performed on a composite two-dimensional code including a first unit having a first color, a second unit having a second color, and a third unit having a third color to obtain a first two-dimensional code, and a second filtering process is performed on the composite two-dimensional code to obtain a second two-dimensional code.
在第1過濾處理中,亦可自複合二維碼之影像資料取得第2單元之RGB值,第2單元之RGB值包含於將第2色之RGB值作為基準的第1範圍內之時,將第2單元之顏色轉換成第3色,在第2過濾處理中,亦可自影像資料取得第1單元之RGB值,第1單元之RGB值包含於將第1色之RGB值作為基準的第2範圍內之時,將第1單元之顏色轉換成第3色,第1二維碼亦可包含具有第3色之第2單元及第3單元,第2二維碼亦可包含具有第3色之第1單元及第3單元。 In the first filtering process, the RGB value of the second unit can also be obtained from the image data of the composite two-dimensional code. When the RGB value of the second unit is included in the first range based on the RGB value of the second color, the color of the second unit is converted to the third color. In the second filtering process, the RGB value of the first unit can also be obtained from the image data. When the RGB value of the first unit is included in the second range based on the RGB value of the first color, the color of the first unit is converted to the third color. The first two-dimensional code can also include the second unit and the third unit having the third color, and the second two-dimensional code can also include the first unit and the third unit having the third color.
複合二維碼亦可更包含具有第4色之第1色碼、具有第5色之第2色碼、具有第6色之第3色碼,於電腦亦可進一步執行:在影像資料中,算出第1色碼之RGB值與第4色之RGB 值的第1差分值、第2色碼之RGB值與第5色之RGB值的第2差分值及第3色碼之RGB值與第6色之RGB值的第3差分值,依據第1差分值、第2差分值及第3差分值之至少1者,校正第1單元、第2單元及第3單元的顏色。 The composite QR code may further include the first color code with the fourth color, the second color code with the fifth color, and the third color code with the sixth color. The computer may further perform the following steps: in the image data, calculate the first difference between the RGB value of the first color code and the RGB value of the fourth color, the second difference between the RGB value of the second color code and the RGB value of the fifth color, and the third difference between the RGB value of the third color code and the RGB value of the sixth color. Based on at least one of the first difference, the second difference, and the third difference, calibrate the colors of the first unit, the second unit, and the third unit.
亦可在複合二維碼之影像資料中,進行將具有第2色之第2單元轉換的第1過濾處理,取得包含具有第1色之第1單元及具有第3色之第3單元的第1二維碼之後,依據所取得之第1二維碼,取得有關於複合二維碼所包含的具有第1色之第1單元之個數的第1個數資訊,亦可在影像資料中,進行將具有第1色之第1單元轉換的第2過濾處理,取得有關於經轉換的具有第1色之第1單元之個數的第2個數資訊,第2個數資訊滿足依據第1個數資訊的指定條件之時,取得包含具有第2色之第2單元及具有第3色之第3單元的第2二維碼。 Alternatively, the first filtering process of converting the second unit with the second color may be performed in the image data of the composite two-dimensional code, and after obtaining the first two-dimensional code including the first unit with the first color and the third unit with the third color, the first numerical information about the number of the first unit with the first color included in the composite two-dimensional code may be obtained based on the obtained first two-dimensional code. Alternatively, the second filtering process of converting the first unit with the first color may be performed in the image data, and the second numerical information about the number of the converted first unit with the first color may be obtained. When the second numerical information satisfies the specified condition based on the first numerical information, the second two-dimensional code including the second unit with the second color and the third unit with the third color may be obtained.
亦可在複合二維碼之影像資料中,進行將具有第2色之第2單元轉換的第1過濾處理,取得包含具有第1色之第1單元及具有第3色之第3單元的第1二維碼之後,依據所取得之第1二維碼,取得有關於具有第1色之第1單元相對於複合二維碼所占之比例的第1比例資訊,亦可在影像資料中,進行將具有第1色之第1單元轉換的第2過濾處理,取得有關於經轉換的具有第1色之第1單元相對於複合二維碼所占之比例的第2比例資訊,第2比例資訊滿足依據第1比例資訊的指定條件之時,取得 包含具有第2色之第2單元及具有第3色之第3單元的第2二維碼。 Alternatively, the first filtering process of converting the second unit having the second color may be performed in the image data of the composite two-dimensional code, and after obtaining the first two-dimensional code including the first unit having the first color and the third unit having the third color, first ratio information about the ratio of the first unit having the first color to the composite two-dimensional code may be obtained based on the obtained first two-dimensional code. Alternatively, the second filtering process of converting the first unit having the first color may be performed in the image data, and second ratio information about the ratio of the converted first unit having the first color to the composite two-dimensional code may be obtained. When the second ratio information satisfies the specified condition based on the first ratio information, the second two-dimensional code including the second unit having the second color and the third unit having the third color may be obtained.
本發明之一實施型態相關之複合二維碼由於包含多個二維碼,故可包含較1個二維碼還多的資訊。並且,複合二維碼由於包含多個顏色的單元,故機械性正確複製顏色或形狀並非易事。甚且,在複合二維碼中,藉由進行將經合成的二維碼分離成各個代碼的過濾處理,始可取得資訊。因此,根據複合二維碼,不僅可防止機械性的複製,還可防止電子性的複製。 Since the composite two-dimensional code related to one embodiment of the present invention includes multiple two-dimensional codes, it can include more information than one two-dimensional code. Moreover, since the composite two-dimensional code includes units of multiple colors, it is not easy to mechanically accurately copy the color or shape. Moreover, in the composite two-dimensional code, information can only be obtained by performing a filtering process to separate the synthesized two-dimensional code into individual codes. Therefore, according to the composite two-dimensional code, not only mechanical copying but also electronic copying can be prevented.
10,10A,10B,10D:資訊處理系統 10,10A,10B,10D: Information processing system
11,11A,11B:資訊終端 11,11A,11B: Information terminal
12A:伺服器 12A: Server
13B:濾色器 13B: Color filter
100:控制部 100: Control Department
101:第1取得部
101:
102:第2取得部
102:
103D:算出部 103D: Calculation Department
110:攝像部 110: Camera Department
120:顯示部 120: Display unit
130A:第1通訊部 130A: 1st Communications Department
140A:第2通訊部 140A: 2nd Communications Department
300,300D:複合二維碼 300,300D: Composite QR code
301:第1單元
301:
302:第2單元
302:
303:第3單元
303:
304:剪切記號 304: Cut mark
305D,305E,305F:色碼圖案部 305D, 305E, 305F: Color code pattern section
305D-1,305E-1,305F-1:第1色碼 305D-1, 305E-1, 305F-1: 1st color code
305D-2,305E-2,305F-2:第2色碼 305D-2, 305E-2, 305F-2: 2nd color code
305D-3,305E-3,305F-3:第3色碼 305D-3, 305E-3, 305F-3: 3rd color code
305D-4,305F-4:第4色碼 305D-4,305F-4: 4th color code
310,310B-1,310B-2:影像資料 310,310B-1,310B-2: Image data
320:二維碼 320: QR code
320-1:第1二維碼 320-1: QR code No. 1
320-2:第2二維碼 320-2: 2nd QR code
330-1:第1二維碼 330-1: QR code No. 1
330-2:第2二維碼 330-2: 2nd QR code
340-1:第1二維碼 340-1: QR code No. 1
340-2:第2二維碼 340-2: 2nd QR code
410:印刷品 410: Printed materials
420:影像 420: Image
510:物品 510:Items
520:顯示裝置 520: Display device
〈圖1〉係繪示本發明之一實施型態相關之複合二維碼之構造的示意圖。 〈Figure 1〉 is a schematic diagram showing the structure of a composite two-dimensional code related to one embodiment of the present invention.
〈圖2〉係繪示本發明之一實施型態相關之複合二維碼之利用態樣之例的示意圖。 〈Figure 2〉 is a schematic diagram showing an example of the use of a composite two-dimensional code related to one embodiment of the present invention.
〈圖3〉係繪示執行本發明之一實施型態相關之複合二維碼之讀取處理的資訊處理系統之構造的方塊圖。 〈Figure 3〉 is a block diagram showing the structure of an information processing system for performing a composite two-dimensional code reading process related to one embodiment of the present invention.
〈圖4〉係本發明之一實施型態相關之複合二維碼之讀取處理的流程圖。 〈Figure 4〉 is a flow chart of the reading process of a composite two-dimensional code related to one embodiment of the present invention.
〈圖5〉係說明自本發明之一實施型態相關之複合二維碼取得第1二維碼之第1取得處理的示意圖。 〈Figure 5〉 is a schematic diagram illustrating the first acquisition process of obtaining the first two-dimensional code from a composite two-dimensional code related to one embodiment of the present invention.
〈圖6〉係說明自本發明之一實施型態相關之複合二維碼取得第2二維碼之第2取得處理的示意圖。 〈Figure 6〉 is a schematic diagram illustrating the second acquisition process of obtaining a second two-dimensional code from a composite two-dimensional code related to one embodiment of the present invention.
〈圖7〉係說明本發明之一實施型態相關之複合二維碼之生成處理的示意圖。 〈Figure 7〉 is a schematic diagram illustrating the generation and processing of a composite two-dimensional code related to one embodiment of the present invention.
〈圖8〉係繪示執行本發明之一實施型態相關之複合二維碼之讀取處理的資訊處理系統之構造的方塊圖。 〈Figure 8〉 is a block diagram showing the structure of an information processing system for performing a composite two-dimensional code reading process related to one embodiment of the present invention.
〈圖9〉係本發明之一實施型態相關之二維碼之讀取處理的流程圖。 〈Figure 9〉 is a flowchart of the reading process of a two-dimensional code related to one embodiment of the present invention.
〈圖10〉係說明執行本發明之一實施型態相關之複合二維碼之讀取處理的資訊處理系統之構造的示意圖。 〈Figure 10〉 is a schematic diagram illustrating the structure of an information processing system for performing a composite two-dimensional code reading process related to one embodiment of the present invention.
〈圖11〉係本發明之一實施型態相關之複合二維碼之讀取處理的流程圖。 〈Figure 11〉 is a flow chart of the reading process of a composite two-dimensional code related to one embodiment of the present invention.
〈圖12〉係本發明之一實施型態相關之複合二維碼之讀取處理的流程圖。 〈Figure 12〉 is a flowchart of the reading process of a composite two-dimensional code related to one embodiment of the present invention.
〈圖13〉係繪示本發明之一實施型態相關之複合二維碼之構造的示意圖。 〈Figure 13〉 is a schematic diagram showing the structure of a composite two-dimensional code related to one embodiment of the present invention.
〈圖14〉係繪示執行本發明之一實施型態相關之複合二維碼之讀取處理的資訊處理系統之構造的方塊圖。 〈Figure 14〉 is a block diagram showing the structure of an information processing system for performing a composite two-dimensional code reading process related to one embodiment of the present invention.
〈圖15〉係本發明之一實施型態相關之複合二維碼之讀取處理的流程圖。 〈Figure 15〉 is a flow chart of the reading process of a composite two-dimensional code related to one embodiment of the present invention.
〈圖16〉係繪示本發明之一實施型態相關之複合二維碼所包含的另一色碼圖案部之構造的示意圖。 〈Figure 16〉 is a schematic diagram showing the structure of another color code pattern portion included in a composite two-dimensional code related to one embodiment of the present invention.
〈圖17〉係本發明之一實施型態相關之複合二維碼 之讀取處理的流程圖。 〈Figure 17〉 is a flowchart of the reading process of a composite two-dimensional code related to one embodiment of the present invention.
以下參照圖式說明本發明之各實施型態。惟本發明可在不脫離其要旨的範圍中以各式各樣的型態實施,並非限定解釋成以下所示例之實施型態的記載內容者。 The following is a description of various embodiments of the present invention with reference to the drawings. However, the present invention can be implemented in various forms without departing from its gist, and is not limited to the description of the embodiments exemplified below.
圖式為使說明更為明確,相比於實際的態樣,針對各部分的幅寬、厚度、形狀等有示意表示的情形,但終究僅係一例,並非限定本發明之解釋者。並且,在本說明書與各圖中,對於具備與已針對既有之圖說明者相同功能的要件,有時會標註相同的符號,省略重複的說明。 In order to make the description clearer, the drawings show schematic representations of the width, thickness, shape, etc. of each part compared to the actual state, but it is only an example and does not limit the interpretation of the present invention. In addition, in this manual and each figure, the same symbols are sometimes used to mark the elements with the same functions as those described in the existing figures, and repeated descriptions are omitted.
在本說明書及圖式中,於總括標示相同或類似的多個構造時,有標示相同符號或於相同符號添加標示大寫字母的情形。於分別區分標示一個構造之中之多個部分時,有使用相同符號並進一步使用連字符與自然數的情形。 In this manual and drawings, when collectively marking multiple identical or similar structures, the same symbol may be used or capital letters may be added to the same symbol. When distinguishing and marking multiple parts of a structure, the same symbol may be used and a hyphen and a natural number may be used.
在本說明書中,標記於各構造之「第1」、「第2」或「第3」等用語,係為了區分各構造而使用之便宜的標識,除非特別的說明,否則不具有其他的意義。 In this manual, the terms "1st", "2nd" or "3rd" marked on each structure are used as convenient identifiers to distinguish each structure and have no other meaning unless otherwise specified.
在本說明書中,所謂「二維碼」,係謂沿水平方向及垂直方向具有資訊的二維之顯示形式的代碼。二維碼係例如QR碼(註冊商標),但不受限於此。 In this manual, the so-called "two-dimensional code" refers to a code with two-dimensional display format that has information in the horizontal and vertical directions. Two-dimensional code is, for example, QR code (registered trademark), but is not limited to this.
〈第1實施型態〉 〈First Implementation Form〉
參照圖1~圖7說明本發明之一實施型態相關之複合二維碼300。
Referring to Figures 1 to 7, a composite two-
〔1.複合二維碼之構造〕 [1. Structure of composite QR code]
圖1係繪示本發明之一實施型態相關之複合二維碼300之構造的示意圖。
FIG1 is a schematic diagram showing the structure of a composite two-
如圖1所示,複合二維碼300包含具有第1色之多個第1單元301、具有第2色之多個第2單元302及具有第3色之多個第3單元303。並且,圖1所示之複合二維碼300包含具有第3色之3個剪切記號304。
As shown in FIG. 1 , the composite two-
3個剪切記號304配置於對應正方形之頂點的位置。剪切記號304係成為二維碼之讀取的基準者。亦即,在二維碼之讀取中,藉由檢測3個剪切記號304的位置、傾斜或大小,可識別指定之二維碼。是故,剪切記號304亦可稱為位置檢測圖案。此外,剪切記號304的數量不受限於3個。剪切記號304的數量亦可為例如1個。
The three cutting
多個第1單元301、多個第2單元302及多個第3單元303沿以3個剪切記號304圍繞之矩形區域內的水平方向及垂直方向配置。二維碼所包含之資訊由第1單元301、第2單元302或第3單元303的配置決定。
Multiple
圖1所示之複合二維碼300係所謂的QR碼(註冊商標)。下面為了方便,以複合二維碼300為QR碼(註冊商標)
的形式說明,但複合二維碼300不受限於QR碼(註冊商標)。
The composite two-
第1色、第2色及第3色係彼此相異的任意顏色。惟第1色與第2色以處於互補色之關係為佳。舉例而言,第1色為紅色時,第2色為青色。並且,第1色為洋紅色時,第2色為綠色。並且,第3色以自第1色與第2色之兩者於色相、彩度或明度有差異為佳。舉例而言,第1色與第2色處於互補色之關係時,第3色為黑色。此外,複合二維碼300包含與第1色、第2色及第3色相異的背景色。背景色以白色為佳,但不受限於此。背景色亦可為透明。
The first color, the second color, and the third color are any colors that are different from each other. However, it is preferred that the first color and the second color are in a complementary color relationship. For example, when the first color is red, the second color is cyan. Furthermore, when the first color is magenta, the second color is green. Furthermore, it is preferred that the third color is different from the first color and the second color in hue, chroma, or brightness. For example, when the first color and the second color are in a complementary color relationship, the third color is black. In addition, the composite two-
圖2係繪示本發明之一實施型態相關之複合二維碼300之利用態樣之例的示意圖。
FIG. 2 is a schematic diagram showing an example of the use of a composite two-
圖2之(A)係複合二維碼300印刷於印刷品410並且印刷品410附於物品510之情形的一例。在此情況下,複合二維碼300可包含物品510之資訊。藉由複合二維碼300包含物品510之資訊,可自附於物品510之印刷品410讀取複合二維碼300之資訊,取得物品510之資訊。
FIG2 (A) is an example of a situation where the composite two-
印刷品410係例如紙或薄膜等,但不受限於此。並且,作為複合二維碼300往印刷品410印字的手段,可使用例如:凸版方式、平版方式、凹版方式、孔版方式、電子照片方式、噴墨方式或雷射方式等,但不受限於此等。並且,當印刷複合二維碼300時,可使用活版墨水、平版墨水、網版墨水、熱固化墨水、
紫外線固化墨水、磁性墨水或UV螢光墨水等,但不受限於此。
The printed
此外,複合二維碼300亦可直接印刷於物品510,而無須中介印刷品410。並且,於複合二維碼300亦可包含物品510以外之資訊。
In addition, the composite two-
圖2之(B)係以複合二維碼300為影像420的形式顯示於顯示裝置520之情形的一例。在此情況下,複合二維碼300可配合影像420被利用的態樣包含任意資訊。舉例而言,在影像420利用於結算的情況下,複合二維碼300可包含結算資訊。使用者可自影像420讀取複合二維碼300之結算資訊,執行結算處理。
FIG2 (B) is an example of a situation where the composite two-
顯示裝置520係可顯示資料或資訊的顯示介面。作為顯示裝置520,可使用例如液晶顯示裝置或OLED(Organic Light-Emitting Diode)顯示裝置等。
The
如以上所說明,複合二維碼300印刷於印刷品410或者物品510或顯示於影像420來利用,但在任一情況下皆可藉由讀取複合二維碼300來取得複合二維碼300所包含之資訊。
As described above, the composite two-
複合二維碼300合成有2個二維碼。是故,複合二維碼300可包含1個二維碼之約2倍的資訊。在複合二維碼300中,將1個資訊分割,經分割的2個資訊可做成包含於2個二維碼,亦可做成將2個資訊包含於2個二維碼之各者。在複合二維碼300包含2個資訊的情況下,2個資訊可為彼此有關聯的資訊,
亦可為彼此無關聯的獨立之資訊。下面說明複合二維碼300之讀取處理。
The composite two-
〔2.複合二維碼300之讀取處理〕
〔2. Reading and processing of
圖3係繪示執行本發明之一實施型態相關之複合二維碼300之讀取處理的資訊處理系統10之構造的方塊圖。
FIG3 is a block diagram showing the structure of an
資訊處理系統10包含可讀取複合二維碼300的資訊終端11。資訊終端11係例如:行動電話、智慧型手機、平板電腦或個人電腦,但不受限於此等。具體而言,在資訊處理系統10中,可使用資訊終端11拍攝包含複合二維碼300的印刷品410、物品510或影像420,自所拍攝之複合二維碼300取得正規之二維碼。
The
在資訊處理系統10中,可藉由將程式安裝於資訊終端11,進行二維碼生成處理。並且,在資訊處理系統10中,亦可將程式儲存於記錄媒介(例如CD-ROM或DVD-ROM等),藉由以資訊終端11讀出記錄媒介,以資訊終端11進行二維碼生成處理。
In the
如圖3所示,資訊處理系統10包含控制部100、攝像部110及顯示部120。並且,控制部100包含第1取得部101及第2取得部102。
As shown in FIG3 , the
控制部100係可使用資料或資訊進行演算處理的電腦。控制部100包含例如:中央演算處理裝置(Central Processing
Unit:CPU)、微處理器(Micro Processing Unit:MPU)、影像處理裝置(Graphics Processing Unit:GPU)或隨機存取記憶體(Random Access Memory:RAM)等。具體而言,控制部100可執行程式使第1取得部101及第2取得部102發揮功能。此外,將於後敘述第1取得部101及第2取得部102的細節。
The
攝像部110係可拍攝印刷品410、物品510或影像420的攝像裝置。具體而言,攝像部110可拍攝包含複合二維碼300的印刷品410、物品510或影像420,生成包含複合二維碼300的影像資料310。作為攝像部110,可使用例如攝影機或掃描器等。
The
顯示部120係可顯示經拍攝之包含複合二維碼300之印刷品410、物品510或影像420的顯示介面。作為顯示部120,可使用例如液晶顯示裝置或OLED顯示裝置等。
The
第1取得部101進行第1過濾處理,自影像資料310取得第1二維碼。第1過濾處理係第2色之減色處理。具體而言,第2色之減色處理係將第2色轉換成背景色的處理。對於影像資料310進行第1過濾處理時,第2色轉換成背景色,可將具有第2色之第2單元302消除。是故,透過第1過濾處理,影像資料310轉換成包含具有第1色之多個第1單元301、具有第3色之多個第3單元303、具有第3色之3個剪切記號304的第1二維碼。
The
此外,第1過濾處理亦可為對於影像資料310的第2色之加色處理。具體而言,第2色之加色處理係將背景色轉換成第2色的處理。在此情況下,由於影像資料310之背景與第2單元302變得具有相同的第2色,故作為結果,可將第2單元302消除。
In addition, the first filtering process may also be an additive process for the second color of the
並且,在第1過濾處理中,亦可進行將第1單元301之第1色轉換的處理。舉例而言,透過第1過濾處理,第1色亦可轉換成第3色。
Furthermore, in the first filtering process, the first color of the
第2取得部102進行第2過濾處理,自影像資料310取得第2二維碼。第2過濾處理係第1色之減色處理。具體而言,第1色之減色處理係將第1色轉換成背景色的處理。對於影像資料310進行第2過濾處理時,第1色轉換成背景色,可將具有第1色之第1單元301消除。是故,藉由第2過濾處理,影像資料310轉換成包含具有第2色之多個第2單元302、具有第3色之多個第3單元303、具有第3色之3個剪切記號304的第2二維碼。
The
此外,第2過濾處理亦可為對於影像資料310的第1色之加色處理。具體而言,第1色之加色處理係將背景色轉換成第1色的處理。在此情況下,由於影像資料310之背景與第1單元301變得具有相同的第1色,故作為結果,可將第1單元301消除。
In addition, the second filtering process may also be an additive process for the first color of the
並且,在第2過濾處理中,亦可進行將第2單元302之第2色轉換的處理。舉例而言,藉由第2過濾處理,第2色亦可轉換成第3色。
Furthermore, in the second filtering process, the second color of the
圖4係本發明之一實施型態相關之複合二維碼300之讀取處理的流程圖。並且,圖5係說明自本發明之一實施型態相關之複合二維碼300取得第1二維碼320-1之第1取得處理的示意圖。並且,圖6係說明自本發明之一實施型態相關之複合二維碼300取得第2二維碼320-2之第2取得處理的示意圖。
FIG. 4 is a flowchart of a reading process of a composite two-
複合二維碼300之讀取處理,在資訊處理系統10中藉由執行複合二維碼300之讀取處理的程式來開始。
The reading process of the composite two-
在步驟S100中,攝像部110自包含複合二維碼300的印刷品410、物品510或影像420生成影像資料310。舉例而言,使用者藉由使用資訊處理系統10之攝像部110拍攝印刷品410、物品510或影像420,攝像部110可生成影像資料310。
In step S100, the
在步驟S110中,第1取得部101對於影像資料310進行第1過濾處理,自影像資料310取得第1二維碼320-1。如圖5所示,對於影像資料310進行第2色之減色處理作為第1過濾處理時,生成具有第2色之第2單元302經消除的第1二維碼320-1。亦即,第1二維碼320-1包含具有第1色之多個第1單元301、具有第3色之多個第3單元303、具有第3色之3個剪切記號304。
In step S110, the
在步驟S120中,第2取得部102對於影像資料310進行第2過濾處理,自影像資料310取得第2二維碼320-2。如圖6所示,對於影像資料310進行第1色之減色處理作為第2過濾處理時,生成具有第1色之第1單元301經消除的第2二維碼320-2。亦即,第2二維碼320-2包含具有第2色之多個第2單元302、具有第3色之多個第3單元303、具有第3色之3個剪切記號304。
In step S120, the
在步驟S130中,顯示部120顯示第1二維碼320-1或第2二維碼320-2。使用者可依據所顯示之第1二維碼320-1或第2二維碼320-2,取得第1二維碼320-1或第2二維碼320-2所包含之資訊。
In step S130, the
複合二維碼300之讀取處理因執行步驟S130而結束。
The reading process of the composite two-
〈第1實施型態之變形例1〉
〈
在上述第1實施型態相關之複合二維碼300之讀取處理中,第1取得部101及第2取得部102分別取得第1二維碼320-1及第2二維碼320-2。在本變形例於步驟S110中,第1取得部101進一步取得第1二維碼320-1所包含之資訊,在步驟S120中,第2取得部102進一步取得第2二維碼320-2所包含之資訊。在此情況下,在步驟S130中,顯示部120可顯示第1二維碼320-1所包含之資訊或第2二維碼320-2所包含之資訊,代替
第1二維碼320-1或第2二維碼320-2。使用者可自複合二維碼300直接取得複合二維碼300所包含之資訊。
In the reading process of the composite two-
此外,對使用者提示的資訊,不受限於第1二維碼320-1或第2二維碼320-2所包含之資訊。對使用者亦可提示與第1二維碼320-1或者第2二維碼320-2所包含之資訊相關聯的資訊,或自第1二維碼320-1或者第2二維碼320-2所包含之資訊導出的資訊(例如物品510之真偽判斷之結果的資訊等)等。以下為了方便,有將此等資訊定為二維碼所附帶的資訊來說明的情形。 In addition, the information presented to the user is not limited to the information contained in the first QR code 320-1 or the second QR code 320-2. The user may also be presented with information related to the information contained in the first QR code 320-1 or the second QR code 320-2, or information derived from the information contained in the first QR code 320-1 or the second QR code 320-2 (e.g., information on the result of the authenticity determination of the item 510). For convenience, the following description will define such information as the information attached to the QR code.
如上所述,藉由利用資訊處理系統10,可自複合二維碼300取得2個二維碼320(第1二維碼320-1及第2二維碼320-2)。於2個二維碼320可包含有互為關聯的資訊,亦可包含有個別獨立的資訊。下面說明複合二維碼300之生成處理。
As described above, by using the
〔3.複合二維碼之生成處理〕 〔3. Generation and processing of composite QR codes〕
圖7係說明本發明之一實施型態相關之複合二維碼300之生成處理的示意圖。
FIG. 7 is a schematic diagram illustrating the generation process of a composite two-
如圖7之(A)所示,生成包含第1資訊的第1二維碼330-1及包含第2資訊的第2二維碼330-2。 As shown in (A) of FIG. 7 , a first two-dimensional code 330-1 including the first information and a second two-dimensional code 330-2 including the second information are generated.
隨後,如圖7之(B)所示,將第1二維碼330-1轉換成第1色。藉此,可生成包含具有第1色之多個第1單元及3個剪切記號的第1二維碼340-1。同樣將第2二維碼330-2轉換 成第2色。藉此,可生成包含具有第2色之多個第2單元及3個剪切記號的第2二維碼340-2。 Then, as shown in FIG. 7 (B), the first two-dimensional code 330-1 is converted into the first color. Thus, the first two-dimensional code 340-1 including a plurality of first units having the first color and three cutting marks can be generated. Similarly, the second two-dimensional code 330-2 is converted into the second color. Thus, the second two-dimensional code 340-2 including a plurality of second units having the second color and three cutting marks can be generated.
隨後,如圖7之(C)所示,將第1二維碼340-1與第2二維碼340-2合成。具體而言,以第1二維碼340-1及第2二維碼340-2之各者的3個剪切記號重疊的方式,將第1二維碼340-1與第2二維碼340-2合成。此時,第1二維碼340-1之第1單元與第2二維碼340-2之第2單元重疊的第3單元轉換成第3色。第1二維碼340-1及第2二維碼340-2之各者的3個剪切記號亦重疊,故此等亦轉換成第3色。藉此,可生成包含具有第1色之多個第1單元、具有第2色之多個第2單元、具有第3色之多個第3單元及3個剪切記號的複合二維碼300。
Then, as shown in FIG. 7 (C), the first two-dimensional code 340-1 and the second two-dimensional code 340-2 are combined. Specifically, the first two-dimensional code 340-1 and the second two-dimensional code 340-2 are combined in such a way that the three cut marks of each of the first two-dimensional code 340-1 and the second two-dimensional code 340-2 overlap. At this time, the third unit where the first unit of the first two-dimensional code 340-1 and the second unit of the second two-dimensional code 340-2 overlap is converted to the third color. The three cut marks of each of the first two-dimensional code 340-1 and the second two-dimensional code 340-2 also overlap, so these are also converted to the third color. In this way, a composite two-
如上所述,所生成之複合二維碼300印刷於印刷品410或者物品510或以影像420的形式顯示來利用。
As described above, the generated composite two-
〈第1實施型態之變形例2〉
〈
於上所述之複合二維碼300雖為合成有第1二維碼320-1與第2二維碼320-2者(在複合二維碼300之生成中,合成有第1二維碼340-1與第2二維碼340-2者),但複合二維碼300亦可為合成有3個以上之二維碼者。在合成有n個(n為2以上之自然數)二維碼320的情況下,複合二維碼300包含由n+1種以上之顏色而成的單元。
Although the composite two-
如以上所說明,本實施型態相關之複合二維碼300由
於包含多個二維碼,故可包含較1個二維碼還多的資訊。並且,複合二維碼300由於包含多色的單元,故機械性正確複製顏色或形狀並非易事。甚且,在複合二維碼300中,藉由進行將經合成的二維碼分離成各個代碼的過濾處理,始可取得資訊。因此,複合二維碼300係不僅可防止機械性之複製還可防止電子性之複製的二維碼。
As described above, the composite two-
〈第2實施型態〉 〈Second Implementation Form〉
參照圖8及圖9說明與第1實施型態相異的複合二維碼300之讀取處理。具體而言,在本實施型態中,使用資訊處理系統10A代替資訊處理系統10,來執行複合二維碼300之讀取處理。此外,資訊處理系統10A之構造與資訊處理系統10之構造相同時,有省略其說明的情形。
Referring to FIG. 8 and FIG. 9 , the reading process of the composite two-
圖8係繪示執行本發明之一實施型態相關之複合二維碼300之讀取處理的資訊處理系統10A之構造的方塊圖。
FIG8 is a block diagram showing the structure of an
資訊處理系統10A包含資訊終端11A及伺服器12A。資訊終端11A可中介網路NW與伺服器12A通訊連接。網路NW可為有線,亦可為無線。舉例而言,網路NW係LAN(Local Area Network)或網際網路等,但不受限於此。
The
資訊終端11A係可拍攝包含複合二維碼300之印刷品410、物品510或影像420並生成影像資料310的終端。資訊終端11A係例如:行動電話、智慧型手機、平板電腦或個人電腦,
但不受限於此等。
The
伺服器12A係可自資訊終端11A提供影像資料310、取得第1二維碼320-1及第2二維碼320-2的軟體或電腦。此外,在伺服器12A係電腦的情況下,伺服器12A可為1台電腦,亦可為多台電腦。
The
如上所述,資訊處理系統10A具備資訊終端11A及伺服器12A,資訊終端11A所生成的影像資料310會發送至伺服器12A。在伺服器12A中,自經發送之影像資料310取得第1二維碼320-1及第2二維碼320-2。此外,資訊處理系統10A亦可透過雲端運算方式或ASP(Application Service Provider)方式來取得第1二維碼320-1及第2二維碼320-2。
As described above, the
如圖8所示,資訊處理系統10A之資訊終端11A包含攝像部110、顯示部120及第1通訊部130A。資訊處理系統10A之伺服器12A包含控制部100及第2通訊部140A。並且,控制部100包含第1取得部101及第2取得部102。
As shown in FIG8 , the
第1通訊部130A及第2通訊部140A係可藉由有線或無線發送或接收資料或資訊的通訊介面。作為第1通訊部130A及第2通訊部140A,可使用例如LAN模組或Wi-Fi(註冊商標)模組等。
The first communication unit 130A and the
圖9係本發明之一實施型態相關之複合二維碼300之讀取處理的流程圖。
FIG9 is a flow chart of the reading process of the composite two-
複合二維碼300之讀取處理,在資訊終端11A中藉由執行複合二維碼300之讀取處理的程式來開始。
The reading process of the composite two-
在步驟S100中,攝像部110自包含複合二維碼300的印刷品410、物品510或影像420生成影像資料310。
In step S100, the
在步驟S105A中,第1通訊部130A發送影像資料310。經發送之影像資料310由第2通訊部140A接收。
In step S105A, the first communication unit 130A sends the
在步驟S110中,第1取得部101對於影像資料310進行第1過濾處理,自影像資料310取得第1二維碼320-1。
In step S110, the
在步驟S120中,第2取得部102對於影像資料310進行第2過濾處理,自影像資料310取得第2二維碼320-2。
In step S120, the
在步驟S125A中,第2通訊部140A發送第1二維碼320-1及第2二維碼320-2。經發送之第1二維碼320-1及第2二維碼320-2由第1通訊部130A接收。
In step S125A, the
在步驟S130中,顯示部120顯示第1二維碼320-1或第2二維碼320-2。
In step S130, the
複合二維碼300之讀取處理因執行步驟S130而結束。
The reading process of the composite two-
〈第2實施型態之變形例〉 〈Variation of the second implementation form〉
在上述第2實施型態相關之複合二維碼300之讀取處理中,伺服器12A取得第1二維碼320-1及第2二維碼320-2,將所取得之第1二維碼320-1及第2二維碼320-2發送至資訊終
端11A。在本變形例中,伺服器12A可取得第1二維碼320-1所包含之資訊及第2二維碼320-2所包含之資訊,將所取得之第1二維碼320-1所包含之資訊及第2二維碼320-2所包含之資訊發送至資訊終端11A。在此情況下,在步驟S130中,顯示部120可顯示第1二維碼320-1所包含之資訊或第2二維碼320-2所包含之資訊,代替第1二維碼320-1或第2二維碼320-2。使用者可自複合二維碼300直接取得複合二維碼300所包含之資訊。此外,自伺服器12A發送至資訊終端11A的資訊及顯示於顯示部120的資訊,亦可為第1二維碼320-1或第2二維碼所附帶的資訊。
In the reading process of the composite two-
如以上所說明,即使在本實施型態相關之複合二維碼300之讀取處理中,亦藉由進行將經合成的二維碼分離成各個代碼的過濾處理,始可取得資訊。因此,不僅可防止二維碼之機械性的複製,還可防止電子性的複製。
As described above, even in the reading process of the composite two-
〈第3實施型態〉 〈Third Implementation Form〉
參照圖10及圖11進一步說明與第1實施型態相異的複合二維碼300之讀取處理。具體而言,在本實施型態中,使用資訊處理系統10B代替資訊處理系統10,來執行複合二維碼300之讀取。此外,資訊處理系統10B之構造與資訊處理系統10之構造相同時,有省略其說明的情形。
Referring to FIG. 10 and FIG. 11, the reading process of the composite two-
圖10係說明執行本發明之一實施型態相關之複合二維碼300之讀取處理的資訊處理系統10B之構造的示意圖。
FIG. 10 is a schematic diagram illustrating the structure of an
資訊處理系統10B包含資訊終端11B及濾色器13B。資訊終端11B可中介濾色器13B拍攝包含複合二維碼300的印刷品410、物品510或影像420,取得複合二維碼300所包含之資訊。
The
濾色器13B可透射指定顏色的光線。將透射第1色之光線的濾色器13B重疊於複合二維碼300時,在全反射的餘白及具有第1色之第1單元301中,僅第1色的光線會透射。是故,餘白與第1單元301變得看起來為相同顏色(亦即,第1單元301看起來已消失),成為具有第1色的背景。並且,在具有第2色之第2單元302及具有第3色之第3單元303中,由於濾色器13B會吸收第1色以外的光線使得透射的光線減少,故會變暗,第2單元302與第3單元303變得看起來幾乎相同顏色(於此為了方便,以第4色的形式說明。)。因此,重疊了透射第1色之光線之濾色器13B的複合二維碼300,會轉換成包含具有第1色之背景與具有第4色之單元的二維碼。此係對應於第1實施型態之第2過濾處理者。
The
同樣將透射第2色之光線的濾色器13B重疊於複合二維碼300時,在全反射的餘白及具有第2色之第2單元302中,僅第2色的光線會透射。是故,餘白與第2單元302變得看起來為相同顏色(亦即,第2單元302看起來已消失),成為具有第2色的背景。並且,在具有第1色之第1單元301及具有第3色
之第3單元303中,由於濾色器13B會吸收第2色以外的光線使得透射的光線減少,故會變暗,第1單元301與第3單元303變得看起來為第4色。因此,重疊了透射第2色之光線之濾色器13B的複合二維碼300,會轉換成包含具有第2色之背景與具有第4色之單元的二維碼。此係對應於第1實施型態之第1過濾處理者。因此,下面將使透射第2色之濾色器13B重疊的處理定為第1過濾處理來說明,將使透射第1色之濾色器13B重疊的處理定為第2過濾處理來說明。
Similarly, when the
如圖10所示,資訊處理系統10B之資訊終端11B包含攝像部110及顯示部120。
As shown in FIG10 , the
圖11係本發明之一實施型態相關之複合二維碼300之讀取處理的流程圖。
FIG11 is a flowchart of the reading process of the composite two-
複合二維碼300之讀取處理,在資訊處理系統10B中藉由執行複合二維碼300之讀取處理的程式來開始。
The reading process of the composite two-
在步驟S110B中,攝像部110自包含已藉由濾色器13B進行第1過濾處理之複合二維碼300的印刷品410、物品510或影像420生成影像資料310B-1。於影像資料310B-1包含有第1二維碼320-1。亦即,在步驟S110B中,可取得第1二維碼320-1。
In step S110B, the
在步驟S120B中,攝像部110自包含已藉由濾色器13B進行第2過濾處理之複合二維碼300的印刷品410、物品510
或影像420生成影像資料310B-2。於影像資料310B-2包含有第2二維碼320-2。亦即,在步驟S120B中,可取得第2二維碼320-2。
In step S120B, the
在步驟S130中,顯示部120顯示第1二維碼320-1或第2二維碼320-2。使用者可依據所顯示之第1二維碼320-1或第2二維碼320-2,取得第1二維碼320-1或第2二維碼320-2所包含之資訊。
In step S130, the
複合二維碼300之讀取處理因執行步驟S130而結束。
The reading process of the composite two-
〈第3實施型態之變形例〉 〈Variation of the third implementation form〉
在上述第3實施型態相關之複合二維碼300之讀取處理中,資訊終端11B取得第1二維碼320-1及第2二維碼320-2。在本變形例中,資訊終端11B進一步取得第1二維碼320-1所包含之資訊及第2二維碼320-2所包含之資訊。在此情況下,在步驟S130中,顯示部120可顯示第1二維碼320-1所包含之資訊或第2二維碼320-2所包含之資訊,代替第1二維碼320-1或第2二維碼320-2。使用者可自複合二維碼300直接取得複合二維碼300所包含之資訊。此外,對使用者亦可提示第1二維碼320-1或第2二維碼所附帶的資訊。
In the reading process of the composite two-
如以上所說明,即使在本實施型態相關之複合二維碼300之讀取處理中,亦藉由進行將經合成的二維碼分離成各個
代碼的過濾處理,始可取得資訊。因此,不僅可防止二維碼之機械性的複製,還可防止電子性的複製。
As described above, even in the reading process of the composite two-
〈第4實施型態〉 〈Fourth Implementation Form〉
參照圖12說明與第1實施型態~第3實施型態相異的複合二維碼300之讀取處理。具體而言,下面說明第1過濾處理及第2過濾處理的細節。在本實施型態中的複合二維碼300之讀取處理,可利用資訊處理系統10來執行,控制部100所包含之第1取得部101及第2取得部102可實現進一步的功能。下面針對與於上所述之構造相同的構造,有省略其說明的情形。
Referring to FIG. 12 , the reading process of the composite two-
第1取得部101自影像資料310取得第2單元302及第3單元303之各自的RGB值,所取得之RGB值處於指定範圍內之時,可將第2單元302及第3單元303之各自的顏色轉換成第3色。
The
第2取得部102自影像資料310取得第1單元301及第3單元303之各自的RGB值,所取得之RGB值處於指定範圍內之時,可將第1單元301及第3單元303之各自的顏色轉換成第3色。
The
圖12係本發明之一實施型態相關之複合二維碼300之讀取處理的流程圖。
FIG. 12 is a flowchart of the reading process of the composite two-
複合二維碼300之讀取處理,在資訊處理系統10中藉由執行複合二維碼300之讀取處理的程式來開始。
The reading process of the composite two-
在步驟S112C中,第1取得部101對於影像資料310進行第1過濾處理。依資訊終端11的不同或攝影方法或者攝影條件的不同等,影像資料310之第1單元301、第2單元302及第3單元303之各自的顏色包含色相、彩度或明度等的參差。是故,在本實施型態中的第1過濾處理中,考慮各色的參差進行過濾處理。具體而言,自影像資料310取得之第2單元302之RGB值(R2,G2,B2)處於經預先設定的第2色之RGB值的附近之時,將第2單元302之RGB值(R2,G2,B2)轉換成經預先設定的第3色之RGB值。舉例而言,在第2色及第3色分別設定為綠色(RGB值(0,128,0))及黑色(RGB值(0,0,0))的情況下,第2單元302之RGB值(R2,G2,B2)之G2為128-c2≦G2≦128+c2 '的範圍內之時,將第2單元302之RGB值(R2,G2,B2)轉換成黑色之RGB值(0,0,0)。亦即,第2單元302之顏色轉換成係為經預先設定的第3色之黑色,而無論參差多寡。於此,c2及c2 '為預先設定的設定值,可設定例如5、10或20等任意值。此外,c2與c2 '可為相同值,亦可為相異值。
In step S112C, the
同樣自影像資料310取得之第3單元303之RGB值(R3,G3,B3)處於經預先設定的第3色之RGB值的附近之時,將第3單元303之RGB值(R3,G3,B3)轉換成經預先設定的第3色之RGB值。舉例而言,在第3色設定為黑色(RGB值(0,0,0))的情況下,第3單元303之RGB值(R3,G3,B3)之R3、G3
及B3為0≦R3,G3,B3≦c3的範圍內之時,將第3單元303之RGB值(R3,G3,B3)轉換成黑色之RGB值(0,0,0)。亦即,第3單元303的顏色轉換成係為經預先設定的第3色之黑色,而無論參差多寡。於此,c3為預先設定的設定值,可設定例如5、10或20等任意值。此外,c3在R3、G3及B3之各者上可設定相同值,亦可設定相異值。
Similarly, when the RGB value (R 3 , G 3 , B 3 ) of the
之後,轉換成第3色之單元以外的單元之RGB值轉換成背景色,例如白色之RGB值(255,255,255)。 Afterwards, the RGB values of the units other than the unit converted to the third color are converted to the background color, such as the RGB value of white (255,255,255).
並且,3個剪切記號304之顏色亦可轉換成經預先設定的第3色。
Furthermore, the colors of the three cut
因此,在步驟S112C中的第1過濾處理中,全部單元之各自轉換成第3色(例如黑色)或背景色(例如白色)之任一者。 Therefore, in the first filtering process in step S112C, all cells are converted to either the third color (e.g., black) or the background color (e.g., white).
在步驟S114C中,第1取得部101透過第1過濾處理取得所生成之第1二維碼320-1。第1二維碼320-1包含具有第3色之多個第2單元302及多個第3單元303,以及具有第3色之3個剪切記號304。
In step S114C, the
在步驟S122C中,第2取得部102對於影像資料310進行第2過濾處理。具體而言,自影像資料310取得之第1單元301之RGB值(R1,G1,B1)處於經預先設定的第1色之RGB值的附近之時,將第1單元301之RGB值(R1,G1,B1)轉換成經
預先設定的第3色之RGB值。舉例而言,在第1色及第3色分別設定為紅色(RGB值(255,0,0))及黑色(RGB值(0,0,0))的情況下,第1單元301之RGB值(R1,G1,B1)之R1為255-c1≦R1≦255的範圍內之時,將第1單元301之RGB值(R1,G1,B1)轉換成黑色之RGB值(0,0,0)。亦即,第1單元301之顏色轉換成係為經預先設定的第3色之黑色,而無論參差多寡。於此,c1為預先設定的設定值,可設定例如5、10或20等任意值。
In step S122C, the
並且,比照步驟S112C,影像資料310所包含之第3單元303之RGB值(R3,G3,B3)處於經預先設定的第3色之RGB值的附近之時,將第3單元303之RGB值(R3,G3,B3)轉換成經預先設定的第3色之RGB值。之後,轉換成第3色之單元以外的單元之RGB值轉換成背景色,例如白色之RGB值(255,255,255)。並且,3個剪切記號304之顏色亦可轉換成經預先設定的第3色。
Furthermore, referring to step S112C, when the RGB value (R 3 , G 3 , B 3 ) of the
因此,在步驟S122C中的第2過濾處理中,全部單元之各自轉換成第3色(例如黑色)或背景色(例如白色)之任一者。 Therefore, in the second filtering process in step S122C, all cells are converted to either the third color (e.g., black) or the background color (e.g., white).
在步驟S124C中,第2取得部102透過第2過濾處理取得所生成之第2二維碼320-2。第2二維碼320-2包含具有第3色之多個第1單元301及多個第3單元303,以及具有第3色之3個剪切記號304。
In step S124C, the
步驟S124C之後,執行步驟S130。複合二維碼300之讀取處理因執行步驟S130而結束。
After step S124C, execute step S130. The reading process of the composite two-
如以上所說明,根據本實施型態相關之複合二維碼300之讀取處理,第1二維碼320-1及第2二維碼320-2可取得經第3色及背景色之2色化的二維碼,而無論影像資料310之顏色的參差多寡。因此,不僅可防止二維碼之機械性的複製,還可防止電子性的複製。
As described above, according to the reading process of the composite two-
並且,由於在步驟S130中顯示的第1二維碼320-1及第2二維碼320-2係經2色化的二維碼,故在第1二維碼320-1及第2二維碼320-2之讀取中,無需特別的讀取裝置。 Furthermore, since the first two-dimensional code 320-1 and the second two-dimensional code 320-2 displayed in step S130 are two-color two-dimensional codes, no special reading device is required in reading the first two-dimensional code 320-1 and the second two-dimensional code 320-2.
〈第5實施型態〉 〈Fifth Implementation Form〉
參照圖13~圖15說明與第1實施型態~第4實施型態相異的複合二維碼300D之讀取處理。在本實施型態中,使用圖13所示之複合二維碼300D。 Referring to FIG. 13 to FIG. 15 , the reading process of the composite two-dimensional code 300D which is different from the first to fourth embodiments is described. In this embodiment, the composite two-dimensional code 300D shown in FIG. 13 is used.
圖13係繪示本發明之一實施型態相關之複合二維碼300D之構造的示意圖。 FIG. 13 is a schematic diagram showing the structure of a composite two-dimensional code 300D related to one embodiment of the present invention.
如圖13所示,複合二維碼300D包含具有第1色之多個第1單元301、具有第2色之多個第2單元302、具有第3色之多個第3單元303、具有第3色之3個剪切記號304及色碼圖案部305D。此外,在本實施型態中,有將包含具有第1色之多個第1單元301、具有第2色之多個第2單元302、具有第3色之
多個第3單元303及具有第3色之3個剪切記號304的部分稱為單元圖案部的情形。
As shown in FIG. 13 , the composite two-dimensional code 300D includes a plurality of
色碼圖案部305D配置於第1單元301、第2單元302、第3單元303及剪切記號304的外側。色碼圖案部305D包含第1色碼305D-1、第2色碼305D-2、第3色碼305D-3及第4色碼305D-4。第1色碼305D-1、第2色碼305D-2及第3色碼305D-3分別與第1單元301之第1色、第2單元302之第2色及第3單元303之第3色相對應。亦即,第1色碼305D-1、第2色碼305D-2及第3色碼305D-3分別具有第1色、第2色及第3色。並且,第4色碼305D-4具有背景色。
The color code pattern portion 305D is disposed outside the
在本實施型態中的複合二維碼300D之讀取處理,可利用資訊處理系統10D來執行。此外,下面資訊處理系統10D之構造與資訊處理系統10之構造相同時,有省略資訊處理系統10D之構造之說明的情形。
The reading process of the composite two-dimensional code 300D in this embodiment can be performed using the
圖14係繪示執行在本發明之一實施型態中的複合二維碼300D之讀取處理的資訊處理系統10D之構造的方塊圖。
FIG. 14 is a block diagram showing the structure of an
如圖14所示,資訊處理系統10D之控制部100包含第1取得部101、第2取得部102及算出部103D。
As shown in FIG14 , the
算出部103D可自影像資料310取得色碼圖案部305D之第1色碼305D-1、第2色碼305D-2、第3色碼305D-3及第4色碼305D-4之各者的RGB值。並且,算出部103D可算出
所取得之RGB值與經預先設定之顏色之RGB值的差分值。再來,算出部103D可將所算出之差分值加在自影像資料310取得之RGB值上。
The
隨後,參照圖15說明影像資料310之顏色之校正的細節。此外,下面針對與於上所述之構造相同的構造,有省略其說明的情形。並且,下面為了方便,影像資料310之顏色的校正處理,定為有別於第1過濾處理及第2過濾處理的處理來說明,亦可於第1過濾處理及第2過濾處理之至少一者包含有影像資料310之顏色的校正處理。
Subsequently, the details of the color correction of the
圖15係本發明之一實施型態相關之複合二維碼300D之讀取處理的流程圖。 FIG. 15 is a flowchart of the reading process of the composite two-dimensional code 300D related to one embodiment of the present invention.
複合二維碼300D之讀取處理,在資訊處理系統10中藉由執行複合二維碼300D之讀取處理的程式來開始。
The reading process of the composite two-dimensional code 300D starts by executing the program for the reading process of the composite two-dimensional code 300D in the
在步驟S102D中,算出部自影像資料310取得色碼圖案部305D之第1色碼305D-1、第2色碼305D-2、第3色碼305D-3及第4色碼305D-4之各者的RGB值。並且,算出部算出經預先設定之第1色之RGB值與所取得之第1色碼305D-1之RGB值得差分值(以下稱為「第1差分值」。)。算出部同樣算出經預先設定之第2色之RGB值與所取得之第2色碼305D-2之RGB值的差分值(以下稱為「第2差分值」。)、經預先設定之第3色之RGB值與所取得之第3色碼305D-3之RGB值的差分
值(以下稱為「第3差分值」),以及經預先設定之背景色之RGB值與第4色碼305D-4之RGB值的差分值(以下稱為「第4差分值」。)。藉此,可檢測起因於資訊終端11的不同或攝影方法或者攝影條件的不同等的複合二維碼300D之顏色與影像資料310之顏色的不同。
In step S102D, the calculation unit obtains the RGB values of the first color code 305D-1, the second color code 305D-2, the third color code 305D-3, and the fourth color code 305D-4 of the color code pattern unit 305D from the
在步驟S104D中,算出部依據第1差分值、第2差分值、第3差分值及第4差分值,校正影像資料310之第1單元301、第2單元302、第3單元303及剪切記號304之各自的顏色以及背景色。具體而言,對自影像資料310取得之第1單元301之RGB值加上第1差分值。同樣對第2單元302之RGB值加上第2差分值,對第3單元303及剪切記號304之各自的RGB值加上第3差分值,以及對背景色之RGB值加上第4差分值。藉此,可校正影像資料310之顏色,以接近複合二維碼300D之顏色。
In step S104D, the calculation unit corrects the colors of the
步驟S104D之後,執行步驟S112C,以後之步驟已在第4實施型態說明,故於此之說明省略。此外,亦可實施已在第1實施型態說明的步驟S110以後之步驟,代替步驟S112C以後之步驟。在此情況下,在步驟S130中,可顯示具有接近於複合二維碼300之顏色的第1二維碼320-1及第2二維碼320-2。
After step S104D, step S112C is executed. The subsequent steps have been described in the fourth embodiment, so the description here is omitted. In addition, the steps after step S110 described in the first embodiment can also be implemented instead of the steps after step S112C. In this case, in step S130, the first two-dimensional code 320-1 and the second two-dimensional code 320-2 having a color close to the composite two-
此外,在本實施型態中,亦可將所取得之第1色碼305D-1、第2色碼305D-2、第3色碼305D-3及第4色碼305D-4
之各自的RGB值作為基準,進行第1過濾處理及第2過濾處理,而無須進行影像資料310之顏色的校正。
In addition, in this embodiment, the RGB values of the first color code 305D-1, the second color code 305D-2, the third color code 305D-3, and the fourth color code 305D-4 obtained can be used as a reference to perform the first filtering process and the second filtering process without the need to calibrate the color of the
〈第5實施型態之變形例〉 〈Variation of the fifth implementation form〉
複合二維碼300D所包含之色碼圖案部的構造,不受限於圖13所示之色碼圖案部305D。參照圖16說明色碼圖案部之另一構造。 The structure of the color code pattern portion included in the composite two-dimensional code 300D is not limited to the color code pattern portion 305D shown in FIG13. Another structure of the color code pattern portion is described with reference to FIG16.
圖16係繪示本發明之一實施型態相關之複合二維碼300D所包含的另一色碼圖案部之構造的示意圖。 FIG. 16 is a schematic diagram showing the structure of another color code pattern portion included in a composite two-dimensional code 300D related to one embodiment of the present invention.
圖16之(A)所示之色碼圖案部305E包含第1色碼305E-1、第2色碼305E-2及第3色碼305E-3。第1色碼305E-1、第2色碼305E-2及第3色碼305E-3分別為紅色(R)、綠色(G)及藍色(B)。第1色碼305E-1、第2色碼305E-2及第3色碼305E-3之任一者的顏色皆與第1單元301之第1色、第2單元302之第2色及第3單元303之第3色相異。於此,紅色(R)之RGB值為(255,0,0),綠色(G)之RGB值為(0,255,0),以及藍色(B)之RGB值為(0,0,255)。是故,自影像資料310取得第1色碼305E-1、第2色碼305E-2及第3色碼305E-3之各自的RGB值,取得之第1色碼305E-1、第2色碼305E-2及第3色碼305E-3分別對應於紅色(R)、綠色(G)及藍色(B)時,可由取得之第1色碼305E-1之RGB值算出自紅色(R)之RGB值的偏移量(差分值△R),可由取得之第2色碼305E-2之RGB
值算出自綠色(G)之RGB值的偏移量(差分值△G),以及可由取得之第3色碼305E-3之RGB值算出自藍色(B)之RGB值的偏移量(差分值△B)。因此,在第1單元301、第2單元302及第3單元303之任一者中,皆可藉由對各者之RGB值加上差分值(△R,△G,△B)來校正影像資料310之顏色,以接近複合二維碼300D之顏色。
The color
圖16之(B)所示之色碼圖案部305F包含第1色碼305F-1、第2色碼305F-2、第3色碼305F-3及第4色碼305F-4。第1色碼305F-1、第2色碼305F-2、第3色碼305F-3及第4色碼305F-4分別為青色(C)、洋紅色(M)、黃色(Y)及黑色(K)。第1色碼305F-1、第2色碼305F-2、第3色碼305F-3及第4色碼305F-4之任一者的顏色皆與第1單元301之第1色、第2單元302之第2色及第3單元303之第3色相異。於此,舉例而言,青色(C)之CMYK值為(100,0,0,0),洋紅色(M)之CMYK值為(0,100,0,0),黃色(Y)之CMYK值為(0,0,100,0),以及黑色(K)之CMYK值為(0,0,0,100)。並且,舉例而言,青色(C)之RGB值為(0,174,239),洋紅色(M)之RGB值為(255,0,255),黃色(Y)之RGB值為(255,255,0),以及黑色(K)之RGB值為(0,0,0)。在此情況下,自影像資料310取得第1色碼305F-1、第2色碼305F-2、第3色碼305F-3及第4色碼305F-4之各自的RGB值,分別與青色(C)、洋紅
色(M)、黃色(Y)及黑色(K)之RGB值對應而算出差分值。具體而言,第1色碼305F-1之差分值△C、第2色碼305F-2之差分值△M、第3色碼305F-3之差分值△Y及第4色碼305F-5之差分值△K的各者,係如式(1)所示。
The color
『數1』△C=(△RC,△GC,△BC) △M=(△RM,△GM,△BM) △Y=(△RY,△GY,△BY) △K=(△RK,△GK,△BK)‧‧‧(1)
『
預先設定於複合二維碼300D之第1單元301的顏色之CMYK值定為(C1,M1,Y1,K1)時,自影像資料310取得的第1單元301之RGB值之差分值(△R1,△G1,△B1)可藉由式(2)算出。於此,α為權重係數,得因於上所述之經預先設定的青色(C)、洋紅色(M)、黃色(Y)及黑色(K)之CMYK值或RGB值而變化。
When the CMYK value of the color of the
『數2』△R1=α R×(C1×△RC+M1×△RM+Y1×△RY+K1×△RK) △G1=α G×(C1×△GC+M1×△GM+Y1×△GY+K1×△GK) △B1=α B×(C1×△BC+M1×△BM+Y1×△BY+K1×△BK)‧‧‧(2)
『
式(2)係第1單元301之RGB值之差分值,亦同樣可算出第2單元302之RGB值、第3單元303之RGB值及背景色之RGB值之各自的差分值。因此,在第1單元301、第2單
元302、第3單元303及背景之任一者中,皆可藉由對各者之RGB值加上差分值(△R,△G,△B)來校正影像資料310之顏色,以接近複合二維碼300D之顏色。
Formula (2) is the difference value of the RGB value of the
如以上所說明,根據本實施型態相關之複合二維碼300D之讀取處理,即使影像資料310之顏色與複合二維碼300之顏色相異,亦可將第1二維碼320-1及第2二維碼320-2校正成接近複合二維碼300的顏色。因此,不僅可防止二維碼之機械性的複製,還可防止電子性的複製。
As described above, according to the reading process of the composite two-dimensional code 300D related to this embodiment, even if the color of the
〈第6實施型態〉 〈Sixth Implementation Form〉
參照圖17說明與第1實施型態~第5實施型態相異的複合二維碼300之讀取處理。在本實施型態中的複合二維碼300之讀取處理,可利用資訊處理系統10來執行,控制部100所包含之第1取得部101及第2取得部102可實現進一步的功能。下面針對與於上所述之構造相同的構造,有省略其說明的情形。
Referring to FIG. 17 , the reading process of the composite two-
第1取得部101可讀取透過第1過濾處理生成的第1二維碼320-1,取得第1二維碼320-1所包含的資訊。
The
第2取得部102可計數透過第2過濾處理轉換的單元之個數。並且,第2取得部102可依據第1取得部101所取得的資訊及第2取得部102透過計數而取得的資訊,判斷是否滿足指定條件。
The
圖17係本發明之一實施型態相關之複合二維碼300
之讀取處理的流程圖。
FIG. 17 is a flowchart of the reading process of the composite two-
複合二維碼300之讀取處理,在資訊處理系統10中藉由執行複合二維碼300之讀取處理的程式來開始。
The reading process of the composite two-
在步驟S112G中,第1取得部101對於影像資料310進行第1過濾處理。在本實施型態中,為了方便,第1過濾處理定為減色處理來說明,但在本實施型態中的第1過濾處理不受限於此。
In step S112G, the
在第1過濾處理中,自影像資料310消除具有第2色之第2單元302。具體而言,第2單元302之顏色自第2色轉換成背景色。在第1過濾處理中,亦可調整第1單元301之第1色、第2單元302之第2色、第3單元303之第3色及背景色的各色。舉例而言,亦可調整第1色及第2色之各自的彩度,調整第3色及背景色之各自的明度。藉由如此調整各色,可使具有第2色之第2單元302的輪廓明顯,使第1單元301、第2單元302及第3單元303之各者的邊界明確。在第1過濾處理中,如此調整影像資料310之後,亦可自經調整之影像資料310消除具有第2色之第2單元302。此外,在背景色並非白色的情況下,背景色亦可於影像資料310之調整的時候調整成白色。
In the first filtering process, the
在步驟S114G中,第1取得部101取得透過第1過濾處理生成的第1二維碼320-1。第1二維碼320-1包含具有第1色之多個第1單元301、具有第3色之多個第3單元303及具有
第3色之3個剪切記號304。此外,所取得之第1二維碼320-1,亦可第1色轉換成第3色。亦即,所取得之第1二維碼320-1亦可為轉換成多個第3單元303及3個剪切記號304之第3色與背景色之2色的二維碼。
In step S114G, the
在步驟S116G中,第1取得部101讀取第1二維碼320-1,取得第1二維碼320-1所包含的資訊。於此,於第1二維碼320-1包含有複合二維碼300中之有關於第1單元之個數的資訊(以下稱為「第1單元之含有個數資訊」。)。亦即,在步驟S116G中,取得第1單元之含有個數資訊。
In step S116G, the
在步驟S122G中,第2取得部102對於影像資料310進行第2過濾處理。在本實施型態中,為了方便,第2過濾處理定為減色處理來說明,但在本實施型態中的第2過濾處理不受限於此。
In step S122G, the
在第2過濾處理中,自影像資料310消除具有第1色之第1單元301。具體而言,第1單元301之顏色自第1色轉換成背景色。在第2過濾處理中,亦可自經第1過濾處理調整的影像資料310消除具有第1色之第1單元301。並且,在第2過濾處理中,計數所消除的第1單元301之個數。亦即,在第2過濾處理中,取得有關於所消除之第1單元301之個數的資訊(以下稱為「第1單元之消除個數資訊」。)。
In the second filtering process, the
在步驟S123G中,第2取得部102依據第1單元之
含有個數資訊及第1單元之消除個數資訊,判斷是否滿足指定條件。舉例而言,指定條件係第1單元之消除個數資訊是否包含於第1單元之含有個數資訊之(1-a)倍以上且第1單元之含有個數資訊之(1+a)倍以下的範圍。於此,a為預先設定的設定值,可設定例如0.05、0.1或0.15等任意值。在滿足指定條件的情況下(步驟S123G:YES),執行步驟S124G。另一方面,在不滿足指定條件的情況下(步驟S123G:NO),複合二維碼300之讀取處理結束。在此情況下,複合二維碼300有係為經偽造者的可能性,故亦可生成表示無法讀取複合二維碼300的警報,並對使用者提示警報。
In step S123G, the
在步驟S124G中,第1取得部101取得透過第2過濾處理生成的第2二維碼320-2。第2二維碼320-2包含具有第2色之多個第2單元302、具有第3色之多個第3單元303及具有第3色之3個剪切記號304。此外,所取得之第2二維碼320-2亦可第2色轉換成第3色。亦即,所取得之第2二維碼320-2亦可為轉換成多個第3單元303及3個剪切記號304之第3色與背景色之2色的二維碼。
In step S124G, the
步驟S124G之後,執行步驟S130。複合二維碼300之讀取處理因執行步驟S130而結束。
After step S124G, execute step S130. The reading process of the composite two-
〈第6實施型態之變形例1〉
<
第1二維碼320-1所包含的第1單元之含有個數資
訊亦可為多個,而非1個。舉例而言,將複合二維碼300分割成各自包含1個剪切記號304之3個區域及不含剪切記號304之1個區域的4個區域,第1單元之含有個數資訊亦可為有關於4個區域之各者所包含之第1單元之個數的資訊。在此情況下,在步驟S112C中,在與複合二維碼300之4個區域對應的影像資料310之4個區域的各者中,計數經消除的第1單元301之個數。亦即,第1單元之消除個數資訊包含在4個區域之各者中的4個第1單元301之消除個數。
The information about the number of first units contained in the first two-dimensional code 320-1 may also be multiple, not just one. For example, the composite two-
此外,所分割之多個區域的數量不受限於4個。並且,多個區域可連續,亦可不連續。再者,多個區域之面積可相同,亦可相異。 In addition, the number of divided regions is not limited to 4. In addition, the regions can be continuous or discontinuous. Furthermore, the areas of the regions can be the same or different.
並且,在步驟S123G中,於4個區域之各者中,判斷是否滿足於上所述之指定條件。再者,在步驟S123G中,亦可依據在4個區域中的判斷結果進行判斷。具體而言,在判斷為滿足指定條件之區域的數量為經預先設定之設定值以上的情況下,執行步驟S123G,取得第2二維碼320-2。另一方面,在判斷為滿足指定條件之區域的數量未達經預先設定之設定值的情況下,複合二維碼300之讀取處理結束。
Furthermore, in step S123G, it is determined whether the above-mentioned specified conditions are satisfied in each of the four areas. Furthermore, in step S123G, determination can also be made based on the determination results in the four areas. Specifically, when the number of areas determined to satisfy the specified conditions is greater than a preset value, step S123G is executed to obtain the second two-dimensional code 320-2. On the other hand, when the number of areas determined to satisfy the specified conditions does not reach the preset value, the reading process of the composite two-
〈第6實施型態之變形例2〉
<
在步驟S123G中的指定條件不受限於依據第1單元之含有個數資訊及第1單元之消除個數資訊的條件。舉例而言,
第1二維碼320-1亦可包含有關於第1單元相對於由複合二維碼300之3個剪切記號圍繞之矩形之比例的資訊(以下稱為「第1單元之含有比例資訊」。),在步驟S116G中取得第1單元之比例資訊。在此情況下,在步驟S122G中,取得影像資料310之有關於經消除之第1單元301相對於由3個剪切記號304圍繞之矩形之比例的資訊(以下稱為「第1單元之消除比例資訊」。)。因此,在步驟S123G中,判斷第1單元之消除比例資訊是否包含於第1單元之含有比例資訊之(1-a)倍以上且第1單元之含有比例資訊之(1+a)倍以下的範圍。
The specified condition in step S123G is not limited to the condition based on the information of the number of units contained in the first unit and the information of the number of units deleted in the first unit. For example, the first two-dimensional code 320-1 may also include information about the ratio of the first unit relative to the rectangle surrounded by the three cut marks of the composite two-dimensional code 300 (hereinafter referred to as "the first unit's contained ratio information"). The ratio information of the first unit is obtained in step S116G. In this case, in step S122G, information about the ratio of the deleted
〈第6實施型態之變形例3〉
<
在步驟S116G中,亦可藉由讀取經進行於第1二維碼320-1追加單元或自第1二維碼320-1刪除單元之處理的二維碼,取得第1單元之含有個數資訊,而非直接讀取第1二維碼320-1。在此情況下,於第1二維碼320-1之經預先設定之區域追加了單元的二維碼或自第1二維碼320-1之經預先設定之區域刪除了單元的二維碼,包含第1單元之含有個數資訊,第1二維碼320-1可包含其他資訊。 In step S116G, the number of units contained in the first unit can also be obtained by reading the QR code that has been processed by adding units to the first QR code 320-1 or deleting units from the first QR code 320-1, rather than directly reading the first QR code 320-1. In this case, the QR code that has added units to the pre-set area of the first QR code 320-1 or deleted units from the pre-set area of the first QR code 320-1 includes the number of units contained in the first unit, and the first QR code 320-1 may include other information.
並且,亦可在步驟S116G中,抽出第1二維碼320-1之指定區域,依據經抽出之區域的區域圖案,取得第1單元之含有個數資訊。舉例而言,亦可預先登記區域圖案與第1單元之含有個數資訊相關聯的資料庫,藉由將經抽出之區域的區域圖案 與資料庫比對,取得第1單元之含有個數資訊。 Furthermore, in step S116G, the designated area of the first two-dimensional code 320-1 can be extracted, and the number of units contained in the first unit can be obtained according to the area pattern of the extracted area. For example, a database that associates area patterns with the number of units contained in the first unit can be pre-registered, and the number of units contained in the first unit can be obtained by comparing the area pattern of the extracted area with the database.
如以上所說明,在本實施型態相關之複合二維碼300之讀取處理中,於取得第2二維碼320-2的時候,依據經生成之第1二維碼320-1所包含之資訊或利用經生成之第1二維碼320-1而取得之資訊,取得在指定判斷條件中的參數,進行是否滿足指定判斷條件的判斷。是故,在滿足指定條件的情況下,可取得第2二維碼320-2。因此,不僅可防止二維碼之機械性的複製,還可防止電子性的複製。
As described above, in the reading process of the composite two-
於上已作為本發明之實施型態敘述的各實施型態,只要不相互矛盾,即可適當組合而實施。並且,本發明所屬技術領域中具有通常知識者以各實施型態為基礎進行適合構成要件之追加、刪除或設計變更者,只要具備本發明之要旨,亦為本發明之範圍所包含。 The various embodiments described above as embodiments of the present invention can be implemented in appropriate combinations as long as they do not contradict each other. Moreover, any addition, deletion or design change of appropriate constituent elements made by a person with ordinary knowledge in the technical field to which the present invention belongs based on each embodiment is also included in the scope of the present invention as long as it has the gist of the present invention.
並且,即使係與由於上已述之各實施型態所促成之作用效果相異的其他作用效果,亦理解為自本說明書之記載顯而易見者,或對於本發明所屬技術領域中具有通常知識者而言得輕易預測者而理當由本發明所促成者。 Furthermore, even if the effects are different from the effects brought about by the above-mentioned embodiments, they are understood to be obvious from the description of this specification, or easily predictable to a person with ordinary knowledge in the technical field to which the present invention belongs, and should be brought about by the present invention.
300:複合二維碼 300: Composite QR code
301:第1單元
301:
302:第2單元
302:
303:第3單元
303:
304:剪切記號 304: Cut mark
Claims (26)
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2021071296 | 2021-04-20 | ||
| JP2021-071296 | 2021-04-20 |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| TW202309787A TW202309787A (en) | 2023-03-01 |
| TWI848282B true TWI848282B (en) | 2024-07-11 |
Family
ID=83722359
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| TW111115076A TWI848282B (en) | 2021-04-20 | 2022-04-20 | Composite QR code, printed matter, information processing system and program |
Country Status (6)
| Country | Link |
|---|---|
| US (1) | US12430528B2 (en) |
| EP (1) | EP4328798A4 (en) |
| JP (2) | JPWO2022224969A1 (en) |
| CN (1) | CN117501276A (en) |
| TW (1) | TWI848282B (en) |
| WO (1) | WO2022224969A1 (en) |
Families Citing this family (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2025039381A (en) * | 2023-09-08 | 2025-03-21 | 株式会社デンソー | Information code, information code generating device, and information code generating program |
| DE102024118037A1 (en) * | 2024-06-26 | 2025-12-31 | Bundesdruckerei Gmbh | Security element for a security or valuable document, method for manufacturing and method for optically reading a security element, as well as security or valuable document and method for testing |
| DE102024118039A1 (en) * | 2024-06-26 | 2025-12-31 | Bundesdruckerei Gmbh | Security element for a security or valuable document, method for manufacturing and method for optically reading a security element, as well as security or valuable document and method for testing |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH05174204A (en) * | 1991-12-24 | 1993-07-13 | Olympus Optical Co Ltd | Color bar-code and bar-code reader |
| JP2012226710A (en) * | 2011-04-22 | 2012-11-15 | Riso Kagaku Corp | Information code, information code generation apparatus, information code generation program and information code reader |
| US20200151528A1 (en) * | 2017-07-13 | 2020-05-14 | Ppk (Hainan) Ai Co. Ltd [Cn/Cn] | Personalized pattern-based commodity virtual code assignment method and system |
| US20210103786A1 (en) * | 2017-12-29 | 2021-04-08 | I.P Solutions, Ltd | Composite code pattern, generating device, reading device, method, and program |
Family Cites Families (14)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS61217887A (en) * | 1985-03-22 | 1986-09-27 | Nec Ic Microcomput Syst Ltd | Bar code system with high information density |
| JPS63254586A (en) * | 1987-04-10 | 1988-10-21 | Toru Sugita | Information recording method and recording medium using the same |
| JPH11221990A (en) | 1998-02-05 | 1999-08-17 | Toppan Forms Co Ltd | Sheet with 2D barcode |
| JP2005165565A (en) * | 2003-12-01 | 2005-06-23 | Kenpakku:Kk | Color code symbol and color code symbol generating method and storage medium for generating color code symbol |
| JP2005250865A (en) * | 2004-03-04 | 2005-09-15 | Fujinon Corp | Color code, reader for color code and document presentation apparatus |
| JP2005338669A (en) | 2004-05-31 | 2005-12-08 | Dainippon Printing Co Ltd | Authenticity determination body, authenticity determination article, and authentication method |
| JP2008047081A (en) * | 2006-08-16 | 2008-02-28 | Hiroshi Sano | Three-dimensional bar-code |
| US8905313B2 (en) * | 2007-04-12 | 2014-12-09 | Honeywell International Inc. | Method and system for creating and reading multi-color co-planar emissive indicia using printable dyes and pigments |
| JP2009123179A (en) * | 2007-11-14 | 2009-06-04 | Univ Of Tsukuba | Bar code, method for generating the same, and reading apparatus |
| JP5182182B2 (en) * | 2009-03-25 | 2013-04-10 | 株式会社デンソーウェーブ | Color correction method and imaging system |
| JP5454276B2 (en) * | 2010-03-24 | 2014-03-26 | 株式会社デンソーウェーブ | Composite information code and optical information reader |
| JP6247111B2 (en) | 2014-02-17 | 2017-12-13 | 株式会社日立システムズ | Color code authentication device, color code authentication system, color code authentication program, and color code authentication method |
| JP2015165342A (en) | 2014-02-28 | 2015-09-17 | 株式会社東芝 | Ticket dispenser, manufacturing method of tickets, and two-dimensional code printer |
| JP2018147379A (en) * | 2017-03-08 | 2018-09-20 | 共同印刷株式会社 | Authenticity determination method, apparatus, and program |
-
2022
- 2022-04-19 CN CN202280028747.0A patent/CN117501276A/en active Pending
- 2022-04-19 JP JP2023515485A patent/JPWO2022224969A1/ja not_active Withdrawn
- 2022-04-19 WO PCT/JP2022/018221 patent/WO2022224969A1/en not_active Ceased
- 2022-04-19 EP EP22791740.8A patent/EP4328798A4/en active Pending
- 2022-04-20 TW TW111115076A patent/TWI848282B/en active
-
2023
- 2023-03-13 JP JP2023038619A patent/JP7478875B2/en active Active
- 2023-10-19 US US18/381,716 patent/US12430528B2/en active Active
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH05174204A (en) * | 1991-12-24 | 1993-07-13 | Olympus Optical Co Ltd | Color bar-code and bar-code reader |
| JP2012226710A (en) * | 2011-04-22 | 2012-11-15 | Riso Kagaku Corp | Information code, information code generation apparatus, information code generation program and information code reader |
| US20200151528A1 (en) * | 2017-07-13 | 2020-05-14 | Ppk (Hainan) Ai Co. Ltd [Cn/Cn] | Personalized pattern-based commodity virtual code assignment method and system |
| US20210103786A1 (en) * | 2017-12-29 | 2021-04-08 | I.P Solutions, Ltd | Composite code pattern, generating device, reading device, method, and program |
Also Published As
| Publication number | Publication date |
|---|---|
| US20240046058A1 (en) | 2024-02-08 |
| CN117501276A (en) | 2024-02-02 |
| JP7478875B2 (en) | 2024-05-07 |
| JPWO2022224969A1 (en) | 2022-10-27 |
| EP4328798A1 (en) | 2024-02-28 |
| JP2024022459A (en) | 2024-02-16 |
| WO2022224969A1 (en) | 2022-10-27 |
| US12430528B2 (en) | 2025-09-30 |
| EP4328798A4 (en) | 2025-04-02 |
| TW202309787A (en) | 2023-03-01 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| TWI848282B (en) | Composite QR code, printed matter, information processing system and program | |
| KR100378911B1 (en) | Information processing method | |
| US8550366B2 (en) | Method, apparatus and computer program for embedding barcode in color image | |
| US8111432B2 (en) | Infrared watermarking of photographic images by matched differential black strategies | |
| US11102372B2 (en) | Information recording body, medium and printed product | |
| EP0871318A2 (en) | Copy restrictive system for color-reversal documents | |
| US20110033089A1 (en) | Apparatus for appraising the genuineness of personal identification documents | |
| JP2008511059A (en) | System and method for generating a combined barcode image | |
| CN101146169A (en) | Image processing method, image processing device, document reading device, and image forming device | |
| US9883073B2 (en) | System and method for producing seesaw gloss effect and recording medium with seesaw gloss effect | |
| CN110276709A (en) | It is a kind of for the generation of protectiveness document, discrimination method and information management system | |
| TW201015444A (en) | Manufacturing method of printed article having hidden bar code | |
| US11006021B1 (en) | Non-copy correlation mark | |
| US9538041B1 (en) | System and method for producing seesaw gloss effect and recording medium with seesaw gloss effect | |
| CN116109465B (en) | Text document processing method and device, storage medium and electronic equipment | |
| US11872833B2 (en) | Infrared effect preserved on copy | |
| US9674392B1 (en) | System and method for producing seesaw gloss effect and recording medium with seesaw gloss effect | |
| JP4772783B2 (en) | Server computer and document management program | |
| US12220934B2 (en) | Method of printing authentication indicators with amplitude modulated halftone printing | |
| JP2017072958A (en) | Image processing device, method and program for decoding information multiplexed on image | |
| JP2007068032A (en) | Image display medium, synthetic image display data creation method, and image generation system | |
| JP5009566B2 (en) | Image display medium, synthetic image display data creation method, and image generation system | |
| JP2015049794A (en) | Image processing apparatus and computer program | |
| US9674391B1 (en) | System and method for producing seesaw gloss effect and recording medium with seesaw gloss effect | |
| JPH09277761A (en) | Personal identification medium and manufacturing method thereof |