[go: up one dir, main page]

TWI522892B - Electronic device with virtual input function - Google Patents

Electronic device with virtual input function Download PDF

Info

Publication number
TWI522892B
TWI522892B TW103112721A TW103112721A TWI522892B TW I522892 B TWI522892 B TW I522892B TW 103112721 A TW103112721 A TW 103112721A TW 103112721 A TW103112721 A TW 103112721A TW I522892 B TWI522892 B TW I522892B
Authority
TW
Taiwan
Prior art keywords
module
gesture
user interface
electronic device
hand
Prior art date
Application number
TW103112721A
Other languages
Chinese (zh)
Other versions
TW201539303A (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 TW103112721A priority Critical patent/TWI522892B/en
Publication of TW201539303A publication Critical patent/TW201539303A/en
Application granted granted Critical
Publication of TWI522892B publication Critical patent/TWI522892B/en

Links

Landscapes

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

Description

具有虛擬輸入功能的電子裝置 Electronic device with virtual input function

本發明是有關於一種電子裝置,且特別是有關於一種具有虛擬輸入功能的電子裝置。 The present invention relates to an electronic device, and more particularly to an electronic device having a virtual input function.

隨著科技的發展,更複雜且更人性化的電子產品已推陳出新。舉例而言,筆記型電腦(laptop computer)、平板電腦(tablet computer)以及智慧型手機(smart phone)已與一般桌上型電腦(desktop computer)具有相同的功能,再加上體積小以及重量輕等特點,讓使用者可隨身攜帶,已然成為一般人生活及工作當中不可或缺的重要工具。 With the development of technology, more complex and more humane electronic products have been introduced. For example, laptop computers, tablet computers, and smart phones have the same functions as a desktop computer, plus small size and light weight. Such characteristics, so that users can carry around, has become an indispensable tool for the lives and work of ordinary people.

然而,目前使用者在使用智慧型手機或是平板電腦等無實體鍵盤以及滑鼠的電子裝置時,使用者得以手寫或操作螢幕上所顯示的虛擬鍵盤來進行文書處理,相對地不方便。而若搭配實體鍵盤以及滑鼠,則增加攜帶體積以及重量,則破壞了攜帶性。 However, when a user uses a physical keyboard such as a smart phone or a tablet computer or a mouse electronic device, the user can handwrite or operate the virtual keyboard displayed on the screen to perform word processing, which is relatively inconvenient. If you use a physical keyboard and a mouse, increasing the carrying capacity and weight will destroy the portability.

有鑑於此,本發明提供一種電子裝置,其可在沒有實體輸入裝置的情況下,提供使用者更方便且直覺性的操作。 In view of this, the present invention provides an electronic device that provides a more convenient and intuitive operation of the user without a physical input device.

本發明提供一種電子裝置,其包括螢幕、影像擷取單元、儲存單元以及處理單元,其中影像擷取單元設置於電子裝置的背面,處理單元耦接螢幕、影像擷取單元以及儲存單元。影像擷取單元用以擷取使用者的連續多個手部影像。儲存單元用以記錄多個模組。處理單元用以存取並執行儲存單元中記錄的所述模組。所述模組包括:顯示模組、整合模組、辨識模組、映射模組以及輸入模組。顯示模組用以在螢幕上顯示使用者介面。整合模組用以整合使用者介面與各所述手部影像,以產生多個整合影像,其中顯示模組又在螢幕上顯示各所述整合影像螢幕。辨識模組用以根據各所述手部影像,辨識使用者的手勢。映射模組用以取得各所述手部影像中上述手勢相對於使用者介面的位置,以產生多個偵測位置。輸入模組用以在使用者介面上的偵測位置產生對應於上述手勢的輸入訊號,據以操作使用者介面。 The present invention provides an electronic device, which includes a screen, an image capturing unit, a storage unit, and a processing unit. The image capturing unit is disposed on the back of the electronic device, and the processing unit is coupled to the screen, the image capturing unit, and the storage unit. The image capturing unit is configured to capture a continuous plurality of hand images of the user. The storage unit is used to record a plurality of modules. The processing unit is configured to access and execute the module recorded in the storage unit. The module includes: a display module, an integration module, an identification module, a mapping module, and an input module. The display module is used to display the user interface on the screen. The integrated module is configured to integrate the user interface and each of the hand images to generate a plurality of integrated images, wherein the display module displays each of the integrated image screens on the screen. The identification module is configured to recognize the gesture of the user according to each of the hand images. The mapping module is configured to obtain a position of the gesture in the hand image relative to the user interface to generate a plurality of detection locations. The input module is configured to generate an input signal corresponding to the gesture on the detection location of the user interface, thereby operating the user interface.

本發明另提供一種電子裝置,其包括螢幕、影像擷取單元、收發單元、儲存單元以及處理單元,其中影像擷取單元以及收發單元設置於電子裝置的背面,處理單元耦接螢幕、影像擷取單元、收發單元以及儲存單元。影像擷取單元用以擷取使用者的連續多個手部影像。收發單元具有發送器以及接收器。儲存單元用以記錄多個模組。處理單元用以存取並執行儲存單元中記錄的所述模組。所述模組包括:顯示模組、整合模組、偵測模組、映 射模組以及輸入模組。顯示模組用以在螢幕上顯示使用者介面。整合模組用以整合使用者介面與各所述手部影像,以產生多個整合影像,其中顯示模組又在螢幕上顯示各所述整合影像螢幕。偵測模組利用收發單元偵測使用者的手勢,其中上述手勢對應於影像擷取單元所擷取的各所述手部影像。映射模組用以取得上述手勢相對於使用者介面上的位置,以產生多個偵測位置。輸入模組用以在使用者介面上的偵測位置產生對應於上述手勢的輸入訊號,據以操作使用者介面。 The present invention further provides an electronic device, including a screen, an image capturing unit, a transceiver unit, a storage unit, and a processing unit, wherein the image capturing unit and the transceiver unit are disposed on the back of the electronic device, and the processing unit is coupled to the screen and the image capturing device. Unit, transceiver unit and storage unit. The image capturing unit is configured to capture a continuous plurality of hand images of the user. The transceiver unit has a transmitter and a receiver. The storage unit is used to record a plurality of modules. The processing unit is configured to access and execute the module recorded in the storage unit. The module includes: a display module, an integrated module, a detection module, and a display Shooting module and input module. The display module is used to display the user interface on the screen. The integrated module is configured to integrate the user interface and each of the hand images to generate a plurality of integrated images, wherein the display module displays each of the integrated image screens on the screen. The detecting module detects the user's gesture by using the transceiver unit, wherein the gesture corresponds to each of the hand images captured by the image capturing unit. The mapping module is configured to obtain a position of the gesture relative to the user interface to generate a plurality of detection locations. The input module is configured to generate an input signal corresponding to the gesture on the detection location of the user interface, thereby operating the user interface.

基於上述,本發明的電子裝置可提供使用者在電子裝置以外的位置來對使用者介面進行虛擬輸入操作,其係藉由辨識使用者的手勢及其位置,將手勢位置映射至使用者介面的相對位置,進而在所述相對位置產生對應的輸入訊號。因此,使用者於電子裝置以外的位置的手勢操作可對應地在使用者介面產生輸入訊號,從而操作使用者介面。此外,本發明的電子裝置更整合使用者介面以及手部影像,從而讓使用者可在螢幕畫面上看到手部以及使用者介面上的物件之相對關係。據此,使用者可在不攜帶實體鍵盤或滑鼠等輸入裝置的情況下,達到接近利用實體輸入裝置來操作電子裝置的效果,並且提供使用者更直覺性的操作。 Based on the above, the electronic device of the present invention can provide a virtual input operation of the user interface at a position other than the electronic device, and the gesture position is mapped to the user interface by recognizing the user's gesture and its position. The relative position, and thus the corresponding input signal, is generated at the relative position. Therefore, the gesture operation of the user at a position other than the electronic device can correspondingly generate an input signal on the user interface, thereby operating the user interface. In addition, the electronic device of the present invention further integrates the user interface and the hand image, so that the user can see the relative relationship between the hand and the object on the user interface on the screen. Accordingly, the user can achieve the effect of operating the electronic device close to using the physical input device without carrying an input device such as a physical keyboard or a mouse, and provide a more intuitive operation of the user.

為讓本發明的上述特徵和優點能更明顯易懂,下文特舉實施例,並配合所附圖式作詳細說明如下。 The above described features and advantages of the invention will be apparent from the following description.

100、400‧‧‧電子裝置 100, 400‧‧‧ electronic devices

110、410‧‧‧螢幕 110, 410‧‧‧ screen

120、420‧‧‧影像擷取單元 120, 420‧‧‧ image capture unit

425‧‧‧收發單元 425‧‧‧ transceiver unit

130、430‧‧‧儲存單元 130, 430‧‧‧ storage unit

131、431‧‧‧顯示模組 131, 431‧‧‧ display module

132、432‧‧‧整合模組 132, 432‧‧‧ integrated modules

133‧‧‧辯識模組 133‧‧‧Intelligence module

433‧‧‧偵測模組 433‧‧‧Detection module

134、434‧‧‧映射模組 134, 434‧‧‧ mapping module

135、435‧‧‧切換模組 135, 435‧‧‧Switch Module

140、440‧‧‧處理單元 140, 440‧‧ ‧ processing unit

S201~S211、S501~S511‧‧‧虛擬輸入操作的方法 S201~S211, S501~S511‧‧‧Virtual input operation method

30‧‧‧整合影像 30‧‧‧Integrated imagery

32‧‧‧虛擬鍵盤 32‧‧‧Virtual keyboard

34‧‧‧使用者介面 34‧‧‧User interface

A‧‧‧手部 A‧‧‧Hand

A’‧‧‧手部影像 A’‧‧‧Hand image

圖1是依照本發明一實施例所繪示之電子裝置的方塊圖。 FIG. 1 is a block diagram of an electronic device according to an embodiment of the invention.

圖2是依照本發明一實施例所繪示之虛擬輸入操作的方法流程圖。 2 is a flow chart of a method for virtual input operation according to an embodiment of the invention.

圖3是根據本發明之一實施例所繪示的電子裝置的使用情境示意圖。 FIG. 3 is a schematic diagram of a usage scenario of an electronic device according to an embodiment of the invention.

圖4是依照本發明另一實施例所繪示之電子裝置的方塊圖。 4 is a block diagram of an electronic device in accordance with another embodiment of the present invention.

圖5是依照本發明另一實施例所繪示之虛擬輸入操作的方法流程圖。 FIG. 5 is a flow chart of a method for virtual input operation according to another embodiment of the invention.

目前使用者在使用智慧型手機或是平板電腦等無實體鍵盤以及滑鼠的電子裝置時,使用者得以手寫或操作螢幕上所顯示的虛擬鍵盤來進行文書處理,相對地不方便。本發明所提出的電子裝置除了可提供使用者在電子裝置以外的位置來對使用者介面進行虛擬輸入操作,更利用電子裝置的影像擷取裝置拍攝使用者的手部影像,以將手部影像整合於使用者介面上,使得使用者可在螢幕畫面上看到手部以及使用者介面上的物件之相對位置關係,提供使用者更直覺性的操作。為了使本發明之內容更為明瞭,以下特舉實施例,做為本發明確實能夠據以實施的範例。 At present, when a user uses a physical keyboard such as a smart phone or a tablet computer or a mouse electronic device, the user can handwrite or operate the virtual keyboard displayed on the screen to perform word processing, which is relatively inconvenient. The electronic device provided by the present invention can provide a virtual input operation to the user interface at a position other than the electronic device, and the image capturing device of the electronic device can capture the image of the user's hand to display the hand image. Integrated into the user interface, the user can see the relative positional relationship between the hand and the object on the user interface on the screen to provide a more intuitive operation of the user. In order to make the content of the present invention more comprehensible, the following specific embodiments are exemplary of the invention.

圖1是依照本發明一實施例所繪示之電子裝置的方塊圖。請參照圖1,本實施例的電子裝置100例如是平板電腦、個人數位助理、智慧型手機、一體成型電腦、電子書等具有顯示功能 的電子裝置,本發明並不針對電子裝置100的種類加以限制。電子裝置100包括螢幕110、影像擷取單元120、儲存單元130以及一或多個處理單元140,其功能分述如下。 FIG. 1 is a block diagram of an electronic device according to an embodiment of the invention. Referring to FIG. 1 , the electronic device 100 of the embodiment has a display function, such as a tablet computer, a personal digital assistant, a smart phone, an integrated computer, an e-book, and the like. The present invention is not limited to the type of electronic device 100. The electronic device 100 includes a screen 110, an image capturing unit 120, a storage unit 130, and one or more processing units 140, the functions of which are described below.

螢幕110其係用以顯示電子裝置100輸出的畫面而提供給使用者觀看。在本實施例中,螢幕110例如是液晶顯示器(Liquid Crystal Display,LCD)、發光二極體(Light-Emitting Diode,LED)顯示器、場發射顯示器(Field Emission Display,FED)或其他種類的顯示器。然而,雖然本發明的電子裝置100具有虛擬輸入功能,螢幕110仍可以例如是由電阻式、電容式或其他種類的觸碰感應元件與液晶顯示器整合而成,本發明不在此設限。 The screen 110 is used to display a screen output by the electronic device 100 and is provided for viewing by the user. In this embodiment, the screen 110 is, for example, a liquid crystal display (LCD), a Light-Emitting Diode (LED) display, a Field Emission Display (FED), or other kinds of displays. However, although the electronic device 100 of the present invention has a virtual input function, the screen 110 can be integrated with a liquid crystal display, for example, by a resistive, capacitive or other kind of touch sensing element, and the present invention is not limited thereto.

影像擷取模組120包括至少一鏡頭,其設置於電子裝置100的背面並且包括感光元件,用以分別感測進入各所述鏡頭的光線強度,進而產生影像。所述的感光元件例如是電荷耦合元件(Charge Coupled Device,CCD)、互補性氧化金屬半導體(Complementary Metal-Oxide Semiconductor,CMOS)元件或其他元件,本發明不在此設限。 The image capture module 120 includes at least one lens disposed on the back of the electronic device 100 and includes a photosensitive element for sensing the intensity of light entering each of the lenses to generate an image. The photosensitive element is, for example, a Charge Coupled Device (CCD), a Complementary Metal-Oxide Semiconductor (CMOS) element, or other components, and the present invention is not limited thereto.

儲存單元130例如是任意型式的固定式或可移動式隨機存取記憶體(Random Access Memory,RAM)、唯讀記憶體(Read-Only Memory,ROM)、快閃記憶體(Flash memory)、硬碟或其他類似裝置或這些裝置的組合,而用以記錄可由處理單元140執行的多個模組,這些模組可載入處理單元140以執行虛擬輸入操作的功能。 The storage unit 130 is, for example, any type of fixed or removable random access memory (RAM), read-only memory (ROM), flash memory (Flash memory), hard A disc or other similar device or combination of these devices is used to record a plurality of modules executable by processing unit 140 that can be loaded into processing unit 140 to perform the functions of a virtual input operation.

處理單元140例如是中央處理單元(Central Processing Unit,CPU),或是其他可程式化之一般用途或特殊用途的微處理器(Microprocessor)、數位訊號處理器(Digital Signal Processor,DSP)、可程式化控制器、特殊應用積體電路(Application Specific Integrated Circuits,ASIC)、可程式化邏輯裝置(Programmable Logic Device,PLD)或其他類似裝置或這些裝置的組合。處理單元140耦接至螢幕110、影像擷取單元120以及儲存單元130,而可存取並執行記錄在儲存單元130中的模組。 The processing unit 140 is, for example, a central processing unit (CPU), or other programmable general purpose or special purpose microprocessor (Microprocessor), digital signal processor (DSP), programmable Controllers, Application Specific Integrated Circuits (ASICs), Programmable Logic Devices (PLDs), or other similar devices or combinations of these devices. The processing unit 140 is coupled to the screen 110, the image capturing unit 120, and the storage unit 130, and can access and execute the modules recorded in the storage unit 130.

上述模組包括顯示模組131、整合模組132、辯識模組133、映射模組134以及切換模組135,這些模組例如是電腦程式,其可載入處理單元140,從而執行虛擬輸入操作的功能。 The module includes a display module 131, an integration module 132, a recognition module 133, a mapping module 134, and a switching module 135. The modules are, for example, computer programs, which can be loaded into the processing unit 140 to perform virtual input. The function of the operation.

圖2是依照本發明一實施例所繪示之虛擬輸入操作的方法流程圖。請參照圖2,本實施例的方法適用於圖1的電子裝置100,以下即搭配電子裝置100中的各項元件說明本發明之虛擬輸入操作的方法之詳細步驟。 2 is a flow chart of a method for virtual input operation according to an embodiment of the invention. Referring to FIG. 2, the method of the present embodiment is applied to the electronic device 100 of FIG. 1, and the detailed steps of the method for virtual input operation of the present invention are described below with the components in the electronic device 100.

請參照圖1以及圖2,首先處理單元140利用顯示模組131將使用者介面顯示於螢幕110(步驟S201)。在此,使用者介面可以例如是視窗作業系統提供的動態磚(tiles)介面、網頁瀏覽介面、電子郵件介面、桌面背景或其他軟體程式所提供的顯示介面等,本發明不在此設限。 Referring to FIG. 1 and FIG. 2, first, the processing unit 140 displays the user interface on the screen 110 by using the display module 131 (step S201). The user interface may be, for example, a dynamic tile interface provided by a Windows operating system, a web browsing interface, an email interface, a desktop background, or a display interface provided by other software programs. The present invention is not limited thereto.

接著,處理單元140利用影像擷取單元120擷取使用者的連續多個手部影像(步驟S203)。詳言之,在本實施例中,使用 者可在桌面上對使用者介面進行操作。電子裝置100可以是斜立於桌面上,其中影像擷取單元120面向桌面,以不斷擷取使用者的手部影像。然而,本發明不限於此。在其它的實施例中,使用者可在影像擷取單元120可拍攝到的位置,例如是任一平面甚至於懸空的方式,對使用者介面進行操作。 Next, the processing unit 140 uses the image capturing unit 120 to capture a plurality of consecutive hand images of the user (step S203). In detail, in this embodiment, use The user interface can be operated on the desktop. The electronic device 100 can be slanted on the desktop, wherein the image capturing unit 120 faces the desktop to continuously capture the user's hand image. However, the invention is not limited thereto. In other embodiments, the user can operate the user interface at a position that can be captured by the image capturing unit 120, such as any plane or even floating.

之後,處理單元140利用整合模組132整合使用者介面與各所述手部影像,以產生多個整合影像,再利用顯示模組131將各所述整合影像顯示於螢幕110(步驟S205)。詳言之,整合模組132可將各所述手部影像套疊於使用者介面,以產生所述整合影像。在一實施例中,套疊於使用者介面的各所述手部影像可以是以半透明的視覺效果呈現,來避免使用者介面上的物件被手部影像遮蔽,然而,本發明不在此設限。在其它的實施例中,整合模組132可根據使用者介面上的物件類型,來決定各所述整合影像的視覺效果。 Then, the processing unit 140 integrates the user interface and each of the hand images with the integration module 132 to generate a plurality of integrated images, and then displays the integrated images on the screen 110 by using the display module 131 (step S205). In detail, the integration module 132 can nest each of the hand images on the user interface to generate the integrated image. In an embodiment, each of the hand images that are nested on the user interface may be rendered in a translucent visual effect to prevent objects on the user interface from being obscured by the hand image. However, the present invention does not limit. In other embodiments, the integration module 132 can determine the visual effect of each of the integrated images according to the type of the object on the user interface.

接著,處理單元140將利用辨識模組133,根據各所述手部影像,辨識使用者的手勢(gesture)(步驟S207)。詳言之,辨識模組133可先在各所述手部影像中偵測出手部的位置。在一實施例中,辨識模組133可利用特徵提取演算法(feature extraction algorithm)結合用以偵測移動物體的動態移動演算法(motion detection algorithm),偵測出各所述手部影像中手部的位置以及移動軌跡,據以辨識使用者於桌面的手勢操作。此外,在一實施例中,儲存單元130可儲存預先經過訓練的多個手勢模板影像 (template image)。辨識模組133則可根據所述手部影像的移動軌跡,與各所述手勢模板影像進行比對,來辨識使用者於桌面的手勢操作。 Next, the processing unit 140 recognizes the gesture of the user based on each of the hand images by the recognition module 133 (step S207). In detail, the identification module 133 can first detect the position of the hand in each of the hand images. In an embodiment, the recognition module 133 can detect the hand in each of the hand images by using a feature extraction algorithm combined with a motion detection algorithm for detecting a moving object. The position of the part and the movement track are used to recognize the gesture operation of the user on the desktop. In addition, in an embodiment, the storage unit 130 may store a plurality of gesture template images that are trained in advance. (template image). The recognition module 133 can compare the gesture image of the hand image according to the movement trajectory of the hand image to identify the gesture operation of the user on the desktop.

之後,處理單元140將利用映射模組134取得各所述手部影像中上述手勢相對於使用者介面上的位置,以產生多個偵測位置(步驟S209)。詳言之,各所述手部影像與使用者介面的畫面存在著位置的映射關係(mapping relation)。處理單元140在步驟S207取得上述手勢於各所述手部影像中的位置後,將會利用上述映射關係取得相對於使用者介面上的位置,也就是前述的「偵測位置」。 Thereafter, the processing unit 140 acquires the position of the gesture in the hand image with respect to the user interface by using the mapping module 134 to generate a plurality of detection positions (step S209). In detail, there is a mapping relation between each of the hand images and the user interface. After the processing unit 140 obtains the position of the gesture in each of the hand images in step S207, the processing unit 140 obtains the position relative to the user interface, that is, the aforementioned “detection position”, by using the mapping relationship.

在一實施例中,各所述手部影像與使用者介面的畫面之映射關係可以預先以一查找表(look-up table)的形式預存在電子裝置100的儲存單元130,以在此將此查找表定義為「第一查找表」。查找表的輸入索引為各所述手部影像的座標,查找表的輸出為使用者介面的座標。在本實施例中,前述的「座標」可以為手部影像以及使用者介面中的畫素座標。據此,映射模組134可將上述手勢於各所述手部影像的座標輸入至第一查找表,以取得使用者介面上的偵測位置。 In an embodiment, the mapping relationship between each of the hand images and the user interface may be pre-stored in the form of a look-up table in the storage unit 130 of the electronic device 100. The lookup table is defined as the "first lookup table". The input index of the lookup table is the coordinates of each of the hand images, and the output of the lookup table is the coordinates of the user interface. In this embodiment, the aforementioned "coordinates" may be hand images and pixel coordinates in the user interface. Accordingly, the mapping module 134 can input the coordinates of the gestures on the hand images to the first lookup table to obtain the detection position on the user interface.

處理單元140在利用映射模組134取得使用者介面上的偵測位置後,將利用輸入模組135於偵測位置上產生對應於上述手勢的輸入訊號,據以操作使用者介面(步驟S211)。詳言之,由於處理單元140已利用映射模組134取得的偵測位置,也就是使 用者欲對使用者介面操作的位置,處理單元140將利用輸入模組135,依照上述手勢的移動軌跡依序地在偵測位置上產生輸入訊號,使得使用者於桌面的手勢操作可對應地在使用者介面產生輸入訊號,從而操作使用者介面。 After the processing unit 140 obtains the detection position on the user interface by using the mapping module 134, the input module 135 generates an input signal corresponding to the gesture at the detection position, thereby operating the user interface (step S211). . In detail, since the processing unit 140 has utilized the detection position obtained by the mapping module 134, that is, The user may use the input module 135 to sequentially generate an input signal at the detection position according to the movement trajectory of the gesture, so that the gesture operation of the user on the desktop can be correspondingly performed. The user interface is generated by generating an input signal at the user interface.

值得一提的是,前述的電子裝置100提供使用者在例如是桌面等電子裝置100以外的操作介面來對使用者介面上的物件進行操作。在一實施例中,使用者介面上的物件可以是虛擬鍵盤或是虛擬滑鼠。以下將以虛擬鍵盤來說明電子裝置100的應用範例。 It should be noted that the foregoing electronic device 100 provides an operation interface of the user on an interface other than the electronic device 100 such as a desktop to operate the object on the user interface. In an embodiment, the object on the user interface may be a virtual keyboard or a virtual mouse. An application example of the electronic device 100 will be described below using a virtual keyboard.

圖3是根據本發明之一實施例所繪示的電子裝置100的使用情境示意圖。 FIG. 3 is a schematic diagram of a usage scenario of an electronic device 100 according to an embodiment of the invention.

在本實施例中,使用者介面為電子郵件介面。此外,使用者介面包括虛擬鍵盤。請同時參照圖1以及圖3,當處理單元140在步驟S205中利用整合模組132整合使用者介面34與手部A的連續影像(亦即,手部影像A’)後,會產生整合影像30,其中使用者介面34更包括虛擬鍵盤32。在本實施例中,手部影像A’為半透明影像,以使虛擬鍵盤32的按鍵不被手部影像A’所遮蔽。在其它實施例中,亦可以選擇性地讓虛擬鍵盤32以半透明的方式呈現。 In this embodiment, the user interface is an email interface. In addition, the user interface includes a virtual keyboard. Referring to FIG. 1 and FIG. 3 simultaneously, when the processing unit 140 integrates the continuous image of the user interface 34 and the hand A (ie, the hand image A') by using the integration module 132 in step S205, an integrated image is generated. 30, wherein the user interface 34 further includes a virtual keyboard 32. In the present embodiment, the hand image A' is a translucent image such that the keys of the virtual keyboard 32 are not obscured by the hand image A'. In other embodiments, the virtual keyboard 32 can also be selectively rendered in a translucent manner.

之後,辨識模組133則會根據手部影像A’,辨識使用者的手勢為鍵盤敲擊手勢(keystroke)。處理單元140可利用映射模組134取得手部影像A’中的鍵盤敲擊手勢相對於虛擬鍵盤32的按 鍵位置。輸入模組135可在各所述按鍵位置產生輸入訊號,據以操作虛擬鍵盤。舉例來說,手部影像A’中的鍵盤敲擊手勢相對於虛擬鍵盤32的按鍵位置為按鍵G時,輸入模組135將在虛擬鍵盤32的按鍵G產生輸入訊號,而使用者介面34則會在打字游標處顯示字母「G」。 Thereafter, the recognition module 133 recognizes the user's gesture as a keystroke based on the hand image A'. The processing unit 140 can use the mapping module 134 to obtain the pressing of the keyboard tap gesture in the hand image A' relative to the virtual keyboard 32. Key position. The input module 135 can generate an input signal at each of the button positions to operate the virtual keyboard. For example, when the keyboard tap gesture in the hand image A′ is the button G relative to the button position of the virtual keyboard 32, the input module 135 will generate an input signal on the button G of the virtual keyboard 32, and the user interface 34 The letter "G" will be displayed at the typing cursor.

上述實施例主要是利用圖形辨識(pattern recognition)的技術來辨識使用者的操作手勢。在另一實施例中,更可利用頻率訊號偵測的技術來辨識使用者的操作手勢。 The above embodiments mainly utilize a technique of pattern recognition to recognize a user's operation gesture. In another embodiment, the technique of frequency signal detection can be utilized to recognize the user's operation gesture.

圖4是依照本發明另一實施例所繪示之電子裝置的方塊圖。請參照圖1,本實施例的電子裝置400例如是平板電腦、個人數位助理、智慧型手機、電子書等具有顯示功能的電子裝置,本發明並不針對電子裝置400的種類加以限制。電子裝置400包括螢幕410、影像擷取單元420、收發單元425、儲存單元430以及一或多個處理單元440。影像擷取單元420以及收發單元425設置於電子裝置400的背面,而處理單元440耦接螢幕410、影像擷取單元420、收發單元425以及儲存單元430。 4 is a block diagram of an electronic device in accordance with another embodiment of the present invention. Referring to FIG. 1 , the electronic device 400 of the present embodiment is, for example, an electronic device having a display function such as a tablet computer, a personal digital assistant, a smart phone, or an electronic book. The present invention is not limited to the type of the electronic device 400 . The electronic device 400 includes a screen 410, an image capturing unit 420, a transceiver unit 425, a storage unit 430, and one or more processing units 440. The image capturing unit 420 and the transceiver unit 425 are disposed on the back of the electronic device 400, and the processing unit 440 is coupled to the screen 410, the image capturing unit 420, the transceiver unit 425, and the storage unit 430.

收發單元425包括發送器(transmitter)以及接收器(receiver)。在本實施例中,收發單元為紅外線收發器(infrared transmitter/receiver)。在其它實施例中,收發單元430可以為其它頻率訊號的收發器,本發明不在此設限。 The transceiver unit 425 includes a transmitter and a receiver. In this embodiment, the transceiver unit is an infrared transmitter/receiver. In other embodiments, the transceiver unit 430 can be a transceiver of other frequency signals, and the present invention is not limited thereto.

在本實施例中,螢幕410、影像擷取單元420、儲存單元430以及處理單元440的結構以及功能類似於螢幕110、影像擷取 單元120、儲存單元130以及處理單元140,相同之處於此不再贅述。不同之處在於,本實施例中的儲存單元440所儲存的模組包括顯示模組431、整合模組432、偵測模組433、映射模組434以及切換模組435。類似地,這些模組例如是電腦程式,其可載入處理單元440,從而執行虛擬輸入操作的功能。 In this embodiment, the structure and functions of the screen 410, the image capturing unit 420, the storage unit 430, and the processing unit 440 are similar to the screen 110 and image capturing. The unit 120, the storage unit 130, and the processing unit 140 are the same as those described herein. The module stored in the storage unit 440 in this embodiment includes a display module 431, an integration module 432, a detection module 433, a mapping module 434, and a switching module 435. Similarly, these modules are, for example, computer programs that can be loaded into processing unit 440 to perform the functions of virtual input operations.

圖5是依照本發明另一實施例所繪示之虛擬輸入操作的方法流程圖。請參照圖5,本實施例的方法適用於圖4的電子裝置400,以下即搭配電子裝置400中的各項元件說明本發明之虛擬輸入操作的方法的詳細步驟。 FIG. 5 is a flow chart of a method for virtual input operation according to another embodiment of the invention. Referring to FIG. 5, the method of the present embodiment is applied to the electronic device 400 of FIG. 4, and the detailed steps of the method for virtual input operation of the present invention are described below with the components in the electronic device 400.

請參照圖4以及圖5,首先處理單元440利用顯示模組431將使用者介面顯示於螢幕410(步驟S501)。接著,處理單元440利用影像擷取單元420擷取使用者的連續多個手部影像(步驟S503)。之後,處理單元440利用整合模組432整合使用者介面與各所述手部影像,以產生多個整合影像,再利用顯示模組431將各所述整合影像顯示於螢幕410(步驟S505)。步驟S501、步驟S503以及步驟S505類似於步驟S201、步驟S03以及步驟S205,請參照前述段落的相關說明,於此不再贅述。 Referring to FIG. 4 and FIG. 5, first, the processing unit 440 displays the user interface on the screen 410 by using the display module 431 (step S501). Next, the processing unit 440 uses the image capturing unit 420 to capture a plurality of consecutive hand images of the user (step S503). Then, the processing unit 440 integrates the user interface and each of the hand images with the integration module 432 to generate a plurality of integrated images, and then displays the integrated images on the screen 410 by using the display module 431 (step S505). Step S501, step S503, and step S505 are similar to step S201, step S03, and step S205. Please refer to the related description of the foregoing paragraphs, and details are not described herein again.

處理單元440將利用偵測模組433藉由收發單元425偵測使用者的手勢(步驟S507)。在本實施例中,偵測模組443可藉由收發單元425發送以及反射的紅外線來偵測並且定位上述手勢。換言之,偵測模組443可利用收發單元425偵測手勢的移動軌跡以及手勢於真實空間中的位置。 The processing unit 440 detects the user's gesture by the transceiver unit 425 by using the detecting module 433 (step S507). In this embodiment, the detection module 443 can detect and locate the gesture by the infrared light transmitted and reflected by the transceiver unit 425. In other words, the detecting module 443 can use the transceiver unit 425 to detect the moving trajectory of the gesture and the position of the gesture in the real space.

必須說明的是,在其它實施例中,處理單元440亦可先執行步驟S507,以利用偵測模組433偵測出使用者的手勢後,再執行步驟S503以及步驟S505,以將產生的整合影像顯示於螢幕410,本發明不在此設限。 It should be noted that, in other embodiments, the processing unit 440 may first perform step S507 to detect the user's gesture by using the detecting module 433, and then perform step S503 and step S505 to integrate the generated. The image is displayed on screen 410, and the present invention is not limited thereto.

之後,處理單元450將利用映射模組434取得各所述手部影像中上述手勢相對於使用者介面上的位置,以產生多個偵測位置(步驟S509)。詳言之,上述手勢於真實空間中的位置與使用者介面的畫面存在著位置的映射關係。處理單元440在步驟S507取得上述手勢於真實空間中的位置後,將會利用上述映射關係取得相對於使用者介面上的位置,也就是前述的「偵測位置」。 Thereafter, the processing unit 450 uses the mapping module 434 to obtain the position of the gesture in each of the hand images relative to the user interface to generate a plurality of detection positions (step S509). In detail, there is a positional mapping relationship between the position of the above gesture in the real space and the screen of the user interface. After the processing unit 440 obtains the position of the gesture in the real space in step S507, the processing unit 440 obtains the position relative to the user interface, that is, the aforementioned "detection position" by using the above mapping relationship.

在一實施例中,上述手勢與使用者介面的畫面之映射關係可以預先以一查找表的形式預存在電子裝置400的儲存單元430,以在此將此查找表定義為「第二查找表」。查找表的輸入索引為各所述手勢的真實座標(actual coordinates),查找表的輸出為使用者介面的座標(例:畫素座標)。據此,映射模組434可將上述手勢的真實座標輸入至第二查找表,以取得使用者介面上的偵測位置。 In an embodiment, the mapping relationship between the gesture and the user interface may be pre-stored in the storage unit 430 of the electronic device 400 in the form of a lookup table, where the lookup table is defined as a “second lookup table”. . The input index of the lookup table is the actual coordinates of each of the gestures, and the output of the lookup table is the coordinates of the user interface (eg, pixel coordinates). Accordingly, the mapping module 434 can input the real coordinates of the gesture to the second lookup table to obtain the detected position on the user interface.

接著,處理單元450將利用輸入模組435於偵測位置上產生對應於上述手勢的輸入訊號,據以操作使用者介面(步驟S511)。步驟S511類似於步驟S211,請參照前述段落的相關說明,於此不再贅述。 Next, the processing unit 450 will generate an input signal corresponding to the gesture by using the input module 435 at the detection position, thereby operating the user interface (step S511). Step S511 is similar to step S211. Please refer to the related description of the foregoing paragraphs, and details are not described herein again.

類似於圖3的使用情境,在一實施例中,電子裝置400 的顯示模組410亦顯示包括虛擬鍵盤或是虛擬滑鼠。在此的偵測模組433可偵測使用者的手勢為鍵盤敲擊手勢,並且直接定位鍵盤敲擊手勢的真實座標。處理單元440可利用映射模組434取得鍵盤敲擊手勢的真實位置相對於虛擬鍵盤32的按鍵位置。輸入模組435可在各所述按鍵位置產生輸入訊號,從而操作使用者介面上的虛擬鍵盤。 Similar to the usage scenario of FIG. 3, in an embodiment, the electronic device 400 The display module 410 also displays a virtual keyboard or a virtual mouse. The detection module 433 can detect the user's gesture as a keyboard tap gesture and directly locate the real coordinates of the keyboard tap gesture. The processing unit 440 can utilize the mapping module 434 to obtain the true position of the keyboard tap gesture relative to the key position of the virtual keyboard 32. The input module 435 can generate an input signal at each of the button positions to operate the virtual keyboard on the user interface.

綜上所述,本發明的電子裝置可提供使用者在電子裝置以外的位置來對使用者介面進行虛擬輸入操作,其係藉由辨識使用者的手勢及其位置,將手勢位置映射至使用者介面的相對位置,進而在所述相對位置產生對應的輸入訊號。因此,使用者於電子裝置以外的位置的手勢操作可對應地在使用者介面產生輸入訊號,從而操作使用者介面。此外,本發明的電子裝置更整合使用者介面以及手部影像,從而讓使用者可在螢幕畫面上看到手部以及使用者介面上的物件之相對關係。據此,使用者可在不攜帶實體鍵盤或滑鼠等輸入裝置的情況下,達到接近利用實體輸入裝置來操作電子裝置的效果,並且提供使用者更直覺性的操作。 In summary, the electronic device of the present invention can provide a virtual input operation to the user interface at a position other than the electronic device, and the gesture position is mapped to the user by recognizing the gesture and the position of the user. The relative position of the interface, which in turn produces a corresponding input signal at the relative position. Therefore, the gesture operation of the user at a position other than the electronic device can correspondingly generate an input signal on the user interface, thereby operating the user interface. In addition, the electronic device of the present invention further integrates the user interface and the hand image, so that the user can see the relative relationship between the hand and the object on the user interface on the screen. Accordingly, the user can achieve the effect of operating the electronic device close to using the physical input device without carrying an input device such as a physical keyboard or a mouse, and provide a more intuitive operation of the user.

雖然本發明已以實施例揭露如上,然其並非用以限定本發明,任何所屬技術領域中具有通常知識者,在不脫離本發明的精神和範圍內,當可作些許的更動與潤飾,故本發明的保護範圍當視後附的申請專利範圍所界定者為準。 Although the present invention has been disclosed in the above embodiments, it is not intended to limit the present invention, and any one of ordinary skill in the art can make some changes and refinements without departing from the spirit and scope of the present invention. The scope of the invention is defined by the scope of the appended claims.

S201~S211‧‧‧虛擬輸入操作的方法 S201~S211‧‧‧Method of virtual input operation

Claims (6)

一種電子裝置,包括:一螢幕;一影像擷取單元,設置於該電子裝置的背面,以擷取一使用者的連續多個手部影像;一儲存單元,記錄多個模組;以及一或多個處理單元,耦接該螢幕、該影像擷取單元以及該儲存單元,以存取並執行該儲存單元中記錄的所述模組,所述模組包括:一顯示模組,顯示一使用者介面於該螢幕;一整合模組,整合該使用者介面與各所述手部影像,以產生多個整合影像,其中該顯示模組顯示各所述整合影像於該螢幕;一辨識模組,根據各所述手部影像,辨識該使用者的一手勢;一映射模組,取得各所述手部影像中該手勢相對於該使用者介面的位置,以產生多個偵測位置;以及一輸入模組,產生對應於該手勢的一輸入訊號於該使用者介面上的所述偵測位置,據以操作該使用者介面,其中該儲存單元包括一第一查找表,其中該第一查找表的輸入索引為各所述手部影像的座標,該第一查找表的輸出為該使用者介面的座標,其中該映射模組輸入該手勢於各所述手部影 像的座標於該第一查找表,以取得該使用者介面上的所述偵測位置。 An electronic device comprising: a screen; an image capturing unit disposed on the back of the electronic device to capture a continuous plurality of hand images of a user; a storage unit for recording a plurality of modules; and one or a plurality of processing units coupled to the screen, the image capturing unit, and the storage unit to access and execute the module recorded in the storage unit, the module comprising: a display module, displaying a use The interface is integrated with the user interface and each of the hand images to generate a plurality of integrated images, wherein the display module displays each of the integrated images on the screen; an identification module Identifying a gesture of the user according to each of the hand images; and mapping a module to obtain a position of the gesture relative to the user interface in each of the hand images to generate a plurality of detection locations; An input module that generates an input signal corresponding to the gesture on the user interface to operate the user interface, wherein the storage unit includes a first lookup table, wherein the A lookup table index coordinate input image of each of the hand, the output of the first look-up table for the UI coordinates, the mapping module wherein the input to each of the hand gesture Movies The coordinates of the image are plotted on the first lookup table to obtain the detected position on the user interface. 如申請專利範圍第1項所述的電子裝置,其中該儲存單元包括多個手勢模板影像,該辨識模組根據所述手部影像中手部的位置以及移動軌跡,比對所述手部影像與所述手勢模板影像,據以辨識該手勢。 The electronic device of claim 1, wherein the storage unit comprises a plurality of gesture template images, and the recognition module compares the hand images according to the position and movement trajectory of the hand in the hand image. And the gesture template image is used to identify the gesture. 如申請專利範圍第1項所述的電子裝置,其中該使用者介面包括一虛擬鍵盤,該辨識模組根據各所述手部影像,辨識該使用者的該手勢為一鍵盤敲擊手勢,該映射模組取得各所述手部影像中該鍵盤敲擊手勢相對於該虛擬鍵盤的一按鍵位置,而該輸入模組產生該輸入訊號於該虛擬鍵盤的該按鍵位置,據以操作該虛擬鍵盤。 The electronic device of claim 1, wherein the user interface comprises a virtual keyboard, and the recognition module recognizes the gesture of the user as a keyboard tap gesture according to each of the hand images. The mapping module obtains a button position of the keyboard tap gesture relative to the virtual keyboard in each of the hand images, and the input module generates the input signal to the button position of the virtual keyboard, thereby operating the virtual keyboard . 一種電子裝置,包括:一螢幕;一影像擷取單元,設置於該電子裝置的背面,以擷取一使用者的連續多個手部影像;一收發單元,設置於該電子裝置的背面,並且具有一發送器以及一接收器;一儲存單元,記錄多個模組;以及一或多個處理單元,耦接該螢幕、該影像擷取單元、該收發單元以及該儲存單元,以存取並執行該儲存單元中記錄的所述模組,所述模組包括: 一顯示模組,顯示一使用者介面於該螢幕;一整合模組,整合該使用者介面與各所述手部影像,以產生多個整合影像,其中該顯示模組顯示各所述整合影像於該螢幕;一偵測模組,利用該收發單元,以偵測該使用者的一手勢,其中該手勢對應於該影像擷取單元所擷取的各所述手部影像;一映射模組,取得該手勢相對於該使用者介面上的位置,以產生多個偵測位置;以及一輸入模組,產生對應於該手勢的一輸入訊號於該使用者介面上的所述偵測位置,據以操作該使用者介面,其中該儲存單元包括一第二查找表,其中該第二查找表的輸入索引為該手勢的於該真實空間中的座標,該第二查找表的輸出為該使用者介面的座標,其中該映射模組輸入該手勢於該真實空間中的座標於該第二查找表,以取得該使用者介面的所述偵測位置。 An electronic device includes: a screen; an image capturing unit disposed on the back of the electronic device to capture a continuous plurality of hand images of a user; a transceiver unit disposed on the back of the electronic device, and Having a transmitter and a receiver; a storage unit for recording a plurality of modules; and one or more processing units coupled to the screen, the image capturing unit, the transceiver unit, and the storage unit for accessing Executing the module recorded in the storage unit, the module includes: a display module for displaying a user interface on the screen; an integrated module integrating the user interface and each of the hand images to generate a plurality of integrated images, wherein the display module displays each of the integrated images The detection module uses a transceiver unit to detect a gesture of the user, wherein the gesture corresponds to each of the hand images captured by the image capturing unit; a mapping module Obtaining a position of the gesture relative to the user interface to generate a plurality of detection locations; and an input module generating an input signal corresponding to the gesture to the detection location on the user interface, The user interface is configured to operate, wherein the storage unit includes a second lookup table, wherein an input index of the second lookup table is a coordinate of the gesture in the real space, and an output of the second lookup table is the use a coordinate of the user interface, wherein the mapping module inputs a coordinate of the gesture in the real space to the second lookup table to obtain the detected position of the user interface. 如申請專利範圍第4項所述的電子裝置,其中該偵測模組利用該收發單元,偵測該手勢的移動軌跡以及該手勢於一真實空間中的位置。 The electronic device of claim 4, wherein the detecting module uses the transceiver unit to detect a movement trajectory of the gesture and a position of the gesture in a real space. 如申請專利範圍第4項所述的電子裝置,其中該使用者介面包括一虛擬鍵盤,該偵測模組根據各所述手部影像,辨識該使用者的該手勢為一鍵盤敲擊手勢,該映射模組取得該鍵盤敲擊手勢相對於該虛擬鍵盤的一按鍵位置,而該輸入模組產生該輸入訊 號於該虛擬鍵盤的該按鍵位置,據以操作該虛擬鍵盤。 The electronic device of claim 4, wherein the user interface comprises a virtual keyboard, and the detecting module identifies the gesture of the user as a keyboard tap gesture according to each of the hand images. The mapping module obtains a key position of the keyboard tap gesture relative to the virtual keyboard, and the input module generates the input signal The key position of the virtual keyboard is operated to operate the virtual keyboard.
TW103112721A 2014-04-07 2014-04-07 Electronic device with virtual input function TWI522892B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW103112721A TWI522892B (en) 2014-04-07 2014-04-07 Electronic device with virtual input function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW103112721A TWI522892B (en) 2014-04-07 2014-04-07 Electronic device with virtual input function

Publications (2)

Publication Number Publication Date
TW201539303A TW201539303A (en) 2015-10-16
TWI522892B true TWI522892B (en) 2016-02-21

Family

ID=54851353

Family Applications (1)

Application Number Title Priority Date Filing Date
TW103112721A TWI522892B (en) 2014-04-07 2014-04-07 Electronic device with virtual input function

Country Status (1)

Country Link
TW (1) TWI522892B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI666580B (en) * 2018-05-02 2019-07-21 合盈光電科技股份有限公司 Virtual input system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI666580B (en) * 2018-05-02 2019-07-21 合盈光電科技股份有限公司 Virtual input system

Also Published As

Publication number Publication date
TW201539303A (en) 2015-10-16

Similar Documents

Publication Publication Date Title
KR102664705B1 (en) Electronic device and method for modifying magnification of image using multiple cameras
KR101184460B1 (en) Device and method for controlling a mouse pointer
CN108431729B (en) Three-dimensional object tracking to increase display area
US10614120B2 (en) Information search method and device and computer readable recording medium thereof
US9348420B2 (en) Adaptive projected information handling system output devices
US20160196060A1 (en) Gesture Controlled Adaptive Projected Information Handling System Input and Output Devices
WO2015161653A1 (en) Terminal operation method and terminal device
US20150268773A1 (en) Projected Information Handling System Input Interface with Dynamic Adjustment
CN110647244A (en) Terminal and method for controlling the terminal based on space interaction
US9811197B2 (en) Display apparatus and controlling method thereof
US20170192465A1 (en) Apparatus and method for disambiguating information input to a portable electronic device
US20180210597A1 (en) Information processing device, information processing method, and program
TWI530862B (en) Touch glove and touch electronic system and touch determination method thereof
CN104699279B (en) Displacement detection device capable of being operated in suspension mode and computer system comprising displacement detection device
Liang et al. Turn any display into a touch screen using infrared optical technique
CN104978016A (en) Electronic device with virtual input function
US9727233B2 (en) Touch device and control method and method for determining unlocking thereof
US20180059806A1 (en) Information processing device, input control method for controlling input to information processing device, and computer-readable storage medium storing program for causing information processing device to perform input control method
TWI522892B (en) Electronic device with virtual input function
US20170011713A1 (en) Image outputting device
US9996181B2 (en) Information processing apparatus, information processing method, and program
CN102981662A (en) Handheld device and method for adjusting location information
US10175825B2 (en) Information processing apparatus, information processing method, and program for determining contact on the basis of a change in color of an image
TW201516806A (en) Three-dimension touch apparatus
KR20140086805A (en) Electronic apparatus, method for controlling the same and computer-readable recording medium

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees