[go: up one dir, main page]

TWI545508B - Method for performing a face tracking function and an electric device having the same - Google Patents

Method for performing a face tracking function and an electric device having the same Download PDF

Info

Publication number
TWI545508B
TWI545508B TW104120279A TW104120279A TWI545508B TW I545508 B TWI545508 B TW I545508B TW 104120279 A TW104120279 A TW 104120279A TW 104120279 A TW104120279 A TW 104120279A TW I545508 B TWI545508 B TW I545508B
Authority
TW
Taiwan
Prior art keywords
electronic device
face tracking
interest
roi
face
Prior art date
Application number
TW104120279A
Other languages
Chinese (zh)
Other versions
TW201604798A (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 宏達國際電子股份有限公司
Publication of TW201604798A publication Critical patent/TW201604798A/en
Application granted granted Critical
Publication of TWI545508B publication Critical patent/TWI545508B/en

Links

Landscapes

  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Studio Devices (AREA)
  • Telephone Function (AREA)

Description

用於執行臉部追蹤功能的方法及其電子裝置 Method for performing face tracking function and electronic device thereof

本發明是有關於一種一般用於執行一臉部追蹤功能的方法及其電子裝置,且特別是有關於一種在一視訊通話(Video Call)下用於執行一臉部追蹤功能的方法及其電子裝置。 The present invention relates to a method for performing a face tracking function and an electronic device thereof, and more particularly to a method for performing a face tracking function and an electronic device thereof under a video call (Video Call) Device.

近年來,電子裝置的前攝影鏡頭的解析度越來越高,而且視訊通話(Video Talk)的使用亦越來越普及。是以,如何提供使用者有更多樣化的視訊通話之應用,乃業界所重視的技術發展議題。 In recent years, the resolution of the front camera lens of electronic devices has become higher and higher, and the use of video Talk has become more and more popular. Therefore, how to provide users with more diverse video call applications is a technology development issue that the industry values.

根據本發明的一實施例,係提供了一種於一電子裝置中執行一臉部追蹤功能的方法。電子裝置具有一觸控面板、一攝像鏡頭和一處理器。方法包括下列步驟。由觸控面板接收一觸控信號。在一視訊通話下,由處理器基於觸控信號進入一臉部追蹤模式。由處理器在攝像鏡頭所擷取的一擷取畫面上進行臉部追蹤以取得擷取畫面中的至少一感興趣區域(Region of Interesting,ROI),每一感興趣區域(ROI)具有一臉部的一影像。由處理器藉由結合至少一感興趣區域(ROI)而產生一目標畫面(Target Frame)。由處理器傳送目標畫面到另一電子裝置,以使目標畫面作為一視訊通話畫面而顯示在另一電子裝置上。 In accordance with an embodiment of the present invention, a method of performing a face tracking function in an electronic device is provided. The electronic device has a touch panel, a camera lens and a processor. The method includes the following steps. A touch signal is received by the touch panel. Under a video call, the processor enters a face tracking mode based on the touch signal. Performing face tracking on a captured image captured by the camera lens to obtain at least one Region of Interesting (ROI) in the captured image, each region of interest (ROI) having a face An image of the ministry. A target frame is generated by the processor by combining at least one region of interest (ROI). The target picture is transmitted by the processor to another electronic device such that the target picture is displayed as a video call picture on another electronic device.

根據本發明的另一實施例,係提供了一種用於執行一臉部追蹤功能的電子裝置。電子裝置包括一觸控面板、一攝像鏡頭和一處理器。觸控面板是用於接收一觸控信號。攝像鏡頭是 用於擷取一擷取畫面。處理器是用於基於觸控信號而在一視訊通話下進入一臉部追蹤模式,並在攝像鏡頭所擷取的擷取畫面上進行臉部追蹤以取得擷取畫面中的至少一感興趣區域(ROI),每一感興趣區域(ROI)具有一臉部的一影像。處理器更用以藉由結合至少一感興趣區域(ROI)而產生一目標畫面,並用於傳送目標畫面到另一電子裝置,以使目標畫面作為一視訊通話畫面而顯示在另一電子裝置上。 According to another embodiment of the present invention, an electronic device for performing a face tracking function is provided. The electronic device includes a touch panel, a camera lens and a processor. The touch panel is for receiving a touch signal. Camera lens is Used to capture a screenshot. The processor is configured to enter a face tracking mode under a video call based on the touch signal, and perform face tracking on the captured image captured by the camera lens to obtain at least one region of interest in the captured image. (ROI), each region of interest (ROI) has an image of a face. The processor is further configured to generate a target image by combining at least one region of interest (ROI), and transmit the target image to another electronic device, so that the target image is displayed as a video call screen on another electronic device. .

根據本發明的又一實施例,係提供了一種用於儲存一程式碼的非暫時性儲存媒介。當程式碼由一電子裝置執行時,電子裝置執行一方法以執行一臉部追蹤功能。電子裝置具有一觸控面板、一攝像鏡頭和一處理器。方法包括下列步驟。由觸控面板接收一觸控信號。在一視訊通話下,由處理器基於觸控信號進入一臉部追蹤模式。由處理器在攝像鏡頭所擷取的一擷取畫面上進行臉部追蹤以取得擷取畫面中的至少一感興趣區域(ROI),每一感興趣區域(ROI)具有一臉部的一影像。由處理器藉由結合至少一感興趣區域(ROI)而產生一目標畫面。由處理器傳送目標畫面到另一電子裝置,以使目標畫面作為一視訊通話畫面而顯示在另一電子裝置上。為了對本發明之上述及其他方面有更佳的瞭解,下文特舉實施例並配合所附圖式,作詳細說明如下: In accordance with yet another embodiment of the present invention, a non-transitory storage medium for storing a code is provided. When the code is executed by an electronic device, the electronic device performs a method to perform a face tracking function. The electronic device has a touch panel, a camera lens and a processor. The method includes the following steps. A touch signal is received by the touch panel. Under a video call, the processor enters a face tracking mode based on the touch signal. Performing face tracking on a captured image captured by the camera lens to obtain at least one region of interest (ROI) in the captured image, each region of interest (ROI) having an image of a face . A target picture is generated by the processor by combining at least one region of interest (ROI). The target picture is transmitted by the processor to another electronic device such that the target picture is displayed as a video call picture on another electronic device. In order to better understand the above and other aspects of the present invention, the following detailed description of the embodiments and the accompanying drawings are as follows:

102~110‧‧‧步驟 102~110‧‧‧Steps

200‧‧‧電子裝置 200‧‧‧Electronic devices

202‧‧‧觸控面板 202‧‧‧Touch panel

204‧‧‧處理器 204‧‧‧ Processor

206‧‧‧攝像鏡頭 206‧‧‧ camera lens

208‧‧‧通訊模組 208‧‧‧Communication module

402‧‧‧浮動控制介面 402‧‧‧Floating Control Interface

404‧‧‧一般模式圖樣 404‧‧‧General pattern

406‧‧‧臉部追蹤圖樣 406‧‧‧Face tracking pattern

410‧‧‧補光圖樣 410‧‧‧ fill light pattern

502‧‧‧畫面 502‧‧‧ screen

602‧‧‧畫面 602‧‧‧ screen

702‧‧‧視訊通話(VT)應用程式 702‧‧‧Video Call (VT) App

704‧‧‧視訊通話增強(VTE)浮動控制介面 704‧‧•Video Conversation Enhancement (VTE) Floating Control Interface

706‧‧‧相機服務程式 706‧‧‧ Camera Service Program

708‧‧‧視訊通話增強(VTE)原生應用程式 708‧‧•Video Conversation Enhancement (VTE) native app

710‧‧‧相機硬體適配層(HAL) 710‧‧‧ Camera Hardware Adaptation Layer (HAL)

712‧‧‧相機感應器 712‧‧‧ Camera sensor

714‧‧‧影像訊號處理器 714‧‧‧Image signal processor

716‧‧‧臉部偵測器 716‧‧‧Face detector

718‧‧‧臉部追蹤引擎 718‧‧‧Face Tracking Engine

720‧‧‧切割拼接單元 720‧‧‧Cut splicing unit

722‧‧‧縮放器 722‧‧‧Scaler

802‧‧‧畫面緩衝器 802‧‧‧ picture buffer

804、806‧‧‧區塊 804, 806‧‧‧ blocks

ROI1~ROI4‧‧‧區域 ROI1~ROI4‧‧‧ area

FHQ‧‧‧高解析度畫面 F HQ ‧‧‧High resolution screen

FT1、FT2‧‧‧目標畫面 F T1 , F T2 ‧‧‧ target screen

第1圖繪示根據本發明的一實施例於一電子裝置中執行一臉部追蹤功能的一方法的一流程圖。 FIG. 1 is a flow chart of a method for performing a face tracking function in an electronic device according to an embodiment of the invention.

第2圖繪示電子裝置的功能方塊圖。 FIG. 2 is a functional block diagram of an electronic device.

第3圖繪示一白名單的一例子。 Figure 3 shows an example of a white list.

第4圖繪示根據本發明的一實施例的電子裝置的一浮動控制介面的一例子。 FIG. 4 is a diagram showing an example of a floating control interface of an electronic device according to an embodiment of the invention.

第5A~5E圖繪示顯示在一電子裝置A上的相應畫面。 5A-5E illustrate corresponding screens displayed on an electronic device A.

第6A~6E圖繪示顯示在一電子裝置B上的相應畫面。 6A to 6E are diagrams showing respective screens displayed on an electronic device B.

第7圖繪示具有臉部追蹤功能的電子裝置的一軟體/硬體架構的一例子。 Figure 7 illustrates an example of a software/hardware architecture of an electronic device having a face tracking function.

第8A~8C圖繪示一臉部偵測器、一臉部追蹤引擎以及一切割拼接單元的操作示意。 8A-8C illustrate the operation of a face detector, a face tracking engine, and a cutting and splicing unit.

第9圖繪示具有三個感興趣區域的一目標畫面的另一例子。 Figure 9 illustrates another example of a target picture having three regions of interest.

在下面的詳細描述中,出於解釋的目的,許多具體細節係被闡述以提供對本發明揭示實施例的徹底理解。顯而易見的,然而,一個或更多個實施例可以在沒有這些具體細節的情況下加以實施。在其他實施例中,一般的結構與裝置係為了簡化而僅作示意地圖式呈現。 In the following detailed description, numerous specific details are set forth It is apparent that one or more embodiments may be practiced without these specific details. In other embodiments, the general structures and devices are merely schematic representations for simplicity.

第1圖繪示根據本發明的一實施例於一電子裝置中執行一臉部追蹤功能的方法的流程圖。電子裝置200的功能方塊圖則如第2圖所示。電子裝置200具有一觸控面板202、一處理器204和一攝像鏡頭206。此方法包括下列步驟。首先,於步驟102,觸控面板202接收一觸控信號。其次,於步驟104,在一視訊通話下,處理器204基於觸控信號進入一臉部追蹤模式。接著,於步驟106,處理器204在攝像鏡頭206所擷取的一擷取畫面上進行臉部追蹤以取得擷取畫面中的至少一感興趣區域(ROI)。每一感興趣區域(ROI)具有一臉部的一影像。之後,於步驟108,處理器204藉由結合至少一感興趣區域(ROI)而產生一目標畫面(Target Frame)。最後,於步驟110,處理器204傳送目標畫面到另一電子裝置,以使目標畫面作為一視訊通話畫面而顯示在另一電子裝置上。 FIG. 1 is a flow chart of a method for performing a face tracking function in an electronic device according to an embodiment of the invention. The functional block diagram of the electronic device 200 is as shown in FIG. The electronic device 200 has a touch panel 202 , a processor 204 , and an imaging lens 206 . This method includes the following steps. First, in step 102, the touch panel 202 receives a touch signal. Next, in step 104, under a video call, the processor 204 enters a face tracking mode based on the touch signal. Next, in step 106, the processor 204 performs face tracking on a captured image captured by the camera lens 206 to obtain at least one region of interest (ROI) in the captured image. Each region of interest (ROI) has an image of a face. Thereafter, in step 108, the processor 204 generates a target frame by combining at least one region of interest (ROI). Finally, in step 110, the processor 204 transmits the target picture to another electronic device to cause the target picture to be displayed as a video call picture on another electronic device.

因此,即使目前由電子裝置200於視訊通話上的應用程式並不提供臉部追蹤功能,根據本實施例的電子裝置200可以執行臉部追蹤功能,並傳送目標畫面到另一電子裝置以作為一視訊通話畫面。也就是說,目標畫面可以取代其視訊通話的畫面,並且目標畫面可以藉由以相同於視訊通話之一畫面之傳送方 式,而被傳送到另一電子裝置,來實現臉部追蹤功能。 Therefore, even if the application currently on the video call by the electronic device 200 does not provide the face tracking function, the electronic device 200 according to the present embodiment can perform the face tracking function and transmit the target screen to another electronic device as a Video call screen. In other words, the target picture can replace the picture of its video call, and the target picture can be transmitted by the same picture as one of the video calls. And transmitted to another electronic device to implement the face tracking function.

當電子裝置200執行一通訊程式而執行與另一電子裝置的視訊通話時,觸控面板202可進一步地顯示一浮動控制介面。浮動控制介面具有一臉部追蹤控制項目。當臉部追蹤控制項目被選擇時,觸控面板202將接收到觸控信號,並且處理器204係基於觸控信號而在一視訊通話下對應地進入一臉部追蹤模式。 When the electronic device 200 executes a communication program to perform a video call with another electronic device, the touch panel 202 can further display a floating control interface. The floating control mask has a face tracking control project. When the face tracking control item is selected, the touch panel 202 will receive the touch signal, and the processor 204 correspondingly enters a face tracking mode under a video call based on the touch signal.

此外,觸控面板202具有觸控和/或顯示的能力。若觸控面板202不具有顯示的能力,則電子裝置200可具有一顯示器(未繪示)。畫面可以顯示在觸控面板202的螢幕上或是在顯示器的螢幕上。電子裝置200可進一步具有一通訊模組208,用於透過無線通訊或透過網際網路的方式而與其他電子裝置進行通訊。 In addition, the touch panel 202 has the ability to touch and/or display. If the touch panel 202 does not have the capability of display, the electronic device 200 may have a display (not shown). The screen can be displayed on the screen of the touch panel 202 or on the screen of the display. The electronic device 200 can further have a communication module 208 for communicating with other electronic devices through wireless communication or through the Internet.

電子裝置200可以是行動裝置,例如智慧型手機或平板電腦。電子裝置200的作業系統可例如是Android作業系統。處理器204藉由判斷用於視訊通話的通訊程式是否在前景(Foreground)被執行和攝像鏡頭206是否被開啟,從而決定電子裝置200是否在執行視訊通話。當用於視訊通話的通訊程式在前景被執行且攝像鏡頭206被開啟時,處理器204確定電子裝置200係在執行視訊通話。通訊程式可以是列在一白名單(White List)中能夠執行視訊通話的多個應用程式之其一。白名單還包含有其他候選的通訊程式。而於第3圖中係呈現了白名單的一例子。 The electronic device 200 can be a mobile device such as a smart phone or tablet. The operating system of the electronic device 200 can be, for example, an Android operating system. The processor 204 determines whether the electronic device 200 is performing a video call by determining whether the communication program for the video call is executed in the foreground (Foreground) and whether the camera lens 206 is turned on. When the communication program for the video call is executed in the foreground and the camera lens 206 is turned on, the processor 204 determines that the electronic device 200 is performing the video call. The communication program can be one of a plurality of applications that can perform a video call in a White List. The whitelist also contains other candidate communication programs. An example of a whitelist is presented in Figure 3.

若目前由電子裝置200在前景所執行的應用程式係包含在第3圖的白名單中且攝像鏡頭206已被開啟,則確定電子裝置200係在執行視訊通話,而浮動控制介面將被顯示在螢幕上。浮動控制介面是來自有別於這些通訊程式的一獨立的應用程式,且浮動控制介面並不包含在白名單中。浮動控制介面可以用來作為一使用者操作介面。 If the application currently executed by the electronic device 200 in the foreground is included in the white list of FIG. 3 and the camera lens 206 has been turned on, it is determined that the electronic device 200 is performing a video call, and the floating control interface is displayed. On the screen. The floating control interface is from a separate application that is different from these communication programs, and the floating control interface is not included in the whitelist. The floating control interface can be used as a user interface.

請參見第4圖,其繪示根據本發明的一實施例的電子裝置200的浮動控制介面的一例子。浮動控制介面402具有一 臉部追蹤(Face Tracking)圖樣406,作為上述的臉部追蹤控制項目。浮動控制介面402可以進一步例如包括一般模式(Normal Mode)圖樣404以及補光(Light Filling)圖樣410,但不限於此。根據電子裝置200的功能需求,可以在浮動控制介面402中加入其他圖樣或可移除一些圖樣。 Referring to FIG. 4, an example of a floating control interface of an electronic device 200 in accordance with an embodiment of the present invention is illustrated. Floating control interface 402 has a A Face Tracking pattern 406 is used as the above-described face tracking control item. The floating control interface 402 may further include, for example, a Normal Mode pattern 404 and a Light Filling pattern 410, but is not limited thereto. Depending on the functional requirements of the electronic device 200, other patterns may be added to the floating control interface 402 or some patterns may be removed.

當使用者按下或選擇臉部追蹤圖樣406時,電子裝置200將執行以下操作。茲以由一電子裝置A執行如在第5A~5E圖所示的操作為例作說明。電子裝置A例如正與一電子裝置B進行視訊通話,而相應的畫面係被顯示在如第6A~6E圖所示的電子裝置B上。請參見第5A圖,假設由電子裝置A的攝像鏡頭206在本地所拍攝的畫面是一畫面502,畫面502係將進一步被傳送到電子裝置B,並顯示為如第6A圖A所示的一畫面602。 When the user presses or selects the face tracking pattern 406, the electronic device 200 will perform the following operations. The operation as shown in FIGS. 5A to 5E is performed by an electronic device A as an example. The electronic device A is, for example, making a video call with an electronic device B, and the corresponding picture is displayed on the electronic device B as shown in FIGS. 6A to 6E. Referring to FIG. 5A, it is assumed that the picture taken locally by the imaging lens 206 of the electronic device A is a picture 502, and the picture 502 is further transmitted to the electronic device B and displayed as one shown in FIG. 6AA. Screen 602.

若目前在電子裝置A的前景所執行的應用程式係包含在第3圖的白名單中且攝像鏡頭206已被開啟,則浮動控制介面402將以疊加方式顯示在電子裝置A的畫面上,如第5A圖所示。當電子裝置A的使用者選擇浮動控制介面402的臉部追蹤圖樣406時,處理器204將進入臉部追蹤模式,而電子裝置A將啟動臉部追蹤功能,如第5B圖所示。電子裝置A將在所擷取的擷取畫面上進行臉部追蹤,以取得至少一感興趣區域(ROI)。 If the application currently executed in the foreground of the electronic device A is included in the white list of FIG. 3 and the camera lens 206 has been turned on, the floating control interface 402 will be displayed on the screen of the electronic device A in a superimposed manner, such as Figure 5A shows. When the user of the electronic device A selects the face tracking pattern 406 of the floating control interface 402, the processor 204 will enter the face tracking mode, and the electronic device A will activate the face tracking function, as shown in FIG. 5B. The electronic device A will perform face tracking on the captured screen to obtain at least one region of interest (ROI).

若一個ROI被取得,則此ROI將被放大,並且目標畫面(Target Frame)便根據所放大的ROI而產生。也就是說,若電子裝置A的使用者選擇了區域ROI1,則電子裝置A將會僅將區域ROI1放大以形成一目標畫面,並進一步傳送目標畫面到電子裝置B,如第6B圖所示。這種方法的優點是,區域ROI1所對應的人臉不管移動到何處,電子裝置A仍可進行偵測與追蹤,讓電子裝置B得以持續地看到區域ROI1所對應的人臉,而不會受到區域ROI1所對應的人臉之移動情形的影響。 If an ROI is obtained, the ROI will be amplified and the target frame will be generated based on the amplified ROI. That is, if the user of the electronic device A selects the area ROI1, the electronic device A will only enlarge the area ROI1 to form a target picture, and further transfer the target picture to the electronic device B, as shown in FIG. 6B. The advantage of this method is that the electronic device A can still detect and track the face corresponding to the area ROI1, so that the electronic device B can continuously see the face corresponding to the area ROI1 without It will be affected by the movement of the face corresponding to the area ROI1.

若所取得的ROI多於一個,則這些ROI都被放大,並且目標畫面係藉由結合所放大的這些ROI而產生。例如,若電 子裝置A的使用者選擇了區域ROI1與ROI2,則電子裝置A將會把兩個區域ROI1與ROI2均放大以形成一目標畫面,並進一步將此目標畫面傳送到電子裝置B,如第6C圖所示。每一區域ROI1與ROI2可以各佔了目標畫面二分之一的區域。如此,電子裝置A可以僅將使用者感興趣的區域ROI1與ROI2傳送到電子裝置B,讓電子裝置B的使用者可以看到放大之清晰的區域ROI1與ROI2。 If more than one ROI is obtained, these ROIs are amplified, and the target picture is generated by combining the enlarged ROIs. For example, if electricity When the user of the sub-device A selects the areas ROI1 and ROI2, the electronic device A will enlarge both the areas ROI1 and ROI2 to form a target picture, and further transmit the target picture to the electronic device B, as shown in FIG. 6C. Shown. Each region ROI1 and ROI2 can each occupy one-half of the target picture. In this way, the electronic device A can transmit only the regions ROI1 and ROI2 of interest to the user to the electronic device B, so that the user of the electronic device B can see the enlarged regions ROI1 and ROI2.

若電子裝置A的使用者選擇了區域ROI1、ROI2與ROI3,則電子裝置A將會把區域ROI1、ROI2與ROI3均放大以形成一目標畫面,並進一步將此目標畫面傳送到電子裝置B,如第6D圖所示。每一區域ROI1、ROI2與ROI3可以例如各佔了目標畫面三分之一的區域。若電子裝置A的使用者選擇了區域ROI1、ROI2、ROI3與ROI4,則電子裝置A將會把區域ROI1、ROI2、ROI3與ROI4均放大以形成一目標畫面,並進一步將此目標畫面傳送到電子裝置B,如第6E圖所示。每一區域ROI1、ROI2、ROI3與ROI4可以例如各佔了目標畫面四分之一的區域。 If the user of the electronic device A selects the regions ROI1, ROI2 and ROI3, the electronic device A will enlarge the regions ROI1, ROI2 and ROI3 to form a target image, and further transmit the target image to the electronic device B, such as Figure 6D shows. Each of the regions ROI1, ROI2, and ROI3 may, for example, occupy an area that is one-third of the target picture. If the user of the electronic device A selects the regions ROI1, ROI2, ROI3 and ROI4, the electronic device A will enlarge the regions ROI1, ROI2, ROI3 and ROI4 to form a target image, and further transmit the target image to the electronic device. Device B, as shown in Figure 6E. Each of the regions ROI1, ROI2, ROI3, and ROI4 may, for example, occupy an area of one quarter of the target picture.

請參見第7圖,其繪示具有臉部追蹤功能的電子裝置200的一軟體/硬體架構的一例子。當通訊程式啟動視訊通話功能之後,浮動控制介面402將會被自動執行並顯示在電子裝置200的螢幕上。通訊程式可例如是一視訊通話(Video Talk,VT)應用程式702,而浮動控制介面402可例如是一視訊通話增強(Video Talk Enhancement,VTE)浮動控制介面704。VT應用程式702係包含在第3圖的白名單中,例如是Skype或Line。視訊通話功能是否由通訊程式開啟,係藉由判斷是否VT應用程式702在前景被執行和攝像鏡頭206已被開啟(這代表使用者正在使用視訊通話的功能)來加以確定。當VT應用程式702在前景被執行且攝像鏡頭206已被開啟(代表使用者正在使用視訊通話的功能)之後,視訊通話增強(VTE)浮動控制介面704(例如是第4圖所示的浮動控制介面402),將會被自動執行並顯示在電子裝置200的螢幕上。 Referring to FIG. 7, an example of a software/hardware architecture of an electronic device 200 having a face tracking function is illustrated. After the communication program initiates the video call function, the floating control interface 402 will be automatically executed and displayed on the screen of the electronic device 200. The communication program can be, for example, a Video Talk (VT) application 702, and the floating control interface 402 can be, for example, a Video Talk Enhancement (VTE) floating control interface 704. The VT application 702 is included in the white list of Figure 3, such as Skype or Line. Whether the video call function is enabled by the communication program is determined by judging whether the VT application 702 is executed in the foreground and the camera lens 206 has been turned on (this means that the user is using the video call function). After the VT application 702 is executed in the foreground and the camera lens 206 has been turned on (representing the user's function of using the video call), the video call enhancement (VTE) floating control interface 704 (eg, the floating control shown in FIG. 4) The interface 402) will be automatically executed and displayed on the screen of the electronic device 200.

在一般模式下的視訊通話期間,VT應用程式702將會接著呼叫一相機服務程式(Camera Service)706以啟動一攝像功能,而VTE浮動控制介面704則會呼叫一VTE原生應用程式(Native Application)708。當電子裝置A的使用者選擇浮動控制介面402的臉部追蹤圖樣406時,電子裝置A將會啟動臉部追蹤功能。同時,VTE浮動控制介面704將會立即呼叫VTE原生應用程式708。然後,VTE原生應用程式708通知相機服務程式706電子裝置A將進入臉部追蹤模式。VTE原生應用程式708將會控制相機服務程式706,以取得呈現僅具有一個或一個以上之ROI的一目標畫面來執行臉部追蹤功能,並將目標畫面顯示在電子裝置200的螢幕上且進一步傳送到電子裝置B。 During a video call in the normal mode, the VT application 702 will then call a Camera Service 706 to initiate a camera function, and the VTE Floating Control Interface 704 will call a VTE Native Application. 708. When the user of the electronic device A selects the face tracking pattern 406 of the floating control interface 402, the electronic device A will activate the face tracking function. At the same time, the VTE Floating Control Interface 704 will immediately call the VTE Native Application 708. The VTE native application 708 then notifies the camera service program 706 that the electronic device A will enter the face tracking mode. The VTE native application 708 will control the camera service program 706 to obtain a target screen that presents only one or more ROIs to perform a face tracking function, and display the target screen on the screen of the electronic device 200 and further transmit Go to electronic device B.

茲將上述之目標畫面的產生方法之一例敘述如下。首先,由一相機感應器(Camera Sensor)712取得一影像,此影像經由一影像訊號處理器(Image Signal Processor,ISP)714處理之後,得到一高解析度畫面(High resolution frame)FHQ。此高解析度畫面FHQ的解析度例如是相機感應器712所能產生的最高解析度,或者是大於目標畫面之解析度的解析度。其中,目標畫面的解析度取決於VT應用程式702所選擇或所使用的解析度。 An example of the method of generating the target screen described above will be described below. First, an image is obtained by a camera sensor 712. The image is processed by an Image Signal Processor (ISP) 714 to obtain a high resolution frame F HQ . The resolution of the high-resolution screen F HQ is , for example, the highest resolution that can be generated by the camera sensor 712 or the resolution greater than the resolution of the target screen. The resolution of the target screen depends on the resolution selected or used by the VT application 702.

接著,當使用者選擇臉部追蹤功能時,高解析度畫面FHQ係被傳送到一臉部偵測器716。臉部偵測器716偵測至少一高解析度畫面FHQ的臉部影像的位置。然後,臉部偵測器716輸出至少一臉部影像的位置資訊到一臉部追蹤引擎718。臉部追蹤引擎718根據臉部影像的位置資訊而在一畫面緩衝器中選擇位置,其中畫面緩衝器是用於儲存所要顯示的畫面。來自臉部偵測器716的至少一臉部影像的位置資訊、由臉部追蹤引擎718所決定的在畫面緩衝器中的位置,以及高解析度畫面FHQ係被輸入到一切割拼接單元720。切割拼接單元720係進一步將使用者所選擇的至少一感興趣區域作切割和拼接,從而對應地形成一目標畫面FT1。臉部偵測器716、臉部追蹤引擎718和切割拼接單元720 可藉由例如一圖形處理器(GPU)、一中央處理器(CPU)或其他處理器來實現。 Then, when the user selects the face tracking function, the high-resolution screen F HQ is transmitted to a face detector 716. The face detector 716 detects the position of the face image of at least one high resolution picture F HQ . Then, the face detector 716 outputs location information of at least one facial image to a face tracking engine 718. The face tracking engine 718 selects a position in a picture buffer based on the position information of the face image, wherein the picture buffer is used to store the picture to be displayed. The position information of at least one face image from the face detector 716, the position in the picture buffer determined by the face tracking engine 718, and the high-resolution picture F HQ are input to a cut splicing unit 720. . The cutting and splicing unit 720 further cuts and splices at least one region of interest selected by the user, thereby correspondingly forming a target image F T1 . Face detector 716, face tracking engine 718, and splicing splicing unit 720 can be implemented by, for example, a graphics processing unit (GPU), a central processing unit (CPU), or other processor.

然後,目標畫面FT1係透過一相機硬體適配層(Hardware Adaptation Layer,HAL)710傳送到相機服務程式706,並進一步藉由使用VTE應用程式702而顯示在電子裝置200的螢幕上。然後,目標畫面FT1係被電子裝置A傳送到視訊通話之另一端的電子裝置B。 Then, the target screen F T1 is transmitted to the camera service program 706 through a camera hardware adaptation layer (HAL) 710, and further displayed on the screen of the electronic device 200 by using the VTE application 702. Then, the target screen F T1 is transmitted by the electronic device A to the electronic device B at the other end of the video call.

若使用者沒有選擇臉部追蹤功能,而僅選擇一般模式時,則高解析度畫面FHQ係被傳送到一縮放器(Scaler)722,以將高解析度畫面FHQ的解析度降低而產生較低解析度之一目標畫面FT2,並進一步傳送目標畫面FT2到相機硬體適配層710。然後,目標畫面FT2係被電子裝置A傳送到視訊通話之另一端的電子裝置B。 If the user does not select the face tracking function and only selects the normal mode, the high-resolution screen F HQ is transmitted to a scaler 722 to reduce the resolution of the high-resolution screen F HQ . One of the lower resolutions of the target picture F T2 , and further transmits the target picture F T2 to the camera hardware adaptation layer 710. Then, the target screen F T2 is transmitted by the electronic device A to the electronic device B at the other end of the video call.

上述之VT應用程式702與VTE浮動控制介面704例如是由Java語言寫成的Java應用程式。而相機服務程式706、VTE原生應用程式708和相機硬體適配層710則例如是原生應用程式(Native Application)。VTE原生應用程式708可以應用Android的進程間通訊(Inter-Process Communication,IPC)機制的聯結機制(Binder mechanism)。上述架構可在Android作業系統或其他作業系統來實現。 The VT application 702 and the VTE floating control interface 704 described above are, for example, Java applications written in the Java language. The camera service program 706, the VTE native application 708, and the camera hardware adaptation layer 710 are, for example, native applications. The VTE native application 708 can apply the Binder mechanism of Android's Inter-Process Communication (IPC) mechanism. The above architecture can be implemented in an Android operating system or other operating system.

臉部偵測器716、臉部追蹤引擎718和切割拼接單元720的操作將以第8A至8C圖所示的例子進行更詳細的說明。在高解析度畫面FHQ被傳送到臉部偵測器716之後,臉部偵測器716對高解析度畫面FHQ中的至少一臉部影像的位置作偵測。如第8A圖所示,這些臉部影像的位置係被偵測並標示為多個感興趣區域ROI1、ROI2、ROI3和ROI4。假設使用者選擇了兩感興趣區域,例如ROI1和ROI2被選擇;接著,臉部偵測器716將這些臉部影像的位置資訊,例如高解析度畫面FHQ中的ROI1和ROI2的座標(例如矩形的ROI1和ROI2在對角線的兩個角的座標),輸 出到臉部追蹤引擎718。 The operations of the face detector 716, the face tracking engine 718, and the cut splicing unit 720 will be described in more detail with the examples shown in Figs. 8A to 8C. After the high resolution picture F HQ is transmitted to the face detector 716, the face detector 716 detects the position of at least one of the face images in the high resolution picture F HQ . As shown in FIG. 8A, the positions of these facial images are detected and labeled as a plurality of regions of interest ROI1, ROI2, ROI3, and ROI4. Suppose the user selects two regions of interest, for example, ROI1 and ROI2 are selected; then, the face detector 716 records the location information of the facial images, such as the coordinates of ROI1 and ROI2 in the high-resolution picture F HQ (for example) The coordinates of the rectangular ROI1 and ROI2 at the two corners of the diagonal are output to the face tracking engine 718.

如第8B圖所示,臉部追蹤引擎718放大ROI1和ROI2中的至少一區域,或縮放ROI1和ROI2中的至少一區域,以使ROI1和ROI2的大小適合於將二者結合。臉部追蹤引擎718還為ROI1和ROI2在一畫面緩衝器802中選擇位置,其中畫面緩衝器802係用於儲存在電子裝置200的螢幕上所要顯示的畫面。臉部追蹤引擎718係根據ROI1和ROI2的座標以及ROI1和ROI2作縮放或放大之尺寸而在畫面緩衝器802中選擇位置。假設臉部追蹤引擎718係針對ROI1和ROI2選擇畫面緩衝器802中的區塊804和806。然後,臉部追蹤引擎718例如輸出畫面緩衝器802中這些區塊804和806的位址到切割拼接單元720。高解析度畫面FHQ以及高解析度畫面FHQ中的ROI1和ROI2的座標也被輸入到切割拼接單元720。根據高解析度畫面FHQ中的ROI1和ROI2的座標,切割拼接單元720從高解析度畫面FHQ中切割出ROI1和ROI2,並分別將ROI1和ROI2儲存在畫面緩衝器802的區塊804和806中,再將結合在一起的ROI1和ROI2的影像形成目標畫面FT1作輸出,而如第8C圖所示的顯示在電子裝置200的螢幕上。其中目標畫面FT1(即ROI1和ROI2的組合的影像)的解析度係低於高解析度畫面FHQ的解析度。 As shown in FIG. 8B, the face tracking engine 718 amplifies at least one of ROI1 and ROI2, or scales at least one of ROI1 and ROI2 such that the sizes of ROI1 and ROI2 are suitable for combining the two. The face tracking engine 718 also selects a location in the picture buffer 802 for ROI1 and ROI2 for storing the picture to be displayed on the screen of the electronic device 200. The face tracking engine 718 selects a position in the picture buffer 802 based on the coordinates of ROI1 and ROI2 and the size of the zoom or enlargement of ROI1 and ROI2. It is assumed that the face tracking engine 718 selects blocks 804 and 806 in the picture buffer 802 for ROI1 and ROI2. The face tracking engine 718 then outputs, for example, the addresses of the blocks 804 and 806 in the picture buffer 802 to the tiling unit 720. High resolution pictures and high resolution pictures F HQ F HQ of ROI1 and ROI2 is also input to the coordinates of the cut splice unit 720. Based on the coordinates of ROI1 and ROI2 in the high-resolution picture F HQ , the splicing splicing unit 720 cuts ROI1 and ROI2 from the high-resolution picture F HQ and stores the ROI1 and ROI2 in the block 804 of the picture buffer 802 and In 806, the image of the combined ROI1 and ROI2 is formed as a target image F T1 for output, and displayed on the screen of the electronic device 200 as shown in FIG. 8C. Wherein the target screen F T1 (i.e. ROI1 and ROI2 combined image) is lower than the high-resolution screen resolution lines F HQ resolution.

請參見第9圖,其繪示具有三個感興趣區域的一目標畫面的另一例子。當使用者選擇三個感興趣區域ROI1~ROI3時,目標畫面FT1中之三個感興趣區域ROI1~ROI3除了可以如同第6D圖所顯示的方式排列之外,亦可如同第9圖所顯示的方式作排列。在第9圖中,係將較為重要的感興趣區域ROI1以較大面積的方式顯示。其他不同數目的感興趣區域亦可依照區域的重要性或是距離攝像鏡頭的遠近等參數,來決定其顯示面積的大小。 Please refer to FIG. 9, which illustrates another example of a target picture having three regions of interest. When the user selects three regions of interest ROI1~ROI3, the three regions of interest ROI1~ROI3 in the target screen F T1 can be arranged as shown in FIG. 9 in addition to the manner shown in FIG. 6D. The way to arrange. In Fig. 9, the more important region of interest ROI1 is displayed in a larger area. Other different numbers of regions of interest may also determine the size of the display area according to the importance of the region or the distance from the camera lens.

此外,電子裝置200還可提供一補光(Light Filling)功能。根據臉部的位置或在環境中的亮度,一前置閃光燈可被控 制以執行補光功能而來改變擷取畫面的色溫,或是改變在進行擷取時的光強度。例如,前置閃光燈的光的顏色可被調變以改變擷取畫面的色溫,或是前置閃光燈的光強度可被調變以改變在進行擷取時的光強度。 In addition, the electronic device 200 can also provide a Light Filling function. A front flash can be controlled depending on the position of the face or the brightness in the environment The color temperature of the captured picture is changed by performing the fill light function, or the light intensity at the time of capturing is changed. For example, the color of the light of the front flash can be modulated to change the color temperature of the captured picture, or the light intensity of the front flash can be modulated to change the light intensity at the time of the capture.

再者,電子裝置200可以提供一泛焦(Pan Focus)功能,或是攝像鏡頭206可以聚焦在相距電子裝置200從0.5公尺到2.5公尺的距離的目標物上。因此,目標物(例如臉部)的影像即使是在移動,在0.5公尺到2.5公尺的距離內仍是可以清楚擷取的,而這係有助於臉部追蹤功能。 Furthermore, the electronic device 200 can provide a Pan Focus function, or the camera lens 206 can focus on a target that is separated from the electronic device 200 by a distance of 0.5 meters to 2.5 meters. Therefore, the image of the target (such as the face) can be clearly captured even at a distance of 0.5 m to 2.5 m, which contributes to the face tracking function.

重要的感興趣區域除了上述的臉部影像之外,亦可為使用者所感興趣之其他物件或對象。此外,雖然以上實施例係以Android作業系統作說明,然本發明實施例並不限於此。本發明實施例亦可應用於其他作業系統。 Important areas of interest may be other objects or objects of interest to the user in addition to the facial images described above. In addition, although the above embodiment is described in the Android operating system, the embodiment of the present invention is not limited thereto. The embodiments of the present invention can also be applied to other operating systems.

此外,根據本發明的又一實施例還提供了一種非暫時性儲存媒介(non-transitory storage media),用於儲存一程式碼。當程式碼由電子裝置200執行時,電子裝置200執行上述之方法以執行上述的臉部追蹤功能。 In addition, according to still another embodiment of the present invention, a non-transitory storage media is provided for storing a code. When the code is executed by the electronic device 200, the electronic device 200 performs the above-described method to perform the face tracking function described above.

使用VTE浮動控制介面704的優點是,可以達到臉部追蹤功能和/或將重要的感興趣區域放大與拼接成一新的目標畫面的功能,而不需要修改VT應用程式702(例如Skype和Line等應用程式)的程式碼,尤其是在VT應用程式702不支持前述功能之時。也就是說,透過由原始設備製造商(Original Equipment Manufacturer,OEM)所提供的VTE浮動控制介面704、VTE原生應用程式708、臉部偵測器716、臉部追蹤引擎718以及切割拼接單元720等,可以讓白名單中的各種不同的視訊通話應用程式軟體都能夠搭配著臉部追蹤功能和/或將感興趣區域放大與拼接成一新的目標畫面的功能。由於針對視訊通話不必修改其通訊程式(VT應用程式702)(例如Skype和Line)的程式碼,即可達到上述目的,使得更多的視訊通話功能可以提供給使用者,並提升視 訊通話的品質、實現了使用上的更好體驗以及增加了產品的市場競爭力。 The advantage of using the VTE floating control interface 704 is that the face tracking function and/or the ability to enlarge and splicing important regions of interest into a new target image can be achieved without the need to modify the VT application 702 (eg, Skype and Line, etc.) The application code, especially when the VT application 702 does not support the aforementioned functions. That is, through the VTE floating control interface 704, the VTE native application 708, the face detector 716, the face tracking engine 718, and the splicing unit 720 provided by an original equipment manufacturer (OEM). It allows the various video calling application software in the whitelist to match the face tracking function and/or the function of zooming in and stitching the region of interest into a new target image. Since it is not necessary to modify the code of the communication program (VT application 702) (such as Skype and Line) for the video call, the above purpose can be achieved, so that more video call functions can be provided to the user and the view can be improved. The quality of the call, the better experience in use and the increased market competitiveness of the product.

雖然本發明已以實施例揭露如上,然其並非用以限定本發明。本發明所屬技術領域中具有通常知識者,在不脫離本發明之精神和範圍內,當可作各種的更動與潤飾。因此,本發明之保護範圍當視後附之申請專利範圍所界定者為準。 Although the present invention has been disclosed above by way of example, it is not intended to limit the invention. A person skilled in the art can make various changes and modifications without departing from the spirit and scope of the invention. Therefore, the scope of the invention is defined by the scope of the appended claims.

102~110‧‧‧流程步驟 102~110‧‧‧ Process steps

Claims (18)

一種於一電子裝置中執行一臉部追蹤功能的方法,該電子裝置具有一觸控面板、一攝像鏡頭和一處理器,該方法包括下列步驟:由該觸控面板接收一觸控信號;在一視訊通話下,由該處理器基於該觸控信號進入一臉部追蹤模式;由該處理器在該攝像鏡頭所擷取的一擷取畫面上進行臉部追蹤以取得該擷取畫面中的複數個感興趣區域(ROI),每一該些感興趣區域(ROI)具有一臉部的一影像;由該處理器藉由結合該些感興趣區域(ROI)而產生一目標畫面;以及由該處理器傳送該目標畫面到另一電子裝置,以使該目標畫面作為一視訊通話畫面而顯示在該另一電子裝置上。 A method for performing a face tracking function in an electronic device, the electronic device having a touch panel, a camera lens and a processor, the method comprising the steps of: receiving a touch signal by the touch panel; In a video call, the processor enters a face tracking mode based on the touch signal; the processor performs face tracking on a captured image captured by the camera lens to obtain the captured image. a plurality of regions of interest (ROI), each of the regions of interest (ROI) having an image of a face; the processor generating a target image by combining the regions of interest (ROI); The processor transmits the target picture to another electronic device to display the target picture as a video call picture on the other electronic device. 如申請專利範圍第1項所述之方法,更包括:當該電子裝置執行一通訊程式而執行與該另一電子裝置的該視訊通話時,由該觸控面板顯示一浮動控制介面,而該浮動控制介面具有一臉部追蹤控制項目;其中該接收步驟包括當該臉部追蹤控制項目被選擇時,由該觸控面板接收該觸控信號。 The method of claim 1, further comprising: displaying, by the touch panel, a floating control interface when the electronic device executes a communication program to perform the video call with the other electronic device; The floating control mask has a face tracking control item; wherein the receiving step comprises receiving the touch signal by the touch panel when the face tracking control item is selected. 如申請專利範圍第2項所述之方法,其中該方法更包括:藉由判斷該通訊程式是否在前景被執行和該攝像鏡頭是否被開啟,從而決定該電子裝置是否在執行該視訊通話,其中該通訊程式係列在一白名單中。 The method of claim 2, wherein the method further comprises: determining whether the electronic device is performing the video call by determining whether the communication program is executed in the foreground and whether the camera lens is turned on. The communication program series is in a white list. 如申請專利範圍第3項所述之方法,其中多個候選通訊程式係列在該白名單中。 The method of claim 3, wherein the plurality of candidate communication program series are in the white list. 如申請專利範圍第1項所述之方法,其中該產生步驟包括放大該些感興趣區域(ROI),且該目標畫面係藉由結合所放大的該些感興趣區域(ROI)而產生。 The method of claim 1, wherein the generating step comprises amplifying the regions of interest (ROI), and the target image is generated by combining the enlarged regions of interest (ROI). 如申請專利範圍第1項所述之方法,其中在該進行臉部追蹤的步驟之前,該方法更包括在該攝像鏡頭所擷取的該擷取畫面上進行臉部偵測以決定該至少一臉部在該擷取畫面中的位置。 The method of claim 1, wherein before the step of performing face tracking, the method further comprises performing face detection on the captured image captured by the camera lens to determine the at least one The position of the face in the captured picture. 一種電子裝置,用於執行一臉部追蹤功能,該電子裝置包括:一觸控面板,用於接收一觸控信號;一攝像鏡頭,用於擷取一擷取畫面;以及一處理器,用於基於該觸控信號而在一視訊通話下進入一臉部追蹤模式,並在該攝像鏡頭所擷取的該擷取畫面上進行臉部追蹤以取得該擷取畫面中的複數個感興趣區域(ROI),每一該些感興趣區域(ROI)具有一臉部的一影像;其中該處理器更用以藉由結合該些感興趣區域(ROI)而產生一目標畫面,並用於傳送該目標畫面到另一電子裝置,以使該目標畫面作為一視訊通話畫面而顯示在該另一電子裝置上。 An electronic device, configured to perform a face tracking function, the electronic device includes: a touch panel for receiving a touch signal; a camera lens for capturing a captured image; and a processor for using Entering a face tracking mode under a video call based on the touch signal, and performing face tracking on the captured image captured by the camera lens to obtain a plurality of regions of interest in the captured image (ROI), each of the regions of interest (ROI) has an image of a face; wherein the processor is further configured to generate a target image by combining the regions of interest (ROI) and used to transmit the image The target screen is displayed to another electronic device such that the target screen is displayed as a video call screen on the other electronic device. 如申請專利範圍第7項所述之電子裝置,其中該觸控面板更用以當該電子裝置執行一通訊程式以執行與該另一電子裝置的該視訊通話時,顯示一浮動控制介面,而該浮動控制介面具有一臉部追蹤控制項目;其中當該臉部追蹤控制項目被選擇時,該觸控面板接收該觸控信號。 The electronic device of claim 7, wherein the touch panel is further configured to display a floating control interface when the electronic device executes a communication program to perform the video call with the other electronic device. The floating control mask has a face tracking control item; wherein when the face tracking control item is selected, the touch panel receives the touch signal. 如申請專利範圍第8項所述之電子裝置,其中該處理器更用以藉由判斷該通訊程式是否在前景被執行和該攝像鏡頭是否 被開啟,從而決定該電子裝置是否在執行該視訊通話,其中該通訊程式係列在一白名單中。 The electronic device of claim 8, wherein the processor is further configured to determine whether the communication program is executed in the foreground and whether the camera lens is Is turned on to determine whether the electronic device is performing the video call, wherein the communication program series is in a white list. 如申請專利範圍第9項所述之電子裝置,其中多個候選通訊程式係列在該白名單中。 The electronic device of claim 9, wherein the plurality of candidate communication program series are in the white list. 如申請專利範圍第8項所述之電子裝置,其中該浮動控制介面具有一臉部追蹤圖樣,作為該臉部追蹤控制項目。 The electronic device of claim 8, wherein the floating control mask has a face tracking pattern as the face tracking control item. 如申請專利範圍第7項所述之電子裝置,其中該處理器更用以放大該些感興趣區域(ROI),且該目標畫面係藉由結合所放大的該些感興趣區域(ROI)而產生。 The electronic device of claim 7, wherein the processor is further configured to enlarge the regions of interest (ROI), and the target image is combined with the enlarged regions of interest (ROI). produce. 如申請專利範圍第7項所述之電子裝置,其中該處理器更用以在執行臉部追蹤之前,在該攝像鏡頭所擷取的擷取畫面上進行臉部偵測以決定該至少一臉部在該擷取畫面中的位置。 The electronic device of claim 7, wherein the processor is further configured to perform face detection on the captured image captured by the camera lens to determine the at least one face before performing face tracking. The position of the part in the capture screen. 一種非暫時性儲存媒介,用於儲存一程式碼,其中當程式碼由一電子裝置執行時,該電子裝置執行一方法以執行一臉部追蹤功能,該電子裝置具有一觸控面板、一攝像鏡頭和一處理器,該方法包括下列步驟:由該觸控面板接收一觸控信號;在一視訊通話下,由該處理器基於該觸控信號進入一臉部追蹤模式;由該處理器在該攝像鏡頭所擷取的一擷取畫面上進行臉部追蹤以取得該擷取畫面中的複數個感興趣區域(ROI),每一該些感興趣區域(ROI)具有一臉部的一影像;由該處理器藉由結合該些感興趣區域(ROI)而產生一目標畫面;以及 由該處理器傳送該目標畫面到另一電子裝置,以使該目標畫面作為一視訊通話畫面而顯示在該另一電子裝置上。 A non-transitory storage medium for storing a code, wherein when the code is executed by an electronic device, the electronic device performs a method for performing a face tracking function, the electronic device having a touch panel and a camera a lens and a processor, the method comprising the steps of: receiving a touch signal by the touch panel; in a video call, the processor enters a face tracking mode based on the touch signal; Face tracking is performed on a captured image captured by the camera lens to obtain a plurality of regions of interest (ROI) in the captured image, each of the regions of interest (ROI) having an image of a face Generating a target picture by the processor by combining the regions of interest (ROI); The target picture is transmitted by the processor to another electronic device such that the target picture is displayed as a video call picture on the other electronic device. 如申請專利範圍第14項所述之非暫時性儲存媒介,其中該方法更包括:當該電子裝置執行一通訊程式而執行與該另一電子裝置的該視訊通話時,由該觸控面板顯示一浮動控制介面,而該浮動控制介面具有一臉部追蹤控制項目;其中於該接收步驟包括當該臉部追蹤控制項目被選擇時,由該觸控面板接收該觸控信號。 The non-transitory storage medium of claim 14, wherein the method further comprises: when the electronic device executes a communication program to perform the video call with the other electronic device, the touch panel displays a floating control interface, wherein the floating control mask has a face tracking control item; wherein the receiving step comprises receiving the touch signal by the touch panel when the face tracking control item is selected. 如申請專利範圍第15項所述之非暫時性儲存媒介,其中該方法更包括:藉由判斷該通訊程式是否在前景被執行和該攝像鏡頭是否被開啟,從而決定該電子裝置是否在執行該視訊通話,其中該通訊程式係列在一白名單中。 The non-transitory storage medium of claim 15, wherein the method further comprises: determining whether the electronic device is executing by determining whether the communication program is executed in the foreground and whether the camera lens is turned on. Video call, where the communication program series is in a white list. 如申請專利範圍第14項所述之非暫時性儲存媒介,其中該產生步驟包括放大該些感興趣區域(ROI),且該目標畫面係藉由結合所放大的該些感興趣區域(ROI)而產生。 The non-transitory storage medium of claim 14, wherein the generating step comprises amplifying the regions of interest (ROI), and the target image is enlarged by combining the regions of interest (ROI) And produced. 如申請專利範圍第14項所述之非暫時性儲存媒介,其中在該進行臉部追蹤的步驟之前,該方法更包括在該攝像鏡頭所擷取的該擷取畫面上進行臉部偵測以決定該至少一臉部在該擷取畫面中的位置。 The non-transitory storage medium of claim 14, wherein before the step of performing face tracking, the method further comprises performing face detection on the captured image captured by the camera lens. Determining the position of the at least one face in the captured picture.
TW104120279A 2014-07-18 2015-06-24 Method for performing a face tracking function and an electric device having the same TWI545508B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
US201462026033P 2014-07-18 2014-07-18

Publications (2)

Publication Number Publication Date
TW201604798A TW201604798A (en) 2016-02-01
TWI545508B true TWI545508B (en) 2016-08-11

Family

ID=55247811

Family Applications (1)

Application Number Title Priority Date Filing Date
TW104120279A TWI545508B (en) 2014-07-18 2015-06-24 Method for performing a face tracking function and an electric device having the same

Country Status (2)

Country Link
CN (1) CN105320270B (en)
TW (1) TWI545508B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106303353A (en) * 2016-08-17 2017-01-04 深圳市金立通信设备有限公司 A kind of video session control method and terminal
CN107071292A (en) * 2017-03-10 2017-08-18 深圳市金立通信设备有限公司 A kind of light compensation method and terminal
SG11201910049VA (en) * 2017-06-09 2019-11-28 Sony Semiconductor Solutions Corp Picture transmission device and picture reception device
CN111953866B (en) * 2019-05-15 2021-11-26 华硕电脑股份有限公司 Electronic device
CN112825116B (en) * 2019-11-20 2024-04-09 北京眼神智能科技有限公司 Method, device, medium and equipment for detecting and tracking human face of monitoring video image
CN111093028A (en) * 2019-12-31 2020-05-01 联想(北京)有限公司 Information processing method and electronic equipment
TWI802073B (en) * 2020-11-19 2023-05-11 仁寶電腦工業股份有限公司 Electronic device and its operation method

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100628756B1 (en) * 2004-09-07 2006-09-29 엘지전자 주식회사 Apparatus and method for providing an effect screen during a video call with a mobile terminal
NO332170B1 (en) * 2009-10-14 2012-07-16 Cisco Systems Int Sarl Camera control device and method
WO2014014238A1 (en) * 2012-07-17 2014-01-23 Samsung Electronics Co., Ltd. System and method for providing image
CN103310411B (en) * 2012-09-25 2017-04-12 中兴通讯股份有限公司 Image local reinforcement method and device
KR101800617B1 (en) * 2013-01-02 2017-12-20 삼성전자주식회사 Display apparatus and Method for video calling thereof

Also Published As

Publication number Publication date
CN105320270B (en) 2018-12-28
CN105320270A (en) 2016-02-10
TW201604798A (en) 2016-02-01

Similar Documents

Publication Publication Date Title
TWI545508B (en) Method for performing a face tracking function and an electric device having the same
US9858470B2 (en) Method for performing a face tracking function and an electric device having the same
KR101772177B1 (en) Method and apparatus for obtaining photograph
EP3672262A1 (en) Operation method, device, apparatus and storage medium of playing video
US9767612B2 (en) Method, system and apparatus for removing a marker projected in a scene
US11146739B2 (en) Method for image shooting, terminal device, and storage medium
KR102330090B1 (en) Method and device for compositing images
US8947453B2 (en) Methods and systems for mobile document acquisition and enhancement
US10863077B2 (en) Image photographing method, apparatus, and terminal
US20150179147A1 (en) Trimming content for projection onto a target
CN106605195B (en) Communication device and control method of communication device
CN107659769B (en) A kind of image pickup method, first terminal and second terminal
CN107622504B (en) Method and device for processing pictures
WO2016192325A1 (en) Method and device for processing logo on video file
CN105049695A (en) Video recording method and device
US10341557B2 (en) Image processing apparatuses and methods
KR102082365B1 (en) Method for image processing and an electronic device thereof
EP3822757A1 (en) Method and apparatus for setting background of ui control
US20180220066A1 (en) Electronic apparatus, operating method of electronic apparatus, and non-transitory computer-readable recording medium
CN110874809A (en) Image processing method and device, electronic equipment and storage medium
CN112954212B (en) Video generation method, device and equipment
JP6354385B2 (en) Display device, display method, and program
US20170104920A1 (en) Imaging apparatus and method for controlling the same
CN113744172A (en) Document image processing method and device and training sample generation method and device
TW201401868A (en) Electronic devices and methods for enhancing image resolution and computer-readable mediums thereof