TWI498806B - Electronic devices and methods for controlling electronic devices - Google Patents

Electronic devices and methods for controlling electronic devices Download PDF

Info

Publication number
TWI498806B
TWI498806B TW102129095A TW102129095A TWI498806B TW I498806 B TWI498806 B TW I498806B TW 102129095 A TW102129095 A TW 102129095A TW 102129095 A TW102129095 A TW 102129095A TW I498806 B TWI498806 B TW I498806B
Authority
TW
Taiwan
Prior art keywords
display area
screen
predetermined object
dimensional space
coordinate
Prior art date
Application number
TW102129095A
Other languages
Chinese (zh)
Other versions
TW201506764A (en
Inventor
Chung Wei Lee
Shou Te Wei
Shang Chin Su
Hsi Chun Hsiao
Original Assignee
Wistron Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Wistron Corp filed Critical Wistron Corp
Priority to TW102129095A priority Critical patent/TWI498806B/en
Priority to CN201310386380.2A priority patent/CN104375629B/en
Publication of TW201506764A publication Critical patent/TW201506764A/en
Application granted granted Critical
Publication of TWI498806B publication Critical patent/TWI498806B/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/042Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means by opto-electronic means
    • G06F3/0425Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means by opto-electronic means using a single imaging device like a video camera for tracking the absolute position of a single or a plurality of objects with respect to an imaged reference surface, e.g. video camera imaging a display or a projection screen, a table or a wall surface, on which a computer generated image is displayed or projected
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/048Indexing scheme relating to G06F3/048
    • G06F2203/048023D-info-object: information is displayed on the internal or external surface of a three dimensional manipulable object, e.g. on the faces of a cube that can be rotated by the user

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • User Interface Of Digital Computer (AREA)
  • Position Input By Displaying (AREA)

Description

電子裝置與電子裝置之控制方法Electronic device and electronic device control method

本發明系關於一種電子裝置;特別關於一種利用深度攝影機實施螢幕觸控功能之電子裝置。The present invention relates to an electronic device; and more particularly to an electronic device that implements a touch screen function using a depth camera.

隨著電子技術之發展,各種消費性電子產品(例如,筆記型電腦、電子辭典、個人數位助理、手機等)都朝向小型化發展,以方便使用者攜帶,並且隨時隨地可以使用。通常為了避免電子產品的顯示面板刮傷,電子產品多會利用折疊的結構,將顯示面板蓋合在主機部分上。With the development of electronic technology, various consumer electronic products (such as notebook computers, electronic dictionaries, personal digital assistants, mobile phones, etc.) are moving toward miniaturization, which is convenient for users to carry and can be used anytime and anywhere. Usually, in order to avoid scratching of the display panel of the electronic product, the electronic product often uses a folded structure to cover the display panel on the main body portion.

以筆記型電腦為例,筆記型電腦主要可分為主機本體以及透過樞接機構與主機本體連結的螢幕兩部分。因此,在收納及攜帶筆記型電腦時,可將螢幕蓋合在主機本體上,以避免螢幕表面遭異物刮傷、或灰塵侵入鍵盤縫隙、或是因不慎碰撞,造成樞接機構的損壞。而使用者欲使用筆記型電腦時,只要將筆記型電腦的螢幕掀開即可。Taking a notebook computer as an example, a notebook computer can be mainly divided into a main body and a screen connected to the main body through a pivoting mechanism. Therefore, when accommodating and carrying the notebook computer, the screen can be covered on the main body of the main body to prevent the surface of the screen from being scratched by foreign objects, or dust from entering the gap of the keyboard, or causing damage to the pivoting mechanism due to inadvertent collision. When the user wants to use the notebook, just open the screen of the notebook.

一般而言,筆記型電腦所配置的螢幕並非觸控螢幕。然而,以觸碰或其他控制方式取代使用滑鼠或鍵盤控制電子裝置的操作模式已漸漸成為市場主流。因此,需要一種全新的電子裝置設計,其可利用深度攝影機實施螢幕觸控功能。In general, the screen configured on the notebook is not a touch screen. However, the use of touch or other control methods to replace the operating mode of using the mouse or keyboard to control the electronic device has gradually become the mainstream of the market. Therefore, there is a need for a completely new electronic device design that can implement a touch screen function using a depth camera.

根據本發明之一實施例,一種電子裝置包括主機本體、螢幕、取像裝置以及量角裝置。主機本體包括處理單元。螢幕樞接於主機本體。取像裝置耦接至主機本體,用以取得複數三維影像,並且進一步分析三維影像內所包含之至少一既定物體於三維空間內之座標。量角裝置耦接至主機本體與螢幕,用以測量主機本體與螢幕之夾角。處理單元根據夾角計算螢幕之顯示區域於三維空間內之所在範圍,並且根據顯示區域之所在範圍與既定物體之座標判斷既定物體是否碰觸到螢幕之顯示區域,以及當既定物體被判斷碰觸到螢幕之顯示區域時,進一步判斷既定物體於顯示區域內之一操作行為。According to an embodiment of the invention, an electronic device includes a main body, a screen, an image taking device, and a protractor device. The host body includes a processing unit. The screen is pivotally connected to the main body of the main body. The image capturing device is coupled to the host body for acquiring the plurality of three-dimensional images, and further analyzing coordinates of the at least one predetermined object included in the three-dimensional image in the three-dimensional space. The measuring angle device is coupled to the main body and the screen to measure the angle between the main body and the screen. The processing unit calculates the range of the display area of the screen in the three-dimensional space according to the angle, and determines whether the predetermined object touches the display area of the screen according to the range of the display area and the coordinates of the predetermined object, and when the predetermined object is judged to be touched When the display area of the screen is displayed, it is further judged that one of the operational actions of the predetermined object in the display area.

根據本發明之另一實施例,一種電子裝置之控制方法,包括:透過取像裝置取得複數三維影像;分析三維影像內所包含之至少一既定物體於三維空間內之座標;透過量角裝置測量電子裝置之主機本體與螢幕之夾角,其中螢幕樞接於主機本體;根據夾角計算螢幕之顯示區域於三維空間內之所在範圍;根據顯示區域之所在範圍與既定物體之座標判斷既定物體是否碰觸到螢幕之顯示區域;以及當既定物體被判斷碰觸到螢幕之顯示區域時,判斷既定物體於顯示區域內之操作行為,並且根據操作行為控制電子裝置。According to another embodiment of the present invention, a method for controlling an electronic device includes: acquiring a plurality of three-dimensional images through the image capturing device; analyzing coordinates of at least one predetermined object included in the three-dimensional image in a three-dimensional space; and measuring by a centrifugation device The angle between the main body of the electronic device and the screen, wherein the screen is pivotally connected to the main body; the display area of the screen is calculated in the three-dimensional space according to the angle; and the predetermined object is judged according to the range of the display area and the coordinates of the predetermined object. To the display area of the screen; and when the predetermined object is judged to touch the display area of the screen, judge the operation behavior of the predetermined object in the display area, and control the electronic device according to the operation behavior.

100‧‧‧電子裝置100‧‧‧Electronic devices

110、210‧‧‧主機本體110, 210‧‧‧ host body

120、220‧‧‧螢幕120, 220‧‧‧ screen

130、230‧‧‧取像裝置130, 230‧‧‧ image capture device

140、240‧‧‧量角裝置140, 240‧‧‧degree angle device

150‧‧‧處理單元150‧‧‧Processing unit

160、560‧‧‧偵測裝置160, 560‧‧‧Detection device

570‧‧‧旋轉裝置570‧‧‧Rotating device

580‧‧‧觸發開關580‧‧‧ trigger switch

第1圖係顯示根據本發明之一實施例所述之電子裝置方塊圖。1 is a block diagram showing an electronic device according to an embodiment of the present invention.

第2圖係顯示根據本發明之一實施例所述之電子裝置上視 圖。2 is a view showing an electronic device according to an embodiment of the present invention. Figure.

第3圖係顯示根據本發明之一實施例所述之電子裝置側視圖。Figure 3 is a side view showing an electronic device according to an embodiment of the present invention.

第4圖係顯示根據本發明之一實施例所述之電子裝置之控制方法流程圖。4 is a flow chart showing a control method of an electronic device according to an embodiment of the present invention.

第5A圖係顯示根據本發明之一實施例所述之取像裝置於觸控模式下之側視圖。FIG. 5A is a side view showing the image capturing apparatus according to an embodiment of the present invention in a touch mode.

第5B圖係顯示根據本發明之一實施例所述之取像裝置於手勢模式下之側視圖。Fig. 5B is a side view showing the image taking device in a gesture mode according to an embodiment of the present invention.

第6A圖係顯示根據本發明之一實施例所述之電子裝置於觸控模式下之側視圖。FIG. 6A is a side view showing an electronic device in a touch mode according to an embodiment of the invention.

第6B圖係顯示根據本發明之一實施例所述之電子裝置於手勢模式下之側視圖。Figure 6B is a side view showing the electronic device in a gesture mode according to an embodiment of the present invention.

為使本發明之製造、操作方法、目標和優點能更明顯易懂,下文特舉幾個較佳實施例,並配合所附圖式,作詳細說明如下:實施例:第1圖係顯示根據本發明之一實施例所述之電子裝置方塊圖。根據本發明之一實施例,電子裝置100可以是一筆記型電腦,並且至少可包括主機本體110、螢幕120、取像裝置130與量角裝置140。主機本體110可至少包括處理單元150與偵測裝置160。螢幕120透過樞接機構(圖未示)樞接於主機本體110。取像裝置130耦接至主機本體110,用以藉由拍攝或攝影 操作取得複數三維影像,並且進一步分析三維影像內所包含之至少一既定物體於一三維空間內之一座標。根據本發明之一實施例,取像裝置130可包括一攝影機(例如,一深度攝影機)以及一控制晶片。控制晶片用以控制攝影機之拍攝或攝影操作,以及分析三維影像。量角裝置140耦接至主機本體110與螢幕120,用以測量主機本體110與螢幕120之一夾角。In order to make the manufacturing, the operation, the objects, the advantages and the advantages of the present invention more obvious, the following detailed description of the preferred embodiments and the accompanying drawings are described in detail as follows: Example: Figure 1 shows A block diagram of an electronic device according to an embodiment of the present invention. According to an embodiment of the present invention, the electronic device 100 may be a notebook computer, and may include at least a host body 110, a screen 120, an image capturing device 130, and a protractor device 140. The main body 110 can include at least the processing unit 150 and the detecting device 160. The screen 120 is pivotally connected to the main body 110 through a pivoting mechanism (not shown). The image capturing device 130 is coupled to the main body 110 for shooting or photographing The operation obtains a plurality of three-dimensional images, and further analyzes a coordinate of at least one predetermined object included in the three-dimensional image in a three-dimensional space. According to an embodiment of the invention, the image capture device 130 can include a camera (eg, a depth camera) and a control wafer. The control chip is used to control the shooting or photographing operation of the camera, as well as to analyze the three-dimensional image. The angle measuring device 140 is coupled to the main body 110 and the screen 120 for measuring the angle between the main body 110 and the screen 120.

第2圖係顯示根據本發明之一實施例所述之電子裝置上視圖。如圖所示,本發明所使用之三維座標系統為(X,Y,Z),藉由電子裝置之上視圖顯示各元件於三維空間內之座標。假設螢幕220與包含主機本體210的長度為h ,寬度為w ,並且量角裝置240位於原點,其座標為(0,0,0),而於此實施例中,取像裝置230之座標為(a ,0,h ),其中0≦aw2 is a top view of an electronic device according to an embodiment of the present invention. As shown in the figure, the three-dimensional coordinate system used in the present invention is (X, Y, Z), and the coordinates of each component in a three-dimensional space are displayed by an upper view of the electronic device. It is assumed that the length of the screen 220 and the host body 210 is h , the width is w , and the angle device 240 is located at the origin, and its coordinates are (0, 0, 0). In this embodiment, the coordinates of the image capturing device 230 are used. Is ( a , 0, h ), where 0 ≦ aw .

第3圖係顯示根據本發明之一實施例所述之電子裝置側視圖。假設螢幕220之一側邊之頂點座標為(0,i ,j ),且主機本體210與螢幕220之間所形成的夾角為θ,其中0°≦θ≦180°,因此,根據二維座標轉換法,可推得螢幕220之側邊頂點座標為(0,h .sinθ,h .cosθ)。如圖所示,由於螢幕之側邊與量角裝置可視為於三維空間內之Y-Z平面上形成一連線,因此,處理單元150可進一步根據量角裝置之座標(0,0,0)與螢幕220之側邊頂點座標(0,h .sinθ,h .cosθ)計算出此Y-Z平面上之連線之一直線方程式為:z .sinθ-y .cosθ=0 式(1)Figure 3 is a side view showing an electronic device according to an embodiment of the present invention. It is assumed that the vertex coordinates of one side of one of the screens 220 are (0, i , j ), and the angle formed between the main body 210 and the screen 220 is θ, where 0° ≦ θ ≦ 180°, therefore, according to the two-dimensional coordinates The conversion method can be used to derive the coordinates of the side vertices of the screen 220 as (0, h .sin θ, h .cos θ). As shown in the figure, since the side of the screen and the protractor device can be regarded as forming a line on the YZ plane in the three-dimensional space, the processing unit 150 can further be based on the coordinates (0, 0, 0) of the protractor device. The vertex coordinates (0, h .sin θ, h .cos θ) of the side of the screen 220 are calculated as one of the straight line equations of the line on the YZ plane: z . Sin θ- y . Cosθ=0 (1)

在得到直線方程式後,處理單元150可進一步根據直線方程式與螢幕之一尺寸定義出螢幕之顯示區域於三維空 間內之所在範圍,其中只要三維空間內之任一點之座標(x ,y ,z )滿足式(1),並且符合以下條件: After obtaining the linear equation, the processing unit 150 can further define the range of the display area of the screen in the three-dimensional space according to the linear equation and the size of one of the screens, wherein only the coordinates ( x , y , z ) of any point in the three-dimensional space Satisfy the formula (1) and meet the following conditions:

則該點所在位置係歸屬於螢幕之顯示區域所在範圍。值得注意的是,於此係假設螢幕之尺寸幾乎等於顯示區域之尺寸。然而,任何熟習此項技藝者,在不脫離本發明之精神和範圍內,當可做些許的更動與潤飾,例如,進一步根據顯示區域之尺寸更精確地定義出顯示區域於三維空間內之所在範圍,而本發明並不限於任一種實施方式。The location of the point is attributed to the display area of the screen. It is worth noting that this assumes that the size of the screen is almost equal to the size of the display area. However, any person skilled in the art can make some changes and refinements without departing from the spirit and scope of the present invention, for example, further defining the display area in three dimensions according to the size of the display area. The scope is not limited to any one embodiment.

根據本發明之一實施例,在處理單元150根據螢幕與主機本體之夾角計算出螢幕之顯示區域於三維空間內之一所在範圍後,可進一步自取像裝置(例如,取像裝置130/230)取得三維影像內所包含之至少一既定物體於一三維空間內之一座標,其中此既定物體可藉由對應之軟體或應用程式設定,使得取像裝置(例如,取像裝置130/230)之控制晶片可藉由影像分析辨識出既定物體是否存在於影像畫面中,並且進一步計算出既定物體之座標。舉例而言,使用者可預先藉由對應之軟體或應用程式設定由手指或筆執行觸控操作。因此,控制晶片可藉由影像分析辨識出攝取到的影像畫面中是否出現手指或筆的影像,並且在辨識出手指或筆的影像後,進一步計算出手指或筆之座標。According to an embodiment of the present invention, after the processing unit 150 calculates the display area of the screen in a range of one of the three-dimensional space according to the angle between the screen and the main body of the main body, the image capturing device can be further taken (for example, the image capturing device 130/230). Obtaining a coordinate of at least one predetermined object included in the three-dimensional image in a three-dimensional space, wherein the predetermined object can be set by a corresponding software or application, so that the image capturing device (for example, the image capturing device 130/230) The control chip can identify whether a given object exists in the image frame by image analysis, and further calculate the coordinates of the predetermined object. For example, the user can perform a touch operation by a finger or a pen in advance by using a corresponding software or application. Therefore, the control chip can recognize whether a finger or a pen image appears in the captured image frame by image analysis, and further calculate the coordinates of the finger or the pen after recognizing the image of the finger or the pen.

根據本發明之一實施例,由於取像裝置(例如,取像裝置130/230)所取得之既定物體座標係以取像裝置(例如,取像裝置130/230)之中心為原點的座標系統,因此,假設取像裝 置之座標為(a ,0,d ),其中0≦dh ,而由取像裝置所輸出之既定物體座標為(Cx ,Cy ,Cz ),則結合式(1)與條件(1),只要Cx ,Cy ,Cz 滿足式(2)與條件(2):(Cz +d ).sinθ-Cy .cosθ=0 式(2)According to an embodiment of the present invention, the coordinates of the predetermined object obtained by the image capturing device (for example, the image capturing device 130/230) are the coordinates of the center of the image capturing device (for example, the image capturing device 130/230). System, therefore, assuming that the coordinates of the image capture device are ( a , 0, d ), where 0≦ dh , and the coordinates of the given object output by the image capture device are ( Cx , Cy , Cz ), the combination is 1) and condition (1), as long as Cx , Cy , Cz satisfy the formula (2) and the condition (2): ( Cz + d ). Sinθ- Cy . Cosθ=0 (2)

則處理單元150可判斷既定物體碰觸到螢幕之顯示區域。Then, the processing unit 150 can determine that the predetermined object touches the display area of the screen.

根據本發明之一實施例,只要既定物體被判斷碰觸到螢幕之顯示區域時,處理單元150可進一步根據既定物體之座標變化判斷既定物體於顯示區域上之一操作行為,並且根據此操作行為控制電子裝置100之運作。如此一來,即便電子裝置100之螢幕(例如,螢幕120/220)並非觸控螢幕,也可藉由以上方式實現觸控的功能。According to an embodiment of the present invention, as long as the predetermined object is judged to touch the display area of the screen, the processing unit 150 may further determine an operation behavior of the predetermined object on the display area according to the coordinate change of the predetermined object, and according to the operation behavior Controlling the operation of the electronic device 100. In this way, even if the screen of the electronic device 100 (for example, the screen 120/220) is not a touch screen, the touch function can be implemented by the above manner.

第4圖係顯示根據本發明之一實施例所述之電子裝置之控制方法流程圖。首先,透過取像裝置取得複數三維影像,並且分析三維影像內所包含之一既定物體於一三維空間內之一座標(步驟S402)。接著,透過量角裝置測量電子裝置之一主機本體與一螢幕之夾角(步驟S404),其中螢幕可透過樞接機構樞接於電子裝置之主機本體。接著,電子裝置之處理裝置可根據夾角計算螢幕之一顯示區域於三維空間內之一所在範圍(步驟S406)。接著,處理裝置可根據顯示區域之所在範圍與既定物體之座標判斷既定物體是否碰觸到螢幕之顯示區域(步驟S408)。最後,當既定物體被判斷碰觸到螢幕之顯示區域時,處理裝置可進一步判斷物體於顯示區域內之一操作行為,並且 根據此操作行為控制電子裝置(步驟S410)。4 is a flow chart showing a control method of an electronic device according to an embodiment of the present invention. First, a plurality of three-dimensional images are acquired by the image capturing device, and one of the coordinates of one of the predetermined objects included in the three-dimensional image in a three-dimensional space is analyzed (step S402). Then, the angle between the main body of the electronic device and the screen is measured by the angle measuring device (step S404), wherein the screen is pivotally connected to the main body of the electronic device through the pivoting mechanism. Then, the processing device of the electronic device can calculate a range in which one of the display areas of the screen is within the three-dimensional space according to the included angle (step S406). Then, the processing device can determine whether the predetermined object touches the display area of the screen according to the range of the display area and the coordinates of the predetermined object (step S408). Finally, when the predetermined object is judged to touch the display area of the screen, the processing device may further determine an operation behavior of the object in the display area, and The electronic device is controlled in accordance with this operational behavior (step S410).

參考回第1圖,根據本發明之另一實施例,電子裝置100可更包括偵測裝置160,用以偵測取像裝置之拍攝範圍是否包含螢幕之顯示區域,以致使電子裝置100可進一步切換於觸控模式與手勢模式之間,增加電子裝置100之操作彈性。Referring to FIG. 1 , according to another embodiment of the present invention, the electronic device 100 may further include a detecting device 160 for detecting whether the shooting range of the image capturing device includes a display area of the screen, so that the electronic device 100 can further Switching between the touch mode and the gesture mode increases the operational flexibility of the electronic device 100.

第5A圖係顯示根據本發明之一實施例所述之取像裝置於觸控模式下之側視圖。第5B圖係顯示根據本發明之一實施例所述之取像裝置於手勢模式下之側視圖。第6A圖係顯示根據本發明之一實施例所述之電子裝置於觸控模式下之側視圖。第6B圖係顯示根據本發明之一實施例所述之電子裝置於手勢模式下之側視圖。結合第5A、5B、6A與6B圖,以下段落將針對電子裝置之觸控模式與手勢模式做更進一步地介紹。FIG. 5A is a side view showing the image capturing apparatus according to an embodiment of the present invention in a touch mode. Fig. 5B is a side view showing the image taking device in a gesture mode according to an embodiment of the present invention. FIG. 6A is a side view showing an electronic device in a touch mode according to an embodiment of the invention. Figure 6B is a side view showing the electronic device in a gesture mode according to an embodiment of the present invention. In conjunction with the 5A, 5B, 6A, and 6B diagrams, the following paragraphs will further describe the touch mode and gesture mode of the electronic device.

根據本發明之一實施例,取像裝置230可包括一觸發開關580。此外,取像裝置230可架設於主機本體210上,並且藉由一旋轉裝置570改變取像裝置230之拍攝角度,因此可改變取像裝置230之拍攝範圍。如第5A圖所示,於觸控模式下,觸發開關580與偵測裝置560電性連接,因此,當偵測裝置560可偵測到觸發開關580時,可傳送第一指示信號至處理單元(圖未示)。如此一來,處理單元可判斷出取像裝置230目前如第6A圖所示立於主機本體210之上。此時,由於取像裝置230之拍攝範圍可涵蓋螢幕之顯示區域,處理單元可啟動一觸控模式。於觸控模式下,處理單元可如上述自取像裝置230取得既定物體於螢幕之顯示區域內之座標變化,並且根據此座標變化分析既定物體於顯示區域內之操作行為,並根據既定物體之操作行為 控制電子裝置。According to an embodiment of the invention, the image capture device 230 can include a trigger switch 580. In addition, the image capturing device 230 can be mounted on the main body 210, and the shooting angle of the image capturing device 230 can be changed by a rotating device 570, so that the shooting range of the image capturing device 230 can be changed. As shown in FIG. 5A, in the touch mode, the trigger switch 580 is electrically connected to the detecting device 560. Therefore, when the detecting device 560 can detect the trigger switch 580, the first indicator signal can be transmitted to the processing unit. (not shown). In this way, the processing unit can determine that the image capturing device 230 is currently standing on the main body 210 as shown in FIG. 6A. At this time, since the shooting range of the image capturing device 230 can cover the display area of the screen, the processing unit can activate a touch mode. In the touch mode, the processing unit can obtain the coordinate change of the predetermined object in the display area of the screen as described above, and analyze the operation behavior of the predetermined object in the display area according to the coordinate change, and according to the predetermined object Operational behavior Control electronics.

另一方面,當取像裝置230如第5B圖所示被旋轉後,觸發開關580將無法與偵測裝置560電性連接,此時,偵測裝置560可傳送第二指示信號至處理單元,或者,於其他實施例中,偵測裝置560可不傳送任何指示信號至處理單元。當處理單元接收到第二指示信號,或者未接收到任何指示信號時,可判斷出取像裝置230目前並未如第6A圖所示立於主機本體210之上,因此推斷取像裝置230之拍攝範圍可能已無法涵蓋螢幕之顯示區域。此時,處理單元可啟動一手勢模式。於手勢模式下,處理單元可自取像裝置230取得既定物體於三維空間內之座標變化,並且根據此座標變化分析既定物體於三維空間內之動作,並且根據此動作控制電子裝置100。On the other hand, when the image capturing device 230 is rotated as shown in FIG. 5B, the trigger switch 580 cannot be electrically connected to the detecting device 560. At this time, the detecting device 560 can transmit the second indication signal to the processing unit. Alternatively, in other embodiments, the detecting device 560 may not transmit any indication signal to the processing unit. When the processing unit receives the second indication signal, or does not receive any indication signal, it can be determined that the image capturing device 230 does not currently stand on the host body 210 as shown in FIG. 6A, and thus the image capturing device 230 is inferred. The shooting range may no longer cover the display area of the screen. At this point, the processing unit can initiate a gesture mode. In the gesture mode, the processing unit can obtain the coordinate change of the predetermined object in the three-dimensional space from the image capturing device 230, and analyze the action of the predetermined object in the three-dimensional space according to the coordinate change, and control the electronic device 100 according to the action.

舉例而言,使用者可預先藉由對應之軟體或應用程式設定由雙手執行手勢操作,並且可設定各手勢所對應的操作指令。因此,取像裝置之控制晶片可藉由影像分析辨識出攝取到的影像畫面中是否出現手的影像,並且在辨識出手的影像後,進一步計算出手的座標,並且持續追蹤手的座標變化。取像裝置可將手的座標變化輸出至處理單元,因此處理單元可根據此變化辨識出使用者所輸入的手勢為何,並且在辨識出手勢後,根據該手勢所對應之操作指令控制電子裝置100。For example, the user can perform a gesture operation by two hands in advance by a corresponding software or application setting, and can set an operation instruction corresponding to each gesture. Therefore, the control chip of the image capturing device can recognize whether the image of the hand appears in the captured image by image analysis, and further recognize the coordinates of the hand after recognizing the image of the hand, and continuously track the coordinate change of the hand. The image capturing device can output the coordinate change of the hand to the processing unit. Therefore, the processing unit can recognize the gesture input by the user according to the change, and after the gesture is recognized, control the electronic device 100 according to the operation instruction corresponding to the gesture. .

藉由偵測裝置160/560之偵測以及處理單元之控制,電子裝置100可有彈性地切換於觸控模式與手勢模式之間,使得電子裝置100可兼具觸碰控制及手勢控制的功能。The electronic device 100 can be flexibly switched between the touch mode and the gesture mode by the detection of the detecting device 160/560 and the control unit, so that the electronic device 100 can have the functions of touch control and gesture control. .

本發明之上述實施例能夠以多種方式執行,例如 使用硬體、軟體或其結合來執行。熟悉此項技藝者應了解執行上述功能之任何組件或組件之集合可被視為一個或多個控制上述功能之處理器。此一個或多個處理器可以多種方式執行,例如藉由指定硬體,或使用微碼或軟體來編程之通用硬體來執行上述功能。The above embodiments of the present invention can be performed in a variety of ways, such as It is performed using hardware, software, or a combination thereof. Those skilled in the art will appreciate that any component or combination of components that perform the functions described above can be considered as one or more processors that control the functions described above. The one or more processors can be executed in a variety of manners, such as by specifying hardware, or general purpose hardware programmed using microcode or software.

本發明雖以較佳實施例揭露如上,然其並非用以限定本發明的範圍,任何熟習此項技藝者,在不脫離本發明之精神和範圍內,當可做些許的更動與潤飾,因此本發明之保護範圍當視後附之申請專利範圍所界定者為準。The present invention has been described above with reference to the preferred embodiments thereof, and is not intended to limit the scope of the present invention, and the invention may be modified and modified without departing from the spirit and scope of the invention. The scope of the invention is defined by the scope of the appended claims.

100‧‧‧電子裝置100‧‧‧Electronic devices

110‧‧‧主機本體110‧‧‧Host body

120‧‧‧螢幕120‧‧‧ screen

130‧‧‧取像裝置130‧‧‧Image capture device

140‧‧‧量角裝置140‧‧‧degree angle device

150‧‧‧處理單元150‧‧‧Processing unit

160‧‧‧偵測裝置160‧‧‧Detection device

Claims (8)

一種電子裝置,包括:一主機本體,包括一處理單元;一螢幕,樞接於該主機本體;一取像裝置,耦接至該主機本體,用以取得複數三維影像,並且進一步分析該等三維影像內所包含之至少一既定物體於一三維空間內之一座標;以及一量角裝置,耦接至該主機本體與該螢幕,用以測量該主機本體與該螢幕之一夾角;其中該處理單元根據該夾角計算該螢幕之一顯示區域於該三維空間內之一所在範圍,並且根據該顯示區域之該所在範圍與該既定物體之該座標判斷該既定物體是否碰觸到該螢幕之該顯示區域,以及當該既定物體被判斷碰觸到該螢幕之該顯示區域時,進一步判斷該既定物體於該顯示區域內之一操作行為,並且其中該電子裝置更包括:一偵測裝置,耦接至該主機本體,用以偵測該取像裝置之一拍攝範圍是否包含該顯示區域,其中當該拍攝範圍包含該顯示區域時,該處理單元啟動一觸控模式,於該觸控模式下,該處理單元判斷該既定物體是否碰觸到該顯示區域,以及當該既定物體被判斷碰觸到該顯示區域時,進一步判斷該既定物體於該顯示區域上之該操作行為。 An electronic device includes: a main body, including a processing unit; a screen pivotally connected to the main body; an image capturing device coupled to the main body for acquiring a plurality of three-dimensional images, and further analyzing the three-dimensional images The at least one predetermined object included in the image is in a coordinate of a three-dimensional space; and a measuring device coupled to the main body and the screen for measuring an angle between the main body and the screen; wherein the processing The unit calculates a range of one of the display areas of the screen in the three-dimensional space according to the angle, and determines, according to the range of the display area and the coordinate of the predetermined object, whether the predetermined object touches the display of the screen An area, and when the predetermined object is determined to touch the display area of the screen, further determining an operational behavior of the predetermined object in the display area, and wherein the electronic device further comprises: a detecting device coupled And the host body is configured to detect whether a shooting range of the image capturing device includes the display area, wherein the shooting range When the display area is included, the processing unit activates a touch mode. In the touch mode, the processing unit determines whether the predetermined object touches the display area, and when the predetermined object is determined to touch the display area At the time, the operational behavior of the predetermined object on the display area is further determined. 如申請專利範圍第1項所述之電子裝置,其中該處理單元根據該量角裝置於該三維空間內之一座標與該夾角計算出該螢幕之一側邊與該量角裝置於該三維空間內所形成之一連 線之一直線方程式,並且根據該直線方程式與該螢幕之一尺寸計算出該螢幕之該顯示區域於該三維空間內之該所在範圍。 The electronic device of claim 1, wherein the processing unit calculates one side of the screen and the measuring angle device in the three-dimensional space according to a coordinate of the measuring angle device in the three-dimensional space and the angle One of the formations One of the line equations, and the range of the display area of the screen in the three-dimensional space is calculated according to the line equation and the size of one of the screens. 如申請專利範圍第1項所述之電子裝置,其中該處理單元進一步根據該取像裝置於該三維空間內之一座標、該顯示區域之該所在範圍與該既定物體之該座標判斷該既定物體是否碰觸到該螢幕之該顯示區域。 The electronic device of claim 1, wherein the processing unit further determines the predetermined object according to the coordinate of the image capturing device in the three-dimensional space, the range of the display area, and the coordinate of the predetermined object. Whether to touch the display area of the screen. 如申請專利範圍第1項所述之電子裝置,其中當該拍攝範圍不包含該顯示區域時,該處理單元啟動一手勢模式,於該手勢模式下,該處理單元進一步根據該等三維影像分析該既定物體於該三維空間內之一動作。 The electronic device of claim 1, wherein the processing unit activates a gesture mode when the shooting range does not include the display area, wherein the processing unit further analyzes the three-dimensional image according to the three-dimensional image A given object moves in one of the three dimensional spaces. 一種方法,用以控制一電子裝置,包括:透過一取像裝置取得複數三維影像;分析該等三維影像內所包含之至少一既定物體於一三維空間內之一座標;透過一量角裝置測量該電子裝置之一主機本體與一螢幕之一夾角,其中該螢幕樞接於該主機本體;根據該夾角計算該螢幕之一顯示區域於該三維空間內之一所在範圍;偵測該取像裝置之一拍攝範圍是否包含該顯示區域;當該拍攝範圍包含該顯示區域時,啟動一觸控模式,並且於該觸控模式下,根據該顯示區域之該所在範圍與該既定物體之該座標判斷該既定物體是否碰觸到該螢幕之該顯示區域;以及 當該既定物體被判斷碰觸到該螢幕之該顯示區域時,判斷該既定物體於該顯示區域內之一操作行為,並且根據該操作行為控制該電子裝置。 A method for controlling an electronic device includes: acquiring a plurality of three-dimensional images through an image capturing device; analyzing a coordinate of at least one predetermined object included in the three-dimensional images in a three-dimensional space; and measuring through a protractor device One of the main body of the electronic device is at an angle to one of the screens, wherein the screen is pivotally connected to the main body; and the display area of one of the screens is calculated according to the angle; and the image capturing device is detected. Whether the shooting range includes the display area; when the shooting range includes the display area, a touch mode is activated, and in the touch mode, determining the range of the display area and the coordinate of the predetermined object Whether the predetermined object touches the display area of the screen; When the predetermined object is judged to touch the display area of the screen, an operation behavior of the predetermined object in the display area is judged, and the electronic device is controlled according to the operation behavior. 如申請專利範圍第5項所述之方法,其中根據該夾角計算該螢幕之該顯示區域於該三維空間內之該所在範圍之該步驟更包括:決定該量角裝置於該三維空間內之一座標;根據該量角裝置之該座標與該夾角計算出該螢幕之一側邊與該量角裝置於該三維空間內所形成之一連線之一直線方程式;以及根據該直線方程式與該螢幕之一尺寸計算出該螢幕之該顯示區域於該三維空間內之該所在範圍。 The method of claim 5, wherein the step of calculating the display area of the screen in the three-dimensional space according to the angle further comprises: determining one of the angle devices in the three-dimensional space a coordinate equation is calculated according to the coordinates of the angle device and the angle between the side of the screen and a line formed by the protractor device in the three-dimensional space; and according to the linear equation and the screen A size calculates the range of the display area of the screen in the three-dimensional space. 如申請專利範圍第5項所述之方法,其中根據該顯示區域之該所在範圍與該既定物體之該座標判斷該既定物體是否碰觸到該螢幕之該顯示區域之該步驟更包括:決定該取像裝置於該三維空間內之一座標;以及根據該取像裝置之該座標、該顯示區域之該所在範圍與該既定物體之該座標判斷該既定物體是否碰觸到該螢幕之該顯示區域。 The method of claim 5, wherein the step of determining whether the predetermined object touches the display area of the screen according to the range of the display area and the coordinate of the predetermined object further comprises: determining the And a coordinate of the image capturing device in the three-dimensional space; and determining, according to the coordinate of the image capturing device, the range of the display region, and the coordinate of the predetermined object, whether the predetermined object touches the display region of the screen . 如申請專利範圍第5項所述之方法,其中當該拍攝範圍不包含該顯示區域時,更包括:啟動一手勢模式;以及根據該等三維影像分析該既定物體於該三維空間內之一動作,並且根據該動作控制該電子裝置。The method of claim 5, wherein when the shooting range does not include the display area, the method further includes: starting a gesture mode; and analyzing the action of the predetermined object in the three-dimensional space according to the three-dimensional images And controlling the electronic device according to the action.
TW102129095A 2013-08-14 2013-08-14 Electronic devices and methods for controlling electronic devices TWI498806B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
TW102129095A TWI498806B (en) 2013-08-14 2013-08-14 Electronic devices and methods for controlling electronic devices
CN201310386380.2A CN104375629B (en) 2013-08-14 2013-08-30 Electronic device and control method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW102129095A TWI498806B (en) 2013-08-14 2013-08-14 Electronic devices and methods for controlling electronic devices

Publications (2)

Publication Number Publication Date
TW201506764A TW201506764A (en) 2015-02-16
TWI498806B true TWI498806B (en) 2015-09-01

Family

ID=52554609

Family Applications (1)

Application Number Title Priority Date Filing Date
TW102129095A TWI498806B (en) 2013-08-14 2013-08-14 Electronic devices and methods for controlling electronic devices

Country Status (2)

Country Link
CN (1) CN104375629B (en)
TW (1) TWI498806B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100097351A1 (en) * 2008-10-21 2010-04-22 Combustec Co., Ltd Apparatus and method for adjusting finger depth using camera and touch screen having the apparatus
TW201142466A (en) * 2010-05-19 2011-12-01 Himax Display Inc Interactive projection system and system control method thereof
US20120075191A1 (en) * 2009-03-27 2012-03-29 Lenovo (Beijing) Co., Ltd. Optical Touch System and Method for Optical Touch Location
TW201218022A (en) * 2010-10-27 2012-05-01 jian-xian Yu implementing input and control functions on electric device without using touch panel
US20130147711A1 (en) * 2010-11-22 2013-06-13 Epson Norway Research And Development As Camera-based multi-touch interaction apparatus, system and method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100097351A1 (en) * 2008-10-21 2010-04-22 Combustec Co., Ltd Apparatus and method for adjusting finger depth using camera and touch screen having the apparatus
US20120075191A1 (en) * 2009-03-27 2012-03-29 Lenovo (Beijing) Co., Ltd. Optical Touch System and Method for Optical Touch Location
TW201142466A (en) * 2010-05-19 2011-12-01 Himax Display Inc Interactive projection system and system control method thereof
TW201218022A (en) * 2010-10-27 2012-05-01 jian-xian Yu implementing input and control functions on electric device without using touch panel
US20130147711A1 (en) * 2010-11-22 2013-06-13 Epson Norway Research And Development As Camera-based multi-touch interaction apparatus, system and method

Also Published As

Publication number Publication date
CN104375629A (en) 2015-02-25
CN104375629B (en) 2017-05-17
TW201506764A (en) 2015-02-16

Similar Documents

Publication Publication Date Title
US10126824B2 (en) Generating a screenshot
TWI536226B (en) Optical touch device and imaging processing method for optical touch device
EP2402844B1 (en) Electronic devices including interactive displays and related methods and computer program products
US20110134077A1 (en) Input Device and Input Method
US20160370861A1 (en) Input device and input control method
CN105930070B (en) Wearable electronic device and gesture detection method
US9110588B2 (en) Optical touch device and method for detecting touch point
US9389780B2 (en) Touch-control system
US20160018917A1 (en) Touch system, touch apparatus, and mobile device
TWI536794B (en) Cell phone with contact free controllable function
TWI498806B (en) Electronic devices and methods for controlling electronic devices
KR20100075282A (en) Wireless apparatus and method for space touch sensing and screen apparatus using depth sensor
EP2975503A2 (en) Touch device and corresponding touch method
KR20130085094A (en) User interface device and user interface providing thereof
KR101535738B1 (en) Smart device with touchless controlling operation function and the control method of using the same
JP6643825B2 (en) Apparatus and method
TWI464651B (en) Optical touch system and touch object separating method thereof
TWI460649B (en) System and method for providing zoom function for visual objects displayed on screen
TW201419087A (en) Micro-somatic detection module and micro-somatic detection method
TWI553531B (en) Optical touch device and method for calculating coordinate of touch point
TWI522892B (en) Electronic apparatus with virtual input feature
TWM486800U (en) Variable angle double purpose body sensor capable of detecting image
TWI501164B (en) Optical stylus and optical stylus system and line change method thereof
TWI566128B (en) Virtual control device
TW201928650A (en) Apparatus and method for zooming screen