CN111565282A - Shooting control processing method, device, equipment and storage medium - Google Patents

Shooting control processing method, device, equipment and storage medium Download PDF

Info

Publication number
CN111565282A
CN111565282A CN202010394628.XA CN202010394628A CN111565282A CN 111565282 A CN111565282 A CN 111565282A CN 202010394628 A CN202010394628 A CN 202010394628A CN 111565282 A CN111565282 A CN 111565282A
Authority
CN
China
Prior art keywords
beauty
image
shooting
beautifying
display
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.)
Pending
Application number
CN202010394628.XA
Other languages
Chinese (zh)
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.)
Oppo Chongqing Intelligent Technology Co Ltd
Original Assignee
Oppo Chongqing Intelligent Technology Co 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 Oppo Chongqing Intelligent Technology Co Ltd filed Critical Oppo Chongqing Intelligent Technology Co Ltd
Priority to CN202010394628.XA priority Critical patent/CN111565282A/en
Publication of CN111565282A publication Critical patent/CN111565282A/en
Pending legal-status Critical Current

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/63Control of cameras or camera modules by using electronic viewfinders
    • H04N23/631Graphical user interfaces [GUI] specially adapted for controlling image capture or setting capture parameters
    • H04N23/632Graphical user interfaces [GUI] specially adapted for controlling image capture or setting capture parameters for displaying or modifying preview images prior to image capturing, e.g. variety of image resolutions or capturing parameters
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/222Studio circuitry; Studio devices; Studio equipment
    • H04N5/262Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Studio Devices (AREA)

Abstract

The embodiment of the application discloses a shooting control processing method, a shooting control processing device, shooting control equipment and a storage medium, wherein the method comprises the following steps: controlling a terminal display unit to display an operation interface of a target application program in a terminal; when the shooting starting operation aiming at the target application program is detected, controlling a display unit to display a shooting interface; the shooting interface comprises a first image collected by an image collecting unit of the terminal; and when the beautifying starting operation is detected, controlling the display unit to display the second image after the beautifying processing in the shooting interface. Therefore, the terminal controls the display unit to display the shooting interface, displays the image acquired by the image acquisition unit on the shooting interface, and controls the display unit to display the image subjected to the beautifying processing in real time when the beautifying starting operation aiming at the target application program is detected, so that the problem of poor beautifying effect of the shooting function of the target application program is solved.

Description

Shooting control processing method, device, equipment and storage medium
Technical Field
The present application relates to image processing technologies, and in particular, to a shooting control method, apparatus, device, and storage medium.
Background
Currently, third-party Applications (APPs) commonly used in the industry, such as WeChat and microblog, have a beauty function. However, since the third party APP only performs simple beautifying processing, the beautifying effect is single and poor, resulting in a poor experience of the user in using the camera function of the third party APP.
Disclosure of Invention
In order to solve the foregoing technical problem, embodiments of the present application desirably provide a shooting control processing method, apparatus, device, and storage medium, so as to improve a beauty effect of shooting by a third-party APP camera.
In order to achieve the purpose, the technical scheme of the application is realized as follows:
in a first aspect, a shooting control processing method is provided, and the method includes:
controlling a terminal display unit to display an operation interface of a target application program in the terminal;
when the shooting starting operation aiming at the target application program is detected, controlling the display unit to display a shooting interface; the shooting interface comprises a first image collected by an image collecting unit of the terminal;
and when the beautifying starting operation is detected, controlling the display unit to display the second image after the beautifying processing in the shooting interface.
In a second aspect, there is provided a photographing control processing apparatus including:
the display unit is used for displaying the running interface of the target application program in the terminal;
the detection unit is used for controlling the display unit to display a shooting interface when the shooting starting operation aiming at the target application program is detected; the shooting interface comprises a first image collected by an image collecting unit of the terminal;
the detection unit is further used for controlling the display unit to display the second image after the beauty treatment in the shooting interface when the beauty starting operation is detected.
In a third aspect, there is provided a shooting control processing apparatus including: a processor and a memory configured to store a computer program operable on the processor, wherein the processor is configured to perform the steps of the aforementioned method when executing the computer program.
In a fourth aspect, a computer-readable storage medium is provided, on which a computer program is stored, wherein the computer program, when executed by a processor, implements the steps of the aforementioned method.
By adopting the technical scheme, the terminal controls the display unit to display the shooting interface, displays the image acquired by the image acquisition unit on the shooting interface, and controls the display unit to display the image after the beauty treatment in real time when the beauty starting operation aiming at the target application program is detected, so that the problem of poor beauty effect of the shooting function of the target application program is solved.
Drawings
Fig. 1 is a first flowchart of a shooting control processing method according to an embodiment of the present application;
FIG. 2 is a schematic view of an operation interface for displaying a shooting function in an embodiment of the present application;
fig. 3 is a schematic view of a first operation interface displayed after a shooting start operation in the embodiment of the present application;
fig. 4 is a schematic view of a second operation interface displayed after a shooting start operation in the embodiment of the present application;
fig. 5 is a schematic view of a third operation interface displayed after a shooting start operation in the embodiment of the present application;
FIG. 6 is a schematic view of a beauty adjustment identifier operating interface of a beauty parameter in an embodiment of the present application;
fig. 7 is a second flowchart of the photographing control processing method according to the embodiment of the present application;
fig. 8 is a schematic diagram of a shooting control processing flow for APP1 in the embodiment of the present application;
fig. 9 is a schematic diagram of a composition structure of a photographing control processing apparatus in an embodiment of the present application;
fig. 10 is a schematic diagram of a composition structure of the photographing control processing apparatus in the embodiment of the present application.
Detailed Description
So that the manner in which the features and elements of the present embodiments can be understood in detail, a more particular description of the embodiments, briefly summarized above, may be had by reference to embodiments, some of which are illustrated in the appended drawings.
At present, a beautifying function or a single beautifying function is not added in the shooting function of a third-party APP commonly used in the industry, such as WeChat, microblog and the like, and the beautifying function carried by the third-party APP is usually only subjected to simple whitening treatment and cannot be subjected to special effects of buffing, face thinning and the like, so that the brought beautifying effect is poor, the user experience is not high, and the market acceptance is low.
Therefore, the application provides a shooting control processing method, and particularly relates to a method for performing real-time beautifying processing on a shot image of a third-party APP.
The specific implementation method comprises the following steps:
fig. 1 is a schematic flow chart of a first process of a shooting control processing method in an embodiment of the present application, and as shown in fig. 1, the shooting control processing method may specifically include:
step 101: controlling a terminal display unit to display an operation interface of a target application program in the terminal;
it should be noted that, the terminal is used as a platform for bearing the target application program, and operations such as controlling the operation and display of the target application program are all performed by the terminal. When the target application program runs in the terminal, the running interface of the target application program needs to be displayed on the terminal screen by the display unit of the terminal.
The functions of the target application mentioned herein at least include a shooting function, that is, the target application can call the image capturing unit of the terminal to realize the shooting function.
Illustratively, the target application APP1 is a third-party application configured in the terminal, for example, APP1 may belong to a social application, and at the same time, has a shooting function. When a chat page with a certain person is opened, the whole chat running interface is displayed on a terminal screen by a display unit of the terminal; fig. 2 is an operation interface showing a shooting function in the embodiment of the present application, and as shown in fig. 2, the operation interface includes a return main page key 20, a contact information is a certain person 21, other functions 22, a voice key 23, an expression management key 24, and an additional function key 25; the additional function keys 25 at least comprise a shooting 251, and also comprise an album 250, a video call 252, a red envelope 253, a transfer 254 and a position 255.
Step 102: when the shooting starting operation aiming at the target application program is detected, controlling the display unit to display a shooting interface; the shooting interface comprises a first image collected by an image collecting unit of the terminal;
it should be noted that when the terminal detects that the user starts the shooting operation of the target application, the display unit of the control terminal displays the shooting interface. The shooting interface at least comprises an image display area, a shooting key, a main page returning key, a camera turning key and the like.
The display image area is used for displaying a first image acquired by an image acquisition unit of the terminal; the first image may be a video or a photograph.
Illustratively, the shooting 251 in fig. 2 is used to start a shooting interface, for example, a user clicks the shooting 251 to indicate that a shooting start operation is triggered, and then a first running interface after the shooting start operation shown in fig. 3 is displayed on a terminal screen, as shown in fig. 3, the first running interface mainly includes a display image area 30, a flip camera key 31, a return to home page key 32, and a shooting key 33. When the shooting key 33 is pressed by a finger for a long time, the shooting key is used for shooting a video; a finger lightly presses the shooting key 33 for taking a picture; the finger leaves the shooting key 33 or stops shooting the video or the picture without clicking the shooting key 33, or does not start shooting yet.
Step 103: and when the beautifying starting operation is detected, controlling the display unit to display the second image after the beautifying processing in the shooting interface.
The beauty starting operation can be triggered by a key, a gesture, voice and other triggering modes.
In some embodiments, the method specifically comprises: detecting a control operation aiming at a beauty starting identifier in the running interface, and generating a beauty starting instruction; and responding to the beautifying starting instruction, and performing beautifying processing on the image acquired by the image acquisition unit by adopting a preset beautifying processing algorithm to obtain the second image.
It should be noted that, after the user performs a control operation, such as a touch operation, on the beauty starting identifier, and the terminal detects the control operation of the beauty starting identifier, the user performs a beauty process on the acquired image through a preset beauty processing algorithm to obtain a second image.
In practical application, the original shooting function of the target application program does not have the special beauty effect or the special beauty effect is not good, if a user has the beauty requirement, the beauty starting identifier needs to be controlled, and then the beauty effect of the image shot by the original shooting function is achieved. Here, the beauty starting flag may be a beauty starting selection box or a beauty starting flag button.
Illustratively, after the terminal detects that the shooting function is started, the terminal control display unit may display a beauty starting selection box (i.e. beauty starting identifier) in the shooting interface, and the contents of the beauty starting selection box include: "is beauty sign activated? "yes" and "no", when the user clicks "yes", it indicates that the image taken needs to be beautified. The beauty starting selection frame can be arranged at any position above, in the middle or below the shooting interface.
Or, after the terminal detects that the shooting function is started, the terminal controls the display unit to display a beauty starting identification key in the shooting interface, and before needing to perform beauty processing on the shot image, the user can directly click the beauty starting identification key. The beautifying starting identification key can be arranged at the lower right corner of the shooting interface or any other position of the shooting interface.
Exemplarily, fig. 4 is a second operation interface displayed after the shooting start operation, as shown in fig. 4, a beauty start selection box 34 is displayed at the center of the shooting interface on the basis of fig. 3, and the contents of the beauty start selection box 34 mainly include: "is beauty sign activated? "341," yes "342," no "343; when yes 342 is clicked, the fact that the shot image needs to be beautified is shown; clicking 'no' 343 indicates that the photographed image does not need to be beautified; after clicking yes 342 or no 343, the beauty starting selection box 34 is directly cancelled, and the shooting interface is not obstructed.
Fig. 5 is a third operation interface displayed after the shooting start operation, and as shown in fig. 5, a beauty start identification key 35 is displayed at the lower right corner of the shooting interface on the basis of fig. 3, and when the user clicks the beauty start identification key, it indicates that the shot image needs to be beautified.
In practical application, in addition to the above-mentioned triggering mode through the key, the beautifying processing operation may also be triggered through a triggering mode such as voice or gesture operation. Specifically, after the terminal detects that the shooting function of the target application program is started, a voice input box is displayed on the shooting interface, the user clicks the voice input box to say that the 'beauty treatment starting operation' is performed, the terminal can control the target application program to call a pre-stored preset beauty treatment algorithm, and the collected image is beautified based on the preset beauty treatment algorithm to obtain a second image.
Or a related operation gesture of 'starting the beauty treatment operation' is set in advance, wherein the gesture can be acquired through a camera or a touch interface; the user directly triggers the beautifying processing operation through gesture operation on the shooting interface, then the terminal control target application program calls a pre-stored preset beautifying processing algorithm, and the collected image is beautified based on the preset beautifying processing algorithm to obtain a second image.
In some embodiments, the performing, in response to the beauty starting instruction, a preset beauty processing algorithm to perform beauty processing on the image acquired by the image acquisition unit to obtain the second image includes: responding to the beautifying starting instruction, and acquiring beautifying adjustment information; wherein, the beautifying adjustment information comprises at least one beautifying parameter; and performing beauty treatment on the image acquired by the image acquisition unit based on the beauty adjustment information and the preset beauty treatment algorithm to obtain the second image.
It should be noted that, after responding to the beauty starting instruction, the terminal acquires beauty adjusting information; wherein, the beauty adjustment information may include: buffing, face thinning, eye enlarging, etc.; and the terminal performs beauty treatment on the acquired image according to the acquired beauty adjustment information and a pre-stored preset beauty treatment algorithm to obtain a second image.
In some embodiments, the obtaining of the beauty adjustment information in response to the beauty starting instruction includes: responding to the beautifying starting instruction, and controlling the display unit to display a beautifying parameter adjustment identifier on the shooting interface; and acquiring the beauty adjustment information set by the user based on the beauty parameter adjustment identifier.
It should be noted that, after responding to the beauty starting instruction, the beauty parameter adjustment identifier is displayed in the shooting interface; and the user sets the corresponding beauty parameter adjustment identification according to the requirement, and the beauty adjustment information can be obtained.
In practical application, after responding to a beauty starting instruction, displaying at least one beauty parameter in a shooting interface, wherein any one of the beauty parameters corresponds to the respective beauty parameter adjustment identifier; and the user selects the target beauty parameters according to the requirements, and respectively adjusts the beauty parameters of the beauty parameter marks corresponding to the target beauty parameters, thereby acquiring the required beauty adjustment information. Wherein the target beauty parameter comprises at least one beauty parameter of the image.
In practical application, before the beauty parameter adjustment identifier is adjusted, the terminal processes the acquired image with default beauty parameter information to obtain a second image and displays the second image. If the user does not adjust the beauty parameters by himself, the terminal can continuously use the default beauty parameters. The default beauty parameter may be a beauty parameter set by the terminal factory.
For example, fig. 6 is a beauty adjustment identifier operation interface of the beauty parameter, that is, by clicking "yes" 342 in the beauty start selection box 34 or clicking the beauty start identifier button 35, the operation interface of the beauty adjustment identifier of the beauty parameter can be skipped, as shown in fig. 6, the beauty parameter is at least divided into beauty series such as beauty 36, fine adjustment 37, beauty 38, and the like, wherein the beauty parameter in the fine adjustment 37 series at least includes skin polishing 371, thin face 372, large eye 373, and the like, after the beauty parameter in fig. 6 is polished, the beauty parameter adjustment identifier 39 is displayed above the beauty parameter, and the user adjusts the beauty parameter adjustment identifier 39 as required. The same is true for other cosmetic parameter adjustments, which are not further stated herein. In addition, the display interface of fig. 6 further includes a display image area 30, a flip camera key 31, and a return to home page key 32.
Here, the execution subject of steps 101 to 103 may be a processor of the terminal. Here, the terminal may be a mobile terminal or a fixed terminal having a photographing function.
By adopting the technical scheme, the terminal controls the display unit to display the shooting interface, displays the image acquired by the image acquisition unit on the shooting interface, and controls the display unit to display the image after the beauty treatment in real time when the beauty starting operation aiming at the target application program is detected, so that the problem of poor beauty effect of the shooting function of the target application program is solved.
On the basis of the foregoing embodiment, the present application provides another shooting control processing method, fig. 7 is a second flowchart of the shooting control processing method in the embodiment of the present application, and as shown in fig. 7, the shooting control processing method may specifically include:
step 201: controlling a terminal display unit to display an operation interface of a target application program in the terminal;
it should be noted that the terminal is used as a platform for bearing the target application program, and operations such as running interface and display of the target application program are all performed by the terminal. When the target application program runs in the terminal, the running interface of the target application program needs to be displayed on the terminal screen by the display unit of the terminal.
The functions of the target application mentioned herein at least include a shooting function, that is, the target application can call the image capturing unit of the terminal to realize the shooting function.
Step 202: when the shooting starting operation is detected, the target application program is controlled to run a first camera configuration file configured by the target application program so as to control an image acquisition unit to acquire a first image, and the first image is displayed on the shooting interface through the display unit;
it should be noted that, when the target application program implements the shooting function, the first camera configuration file configured by the target application program is run by default, and the first camera configuration file itself is not added with the beauty function or is single in beauty function, so that the acquired first image is an image without a beauty effect or is single in beauty effect, so that the brought beauty effect is poor, the user experience is not high, and the market acceptance is low.
In practical application, in order to meet the requirement of a user on the beauty special effect, when the terminal detects a shooting starting operation, a beauty starting identifier is displayed in a shooting interface, and the beauty starting identifier is used for starting a beauty processing function. Here, the beauty starting flag may be a beauty starting selection box or a beauty starting flag button.
Illustratively, the terminal control display unit may display a beauty starting selection box (i.e. beauty starting identifier) in the shooting interface, and the contents of the beauty starting selection box include: "is beauty sign activated? "yes" and "no", when the user clicks "yes", it indicates that the image taken needs to be beautified. The beauty starting selection frame can be arranged at any position above, in the middle or below the shooting interface.
Or, after the terminal detects that the shooting function is started, the terminal controls the display unit to display a beauty starting identification key in the shooting interface, and before needing to perform beauty processing on the shot image, the user can directly click the beauty starting identification key. The beautifying starting identification key can be arranged at the lower right corner of the shooting interface or any other position of the shooting interface.
The beautifying starting selection box or the beautifying starting identification key does not belong to the target application program, the beautifying starting selection box or the beautifying starting identification key is set by the terminal for the target application program and is mainly used for starting a beautifying processing algorithm to perform beautifying effect processing on the image acquired by the third-party APP through the image acquisition unit of the terminal.
For example, taking a third party APP1 as an example, APP1 may belong to a social application and simultaneously have a shooting function, and in a normal case, when the terminal detects that the shooting function of APP1 is started, based on userase (first camera profile) of APP1, an image capturing unit of the terminal is used to capture an original image, where the original image is an image to which no beauty effect is added or a single beauty effect is applied.
Step 203: and when the beauty starting operation is detected, controlling a second camera configuration file configured by the target application program running terminal to control the image acquisition unit to acquire a second image, and displaying the second image on the shooting interface through the display unit.
It should be noted that when the terminal detects that the beauty operation is started, the target application no longer runs the first camera configuration file of the terminal, but calls the second camera configuration file reconfigured by the terminal, controls the image acquisition unit to acquire the second image based on the second camera configuration file, and displays the second image on the shooting interface through the display unit of the terminal.
In some embodiments, when the beauty-starting operation is detected, the method further includes controlling the display unit to display the second image after the beauty processing in the shooting interface, and before the method further includes: and establishing a second camera configuration file for the terminal based on the preset beauty processing algorithm, wherein the second camera configuration file performs beauty processing on the image acquired by the image acquisition unit when running.
It should be noted that the second camera configuration file is reconfigured on the basis of the first camera configuration file according to the user's requirements for the beauty function. Specifically, the first camera configuration file is adapted to a related file loaded with a preset beauty treatment algorithm, and then a corresponding second camera configuration file is obtained. Wherein different second camera configuration files may be adapted for different third party APPs 1.
When the terminal detects the beauty starting operation, the second camera configuration file is operated, the target application program firstly collects images through the image collecting unit of the terminal, then a preset beauty processing algorithm is called, and the collected images are subjected to beauty processing to obtain second images.
In some embodiments, the method specifically comprises: when the beautifying starting operation is detected, opening a beautifying enabling switch of the terminal; when the target application program is controlled to run a first camera configuration file of the target application program, if the beauty enabling switch is detected to be turned on, the target application program is controlled to run the second camera configuration file so as to control the image acquisition unit to acquire an image, and the acquired image is subjected to beauty treatment to obtain a second image; and controlling the display unit to display the second image on the shooting interface.
It should be noted that, if the current target application runs the first camera configuration file of its own, the terminal detects that the beauty enable switch is turned on, which indicates that the collected image needs to be beautified, and the terminal controls the target application to call the second camera configuration file configured by the terminal, so as to control the image collection unit to collect the second image after the beauty processing, and control the display unit to display the second image on the shooting interface.
Illustratively, the beauty enabling switch defaults to 0, which means that the beauty enabling switch is in a closed state, i.e. the target application program runs the first camera configuration file of the target application program by default; when the beauty enabling switch is set to be 1, the beauty enabling switch is in an opening state, and the target application program calls a second camera configuration file configured by the terminal.
That is, the terminal also sets a beauty enable switch for the third party APP1 to control the third party APP1 to select whether to run the first camera configuration file or the second camera configuration file to implement the shooting function.
Taking a third party APP1 as an example, APP1 may belong to social applications, and meanwhile has a shooting function, and a shooting control processing method is specifically described, where fig. 8 is a flowchart of shooting control processing for APP1 in the embodiment of the present application, and as shown in fig. 8, specific steps are as follows:
step 301: obtaining an APP1 package name;
the method adopts a Hardware Adaptation Layer (HAL) to realize the special effect processing of beauty of the shot image. The HAL stores libraries of program code for different third party APPs 1, including those related to APP 1. Therefore, to realize the shooting function of APP1, the APP1 package name needs to be acquired first.
Step 302: enabling a switch aiming at a preview node;
the method comprises the steps of acquiring an APP1 package name in a HAL, reading an original usecast of an APP1, and acquiring an original image through a terminal image acquisition unit on the basis of the original usecast, wherein the original image is an image without a beautifying effect or an image with a poor beautifying effect.
When the terminal detects the beautifying starting operation, switching enabling is carried out on the preview node; specifically, a preview node is adapted to the original usecast of the APP1 to obtain a new usecast (i.e., a second camera configuration file); wherein, the preview node is loaded with a preset beauty treatment algorithm.
Step 303: reading the beauty parameters and transmitting the parameters into a preset beauty processing algorithm;
the user can set the required beauty parameters and input the original images shot by the original usecast of the APP1 into the adaptive preset beauty processing algorithm.
Step 304: and performing beautifying processing on each frame of original image to obtain a beautified image.
And carrying out a preset beautifying processing algorithm on each frame of original image to obtain a corresponding frame of image subjected to beautifying processing.
By adopting the technical scheme, the terminal controls the display unit to display the shooting interface, displays the image acquired by the image acquisition unit on the shooting interface, and controls the display unit to display the image after the beauty treatment in real time when the beauty starting operation aiming at the target application program is detected, so that the problem of poor beauty effect of the shooting function of the target application program is solved.
An embodiment of the present application further provides a shooting control processing apparatus, as shown in fig. 9, the apparatus includes:
a display unit 901 configured to display an operation interface of a target application;
a detection unit 902, configured to control the display unit to display a shooting interface when detecting a shooting start operation for the target application; the shooting interface comprises a first image collected by an image collecting unit;
the detecting unit 902 is further configured to control the displaying unit to display the second image after the beauty processing in the shooting interface when the beauty starting operation is detected.
In some embodiments, the apparatus comprises: the detecting unit 902 is further configured to detect a control operation for a beauty starting identifier in the running interface, and generate a beauty starting instruction; and responding to the beautifying starting instruction, and performing beautifying processing on the image acquired by the image acquisition unit by adopting a preset beautifying processing algorithm to obtain the second image.
In some embodiments, the apparatus further comprises: the processing unit is used for responding to the beautifying starting instruction and acquiring beautifying adjustment information; wherein, the beautifying adjustment information comprises at least one beautifying parameter; and performing beauty treatment on the image acquired by the image acquisition unit based on the beauty adjustment information and the preset beauty treatment algorithm to obtain the second image.
In some embodiments, the apparatus further comprises: the acquisition unit is used for responding to the beauty starting instruction and controlling the display unit to display a beauty parameter adjustment identifier on the shooting interface; and acquiring the beauty adjustment information set by the user based on the beauty parameter adjustment identifier.
In some embodiments, the apparatus comprises: the detection unit 902 is further configured to, when detecting that the shooting start operation is performed, control the target application to run a first camera configuration file configured by the target application, so as to control the image acquisition unit to acquire the first image, and display the first image on the shooting interface through the display unit.
In some embodiments, the apparatus further comprises: and the establishing unit is used for controlling the display unit to establish a second camera configuration file for the terminal based on the beauty processing algorithm before the second image after the beauty processing is displayed in the shooting interface when the beauty starting operation is detected, wherein the second camera configuration file performs beauty processing on the image acquired by the image acquisition unit when the second camera configuration file runs.
In some embodiments, the apparatus comprises: the detecting unit 902 is further configured to turn on a beauty enabling switch of the terminal when a beauty starting operation is detected; when the target application program is controlled to run a first camera configuration file of the target application program, if the beauty enabling switch is detected to be turned on, the target application program is controlled to run the second camera configuration file so as to control the image acquisition unit to acquire an image, and the acquired image is subjected to beauty treatment to obtain a second image; and controlling the display unit to display the second image on the shooting interface.
By adopting the technical scheme, the terminal controls the display unit to display the shooting interface, displays the image acquired by the image acquisition unit on the shooting interface, and controls the display unit to display the image after the beauty treatment in real time when the beauty starting operation aiming at the target application program is detected, so that the problem of poor beauty effect of the shooting function of the target application program is solved.
An embodiment of the present application also provides a shooting control processing apparatus, as shown in fig. 10, including: a processor 1001 and a memory 1002 configured to store a computer program capable of running on the processor; wherein the processor 1001 is configured to execute the method steps in the previous embodiments when running the computer program. Of course, in actual practice, the various components of the device are coupled together by a bus system 1003, as shown in FIG. 10. It will be appreciated that the bus system 1003 is used to enable communications among these components. The bus system 1003 includes a power bus, a control bus, and a status signal bus, in addition to the data bus. But for clarity of illustration the various buses are labeled as bus system 1003 in figure 10.
In practical applications, the processor may be at least one of an Application Specific Integrated Circuit (ASIC), a Digital Signal Processing Device (DSPD), a Programmable Logic Device (PLD), a Field Programmable Gate Array (FPGA), a controller, a microcontroller, and a microprocessor. It is understood that the electronic devices for implementing the above processor functions may be other devices, and the embodiments of the present application are not limited in particular.
The Memory may be a volatile Memory (volatile Memory), such as a Random-Access Memory (RAM); or a non-volatile Memory (non-volatile Memory), such as a Read-Only Memory (ROM), a flash Memory (flash Memory), a Hard Disk (HDD), or a Solid-State Drive (SSD); or a combination of the above types of memories and provides instructions and data to the processor.
The embodiment of the application also provides a computer readable storage medium for storing the computer program.
Optionally, the computer-readable storage medium may be applied to any one of the methods in the embodiments of the present application, and the computer program enables a computer to execute corresponding processes implemented by a processor in each method in the embodiments of the present application, which is not described herein again for brevity.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described device embodiments are merely illustrative, for example, the division of the unit is only a logical functional division, and there may be other division ways in actual implementation, such as: multiple units or components may be combined, or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the coupling, direct coupling or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection between the devices or units may be electrical, mechanical or other forms.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed on a plurality of network units; some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, all the functional units in the embodiments of the present invention may be integrated into one processing module, or each unit may be separately used as one unit, or two or more units may be integrated into one unit; the integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit. Those of ordinary skill in the art will understand that: all or part of the steps for implementing the method embodiments may be implemented by hardware related to program instructions, and the program may be stored in a computer readable storage medium, and when executed, the program performs the steps including the method embodiments; and the aforementioned storage medium includes: a mobile storage device, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The methods disclosed in the several method embodiments provided in the present application may be combined arbitrarily without conflict to obtain new method embodiments.
Features disclosed in several of the product embodiments provided in the present application may be combined in any combination to yield new product embodiments without conflict.
The features disclosed in the several method or apparatus embodiments provided in the present application may be combined arbitrarily, without conflict, to arrive at new method embodiments or apparatus embodiments.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.

Claims (10)

1. A shooting control processing method, characterized by comprising:
controlling a terminal display unit to display an operation interface of a target application program in the terminal;
when the shooting starting operation aiming at the target application program is detected, controlling the display unit to display a shooting interface; the shooting interface comprises a first image collected by an image collecting unit of the terminal;
and when the beautifying starting operation is detected, controlling the display unit to display the second image after the beautifying processing in the shooting interface.
2. The method according to claim 1, wherein controlling the display unit to display the second image after beauty treatment in the shooting interface when the beauty starting operation is detected comprises:
detecting a control operation aiming at a beauty starting identifier in the running interface, and generating a beauty starting instruction;
and responding to the beautifying starting instruction, and performing beautifying processing on the image acquired by the image acquisition unit by adopting a preset beautifying processing algorithm to obtain the second image.
3. The method according to claim 2, wherein in response to the beauty initiating instruction, performing beauty processing on the image acquired by the image acquisition unit by using a preset beauty processing algorithm to obtain the second image comprises:
responding to the beautifying starting instruction, and acquiring beautifying adjustment information; wherein, the beautifying adjustment information comprises at least one beautifying parameter;
and performing beauty treatment on the image acquired by the image acquisition unit based on the beauty adjustment information and the preset beauty treatment algorithm to obtain the second image.
4. The method according to claim 3, wherein the obtaining beauty adjustment information in response to the beauty initiating instruction comprises:
responding to the beautifying starting instruction, and controlling the display unit to display a beautifying parameter adjustment identifier on the shooting interface;
and acquiring the beauty adjustment information set by the user based on the beauty parameter adjustment identifier.
5. The method of claim 1,
when the shooting starting operation aiming at the target application program is detected, controlling the display unit to display a shooting interface, wherein the shooting starting operation comprises the following steps:
and when the shooting starting operation is detected, the target application program is controlled to run a first camera configuration file configured by the target application program so as to control the image acquisition unit to acquire the first image, and the first image is displayed on the shooting interface through the display unit.
6. The method according to claim 5, wherein when the beauty starting operation is detected, the display unit is controlled to display the second image after beauty processing in the shooting interface, and the method further comprises:
and establishing a second camera configuration file for the terminal based on the preset beauty processing algorithm, wherein the second camera configuration file performs beauty processing on the image acquired by the image acquisition unit when running.
7. The method of claim 6,
when the beautifying starting operation is detected, controlling the display unit to display the second image after the beautifying processing in the shooting interface, including:
when the beautifying starting operation is detected, opening a beautifying enabling switch of the terminal;
when the target application program is controlled to run a first camera configuration file of the target application program, if the beauty enabling switch is detected to be turned on, the target application program is controlled to run the second camera configuration file so as to control the image acquisition unit to acquire an image, and the acquired image is subjected to beauty treatment to obtain a second image;
and controlling the display unit to display the second image on the shooting interface.
8. A shooting control processing apparatus characterized by comprising:
the display unit is used for displaying the running interface of the target application program;
the detection unit is used for controlling the display unit to display a shooting interface when the shooting starting operation aiming at the target application program is detected; the shooting interface comprises a first image collected by an image collecting unit;
the detection unit is further used for controlling the display unit to display the second image after the beauty treatment in the shooting interface when the beauty starting operation is detected.
9. A shooting control processing apparatus characterized by comprising: a processor and a memory configured to store a computer program capable of running on the processor,
wherein the processor is configured to perform the steps of the method of any one of claims 1 to 7 when running the computer program.
10. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 7.
CN202010394628.XA 2020-05-11 2020-05-11 Shooting control processing method, device, equipment and storage medium Pending CN111565282A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010394628.XA CN111565282A (en) 2020-05-11 2020-05-11 Shooting control processing method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010394628.XA CN111565282A (en) 2020-05-11 2020-05-11 Shooting control processing method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN111565282A true CN111565282A (en) 2020-08-21

Family

ID=72070913

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010394628.XA Pending CN111565282A (en) 2020-05-11 2020-05-11 Shooting control processing method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111565282A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113132641A (en) * 2021-04-23 2021-07-16 北京达佳互联信息技术有限公司 Shooting control method and device, electronic equipment and storage medium
CN113220446A (en) * 2021-03-26 2021-08-06 西安神鸟软件科技有限公司 Image or video data processing method and terminal equipment
CN113645384A (en) * 2021-07-30 2021-11-12 上海商汤临港智能科技有限公司 Image information processing method, device, equipment and storage medium
CN113923355A (en) * 2021-09-30 2022-01-11 上海商汤临港智能科技有限公司 Vehicle, image shooting method, device, equipment and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8937667B2 (en) * 2011-10-27 2015-01-20 Panasonic Intellectual Property Management Co., Ltd. Image communication apparatus and imaging apparatus
CN106657757A (en) * 2015-11-04 2017-05-10 阿里巴巴集团控股有限公司 Image preview method of camera application, apparatus and camera application system thereof
CN106775902A (en) * 2017-01-25 2017-05-31 北京奇虎科技有限公司 A kind of method and apparatus of image procossing, mobile terminal
CN108304237A (en) * 2017-12-29 2018-07-20 维沃移动通信有限公司 A kind of image processing method and device, mobile terminal of mobile terminal
TW201828256A (en) * 2017-01-20 2018-08-01 阿里巴巴集團服務有限公司 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
CN110113483A (en) * 2019-04-19 2019-08-09 华为技术有限公司 Use the powerful method of the increasing of electronic equipment and relevant apparatus
CN110213486A (en) * 2019-06-04 2019-09-06 深圳传音控股股份有限公司 Image capturing method, terminal and computer readable storage medium
CN110572575A (en) * 2019-09-20 2019-12-13 三星电子(中国)研发中心 camera shooting control method and device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8937667B2 (en) * 2011-10-27 2015-01-20 Panasonic Intellectual Property Management Co., Ltd. Image communication apparatus and imaging apparatus
CN106657757A (en) * 2015-11-04 2017-05-10 阿里巴巴集团控股有限公司 Image preview method of camera application, apparatus and camera application system thereof
TW201828256A (en) * 2017-01-20 2018-08-01 阿里巴巴集團服務有限公司 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
CN106775902A (en) * 2017-01-25 2017-05-31 北京奇虎科技有限公司 A kind of method and apparatus of image procossing, mobile terminal
CN108304237A (en) * 2017-12-29 2018-07-20 维沃移动通信有限公司 A kind of image processing method and device, mobile terminal of mobile terminal
CN110113483A (en) * 2019-04-19 2019-08-09 华为技术有限公司 Use the powerful method of the increasing of electronic equipment and relevant apparatus
CN110213486A (en) * 2019-06-04 2019-09-06 深圳传音控股股份有限公司 Image capturing method, terminal and computer readable storage medium
CN110572575A (en) * 2019-09-20 2019-12-13 三星电子(中国)研发中心 camera shooting control method and device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113220446A (en) * 2021-03-26 2021-08-06 西安神鸟软件科技有限公司 Image or video data processing method and terminal equipment
CN113132641A (en) * 2021-04-23 2021-07-16 北京达佳互联信息技术有限公司 Shooting control method and device, electronic equipment and storage medium
CN113645384A (en) * 2021-07-30 2021-11-12 上海商汤临港智能科技有限公司 Image information processing method, device, equipment and storage medium
WO2023005181A1 (en) * 2021-07-30 2023-02-02 上海商汤智能科技有限公司 Image information processing method and apparatus, and device, vehicle, storage medium and computer program product
CN113923355A (en) * 2021-09-30 2022-01-11 上海商汤临港智能科技有限公司 Vehicle, image shooting method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN111565282A (en) Shooting control processing method, device, equipment and storage medium
EP3661187B1 (en) Photography method and mobile terminal
EP3076659B1 (en) Photographing apparatus, control method thereof, and non-transitory computer-readable recording medium
KR102610013B1 (en) An apparatus for providinng privacy protection and method thereof
CN106060406B (en) Photographing method and mobile terminal
RU2630167C1 (en) Method and device for switching colour range mode
CN106454086B (en) Image processing method and mobile terminal
CN111314617B (en) Video data processing method and device, electronic equipment and storage medium
CN112135046A (en) Video shooting method, video shooting device and electronic equipment
CN112770059B (en) Photographing method and device and electronic equipment
CN104869308A (en) Picture taking method and device
CN104866523A (en) Page display method and device
CN113794834B (en) Image processing method and device and electronic equipment
CN105426079A (en) Picture brightness adjustment method and apparatus
CN111669495B (en) Photographing method, photographing device and electronic equipment
US10412307B2 (en) Electronic device and image display method
CN107507128B (en) Image processing method and apparatus
CN112308864A (en) Image processing method and device, electronic equipment and storage medium
CN109104633B (en) Video screenshot method and device, storage medium and mobile terminal
CN109729270A (en) A kind of control method, device and electronic equipment
CN111222041A (en) Shooting resource data acquisition method and device, electronic equipment and storage medium
CN108124094A (en) The switching method and device of a kind of exposal model
CN116368813A (en) Shooting method and terminal equipment
KR20210133104A (en) Method and device for shooting image, and storage medium
CN114418865A (en) Image processing method, device, equipment and storage medium

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200821