CN106657757B - Image preview method and device for camera application and camera application system - Google Patents

Image preview method and device for camera application and camera application system Download PDF

Info

Publication number
CN106657757B
CN106657757B CN201510740764.9A CN201510740764A CN106657757B CN 106657757 B CN106657757 B CN 106657757B CN 201510740764 A CN201510740764 A CN 201510740764A CN 106657757 B CN106657757 B CN 106657757B
Authority
CN
China
Prior art keywords
image
display module
framework
hal
module
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN201510740764.9A
Other languages
Chinese (zh)
Other versions
CN106657757A (en
Inventor
胡俊远
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Banma Zhixing Network Hongkong Co Ltd
Original Assignee
Alibaba Group Holding Ltd
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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201510740764.9A priority Critical patent/CN106657757B/en
Priority to PCT/CN2016/103325 priority patent/WO2017076199A1/en
Publication of CN106657757A publication Critical patent/CN106657757A/en
Application granted granted Critical
Publication of CN106657757B publication Critical patent/CN106657757B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/698Control of cameras or camera modules for achieving an enlarged field of view, e.g. panoramic image capture
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/63Control of cameras or camera modules by using electronic viewfinders
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/80Camera processing pipelines; Components thereof

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Studio Devices (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the application provides an image preview method and device for camera application and a camera application system, and the method comprises the following steps: triggering a Framework to receive an image acquired by a hardware adaptation layer HAL; processing the image to obtain a processed image; and outputting the processed image to a display module corresponding to the Framework layer for display. By adopting the scheme in the embodiment of the application, the problem of poor compatibility of the image preview scheme applied by the camera in the prior art can be solved.

Description

Image preview method and device for camera application and camera application system
Technical Field
The present application relates to computer technologies, and in particular, to an image preview method and apparatus for camera application, and a camera application system.
Background
At present, various applications can call a mobile device camera to perform shooting in different modes, where the applications may be applications such as QQ, a universal camera, a super camera, and the like, the mobile device may be a device such as a mobile phone, a tablet computer, and the like, and the modes may be modes such as shooting, panoramic, and the like; these applications that can invoke the camera of the mobile device to take different modes of shooting are collectively referred to herein as camera applications.
In order to make images taken by a user more visible, many camera applications provide image processing functions, such as beauty processing. Meanwhile, in order to enable a user to understand an effect after image processing before photographing, many camera applications provide a real-time preview function, for example, a beauty preview; that is, when the camera is directed to the face of the user, the face of the user displayed on the screen is a preview image that has been beautifully processed.
In the prior art, the flow of the implementation method of the image preview function of the camera application is shown in fig. 1: s101, adding an image processing function to a HAL (Hardware Adapter Layer) of the camera; s102, HAL collects preview images and then processes the images; and S103, outputting the processed image to a display module of the HAL for displaying. Since the HAL relies on various platforms such as MTK, highpass, spread, etc., the implementation methods of the image preview function of the camera application of different platforms in the prior art are widely different.
The image preview scheme applied by the camera in the prior art depends on HAL of each platform, and the code has large realization difference and poor compatibility.
Disclosure of Invention
The embodiment of the application provides an image preview method and device of camera application and a camera application system, and aims to solve the problem that the image preview scheme of the camera application in the prior art is poor in compatibility.
According to an aspect of an embodiment of the present application, there is provided an image preview method for a camera application, including: triggering a Framework to receive an image acquired by a hardware adaptation layer HAL; processing the image to obtain a processed image; and outputting the processed image to a display module corresponding to the Framework layer for display.
According to another aspect of the embodiments of the present application, there is provided an image preview apparatus for a camera application, including: the triggering module is used for triggering the Framework to receive the image acquired by the HAL; the image processing module is used for processing the image to obtain a processed image; and the first output module is used for outputting the processed image to a display module corresponding to the Framework layer for display.
According to still another aspect of an embodiment of the present application, there is provided a camera application system including: the image previewing device for the camera application is described above.
By adopting the image preview method applied to the camera in the embodiment of the application, the image preview can be realized by combining the Framework layer, and because the Framework is a self-contained frame of the system and does not depend on a platform, the Framework can be used across platforms and mobile phones, and the compatibility is improved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the 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 an embodiment of the present application;
fig. 3 is a flowchart of an image preview method of a camera application according to a second embodiment of the present application;
fig. 4 is a flowchart of an image preview method of a camera application according to a third embodiment of the present application;
fig. 5 is a schematic structural diagram of an image previewing apparatus for a camera according to a fourth embodiment of the present application;
fig. 6 is a schematic structural diagram of a camera application system according to the fifth embodiment of the present application.
Detailed Description
In order to make the technical solutions and advantages of the embodiments of the present application more apparent, the following further detailed description of the exemplary embodiments of the present application with reference to the accompanying drawings makes it clear that the described embodiments are only a part of the embodiments of the present application, and are not exhaustive of all embodiments. It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict.
In the course of implementing the present application, the applicant finds that, in the prior art, the method for implementing the image preview function of the camera application is as shown in fig. 1: adding image processing functions to the HAL of the camera; and the HAL acquires a preview image, then performs image processing, and outputs the processed image to a display module of the HAL for display. Since the HAL relies on various platforms such as MTK, highpass, spread, etc., the implementation methods of the image preview function of the camera application of different platforms in the prior art are widely different. The scheme in the prior art depends on HAL of each platform, and the code has large realization difference and poor compatibility. In addition, for a three-party mobile phone without source code opening, the HAL source code cannot be obtained, so the scheme in the prior art cannot be implemented.
In view of the above problems, an embodiment of the present application provides an image preview method for camera application, where an image processing function and a display module are added to a frame layer to perform corresponding processing on an image acquired by an HAL, and the image is displayed, so that image preview can be implemented in combination with the frame layer.
The scheme in the embodiment of the application can be realized on a hardware bottom layer of camera application, such as a Framework layer, and can also be realized on an operating system layer.
The scheme in the embodiment of the application can be applied to Camera applications, where the Camera applications may be third-party Camera applications such as Camera360, a universal Camera, a super Camera, and the like, built-in Camera applications of hardware manufacturers such as millet, samsung, association, kupai, huashi, and the like, and Camera applications carried by third-party Operating systems such as an Operating System (Operating System) and the like, a millet ROM (Android third-party Operating System), a hundreds ROM, and the like.
Example one
Fig. 2 is a flowchart of an image preview method for a camera application according to an embodiment of the present application.
As shown in fig. 2, an image preview method for a camera application according to an embodiment of the present application includes the following steps:
s201, triggering a Framework to receive an image collected by a hardware adaptation layer HAL;
s202, processing the image to obtain a processed image;
s203, outputting the processed image to a display module corresponding to the Framework layer, namely, surface texture, and displaying the processed image.
In a specific embodiment of S201, the Framework may be triggered to receive the image collected by the HAL by an image backhaul component of the HAL (the function is a standard function, and all platforms support).
In a specific embodiment of S202, a plurality of image processing methods commonly used by those skilled in the art may be adopted to perform a plurality of modes of processing on the image, such as beauty, nostalgic, wash, black and white, candle light, etc., which is not limited in this application.
In a specific implementation, the Framework may be an operating system self-contained Framework such as Android system, and the Framework may be used to apply APK to the camera to control an interface of camera hardware.
In specific implementation, the interface between the image preview method of the camera application and the Framework in the embodiment of the present application may adopt various logics and names, and it should be understood by those skilled in the art that the interface only needs to be capable of displaying an image on the display module.
In specific implementation, the image preview method of the camera application in the embodiment of the present application may be implemented in a source code form, and may also be called by a Framework in a static library or a dynamic library form.
In particular implementations, the display module may be a software function module for display, created by a camera application.
In this embodiment of the application, before step 203, a display module may also be set for Framework in advance, where the display module may be surface texture in the android system.
In specific implementation, a display module can be set for the Framework layer by setting the display module of the HAL as the display module of the Framework; more specifically, the handle user of the display module of the HAL may be modified to a Framework; for example, in the android system, the handle user of the SurfaceTexture is changed from the original HAL to the Framework. This single display module approach also works with this solution on certain platforms, i.e., while the display logic of the HAL is modified (i.e., the HAL is no longer displaying), it is also operable on platforms such as MTK, highpass, samsung Exynos.
In specific implementation, a display module may be set for the Framework layer in a manner of creating a new display module and setting the created display module as the display module of the Framework. In particular implementation, a new SurfaceTexture may be created by invoking a UI (User Interface) Interface at the application layer of the android system. By adopting a double-display module mode of adding a display module to the Framework, the display logic of the HAL can be prevented from being modified, and the cross-platform mode can be better realized.
In another specific implementation manner of the embodiment of the present application, before triggering the Framework to receive the image acquired by the hardware adaptation layer HAL, the method may further include: an image preview mode of a camera application is acquired, the image preview mode including a processing mode and a non-processing mode.
In this embodiment, 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 require the camera to provide a processed image for the user to preview, and the non-processing mode may require the camera to provide an image acquired by the original HAL layer for the user to preview. Through the setting of the image preview mode, more preview modes can be provided for the user, and the user experience is improved.
In another specific implementation manner of the embodiment of the present application, when a dual display module manner is adopted in which a display module is newly added to a Framework, in order to avoid an influence between a display module of the HAL and the Framework display module, the display module of the HAL may be hidden when an image preview mode is a processing mode; and meanwhile, outputting the processed image to a display module of the Framework for displaying.
In particular implementation, hiding the display module of the HAL may be achieved by setting parameters of the display module of the HAL, for example, setting the transparency of the display module of the HAL to 100%, or, alternatively, setting the size of the display module of the HAL to be very small, for example, 1 × 1 pixels; it is also possible to place the display module of the HAL outside the user's field of view in the display screen, e.g. by placing the display module of the HAL in a fixed position outside the field of view, e.g. at the top right corner of the field of view (0, -9999) from the top of the page.
In specific implementation, the display module of the HAL may be hidden by setting parameters of the display module of the Framework, for example, the position of the display module of the Framework is set above the display module of the HAL, and the transparency of the display module of the Framework is set to 0%. Since the code of the display module of the HAL is not modified and the operating logic of the HAL is not modified, i.e. not affected by setting certain parameters; therefore, does not rely on HAL, so cross-platform capability is greatly enhanced.
In another specific implementation manner of the embodiment of the present application, when a dual display module manner is adopted in which a display module is newly added to a Framework, in order to avoid an influence between a display module of a HAL and the Framework display module, the display module of the Framework may be hidden when an image preview mode is a non-processing mode; and outputting the image collected by the HAL to a display module of the HAL for displaying.
In specific implementation, the display module of the Framework may 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 above the display module of the Framework, and the transparency of the display module of the HAL is set to 0%; it is also possible to set the size of the display module of the Framework to be very small, for example 1 × 1 pixels; it is also possible to place the display module of the Framework outside the user's visible area in the display screen, for example, to place the display module of the Framework at a fixed position outside the visible area, for example, at the top right corner of the visible area (0, -9999) of the page.
In a specific implementation manner of the embodiment of the present application, when the image acquired by the HAL includes a human face; the processed image can be a beautified image; processing the image may specifically include: identifying a human face in an image acquired by HAL; and (5) performing beautifying treatment on the face.
By adopting the image preview method applied to the camera in the embodiment of the application, the image preview can be realized by combining the Framework layer, and because the Framework is a self-contained frame of the system and does not depend on a platform, the Framework can be used across platforms and mobile phones, and the compatibility is improved.
In addition, compared with the image preview realized on the camera application APK layer in the related art, the transmission of the preview image to the APK requires one cross-process transmission and at least one JNI (JAVA native interface, JAVA native call) copy, which consumes a long time and affects the user experience.
By adopting the image preview method applied to the camera in the embodiment of the application, the Framework layer is combined without cross-process transmission and JNI copying of the image to be previewed, the fluency is better than that of APK realization, the time consumption is shorter, and the user experience is improved.
The following describes a flow of an image preview method in the embodiment of the present application, taking a specific application example as an example.
Example two
Fig. 3 is a flowchart of an image preview method of a camera application according to a second embodiment of the present application.
In the second embodiment of the present application, a mode of setting the display module of the HAL as a single display module of the Framework is adopted.
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, receiving an image preview mode selected by a user;
s302, outputting the image to a Framework layer after the HAL collects the image;
s303, if the image preview mode selected by the user is a non-processing mode, executing the steps S304-S305; if the mode is 'beauty' processing mode, executing steps S306-S307;
s304, performing transparent transmission processing on the image in the Framework layer, namely, directly outputting the input image without processing the image;
and S305, outputting the image subjected to the transparent transmission processing to a display module of a Framework layer for displaying. At this point, the image preview in the non-processing mode ends.
After performing step S305, the user sees an unprocessed image displayed by the display module of the Framework layer.
S306, combining the Framework layer to perform beautifying processing on the image;
and S307, outputting the image after the beautifying processing to a display module of a Framework layer for displaying. At this point, the image preview in the processing mode ends. After performing step S307, the user sees the beautified image displayed in the display module of the Framework layer.
EXAMPLE III
Fig. 4 is a flowchart of an image preview method for a camera application according to a third embodiment of the present application.
In the third embodiment of the present application, a dual display module manner is adopted in which a new display module is created for the 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, receiving an image preview mode selected by a user;
s402, outputting the image to a display module and a Framework layer of the HAL after the HAL collects the image;
s403, if the image preview mode selected by the user is a non-processing mode, executing steps S404 and S405; if the mode is the 'beauty' processing mode, steps S406 and S407 are executed;
s404, carrying out transparent transmission processing on the image in the Framework layer, namely, directly outputting the input image without processing the image, and outputting the image after transparent transmission to a display module of the Framework layer;
s405, triggering a display module of the hidden Framework. At this point, the image preview in the non-processing mode ends.
After performing step S405, the user sees an unprocessed image displayed in the display module of the HAL.
In specific implementation, the time sequence between steps S404 and S405 is not strict, and S404 may be executed first, and then S405 may be executed; s405 may be executed first, and then S404 may be executed.
S406, combining the Framework layer to perform beautifying processing on the image, and outputting the image after beautifying to a display module of the Framework layer;
s407, triggering the display module of the hidden HAL. At this point, the image preview in the processing mode ends.
After performing step S407, the user sees a beautified image displayed in the display module of the Framework layer.
In specific implementation, the steps S406 and S407 do not have a strict time sequence, and S406 may be executed first, and then S407 may be executed; s406 may be executed first, and then S407 may be executed.
Because the display module, such as the surfaceTexdue in the android system, is a standard component provided by the operating system, the creation, hiding, displaying, and the like of the display module do not depend on a platform, so that the cross-platform capability of the embodiment of the application is improved.
By adopting the image preview method applied to the camera in the embodiment of the application, the image preview can be realized by combining the Framework layer, and because the Framework is a self-contained frame of the system and does not depend on a platform, the Framework can be used across platforms and mobile phones, and the compatibility is improved.
Based on the same inventive concept, the embodiment of the present application further provides an image previewing apparatus for camera application, and as the principle of the apparatus for solving the problem is similar to the method provided in the embodiment of the present application, the implementation of the apparatus may refer to the implementation of the method, and repeated details are not repeated.
Example four
Fig. 5 is a schematic structural diagram of an image previewing apparatus applied to a camera according to the fourth embodiment of the present application.
As shown in fig. 5, an image preview apparatus 500 of a camera application according to the fourth embodiment of the present application includes: a triggering module 501, configured to trigger a Framework to receive an image acquired by a hardware adaptation layer HAL; an image processing module 502, configured to process an image to obtain a processed image; a first output module 503, configured to output the processed image to a display module corresponding to the Framework layer for display.
Preferably, the image preview apparatus for a camera application according to the second embodiment of the present application further includes: and the setting module is used for setting a display module for the Framework.
Optionally, the creation module is specifically configured to set the surfitexture of the HAL to the surfitexture of the Framework.
Preferably, the creation module is specifically configured to set the display module of the HAL as a display module of a Framework.
Preferably, the setup module is specifically configured to modify a handle user of the display module of the HAL into a Framework.
Preferably, the setting module specifically includes: the creation submodule is used for creating a display module; and the setting submodule is used for setting the created display module as a display module of the Framework.
Preferably, the image preview apparatus for a camera application according to the second embodiment of the present application further includes: the mode acquisition module is used for acquiring an image preview mode of the camera application, wherein the image preview mode comprises a processing mode and a non-processing mode.
Preferably, when the image preview mode is the processing mode, the image preview apparatus for a camera application according to the second embodiment of the present application further includes: a first hiding module for hiding the display module of the HAL.
Preferably, when the image preview mode is the non-processing mode, the image preview apparatus for the camera application according to the second embodiment of the present application further includes: and the second hiding module is used for hiding the display module of the Framework.
Preferably, the apparatus further comprises: and the second output module is used for outputting the image acquired by the HAL to the display module corresponding to the HAL for displaying.
Preferably, the HAL-collected images include human faces; the processed image is an image after beautifying; the image processing module specifically comprises: the recognition submodule is used for recognizing the human face in the image acquired by the HAL; and the face beautifying submodule is used for carrying out face beautifying treatment on the face.
By adopting the image preview device applied to the camera in the embodiment of the application, the face beautification preview can be realized by combining the Framework layer, and the Framework is a self-contained frame of the system and does not depend on a platform, so that the device can be used across platforms and mobile phones, and the compatibility is improved.
Based on the same inventive concept, the embodiment of the present application further provides a camera application system, and as the principle of solving the problem of the system 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 repeated details are not repeated.
EXAMPLE five
Fig. 6 is a schematic structural diagram of a camera application system according to the fifth embodiment of the present application.
As shown in fig. 6, a camera application system 600 according to a fifth embodiment of the present application includes: image preview apparatus 500 for a camera application.
By adopting the camera application system in the embodiment of the application, the face beautification preview of the face can be realized in the Framework, and the Framework is a self-contained Framework of the system and does not depend on a platform, so that the system can be used across platforms and mobile phones, and the compatibility is improved.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied 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 application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While the preferred embodiments of the present application have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all alterations and modifications as fall within the scope of the application.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.

Claims (21)

1. 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 outputting the processed image to a display module of the Framework layer for display.
2. The method according to claim 1, before outputting the processed image to a display module of the Framework layer for display, further comprising:
and setting a display module for the Framework.
3. The method according to claim 2, wherein setting a display module for the Framework specifically includes:
setting the display module of the HAL as the display module of the Framework.
4. The method according to claim 3, wherein setting the display module of the HAL as the display module of the Framework specifically comprises:
the handle user of the display module of the HAL is modified to a Framework.
5. The method according to claim 2, wherein setting a display module for the Framework specifically comprises:
creating a display module;
and setting the created display module as a display module of the Framework.
6. The method according to claim 1, wherein before triggering the Framework to receive the image acquired by the hardware adaptation layer HAL, further comprising:
acquiring an image preview mode of the camera application, wherein the image preview mode comprises a processing mode and a non-processing mode.
7. The method of claim 6, wherein when the image preview mode is a processing mode, the method further comprises:
hiding a display module of the HAL.
8. The method of claim 6, wherein when the image preview mode is a non-processing mode, the method further comprises:
hiding the display module of the Framework.
9. The method of claim 8, further comprising:
and outputting the image collected by the HAL to a display module corresponding to the HAL for displaying.
10. The method of claim 1, wherein the HAL acquired image comprises a human face; the processed image is an image after beautifying; the processing the image specifically includes:
identifying a human face in the image acquired by the HAL;
and performing face beautifying processing on the face.
11. An image preview device for a camera application, comprising:
the triggering module is used for triggering the Framework to receive the image acquired by the HAL;
the image processing module is used for processing the image to obtain a processed image;
and the first output module is used for outputting the processed image to the display module of the Framework layer for display.
12. The apparatus of claim 11, further comprising:
and the setting module is used for setting a display module for the Framework.
13. The apparatus according to claim 12, wherein the setting module is specifically configured to set the display module of the HAL as the display module of the Framework.
14. The apparatus as claimed in claim 13, wherein the setup module is specifically configured to modify a handle user of the display module of the HAL into a Framework.
15. The apparatus according to claim 12, wherein the setting module specifically includes:
the creation submodule is used for creating a display module;
and the setting submodule is used for setting the created display module as the display module of the Framework.
16. The apparatus of claim 11, further comprising:
the mode acquisition module is used for acquiring an image preview mode of the camera application, wherein the image preview mode comprises a processing mode and a non-processing mode.
17. The apparatus of claim 16, wherein when the image preview mode is a processing mode, the apparatus further comprises:
a first hiding module for hiding the display module of the HAL.
18. The apparatus of claim 16, wherein when the image preview mode is a non-processing mode, the apparatus further comprises:
and the second hiding module is used for hiding the display module of the Framework.
19. The apparatus of claim 18, further comprising:
and the second output module is used for outputting the image acquired by the HAL to the display module corresponding to the HAL for displaying.
20. The apparatus as claimed in claim 11, wherein the HAL acquired images include human faces; the processed image is an image after beautifying; the image processing module specifically comprises:
the recognition submodule is used for recognizing human faces in the image acquired by the HAL;
and the face beautifying submodule is used for carrying out face beautifying treatment on the face.
21. A camera application system, comprising:
an image preview apparatus for a camera application as claimed in any of claims 11 to 20.
CN201510740764.9A 2015-11-04 2015-11-04 Image preview method and device for camera application and camera application system Active CN106657757B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201510740764.9A CN106657757B (en) 2015-11-04 2015-11-04 Image preview method and device for camera application and camera application system
PCT/CN2016/103325 WO2017076199A1 (en) 2015-11-04 2016-10-26 Image preview method and apparatus for camera application, and camera application system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510740764.9A CN106657757B (en) 2015-11-04 2015-11-04 Image preview method and device for camera application and camera application system

Publications (2)

Publication Number Publication Date
CN106657757A CN106657757A (en) 2017-05-10
CN106657757B true CN106657757B (en) 2020-06-09

Family

ID=58661669

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510740764.9A Active CN106657757B (en) 2015-11-04 2015-11-04 Image preview method and device for camera application and camera application system

Country Status (2)

Country Link
CN (1) CN106657757B (en)
WO (1) WO2017076199A1 (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109672884B (en) * 2017-10-13 2022-05-10 斑马智行网络(香港)有限公司 Image hardware coding processing method and device
CN108073399B (en) * 2017-12-28 2021-08-27 奇酷互联网络科技(深圳)有限公司 Camera preview method, device, mobile terminal and computer readable storage medium
CN112770040B (en) * 2019-11-01 2022-05-13 Oppo广东移动通信有限公司 Shooting method and device and computer readable storage medium
CN111565282A (en) * 2020-05-11 2020-08-21 Oppo(重庆)智能科技有限公司 Shooting control processing method, device, equipment and storage medium
CN114520868B (en) * 2020-11-20 2023-05-12 华为技术有限公司 Video processing method, device and storage medium
CN113194211B (en) * 2021-03-25 2022-11-15 深圳市优博讯科技股份有限公司 Control method and system of scanning head
CN113179369B (en) * 2021-04-08 2023-03-21 重庆传音通讯技术有限公司 Shot picture display method, mobile terminal and storage medium
CN115484386B (en) * 2021-06-16 2023-10-31 荣耀终端有限公司 Video shooting method and electronic equipment

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101179660A (en) * 2007-12-12 2008-05-14 北京中星微电子有限公司 Camera video image processing system and method thereof
CN201312356Y (en) * 2008-12-22 2009-09-16 沈逸林 Digital television network media phone set terminal
CN102780892A (en) * 2011-05-09 2012-11-14 株式会社3D诺里 3d image processing method and portable 3d display apparatus implementing the same
CN103593155A (en) * 2013-11-06 2014-02-19 华为终端有限公司 Display frame generation method and terminal equipment
CN103996205A (en) * 2013-02-15 2014-08-20 三星电子株式会社 Method and electronic device for processing object
CN104574260A (en) * 2015-01-09 2015-04-29 青岛海信移动通信技术股份有限公司 Image information generating method and device
CN104657956A (en) * 2015-03-16 2015-05-27 龙旗电子(惠州)有限公司 Method for realizing smart phone picture beautifying function
CN104702909A (en) * 2014-04-17 2015-06-10 杭州海康威视数字技术股份有限公司 Video data processing method and video data processing device

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101909085B1 (en) * 2012-09-28 2018-10-18 삼성전자주식회사 Method for reproducing multiple shutter sound and electric device thereof
CN103279224A (en) * 2013-05-28 2013-09-04 Tcl集团股份有限公司 Processing method and system for operations of touchpad
CN103442172B (en) * 2013-08-15 2017-09-19 Tcl集团股份有限公司 A kind of camera image quality adjusting method, system and mobile terminal based on Android platform
KR20150106719A (en) * 2014-03-12 2015-09-22 삼성전자주식회사 Method for informing shooting location of electronic device and electronic device implementing the same
CN103905901A (en) * 2014-03-24 2014-07-02 珠海全志科技股份有限公司 Video boot method and device and playing equipment based on android system
CN104902177B (en) * 2015-05-26 2018-03-02 广东欧珀移动通信有限公司 A kind of Intelligent photographing method and terminal

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101179660A (en) * 2007-12-12 2008-05-14 北京中星微电子有限公司 Camera video image processing system and method thereof
CN201312356Y (en) * 2008-12-22 2009-09-16 沈逸林 Digital television network media phone set terminal
CN102780892A (en) * 2011-05-09 2012-11-14 株式会社3D诺里 3d image processing method and portable 3d display apparatus implementing the same
CN103996205A (en) * 2013-02-15 2014-08-20 三星电子株式会社 Method and electronic device for processing object
CN103593155A (en) * 2013-11-06 2014-02-19 华为终端有限公司 Display frame generation method and terminal equipment
CN104702909A (en) * 2014-04-17 2015-06-10 杭州海康威视数字技术股份有限公司 Video data processing method and video data processing device
CN104574260A (en) * 2015-01-09 2015-04-29 青岛海信移动通信技术股份有限公司 Image information generating method and device
CN104657956A (en) * 2015-03-16 2015-05-27 龙旗电子(惠州)有限公司 Method for realizing smart phone picture beautifying function

Also Published As

Publication number Publication date
CN106657757A (en) 2017-05-10
WO2017076199A1 (en) 2017-05-11

Similar Documents

Publication Publication Date Title
CN106657757B (en) Image preview method and device for camera application and camera application system
US10110936B2 (en) Web-based live broadcast
WO2017092335A1 (en) Processing method and apparatus for displaying stereoscopic image
CN103139478B (en) A kind of photographic method of major-minor picture real-time rendering
AU2014402162B2 (en) Method and apparatus for setting background of UI control, and terminal
KR101674284B1 (en) Method, device, program and recording medium for image processing
CN106569700B (en) Screenshot method and screenshot device
WO2017032233A1 (en) Image generation method and device
TWI777098B (en) Method, apparatus and electronic device for image processing and storage medium thereof
EP2872963B1 (en) Abstract camera pipeline for uniform cross-device control of image capture and processing
KR101810019B1 (en) Animation data generating method, apparatus, and electronic device
CN111787240A (en) Video generation method, device and computer readable storage medium
CN107748644A (en) A kind of sectional drawing display methods and equipment, terminal and readable storage medium storing program for executing
TWI723119B (en) Image preview method and device for camera application and camera application system
CN112188087A (en) Panoramic video screenshot method and device, storage medium and computer equipment
KR101991401B1 (en) Method and apparatus for displaying augmented reality
CN104516696A (en) Information processing method and electronic device
CN114428573B (en) Special effect image processing method and device, electronic equipment and storage medium
CN104750691A (en) User-defined webpage generation method and user-defined webpage generation device
CN115049572A (en) Image processing method, image processing device, electronic equipment and computer readable storage medium
CN105450938A (en) Information processing method and electronic equipment
JP2014085716A (en) Image editing processing device and computer program
CN111292245A (en) Image processing method and device
US20160284050A1 (en) Display apparatus and display method thereof
CA2931695C (en) Picture fusion method and apparatus

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20201225

Address after: Room 603, 6 / F, Roche Plaza, 788 Cheung Sha Wan Road, Kowloon, China

Patentee after: Zebra smart travel network (Hong Kong) Limited

Address before: A four-storey 847 mailbox in Grand Cayman Capital Building, British Cayman Islands

Patentee before: Alibaba Group Holding Ltd.

TR01 Transfer of patent right