TW201828256A - Image preview method and apparatus for camera application, and camera application system solving the poor compatibility of an image preview scheme for the camera application in the prior art - Google Patents

Image preview method and apparatus for camera application, and camera application system solving the poor compatibility of an image preview scheme for the camera application in the prior art Download PDF

Info

Publication number
TW201828256A
TW201828256A TW106102243A TW106102243A TW201828256A TW 201828256 A TW201828256 A TW 201828256A TW 106102243 A TW106102243 A TW 106102243A TW 106102243 A TW106102243 A TW 106102243A TW 201828256 A TW201828256 A TW 201828256A
Authority
TW
Taiwan
Prior art keywords
image
display module
framework
hal
module
Prior art date
Application number
TW106102243A
Other languages
Chinese (zh)
Other versions
TWI723119B (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 TW106102243A priority Critical patent/TWI723119B/en
Publication of TW201828256A publication Critical patent/TW201828256A/en
Application granted granted Critical
Publication of TWI723119B publication Critical patent/TWI723119B/en

Links

Abstract

An embodiment of this invention provides an image preview method and apparatus for a camera application, and a camera application system, wherein the method comprises the following steps: triggering a framework to receive an image acquired by a hardware adaptation layer (HAL); and processing the image to obtain a processed image; and outputting the processed image to a corresponding display module of a framework layer for display. By adopting the solution in the embodiment of this application, the problem that a poor compatibility of an image preview scheme for the camera application in the prior art can be solved.

Description

相機應用的圖像預覽方法、裝置及相機應用系統  Image preview method, device and camera application system for camera application  

本申請關於電腦技術,具體關於一種相機應用的圖像預覽方法、裝置及相機應用系統。 The present application relates to computer technology, and more particularly to an image preview method, apparatus, and camera application system for a camera application.

目前已有多種應用能夠調用移動設備相機以進行不同模式的拍攝,該應用可以是如QQ、全能相機、超級相機等應用,該移動設備可以是如手機、平板電腦等的設備,該模式可以是如拍照、攝影、全景等模式;本申請中將這些能夠調用移動設備的相機進行不同模式的拍攝的應用統稱為相機應用。 At present, a variety of applications can call a mobile device camera to perform different modes of shooting. The application may be an application such as a QQ, a universal camera, a super camera, etc., and the mobile device may be a device such as a mobile phone, a tablet computer, etc., the mode may be For example, photographing, photography, panoramic mode, etc.; in this application, the applications that can call the camera of the mobile device to perform different modes of shooting are collectively referred to as a camera application.

為了使使用者拍攝的圖像能夠更好看,很多相機應用提供了影像處理功能,例如美顏處理。同時,為了使用戶能夠在拍攝之前瞭解經影像處理之後的效果,很多相機應用都提供了即時預覽功能,例如,美顏預覽;即,當鏡頭對著使用者臉部時,螢幕上顯示的使用者的臉是已經美顏處理的預覽圖像。 In order to make the images taken by the user look better, many camera applications provide image processing functions, such as beauty processing. At the same time, in order to enable users to understand the effect after image processing before shooting, many camera applications provide instant preview function, for example, beauty preview; that is, when the lens is facing the user's face, the use of the display on the screen The face of the person is a preview image that has been beautifully processed.

在現有技術中,相機應用的圖像預覽功能的實現方法流程如圖1所示:S101,在相機的HAL(Hardware Adapter Layer硬體適配層)增加影像處理功能;S102,HAL採集預覽圖像,然後進行影像處理;S103,將處理後的圖像輸出至HAL的顯示模組進行顯示。由於HAL依賴於如MTK、高通、展訊等的各個平臺,所以現有技術中的不同平臺的相機應用的圖像預覽功能的實現方法差異較大。 In the prior art, the method for implementing the image preview function of the camera application is as shown in FIG. 1 : S101, adding image processing function to the HAL (Hardware Adapter Layer) of the camera; S102, HAL acquiring the preview image And then performing image processing; S103, outputting the processed image to the display module of the HAL for display. Since HAL relies on various platforms such as MTK, Qualcomm, Spreadtrum, etc., the implementation methods of image preview functions of camera applications of different platforms in the prior art are quite different.

現有技術相機應用的圖像預覽方案依賴於各平臺的HAL,代碼的實現差異性大,相容性較差。 The image preview scheme of the prior art camera application relies on the HAL of each platform, and the implementation of the code is large and the compatibility is poor.

本申請實施例中提供了一種相機應用的圖像預覽方法、裝置及相機應用系統,用於解決現有技術中的相機應用的圖像預覽方案相容性較差的問題。 An embodiment of the present invention provides an image preview method, a device, and a camera application system for a camera application, which are used to solve the problem of poor compatibility of an image preview solution of a camera application in the prior art.

根據本申請實施例的一個態樣,提供了一種相機應用的圖像預覽方法,包括:觸發框架Framework接收硬體適配層HAL採集的圖像;對圖像進行處理,得到處理後的圖像;將處理後的圖像輸出至Framework層對應的顯示模組以進行顯示。 According to an aspect of an embodiment of the present application, an image preview method for a camera application is provided, including: triggering a framework to receive an image acquired by a hardware adaptation layer HAL; processing the image to obtain a processed image The processed image is output to a display module corresponding to the Framework layer for display.

根據本申請實施例的另一個態樣,提供了一種相機應用的圖像預覽裝置,包括:觸發模組,用於觸發框架Framework接收HAL採集的圖像;影像處理模組,用於對圖像進行處理,得到處理後的圖像;第一輸出模組,用於將處理後的圖像輸出至Framework層對應的顯示模組以進行顯示。 According to another aspect of the embodiments of the present application, an image preview apparatus for a camera application includes: a trigger module for triggering a frame framework to receive an image acquired by a HAL; and an image processing module for pairing an image Processing is performed to obtain a processed image; and the first output module is configured to output the processed image to a display module corresponding to the Framework layer for display.

根據本申請實施例的再一個態樣,提供了一種相機應用系統,包括:上述的相機應用的圖像預覽裝置。 According to still another aspect of the embodiments of the present application, a camera application system is provided, including: the image preview device of the camera application described above.

採用本申請實施例中的相機應用的圖像預覽方法,能夠結合Framework層實現圖像預覽,由於Framework是系統自帶框架,不依賴於平臺,因此能夠跨平臺、跨手機使用,提升了相容性。 The image preview method of the camera application in the embodiment of the present application can implement image preview in combination with the Framework layer. Since the framework is a system-owned framework and does not depend on the platform, it can be used across platforms and mobile phones, thereby improving compatibility. Sex.

500‧‧‧相機應用的圖像預覽裝置 500‧‧‧Image preview device for camera applications

502‧‧‧觸發模組 502‧‧‧ Trigger Module

504‧‧‧影像處理模組 504‧‧‧Image Processing Module

506‧‧‧第一輸出模組 506‧‧‧First output module

600‧‧‧相機應用系統 600‧‧‧ Camera Application System

此處所說明的附圖用來提供對本申請的進一步理解,構成本申請的一部分,本申請的示意性實施例及其說明用於解釋本申請,並不構成對本申請的不當限定。在附圖中:圖1為現有技術中的相機應用的圖像預覽功能的實現方法流程圖;圖2為本申請實施例一所示的相機應用的圖像預覽方法的流程圖;圖3為本申請實施例二所示的相機應用的圖像預覽方法的流程圖;圖4為本申請實施例三所示的相機應用的圖像預覽方法的流程圖;圖5為本申請實施例四所示相機應用的圖像預覽裝置的結構示意圖;圖6為本申請實施例五所示相機應用系統的結構示意圖。 The drawings described herein are intended to provide a further understanding of the present application, and are intended to be a part of this application. In the drawings: FIG. 1 is a flowchart of a method for implementing an image preview function of a camera application in the prior art; FIG. 2 is a flowchart of an image preview method for a camera application according to Embodiment 1 of the present application; The flowchart of the image preview method of the camera application shown in the second embodiment of the present invention; FIG. 4 is a flowchart of the image preview method of the camera application according to the third embodiment of the present application; FIG. FIG. 6 is a schematic structural diagram of a camera application system according to Embodiment 5 of the present application.

為了使本申請實施例中的技術方案及優點更加清楚明白,以下結合附圖對本申請的示例性實施例進行進一步詳細的說明,顯然,所描述的實施例僅是本申請的一部分實施例,而不是所有實施例的窮舉。需要說明的是,在不衝突的情況下,本申請中的實施例及實施例中的特徵可以相互組合。 The exemplary embodiments of the present application are further described in detail below with reference to the accompanying drawings. Not all embodiments are exhaustive. It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict.

在實現本申請的過程中,申請人發現,在現有技術中,相機應用的圖像預覽功能的實現方法如圖1所示:在相機的HAL增加影像處理功能;HAL採集預覽圖像,然後進行影像處理,將處理後的圖像輸出至HAL的顯示模組進行顯示。由於HAL依賴於如MTK、高通、展訊等的各個平臺,所以現有技術中的不同平臺的相機應用的圖像預覽功能的實現方法差異較大。現有技術中的方案依賴於各平臺的HAL,代碼的實現差異性大,相容性較差。另外,對於不開放原始程式碼的三方手機,由於無法獲得HAL原始程式碼,所以現有技術中的方案無法實施。 In the process of implementing the present application, the applicant finds that in the prior art, the image preview function of the camera application is implemented as shown in FIG. 1 : the image processing function is added to the HAL of the camera; the HAL collects the preview image, and then performs Image processing, output the processed image to the HAL display module for display. Since HAL relies on various platforms such as MTK, Qualcomm, Spreadtrum, etc., the implementation methods of image preview functions of camera applications of different platforms in the prior art are quite different. The solution in the prior art relies on the HAL of each platform, and the implementation of the code is different and the compatibility is poor. In addition, for a three-party mobile phone that does not open the original code, since the HAL original code cannot be obtained, the prior art solution cannot be implemented.

針對上述問題,本申請實施例中提供了一種相機應用的圖像預覽方法,通過在Framework層增加影像處理功能和顯示模組來對HAL採集的圖像進行相應處理,並進行顯示,從而能夠結合Framework層實現圖像預覽,由於Framework是系統自帶框架,不依賴於平臺,因此能夠跨平臺、跨手機使用,提升了相容性。 In response to the above problem, an image preview method for a camera application is provided in the embodiment of the present application. by adding an image processing function and a display module in the Framework layer, the image captured by the HAL is processed correspondingly and displayed, thereby being able to combine The Framework layer implements image preview. Since the Framework is a system-owned framework and does not depend on the platform, it can be used across platforms and mobile phones, improving compatibility.

本申請實施例中的方案可以在相機應用的硬體底層如Framework層實現,也可以在作業系統層實現。 The solution in the embodiment of the present application may be implemented in a hardware underlayer of a camera application, such as a Framework layer, or in an operating system layer.

本申請實施例中的方案可以應用於相機應用中,該相機應用可以是如Camera360、全能相機、超級相機等的協力廠商相機應用,也可以是如小米、三星、聯想、酷派、華為等硬體廠商的內置相機應用,還可以是如雲OS(Operating System,作業系統)等作業系統、小米ROM(Android協力廠商作業系統)、百度ROM等協力廠商作業系統自帶的相機應用。 The solution in the embodiment of the present application may be applied to a camera application, such as a camera manufacturer such as Camera360, a universal camera, a super camera, or the like, or a hardware such as Xiaomi, Samsung, Lenovo, Coolpad, Huawei, etc. The manufacturer's built-in camera application can also be a camera application such as an operating system such as an OS (Operating System), a Xiaomi ROM (Android Collaborative Operating System), and a Baidu ROM.

實施例一  Embodiment 1  

圖2為本申請實施例一所示的相機應用的圖像預覽方法的流程圖。 FIG. 2 is a flowchart of an image preview method of a camera application according to Embodiment 1 of the present application.

如圖2所示,根據本申請實施例一所示的相機應用的圖像預覽方法包括以下步驟:S201,觸發框架Framework接收硬體適配層HAL採集的圖像;S202,對圖像進行處理,得到處理後的圖像;S203,將處理後的圖像輸出至Framework層對應的顯示模組SurfaceTexture以進行顯示。 As shown in FIG. 2, the image preview method of the camera application according to the first embodiment of the present application includes the following steps: S201, the trigger frame Framework receives an image acquired by the hardware adaptation layer HAL; and S202, processes the image. And obtaining the processed image; S203, outputting the processed image to a display module SurfaceTexture corresponding to the Framework layer for display.

在S201的一種具體實施方式中,可以通過HAL的圖像回傳元件(該功能是標準功能,所有平臺都支援)來觸發Framework接收HAL採集的圖像。 In a specific implementation of S201, the framework can receive the image acquired by the HAL through the image return component of the HAL (the function is a standard function supported by all platforms).

在S202的一種具體實施方式中,可以採用本領域技 術人員常用的多種影像處理方式以對圖像進行多種模式的處理,如美顏、懷舊、沖洗、黑白、燭光等,本申請對此不作限制。 In a specific implementation manner of S202, a plurality of image processing methods commonly used by those skilled in the art may be used to process images in various modes, such as beauty, nostalgia, rinsing, black and white, candlelight, etc., which is not limited in this application. .

在具體實施時,Framework可以是如安卓Android系統的作業系統自帶框架,該框架可以用於向相機應用APK控制相機硬體的介面。 In the specific implementation, the Framework can be a framework of the operating system such as the Android Android system, which can be used to apply the APK to the camera to control the interface of the camera hardware.

在具體實施時,本申請實施例中的相機應用的圖像預覽方法與Framework之間的介面可以採用多種邏輯和名稱,本領域技術人員應當理解,只要能夠將圖像顯示到顯示模組即可。 In a specific implementation, the interface between the image preview method and the framework of the camera application in the embodiment of the present application may adopt various logics and names, and those skilled in the art should understand that as long as the image can be displayed to the display module. .

在具體實施時,本申請實施例中的相機應用的圖像預覽方法可以以原始程式碼的形式實現,也可以以靜態程式庫、動態庫的形式被Framework調用。 In a specific implementation, the image preview method of the camera application in the embodiment of the present application may be implemented in the form of an original code, or may be invoked by the Framework in the form of a static library or a dynamic library.

在具體實施時,顯示模組可以是用於顯示的軟體功能模組,由相機應用創建。 In a specific implementation, the display module may be a software function module for display, which is created by the camera application.

在本申請實施例中,在步驟203之前,還可以預先為Framework設置顯示模組,該顯示模組可以是安卓系統中的SurfaceTexture。 In the embodiment of the present application, before the step 203, the display module may be set in advance for the framework, and the display module may be a SurfaceTexture in the Android system.

在具體實施時,可以採用將HAL的顯示模組設置為Framework的顯示模組的方式為Framework層設置顯示模組;更具體地,可以將HAL的顯示模組的控制碼使用者修改為Framework;例如,在安卓系統中,將SurfaceTexture的控制碼使用者由原來的HAL改為Framework。這種單顯示模組方式在某些平臺上也能達到該方案的效果,即, 雖然修改了HAL的顯示邏輯(即HAL不再進行顯示),但是在例如MTK、高通、三星Exynos的平臺上也是可以運行的。 In a specific implementation, the display module of the HAL can be set as the display module of the framework to set the display module for the Framework layer; more specifically, the control code user of the HAL display module can be modified into a Framework; For example, in Android, the control code user of SurfaceTexture is changed from the original HAL to Framework. This single display module mode can also achieve the effect of the scheme on some platforms, that is, although the display logic of the HAL is modified (ie, the HAL is no longer displayed), on platforms such as MTK, Qualcomm, and Samsung Exynos. It is also operational.

在具體實施時,還可以採用創建新的顯示模組,並將創建的顯示模組設置為Framework的顯示模組的方式為Framework層設置顯示模組。在具體實施時,可以通過在安卓系統的應用層調用UI(User Interface,使用者介面)介面創建新的SurfaceTexture。採用在Framework新增顯示模組的雙顯示模組方式,能夠避免對HAL的顯示邏輯進行修改,能夠更好的跨平臺。 In the specific implementation, a new display module can be created, and the created display module is set as the display module of the framework, and the display module is set for the Framework layer. In the specific implementation, a new SurfaceTexture can be created by calling the UI (User Interface) interface in the application layer of the Android system. By adopting the dual display module mode of the new display module in the framework, the display logic of the HAL can be avoided, and the cross-platform can be better.

在本申請實施例的另一具體實施方式中,在觸發框架Framework接收硬體適配層HAL採集的圖像之前,還可以包括:獲取相機應用的圖像預覽模式,該圖像預覽模式包括處理模式和非處理模式。 In another embodiment of the present application, before the trigger frame Framework receives the image acquired by the hardware adaptation layer HAL, the method further includes: acquiring an image preview mode of the camera application, where the image preview mode includes processing Mode and non-processing mode.

在具體實施時,相機應用的圖像預覽模式可以是由使用者設置的,也可以是由相機應用默認設置的,本申請對此不作限制。在具體實施時,處理模式可以是要求相機提供處理後的圖像供使用者預覽,非處理模式可以是要求相機提供原始的HAL層採集的圖像供使用者預覽。透過圖像預覽模式的設置可以向使用者提供更多種的預覽模式,提升使用者體驗。 In the specific implementation, the image preview mode of the camera application may be set by the user, or may be set by default by the camera application, which is not limited in this application. In a specific implementation, the processing mode may be that the camera is required to provide the processed image for preview by the user, and the non-processing mode may be that the camera is required to provide the original HAL layer captured image for the user to preview. The image preview mode setting provides users with a wider variety of preview modes to enhance the user experience.

在本申請實施例的另一具體實施方式中,在採用在Framework新增顯示模組的雙顯示模組方式時,為了避免HAL的顯示模組與Framework顯示模組之間的影響,可 以在圖像預覽模式為處理模式時,隱藏HAL的顯示模組;同時,將處理後的圖像輸出至Framework的顯示模組進行顯示。 In another specific implementation manner of the embodiment of the present application, when the dual display module mode of the display module is added in the framework, in order to avoid the influence between the HAL display module and the Framework display module, When the preview mode is the processing mode, the display module of the HAL is hidden; at the same time, the processed image is output to the display module of the framework for display.

在具體實施時,可以通過設置HAL的顯示模組的參數來實現隱藏HAL的顯示模組,例如,將HAL的顯示模組的透明度設置為100%,或者,還可以採用將HAL的顯示模組的尺寸設置為非常小的方式,例如1x1像素;還可以採用將HAL的顯示模組放置到顯示幕幕中的使用者可視區域之外的方式,例如,將HAL的顯示模組設置在可視區域之外的某一個固定位置上,例如,在可視區域右上角離頁面頂端(0,-9999)。 In the specific implementation, the HAL display module can be realized by setting the parameters of the HAL display module, for example, the transparency of the HAL display module is set to 100%, or the display module of the HAL can also be used. The size is set to a very small size, such as 1x1 pixels; it is also possible to place the HAL display module outside the user's viewable area in the display screen, for example, to set the HAL display module in the visible area. At a fixed position other than the top of the page (0, -9999) in the upper right corner of the visible area.

在具體實施時,還可以透過對Framework的顯示模組的參數進行設置來隱藏HAL的顯示模組,例如,將Framework的顯示模組的位置設置於HAL的顯示模組之上,同時將Framework的顯示模組的透明度設置為0%。由於未對HAL的顯示模組的代碼進行修改,並且未修改HAL的運行邏輯,即沒有通過設置某些參數來影響HAL的運行邏輯;因此不依賴於HAL,所以跨平臺能力大大增強。 In the specific implementation, the HAL display module can also be hidden by setting the parameters of the framework display module. For example, the position of the framework display module is set on the HAL display module, and the Framework is The transparency of the display module is set to 0%. Since the code of the HAL display module is not modified, and the running logic of the HAL is not modified, that is, the running logic of the HAL is not affected by setting certain parameters; therefore, the HAL is not relied on, so the cross-platform capability is greatly enhanced.

在本申請實施例的另一具體實施方式中,在採用在Framework新增顯示模組的雙顯示模組方式時,為了避免HAL的顯示模組與Framework顯示模組之間的影響,可以在圖像預覽模式為非處理模式時,隱藏Framework的顯示模組;並將HAL採集的圖像輸出至HAL的顯示模組進 行顯示。 In another specific implementation manner of the embodiment of the present application, when the dual display module mode of the display module is added in the framework, in order to avoid the influence between the HAL display module and the Framework display module, When the preview mode is non-processing mode, the display module of the framework is hidden; and the image captured by the HAL is output to the display module of the HAL for display.

在具體實施時,可以採用多種方式來隱藏Framework的顯示模組,例如,將Framework的顯示模組的透明度設置為100%,或者,將HAL的顯示模組的位置設置於Framework的顯示模組之上,且HAL的顯示模組的透明度設置為0%;還可以採用將Framework的顯示模組的尺寸設置為非常小的方式,例如1x1像素;還可以採用將Framework的顯示模組放置到顯示幕幕中的使用者可視區域之外的方式,例如,將Framework的顯示模組的設置在可視區域之外的某一個固定位置上,例如,在可視區域右上角離頁面頂端(0,-9999)。 In the specific implementation, the display module of the framework can be hidden in various ways, for example, the transparency of the display module of the framework is set to 100%, or the position of the display module of the HAL is set to the display module of the framework. The transparency of the display module of the HAL is set to 0%; the size of the display module of the framework can be set to a very small manner, for example, 1×1 pixels; and the display module of the framework can be placed on the display screen. The way the user in the screen is outside the visible area, for example, setting the display module of the Framework to a fixed position outside the visible area, for example, at the top right of the visible area (0, -9999) .

在本申請實施例的一種具體實施方式中,在HAL採集的圖像中包括人臉時;處理後的圖像可以為美顏後的圖像;對圖像進行處理可以具體包括:識別HAL採集的圖像中的人臉;對人臉進行美顏處理。 In a specific implementation manner of the embodiment of the present application, when the image is included in the image captured by the HAL, the processed image may be a post-make image; and processing the image may include: identifying the HAL collection. The face in the image; the face is treated with beauty.

採用本申請實施例中的相機應用的圖像預覽方法,能夠結合Framework層實現圖像預覽,由於Framework是系統自帶框架,不依賴於平臺,因此能夠跨平臺、跨手機使用,提升了相容性。 The image preview method of the camera application in the embodiment of the present application can implement image preview in combination with the Framework layer. Since the framework is a system-owned framework and does not depend on the platform, it can be used across platforms and mobile phones, thereby improving compatibility. Sex.

另外,與相關技術中在相機應用APK層實現圖像預覽相比,將預覽圖像傳輸到APK需要進行一次跨進程傳輸和至少一次JNI(JavaNativeInterface,JAVA本地調用)拷貝,耗時較長,影響用戶體驗。 In addition, compared with the related art in the camera application APK layer to achieve image preview, the transfer of the preview image to the APK requires a cross-process transfer and at least one JNI (Java Native Interface, JAVA local call) copy, which takes a long time, affecting user experience.

而採用本申請實施例中的相機應用的圖像預覽方法, 結合Framework層不需要待預覽圖像的跨進程傳輸和JNI拷貝,比在APK實現的流暢性要好,用時也較短,提升了用戶體驗。 The image preview method of the camera application in the embodiment of the present application, combined with the framework layer, does not require cross-process transmission and JNI copy of the image to be previewed, and is more fluent and less time-consuming than the APK, and the use time is shorter. user experience.

下面將以具體的應用實例為例,對本申請實施例中的圖像預覽方法的流程進行說明。 The flow of the image preview method in the embodiment of the present application will be described below by taking a specific application example as an example.

實施例二  Embodiment 2  

圖3為本申請實施例二所示的相機應用的圖像預覽方法的流程圖。 FIG. 3 is a flowchart of an image preview method of a camera application according to Embodiment 2 of the present application.

在本申請實施例二中,採用將HAL的顯示模組設置為Framework的顯示模組的單顯示模組的方式。 In the second embodiment of the present application, the display module of the HAL is set as the single display module of the display module of the framework.

如圖3所示,根據本申請實施例二所示的相機應用的圖像預覽方法包括以下步驟:S301,接收使用者選擇的圖像預覽模式;S302,HAL採集圖像後,將圖像輸出至Framework層;S303,如果使用者選擇的圖像預覽模式為非處理模式,則執行步驟S304-S305;如果為“美顏”處理模式,則執行步驟S306-S307;S304,在Framework層對圖像做透傳處理,即,不對圖像進行處理,直接輸出輸入的圖像;S305,將透傳處理的圖像輸出至Framework層的顯示模組進行顯示。至此,非處理模式的圖像預覽結束。 As shown in FIG. 3, the image preview method of the camera application according to the second embodiment of the present application includes the following steps: S301: Receive an image preview mode selected by a user; S302, after the HAL acquires an image, output the image. Go to the Framework layer; S303, if the image preview mode selected by the user is the non-processing mode, perform steps S304-S305; if it is the "beauty" processing mode, perform steps S306-S307; S304, in the Framework layer For example, the transparent processing is performed, that is, the image is not processed, and the input image is directly output; in S305, the transparently processed image is output to the display module of the Framework layer for display. At this point, the image preview of the non-processing mode ends.

在執行步驟S305之後,使用者看到的是Framework 層的顯示模組顯示的未處理圖像。 After performing step S305, the user sees an unprocessed image displayed by the display module of the Framework layer.

S306,結合Framework層對圖像做美顏處理;S307,將美顏處理後的圖像輸出至Framework層的顯示模組進行顯示。至此,處理模式的圖像預覽結束。在執行步驟S307之後,使用者看到的是Framework層的顯示模組中顯示的經美顏處理後的圖像。 S306, combining the framework layer to perform facial treatment on the image; S307, outputting the processed image to the display module of the Framework layer for display. At this point, the image preview of the processing mode ends. After performing step S307, the user sees the beautifully processed image displayed in the display module of the Framework layer.

實施例三  Embodiment 3  

圖4為本申請實施例三所示的相機應用的圖像預覽方法的流程圖。 4 is a flowchart of an image preview method of a camera application according to Embodiment 3 of the present application.

在本申請實施例三中,採用為Framework創建新的顯示模組的雙顯示模組的方式。 In the third embodiment of the present application, a dual display module for creating a new display module for the framework is adopted.

如圖4所示,根據本申請實施例三所示的相機應用的圖像預覽方法包括以下步驟:S401,接收使用者選擇的圖像預覽模式;S402,HAL採集圖像後,將圖像輸出至HAL的顯示模組和Framework層;S403,如果使用者選擇的圖像預覽模式為非處理模式,則執行步驟S404和S405;如果為“美顏”處理模式,則執行步驟S406和S407;S404,在Framework層對圖像進行透傳處理,即,不對圖像進行處理,直接輸出輸入的圖像,並將透傳後的圖像輸出至Framework層的顯示模組;S405,觸發隱藏Framework的顯示模組。至此,非處 理模式的圖像預覽結束。 As shown in FIG. 4, the image preview method of the camera application according to the third embodiment of the present application includes the following steps: S401: Receive an image preview mode selected by a user; S402, after the HAL acquires an image, output the image. The display module and the Framework layer to the HAL; S403, if the image preview mode selected by the user is the non-processing mode, steps S404 and S405 are performed; if the image processing mode is "beauty", steps S406 and S407 are performed; The image is transparently processed in the Framework layer, that is, the image is not processed, the input image is directly output, and the transparent image is output to the display module of the Framework layer; S405, triggering the hidden framework Display module. At this point, the image preview of the non-processing mode ends.

在執行步驟S405之後,使用者看到的是HAL的顯示模組中顯示的未處理圖像。 After performing step S405, the user sees the unprocessed image displayed in the display module of the HAL.

在具體實施時,步驟S404和S405之間並沒有嚴格的時間順序,可以先執行S404,再執行S405;也可以先執行S405,再執行S404。 In a specific implementation, there is no strict time sequence between steps S404 and S405, and S404 may be performed first, and then S405 may be performed; or S405 may be performed first, and then S404 is performed.

S406,結合Framework層對圖像進行美顏處理,並將美顏後的圖像輸出至Framework層的顯示模組;S407,觸發隱藏HAL的顯示模組。至此,處理模式的圖像預覽結束。 S406, combining the framework layer to perform facial treatment on the image, and outputting the image after the beauty to the display module of the Framework layer; S407, triggering the display module for hiding the HAL. At this point, the image preview of the processing mode ends.

在執行步驟S407之後,使用者看到的是Framework層的顯示模組中顯示的經美顏處理後的圖像。 After performing step S407, the user sees the beautifully processed image displayed in the display module of the Framework layer.

在具體實施時,步驟S406和S407之間並沒有嚴格的時間順序,可以先執行S406,再執行S407;也可以先執行S406,再執行S407。 In a specific implementation, there is no strict time sequence between steps S406 and S407, and S406 may be performed first, and then S407 may be performed; or S406 may be performed first, and then S407 is performed.

由於顯示模組,如安卓系統中的SurfaceTextue,是作業系統提供的標準元件,所以對顯示模組的創建、隱藏、顯示等均不依賴於平臺,因此提高了本申請實施例的跨平臺能力。 Since the display module, such as the SurfaceTextue in the Android system, is a standard component provided by the operating system, the creation, hiding, display, and the like of the display module are not dependent on the platform, thereby improving the cross-platform capability of the embodiment of the present application.

採用本申請實施例中的相機應用的圖像預覽方法,能夠結合Framework層實現圖像預覽,由於Framework是系統自帶框架,不依賴於平臺,因此能夠跨平臺、跨手機使用,提升了相容性。 The image preview method of the camera application in the embodiment of the present application can implement image preview in combination with the Framework layer. Since the framework is a system-owned framework and does not depend on the platform, it can be used across platforms and mobile phones, thereby improving compatibility. Sex.

基於同一發明構思,本申請實施例中還提供了一種相 機應用的圖像預覽裝置,由於該裝置解決問題的原理與本申請實施例所提供的方法相似,因此該裝置的實施可以參見方法的實施,重複之處不再贅述。 Based on the same inventive concept, an image preview device for a camera application is also provided in the embodiment of the present application. Since the principle of solving the problem is similar to the method provided by the embodiment of the present application, the implementation of the device can refer to the implementation of the method. , the repetition will not be repeated.

實施例四  Embodiment 4  

圖5為本申請實施例四所示相機應用的圖像預覽裝置的結構示意圖。 FIG. 5 is a schematic structural diagram of an image preview apparatus applied to a camera according to Embodiment 4 of the present application.

如圖5所示,根據本申請實施例四所示的相機應用的圖像預覽裝置500,包括:觸發模組501,用於觸發框架Framework接收硬體適配層HAL採集的圖像;影像處理模組502,用於對圖像進行處理,得到處理後的圖像;第一輸出模組503,用於將處理後的圖像輸出至Framework層對應的顯示模組以進行顯示。 As shown in FIG. 5, the image preview device 500 of the camera application according to the fourth embodiment of the present application includes: a trigger module 501, configured to trigger the frame Framework to receive an image acquired by the hardware adaptation layer HAL; The module 502 is configured to process the image to obtain a processed image, and the first output module 503 is configured to output the processed image to a display module corresponding to the Framework layer for display.

較佳地,根據本申請實施例二所示的相機應用的圖像預覽裝置還包括:設置模組,用於為Framework設置顯示模組。 Preferably, the image preview device of the camera application according to the second embodiment of the present application further includes: a setting module, configured to set a display module for the framework.

可選地,創建模組具體用於將HAL的SurfaceTexture設置為Framework的SurfaceTexture。 Optionally, the creation module is specifically configured to set the HAL's SurfaceTexture to the Framework's SurfaceTexture.

較佳地,創建模組具體用於將HAL的顯示模組設置為Framework的顯示模組。 Preferably, the creating module is specifically configured to set the display module of the HAL as the display module of the framework.

較佳地,設置模組具體用於將HAL的顯示模組的控制碼使用者修改為Framework。 Preferably, the setting module is specifically configured to modify the control code user of the display module of the HAL into a framework.

較佳地,設置模組具體包括:創建子模組,用於創建顯示模組;設置子模組,用於將創建的顯示模組設置為 Framework的顯示模組。 Preferably, the setting module specifically includes: creating a sub-module for creating a display module; and setting a sub-module for setting the created display module as a display module of the framework.

較佳地,根據本申請實施例二所示的相機應用的圖像預覽裝置還包括:模式獲取模組,用於獲取相機應用的圖像預覽模式,圖像預覽模式包括處理模式和非處理模式。 Preferably, the image preview device of the camera application according to the second embodiment of the present application further includes: a mode acquisition module, configured to acquire an image preview mode of the camera application, where the image preview mode includes a processing mode and a non-processing mode. .

較佳地,圖像預覽模式為處理模式時,根據本申請實施例二所示的相機應用的圖像預覽裝置還包括:第一隱藏模組,用於隱藏HAL的顯示模組。 Preferably, when the image preview mode is the processing mode, the image preview device of the camera application according to the second embodiment of the present application further includes: a first hidden module for hiding the display module of the HAL.

較佳地,圖像預覽模式為非處理模式時,根據本申請實施例二所示的相機應用的圖像預覽裝置還包括:第二隱藏模組,用於隱藏Framework的顯示模組。 Preferably, the image preview device of the camera application according to the second embodiment of the present application further includes: a second hidden module, configured to hide the display module of the framework, when the image preview mode is the non-processing mode.

較佳地,所述裝置還包括:第二輸出模組,用於將HAL採集的圖像輸出至HAL對應的顯示模組以進行顯示。 Preferably, the device further includes: a second output module, configured to output the image captured by the HAL to the display module corresponding to the HAL for display.

較佳地,HAL採集的圖像中包括人臉;處理後的圖像為美顏後的圖像;影像處理模組具體包括:識別子模組,用於識別HAL採集的圖像中的人臉;美顏子模組,用於對人臉進行美顏處理。 Preferably, the image captured by the HAL includes a human face; the processed image is a post-beauty image; and the image processing module specifically includes: an identification sub-module for recognizing a face in the image captured by the HAL Beauty face module for facial treatment of faces.

採用本申請實施例中的相機應用的圖像預覽裝置,能夠結合Framework層實現人臉的美顏預覽,由於Framework是系統自帶框架,不依賴於平臺,因此能夠跨平臺、跨手機使用,提升了相容性。 The image preview device of the camera application in the embodiment of the present application can realize the beauty preview of the face in combination with the Framework layer. Since the framework is a system-owned framework and does not depend on the platform, it can be used across platforms and mobile phones. Compatibility.

基於同一發明構思,本申請實施例中還提供了一種相機應用系統,由於該系統解決問題的原理與本申請實施例所提供的方法相似,因此該系統的實施可以參見方法的實 施,重複之處不再贅述。 Based on the same inventive concept, a camera application system is also provided in the embodiment of the present application. Since the principle of solving the problem is similar to the method provided by the embodiment of the present application, the implementation of the system can refer to the implementation of the method, and the repetition is performed. No longer.

實施例五  Embodiment 5  

圖6為本申請實施例五所示相機應用系統的結構示意圖。 FIG. 6 is a schematic structural diagram of a camera application system according to Embodiment 5 of the present application.

如圖6所示,根據本申請實施例五所示的相機應用系統600,包括:相機應用的圖像預覽裝置500。 As shown in FIG. 6, the camera application system 600 according to the fifth embodiment of the present application includes an image preview device 500 for a camera application.

採用本申請實施例中的相機應用系統,能夠在Framework實現人臉的美顏預覽,由於Framework是系統自帶框架,不依賴於平臺,因此能夠跨平臺、跨手機使用,提升了相容性。 The camera application system in the embodiment of the present application can realize the beauty preview of the face in the framework. Since the framework is a system-owned framework and does not depend on the platform, it can be used across platforms and mobile phones, thereby improving compatibility.

本領域內的技術人員應明白,本申請的實施例可提供為方法、系統、或電腦程式產品。因此,本申請可採用完全硬體實施例、完全軟體實施例、或結合軟體和硬體方面的實施例的形式。而且,本申請可採用在一個或多個其中包含有電腦可用程式碼的電腦可用儲存媒體(包括但不限於磁碟記憶體、CD-ROM、光學記憶體等)上實施的電腦程式產品的形式。 Those skilled in the art will appreciate that embodiments of the present application can be provided as a method, system, or computer program product. Thus, the present application can take the form of a fully hardware embodiment, a fully software embodiment, or an embodiment combining the software and hardware. Moreover, the present application can take the form of a computer program product implemented on one or more computer usable storage media (including but not limited to disk memory, CD-ROM, optical memory, etc.) containing computer usable code therein. .

本申請是參照根據本申請實施例的方法、設備(系統)、和電腦程式產品的流程圖和/或方框圖來描述的。應理解可由電腦程式指令實現流程圖和/或方框圖中的每一流程和/或方框、以及流程圖和/或方框圖中的流程和/或方框的結合。可提供這些電腦程式指令到通用電腦、專用電腦、嵌入式處理機或其他可程式設計資料處理設備 的處理器以產生一個機器,使得透過電腦或其他可程式設計資料處理設備的處理器執行的指令產生用於實現在流程圖一個流程或多個流程和/或方框圖一個方框或多個方框中指定的功能的裝置。 The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the present application. It will be understood that each flow and/or block of the flowchart illustrations and/or FIG. These computer program instructions can be provided to a processor of a general purpose computer, a special purpose computer, an embedded processor or other programmable data processing device to produce a machine that executes instructions executed by a processor of a computer or other programmable data processing device Means are provided for implementing the functions specified in one or more of the flow or in one or more blocks of the flow chart.

這些電腦程式指令也可儲存在能引導電腦或其他可程式設計資料處理設備以特定方式工作的電腦可讀記憶體中,使得儲存在該電腦可讀記憶體中的指令產生包括指令裝置的製造品,該指令裝置實現在流程圖一個流程或多個流程和/或方框圖一個方框或多個方框中指定的功能。 The computer program instructions can also be stored in a computer readable memory that can boot a computer or other programmable data processing device to operate in a particular manner, such that instructions stored in the computer readable memory produce an article of manufacture including the instruction device. The instruction means implements the functions specified in one or more blocks of the flow or in a flow or block diagram of the flowchart.

這些電腦程式指令也可裝載到電腦或其他可程式設計資料處理設備上,使得在電腦或其他可程式設計設備上執行一系列操作步驟以產生電腦實現的處理,從而在電腦或其他可程式設計設備上執行的指令提供用於實現在流程圖一個流程或多個流程和/或方框圖一個方框或多個方框中指定的功能的步驟。 These computer program instructions can also be loaded onto a computer or other programmable data processing device to perform a series of operational steps on a computer or other programmable device to produce computer-implemented processing on a computer or other programmable device. The instructions executed above provide steps for implementing the functions specified in one or more blocks of the flowchart or in a block or blocks of the flowchart.

儘管已描述了本申請的較佳實施例,但本領域內的技術人員一旦得知了基本創造性概念,則可對這些實施例作出另外的變更和修改。所以,所附申請專利範圍意欲解釋為包括較佳實施例以及落入本申請範圍的所有變更和修改。 Although the preferred embodiment of the present application has been described, those skilled in the art can make additional changes and modifications to the embodiments once they are aware of the basic inventive concept. Therefore, the scope of the appended claims is intended to be construed as a

顯然,本領域的技術人員可以對本申請進行各種改動和變型而不脫離本申請的精神和範圍。這樣,倘若本申請的這些修改和變型屬於本申請專利範圍及其等同技術的範圍之內,則本申請也意圖包含這些改動和變型在內。 It will be apparent to those skilled in the art that various modifications and changes can be made in the present application without departing from the spirit and scope of the application. Thus, it is intended that the present invention cover the modifications and variations of the invention,

Claims (21)

一種相機應用的圖像預覽方法,其特徵在於,包括:觸發框架Framework接收硬體適配層HAL採集的圖像;對該圖像進行處理,得到處理後的圖像;將處理後的圖像輸出至該Framework層對應的顯示模組以進行顯示。  An image preview method for a camera application, comprising: triggering a framework to receive an image acquired by a hardware adaptation layer HAL; processing the image to obtain a processed image; and processing the processed image Output to the display module corresponding to the Framework layer for display.   根據申請專利範圍第1項所述的方法,其中,在將處理後的圖像輸出至該Framework層的顯示模組以進行顯示之前,還包括:為該Framework設置顯示模組。  The method of claim 1, wherein before the processed image is output to the display module of the Framework layer for display, the method further includes: setting a display module for the framework.   根據申請專利範圍第2項所述的方法,其中,為該Framework設置顯示模組,具體包括:將該HAL的顯示模組設置為該Framework的顯示模組。  The method of claim 2, wherein the setting the display module for the framework comprises: setting the display module of the HAL as the display module of the framework.   根據申請專利範圍第3項所述的方法,其中,將該HAL的顯示模組設置為該Framework的顯示模組,具體包括:將該HAL的顯示模組的控制碼使用者修改為Framework。  The method of claim 3, wherein the setting of the HAL display module to the display module of the framework comprises: modifying the control code user of the HAL display module to a framework.   根據申請專利範圍第2項所述的方法,其中,為該Framework設置顯示模組具體包括:創建顯示模組; 將創建的該顯示模組設置為該Framework的顯示模組。  The method of claim 2, wherein the setting the display module for the framework comprises: creating a display module; and setting the created display module as the display module of the framework.   根據申請專利範圍第1項所述的方法,其中,在觸發框架Framework接收硬體適配層HAL採集的圖像之前,還包括:獲取該相機應用的圖像預覽模式,該圖像預覽模式包括處理模式和非處理模式。  The method of claim 1, wherein before the trigger frame receives the image acquired by the hardware adaptation layer HAL, the method further includes: acquiring an image preview mode of the camera application, where the image preview mode includes Processing mode and non-processing mode.   根據申請專利範圍第6項所述的方法,其中,該圖像預覽模式為處理模式時,該方法還包括:隱藏該HAL的顯示模組。  The method of claim 6, wherein the image preview mode is a processing mode, the method further comprising: hiding the display module of the HAL.   根據申請專利範圍第6項所述的方法,其中,該圖像預覽模式為非處理模式時,該方法還包括:隱藏該Framework的顯示模組。  According to the method of claim 6, wherein the image preview mode is a non-processing mode, the method further includes: hiding the display module of the framework.   根據申請專利範圍第8項所述的方法,其中,該方法還包括:將該HAL採集的圖像輸出至該HAL對應的顯示模組以進行顯示。  The method of claim 8, wherein the method further comprises: outputting the image acquired by the HAL to a display module corresponding to the HAL for display.   根據申請專利範圍第1項所述的方法,其中,該HAL採集的圖像中包括人臉;該處理後的圖像為美顏後的圖像;對該圖像進行處理具體包括:識別該HAL採集的圖像中的人臉;對該人臉進行美顏處理。  The method of claim 1, wherein the image captured by the HAL includes a human face; the processed image is a post-make image; and processing the image specifically includes: identifying the image The face in the image captured by the HAL; the face is beautifully processed.   一種相機應用的圖像預覽裝置,其特徵在於,包括: 觸發模組,用於觸發框架Framework接收HAL採集的圖像;影像處理模組,用於對該圖像進行處理,得到處理後的圖像;第一輸出模組,用於將處理後的圖像輸出至該Framework層對應的顯示模組以進行顯示。  An image preview device for a camera application, comprising: a trigger module, configured to trigger a frame framework to receive an image captured by the HAL; and an image processing module configured to process the image to obtain a processed image The first output module is configured to output the processed image to a display module corresponding to the Framework layer for display.   根據申請專利範圍第11項所述的裝置,其中,還包括:設置模組,用於為該Framework設置顯示模組。  The device of claim 11, further comprising: a setting module, configured to set a display module for the framework.   根據申請專利範圍第12項所述的裝置,其中,該設置模組具體用於將該HAL的顯示模組設置為該Framework的顯示模組。  The device of claim 12, wherein the setting module is specifically configured to set the display module of the HAL as the display module of the framework.   根據申請專利範圍第13項所述的裝置,其中,該設置模組具體用於將該HAL的顯示模組的控制碼使用者修改為Framework。  The device of claim 13, wherein the setting module is specifically configured to modify a control code user of the HAL display module to a framework.   根據申請專利範圍第12項所述的裝置,其中,該設置模組具體包括:創建子模組,用於創建顯示模組;設置子模組,用於將創建的該顯示模組設置為該Framework的顯示模組。  The device of claim 12, wherein the setting module comprises: creating a sub-module for creating a display module; and setting a sub-module for setting the created display module to the The display module of the Framework.   根據申請專利範圍第11項所述的裝置,其中,還包括:模式獲取模組,用於獲取該相機應用的圖像預覽模式,該圖像預覽模式包括處理模式和非處理模式。  The device of claim 11, further comprising: a mode acquisition module, configured to acquire an image preview mode of the camera application, the image preview mode comprising a processing mode and a non-processing mode.   根據申請專利範圍第16項所述的裝置,其中,該圖像預覽模式為處理模式時,該裝置還包括:第一隱藏模組,用於隱藏該HAL的顯示模組。  According to the device of claim 16, wherein the image preview mode is a processing mode, the device further includes: a first hidden module for hiding the display module of the HAL.   根據申請專利範圍第16項所述的裝置,其中,該圖像預覽模式為非處理模式時,該裝置還包括:第二隱藏模組,用於隱藏該Framework的顯示模組。  According to the device of claim 16, wherein the image preview mode is a non-processing mode, the device further includes: a second hidden module, configured to hide the display module of the framework.   根據申請專利範圍第18項所述的裝置,其中,該裝置還包括:第二輸出模組,用於將該HAL採集的圖像輸出至該HAL對應的顯示模組以進行顯示。  The device of claim 18, wherein the device further comprises: a second output module, configured to output the image captured by the HAL to the display module corresponding to the HAL for display.   根據申請專利範圍第11項所述的裝置,其中,該HAL採集的圖像中包括人臉;該處理後的圖像為美顏後的圖像;該影像處理模組具體包括:識別子模組,用於識別該HAL採集的圖像中的人臉;美顏子模組,用於對該人臉進行美顏處理。  The device of claim 11, wherein the image captured by the HAL includes a human face; the processed image is a post-beauty image; and the image processing module specifically includes: an identification sub-module , for identifying a face in the image captured by the HAL; a beauty sub-module for performing facial treatment on the face.   一種相機應用系統,其特徵在於,包括:如申請專利範圍第11至20項中任一項所述的相機應用的圖像預覽裝置。  A camera application system, comprising: an image preview device for a camera application according to any one of claims 11 to 20.  
TW106102243A 2017-01-20 2017-01-20 Image preview method and device for camera application and camera application system TWI723119B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW106102243A TWI723119B (en) 2017-01-20 2017-01-20 Image preview method and device for camera application and camera application system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW106102243A TWI723119B (en) 2017-01-20 2017-01-20 Image preview method and device for camera application and camera application system

Publications (2)

Publication Number Publication Date
TW201828256A true TW201828256A (en) 2018-08-01
TWI723119B TWI723119B (en) 2021-04-01

Family

ID=63960084

Family Applications (1)

Application Number Title Priority Date Filing Date
TW106102243A TWI723119B (en) 2017-01-20 2017-01-20 Image preview method and device for camera application and camera application system

Country Status (1)

Country Link
TW (1) TWI723119B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111565282A (en) * 2020-05-11 2020-08-21 Oppo(重庆)智能科技有限公司 Shooting control processing method, device, equipment and storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103279224A (en) * 2013-05-28 2013-09-04 Tcl集团股份有限公司 Processing method and system for operations of touchpad
US20150098000A1 (en) * 2013-10-03 2015-04-09 Futurewei Technologies, Inc. System and Method for Dynamic Image Composition Guidance in Digital Camera
CN103716535B (en) * 2013-12-12 2018-04-27 乐视致新电子科技(天津)有限公司 One kind switching screening-mode method and electronic equipment
EP3398299A1 (en) * 2015-12-31 2018-11-07 Blocks Wearables Inc. Modular communication framework

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111565282A (en) * 2020-05-11 2020-08-21 Oppo(重庆)智能科技有限公司 Shooting control processing method, device, equipment and storage medium

Also Published As

Publication number Publication date
TWI723119B (en) 2021-04-01

Similar Documents

Publication Publication Date Title
WO2017076199A1 (en) Image preview method and apparatus for camera application, and camera application system
US10958850B2 (en) Electronic device and method for capturing image by using display
KR102327779B1 (en) Method for processing image data and apparatus for the same
AU2014402162B2 (en) Method and apparatus for setting background of UI control, and terminal
KR20140088768A (en) Method for operating for camera an electronic device thereof
CN112118459A (en) Method for realizing common live broadcast of multiple apps by sharing camera data and readable medium
US20150095874A1 (en) Software development kit for capturing graphical image data
TWI545508B (en) Method for performing a face tracking function and an electric device having the same
WO2020143728A1 (en) Picture rendering method and device, terminal, and corresponding storage medium
TW201607325A (en) Method for performing a video talk enhancement function and an electric device having the same
US20180253824A1 (en) Picture processing method and apparatus, and storage medium
JP2015069638A5 (en)
CN111078170B (en) Display control method, display control device, and computer-readable storage medium
WO2016107229A1 (en) Icon displaying method and device, and computer storage medium
KR102082365B1 (en) Method for image processing and an electronic device thereof
WO2019029514A1 (en) Color temperature adjustment method and device, display apparatus, computer readable storage medium, and computer program product
TW201828256A (en) Image preview method and apparatus for camera application, and camera application system solving the poor compatibility of an image preview scheme for the camera application in the prior art
WO2023151214A1 (en) Image generation method and system, electronic device, storage medium, and product
CN116433835A (en) Construction method, device and medium of three-dimensional augmented reality operation system
TWI465912B (en) Method for building connection between electronic devices
CN106648598B (en) Method and apparatus for displaying display information of application
CN116385469A (en) Special effect image generation method and device, electronic equipment and storage medium
KR20220046665A (en) Picture processing method and device, storage medium and electronic device
CN111932332A (en) Virtual makeup trial method, device, electronic equipment and computer readable medium
JP2014085716A (en) Image editing processing device and computer program

Legal Events

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