[go: up one dir, main page]

TWI884461B - Mobile device and input method - Google Patents

Mobile device and input method Download PDF

Info

Publication number
TWI884461B
TWI884461B TW112121313A TW112121313A TWI884461B TW I884461 B TWI884461 B TW I884461B TW 112121313 A TW112121313 A TW 112121313A TW 112121313 A TW112121313 A TW 112121313A TW I884461 B TWI884461 B TW I884461B
Authority
TW
Taiwan
Prior art keywords
image
input method
barcode
string
module
Prior art date
Application number
TW112121313A
Other languages
Chinese (zh)
Other versions
TW202449584A (en
Inventor
李俊頡
魏子傑
彭彥龍
Original Assignee
神基科技股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 神基科技股份有限公司 filed Critical 神基科技股份有限公司
Priority to TW112121313A priority Critical patent/TWI884461B/en
Publication of TW202449584A publication Critical patent/TW202449584A/en
Application granted granted Critical
Publication of TWI884461B publication Critical patent/TWI884461B/en

Links

Images

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

A mobile device and an input method. The electronic device includes a general camera module, a touch display module, a barcode scanning module, a character recognition engine and a control unit. The general camera module is configured to generate an image. The touch display module is configured to simultaneously display a character input field and an overlapping window with a virtual keyboard of a system default input method and a preview window of an image conversion input method. The barcode scanning module is configured to scan at least one first barcode to obtain a first string represented by each first barcode. The character recognition engine is configured to generate perform text recognition on the image to obtain at least one second string according to the image. The control unit is configured to activate one of the barcode scanning module and the character recognition engine and control the touch display module to display at least one of the first character string and the second character string in the character input field.

Description

行動裝置及輸入方法Mobile devices and input methods

本案是關於一種多輸入法,特别是一種行動裝置及輸入方法。This case relates to a multiple input method, and more particularly to a mobile device and an input method.

現有市面上之行動裝置,當使用其相機鏡頭進行影像識別以將影像轉換成文字時(例如Barcode解碼、QR code解碼、OCR文字辨識及車牌辨識等),通常會需要在行動裝置內部已安裝之專門的應用程式內開啟相機,並於應用程式內進行影像擷取及辨識,接著再將辨識出的文字手動複製並貼上至欲輸入的文字欄位。操作上並不直覺、步驟繁多且常需在行動裝置之應用程式之間互相切換,進而影響使用者的體驗。When using the camera lens of existing mobile devices on the market to perform image recognition to convert images into text (such as barcode decoding, QR code decoding, OCR text recognition and license plate recognition, etc.), it is usually necessary to open the camera in a dedicated application installed in the mobile device, capture and recognize the image in the application, and then manually copy and paste the recognized text into the text field to be entered. The operation is not intuitive, the steps are numerous, and it is often necessary to switch between applications on the mobile device, which affects the user experience.

在一些實施例中,一種行動裝置,包含一般攝像模組、觸控顯示模組、條碼掃描模組、文字辨識引擎及控制模組。一般攝像模組用以產生影像。觸控顯示模組用以同時顯示文字輸入欄以及具有並列的系統默認輸入法的虛擬鍵盤及影像轉換輸入法的預覽窗格的重疊視窗。條碼掃描模組用以掃描至少一第一條碼以得到至少一第一條碼所表達的至少一第一字串,其中影像轉換輸入法連結條碼掃描模組。文字辨識引擎耦接於一般攝像模組,用以對影像進行文字識別以得到至少一第二字串,其中影像轉換輸入法連結文字辨識引擎。控制模組耦接於一般攝像模組、觸控顯示模組、條碼掃描模組及文字辨識引擎,用以啟動條碼掃描模組與文字辨識引擎中之一以及控制觸控顯示模組將至少一第一字串與第二字串中之一者顯示在文字輸入欄中。In some embodiments, a mobile device includes a general camera module, a touch display module, a barcode scanning module, a text recognition engine, and a control module. The general camera module is used to generate an image. The touch display module is used to simultaneously display a text input bar and an overlapping window having a virtual keyboard of a parallel system default input method and a preview pane of an image conversion input method. The barcode scanning module is used to scan at least one first barcode to obtain at least one first string expressed by at least one first barcode, wherein the image conversion input method is linked to the barcode scanning module. The text recognition engine is coupled to the general camera module to perform text recognition on the image to obtain at least one second string, wherein the image conversion input method is linked to the text recognition engine. The control module is coupled to the general camera module, the touch display module, the barcode scanning module and the text recognition engine, and is used to activate one of the barcode scanning module and the text recognition engine and control the touch display module to display at least one of a first string and a second string in the text input field.

在一些實施例中,條碼掃描模組更用以產生具有至少一條碼圖像的預覽畫面且控制模組更用以於將預覽畫面即時顯示在預覽窗格中。In some embodiments, the barcode scanning module is further used to generate a preview screen having at least one barcode image and the control module is further used to display the preview screen in the preview pane in real time.

在一些實施例中,條碼掃描模組包括專用攝像模組及條碼解碼模組。專用攝像模組用以拍攝至少一條碼以得到至少一條碼圖像與預覽畫面。條碼解碼模組耦接於專用攝像模組與控制模組,用以將至少一條碼圖像分別解碼為至少一第一字串。In some embodiments, the barcode scanning module includes a dedicated camera module and a barcode decoding module. The dedicated camera module is used to shoot at least one barcode to obtain at least one barcode image and a preview screen. The barcode decoding module is coupled to the dedicated camera module and the control module to decode at least one barcode image into at least one first string.

在一些實施例中,重疊視窗更具有候選欄,候選欄位在虛擬鍵盤與預覽窗格上方,以及控制模組更用以於將至少一第一字串與第二字串中之一者作為文字輸入欄的輸入選項顯示在候選欄。In some embodiments, the overlay window further has a candidate column, the candidate column is above the virtual keyboard and the preview pane, and the control module is further used to display at least one of the first string and the second string as an input option of the text input column in the candidate column.

在一些實施例中,控制模組更用以於啟動文字辨識引擎後將影像即時顯示在預覽窗格中。In some embodiments, the control module is further configured to display the image in the preview pane immediately after the text recognition engine is activated.

在一些實施例中,重疊視窗更包含選擇鍵組,控制模組更用以依據發生於選擇鍵組之觸發事件對應啟動條碼掃描模組或文字辨識引擎。In some embodiments, the overlay window further includes a selection key set, and the control module is further used to activate the barcode scanning module or the text recognition engine according to the trigger event occurring on the selection key set.

在一些實施例中,影像具有至少一字串圖像,各字串圖像是一般攝像模組透過拍攝至少一文字而生成,以及文字辨識引擎更用以辨識並轉換各字串圖像為至少一第二字串中的至少一者。In some embodiments, the image has at least one string image, each string image is generated by a general camera module by photographing at least one text, and the text recognition engine is further used to recognize and convert each string image into at least one of at least one second string.

在一些實施例中,影像更具有至少一條碼圖像,至少一條碼圖像是一般攝像模組透過拍攝至少一第二條碼而生成,以及文字辨識引擎更用以辨識並解碼影像中至少一第二條碼的至少一條碼圖像為至少一第二字串中的至少一者。In some embodiments, the image further has at least one barcode image, the at least one barcode image is generated by a general camera module by photographing at least one second barcode, and the text recognition engine is further used to recognize and decode the at least one barcode image of the at least one second barcode in the image into at least one of the at least one second string.

在一些實施例中,預覽窗格更包含放大鍵,控制模組更用以依據發生於放大鍵之觸發事件將預覽窗格放大顯示於觸控顯示模組上。In some embodiments, the preview pane further includes a magnifying key, and the control module is further configured to magnify the preview pane and display it on the touch display module according to a trigger event occurring on the magnifying key.

在一些實施例中,一種輸入方法,包含由文字輸入欄致能系統默認輸入法與影像轉換輸入法以同時顯示文字輸入欄以及重疊視窗,其中重疊視窗具有並列的系統默認輸入法的虛擬鍵盤及影像轉換輸入法的預覽窗格;以系統默認輸入法與影像轉換輸入法中之一產生至少一字串;及顯示至少一字串中之一在文字輸入欄中。In some embodiments, an input method includes enabling a system default input method and an image conversion input method from a text input bar to simultaneously display the text input bar and an overlay window, wherein the overlay window has a virtual keyboard of the system default input method and a preview pane of the image conversion input method in parallel; generating at least one string using one of the system default input method and the image conversion input method; and displaying one of the at least one string in the text input bar.

在一些實施例中,影像轉換輸入方法包含條碼掃描輸入法,以及以系統默認輸入法與影像轉換輸入法中之一產生至少一字串的步驟包含:偵測條碼掃描輸入法的啟動訊號;響應啟動訊號啟動條碼掃描模組;以啟動後的條碼掃描模組掃描至少一條碼以得到至少一條碼的至少一條碼圖像;及以條碼掃描模組解碼至少一條碼圖像為至少一字串。In some embodiments, the image conversion input method includes a barcode scanning input method, and the step of generating at least one string using one of the system default input method and the image conversion input method includes: detecting an activation signal of the barcode scanning input method; activating a barcode scanning module in response to the activation signal; scanning at least one barcode with the activated barcode scanning module to obtain at least one barcode image of the at least one barcode; and decoding at least one barcode image into at least one string using the barcode scanning module.

在一些實施例中,輸入方法更包含:條碼掃描模組得到至少一條碼圖像時產生具有至少一條碼圖像的預覽畫面並將預覽畫面即時顯示在預覽窗格中。In some embodiments, the input method further includes: when the barcode scanning module obtains at least one barcode image, a preview screen having at least one barcode image is generated and the preview screen is displayed in a preview pane in real time.

在一些實施例中,重疊視窗更具有候選欄,候選欄位在虛擬鍵盤與預覽窗格上方,以及以系統默認輸入法與影像轉換輸入法中之一產生至少一字串的步驟更包含:將至少一字串作為文字輸入欄的輸入選項顯示在候選欄。In some embodiments, the overlay window further has a candidate column, the candidate column is above the virtual keyboard and the preview pane, and the step of generating at least one string using one of the system default input method and the image conversion input method further includes: displaying the at least one string as an input option of the text input column in the candidate column.

在一些實施例中,影像轉換輸入方法更包含文字辨識輸入法,以及以系統默認輸入法與影像轉換輸入法中之一產生至少一字串的步驟更包含:偵測文字辨識輸入法的另一啟動訊號;根據另一啟動訊號以一般攝像模組產生影像,其中影像具有至少一字串圖像,並且各字串圖像是一般攝像模組透過拍攝至少一文字而生成;即時顯示影像在預覽窗格中;及辨識並轉換至少一字串圖像為至少一字串。In some embodiments, the image conversion input method further includes a text recognition input method, and the step of generating at least one word string using one of the system default input method and the image conversion input method further includes: detecting another activation signal of the text recognition input method; generating an image using a general camera module according to another activation signal, wherein the image has at least one word string image, and each word string image is generated by the general camera module by photographing at least one word; displaying the image in a preview pane in real time; and recognizing and converting at least one word string image into at least one word string.

在一些實施例中,影像更具有至少一條碼圖像,至少一條碼圖像是一般攝像模組透過拍攝至少一第二條碼而生成,以系統默認輸入法與影像轉換輸入法中之一產生該至少一字串的步驟更包含:辨識並轉換至少一條碼圖像為至少一字串中的至少一者。In some embodiments, the image further has at least one barcode image, and the at least one barcode image is generated by a general camera module by photographing at least one second barcode. The step of generating the at least one string using one of the system default input method and the image conversion input method further includes: identifying and converting the at least one barcode image into at least one of the at least one string.

在一些實施例中,預覽窗格更包含放大鍵,輸入方法更包含:依據發生於放大鍵之觸發事件放大顯示預覽窗格。In some embodiments, the preview pane further includes a magnifying key, and the input method further includes: displaying the preview pane in magnified form according to a trigger event occurring on the magnifying key.

綜上所述,任一實施例的行動裝置及輸入方法,其適用在行動裝置上,使行動裝置的基本輸入功能除了能使用系統默認輸入法外還能使用其他輸入形式的輸入法(如,利用影像取得字串的影像轉換輸入法),藉以提升文字輸入的便利性及效率。於此,影像轉換輸入法可以利用光學影像的擷取與解析來獲得輸入文字輸入欄的字串,藉以簡化文字輸入的操作程序以提升文字輸入的便利性及效率,進而大幅提升使用者的體驗。並且,影像轉換輸入法提供二種影像解析方式,以提升影像轉換輸入法的適用範圍。In summary, any mobile device and input method of any embodiment is applicable to a mobile device, so that the basic input function of the mobile device can use other input forms of input methods (such as image conversion input method that uses images to obtain strings) in addition to the system default input method, so as to improve the convenience and efficiency of text input. Here, the image conversion input method can use the capture and analysis of optical images to obtain the string input into the text input field, so as to simplify the text input operation procedure to improve the convenience and efficiency of text input, thereby greatly improving the user experience. In addition, the image conversion input method provides two image analysis methods to improve the scope of application of the image conversion input method.

舉例來說,於使用者欲輸入字串至文字輸入欄中時,使用者可以行動裝置對具有條碼或文字的目標進行拍攝,藉以執行條碼掃描輸入法或文字辨識輸入法而獲得字串,並且獲得的字串會直接顯示於文字輸入欄中。因此,在進行文字輸入欄的輸入時,使用者不需要將解碼或辨識出的字串手動複製並貼上至文字輸入欄,更不需要在行動裝置的不同應用程式之間相互切換。For example, when a user wants to input a string into a text input field, the user can use a mobile device to take a picture of a target with a barcode or text, thereby executing a barcode scanning input method or a text recognition input method to obtain the string, and the obtained string will be directly displayed in the text input field. Therefore, when inputting into the text input field, the user does not need to manually copy and paste the decoded or recognized string into the text input field, and does not need to switch between different applications on the mobile device.

以下在實施方式中詳細敘述本案之詳細特徵以及優點,其內容足以使任何熟習相關技藝者瞭解本案之技術內容並據以實施,且根據本說明書所揭露之內容、申請專利範圍及圖式,任何熟習相關技藝者可輕易地理解本案相關之目的及優點。The detailed features and advantages of the present invention are described in detail in the following implementation method, and the content is sufficient for anyone familiar with the relevant technology to understand the technical content of the present invention and implement it accordingly. Moreover, according to the content disclosed in this specification, the scope of the patent application and the drawings, anyone familiar with the relevant technology can easily understand the relevant purposes and advantages of the present invention.

圖1為行動裝置1之一實施例的方塊示意圖。請參閱圖1。行動裝置1包含一般攝像模組12、觸控顯示模組15、條碼掃描模組11、文字辨識引擎13及控制模組14。FIG1 is a block diagram of an embodiment of a mobile device 1. Please refer to FIG1. The mobile device 1 includes a general camera module 12, a touch display module 15, a barcode scanning module 11, a text recognition engine 13 and a control module 14.

文字辨識引擎13耦接於一般攝像模組12。控制模組14耦接於一般攝像模組12、觸控顯示模組15、條碼掃描模組11及文字辨識引擎13。The text recognition engine 13 is coupled to the general camera module 12 . The control module 14 is coupled to the general camera module 12 , the touch display module 15 , the barcode scanning module 11 and the text recognition engine 13 .

圖2為輸入方法之一實施例的流程圖。圖3為行動裝置1之一實施例的正視圖。請參閱圖1至圖3。一般攝像模組12用以拍攝以產生影像P。觸控顯示模組15用以顯示文字輸入欄CIF(步驟S01)。具體而言,觸控顯示模組15所顯示的顯示畫面D中具有文字輸入欄CIF,並且此文字輸入欄CIF能用以接收使用者所輸入的字串S。FIG. 2 is a flow chart of an embodiment of the input method. FIG. 3 is a front view of an embodiment of the mobile device 1. Please refer to FIG. 1 to FIG. 3. The general camera module 12 is used to shoot to generate an image P. The touch display module 15 is used to display the text input column CIF (step S01). Specifically, the display screen D displayed by the touch display module 15 has a text input column CIF, and this text input column CIF can be used to receive the string S input by the user.

圖4為於執行圖2的步驟S03後的顯示畫面D之一實施例的示意圖。請參閱圖4。於此,控制模組14響應發生於文字輸入欄CIF之觸發事件(以下稱輸入觸發事件)致能系統默認輸入法與影像轉換輸入法(步驟S02),因而同時顯示文字輸入欄CIF以及重疊視窗OW於顯示畫面D上(步驟S03)。其中,重疊視窗OW具有並列的系統默認輸入法的虛擬鍵盤VK及影像轉換輸入法的預覽窗格PW。換言之,重疊視窗OW用以提供輸入法的使用者介面,以供使用者操作而相應生成輸入字串S。於系統默認輸入法與影像轉換輸入法被致能前,觸控顯示模組15的顯示畫面D上未具有任何輸入法的使用者介面(如,重疊視窗OW);反之,於系統默認輸入法與影像轉換輸入法被致能後,觸控顯示模組15的顯示畫面上會出現有被致能的輸入法(即系統默認輸入法與影像轉換輸入法)的使用者介面(即,重疊視窗OW)。其中,輸入觸發事件可以是使用者點選顯示畫面D中呈現文字輸入欄CIF的位置以致能文字輸入欄CIF啟動輸入功能。FIG4 is a schematic diagram of an embodiment of a display screen D after executing step S03 of FIG2. Please refer to FIG4. Here, the control module 14 responds to a trigger event (hereinafter referred to as input trigger event) occurring in the text input field CIF to enable the system default input method and the image conversion input method (step S02), thereby simultaneously displaying the text input field CIF and the overlay window OW on the display screen D (step S03). The overlay window OW has a virtual keyboard VK of the system default input method and a preview pane PW of the image conversion input method in parallel. In other words, the overlay window OW is used to provide a user interface of the input method for the user to operate and generate an input string S accordingly. Before the system default input method and the image conversion input method are enabled, there is no user interface (e.g., overlay window OW) of any input method on the display screen D of the touch display module 15; on the contrary, after the system default input method and the image conversion input method are enabled, the user interface (i.e., overlay window OW) of the enabled input method (i.e., the system default input method and the image conversion input method) will appear on the display screen of the touch display module 15. The input trigger event may be that the user clicks on the position where the text input field CIF is displayed in the display screen D to enable the text input field CIF to activate the input function.

舉例來說,輸入觸發事件發生在顯示畫面D中呈現文字輸入欄CIF的位置上(如,使用者點擊文字輸入欄CIF以致游標出現在文字輸入欄CIF中)時,系統默認輸入法與影像轉換輸入法被致能,且於致能後重疊視窗OW會出現在顯示畫面D的下半部。For example, when an input trigger event occurs at the position where the text input field CIF is displayed in the display screen D (e.g., the user clicks the text input field CIF so that the cursor appears in the text input field CIF), the system default input method and the image conversion input method are enabled, and after enabling, the overlay window OW will appear in the lower half of the display screen D.

於此,控制模組14根據當前啟動的輸入法(即系統默認輸入法與影像轉換輸入法中之一)對應控制虛擬鍵盤VK、條碼掃描模組11及文字辨識引擎13中之一來產生至少一字串S(步驟S04)。Here, the control module 14 controls one of the virtual keyboard VK, the barcode scanning module 11 and the text recognition engine 13 according to the currently activated input method (i.e., one of the system default input method and the image conversion input method) to generate at least one string S (step S04).

最後,控制模組14控制觸控顯示模組15顯示產生的字串S中之一者在文字輸入欄CIF中(步驟S05)。Finally, the control module 14 controls the touch display module 15 to display one of the generated character strings S in the text input field CIF (step S05).

在一些實施例中,影像轉換輸入方法可包含條碼掃描輸入法以及文字辨識輸入法。In some embodiments, the image conversion input method may include a barcode scanning input method and a text recognition input method.

在一些實施例中,重疊視窗OW更包含選擇鍵組B。在一些實施例中,選擇鍵組B配置於重疊視窗OW的左半部並位於虛擬鍵盤VK及預覽窗格PW的左側。In some embodiments, the overlay window OW further includes a selection key set B. In some embodiments, the selection key set B is configured in the left half of the overlay window OW and is located to the left of the virtual keyboard VK and the preview pane PW.

於此,控制模組14用以依據發生於選擇鍵組B之觸發事件(以下稱選擇觸發事件)對應啟動條碼掃描模組11或文字辨識引擎13或依據發生於虛擬鍵盤VK之觸發事件對應啟動虛擬鍵盤VK。具體而言,選擇觸發事件至少有二種(以下分別稱為第一選擇觸發事件與第二選擇觸發事件)。第一選擇觸發事件對應於條碼掃描模組11(步驟S43),並且第二選擇觸發事件對應於文字辨識引擎13(步驟S45)。其中,第一選擇觸發事件可致使選擇鍵組B產生條碼掃描輸入法的啟動訊號,並且第二選擇觸發事件可致使選擇鍵組B產生文字辨識輸入法的啟動訊號。發生於虛擬鍵盤VK之觸發事件可致使虛擬鍵盤VK產生系統默認輸入法的啟動訊號(步驟S41)。Here, the control module 14 is used to activate the barcode scanning module 11 or the text recognition engine 13 according to the trigger event (hereinafter referred to as the selection trigger event) occurring in the selection key group B, or to activate the virtual keyboard VK according to the trigger event occurring in the virtual keyboard VK. Specifically, there are at least two types of selection trigger events (hereinafter referred to as the first selection trigger event and the second selection trigger event, respectively). The first selection trigger event corresponds to the barcode scanning module 11 (step S43), and the second selection trigger event corresponds to the text recognition engine 13 (step S45). The first selection trigger event may cause the selection key group B to generate an activation signal for the barcode scanning input method, and the second selection trigger event may cause the selection key group B to generate an activation signal for the text recognition input method. The trigger event occurring in the virtual keyboard VK may cause the virtual keyboard VK to generate an activation signal for the system default input method (step S41).

在一些實施例中,選擇鍵組B包含二按鍵(以下稱選擇鍵B1及選擇鍵B2)。選擇鍵B1對應於第一選擇觸發事件。選擇鍵B2對應於第二選擇觸發事件。具體而言,控制模組14是依據發生於選擇鍵B1之觸發事件執行條碼掃描輸入法,且控制模組14是依據發生於選擇鍵B2之觸發事件執行文字辨識輸入法。In some embodiments, the selection key set B includes two keys (hereinafter referred to as selection key B1 and selection key B2). The selection key B1 corresponds to the first selection trigger event. The selection key B2 corresponds to the second selection trigger event. Specifically, the control module 14 executes the barcode scanning input method according to the trigger event occurring in the selection key B1, and the control module 14 executes the text recognition input method according to the trigger event occurring in the selection key B2.

在一些實施例中,於系統默認輸入法與影像轉換輸入法致能後,虛擬鍵盤VK常態啟動。在一些實施例中,於重疊視窗OW出現時,控制模組14僅啟動虛擬鍵盤VK,條碼掃描模組11與文字辨識引擎13均未啟動。控制模組14直到第一選擇觸發事件發生後才啟動條碼掃描模組11,且直到第二選擇觸發事件發生後才啟動文字辨識引擎13。在一些實施例中,虛擬鍵盤VK可與條碼掃描模組11或與文字辨識引擎13同時啟動。In some embodiments, after the system default input method and the image conversion input method are enabled, the virtual keyboard VK is normally activated. In some embodiments, when the overlay window OW appears, the control module 14 only activates the virtual keyboard VK, and the barcode scanning module 11 and the text recognition engine 13 are not activated. The control module 14 does not activate the barcode scanning module 11 until the first selection trigger event occurs, and does not activate the text recognition engine 13 until the second selection trigger event occurs. In some embodiments, the virtual keyboard VK can be activated simultaneously with the barcode scanning module 11 or the text recognition engine 13.

圖5為圖2的步驟S43之一實施例的流程圖。在一些實施例中,於步驟S43中,當於選擇鍵B1發生第一選擇觸發事件(即選擇鍵組B產生條碼掃描輸入法的啟動訊號)時,控制模組14偵測到條碼掃描輸入法的啟動訊號(步驟S431),因而響應發生於選擇鍵B1之第一選擇觸發事件啟動條碼掃描模組11(即控制模組14響應條碼掃描輸入法的啟動訊號啟動條碼掃描模組11)(步驟S432)。隨後控制模組14即開始執行條碼掃描輸入法。FIG5 is a flow chart of an embodiment of step S43 of FIG2. In some embodiments, in step S43, when the first selection trigger event occurs on the selection key B1 (i.e., the selection key group B generates the activation signal of the barcode scanning input method), the control module 14 detects the activation signal of the barcode scanning input method (step S431), and thus activates the barcode scanning module 11 in response to the first selection trigger event occurring on the selection key B1 (i.e., the control module 14 activates the barcode scanning module 11 in response to the activation signal of the barcode scanning input method) (step S432). Then, the control module 14 starts to execute the barcode scanning input method.

於步驟S432之後,控制模組14以條碼掃描模組11掃描至少一條碼(以下稱第一條碼)以得到至少一條碼的至少一第一條碼圖像BC1 (步驟S433)。條碼掃描模組11接著解碼至少一第一條碼圖像BC1為至少一字串S(步驟S434)。為方便說明,條碼掃描模組11解碼第一條碼圖像BC1所產生之字串S稱為第一字串S1。After step S432, the control module 14 uses the barcode scanning module 11 to scan at least one barcode (hereinafter referred to as the first barcode) to obtain at least one first barcode image BC1 of the at least one barcode (step S433). The barcode scanning module 11 then decodes the at least one first barcode image BC1 into at least one string S (step S434). For the convenience of explanation, the string S generated by the barcode scanning module 11 decoding the first barcode image BC1 is called the first string S1.

圖6為於執行圖5的步驟S43後的顯示畫面之一實施例的示意圖。請參閱圖6。舉例來說,第一選擇觸發事件發生在選擇鍵B1上(如,使用者點擊選擇鍵B1以產生條碼掃描輸入法的啟動訊號)時,控制模組14偵測到條碼掃描輸入法的啟動訊號,因而響應發生於選擇鍵B1之第一選擇觸發事件啟動條碼掃描模組11。隨後控制模組14即開始執行條碼掃描輸入法。控制模組14以條碼掃描模組11掃描第一條碼以得到第一條碼圖像BC1。條碼掃描模組11接著解碼第一條碼圖像BC1為第一字串S1。解碼出之第一字串S1為72527273037。因此,控制模組14即將第一字串S1(即72527273037)顯示在文字輸入欄CIF中。FIG6 is a schematic diagram of an embodiment of a display screen after executing step S43 of FIG5. Please refer to FIG6. For example, when the first selection trigger event occurs on the selection key B1 (e.g., the user clicks the selection key B1 to generate the activation signal of the barcode scanning input method), the control module 14 detects the activation signal of the barcode scanning input method, and thus activates the barcode scanning module 11 in response to the first selection trigger event occurring on the selection key B1. The control module 14 then starts to execute the barcode scanning input method. The control module 14 scans the first barcode with the barcode scanning module 11 to obtain the first barcode image BC1. The barcode scanning module 11 then decodes the first barcode image BC1 into a first character string S1. The decoded first character string S1 is 72527273037. Therefore, the control module 14 will display the first character string S1 (i.e., 72527273037) in the text input field CIF.

於至少一第一條碼的數量為多個時。控制模組14執行條碼掃描輸入法時以條碼掃描模組11掃描至少一第一條碼以得到的第一條碼圖像BC1的數量也為多個,且條碼掃描模組11解碼至少一第一條碼圖像BC1而得的至少一第一字串S1的數量也為多個。因此,在一些實施例中,此時,重疊視窗OW更具有候選欄C,候選欄C位在虛擬鍵盤VK與預覽窗格PW上方。控制模組14更用以於將多個第一字串S1作為文字輸入欄CIF的輸入選項顯示在候選欄C並依據發生於候選欄C之觸發事件顯示對應之第一字串S1於文字輸入欄CIF中。When the number of at least one first barcode is multiple. When the control module 14 executes the barcode scanning input method, the number of first barcode images BC1 obtained by scanning at least one first barcode with the barcode scanning module 11 is also multiple, and the number of at least one first string S1 obtained by decoding at least one first barcode image BC1 with the barcode scanning module 11 is also multiple. Therefore, in some embodiments, at this time, the overlay window OW further has a candidate column C, and the candidate column C is located above the virtual keyboard VK and the preview pane PW. The control module 14 is further used to display a plurality of first character strings S1 as input options of the text input column CIF in the candidate column C and display the corresponding first character string S1 in the text input column CIF according to a trigger event occurring in the candidate column C.

圖7為於執行圖5的步驟S43後的顯示畫面D之另一實施例的示意圖。請參閱圖7。當控制模組14以條碼掃描模組11掃描2個第一條碼以得到2個第一條碼圖像BC1(下稱第一條碼圖像BC11及第一條碼圖像BC12)。條碼掃描模組11接著解碼第一條碼圖像BC11及第一條碼圖像BC12為2個第一字串S1(下稱第一字串S11及第一字串S12)。解碼出之第一字串S11為72527273037,解碼出之第一字串S12為72527273038。此時,控制模組14將第一字串S11(即72527273037)及第一字串S12(即72527273038)作為文字輸入欄CIF的輸入選項顯示在候選欄C的第一輸入選項區O1及第二輸入選項區O2。第一字串S11顯示於第一輸入選項區O1,第一字串S12顯示於第二輸入選項區O2。若此時有發生於第一輸入選項區O1之觸發事件(如,使用者點擊第一輸入選項區O1以選擇第一字串S11為顯示於文字輸入欄CIF之字串),控制模組14即將第一字串S11 (即72527273037)顯示在文字輸入欄CIF中。FIG7 is a schematic diagram of another embodiment of the display screen D after executing step S43 of FIG5. Please refer to FIG7. When the control module 14 uses the barcode scanning module 11 to scan the two first barcodes to obtain two first barcode images BC1 (hereinafter referred to as the first barcode image BC11 and the first barcode image BC12). The barcode scanning module 11 then decodes the first barcode image BC11 and the first barcode image BC12 into two first strings S1 (hereinafter referred to as the first string S11 and the first string S12). The decoded first string S11 is 72527273037, and the decoded first string S12 is 72527273038. At this time, the control module 14 displays the first string S11 (i.e., 72527273037) and the first string S12 (i.e., 72527273038) as input options of the text input column CIF in the first input option area O1 and the second input option area O2 of the candidate column C. The first string S11 is displayed in the first input option area O1, and the first string S12 is displayed in the second input option area O2. If a trigger event occurs in the first input option area O1 at this time (e.g., the user clicks on the first input option area O1 to select the first string S11 as the string displayed in the text input column CIF), the control module 14 will display the first string S11 (i.e., 72527273037) in the text input column CIF.

請參閱圖6,在一些實施例中,條碼掃描模組11更用以產生具有至少一第一條碼圖像BC1的預覽畫面PD且控制模組14更用以將預覽畫面PD即時顯示在預覽窗格PW中。Please refer to FIG. 6 , in some embodiments, the barcode scanning module 11 is further used to generate a preview screen PD having at least a first barcode image BC1 and the control module 14 is further used to display the preview screen PD in the preview pane PW in real time.

圖8為行動裝置1之另一實施例的方塊示意圖。請參閱圖8。在一些實施例中,條碼掃描模組11包含專用攝像模組111及條碼解碼模組112。專用攝像模組111用以拍攝至少一第一條碼以得到具有至少一第一條碼圖像BC1的預覽畫面PD。條碼解碼模組112耦接於該專用攝像模組111與控制模組14,並用以將至少一第一條碼圖像BC1分別解碼為至少一第一字串S1。在一些實施例中,條碼掃描模組11亦可直接透過一般攝像模組12拍攝第一條碼以產生具有至少一第一條碼圖像BC1的預覽畫面PD。FIG8 is a block diagram of another embodiment of the mobile device 1. Please refer to FIG8. In some embodiments, the barcode scanning module 11 includes a dedicated camera module 111 and a barcode decoding module 112. The dedicated camera module 111 is used to capture at least one first barcode to obtain a preview screen PD having at least one first barcode image BC1. The barcode decoding module 112 is coupled to the dedicated camera module 111 and the control module 14, and is used to decode at least one first barcode image BC1 into at least one first string S1. In some embodiments, the barcode scanning module 11 can also directly capture the first barcode through the general camera module 12 to generate a preview screen PD having at least one first barcode image BC1.

圖9是圖3中行動裝置1之一實施例的後視圖。請參閱圖3及圖9。在一些實施例中,行動裝置1包含殼體20。其中,觸控顯示模組15嵌設於殼體20之正面(如圖3所示),一般攝像模組12及專用攝像模組111嵌設於殼體20之背面(如圖9所示)。在一些實施例中,一般攝像模組12及專用攝像模組111亦可嵌設於殼體20之正面或側面(圖未示)。FIG9 is a rear view of an embodiment of the mobile device 1 in FIG3. Please refer to FIG3 and FIG9. In some embodiments, the mobile device 1 includes a housing 20. The touch display module 15 is embedded in the front of the housing 20 (as shown in FIG3), and the general camera module 12 and the dedicated camera module 111 are embedded in the back of the housing 20 (as shown in FIG9). In some embodiments, the general camera module 12 and the dedicated camera module 111 can also be embedded in the front or side of the housing 20 (not shown).

在一些實施例中,預覽畫面PD僅包含第一條碼圖像BC1。在一些實施例中,預覽畫面PD除第一條碼圖像BC1外也包含第一條碼圖像BC1之週邊環境影像。In some embodiments, the preview screen PD only includes the first barcode image BC1. In some embodiments, the preview screen PD also includes the surrounding environment image of the first barcode image BC1 in addition to the first barcode image BC1.

於此,條碼掃描模組11解析出之字串S1會直接顯示於文字輸入欄CIF。因此,使用者並不需要將辨識出的字串手動複製並貼上至文字輸入欄CIF及/或在行動裝置1之應用程式之間互相切換,進而大幅提升使用者的體驗。Here, the character string S1 parsed by the barcode scanning module 11 is directly displayed in the text input field CIF. Therefore, the user does not need to manually copy and paste the recognized character string into the text input field CIF and/or switch between applications in the mobile device 1, thereby greatly improving the user experience.

圖10為圖2的步驟S45之一實施例的流程圖。請參閱圖10。在另一些實施例中,當選擇鍵組B發生第二選擇觸發事件(即選擇鍵組B產生文字辨識輸入法的啟動訊號)時,控制模組14偵測到文字辨識輸入法的啟動訊號(以下稱另一啟動訊號)(步驟S451),因而響應選擇鍵組B另一啟動訊號啟動文字辨識引擎13 (步驟S452),然後控制模組14即開始執行文字辨識輸入法。FIG10 is a flow chart of an embodiment of step S45 of FIG2. Please refer to FIG10. In other embodiments, when the second selection trigger event occurs in the selection key group B (i.e., the selection key group B generates an activation signal of the text recognition input method), the control module 14 detects the activation signal of the text recognition input method (hereinafter referred to as another activation signal) (step S451), and thus activates the text recognition engine 13 in response to the other activation signal of the selection key group B (step S452), and then the control module 14 starts to execute the text recognition input method.

控制模組14響應另一啟動訊號驅動一般攝像模組12,使一般攝像模組12透過拍攝至少一文字而產生影像P(步驟S453)。其中,影像P具有至少一文字的至少一字串圖像。The control module 14 drives the general camera module 12 in response to another activation signal, so that the general camera module 12 generates an image P by photographing at least one character (step S453). The image P has at least one string image of at least one character.

同時,控制模組14控制觸控顯示模組15即時顯示影像P在預覽窗格PW中(步驟S454)。並且,文字辨識引擎13辨識轉換至少一字串圖像為至少一字串S(步驟S455)。為方便說明,文字辨識引擎13辨識並轉換字串圖像所產生之字串S稱為第二字串S2。At the same time, the control module 14 controls the touch display module 15 to display the image P in the preview pane PW in real time (step S454). In addition, the text recognition engine 13 recognizes and converts at least one string image into at least one string S (step S455). For the convenience of explanation, the string S generated by the text recognition engine 13 recognizing and converting the string image is called the second string S2.

在一些實施例中,控制模組14更用以於將至少一個第二字串S2作為文字輸入欄CIF的輸入選項顯示在候選欄C並依據發生於候選欄C之觸發事件顯示對應之第二字串S2於文字輸入欄CIF中。In some embodiments, the control module 14 is further configured to display at least one second string S2 as an input option of the text input field CIF in the candidate field C and display the corresponding second string S2 in the text input field CIF according to a trigger event occurring in the candidate field C.

圖11為於執行圖10的步驟S45後的顯示畫面D之一實施例的示意圖。請參閱圖11,舉例而言,第二選擇觸發事件發生在選擇鍵B2上(如,使用者點擊選擇鍵B2以產生文字辨識輸入法的啟動訊號)時,控制模組14偵測到文字辨識輸入法的啟動訊號,因而響應發生於選擇鍵B2之第二選擇觸發事件啟動文字辨識引擎13。隨後控制模組14即開始執行文字辨識輸入法。控制模組14以一般攝像模組12產生影像P,其中影像P具有多個字串圖像,並且各字串圖像是一般攝像模組12透過拍攝至少一文字而生成。控制模組14即時顯示影像P在預覽窗格PW中且文字辨識引擎13辨識並轉換多個字串圖像為多個第二字串S2。控制模組14將多個第二字串S2作為文字輸入欄CIF的輸入選項顯示在候選欄C並依據發生於候選欄C之觸發事件顯示對應之第二字串S2於文字輸入欄CIF中。於圖11之實施例中,顯示於文字輸入欄CIF中之對應之第二字串S2為MODEL:P15F v2。FIG11 is a schematic diagram of an embodiment of a display screen D after executing step S45 of FIG10. Referring to FIG11, for example, when the second selection trigger event occurs on the selection key B2 (e.g., the user clicks the selection key B2 to generate an activation signal of the text recognition input method), the control module 14 detects the activation signal of the text recognition input method, and thus activates the text recognition engine 13 in response to the second selection trigger event occurring on the selection key B2. The control module 14 then starts to execute the text recognition input method. The control module 14 generates an image P with a general camera module 12, wherein the image P has a plurality of string images, and each string image is generated by the general camera module 12 by photographing at least one text. The control module 14 displays the image P in the preview pane PW in real time, and the text recognition engine 13 recognizes and converts the plurality of string images into a plurality of second strings S2. The control module 14 displays the plurality of second strings S2 as input options of the text input column CIF in the candidate column C and displays the corresponding second string S2 in the text input column CIF according to the trigger event occurring in the candidate column C. In the embodiment of FIG. 11 , the corresponding second string S2 displayed in the text input column CIF is MODEL:P15F v2.

於此,文字辨識引擎13解析出之第二字串S2直接顯示於文字輸入欄CIF中。因此,於使用者欲在文字輸入欄CIF中輸入第二字串S2時,選擇鍵組B使用者不需要將辨識出的字串手動複製並貼上至文字輸入欄CIF及/或在行動裝置1之應用程式之間互相切換,進而大幅提升使用者的體驗。Here, the second string S2 parsed by the text recognition engine 13 is directly displayed in the text input field CIF. Therefore, when the user wants to input the second string S2 in the text input field CIF, the user selects the key set B, and does not need to manually copy and paste the recognized string into the text input field CIF and/or switch between applications in the mobile device 1, thereby greatly improving the user experience.

在一些實施例中,文字辨識引擎13還可用以掃描並解碼至少一條碼(以下稱第二條碼)以獲得第二條碼所表達的字串。具體而言,一般攝像模組12能透過拍攝至少一第二條碼而生成具有至少一第二條碼的至少一第二條碼圖像BC2的影像P。In some embodiments, the text recognition engine 13 can also be used to scan and decode at least one barcode (hereinafter referred to as the second barcode) to obtain the string represented by the second barcode. Specifically, the general camera module 12 can generate an image P of at least one second barcode image BC2 having at least one second barcode by photographing at least one second barcode.

文字辨識引擎13更用以辨識並解碼影像P中至少一第二條碼圖像BC2為至少一第二字串S2中的至少一者。舉例而言,請參閱圖5,影像P中除了多個字串圖像外,更具有第二條碼的第二條碼圖像BC2。文字辨識引擎13除了辨識並轉換影像P中多個字串圖像為多個字串S2外,文字辨識引擎13更用以辨識並解碼影像P中第二條碼的第二條碼圖像BC2為多個第二字串S2之一。The text recognition engine 13 is further used to recognize and decode at least one second barcode image BC2 in the image P as at least one of the at least one second string S2. For example, referring to FIG. 5 , the image P includes a second barcode image BC2 of a second barcode in addition to a plurality of string images. In addition to recognizing and converting a plurality of string images in the image P into a plurality of strings S2, the text recognition engine 13 is further used to recognize and decode the second barcode image BC2 of the second barcode in the image P as one of the plurality of second strings S2.

在一些實施態樣中,若一般攝像模組12同時拍攝到至少一文字與至少一第二條碼,影像P即同時具有字串圖像與條碼圖像。在另一些實施態樣中,若一般攝像模組12只拍攝到至少一文字,影像P即僅具有字串圖像。在又一些實施態樣中,若一般攝像模組12只拍攝到至少一第二條碼,影像P即僅具有條碼圖像。In some embodiments, if the general camera module 12 captures at least one text and at least one second barcode at the same time, the image P has both a text string image and a barcode image. In other embodiments, if the general camera module 12 captures only at least one text, the image P only has a text string image. In still other embodiments, if the general camera module 12 captures only at least one second barcode, the image P only has a barcode image.

在一些實施例中,選擇鍵組B可為單一或多個實體按鍵(即選擇鍵)、或為單一或多個虛擬按鍵(即選擇鍵)、或其組合。在一些實施態樣中,若選擇鍵組B為單一按鍵,第一選擇觸發事件與第二選擇觸發事件可透過致能(如,按壓、電擊等)此按鍵的連續次數或連續時間的不同或奇數與偶數次數來區別。In some embodiments, the selection key set B may be a single or multiple physical keys (i.e., selection keys), or a single or multiple virtual keys (i.e., selection keys), or a combination thereof. In some embodiments, if the selection key set B is a single key, the first selection trigger event and the second selection trigger event may be distinguished by the number of consecutive times or the number of consecutive times of enabling (e.g., pressing, electric shock, etc.) the key, or the odd and even times.

在一些實施態樣中,選擇鍵組B包含的按鍵數量可相同於選擇觸發事件的種類,並且選擇鍵組B包含的按鍵一對一對應於不同的選擇觸發事件。在一示範例中,第一選擇觸發事件與第二選擇觸發事件所對應的選擇鍵組B的按鍵可均為實體按鍵。在另一示範例中,第一選擇觸發事件所對應的選擇鍵組B的按鍵可為實體按鍵與虛擬按鍵中之一,而第二選擇觸發事件所對應的選擇鍵組B的按鍵則為實體按鍵與虛擬按鍵中之另一者。在另一示範例中,第一選擇觸發事件與第二選擇觸發事件所對應的選擇鍵組B的按鍵可均為虛擬按鍵。In some implementations, the number of keys included in the selection key set B may be the same as the type of selection trigger events, and the keys included in the selection key set B correspond one-to-one to different selection trigger events. In one example, the keys of the selection key set B corresponding to the first selection trigger event and the second selection trigger event may both be physical keys. In another example, the key of the selection key set B corresponding to the first selection trigger event may be one of a physical key and a virtual key, and the key of the selection key set B corresponding to the second selection trigger event may be the other of a physical key and a virtual key. In another example, the keys of the selection key set B corresponding to the first selection trigger event and the second selection trigger event may both be virtual keys.

在一些實施例中,預覽窗格PW可更包含放大鍵FS。控制模組14更用以依據發生於放大鍵FS之觸發事件將預覽窗格PW放大顯示於顯示畫面D上。In some embodiments, the preview pane PW may further include a zoom key FS. The control module 14 is further configured to magnify the preview pane PW and display it on the display screen D according to a trigger event occurring on the zoom key FS.

圖12為預覽窗格PW放大顯示後的顯示畫面D之一實施例的示意圖。請參閱圖6及圖12。舉例來說,觸發事件發生在放大鍵FS(如,使用者點擊放大鍵FS以放大顯示預覽窗格PW)時,控制模組14偵測到該觸發事件,因而響應該觸發事件放大顯示預覽窗格PW於顯示畫面D上。在一些實施例中,控制模組14是將預覽窗格PW以全螢幕顯示於顯示畫面D上。在一些實施例中,於預覽窗格PW以全螢幕顯示於顯示畫面D後,預覽窗格PW更包含回復鍵FS2且不包含放大鍵FS。控制模組14更用以依據發生於回復鍵FS2之觸發事件將以全螢幕顯示之預覽窗格PW以放大顯示前的大小顯示預覽窗格PW於顯示畫面D上。FIG. 12 is a schematic diagram of an embodiment of a display screen D after the preview pane PW is enlarged and displayed. Please refer to FIG. 6 and FIG. 12. For example, when a trigger event occurs on the zoom key FS (e.g., the user clicks the zoom key FS to enlarge and display the preview pane PW), the control module 14 detects the trigger event, and thus responds to the trigger event to enlarge and display the preview pane PW on the display screen D. In some embodiments, the control module 14 displays the preview pane PW on the display screen D in full screen. In some embodiments, after the preview pane PW is displayed on the display screen D in full screen, the preview pane PW further includes a return key FS2 and does not include the zoom key FS. The control module 14 is further used to display the preview pane PW displayed in full screen on the display screen D at a size before the enlarged display according to the trigger event occurring on the return key FS2.

在一些實施例中,重疊視窗OW可更包含控制選項鍵CO。控制選項鍵CO用以開啟與關閉用以設定或調整影像轉換輸入法之各項功能與重疊視窗OW之各項功能的之設定視窗。In some embodiments, the overlay window OW may further include a control option key CO. The control option key CO is used to open and close a setting window for setting or adjusting various functions of the image conversion input method and various functions of the overlay window OW.

在一些實施例中,行動裝置1可為但不限於一智慧型手機、一平板電腦或一筆記型電腦。In some embodiments, the mobile device 1 may be, but is not limited to, a smart phone, a tablet computer, or a laptop computer.

在一些實施例中,條碼掃描模組11可為一個獨立的零組件,例如但不限於條碼掃描器(又稱條碼引擎)。其中,條碼掃描器可例如雷射掃描器、CCD掃描器及攝影式掃描器。In some embodiments, the barcode scanning module 11 may be an independent component, such as but not limited to a barcode scanner (also called a barcode engine). The barcode scanner may be, for example, a laser scanner, a CCD scanner, and a photographic scanner.

在一些實施例中,一般攝像模組及專用攝像模組中每一者可以是由感光元件與鏡頭之組合來實現。其中,感光元件用以擷取圖像(包含條碼圖像及字串圖像)並將此圖像由光訊號轉換為電訊號的。感光元件可例如但不限於電荷耦合元件(Charge-Coupled Device,CCD)或互補性金氧半導體感測器(CMOS sensor)。In some embodiments, each of the general camera module and the dedicated camera module can be implemented by a combination of a photosensitive element and a lens. The photosensitive element is used to capture images (including barcode images and string images) and convert the images from optical signals to electrical signals. The photosensitive element can be, for example but not limited to, a charge-coupled device (CCD) or a complementary metal oxide semiconductor sensor (CMOS sensor).

在一些實施例中,文字辨識引擎13可為但不限於Tesseract、Azure、Real-Time Recognition SDK或Ocr Space。In some embodiments, the text recognition engine 13 may be but is not limited to Tesseract, Azure, Real-Time Recognition SDK or Ocr Space.

在一些實施例中,條碼解碼模組、文字辨識引擎13與控制模組14其中每一者可由執行實施對應之運算功能的軟體或韌體的一個或多個硬體裝置實現。In some embodiments, each of the barcode decoding module, the text recognition engine 13, and the control module 14 can be implemented by one or more hardware devices that execute software or firmware to implement corresponding computing functions.

在另一些實施例中,條碼解碼模組由執行實施對應之運算功能的軟體或韌體的一個硬體裝置實現,而文字辨識引擎13與控制模組14則由執行實施對應之運算功能的軟體或韌體的另一個硬體裝置實現。In other embodiments, the barcode decoding module is implemented by a hardware device that executes software or firmware that implements corresponding computing functions, while the text recognition engine 13 and the control module 14 are implemented by another hardware device that executes software or firmware that implements corresponding computing functions.

在又一些實施例中,條碼解碼模組、文字辨識引擎13與控制模組14可由執行實施對應之運算功能的軟體或韌體的單一硬體元件實現。In some other embodiments, the barcode decoding module, the text recognition engine 13 and the control module 14 can be implemented by a single hardware component that executes software or firmware to implement corresponding computing functions.

在一些實施例中,各硬體元件可例如但不限於中央處理器(CPU)、微處理器、數位訊號處理器(Digital Signal Processor,DSP)、複雜可程式化邏輯裝置(Complex Programmable Logic Device,CPLD)、場式可程式閘陣列(Field Programmable Gate Array,FPGA)、特殊應用積體電路(Application Specific Integrated Circuits,ASIC)、或微控制器單元等。In some embodiments, each hardware component may be, for example but not limited to, a central processing unit (CPU), a microprocessor, a digital signal processor (DSP), a complex programmable logic device (CPLD), a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), or a microcontroller unit.

在一些實施例中,文字輸入欄CIF可以是由行動裝置1的操作系統或應用程式所提供之常駐在桌面上的桌面小部件(例如但不限於行動裝置1的主畫面上的搜尋列)、應用程式或網頁中搜尋引擎的欄位(例如但不限於App Store搜尋引擎或Google搜尋引擎等),也可以是應用程式或網頁中的文字輸入頁面或欄位(例如但不限於Word的輸入頁面或Facebook的建立貼文欄位等)。In some embodiments, the text input field CIF can be a desktop widget that is resident on the desktop and provided by the operating system or application of the mobile device 1 (for example, but not limited to the search bar on the main screen of the mobile device 1), a field of a search engine in an application or a web page (for example, but not limited to the App Store search engine or the Google search engine, etc.), or a text input page or field in an application or a web page (for example, but not limited to the input page of Word or the create post field of Facebook, etc.).

綜上所述,在一些實施例中,行動裝置1能使行動裝置1的基本輸入功能除了能使用系統默認輸入法外還能使用影像轉換輸入法,藉以提升文字輸入的便利性及效率。且影像轉換輸入法可以利用對預覽畫面PD或影像P的擷取與解析來直接獲得輸入文字輸入欄CIF的字串S,藉以簡化文字輸入的操作程序以提升文字輸入的便利性及效率,進而大幅提升使用者的體驗。並且,影像轉換輸入法提供條碼掃描輸入法及文字辨識輸入法二種影像解析方式,可更進一步提升影像轉換輸入法的適用範圍。使用者可以行動裝置1對具有條碼或文字的目標進行拍攝,藉以執行條碼掃描輸入法或文字辨識輸入法而獲得字串S,並且獲得的字串S會直接顯示於文字輸入欄CIF中。因此,在進行文字輸入欄CIF的輸入時,使用者不需要將解碼或辨識出的字串S手動複製並貼上至文字輸入欄CIF,更不需要在行動裝置1的不同應用程式之間相互切換。In summary, in some embodiments, the mobile device 1 can enable the basic input function of the mobile device 1 to use the image conversion input method in addition to the system default input method, so as to improve the convenience and efficiency of text input. Moreover, the image conversion input method can directly obtain the string S input into the text input field CIF by capturing and analyzing the preview screen PD or the image P, so as to simplify the text input operation procedure to improve the convenience and efficiency of text input, thereby greatly improving the user experience. In addition, the image conversion input method provides two image analysis methods, namely the barcode scanning input method and the text recognition input method, which can further improve the scope of application of the image conversion input method. The user can use the mobile device 1 to take a picture of a target with a barcode or text, thereby executing the barcode scanning input method or the text recognition input method to obtain a string S, and the obtained string S will be directly displayed in the text input field CIF. Therefore, when inputting in the text input field CIF, the user does not need to manually copy and paste the decoded or recognized string S into the text input field CIF, and does not need to switch between different applications of the mobile device 1.

雖然本案的技術內容已經以較佳實施例揭露如上,然其並非用以限定本案,任何熟習此技藝者,在不脫離本案之精神所作些許之更動與潤飾,皆應涵蓋於本案的範疇內,因此本案之保護範圍當視後附之申請專利範圍所界定者為準。Although the technical content of this case has been disclosed as above with the preferred embodiment, it is not used to limit this case. Any slight changes and embellishments made by anyone familiar with this technology without departing from the spirit of this case should be included in the scope of this case. Therefore, the protection scope of this case shall be defined by the scope of the attached patent application.

1:行動裝置 11:條碼掃描模組 12:一般攝像模組 13:文字辨識引擎 14:控制模組 15:觸控顯示模組 P:影像 S,S1~S2,S11~S12:字串 S01~S05,S41,S43,S45:步驟 CIF:文字輸入欄 D:顯示畫面 20:殼體 B:選擇鍵組 B1~B2:選擇鍵 PW:預覽窗格 VK:虛擬鍵盤 OW:重疊視窗 FS:放大鍵 CO:控制選項鍵 S431~S434,S451~S455:步驟 BC1~BC2,BC11~BC12:條碼圖像 PD:預覽畫面 C:候選欄 O1:第一輸入選項區 O2:第二輸入選項區 111:專用攝像模組 112:條碼解碼模組 FS2:回復鍵 1: Mobile device 11: Barcode scanning module 12: General camera module 13: Text recognition engine 14: Control module 15: Touch display module P: Image S, S1~S2, S11~S12: String S01~S05, S41, S43, S45: Step CIF: Text input field D: Display screen 20: Shell B: Selection key group B1~B2: Selection key PW: Preview pane VK: Virtual keyboard OW: Overlay window FS: Zoom key CO: Control option key S431~S434, S451~S455: Step BC1~BC2,BC11~BC12: Barcode image PD: Preview screen C: Candidate column O1: First input option area O2: Second input option area 111: Dedicated camera module 112: Barcode decoding module FS2: Return key

圖1為行動裝置之一實施例的方塊示意圖。 圖2為輸入方法之一實施例的流程圖。 圖3為行動裝置之一實施例的正視圖。 圖4為於執行圖2的步驟S03後的顯示畫面之一實施例的示意圖。 圖5為圖2的步驟S43之一實施例的流程圖。 圖6為於執行圖5的步驟S43後的顯示畫面之一實施例的示意圖。 圖7為於執行圖5的步驟S43後的顯示畫面之另一實施例的示意圖。 圖8為行動裝置之另一實施例的方塊示意圖。 圖9是圖3中行動裝置之一實施例的後視圖。 圖10為圖2的步驟S45之一實施例的流程圖。 圖11為於執行圖10的步驟S45後的顯示畫面之一實施例的示意圖。 圖12為預覽窗格放大顯示後的顯示畫面之一實施例的示意圖。 FIG. 1 is a block diagram of an embodiment of a mobile device. FIG. 2 is a flow chart of an embodiment of an input method. FIG. 3 is a front view of an embodiment of a mobile device. FIG. 4 is a diagram of an embodiment of a display screen after executing step S03 of FIG. 2. FIG. 5 is a flow chart of an embodiment of step S43 of FIG. 2. FIG. 6 is a diagram of an embodiment of a display screen after executing step S43 of FIG. 5. FIG. 7 is a diagram of another embodiment of a display screen after executing step S43 of FIG. 5. FIG. 8 is a block diagram of another embodiment of a mobile device. FIG. 9 is a rear view of an embodiment of the mobile device in FIG. 3. FIG. 10 is a flow chart of an embodiment of step S45 of FIG. 2 . FIG. 11 is a schematic diagram of an embodiment of a display screen after executing step S45 of FIG. 10 . FIG. 12 is a schematic diagram of an embodiment of a display screen after the preview pane is enlarged.

1:行動裝置 1: Mobile device

11:條碼掃描模組 11: Barcode scanning module

12:一般攝像模組 12: General camera module

13:文字辨識引擎 13: Text recognition engine

14:控制模組 14: Control module

15:觸控顯示模組 15: Touch display module

P:影像 P: Image

S,S1~S2:字串 S,S1~S2: string

Claims (17)

一種行動裝置,包含: 一一般攝像模組,用以產生一影像; 一觸控顯示模組,用以同時顯示一文字輸入欄以及具有並列的一系統默認輸入法的一虛擬鍵盤及一影像轉換輸入法的一預覽窗格的一重疊視窗; 一條碼掃描模組,用以掃描至少一第一條碼以得到該至少一第一條碼所表達的至少一第一字串,其中該影像轉換輸入法連結該條碼掃描模組; 一文字辨識引擎,耦接於該一般攝像模組,用以對該影像進行文字識別以得到至少一第二字串,其中該影像轉換輸入法連結該文字辨識引擎;及 一控制模組,耦接於該一般攝像模組、該觸控顯示模組、該條碼掃描模組及該文字辨識引擎,用以啟動該條碼掃描模組與該文字辨識引擎中之一以及控制該觸控顯示模組將該至少一第一字串與該第二字串中之一者顯示在該文字輸入欄中。 A mobile device comprises: a general camera module for generating an image; a touch display module for simultaneously displaying a text input field and an overlapping window having a virtual keyboard of a system default input method and a preview pane of an image conversion input method in parallel; a barcode scanning module for scanning at least one first barcode to obtain at least one first string represented by the at least one first barcode, wherein the image conversion input method is connected to the barcode scanning module; a text recognition engine coupled to the general camera module for performing text recognition on the image to obtain at least one second string, wherein the image conversion input method is connected to the text recognition engine; and A control module is coupled to the general camera module, the touch display module, the barcode scanning module and the text recognition engine, and is used to activate one of the barcode scanning module and the text recognition engine and control the touch display module to display one of the at least one first string and the second string in the text input field. 如請求項1所述之行動裝置,其中該條碼掃描模組更用以產生具有至少一條碼圖像的一預覽畫面且該控制模組更用以於將該預覽畫面即時顯示在該預覽窗格中。A mobile device as described in claim 1, wherein the barcode scanning module is further used to generate a preview screen having at least one barcode image and the control module is further used to display the preview screen in the preview pane in real time. 如請求項2所述之行動裝置,其中該條碼掃描模組包括: 一專用攝像模組,用以拍攝該至少一第一條碼以得到該至少一條碼圖像與該預覽畫面;及 一條碼解碼模組,耦接於該專用攝像模組與該控制模組,用以將該至少一條碼圖像分別解碼為該至少一第一字串。 The mobile device as described in claim 2, wherein the barcode scanning module comprises: a dedicated camera module for photographing the at least one first barcode to obtain the at least one barcode image and the preview screen; and a barcode decoding module, coupled to the dedicated camera module and the control module, for decoding the at least one barcode image into the at least one first string. 如請求項1所述之行動裝置,其中該重疊視窗更具有一候選欄,該候選欄位在該虛擬鍵盤與該預覽窗格上方,以及該控制模組更用以於將該至少一第一字串與該第二字串中之一者作為該文字輸入欄的輸入選項顯示在該候選欄。A mobile device as described in claim 1, wherein the overlay window further comprises a candidate column, the candidate column is above the virtual keyboard and the preview pane, and the control module is further used to display one of the at least one first string and the second string as an input option of the text input column in the candidate column. 如請求項1所述之行動裝置,其中該控制模組更用以於啟動該文字辨識引擎後將該影像即時顯示在該預覽窗格中。A mobile device as described in claim 1, wherein the control module is further used to display the image in the preview pane in real time after starting the text recognition engine. 如請求項1所述之行動裝置,其中該重疊視窗更包含一選擇鍵組,該控制模組更用以依據發生於該選擇鍵組之觸發事件對應啟動該條碼掃描模組或該文字辨識引擎。The mobile device as described in claim 1, wherein the overlay window further includes a selection key set, and the control module is further used to activate the barcode scanning module or the text recognition engine in response to a trigger event occurring on the selection key set. 如請求項1所述之行動裝置,其中該影像具有至少一字串圖像,各該字串圖像是該一般攝像模組透過拍攝至少一文字而生成,以及該文字辨識引擎更用以辨識並轉換各該字串圖像為該至少一第二字串中的至少一者。A mobile device as described in claim 1, wherein the image has at least one string image, each of the string images is generated by the general camera module by photographing at least one text, and the text recognition engine is further used to recognize and convert each of the string images into at least one of the at least one second string. 如請求項7所述之行動裝置,其中該影像更具有至少一條碼圖像,該至少一條碼圖像是該一般攝像模組透過拍攝至少一第二條碼而生成,以及該文字辨識引擎更用以辨識並解碼該影像中該至少一第二條碼的該至少一條碼圖像為該至少一第二字串中的至少一者。A mobile device as described in claim 7, wherein the image further has at least one barcode image, the at least one barcode image is generated by the general camera module by photographing at least one second barcode, and the text recognition engine is further used to recognize and decode the at least one barcode image of the at least one second barcode in the image into at least one of the at least one second strings. 如請求項1所述之行動裝置,其中該預覽窗格更包含一放大鍵,該控制模組更用以依據發生於該放大鍵之觸發事件將該預覽窗格放大顯示於該觸控顯示模組上。A mobile device as described in claim 1, wherein the preview pane further includes a magnification key, and the control module is further used to enlarge the preview pane and display it on the touch display module based on a trigger event occurring on the magnification key. 一種輸入方法,包含: 由一文字輸入欄致能一系統默認輸入法與一影像轉換輸入法,以同時顯示該文字輸入欄以及一重疊視窗,其中該重疊視窗具有並列的該系統默認輸入法的一虛擬鍵盤及該影像轉換輸入法的一預覽窗格; 以該系統默認輸入法與該影像轉換輸入法中之一產生至少一字串;及 顯示該至少一字串中之一在該文字輸入欄中。 An input method includes: enabling a system default input method and an image conversion input method from a text input bar to simultaneously display the text input bar and an overlay window, wherein the overlay window has a virtual keyboard of the system default input method and a preview pane of the image conversion input method in parallel; generating at least one string using one of the system default input method and the image conversion input method; and displaying one of the at least one string in the text input bar. 如請求項10所述之輸入方法,其中該影像轉換輸入法包含一條碼掃描輸入法,以及以該系統默認輸入法與該影像轉換輸入法中之一產生該至少一字串的步驟包含: 偵測該條碼掃描輸入法的一啟動訊號; 響應該啟動訊號啟動一條碼掃描模組; 以啟動後的該條碼掃描模組掃描至少一條碼以得到該至少一條碼的至少一條碼圖像;及 以該條碼掃描模組解碼該至少一條碼圖像為該至少一字串。 The input method as described in claim 10, wherein the image conversion input method includes a barcode scanning input method, and the step of generating the at least one string using one of the system default input method and the image conversion input method includes: Detecting an activation signal of the barcode scanning input method; Activating a barcode scanning module in response to the activation signal; Scanning at least one barcode with the activated barcode scanning module to obtain at least one barcode image of the at least one barcode; and Decoding the at least one barcode image into the at least one string using the barcode scanning module. 如請求項11所述之輸入方法,更包含: 該條碼掃描模組得到該至少一條碼圖像時產生具有該至少一條碼圖像的一預覽畫面並將該預覽畫面即時顯示在該預覽窗格中。 The input method as described in claim 11 further comprises: When the barcode scanning module obtains the at least one barcode image, it generates a preview screen having the at least one barcode image and displays the preview screen in the preview pane in real time. 如請求項10所述之輸入方法,其中該重疊視窗更具有一候選欄,該候選欄位在該虛擬鍵盤與該預覽窗格上方,以及以該系統默認輸入法與該影像轉換輸入法中之一產生該至少一字串的步驟更包含: 將該至少一字串作為該文字輸入欄的輸入選項顯示在該候選欄。 The input method as described in claim 10, wherein the overlay window further has a candidate column, the candidate column is above the virtual keyboard and the preview pane, and the step of generating the at least one string using one of the system default input method and the image conversion input method further includes: Displaying the at least one string as an input option of the text input column in the candidate column. 如請求項12所述之輸入方法,其中該影像轉換輸入法更包含一文字辨識輸入法,以及以該系統默認輸入法與該影像轉換輸入法中之一產生該至少一字串的步驟更包含: 偵測該文字辨識輸入法的另一啟動訊號; 根據該另一啟動訊號以一一般攝像模組產生一影像,其中該影像具有至少一字串圖像,並且各該字串圖像是該一般攝像模組透過拍攝至少一文字而生成; 即時顯示該影像在該預覽窗格中;及 辨識並轉換該至少一字串圖像為該至少一字串。 The input method as described in claim 12, wherein the image conversion input method further includes a text recognition input method, and the step of generating the at least one word string using one of the system default input method and the image conversion input method further includes: Detecting another activation signal of the text recognition input method; Generating an image using a general camera module according to the other activation signal, wherein the image has at least one word string image, and each word string image is generated by the general camera module by photographing at least one word; Real-time display of the image in the preview pane; and Recognizing and converting the at least one word string image into the at least one word string. 如請求項10所述之輸入方法,其中該影像轉換輸入法包含一文字辨識輸入法,以及以該系統默認輸入法與該影像轉換輸入法中之一產生該至少一字串的步驟包含: 偵測該文字辨識輸入法的另一啟動訊號; 響應該另一啟動訊號以一一般攝像模組產生一影像,其中該影像具有至少一字串圖像,並且各該字串圖像是該一般攝像模組透過拍攝至少一文字而生成; 即時顯示該影像在該預覽窗格中;及 辨識並轉換該至少一字串圖像為該至少一字串中的至少一者。 The input method as described in claim 10, wherein the image conversion input method includes a text recognition input method, and the step of generating the at least one string using one of the system default input method and the image conversion input method includes: Detecting another activation signal of the text recognition input method; Responding to the other activation signal, generating an image with a general camera module, wherein the image has at least one string image, and each string image is generated by the general camera module by photographing at least one text; Real-time display of the image in the preview pane; and Recognizing and converting the at least one string image into at least one of the at least one string. 如請求項15所述之輸入方法,其中該影像更具有至少一條碼圖像,該至少一條碼圖像是該一般攝像模組透過拍攝至少一第二條碼而生成,以該系統默認輸入法與該影像轉換輸入法中之一產生該至少一字串的步驟更包含: 辨識並轉換該至少一條碼圖像為該至少一字串中的至少一者。 The input method as described in claim 15, wherein the image further has at least one barcode image, the at least one barcode image is generated by the general camera module by photographing at least one second barcode, and the step of generating the at least one string using one of the system default input method and the image conversion input method further includes: Recognizing and converting the at least one barcode image into at least one of the at least one string. 如請求項10所述之輸入方法,其中該預覽窗格更包含一放大鍵,該輸入方法更包含: 依據發生於該放大鍵之觸發事件放大顯示該預覽窗格。 The input method as described in claim 10, wherein the preview pane further includes a magnifying key, and the input method further includes: Displaying the preview pane in magnified form according to a trigger event occurring on the magnifying key.
TW112121313A 2023-06-07 2023-06-07 Mobile device and input method TWI884461B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW112121313A TWI884461B (en) 2023-06-07 2023-06-07 Mobile device and input method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW112121313A TWI884461B (en) 2023-06-07 2023-06-07 Mobile device and input method

Publications (2)

Publication Number Publication Date
TW202449584A TW202449584A (en) 2024-12-16
TWI884461B true TWI884461B (en) 2025-05-21

Family

ID=94735381

Family Applications (1)

Application Number Title Priority Date Filing Date
TW112121313A TWI884461B (en) 2023-06-07 2023-06-07 Mobile device and input method

Country Status (1)

Country Link
TW (1) TWI884461B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106354277A (en) * 2016-09-21 2017-01-25 成都创慧科达科技有限公司 Method and system for rapidly inputting phrases and sentences
CN108388346A (en) * 2018-02-28 2018-08-10 山东师范大学 A kind of Intelligent input mechanism and input method based on ARM and camera
TW202030582A (en) * 2019-02-12 2020-08-16 群光電子股份有限公司 Text input system, text input method and computer program product
CN113168285A (en) * 2018-12-03 2021-07-23 微软技术许可有限责任公司 Modeless enhancements to virtual trackpads on multi-screen computing devices
US11379116B2 (en) * 2013-11-04 2022-07-05 Samsung Electronics Co., Ltd. Electronic apparatus and method for executing application thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11379116B2 (en) * 2013-11-04 2022-07-05 Samsung Electronics Co., Ltd. Electronic apparatus and method for executing application thereof
CN106354277A (en) * 2016-09-21 2017-01-25 成都创慧科达科技有限公司 Method and system for rapidly inputting phrases and sentences
CN108388346A (en) * 2018-02-28 2018-08-10 山东师范大学 A kind of Intelligent input mechanism and input method based on ARM and camera
CN113168285A (en) * 2018-12-03 2021-07-23 微软技术许可有限责任公司 Modeless enhancements to virtual trackpads on multi-screen computing devices
TW202030582A (en) * 2019-02-12 2020-08-16 群光電子股份有限公司 Text input system, text input method and computer program product

Also Published As

Publication number Publication date
TW202449584A (en) 2024-12-16

Similar Documents

Publication Publication Date Title
CN102034081B (en) Calculator devices using images as data sources
CN101609505A (en) Method and device for character recognition
CN107533627B (en) Image processing device and image processing method
CN112188097A (en) Photographing method, photographing apparatus, terminal device, and computer-readable storage medium
TWI884461B (en) Mobile device and input method
CN111201768A (en) A shooting focusing method and device
EP4474969A1 (en) Mobile device and input method
US11138402B2 (en) Electronic apparatus and control method of the same
CN109033806A (en) Data setting method for body information analysis device
TWI853600B (en) Mobile device and switching method of input method thereof
TWI851268B (en) Mobile device and operating method of input method thereof
US12422980B2 (en) Mobile device and operating method of input method thereof
US12182365B1 (en) Mobile device and switching method of input method thereof
CN106066979A (en) One operates in specialty bar code scanning method and system on cell phone platform
JP6115615B2 (en) Information processing apparatus, control method and program thereof, and information processing system, control method and program thereof
JP2010079529A (en) Information processor, information processing method, program therefor and recording medium
CN106572289A (en) Image processing module of camera module, and mobile terminal
TWI848810B (en) Remote video system and remote video method
CN111158986B (en) Electronic equipment, information prompting method and storage medium
TWI411952B (en) Displaying system for zoom content of document and method thereof
JP2010191907A (en) Character input device and character input method
JP2025068510A (en) Imaging apparatus, method for controlling imaging apparatus, and program
CN107347139A (en) The processing method and mobile terminal of a kind of view data
WO2024155277A1 (en) Method of phone number recognition and system for using the same
KR101669198B1 (en) Camera Module With Function Of Zoom