TW201331767A - Method for fast setting image capturing range of pattern - Google Patents

Method for fast setting image capturing range of pattern Download PDF

Info

Publication number
TW201331767A
TW201331767A TW101124082A TW101124082A TW201331767A TW 201331767 A TW201331767 A TW 201331767A TW 101124082 A TW101124082 A TW 101124082A TW 101124082 A TW101124082 A TW 101124082A TW 201331767 A TW201331767 A TW 201331767A
Authority
TW
Taiwan
Prior art keywords
image capturing
capturing range
image
barcode
bar code
Prior art date
Application number
TW101124082A
Other languages
Chinese (zh)
Other versions
TWI446189B (en
Inventor
Fu-Bi Bao
San-Yuan Wu
Guan-Ying Bao
Original Assignee
Sense Digital Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sense Digital Co Ltd filed Critical Sense Digital Co Ltd
Priority to TW101124082A priority Critical patent/TW201331767A/en
Priority to CN201310271382.7A priority patent/CN103414850B/en
Publication of TW201331767A publication Critical patent/TW201331767A/en
Application granted granted Critical
Publication of TWI446189B publication Critical patent/TWI446189B/zh

Links

Abstract

The present invention provides a method for fast setting an image capturing range of a pattern, which employs a camera device with an operation processing unit to capture an image of a pattern comprising barcode. The barcode contains the information for image capturing range generated after interpretation, and then the operation processing unit may analyze the information for image capturing range to obtain the data of each boundary required by image capturing. After entering the data of each boundary, the camera device may generate a prompting operation for assisting image capturing, and re-confirm if the image capturing range at this time is complete. If the result is positive "Y", the shooting operation is completed; if the result is negative "N", the operation processing unit will provide an operation suggestion for improvement, such that the operator or a camera device with an automatic control system may modify the angle and position of the camera device based on the contents of the operation suggestion. Then, the process flow described above for capturing the image of a pattern comprising barcode is repeated until the image capturing operation is correctly completed.

Description

快速設定圖樣取像範圍之方法 Quickly set the image capture range

本發明是有關於快速設定圖樣取像範圍之方法,特別是指一種可有效簡化取像程序、易於辨識操作,且可提昇整體圖樣辨識效率之操作方法。 The invention relates to a method for quickly setting the image capturing range of a pattern, in particular to an operation method which can effectively simplify the image capturing program, is easy to recognize, and can improve the overall pattern recognition efficiency.

為打擊仿冒,世界各國不斷研發出各種防偽技術產品,目前應用較為普遍的係於正廠的商品上貼附一防偽標籤(可為防偽紙張、特種印刷及雷射標籤等),以期能與仿冒商品形成一基本區隔;但隨著仿造技術的提昇,上述防偽標籤的仿製亦層出不窮,因此,較早期的作法,多會於防偽標籤上除了特定的防偽圖案及標示外,亦會同時顯示一查詢序號及一查詢途徑(電話或傳真號碼)資料,以供消費者利用通訊工具(電話、傳真機)連絡,並依該查詢序號取得對應該防偽圖案之防偽(語音、傳真)描述特徵,以供依據該防偽描述特徵與所購買商品上的防偽標籤之圖案作一比對,而達到進一步可確認該商品真偽之目的;然而,此種方式由於該防偽描述特徵之內容往往無法確實反應該防偽標籤之圖案上特點,致使消費者不易快速且客觀地比對該二者之整體內容,造成應用上之不便與缺失。 In order to combat counterfeiting, countries around the world have continuously developed various anti-counterfeiting technology products. At present, it is more common to attach an anti-counterfeit label (which can be anti-counterfeiting paper, special printing and laser labels, etc.) to the products of Zhengzheng Factory, in order to cooperate with counterfeiting. The product forms a basic division; however, with the improvement of counterfeiting technology, the imitation of the above-mentioned anti-counterfeit labels is also endless. Therefore, in the earlier practice, in addition to the specific anti-counterfeiting pattern and labeling, the anti-counterfeit label will also display one at the same time. Query the serial number and a query route (telephone or fax number) for the consumer to use the communication tool (telephone, fax machine) to contact, and obtain the anti-counterfeiting (voice, fax) description feature of the anti-counterfeiting pattern according to the query serial number. According to the anti-counterfeiting description feature and the pattern of the anti-counterfeit label on the purchased product, the purpose of further confirming the authenticity of the product is achieved; however, the content of the anti-counterfeiting description feature often fails to respond to the content. The pattern on the anti-counterfeit label makes it difficult for consumers to quickly and objectively compare the overall content of the two, resulting in Spend the inconvenience and missing.

隨著智慧型手機的應用逐漸普及,各種照像功能快速成熟,因此,直接將上述防偽標籤之防偽圖案成像於手機 (或其它行動裝置)中,再進行後續比對作業之方式亦逐漸普遍;而傳統以照像裝置攝取特定區域(標籤上)圖樣之操作過程,乃如第1圖所示,其主要之流程如下:首先,一「照像裝置針對一圖樣取像」S11步驟,係由操作者以手機(或行動裝置)上之照像裝置對準一特定區域(標籤上)的圖樣方向與位置進行取像,並待其定位對焦;經一「目視判斷拍照範圍是否涵蓋全部圖樣」S12判斷步驟,經由操作者以目視方式判斷該標籤(特定區域)中之圖樣是否已完全入鏡,若上述目視判斷的結果係為否定"N",則經一「修正照像裝置的角度與位置」S15步驟,由操作者依經驗修正該照像裝置的拍照角度與位置,然後再重覆該「照像裝置針對一圖樣取像」S11步驟,而若該目視判斷的結果係為肯定"Y",則經一「拍照成像」S13步驟,使該圖樣成像於該照像裝置內,最後,再執行一「成像內容是否確實涵蓋全部圖樣」S14判斷步驟,於照像裝置內確認該成像內容包含全部圖樣範圍,若判斷的結果係為否定"N",則重覆執行該「修正照像裝置的角度與位置」S15步驟,而若該目視判斷的結果係為肯定"Y",則結束整體流程。 With the gradual popularization of the application of smart phones, various photo functions have matured rapidly, so the anti-counterfeiting pattern of the above anti-counterfeit labels is directly imaged on the mobile phone. (or other mobile devices), the way of performing subsequent comparison operations is also becoming more common; and the traditional operation of taking a specific area (on label) pattern by the camera is as shown in Fig. 1, the main process As follows: First, a "photographing device for taking a picture" step S11 is performed by the operator to align the direction and position of a specific area (on the label) with the photographic device on the mobile phone (or mobile device). Image, and wait for the focus to be positioned; after a "visually judge whether the photographing range covers all the patterns" S12 judging step, the operator visually judges whether the pattern in the label (specific area) has completely entered the mirror, if the above visual judgment If the result is negative "N", the operator corrects the photographing angle and position of the photographing device according to the procedure of "correcting the angle and position of the photographing device" S15, and then repeats the "photographing device". If the result of the visual determination is affirmative "Y", the image is imaged in the camera device by a "photographing" step S13, and finally, one is executed. "Is the image content indeed covers all the patterns" S14 determination step, confirming that the image content includes all pattern ranges in the photographic device, and if the result of the determination is negative "N", repeating the "correction of the angle and position of the photographic device" In step S15, if the result of the visual judgment is affirmative "Y", the overall flow is ended.

然而,上述之取像方式,其由於係完全係依賴操作者本身之目視判斷,並依經驗修正該拍照角度與位置,因此其操作上至少需要基本的技巧,且整體上亦受到各種人為 因素的影響而有不同之結果(失敗率),例如:老年人或視力不良者,其並不易經由目視方式有效且正確地判斷其照像時之入鏡內容物(圖樣),往往經過多次的反覆操作,亦難以完成有效的拍照程序;再者,一般人於外部光線過強或過暗的環境下,或該入鏡內容物(圖樣)的顏色、花紋與背景的顏色、花紋較為近似之情形下,皆不易對照像裝置的入鏡內容物(圖樣)有效掌握,亦容易造成拍照失敗率增加,形成應用上之極大困擾。 However, the above-mentioned image capturing method is completely dependent on the visual judgment of the operator itself, and the angle and position of the photographing are corrected according to experience. Therefore, at least basic skills are required for the operation, and the whole is also subjected to various artificial actions. The influence of factors has different results (failure rate), for example, elderly people or people with poor vision, which are not easy to visually and correctly judge the contents of the mirror (pattern) when they are photographed, often after many times. Repeated operation, it is also difficult to complete an effective photographing procedure; in addition, the average person in the external light is too strong or too dark, or the color of the object (pattern) and the background color and pattern are similar In the case, it is difficult to effectively grasp the contents of the image (the pattern) of the image device, and it is easy to cause an increase in the failure rate of the photograph, which greatly affects the application.

有鑑於習見之照像取像方式有上述缺點,發明人乃針對該些缺點研究改進之道,終於有本發明產生。 In view of the above shortcomings of the photographing method, the inventors have researched and improved the shortcomings of these shortcomings, and finally the present invention has been produced.

本發明之主要目的在於提供一種快速設定圖樣取像範圍之方法,其於使用時,可經由各種(影像、語音或鏡頭控制訊號)的輔助,使圖樣取像之操作程序更為簡化,不但具有使用上的便利性,亦可增進整體之作業效率。 The main object of the present invention is to provide a method for quickly setting the image capturing range of a pattern, which can be used to simplify the operation procedure of the image capturing image by using various (image, voice or lens control signals). The convenience of use can also improve the overall work efficiency.

本發明之另一目的在於提供一種快速設定圖樣取像範圍之方法,其於拍照取像過程中,無需對於圖樣辨識進行繁複的運算分析,因此可有效降低相關裝置之運算負荷,提昇整體工作效率。 Another object of the present invention is to provide a method for quickly setting the image capturing range of a pattern, which does not require complicated operation analysis for the pattern recognition during the image capturing process, thereby effectively reducing the computing load of the related device and improving the overall working efficiency. .

本發明為達成上述目的及功效,其所採行的技術手段包括:一「照像裝置針對一包含條碼之圖樣取像」步驟, 係由一具運算處理單元之照像裝置對一具有條碼之圖樣進行取像,且於該條碼中具有經解讀後可產生之取像範圍資訊;一「分析條碼內容」程序,由該運算處理單元分析該條碼內之前述取像範圍資訊,並經計算而得出取像所需之各邊界數值;一「照像裝置整合該邊界數值,以形成一輔助取像之提示」步驟,由該照像裝置導入各邊界數值後,產生一輔助取像之提示動作;一「取像範圍是否涵蓋全部圖樣」判斷步驟,確認本次之取像範圍是否完整,若結果為否定"N",則重復前述「照像裝置針對一包含條碼之圖樣取像」步驟;一「拍照成像」步驟,若前述「取像範圍是否涵蓋全部圖樣」判斷步驟之結果係為肯定"Y",則完成拍照動作。 In order to achieve the above object and effect, the technical means adopted by the present invention include: a step of "photographing a picture for a picture containing a bar code", A picture device having a bar code is imaged by an image processing device of an operation processing unit, and the image range information that can be generated after the interpretation is obtained in the bar code; an "analysis bar code content" program is processed by the operation The unit analyzes the image capturing range information in the barcode, and obtains each boundary value required for image capturing by calculating; a step of “integrating the boundary value of the camera device to form a prompt for assisting image capturing” After the camera device imports the values of the respective boundaries, an auxiliary image capturing action is generated; a "receiving image coverage of all the patterns" determination step, confirming whether the current image capturing range is complete, and if the result is negative "N", then Repeat the above steps of "photographing device for image capturing a barcode" step; a "photographing imaging" step, if the result of the "photographing range covers all patterns" is determined to be a positive "Y", then the photographing action is completed. .

依上述方法,其中該輔助取像之提示係為一語音提示。 According to the above method, the prompt of the auxiliary image capture is a voice prompt.

依上述方法,其中該照像裝置具有一顯示幕,且該輔助取像之提示係為一顯示於該顯示幕上之影像提示。 According to the above method, the photographic device has a display screen, and the auxiliary image capturing prompt is an image prompt displayed on the display screen.

依上述方法,其中該輔助取像之提示係為一鏡頭控制訊號。 According to the above method, the prompt of the auxiliary image capturing is a lens control signal.

依上述方法,其中若該「取像範圍是否涵蓋全部圖樣」判斷步驟之結果為否定"N",則先執行一「提供操作建議」步驟,再重復該「照像裝置針對一包含條碼之圖樣取像」步驟。 According to the above method, if the result of the determining step of the "image capturing range covers all patterns" is negative "N", a "providing operation suggestion" step is performed first, and then the "photographing device is applied to a pattern containing a barcode. Take the image step.

依上述方法,其中該操作建議係為一語音建議。 According to the above method, the operation suggestion is a voice suggestion.

依上述方法,其中該照像裝置具有一顯示幕,且該操作建議係為一顯示於該顯示幕上之影像建議。 According to the above method, the photographic device has a display screen, and the operation suggestion is an image suggestion displayed on the display screen.

依上述方法,其中該「提供操作建議」步驟與該「照像裝置針對一包含條碼之圖樣取像」步驟之間另設有一「依該操作建議內容修正照像裝置的角度與位置」步驟,操作者可根據建議修正操作,或是操作單元用以控制鏡頭位移裝置朝建議方向移動,或是鏡頭焦距之變化。 According to the above method, the step of "providing the operation suggestion" and the step of "taking the image device for capturing a pattern containing the barcode" are further provided with a step of "correcting the angle and position of the photographic device according to the operation suggestion content". The operator can correct the operation as suggested, or the operating unit can be used to control the movement of the lens shifting device in the recommended direction or the change in the focal length of the lens.

依上述方法,其中於該「照像裝置針對一包含條碼之圖樣取像」步驟之後,執行一「條碼是否完整可辨識」判斷步驟,若其判斷結果為否定"N",則重復該「照像裝置針對一包含條碼之圖樣取像」步驟,若其判斷結果為肯定"Y",則執行該「分析條碼內容」程序。 According to the above method, after the step of "photographing a picture for a picture containing a bar code", a "completely identifiable barcode" determination step is performed, and if the result of the determination is negative "N", the picture is repeated. The image device is imaged for a pattern containing a barcode. If the determination result is a positive "Y", the "analyze barcode content" program is executed.

依上述方法,其中該「分析條碼內容」程序至少包括一「由條碼中取得定位點及至少一參考長度」步驟及一「由條碼中取得一方向角度參考線」步驟,以由該條碼中取像範圍資訊分別定義出定位點、參考長度及方向角度參考線。 According to the above method, the "analysing bar code content" program includes at least a step of "obtaining an anchor point from the bar code and at least one reference length" and a step of "acquiring a direction angle reference line from the bar code" to obtain the bar code. The range information defines the anchor point, reference length and direction angle reference line respectively.

依上述方法,其中該「分析條碼內容」程序另包括一「解析條碼中之取像範圍資訊」步驟,及一「計算取像之邊界數值」步驟,由運算處理單元依該取像範圍資訊計算出取像所需之各邊界數值。 According to the above method, the "analysing bar code content" program further includes a step of "analyzing the image capturing range information in the bar code" and a step of "calculating the image capturing boundary value", which is calculated by the arithmetic processing unit according to the image capturing range information. Take out the values of the boundaries as needed.

至於本發明之詳細構造、應用原理、作用與功效,則 參照下列依附圖所作之說明即可得到完全的瞭解: As for the detailed structure, application principle, function and efficacy of the present invention, A complete understanding can be obtained by referring to the following descriptions made with the drawings:

請參第2圖所示,可知本發明之方法主要包括:一「照像裝置針對一包含條碼之圖樣取像」S21步驟、一「條碼是否完整可辨識」S22步驟、一「分析條碼內容」P1程序、一「照像裝置整合該邊界數值,以形成一輔助取像之提示」S27步驟、一「取像範圍是否涵蓋全部圖樣」S28步驟、一「拍照成像」S29步驟、一「提供操作建議」S30步驟、一「依該操作建議內容修正照像裝置的角度與位置」S31步驟;且該「分析條碼內容」P1程序包括:一「由條碼中取得定位點及一參考長度」S23步驟、一「由條碼中取得一方向角度參考線」S24步驟、一「解析條碼中之取像範圍資訊」S25步驟、一「計算取像之邊界數值」S26步驟。 Referring to FIG. 2, it can be seen that the method of the present invention mainly includes: a "photographing device for taking a picture containing a bar code" S21 step, a "whether the bar code is completely identifiable" S22 step, and an "analysing bar code content" P1 program, a "photographing device integrates the boundary value to form an auxiliary image capturing prompt" S27 step, a "image capturing range covers all patterns" S28 step, a "photographing image" S29 step, and a "providing operation" "S30", "Improve the angle and position of the photographic device according to the operation suggestion" step S31; and the "Analyze Barcode Content" P1 program includes: "Get the anchor point from the barcode and a reference length" Step S23 A step S24 of "taking a direction angle reference line from the bar code", a step S25 of "analysing the image range information in the barcode", and a step of "calculating the image boundary value" S26.

以下依序說明上述各步驟,首先,該「照像裝置針對一包含條碼之圖樣取像」S21步驟,係由一具運算處理單元(如:手機、iPad、具照相功能之電腦或其它行動裝置)之照像裝置對一具有條碼(可為二維條碼)之圖樣進行取像,其中,該條碼中具有經解讀後可產生之取像範圍資訊;再經一「條碼是否完整可辨識」S22判斷步驟,若其判斷結果為否定"N",則重復該「照像裝置針對一包 含條碼之圖樣取像」S21步驟,若其判斷結果為肯定"Y",則執行該「分析條碼內容」P1程序。 The above steps are described in sequence. First, the "photographing device for image capturing a barcode" step S21 is performed by an arithmetic processing unit (such as a mobile phone, an iPad, a computer with a camera function or other mobile device). The photographic device captures a pattern having a barcode (which can be a two-dimensional barcode), wherein the barcode has information about the image capture range that can be generated after interpretation; and then a "barcode is complete and identifiable" S22 In the judgment step, if the judgment result is negative "N", the "photographing device is repeated for one package" In the step S21, the image containing the barcode is taken. If the result of the determination is affirmative "Y", the "analyze barcode content" P1 program is executed.

於該「分析條碼內容」P1程序中,先以一「由條碼中取得定位點及至少一參考長度」S23步驟及一「由條碼中取得一方向角度參考線」S24步驟,以由該條碼中取像範圍資訊分別定義出定位點、參考長度及方向角度參考線等所需基本資訊,再依序執行該「解析條碼中之取像範圍資訊」S25步驟及「計算取像之邊界數值」S26步驟,由運算處理單元依該取像範圍資訊計算出取像所需之各邊界數值,且可依需要進行畸變修正,以修正因角度傾斜或其它原因所產生之取像畸變,以取得正確的各邊界數值。 In the "Analyze Barcode Content" P1 program, a step of "taking an anchor point from the bar code and at least one reference length" S23 and a step of "obtaining a direction angle reference line from the bar code" S24 are used to be used in the bar code. The image capturing range information defines the basic information required for the positioning point, the reference length, and the direction angle reference line, and then executes the "resolving the image capturing range information in the barcode" step S25 and "calculating the boundary value of the image capturing" S26. In the step, the operation processing unit calculates the boundary values required for the image capturing according to the image capturing range information, and can perform distortion correction as needed to correct the image distortion caused by the angle tilt or other reasons to obtain the correct image. The value of each boundary.

以下則藉由二較具代表性之實施例,分別說明上述「分析條碼內容」P1程序於各不同形態取像之應用方式:如第3圖所示,係為一被廣泛使用之QR碼的應用態樣,其主要包括:設置於載體3上之圖樣區1、條碼區2等二部份,其中該圖樣區1可為圖案、文字、符號等,該條碼區2具有複數位於局部端角之定位部,以及至少一供判讀辨識之取像範圍資訊(即條碼區2除各定位部以外,由複數密集排列的單元格點組成的部份),該取像範圍資訊可產生由至少局部定位部為基準向各周側延伸之取像形狀與邊界數值之資訊。 In the following, two representative embodiments are used to illustrate the application of the above-mentioned "analysing bar code content" P1 program in different forms of image capturing: as shown in FIG. 3, it is a widely used QR code. The application aspect mainly includes: a pattern area 1 and a barcode area 2 disposed on the carrier 3, wherein the pattern area 1 can be a pattern, a character, a symbol, etc., and the barcode area 2 has a complex number at a local end angle a positioning portion, and at least one image capturing range information for reading and recognizing (ie, a portion of the bar code region 2 except for each positioning portion, which is composed of a plurality of densely arranged cell points), the image capturing range information may be generated by at least partial The positioning portion is information on the image capturing shape and the boundary value extending toward the respective circumferential sides.

由於該條碼區2係為一QR碼,其特徵係在於:於該條碼區2之局部三端角分別設有第一定位部211(右上)、第二定位部221(左上)及第三定位部231(左下),以及複數密集排列的單元格點(即該取像範圍資訊部),且於該第一、二、三定位部211、221、231之中央分別設置第一、二、三定位點21、22、23,並可利用該第一、二、三定位點21、22、23之連線為二相鄰之參考邊,藉以界定出一(水平或垂直之)方向角度參考線,並可進一步確認該條碼區2之上、下、左、右等各方向;或利用該條碼區2之一邊側為參考邊,以形成一(水平或垂直之)方向角度參考線,此種定位方式有許多種,且其發展亦極為成熟,因此在實際應用時,亦可以其它方式分別定義出該上、下、左、右各方向。 The bar code area 2 is a QR code, and is characterized in that a first positioning part 211 (upper right), a second positioning part 221 (upper left) and a third positioning are respectively disposed at the partial three end corners of the bar code area 2. a portion 231 (bottom left), and a plurality of densely arranged cell points (ie, the image capturing range information portion), and first, second, and third are respectively disposed at the center of the first, second, and third positioning portions 211, 221, and 231 Positioning points 21, 22, 23, and using the first, second, and third positioning points 21, 22, 23 as two adjacent reference edges, thereby defining a (horizontal or vertical) direction angle reference line And further confirming the direction of the bar code area 2, top, bottom, left, right, etc.; or using one side of the bar code area 2 as a reference side to form a (horizontal or vertical) direction angle reference line, such There are many kinds of positioning methods, and their development is extremely mature. Therefore, in practical applications, the directions of the up, down, left, and right directions can be separately defined in other ways.

而該取像範圍資訊之邊界數值則係為可經由許多方式計算出之所需的相對尺寸;例如:以第一定位部211(或第二定位部221、第三定位部231其中之一)的寬度作為一參考長度(亦可以條碼區2各單元格點之寬度作為一標準長度),再以該參考長度分別乘上不同之比例參數,即可得到各所需之相對尺寸(即各邊界數值,如圖示中該第一、二、三、四尺寸a、b、c、d),於實際應用時,可定義由該第一定位點21朝向遠離第二定位點22方向延伸一第二尺寸b、由第二定位點22朝向遠離第一 定位點21方向延伸一第一尺寸a、由該第二定位點22朝向遠離第三定位點23方向延伸一第三尺寸c,以及一由第三定位點23朝向遠離第二定位點22方向延伸一第四尺寸d,藉此,得以明確地於該載體3上界定出一至少包含該圖樣區1之(長方形)取像範圍30。 The boundary value of the image capturing range information is a relative size that can be calculated in many ways; for example, the first positioning portion 211 (or one of the second positioning portion 221 and the third positioning portion 231) The width is used as a reference length (the width of each cell point of the barcode area 2 can also be used as a standard length), and then the different reference parameters are multiplied by the reference length to obtain the required relative sizes (ie, the boundaries). The value, as shown in the figure, the first, second, third, and fourth dimensions a, b, c, and d) may be defined by the first positioning point 21 extending away from the second positioning point 22 in a practical application. Two dimensions b, facing away from the first by the second positioning point 22 The positioning point 21 extends a first dimension a, a second dimension c extends from the second positioning point 22 toward the third positioning point 23, and a third positioning point 23 extends away from the second positioning point 22. A fourth dimension d, whereby a (rectangular) imaging range 30 comprising at least the pattern area 1 is definitively defined on the carrier 3.

上述結構中,除可由上述方式產生一參考長度外;其亦可利用該第一、二定位點21、22之連線距離(或該第二、三定位點22、23之連線距離)作為一參考長度,僅需於各比例參數加以調整,其皆可達到相同之定義效果;同時,藉由此方式,可定義其它形狀(如:正方形)之取像範圍。 In the above structure, except that a reference length can be generated in the above manner; it can also use the connection distance of the first and second positioning points 21, 22 (or the connection distance of the second and third positioning points 22, 23) as A reference length can be adjusted only for each proportional parameter, and the same definition effect can be achieved; at the same time, the image capturing range of other shapes (such as a square) can be defined by this method.

如第4圖所示,係為一Aztec碼之應用態樣,其主要包括:設置於一載體3a上之圖樣區1、條碼區2a等二部份,其中該圖樣區1可為圖案、文字、符號等,該條碼區2a可為具有單一定位部24a結構特徵之二維條碼或其它具有近似結構之條碼,以及至少一供判讀辨識之取像範圍資訊(即條碼區2a除定位部24a以外,由複數密集排列的單元格點組成的部份),該取像範圍資訊產生由該定位部24a之局部為基準向各周側延伸之取像形狀與邊界數值之資訊。 As shown in FIG. 4, it is an application aspect of an Aztec code, which mainly includes: a pattern area 1 and a barcode area 2a disposed on a carrier 3a, wherein the pattern area 1 can be a pattern or a text. The bar code area 2a may be a two-dimensional bar code having a structural feature of the single positioning portion 24a or other bar code having an approximate structure, and at least one image capturing range information for recognizing the identification (ie, the bar code area 2a is apart from the positioning portion 24a) The image forming range is composed of a plurality of densely packed cell points, and the image capturing range information generates information on the image capturing shape and the boundary value extending from the partial portion of the positioning portion 24a toward the respective circumferential sides.

由於該條碼區2a係為一Aztec碼,其特徵係於中央部位具有一定位部24a,以及複數密集排列的單元格點 (即該取像範圍資訊部),且可於該定位部24a上(中央)取一定位點241a,並可以該條碼區2a之一邊側為參考邊,藉以界定一(水平或垂直之)方向角度參考線。 Since the barcode area 2a is an Aztec code, the feature has a positioning portion 24a at the central portion, and a plurality of densely arranged cell points. (ie, the image capturing range information portion), and an positioning point 241a can be taken on the positioning portion 24a (center), and one side of the barcode area 2a can be used as a reference side to define a (horizontal or vertical) direction. Angle reference line.

而該取像範圍資訊部之邊界數值則係為可經由許多方式計算出之所需的相對尺寸;例如:以定位部24a一邊側的寬度x(或條碼區2a一邊側的寬度y)作為一參考長度(亦可以條碼區2各單元格點之寬度作為一標準長度),再以該參考長度(x或y)分別乘上不同之比例參數,即可得到各所需之相對尺寸(即各邊界數值,如圖示中該相對尺寸e、取像尺寸f)。 The boundary value of the image capturing range information portion is a relative size that can be calculated in many ways; for example, the width x on the side of the positioning portion 24a (or the width y on the side of the barcode region 2a) is used as a Reference length (may also be the width of each cell point of the bar code area 2 as a standard length), and then multiply the different reference parameters by the reference length (x or y) to obtain the required relative sizes (ie, each The boundary value, such as the relative size e and the image size f) in the figure.

同時,該取像範圍資訊部另定義有一取像範圍之中心點301b,該中心點301b係位於距離該定位點241a一相對尺寸e且具有一相對角度h,於本實施例中,該相對角度h約為45度之位置,亦即由該中心點301b與中央點241a之(水平)方向角度參考線具有一45度夾角,且可由該取像中心點301b向外全周延伸一取像尺寸f,藉此,以明確地於該載體3b上界定出一至少包含該圖樣區1之(圓形且偏斜)取像範圍30b。 At the same time, the image capturing range information portion further defines a center point 301b of the image capturing range, the center point 301b is located at a relative size e from the positioning point 241a and has a relative angle h. In the embodiment, the relative angle is h is about 45 degrees, that is, the center point 301b has an angle of 45 degrees with the (horizontal) direction angle reference line of the center point 241a, and can be extended from the image capturing center point 301b to the entire circumference. f, whereby a (circular and skewed) image capturing range 30b comprising at least the pattern region 1 is defined on the carrier 3b.

於本實施例中,該定位點22b與中心點301b之相對位置係以極座標方式定義,但於實際應用上,該定位點22b與中心點301b之相對位置亦可以直角座標方式加以定義;同時,藉由此方式,可另定義其它形狀(如 :多邊形、多角星形)之取像範圍。 In this embodiment, the relative position of the positioning point 22b and the center point 301b is defined in a polar coordinate manner. However, in practical applications, the relative position of the positioning point 22b and the center point 301b may also be defined by a rectangular coordinate method; In this way, other shapes can be defined (eg : Polygon, multi-angle star).

經由上述「分析條碼內容」P1程序所產生之邊界數值(可形成一取像範圍),再經一「照像裝置整合該邊界數值,以形成一輔助取像之提示」S27步驟,由該照像裝置導入各邊界數值後,而可於照像裝置上產生一輔助取像之提示動作,該提示動作係可為一導引向上、下、左、右操作之語音提示,或是於照像裝置之顯示幕上顯示向上、下、左、右操作之箭頭(或顯示一取像範圍框),藉以達到輔助操作者取像之功效;然後經一「取像範圍是否涵蓋全部圖樣」S28判斷步驟,由操作者或照相裝置之內部自動控制系統確認本次之取像範圍是否完整涵蓋全部之圖樣,若結果係為肯定"Y",則以一「拍照成像」S29步驟,完成拍照動作;而若結果為否定"N",則依序執行一「提供操作建議」S30步驟,與一「依該操作建議內容修正照像裝置的角度與位置」S31步驟,由該運算處理單元於照像裝置上產生一輔助取像之操作建議,該操作建議係可為一導引向上、下、左、右、拉近、拉遠操作之語音提示,或是於照像裝置之顯示幕上顯示向上、下、左、右、拉近、拉遠操作之圖樣文字(或顯示一取像範圍框),或是產生一控制訊號至照像裝置內之自動控制系統,以控制鏡頭上、下、左、右之位移或是鏡頭焦距之變化,以便於操作者或該自動控制系統依該操作建議修正該照像裝 置的角度與位置,然後,再重復開始前述「照像裝置針對一包含條碼之圖樣取像」S21步驟,直至正確地完成取像作業。 Through the above-mentioned "analysis bar code content" P1 program generated boundary value (which can form an image capturing range), and then a "photographing device integrates the boundary value to form an auxiliary image capturing prompt" S27 step, by the photo After the device introduces each boundary value, an auxiliary image capturing action can be generated on the camera device, and the prompt action can be a voice prompt for guiding the up, down, left, and right operations, or a photo. The arrow of the up, down, left, and right operations is displayed on the display screen of the device (or a frame of the image capturing range is displayed), so as to achieve the effect of assisting the operator to take the image; and then determining whether the image capturing range covers all the patterns. In the step, the internal automatic control system of the operator or the camera device confirms whether the image capturing range of the current image completely covers all the patterns. If the result is a positive "Y", the photographing operation is completed by a "photographing imaging" step S29; If the result is negative "N", then a "providing operation suggestion" step S30 is performed in sequence, and a "correction of the angle and position of the photographic device according to the operation suggestion content" S31 step is performed by the operation processing. The operation instruction of the auxiliary image capturing device is generated on the photographic device, and the operation suggestion may be a voice prompt for guiding the up, down, left, right, zooming, and zooming operations, or displaying on the photographic device. On-screen display of up, down, left, right, zoom in, zoom in the operation of the graphic text (or display a frame of the image range), or generate a control signal to the automatic control system in the camera to control the lens The shift of the lower, left, and right or the focal length of the lens, so that the operator or the automatic control system can correct the photo mount according to the operation suggestion. The angle and position are set, and then the above-mentioned "photographing device for image capturing of a bar code" step S21 is repeated until the image capturing operation is correctly completed.

由上所述可知,本發明快速設定圖樣取像範圍之方法確實具有簡化取像程序、易於辨識操作,且提昇整體辨識效率之功效,確已具有產業上之利用性、新穎性及進步性。 As can be seen from the above, the method for quickly setting the image capturing range of the present invention does have the functions of simplifying the image capturing process, easy identification operation, and improving the overall identification efficiency, and has indeed been industrially utilized, novel, and progressive.

惟以上所述者,僅為本發明之一較佳實施例而已,並非用來限定本發明實施之範圍。即凡依本發明申請專利範圍所作之均等變化與修飾,皆為本發明專利範圍所涵蓋。 The above description is only a preferred embodiment of the invention and is not intended to limit the scope of the invention. That is, the equivalent changes and modifications made by the scope of the patent application of the present invention are covered by the scope of the invention.

S11‧‧‧照像裝置針對一圖樣取像 S11‧‧‧Photographic device for image capture

S12‧‧‧目視判斷拍照範圍是否涵蓋全部圖樣 S12‧‧‧ visually judge whether the photographing range covers all the patterns

S13‧‧‧拍照成像 S13‧‧‧Photography

S14‧‧‧成像內容是否確實涵蓋全部圖樣 S14‧‧·Is the imaging content indeed covering all the patterns?

S15‧‧‧修正照像裝置的角度與位置 S15‧‧‧Revising the angle and position of the camera

S21‧‧‧照像裝置針對一包含條碼之圖樣取像 S21‧‧‧Photographic device for imagery containing a barcode

S22‧‧‧條碼是否完整可辨識 Whether the S22‧‧‧ barcode is complete and identifiable

S23‧‧‧由條碼中取得定位點及至少一參考長度 S23‧‧‧Get the anchor point and at least one reference length from the barcode

S24‧‧‧由條碼中取得一方向角度參考線 S24‧‧‧Get a direction angle reference line from the bar code

S25‧‧‧解析條碼中之取像範圍資訊 S25‧‧‧ Analysis of the image range information in the barcode

S26‧‧‧計算取像之邊界數值 S26‧‧‧ Calculate the boundary value of the image taken

S27‧‧‧照像裝置整合該邊界數值,以形成一輔助取像之提示 S27‧‧‧Photographic device integrates the boundary values to form a reminder for auxiliary imaging

S28‧‧‧取像範圍是否涵蓋全部圖樣 Whether the image range of S28‧‧‧ covers all the drawings

S29‧‧‧拍照成像 S29‧‧‧Photography

S30‧‧‧提供操作建議 S30‧‧‧ Provide operational advice

S31‧‧‧依該操作建議內容修正照像裝置的角度與位置 S31‧‧‧Revising the angle and position of the camera according to the recommendations

P1‧‧‧分析條碼內容 P1‧‧‧Analysis of bar code content

第1圖係習見攝取特定區域圖樣之操作過程示意圖。 Figure 1 is a schematic diagram showing the operation of ingesting a specific area pattern.

第2圖係本發明之操作流程圖。 Figure 2 is a flow chart showing the operation of the present invention.

第3圖係本發明中分析條碼內容程序之一可行實施例圖。 Figure 3 is a diagram showing one possible embodiment of the program for analyzing bar code contents in the present invention.

第4圖係本發明中分析條碼內容程序之另一可行實施例圖。 Figure 4 is a diagram showing another possible embodiment of the program for analyzing bar code contents in the present invention.

S21‧‧‧照像裝置針對一包含條碼之圖樣取像 S21‧‧‧Photographic device for imagery containing a barcode

S22‧‧‧條碼是否完整可辨識 Whether the S22‧‧‧ barcode is complete and identifiable

S23‧‧‧由條碼中取得定位點及至少一參考長度 S23‧‧‧Get the anchor point and at least one reference length from the barcode

S24‧‧‧由條碼中取得一方向角度參考線 S24‧‧‧Get a direction angle reference line from the bar code

S25‧‧‧解析條碼中之取像範圍資訊 S25‧‧‧ Analysis of the image range information in the barcode

S26‧‧‧計算取像之邊界數值 S26‧‧‧ Calculate the boundary value of the image taken

S27‧‧‧照像裝置整合該邊界數值,以形成一輔助取像之提示 S27‧‧‧Photographic device integrates the boundary values to form a reminder for auxiliary imaging

S28‧‧‧取像範圍是否涵蓋全部圖樣 Whether the image range of S28‧‧‧ covers all the drawings

S29‧‧‧拍照成像 S29‧‧‧Photography

S30‧‧‧提供操作建議 S30‧‧‧ Provide operational advice

S31‧‧‧依該操作建議內容修正照像裝置的角度與位置 S31‧‧‧Revising the angle and position of the camera according to the recommendations

P1‧‧‧分析條碼內容 P1‧‧‧Analysis of bar code content

Claims (11)

一種快速設定圖樣取像範圍之方法,其至少包括:一「照像裝置針對一包含條碼之圖樣取像」步驟,係由一具運算處理單元之照像裝置對一具有條碼之圖樣進行取像,且於該條碼中具有經解讀後可產生之取像範圍資訊;一「分析條碼內容」程序,由該運算處理單元分析該條碼內之前述取像範圍資訊,並經計算而得出取像所需之各邊界數值;一「照像裝置整合該邊界數值,以形成一輔助取像之提示」步驟,由該照像裝置導入各邊界數值後,產生一輔助取像之提示動作;一「取像範圍是否涵蓋全部圖樣」判斷步驟,確認本次之取像範圍是否完整,若結果為否定"N",則重復前述「照像裝置針對一包含條碼之圖樣取像」步驟;一「拍照成像」步驟,若前述「取像範圍是否涵蓋全部圖樣」判斷步驟之結果係為肯定"Y",則完成拍照動作。 A method for quickly setting a image capturing range, comprising at least: a step of "photographing a picture for a picture containing a bar code" by taking a picture of a bar code pattern by a camera device of an arithmetic processing unit And the bar code has the image capturing range information that can be generated after being interpreted; and the “analysing bar code content” program, the arithmetic processing unit analyzes the image capturing range information in the bar code, and obtains the image by calculation The required boundary values; a step of "integrating the boundary value of the photographic device to form an auxiliary image capture" step, after the camera device introduces the boundary values, an auxiliary image capturing action is generated; If the image capturing range covers all the patterns, the determination step is to confirm whether the image capturing range is complete. If the result is negative "N", repeat the above steps of "photographing device for image capturing a barcode" step; In the imaging step, if the result of the above-mentioned "whether the image capturing range covers all the patterns" is affirmative "Y", the photographing action is completed. 如申請專利範圍第1項所述之快速設定圖樣取像範圍之方法,其中該輔助取像之提示係為一語音提示。 The method for rapidly setting a image capturing range according to the first aspect of the patent application, wherein the auxiliary image capturing prompt is a voice prompt. 如申請專利範圍第1項所述之快速設定圖樣取像範圍之方法,其中該照像裝置具有一顯示幕,且該輔助取像 之提示係為一顯示於該顯示幕上之影像提示。 The method for quickly setting a image capturing range according to claim 1, wherein the photographic device has a display screen and the auxiliary image capturing The prompt is an image prompt displayed on the display screen. 如申請專利範圍第1項所述之快速設定圖樣取像範圍之方法,其中若該「取像範圍是否涵蓋全部圖樣」判斷步驟之結果為否定"N",則先執行一「提供操作建議」步驟,再重復該「照像裝置針對一包含條碼之圖樣取像」步驟。 For example, the method for quickly setting the image capturing range according to the first aspect of the patent application, wherein if the result of the "taking the image capturing range covers all the patterns" is negative "N", then a "providing operation suggestion" is executed first. In the step, the step of "taking the image device for a picture containing a barcode" is repeated. 如申請專利範圍第4項所述之快速設定圖樣取像範圍之方法,其中該操作建議係為一語音建議。 The method for quickly setting a image capturing range as described in claim 4, wherein the operation suggestion is a voice suggestion. 如申請專利範圍第4項所述之快速設定圖樣取像範圍之方法,其中該照像裝置具有一顯示幕,且該操作建議係為一顯示於該顯示幕上之影像建議。 The method for quickly setting a image capturing range as described in claim 4, wherein the photographic device has a display screen, and the operation suggestion is an image suggestion displayed on the display screen. 如申請專利範圍第4項所述之快速設定圖樣取像範圍之方法,其中該輔助取像之提示係為一鏡頭控制訊號。 The method for rapidly setting the image capturing range as described in claim 4, wherein the auxiliary image capturing prompt is a lens control signal. 如申請專利範圍第4項所述之快速設定圖樣取像範圍之方法,其中該「提供操作建議」步驟與該「照像裝置針對一包含條碼之圖樣取像」步驟之間另設有一「依該操作建議內容修正照像裝置的角度與位置」步驟。 The method for quickly setting the image capturing range as described in claim 4, wherein the "providing operation suggestion" step and the "photographing device for image capturing a barcode" step are further provided with a "dependency" This operation suggests a step of modifying the angle and position of the camera. 如申請專利範圍第1項所述之快速設定圖樣取像範圍之方法,其中於該「照像裝置針對一包含條碼之圖樣取像」步驟之後,執行一「條碼是否完整可辨識」判斷步驟,若其判斷結果為否定"N",則重復該「照像裝置針對一包含條碼之圖樣取像」步驟,若判斷結果為肯定"Y",則 執行該「分析條碼內容」程序。 The method for quickly setting a image capturing range according to the first aspect of the patent application, wherein after the step of "photographing a image for a barcode-containing pattern" step, performing a "step of whether the barcode is completely identifiable" determining step, If the result of the determination is negative "N", the step of "taking the image device for image capturing a barcode" is repeated, and if the result of the determination is affirmative "Y", then Execute the "Analyze Barcode Content" program. 如申請專利範圍第1項所述之快速設定圖樣取像範圍之方法,其中該「分析條碼內容」程序至少包括一「由條碼中取得定位點及至少一參考長度」步驟及一「由條碼中取得一方向角度參考線」步驟,以由該條碼中取像範圍資訊分別定義出定位點、參考長度及方向角度參考線。 The method for quickly setting a image capturing range according to the first aspect of the patent application, wherein the "analysing bar code content" program includes at least a step of "obtaining an anchor point from the bar code and at least one reference length" and a "by bar code" The step of obtaining a direction angle reference line is used to define the positioning point, the reference length and the direction angle reference line respectively by the image capturing range information in the barcode. 如申請專利範圍第1項所述之快速設定圖樣取像範圍之方法,其中該「分析條碼內容」程序另包括一「解析條碼中之取像範圍資訊」步驟,及一「計算取像之邊界數值」步驟,由運算處理單元依該取像範圍資訊計算出取像所需之各邊界數值。 The method for quickly setting a image capturing range according to the first aspect of the patent application, wherein the "analysing bar code content" program further comprises a step of "analysing the image capturing range information in the bar code" step, and a "calculating the image capturing boundary" In the numerical step, the arithmetic processing unit calculates the boundary values required for image acquisition according to the image capturing range information.
TW101124082A 2012-07-04 2012-07-04 Method for fast setting image capturing range of pattern TW201331767A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
TW101124082A TW201331767A (en) 2012-07-04 2012-07-04 Method for fast setting image capturing range of pattern
CN201310271382.7A CN103414850B (en) 2012-07-04 2013-07-01 Method for quickly setting image capturing range of pattern

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW101124082A TW201331767A (en) 2012-07-04 2012-07-04 Method for fast setting image capturing range of pattern

Publications (2)

Publication Number Publication Date
TW201331767A true TW201331767A (en) 2013-08-01
TWI446189B TWI446189B (en) 2014-07-21

Family

ID=49479016

Family Applications (1)

Application Number Title Priority Date Filing Date
TW101124082A TW201331767A (en) 2012-07-04 2012-07-04 Method for fast setting image capturing range of pattern

Country Status (2)

Country Link
CN (1) CN103414850B (en)
TW (1) TW201331767A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI552082B (en) * 2013-12-26 2016-10-01 財團法人工業技術研究院 Tour device, tour method, and structure-code-pattern generation device

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104702848B (en) * 2015-03-31 2019-02-12 小米科技有限责任公司 Show the method and device of framing information

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6158662A (en) * 1995-03-20 2000-12-12 Symbol Technologies, Inc. Triggered optical reader
JP4403975B2 (en) * 2005-01-25 2010-01-27 株式会社デンソーウェーブ Optical information reader
US8596541B2 (en) * 2008-02-22 2013-12-03 Qualcomm Incorporated Image capture device with integrated barcode scanning

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI552082B (en) * 2013-12-26 2016-10-01 財團法人工業技術研究院 Tour device, tour method, and structure-code-pattern generation device

Also Published As

Publication number Publication date
CN103414850A (en) 2013-11-27
TWI446189B (en) 2014-07-21
CN103414850B (en) 2016-12-28

Similar Documents

Publication Publication Date Title
CA2867365C (en) Method, system and computer storage medium for face detection
US20070172122A1 (en) Image processing apparatus, image processing method, and program
EP1993071B1 (en) Image zone detection
JP2011513809A (en) Method and apparatus for reading information contained in bar code
US20170147902A1 (en) System for determining alignment of a user-marked document and method thereof
CN108965742A (en) Abnormity screen display method, apparatus, electronic equipment and computer readable storage medium
CN104170371B (en) Realize the method and camera installation of self-service group photo
CN105141858A (en) Photo background blurring system and photo background blurring method
CN106663322A (en) Identifying features
JP5919212B2 (en) Visual verification support device and control method thereof
WO2016101524A1 (en) Method and apparatus for correcting inclined shooting of object being shot, mobile terminal, and storage medium
JP2012195732A (en) Method for controlling image processing device, image processing device, and program for controlling image processing device
JP2007201661A (en) Unit and method for processing image, and program
CN104168476A (en) Method and system for capturing content of test chart
CN107895344B (en) Video splicing device and method
EP2919187B1 (en) Image processing apparatus and image processing method
TW201331767A (en) Method for fast setting image capturing range of pattern
CN102012629A (en) Shooting method for splicing document images
JP2017197865A (en) Embroidery range detection device, embroidery range detection method, program, and embroidered design
CN111222432A (en) Face living body detection method, system, equipment and readable storage medium
CN101180657A (en) Information terminal
CN112907593B (en) Method and device for identifying colloid fault position of mobile phone lens and related equipment
WO2017219562A1 (en) Method and apparatus for generating two-dimensional code
JP5883715B2 (en) Image processing LSI, image processing system, and image processing method
CN106462966A (en) Perimeter detection