TW201445453A - Input device with barcode recognition function and barcode recognition method thereof - Google Patents

Input device with barcode recognition function and barcode recognition method thereof Download PDF

Info

Publication number
TW201445453A
TW201445453A TW102117599A TW102117599A TW201445453A TW 201445453 A TW201445453 A TW 201445453A TW 102117599 A TW102117599 A TW 102117599A TW 102117599 A TW102117599 A TW 102117599A TW 201445453 A TW201445453 A TW 201445453A
Authority
TW
Taiwan
Prior art keywords
barcode
image
input device
trigger
identification
Prior art date
Application number
TW102117599A
Other languages
Chinese (zh)
Inventor
Chih-Heng Nien
Original Assignee
Kye Systems Corp
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 Kye Systems Corp filed Critical Kye Systems Corp
Priority to TW102117599A priority Critical patent/TW201445453A/en
Publication of TW201445453A publication Critical patent/TW201445453A/en

Links

Landscapes

  • User Interface Of Digital Computer (AREA)
  • Position Input By Displaying (AREA)

Abstract

An input device with barcode recognition function and a barcode recognition method thereof are provided. The input device with barcode recognition function includes a video capturer, a LED module, a recognition processor, a sensor, a trigger and a transmitter. The barcode recognition method includes steps below. It is determined that whether the trigger is triggered. A barcode image of an icon pattern is captured when the trigger is triggered. The barcode image is recognized and a recognization information of the barcode image is gotten. A moving operation information is generated according to a move of the input device with barcode recognition function when the trigger is not triggered. The recognization information or the moving operation information is outputted. Through the input device with barcode recognition function and the barcode recognition method thereof, a user may spend a little time to recognize barcode, and the burden of user's eyes looking at the scream for a long time may be reduced.

Description

具有條碼辨識功能的輸入裝置和條碼辨識方法 Input device and barcode identification method with barcode identification function

本發明係關於一種輸入裝置及其方法,特別是一種具有條碼辨識功能的輸入裝置及其方法。 The present invention relates to an input device and method thereof, and more particularly to an input device having a bar code recognition function and a method thereof.

隨著生活科技的越來越進步,各種條碼(bar code)的發明帶來了許許多多的使用方式,條碼的種類和讀取條碼的裝置也陸陸續續的被創造出來。傳統上會有機會遇到各種條碼的時機,大多都為在室外的廣告看板上。而在外面的場合遇到需要讀取條碼的時候,會利用手機或是個人數位助理(Personal Digital Assistant,PDA)上的相機搭配應用軟體(Application Software,Apps)來讀取各種條碼,並獲得條碼內所含的各種資訊。 With the advancement of life technology, the invention of various bar codes has brought many ways of use, and the types of bar codes and devices for reading bar codes have been created one after another. Traditionally there will be opportunities to encounter various bar codes, mostly for outdoor billboards. In the case of external situations, when you need to read the barcode, you can use the mobile phone or the personal digital assistant (PDA) camera to match the application software (Applications, Apps) to read various barcodes and obtain barcodes. Various information contained within.

然而每個人並不是只有再路上行走的時候會遇到需要讀取條碼的場合,事實上不管在家裡或是公司使用個人電腦(Personal Computer,PC)或是筆記型電腦(laptop)上網或是辦公時,都會發現現今有越來越多的品牌網站或是公司網站也會利用條碼來傳遞優惠資訊或是廣告其商品的訊息。 However, everyone does not only need to read the bar code when they walk on the road. In fact, whether at home or in the company, using a personal computer (PC) or laptop (laptop) to go online or work At this time, it will be found that more and more brand websites or company websites now use barcodes to deliver preferential information or to advertise their products.

目前遇到這種狀況時有人利用網路攝影機(webcam)來擷取螢幕上的條碼,但是因為網路攝影機不具 備螢幕,所以必須將網路攝影機所擷取到的影像輸出在螢幕上。然而在對準條碼的時候,會因為使用者的眼睛必須看著螢幕,手卻要操縱網路攝影機,不能像手機或是個人數位助理般透過其螢幕直接觀看是否有對準條碼,因而造成對準條碼上會花費較多的時間和使用上的限制。 At this time, someone is using a webcam to capture the barcode on the screen, but because the webcam does not have The screen is prepared, so the image captured by the webcam must be output on the screen. However, when aligning the bar code, the user's eyes must look at the screen, but the hand has to operate the webcam. It is not possible to directly view the bar code through the screen like a mobile phone or a personal digital assistant. It takes more time and restrictions on the use of the bar code.

因此傳統上利用網路攝影機來讀取網頁上的條 碼時,存在著不容易對準和所需要花費的時間較長的問題,所以這個問題有存在著改良空間。 So traditionally using a webcam to read the bars on a web page When there is a code, there is a problem that it is not easy to align and takes a long time, so there is room for improvement in this problem.

有鑑於以上的問題,本發明提出一種具有條碼辨 識功能的輸入裝置及其方法,來幫助使用者辨識在條碼影像中的辨識資訊。 In view of the above problems, the present invention proposes a barcode identification The input device and method of the function are used to help the user identify the identification information in the barcode image.

根據一實施例中具有條碼辨識功能的輸入裝置 包含了有一影像擷取器、一發光器、一辨識處理器、一感測器以及一傳送器。 Input device with barcode recognition function according to an embodiment An image capture device, an illuminator, an identification processor, a sensor and a transmitter are included.

其中影像擷取器會具有一影像擷取範圍,並且用 以在擷取影像擷取範圍中的一條碼影像。而發光器則是用以投射出可以對應影像擷取範圍的一提示圖案。其中提示圖案可以為一定位點、一定位邊框或是一定位區域。而提示圖案中的定位點落於影像擷取範圍的中央,定位邊框以及定位區域則是標示影像擷取範圍的邊緣。 The image capture device has an image capture range and is used In order to capture a code image in the image capture range. The illuminator is used to project a cue pattern that can correspond to the image capture range. The prompt pattern may be an anchor point, a positioning frame or a positioning area. The positioning point in the cue pattern falls in the center of the image capturing range, and the positioning frame and the positioning area are the edges indicating the image capturing range.

辨識處理器則耦接影像擷取器以及發光器,其中辨識處理器用以辨識處理條碼影像,並且獲得條碼影像的一辨識資訊。感測器耦接於辨識處理器並用以感測具有條碼辨識功能的輸入裝置的一位移操作,以產生一位移操作資訊。觸發器也耦接於辨識處理器,用以觸發發光器和影像擷取器或感測器。而傳送器耦接於辨識處理器,用以輸出辨識資訊 或位移操作資訊。 The identification processor is coupled to the image capture device and the illuminator, wherein the identification processor is configured to recognize the processed barcode image and obtain an identification information of the barcode image. The sensor is coupled to the identification processor and configured to sense a displacement operation of the input device having the barcode recognition function to generate a displacement operation information. The trigger is also coupled to the recognition processor for triggering the illuminator and the image capture device or the sensor. The transmitter is coupled to the identification processor for outputting identification information Or shift operation information.

根據一實施例中具有條碼辨識功能的輸入裝 置,觸發器係為一開關,其中當開關被觸發時,觸發器即會發出一觸發命令傳送給辨識處理器,使辨識處理器啟動影像擷取器和發光器。當開關未被觸發時,觸發器不發出觸發命令給辨識處理器,使辨識處理器啟動感測器。 Input device with barcode recognition function according to an embodiment The trigger is a switch, wherein when the switch is triggered, the trigger sends a trigger command to the recognition processor, so that the recognition processor activates the image capture device and the illuminator. When the switch is not triggered, the trigger does not issue a trigger command to the recognition processor, causing the recognition processor to activate the sensor.

根據一實施例中具有條碼辨識功能的輸入裝 置,觸發器係為一重力偵測器、一角加速度偵測器或一加速度偵測器,其中觸發器輸出一偵測值給辨識處理器,且當偵測值超過一門檻值時,辨識處理器啟動影像擷取器和發光器,當偵測值未超過一門檻值時,辨識處理器啟動感測器。 Input device with barcode recognition function according to an embodiment The trigger is a gravity detector, an angular acceleration detector or an acceleration detector, wherein the trigger outputs a detection value to the identification processor, and when the detection value exceeds a threshold value, the identification processing The image capture device and the illuminator are activated, and the recognition processor activates the sensor when the detected value does not exceed a threshold value.

根據一實施例中的條碼辨識方法,包含了判斷一 觸發器是否被觸發、當觸發器被觸發時,有擷取提示圖案的條碼影像、辨識條碼影像並獲得條碼影像的辨識資訊、當觸發器未被觸發時,感測具有條碼辨識功能的輸入裝置的位移操作,以產生位移操作資訊以及輸出辨識資訊或位移操作資訊的步驟。 According to the barcode identification method in an embodiment, the judgment one is included Whether the trigger is triggered or not, when the trigger is triggered, the barcode image of the prompt pattern is captured, the barcode image is recognized, and the identification information of the barcode image is obtained, and when the trigger is not triggered, the input device with the barcode recognition function is sensed. The displacement operation to generate the displacement operation information and the step of outputting the identification information or shifting the operation information.

其中在辨識條碼影像的步驟之前包含了從提示 圖案取得條碼影像的一位置的步驟。而從提示圖案取得條碼影像的位置的步驟之前還包含啟動一影像擷取器和一發光器的步驟。其中感測具有條碼辨識功能的輸入裝置的位移操作之步驟包括啟動感測器的步驟。 Including the prompt from the step of identifying the barcode image The step of obtaining a position of the barcode image by the pattern. The step of obtaining the position of the barcode image from the prompt pattern further includes the steps of starting an image capture device and an illuminator. The step of sensing the displacement operation of the input device having the bar code recognition function includes the step of activating the sensor.

透過本揭露之具有條碼辨識功能的輸入裝置及 其方法可以明顯的改進辨識時間,以及傳統上對於在個人電腦或是筆電上辨識條碼對不準的困難。藉此可以節省相當多的時間並可以增加產能,和使用者不在需要持續的盯著電腦螢幕對準,造成眼睛上的嚴重疲勞感和可能會對眼睛視力所 造成的傷害。 Through the disclosed input device with barcode recognition function and The method can significantly improve the identification time, as well as the traditional difficulty in identifying barcodes on personal computers or laptops. This can save a considerable amount of time and increase productivity, and the user does not need to keep an eye on the computer screen, causing severe fatigue on the eyes and possible eyesight. The damage caused.

以上之關於本揭露內容之說明及以下之實施方式之說明係用以示範與解釋本發明之精神與原理,並且提供本發明之專利申請範圍更進一步之解釋。 The above description of the disclosure and the following description of the embodiments of the present invention are intended to illustrate and explain the spirit and principles of the invention, and to provide further explanation of the scope of the invention.

100、300‧‧‧具有條碼辨識功能的輸入裝置 100, 300‧‧‧ Input device with barcode recognition function

110、310‧‧‧影像擷取器 110, 310‧‧‧ image capture device

120、320‧‧‧發光器 120, 320‧‧‧ illuminators

130、330‧‧‧辨識處理器 130, 330‧‧‧ identification processor

140、360‧‧‧感測器 140, 360‧‧‧ sensor

150、340‧‧‧觸發器 150, 340‧‧‧ trigger

160、350‧‧‧傳送器 160, 350‧‧‧ transmitter

410‧‧‧殼體 410‧‧‧shell

411‧‧‧第一表面 411‧‧‧ first surface

412‧‧‧第二表面 412‧‧‧ second surface

第1圖,係為根據本揭露一實施例之具有條碼辨識功能的輸入裝置的方塊示意圖。 FIG. 1 is a block diagram showing an input device having a bar code recognition function according to an embodiment of the present disclosure.

第2圖,係為根據本揭露之條碼辨識方法一實施例的流程圖。 2 is a flow chart of an embodiment of a barcode identification method according to the present disclosure.

第3圖,係為根據本揭露之條碼辨識方法之另一實施例的流程圖。 Figure 3 is a flow diagram of another embodiment of a bar code identification method in accordance with the present disclosure.

第4圖,係為根據本揭露之條碼辨識方法之另一實施例的流程圖。 Figure 4 is a flow chart of another embodiment of a barcode identification method in accordance with the present disclosure.

第5圖,係為根據本揭露之具有條碼辨識功能的輸入裝置的另一實施例之方塊示意圖。 Figure 5 is a block diagram showing another embodiment of an input device having a bar code recognition function according to the present disclosure.

第6A圖,係為根據本揭露之指標輸入裝置的立體圖。 Fig. 6A is a perspective view of the input device according to the index of the present disclosure.

第6B圖,係為根據本揭露之指標輸入裝置的另一立體圖。 Fig. 6B is another perspective view of the input device according to the index of the present disclosure.

以下在實施方式中詳細敘述本發明之詳細特徵以及優點,其內容足以使任何熟習相關技藝者了解本發明之技術內容並據以實施,且根據本說明書所揭露之內容、申請專利範圍及圖式,任何熟習相關技藝者可輕易地理解本發明相關之目的及優點。以下之實施例係進一步詳細說明本發明之觀點,但非以任何觀點限制本發明之範疇。 The detailed features and advantages of the present invention are set forth in the Detailed Description of the Detailed Description of the <RTIgt; </ RTI> <RTIgt; </ RTI> </ RTI> </ RTI> <RTIgt; The objects and advantages associated with the present invention can be readily understood by those skilled in the art. The following examples are intended to describe the present invention in further detail, but are not intended to limit the scope of the invention.

請參考『第1圖』,其係為根據本揭露一實施例之具有條碼辨識功能的輸入裝置的方塊示意圖。本實施例之具有條碼辨識功能的輸入裝置100可為一滑鼠。 Please refer to FIG. 1 , which is a block diagram of an input device with a barcode recognition function according to an embodiment of the present disclosure. The input device 100 having the barcode recognition function of this embodiment may be a mouse.

其中具有條碼辨識功能的輸入裝置100包含有一影像擷取器110、一發光器120、一辨識處理器130以及一感測器140。影像擷取器110具有一影像擷取影像範圍,並且可以用以擷取影像擷取範圍中的一條碼 影像。影像擷取器110可以為手機用的視訊鏡頭(video lens)或是其他常見於行動裝置上可捕捉影像之光學鏡頭(optics lens),但並不以此為限。條碼影像則可以為一一維條碼(one-dimensional bar code)、一二維條碼(two-dimensional bar code)或是一快速反應碼(Quick Response Code,QR code)等可以利用鏡頭捕捉並且交給處理器辨識出一辨識資訊的條碼都可以當做被擷取的條碼。 The input device 100 having a barcode recognition function includes an image capture device 110, an illuminator 120, an identification processor 130, and a sensor 140. The image capturing device 110 has an image capturing image range and can be used to capture a code in the image capturing range. image. The image capturing device 110 can be a video lens for a mobile phone or an optical lens that can be used to capture images on a mobile device, but is not limited thereto. The barcode image can be one-dimensional bar code, two-dimensional bar code or a quick response code (QR code), which can be captured by the lens and handed over to the barcode. The barcode that the processor recognizes to identify the information can be used as the barcode to be retrieved.

發光器120可以用以投射出對應影像擷取範圍的一提示圖案。其中發光器120可以為一發光二極體(Light Emitting Diodes,LED)或是一雷射光束(laser beam),但並不以此為限。其中提示圖案可以為一定位點,可以是落於影像擷取範圍的中央但並不以此為限。提示圖案也可以為一定位邊框或是一定位區域,而定位邊框和定位區域則是標示影像擷取範圍的邊緣,讓使用者可以知道目前的影像擷取範圍的大小。 The illuminator 120 can be used to project a cue pattern corresponding to the image capturing range. The illuminator 120 can be a Light Emitting Diodes (LED) or a laser beam, but is not limited thereto. The prompt pattern may be an anchor point, which may be in the center of the image capture range but is not limited thereto. The prompt pattern can also be a positioning frame or a positioning area, and the positioning frame and the positioning area are edges indicating the image capturing range, so that the user can know the current image capturing range.

辨識處理器130耦接於影像擷取器110以及發光器120。辨識處理器130在具有條碼辨識功能的輸入裝置100中用以辨識和處理條碼影像,並且獲得在條碼影像中的一辨識資訊。辨識處理器130可以為一中央處理單元(Central Processing Unit,CPU)或是一圖形處理單元(Graphics Processing Unit,GPU)以及其他具有中央處理單元和圖形處理單元功能之處理器,但並不以此為限。而其中辨識資訊則是可以包含各種商品的廣告、公司的形象廣告、網站的推銷甚至是活動資訊的傳達等任何想要傳達給大眾的資訊。 The identification processor 130 is coupled to the image capturing device 110 and the illuminator 120. The identification processor 130 is used to identify and process the barcode image in the input device 100 having the barcode recognition function, and obtain an identification information in the barcode image. The identification processor 130 can be a central processing unit (CPU) or a graphics processing unit (GPU) and other processors having central processing unit and graphics processing unit functions, but not Limited. The identification information is any information that can be conveyed to the public, such as advertisements of various commodities, company image advertisements, website promotion, and even event information transmission.

感測器140耦接於辨識處理器130,感測器140用以感測具有條碼辨識功能的輸入裝置100的位移操作,以產生位移操作資訊。進一步來說,感測器140例如感測具有條碼辨識功能的輸入裝置100與一桌面之相對位移,而提供對應的路徑座標資料,並將此路徑座標資料轉換成位移操作資訊並輸出。其中感測器140可以為機械式的滾珠式感測器、光學式感測器或是雷射式感測器。 The sensor 140 is coupled to the identification processor 130, and the sensor 140 is configured to sense a displacement operation of the input device 100 having a barcode recognition function to generate displacement operation information. Further, the sensor 140 senses, for example, the relative displacement of the input device 100 having the barcode recognition function and a desktop, and provides corresponding path coordinate data, and converts the path coordinate data into displacement operation information and outputs the same. The sensor 140 can be a mechanical ball sensor, an optical sensor or a laser sensor.

根據本揭露之一實施例,具有條碼辨識功能的輸入裝置100 也包含有一觸發器150和一傳送器160。其中觸發器150和傳送器160分別與辨識處理器130連接。 According to an embodiment of the present disclosure, an input device 100 having a barcode recognition function A trigger 150 and a transmitter 160 are also included. The trigger 150 and the transmitter 160 are respectively connected to the recognition processor 130.

根據一實施例,觸發器150可以是一開關。當此開關被觸發打開時,觸發器150會發出一觸發命令給辨識處理器130以啟動影像擷取器110和發光器120。反之此開關為關閉時,則此開關並不會發出觸發命令給辨識處理器130,而啟動感測器140,使得具有條碼辨識功能的輸入裝置100保持原有的操作模式,例如為滑鼠模式。 According to an embodiment, the trigger 150 can be a switch. When the switch is triggered to open, the trigger 150 issues a trigger command to the recognition processor 130 to activate the image extractor 110 and the illuminator 120. Otherwise, when the switch is off, the switch does not issue a trigger command to the recognition processor 130, and the sensor 140 is activated, so that the input device 100 with the barcode recognition function maintains the original operation mode, for example, the mouse mode. .

觸發器150例如為重力偵測器、角加速度偵測器、加速度偵測器等。其中觸發器150會持續輸出一偵測值給辨識處理器130。且當偵測值超過一門檻值時,辨識處理器130就會啟動影像擷取器110和發光器120。例如當具有條碼辨識功能的輸入裝置100被一使用者從桌面拿起且超過一預設角度時,即會達到門檻值的標準,此時辨識處理器130便會將影像擷取器110和發光器120啟動。另外,當偵測值未超過前述門檻值時,辨識處理器130不會啟動影像擷取器110和發光器120,而啟動感測器140,使得具有條碼辨識功能的輸入裝置100保持原有的操作模式,例如為滑鼠模式。 The trigger 150 is, for example, a gravity detector, an angular acceleration detector, an acceleration detector, or the like. The trigger 150 continuously outputs a detection value to the recognition processor 130. And when the detected value exceeds a threshold, the recognition processor 130 activates the image extractor 110 and the illuminator 120. For example, when the input device 100 having the barcode recognition function is picked up by a user from the desktop and exceeds a predetermined angle, the threshold value is reached, and the recognition processor 130 will display the image capture device 110 and the illumination. The device 120 starts up. In addition, when the detected value does not exceed the threshold value, the recognition processor 130 does not activate the image extractor 110 and the illuminator 120, but activates the sensor 140, so that the input device 100 having the barcode recognition function remains original. The operating mode is, for example, the mouse mode.

傳送器160則可以分為有線或無線的方式來傳送辨識處理器130所獲得的辨識資訊或位移操作資訊。有線的傳送方式可以採用通用串列匯流排(Universal Serial Bus,USB)或是PS/2介面(PS/2 connector)的方式做傳送的途徑。無線的傳送方式則可以採用紅外線(infra red ray)或是藍牙(blue tooth)的方式做為傳送辨識資訊的方式。但不管有線或無線的傳送方式都不限於本揭露所提出的方法,任何可以用於輸入裝置的傳送方式接可以做為輸入裝置傳送辨識資訊的選擇。並且,後端的裝置可依據前述位移操作資訊,而得知具有條碼辨識功能的輸入裝置100相關的位移操作資訊,並進行相對應的操作。 The transmitter 160 can transmit the identification information or the displacement operation information obtained by the identification processor 130 in a wired or wireless manner. The wired transmission method can be transmitted by using a universal serial bus (USB) or a PS/2 connector (PS/2 connector). The wireless transmission method can use infrared (infra red ray) or blue (blue tooth) as the way to transmit identification information. However, regardless of whether the wired or wireless transmission method is not limited to the method proposed by the present disclosure, any transmission mode that can be used for the input device can be used as an input device to transmit identification information. Moreover, the device at the back end can learn the displacement operation information related to the input device 100 having the barcode recognition function according to the displacement operation information, and perform corresponding operations.

請接著參考『第2圖』,係為根據本揭露之條碼辨識方法一實施例的流程圖。其中條碼辨識方法可以包含下列步驟。辨識處理器130 判斷觸發器150是否被觸發(步驟S220)。當觸發器150被觸發時,影像擷取器110擷取提示圖案的條碼影像(步驟S240)。辨識處理器130辨識條碼影像,並獲得條碼影像的辨識資訊(步驟S250)。當觸發器150未被觸發時,感測器140感測具有條碼辨識功能的輸入裝置100的位移操作,以產生位移操作資訊(步驟S260)。以及傳送器160輸出辨識資訊或位移操作資訊(步驟S270)。 Please refer to FIG. 2, which is a flowchart of an embodiment of the barcode identification method according to the present disclosure. The barcode identification method may include the following steps. Identification processor 130 It is judged whether or not the trigger 150 is triggered (step S220). When the trigger 150 is triggered, the image capturer 110 captures the barcode image of the cue pattern (step S240). The recognition processor 130 recognizes the barcode image and obtains identification information of the barcode image (step S250). When the trigger 150 is not triggered, the sensor 140 senses the displacement operation of the input device 100 having the barcode recognition function to generate the displacement operation information (step S260). And the transmitter 160 outputs the identification information or the displacement operation information (step S270).

其中在步驟S240中,影像擷取器110從發光器120的影像擷取範圍中擷取條碼影像。接著在步驟S250中辨識處理器130會將影像擷取器110擷取到的條碼影像進行辨識和處理,獲得條碼影像中所包含的辨識資訊。而步驟S260中感測器140會感測具有條碼辨識功能的輸入裝置100的位移操作,並依據感測器140的感測結果,產生位移操作資訊。 In step S240, the image capturing device 110 extracts a barcode image from the image capturing range of the illuminator 120. Then, in step S250, the recognition processor 130 identifies and processes the barcode image captured by the image capture device 110 to obtain the identification information included in the barcode image. In step S260, the sensor 140 senses the displacement operation of the input device 100 having the barcode recognition function, and generates displacement operation information according to the sensing result of the sensor 140.

最後在步驟S270中辨識處理器130辨識條碼影像並且獲得條碼影像所包含的辨識資訊之後,辨識處理器130會將所獲得的辨識資訊透過傳送器傳送給一個人電腦(Personal Computer,PC)的一電腦螢幕或是筆記型電腦(laptop)的螢幕上,以顯示出辨識處理器130獲得的辨識資訊給使用者觀看和了解。其中傳送器160所傳送的對象可以為任何具有顯示辨識資訊的系統的螢幕,而並不只是限於個人電腦的電腦螢幕或是筆記型電腦的螢幕。 Finally, after the recognition processor 130 recognizes the barcode image in step S270 and obtains the identification information included in the barcode image, the identification processor 130 transmits the obtained identification information to a computer of a personal computer (PC) through the transmitter. On the screen of the screen or the laptop, the identification information obtained by the recognition processor 130 is displayed for viewing and understanding by the user. The object transmitted by the transmitter 160 can be any screen of a system with display identification information, and is not limited to a computer screen of a personal computer or a screen of a notebook computer.

在另一實施例中,影像擷取器110擷取條碼影像之後傳送給辨識處理器130。辨識處理器130並不會對條碼影像進行處理,而是直接將條碼影像交給傳送器160傳送給電腦。電腦在接收到條碼影像之後再進行辨識處理,並且獲得條碼影像的辨識資訊。在電腦獲得條碼影像的辨識資訊之後會直接顯示在螢幕上給使用者觀看和了解其內容。 In another embodiment, the image capture device 110 captures the barcode image and transmits it to the recognition processor 130. The recognition processor 130 does not process the barcode image, but directly delivers the barcode image to the transmitter 160 for transmission to the computer. After receiving the barcode image, the computer performs identification processing and obtains identification information of the barcode image. After the computer obtains the identification information of the barcode image, it will be directly displayed on the screen for the user to view and understand the content.

接著請繼續參考『第3圖』,其係為根據本揭露之條碼辨識方法之另一實施例的流程圖。於『第3圖』的實施例中,步驟S220、S240、S250、S260、S270可參考『第2圖』的實施方式,故在此不再贅述。 Please continue to refer to FIG. 3, which is a flowchart of another embodiment of the barcode identification method according to the present disclosure. In the embodiment of FIG. 3, steps S220, S240, S250, S260, and S270 can be referred to the embodiment of FIG. 2, and thus will not be described again.

在步驟S240之前,影像擷取器110可先從提示圖案取得條 碼影像的位置(步驟S230)。在影像擷取器110從發光器120的影像擷取範圍中擷取條碼影像之前,影像擷取器110會從發光器120的影像擷取範圍中取得條碼影像的位置。條碼影像會在發光器120的定位邊框或是定位區域中,或是發光器120會將定位點打在條碼影像上。而影像擷取器110會先藉由此來得知條碼影像的位置。透過增加此一步驟可以藉此讓步驟S240擷取提示圖案中的條碼影像的成功率上升和花費的時間減少。 Before step S240, the image capturing device 110 may first obtain a bar from the prompt pattern. The position of the code image (step S230). Before the image capturing device 110 extracts the barcode image from the image capturing range of the illuminator 120, the image capturing device 110 obtains the position of the barcode image from the image capturing range of the illuminator 120. The bar code image will be in the positioning frame or the positioning area of the illuminator 120, or the illuminator 120 will place the positioning point on the bar code image. The image capture device 110 first learns the location of the barcode image. By adding this step, the success rate of the bar code image in the cue pattern in step S240 can be increased and the time taken can be reduced.

再來請繼續參考『第4圖』,其係為根據本揭露之條碼辨識方法之另一實施例的流程圖。於『第4圖』的實施例中,步驟S220、S230、S240、S250、S260、S270可參考『第2圖』及『第3圖』的實施方式,故在此不再贅述。 Please refer to FIG. 4 again, which is a flowchart of another embodiment of the barcode identification method according to the present disclosure. In the embodiment of FIG. 4, steps S220, S230, S240, S250, S260, and S270 can refer to the embodiments of FIG. 2 and FIG. 3, and thus will not be described again.

在步驟S220之後,和步驟S260之前還可以包含下列步驟。辨識處理器130會啟動感測器140(步驟S215),而不會啟動發光器120和影像擷取器110。另外,在步驟S220之後,和步驟S230之前還可以包含下列步驟。辨識處理器130啟動影像擷取器110和發光器120(步驟S225)。 After step S220, and before step S260, the following steps may also be included. The recognition processor 130 activates the sensor 140 (step S215) without activating the illuminator 120 and the image capturer 110. In addition, after step S220, and before step S230, the following steps may also be included. The recognition processor 130 activates the image capturer 110 and the illuminator 120 (step S225).

也就是說,在發光器120開始啟動並定位條碼影像的位置和影像擷取器110開始依據條碼影像的位置擷取條碼影像之前,兩者皆為未啟動的狀態。而藉由辨識處理器130來判定觸發器150是否被觸發,以決定具有條碼辨識功能的輸入裝置100的操作模式。 That is to say, before the position where the illuminator 120 starts to start and locate the barcode image and the image capturing device 110 starts to capture the barcode image according to the position of the barcode image, both of them are in an unactivated state. It is determined by the recognition processor 130 whether the trigger 150 is triggered to determine the operation mode of the input device 100 having the barcode recognition function.

如果觸發器150被觸發時,則具有開關的觸發器150會發出一觸發命令,以令辨識處理器130來讓影像擷取器110和發光器120啟動。而具有重力偵測器、角加速度偵測器、加速度偵測器等的觸發器150則是會持續產生偵測值給辨識處理器130。當具有條碼辨識功能的輸入裝置100被一使用者從桌面拿起且與桌面的角度持續增加時,觸發器150的偵測值也會跟著反應並改變數值。並且,當偵測值達到預定的門檻值時,辨識處理器130會得知觸發器150已經被觸發,並且啟動影像擷取器110和發光器120。另一方面,當觸發器150所產生的偵測值沒有達到預設的門檻值時,辨識處理器130會啟動感測器140,而不啟動影像擷取器110和發光器120。 If the flip-flop 150 is triggered, the flip-flop 150 with the switch will issue a trigger command to cause the recognition processor 130 to cause the image picker 110 and the illuminator 120 to be activated. The flip-flop 150 with the gravity detector, the angular acceleration detector, the acceleration detector, and the like continuously generates the detection value to the identification processor 130. When the input device 100 having the barcode recognition function is picked up by a user from the desktop and the angle with the desktop continues to increase, the detected value of the trigger 150 also reacts and changes the value. Moreover, when the detected value reaches a predetermined threshold, the recognition processor 130 knows that the trigger 150 has been triggered, and activates the image extractor 110 and the illuminator 120. On the other hand, when the detected value generated by the flip-flop 150 does not reach the preset threshold, the recognition processor 130 activates the sensor 140 without activating the image extractor 110 and the illuminator 120.

根據此實施例,影像擷取器110和發光器120的預設狀態皆為未啟動的狀態。而當觸發器150在步驟S220被判斷觸發時,具有開關的觸發器150會發出觸發命令給辨識處理器130。在辨識處理器130接收到觸發命令之後,會將影像擷取器110和發光器120啟動並進行步驟S230。而觸發器150平常則是會持續的發送偵測值給辨識處理器130。 According to this embodiment, the preset states of the image extractor 110 and the illuminator 120 are all in an unactivated state. When the trigger 150 is judged to be triggered in step S220, the flip-flop 150 having the switch issues a trigger command to the recognition processor 130. After the recognition processor 130 receives the trigger command, the image extractor 110 and the illuminator 120 are activated and proceeds to step S230. The trigger 150 normally sends a detection value to the recognition processor 130 continuously.

當具有條碼辨識功能的輸入裝置100被一使用者從桌面拿起且與桌面的角度持續增加之後,則觸發器150產生的偵測值也會跟著改變。因此在接收到大於門檻值的偵測值的辨識處理器130便會得知觸發器150已經被觸發,辨識處理器130便會將影像擷取器110和發光器120啟動(步驟S225)並且進入步驟S230。另一方面,當觸發器150未被觸發時,則辨識處理器130啟動感測器140並進入步驟S215,且保持影像擷取器110和發光器120為未啟動的狀態。 When the input device 100 having the barcode recognition function is picked up by the user from the desktop and the angle with the desktop continues to increase, the detected value generated by the trigger 150 is also changed. Therefore, the recognition processor 130 receiving the detection value greater than the threshold value knows that the trigger 150 has been triggered, and the recognition processor 130 activates the image capturer 110 and the illuminator 120 (step S225) and enters Step S230. On the other hand, when the trigger 150 is not triggered, the recognition processor 130 activates the sensor 140 and proceeds to step S215, and keeps the image extractor 110 and the illuminator 120 in an unactivated state.

請繼續參考『第5圖』,其係為根據本揭露之具有條碼辨識功能的輸入裝置的另一實施例之方塊示意圖。 Please refer to FIG. 5, which is a block diagram of another embodiment of an input device having a barcode recognition function according to the present disclosure.

具有條碼辨識功能的輸入裝置300包含有影像擷取器310、發光器320、辨識處理器330、觸發器340、傳送器350、感測器360。其中『第6圖』的實施例中,影像擷取器310、發光器320、辨識處理器330、觸發器340、傳送器350以及感測器360與『第1圖』實施例中的影像擷取器110、發光器120、辨識處理器130、觸發器150、傳送器160以及感測器140的作動方式大致相同,遂不再贅述。 The input device 300 with the barcode recognition function includes an image capture device 310, an illuminator 320, an identification processor 330, a trigger 340, a transmitter 350, and a sensor 360. In the embodiment of FIG. 6 , the image capture device 310 , the illuminator 320 , the recognition processor 330 , the trigger 340 , the transmitter 350 , and the sensor 360 and the image in the embodiment of FIG. 1 The operation of the extractor 110, the illuminator 120, the recognition processor 130, the trigger 150, the transmitter 160, and the sensor 140 are substantially the same, and will not be described again.

唯在『第5圖』的實施例中,觸發器340直接耦接於影像擷取器310、發光器320和感測器360。其中具有條碼辨識功能的輸入裝置300在觸發器340被觸發超過一門檻值的時候,會發出一啟動命令給影像擷取器310和發光器320。影像擷取器310和發光器320分別接收到來自觸發器340的啟動命令之後會分別開啟,並不需要如同『第1圖』的實施例般透過辨識處理器330來發送開啟命令。 In the embodiment of FIG. 5 , the trigger 340 is directly coupled to the image extractor 310 , the illuminator 320 , and the sensor 360 . The input device 300 having the bar code recognition function sends a start command to the image extractor 310 and the illuminator 320 when the trigger 340 is triggered to exceed a threshold. The image capture device 310 and the illuminator 320 are respectively turned on after receiving the start command from the flip-flop 340, and do not need to transmit the open command through the recognition processor 330 as in the embodiment of FIG. 1 .

在影像擷取器310和發光器320開啟之後,具有條碼辨識功 能的輸入裝置300的作動方式與『第1圖』中的具有條碼辨識功能的輸入裝置100相同,遂不再贅述。 After the image capturer 310 and the illuminator 320 are turned on, the barcode recognition function is performed. The operation mode of the input device 300 is the same as that of the input device 100 having the bar code recognition function in the "Fig. 1", and will not be described again.

另一方面,具有條碼辨識功能的輸入裝置300在觸發器340未被觸發超過一門檻值的時候,會發出一啟動命令給感測器360。感測器360接收到來自觸發器340的啟動命令之後開啟,並不需要如同『第1圖』的實施例般透過辨識處理器330來發送開啟命令。 On the other hand, the input device 300 having the barcode recognition function issues a start command to the sensor 360 when the trigger 340 is not triggered to exceed a threshold. The sensor 360 is turned on after receiving the start command from the flip-flop 340, and does not need to transmit the open command through the recognition processor 330 as in the embodiment of FIG.

請參考「第6A圖」及「第6B圖」所示,其係分別為本揭露之指標輸入裝置的立體圖與另一立體圖。具有條碼辨識功能的輸入裝置100(300)具有一殼體410,此殼體410具有第一表面411與相對第一表面411的第二表面412。 Please refer to "6A" and "6B", which are respectively a perspective view and another perspective view of the index input device of the present disclosure. The input device 100 (300) having a bar code recognition function has a housing 410 having a first surface 411 and a second surface 412 opposite the first surface 411.

影像擷取器110、發光器120與感測器140例如分別設置於殼體410的第二表面412內,且影像擷取器110設置相鄰於發光器120與感測器140。然而,影像擷取器110、發光器120與感測器140所繪示出的位置僅為本實施例的一種實施態樣,使用者亦可視其需求,而調整影像擷取器110、發光器120與感測器140的配置位置。至於辨識處理器130、觸發器150與傳送器160則例如設置於殼體410的第一表面411內。 The image capturing device 110 , the illuminator 120 and the sensor 140 are respectively disposed in the second surface 412 of the housing 410 , and the image capturing device 110 is disposed adjacent to the illuminator 120 and the sensor 140 . However, the position of the image capturing device 110, the illuminator 120, and the sensor 140 is only one embodiment of the embodiment, and the user can adjust the image capturing device 110 and the illuminator according to the needs thereof. The configuration position of 120 and sensor 140. The identification processor 130, the trigger 150 and the transmitter 160 are disposed, for example, within the first surface 411 of the housing 410.

在「第6A圖」中,觸發器150例如以重力偵測器、角加速度偵測器、加速度偵測器等實施。但本發明不限於此,當觸發器150以開關實施時,觸發器150例如可設置於殼體410的第一表面411內或第二表面412內。 In FIG. 6A, the trigger 150 is implemented by, for example, a gravity detector, an angular acceleration detector, an acceleration detector, or the like. However, the present invention is not limited thereto. When the trigger 150 is implemented as a switch, the trigger 150 may be disposed, for example, within the first surface 411 of the housing 410 or within the second surface 412.

綜上所述,透過本揭露之一種具有條碼辨識功能的輸入裝置和其條碼辨識方法可以有相當程度的改善過往習知技術的缺點。以往傳統上在個人電腦的電腦螢幕或是筆記型電腦的螢幕上要辨識各種類條碼的時候,眼睛必須看著螢幕上的拍照結果。而並不是像錄影或拍照的習慣般直接從觀景窗(view finder)或是液晶顯示器(Liquid Crystal Display,LCD)來拍攝。然而本揭露利用發光器的範圍定位效果,可以讓使用者即時的了解目前影像擷取器所可以拍攝到的範圍。如此一來便可以改善以往使用上 的不方便以及為了取得良好的拍攝結果而花費了許多時間。其中最重要的是可以大幅降低許多以前因為需要重複的對準和盯著螢幕觀看的眼睛負擔。因此除了減少使用者的花費時間,也可以讓眼睛不在因為上述狀況而感到疲勞和酸痛感。 In summary, the input device having the barcode recognition function and the barcode identification method thereof can substantially improve the disadvantages of the prior art. In the past, when it was traditionally to recognize various types of bar codes on the screen of a personal computer or a screen of a notebook computer, the eyes had to look at the results of the pictures on the screen. It is not directly taken from a view finder or a Liquid Crystal Display (LCD) like a video or photo-taking habit. However, the present disclosure utilizes the range locating effect of the illuminator to allow the user to instantly understand the range that the current image capture device can capture. This will improve the past use. It is inconvenient and it takes a lot of time to get good results. The most important of these is the ability to drastically reduce many of the eye burdens that were previously required for repeated alignment and staring at the screen. Therefore, in addition to reducing the user's time spent, the eyes can be prevented from feeling tired and sore because of the above conditions.

雖然本發明以前述之實施例揭露如上,然其並非用以限定本發明。在不脫離本發明之精神和範圍內,所為之更動與潤飾,均屬本發明之專利保護範圍。關於本發明所界定之保護範圍請參考所附之申請專利範圍。 Although the present invention has been disclosed above in the foregoing embodiments, it is not intended to limit the invention. It is within the scope of the invention to be modified and modified without departing from the spirit and scope of the invention. Please refer to the attached patent application for the scope of protection defined by the present invention.

100‧‧‧具有條碼辨識功能的輸入裝置 100‧‧‧Input device with barcode recognition function

110‧‧‧影像擷取器 110‧‧‧Image capture device

120‧‧‧發光器 120‧‧‧ illuminator

130‧‧‧辨識處理器 130‧‧‧ Identification Processor

140‧‧‧感測器 140‧‧‧ sensor

150‧‧‧觸發器 150‧‧‧ Trigger

160‧‧‧傳送器 160‧‧‧transmitter

Claims (9)

一種具有條碼辨識功能的輸入裝置,包含:一影像擷取器,具有一影像擷取範圍,並用以擷取該影像截取範圍中的一條碼影像;一發光器,用以投射出對應該影像擷取範圍的一提示圖案;一辨識處理器,耦接該影像擷取器以及該發光器,用以辨識處理該條碼影像,並獲得該條碼影像的一辨識資訊;一感測器,耦接該辨識處理器,用以感測該具有條碼辨識功能的輸入裝置的一位移操作,以產生一位移操作資訊;一觸發器,耦接該辨識處理器,用以觸發該發光器和該影像擷取器或該感測器;以及一傳送器,耦接該辨識處理器,用以輸出該辨識資訊或該位移操作資訊。 An input device with a bar code recognition function includes: an image capture device having an image capture range for capturing a code image in the image capture range; and an illuminator for projecting the corresponding image 撷a recognition pattern of the range; an identification processor coupled to the image capture device and the illuminator for identifying and processing the barcode image and obtaining an identification information of the barcode image; a sensor coupled to the An identification processor for sensing a displacement operation of the input device having the barcode recognition function to generate a displacement operation information; a trigger coupled to the identification processor for triggering the illuminator and the image capture And the transmitter; and a transmitter coupled to the identification processor for outputting the identification information or the displacement operation information. 如請求項1所述之具有條碼辨識功能的輸入裝置,其中該觸發器係為一開關,當該開關被觸發時,發出一觸發命令給該辨識處理器,以啟動該影像擷取器和該發光器,當該開關未被觸發時,不發出該觸發命令給該辨識處理器,以啟動該感測器。 An input device having a barcode recognition function according to claim 1, wherein the trigger is a switch, and when the switch is triggered, a trigger command is issued to the identification processor to activate the image capture device and the The illuminator, when the switch is not triggered, does not issue the trigger command to the recognition processor to activate the sensor. 如請求項1所述之具有條碼辨識功能的輸入裝置,其中該觸發器係為一重力偵測器、一角加速度偵測器或一加速度偵測器,該觸發器輸出一偵測值給該辨識處理器,且當該偵測值超過一門檻值時,該辨識處理器啟動該影像擷取器和該發光器,當該偵測值未超過一門檻值時,該辨識處理器啟動該感測器。 The input device with the barcode recognition function of claim 1, wherein the trigger is a gravity detector, an angular acceleration detector or an acceleration detector, and the trigger outputs a detection value to the identification. a processor, and when the detected value exceeds a threshold, the recognition processor activates the image capture device and the illuminator, and when the detection value does not exceed a threshold, the identification processor starts the sensing Device. 如請求項1所述之具有條碼辨識功能的輸入裝置,其中該提示圖案係為一定位點、一定位邊框或一定位區域。 The input device with the barcode recognition function of claim 1, wherein the prompt pattern is an anchor point, a positioning frame or a positioning area. 如請求項4所述之具有條碼辨識功能的輸入裝置,其中該定位點落於該影像擷取範圍的中央,該定位邊框以及該定位區域標示該影像擷取範圍的邊緣。 The input device with the barcode recognition function of claim 4, wherein the positioning point falls in the center of the image capturing range, and the positioning frame and the positioning area indicate an edge of the image capturing range. 一種條碼辨識方法,適於一具有條碼辨識功能的輸入裝置,該條碼辨識方法包含:判斷一觸發器是否被觸發;當該觸發器被觸發時,擷取一提示圖案的一條碼影像;辨識該條碼影像,並獲得該條碼影像的一辨識資訊;當該觸發器未被觸發時,感測該具有條碼辨識功能的輸入裝置的一位移操作,以產生一位移操作資訊;以及輸出該辨識資訊或該位移操作資訊。 A barcode identification method is suitable for an input device having a barcode recognition function. The barcode identification method includes: determining whether a trigger is triggered; and when the trigger is triggered, capturing a code image of a prompt pattern; a barcode image, and obtaining an identification information of the barcode image; when the trigger is not triggered, sensing a displacement operation of the input device having the barcode recognition function to generate a displacement operation information; and outputting the identification information or The displacement operation information. 如請求項6所述之條碼辨識方法,其中在辨識該條碼影像之前,更包含:從該提示圖案取得該條碼影像的一位置。 The barcode identification method of claim 6, wherein before identifying the barcode image, the method further comprises: obtaining a position of the barcode image from the prompt pattern. 如請求項7所述之條碼辨識方法,其中在從該提示圖案取得該條碼影像的該位置之前,更包含:啟動一影像擷取器和一發光器。 The bar code identification method of claim 7, wherein before the obtaining the position of the bar code image from the cue pattern, the method further comprises: starting an image extractor and an illuminator. 如請求項6所述之條碼辨識方法,其中在感測該具有條碼辨識功能的輸入裝置的該位移操作之前,更包含:啟動一感測器。 The barcode identification method of claim 6, wherein before sensing the displacement operation of the input device having the barcode recognition function, the method further comprises: starting a sensor.
TW102117599A 2013-05-17 2013-05-17 Input device with barcode recognition function and barcode recognition method thereof TW201445453A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW102117599A TW201445453A (en) 2013-05-17 2013-05-17 Input device with barcode recognition function and barcode recognition method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW102117599A TW201445453A (en) 2013-05-17 2013-05-17 Input device with barcode recognition function and barcode recognition method thereof

Publications (1)

Publication Number Publication Date
TW201445453A true TW201445453A (en) 2014-12-01

Family

ID=52707099

Family Applications (1)

Application Number Title Priority Date Filing Date
TW102117599A TW201445453A (en) 2013-05-17 2013-05-17 Input device with barcode recognition function and barcode recognition method thereof

Country Status (1)

Country Link
TW (1) TW201445453A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI490825B (en) * 2014-04-23 2015-07-01 Jon Chao Hong Language learning information providing method and mobile device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI490825B (en) * 2014-04-23 2015-07-01 Jon Chao Hong Language learning information providing method and mobile device

Similar Documents

Publication Publication Date Title
US11488366B2 (en) Augmented reality lighting effects
TWI498771B (en) Gesture recognition system and glasses with gesture recognition function
US9746934B2 (en) Navigation approaches for multi-dimensional input
US20150379770A1 (en) Digital action in response to object interaction
US20140085245A1 (en) Display integrated camera array
US9390032B1 (en) Gesture camera configurations
US20180061371A1 (en) Projector and display control method
US10936079B2 (en) Method and apparatus for interaction with virtual and real images
US9652083B2 (en) Integrated near field sensor for display devices
US9760177B1 (en) Color maps for object tracking
US11682183B2 (en) Augmented reality system and anchor display method thereof
US10528310B2 (en) Content displaying method and electronic device
TW201445453A (en) Input device with barcode recognition function and barcode recognition method thereof
KR20180088069A (en) Electronic apparatus and controlling method threrof
Hincapié-Ramos et al. tPad: designing transparent-display mobile interactions
US20140016013A1 (en) Image capture method
CN203287845U (en) Input device with bar code recognition function
US10621746B2 (en) Methods and apparatus for rapidly dimensioning an object
CN105052130A (en) Mobile device and method for controlling the same
TWI492099B (en) Glasses with gesture recognition function
TWI574176B (en) Light source augmented reality system
US20230392988A1 (en) Temperature sensor systems and methods for remotely measuring temperature using an optical element
TW202134735A (en) Electronic device, head-mounted display, virtual reality system and automatic playing method thereof
TW201510881A (en) Data transmission method and data transmission system
JPWO2017175265A1 (en) Coordinate detection method, coordinate detection program, and coordinate detection system