CN109257538A - Camera control method and relevant apparatus - Google Patents

Camera control method and relevant apparatus Download PDF

Info

Publication number
CN109257538A
CN109257538A CN201811052623.8A CN201811052623A CN109257538A CN 109257538 A CN109257538 A CN 109257538A CN 201811052623 A CN201811052623 A CN 201811052623A CN 109257538 A CN109257538 A CN 109257538A
Authority
CN
China
Prior art keywords
facial image
display screen
electronic equipment
face
camera
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
CN201811052623.8A
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 CN201811052623.8A priority Critical patent/CN109257538A/en
Publication of CN109257538A publication Critical patent/CN109257538A/en
Pending legal-status Critical Current

Links

Classifications

    • 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
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/0202Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
    • H04M1/026Details of the structure or mounting of specific components
    • H04M1/0264Details of the structure or mounting of specific components for a camera module assembly
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/0202Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
    • H04M1/026Details of the structure or mounting of specific components
    • H04M1/0266Details of the structure or mounting of specific components for a display module assembly
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/52Details of telephonic subscriber devices including functional features of a camera

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • User Interface Of Digital Computer (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

The embodiment of the present application discloses a kind of camera control method and relevant apparatus, applied to electronic equipment, the electronic equipment includes a display screen and two display screens, one display location is in first face of electronic equipment, two display location, second face opposite in the electronic equipment and first face, the described method includes: controlling the facial image that a display screen shows collected user when detecting that the electronic equipment is in photographing mode;When detecting the facial image is second camera acquisition, controls two display screen and show and the associated picture material of the facial image, wherein the second camera is located at second face;When receiving photographing instruction, the facial image is shot by the second camera.The embodiment of the present application is conducive to improve satisfaction of the user to the facial image taken.

Description

Camera control method and relevant apparatus
Technical field
This application involves technical field of mobile terminals, and in particular to a kind of camera control method and relevant apparatus.
Background technique
With a large amount of popularization and applications of the mobile terminals such as smart phone, smart phone can support using more and more, Function is stronger and stronger, and smart phone develops towards diversification, personalized direction, becomes indispensable electricity in user's life Sub- articles.To improve the experience that user uses smart phone, mobile phone screen is also increasing, and screen accounting is higher and higher, also gradually Begin to use double-sided screen, Double-face-screen mobile phone has one piece of main display, can be touching display screen, while there are also one piece of auxiliary displays Screen, can be touching display screen may not be touching display screen.
Summary of the invention
The embodiment of the present application provides a kind of camera control method and relevant apparatus, is conducive to improve user to the photograph of shooting The satisfaction of piece.
In a first aspect, the embodiment of the present application provide a kind of electronic equipment, including a display screen, two display screens, memory and Processor, a display location is in first face of electronic equipment, and two display location is in the electronic equipment and described The second opposite face of first face, wherein
One display screen, for showing the facial image of collected user;
Two display screen, for showing and the associated picture material of the facial image;
The memory, for storing the facial image;
The processor, for when detecting that the electronic equipment is in photographing mode, controlling the display screen display Show the facial image of collected user;And for controlling when detecting the facial image is second camera acquisition Two display screen is shown and the associated picture material of the facial image, wherein the second camera is located at described second Face;And for shooting the facial image by the second camera when receiving photographing instruction.
Second aspect, the embodiment of the present application provide a kind of camera control method, are applied to electronic equipment, described
Two display location, second face opposite in the electronic equipment and first face, which comprises
When detecting that the electronic equipment is in photographing mode, controls a display screen and show collected user's Facial image;
When detecting the facial image is second camera acquisition, controls two display screen and show and the face The associated picture material of image, wherein the second camera is located at second face;
When receiving photographing instruction, the facial image is shot by the second camera.
The third aspect, the embodiment of the present application provide a kind of photographing control device, including display unit, processing unit and take pictures Unit, wherein
The display unit, for controlling a display screen when detecting that the electronic equipment is in photographing mode Show the facial image of collected user;
The processing unit, for it is aobvious to control described two when detecting the facial image is second camera acquisition Display screen is shown and the associated picture material of the facial image, wherein the second camera is located at second face;
The photographing unit, for shooting the face figure by the second camera when receiving photographing instruction Picture.
Fourth aspect, the embodiment of the present application provide a kind of electronic equipment, including controller, memory, communication interface and One or more programs, wherein said one or multiple programs are stored in above-mentioned memory, and are configured by above-mentioned control Device processed executes, and above procedure is included the steps that for executing the instruction in the embodiment of the present application first aspect either method.
5th aspect, the embodiment of the present application provide a kind of computer readable storage medium, wherein above-mentioned computer-readable Storage medium storage is used for the computer program of electronic data interchange, wherein above-mentioned computer program executes computer such as Step some or all of described in the embodiment of the present application first aspect either method.
6th aspect, the embodiment of the present application provide a kind of computer program product, wherein above-mentioned computer program product Non-transient computer readable storage medium including storing computer program, above-mentioned computer program are operable to make to calculate Machine executes the step some or all of as described in the embodiment of the present application first aspect either method.The computer program product It can be a software installation packet.
As can be seen that electronic equipment is detecting that the electronic equipment is in photographing mode first in the embodiment of the present application When, the facial image that a display screen shows collected user is controlled, secondly, detecting that the facial image is second When camera acquires, controls two display screen and show and the associated picture material of the facial image, wherein described second takes the photograph Picture head is located at second face, finally, passing through the second camera when receiving photographing instruction and shooting the face figure Picture.Since electronic equipment includes a display screen and two display screens, a display screen is preferentially used when detecting in photographing mode It shows collected user's facial image, controls two display screens when detecting is user's facial image of second camera acquisition Display and the associated picture material of facial image, allow the user being photographed to check the facial image of oneself, thus favorably In satisfaction of the raising user to the facial image taken.
Detailed description of the invention
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of application for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
Figure 1A is the structural schematic diagram of a kind of electronic equipment provided by the embodiments of the present application;
Figure 1B is the structural schematic diagram of another electronic equipment provided by the embodiments of the present application;
Fig. 2A is a kind of flow diagram of camera control method provided by the embodiments of the present application;
Fig. 2 B is a kind of reference view for showing user's facial image provided by the embodiments of the present application;
Fig. 3 is the flow diagram of another camera control method provided by the embodiments of the present application;
Fig. 4 is the flow diagram of another camera control method provided by the embodiments of the present application;
Fig. 5 is the structural schematic diagram of a kind of electronic equipment provided by the embodiments of the present application;
Fig. 6 is a kind of functional unit composition block diagram of photographing control device provided by the embodiments of the present application.
Specific embodiment
In order to make those skilled in the art more fully understand application scheme, below in conjunction in the embodiment of the present application Attached drawing, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described embodiment is only Some embodiments of the present application, instead of all the embodiments.Based on the embodiment in the application, those of ordinary skill in the art Every other embodiment obtained without creative efforts, shall fall in the protection scope of this application.
The description and claims of this application and term " first " in above-mentioned attached drawing, " second " etc. are for distinguishing Different objects, are not use to describe a particular order.In addition, term " includes " and " having " and their any deformations, it is intended that It is to cover and non-exclusive includes.Such as the process, method, system, product or equipment for containing a series of steps or units do not have It is defined in listed step or unit, but optionally further comprising the step of not listing or unit, or optionally also wrap Include other step or units intrinsic for these process, methods, product or equipment.
Referenced herein " embodiment " is it is meant that a particular feature, structure, or characteristic described can wrap in conjunction with the embodiments It is contained at least one embodiment of the application.Each position in the description occur the phrase might not each mean it is identical Embodiment, nor the independent or alternative embodiment with other embodiments mutual exclusion.Those skilled in the art explicitly and Implicitly understand, embodiment described herein can be combined with other embodiments.
Electronic equipment may include the various handheld devices with wireless communication function, mobile unit, wearable device (example Such as smartwatch, Intelligent bracelet, pedometer), calculate equipment or be connected to other processing equipments of radio modem, with And various forms of user equipmenies (User Equipment, UE), mobile station (Mobile Station, MS), terminal device (terminal device) etc..For convenience of description, apparatus mentioned above is referred to as electronic equipment.
It describes in detail below to the embodiment of the present application.
Figure 1A and Figure 1B are please referred to, Figure 1A and Figure 1B are the structures of a kind of electronic equipment 100 provided by the embodiments of the present application Schematic diagram, Figure 1A are the first face of the electronic equipment, and Figure 1B is the second face of the electronic equipment.The electronic equipment 100 Include: shell 110, the circuit board 120 being set in the shell 110, the display screen 130 being set on the shell 110, Two display screens 140, the first camera 150 and second camera 160 are provided with processor 121 and storage on the circuit board 120 Device 122, memory 122 are connect with the processor 121, and the processor 121 connects a display screen 130 and two display screens 140;Wherein,
One display screen 130, for showing the facial image of collected user;
Two display screen 140, for showing and the associated picture material of the facial image;
The memory 122, for storing the facial image;
The processor 121, for controlling a display screen when detecting that the electronic equipment is in photographing mode Show the facial image of collected user;And for controlling when detecting the facial image is second camera acquisition It makes two display screen to show and the associated picture material of the facial image, wherein the second camera is located at described the Two faces;And for shooting the facial image by the second camera when receiving photographing instruction.
Wherein, a display screen 130 and two display screen 140 can be monolithic display screen logically divides 2 Block display screen, such as flexible screen, Curved screen are also possible to separated 2 pieces of display screens in physical aspect, are such as separately positioned on 2 pieces of display screens of mobile phone front and back sides.
Wherein, as shown in Figure 1A, a display screen 130 and the first camera 150 are located at the first face of electronic equipment, such as Figure 1B institute Show, two display screens 140 and second camera 160 are located at the second face of electronic equipment, and the first face of electronic equipment and the second face are opposite, can To be interpreted as the front and back sides of the first face and the second face electronic equipment each other, i.e. electronic equipment is double-sided screen electronic equipment.One display Screen 130 can be used as the main display of electronic equipment 100, and two display screens 140 can be used as the auxiliary display screen of electronic equipment 100, The shape of two display screens 140 can be as a display screen 130, or other shapes, size can be less than one Display screen 130, Figure 1B are a kind of reference example figure of two display screen 140 provided by the present application, are not limited in any way herein.
As can be seen that electronic equipment is detecting that the electronic equipment is in photographing mode first in the embodiment of the present application When, the facial image that a display screen shows collected user is controlled, secondly, detecting that the facial image is second When camera acquires, controls two display screen and show and the associated picture material of the facial image, wherein described second takes the photograph Picture head is located at second face, finally, passing through the second camera when receiving photographing instruction and shooting the face figure Picture.Since electronic equipment includes a display screen and two display screens, a display screen is preferentially used when detecting in photographing mode It shows collected user's facial image, controls two display screens when detecting is user's facial image of second camera acquisition Display and the associated picture material of facial image, allow the user being photographed to check the facial image of oneself, thus favorably In satisfaction of the raising user to the facial image taken.
In a possible example, shown and the associated image of the facial image in control two display screen In terms of content, the processor 121 is specifically used for: determining between the user's face and the electronic equipment in the facial image Target range;And for when detecting that the target range is greater than pre-determined distance threshold value, the facial image to be amplified; And for determining that the associated picture material of the facial image is amplified facial image and controls the two displays screen display Show the amplified facial image.
In a possible example, it is described by the facial image amplification in terms of, the processor 121 is specifically used In: the mapping relations between preset distance and amplification factor are searched, determine the corresponding object magnification of the target range; And for amplifying the facial image according to the object magnification.
In a possible example, two display screen includes the first display area and the second display area, the people Face image includes Facial Expression Image and background image;It shows in control two display screen and is associated with the facial image Picture material in terms of, the processor 121 is specifically used for: determining that first display area is associated with the Facial Expression Image The Facial Expression Image and the background image are shown with the background image, and control first display area;With And for determining that second display area is associated with the Facial Expression Image, and control the second display area display institute State Facial Expression Image.
In a possible example, the processor 121 is also used to detecting the electronic equipment by described second Camera is switched to the first camera, and the facial image of user is acquired by first camera, and closes two display Screen, first camera are located at first face.
In a possible example, after the facial image by second camera shooting, the place Reason device 121 is specifically used for: when not showing the facial image of user in detecting two display screen, closing two display Screen.
In a possible example, control two display screen show with the associated picture material of the facial image it Afterwards, the processor 121 is specifically used for: two display screen being switched to lock state, two displays under the lock state Screen refuses to respond the touch control operation for two display screen.
Fig. 2A is please referred to, Fig. 2A is that the embodiment of the present application provides a kind of flow diagram of camera control method, application In electronic equipment, the electronic equipment includes a display screen and two display screens, and a display location is in the electronic equipment the On one side, two display location, second face opposite in the electronic equipment and first face.As shown, control of originally taking pictures Method includes:
S201, the electronic equipment control a display screen when detecting that the electronic equipment is in photographing mode Show the facial image of collected user.
Wherein, the first face of electronic equipment is provided with a display screen and the first camera, and the second face is provided with two display screens And second camera, generally when taking pictures and in non-self-timer mode, user of first face in face of executing photographing operation, the second face In face of the user being photographed.
Wherein, when detecting that electronic equipment is in photographing mode, one display screen of control shows the people of collected user Face image a, wherein display screen can be used as main display, and two display screens can be used as auxiliary display screen, be in photographing mode When the facial image of user is shown by a display screen, two display screens may be at closed state at this time.
It is aobvious to control described two when detecting the facial image is second camera acquisition for S202, the electronic equipment Display screen is shown and the associated picture material of the facial image, wherein the second camera is located at second face.
Wherein, detecting to be second camera when acquiring the facial image of user, opening two display screens at this time, control Two display screens, which are shown, can be facial image with the associated picture material of facial image and the associated picture material of facial image Parts of images content is also possible to all images content.Second camera is located at the second face, and the user being photographed can only see electricity Only hold what electronic equipment was taken pictures if only showing the facial image of user with a display screen in second face of sub- equipment User just it can be seen that user facial image, by two display screens show user the associated picture material of facial image it Afterwards, the user being photographed can check the facial image of oneself by two display screens, to be adjusted, so that taking the people come Face image can allow oneself more satisfied, as shown in Figure 2 B, show people simultaneously for one display screen of the embodiment of the present application and two display screens The reference example figure of face image, it is seen then that the user for executing photographing operation and the user being photographed can check that simultaneously electronics is set The standby facial image taken.
Wherein, two display screens are shown and the associated image of facial image, associated image can be the complete of facial image Image is also possible to the parts of images of facial image, or the facial image after certain processing.
S203, the electronic equipment shoot the face figure when receiving photographing instruction, through the second camera Picture.
Wherein, when receiving photographing instruction, facial image is shot by second camera, at this point, due to being photographed User sees the facial image of oneself by two display screens, and can be adjusted to facial image, therefore to taking Facial image have higher satisfaction.
As can be seen that electronic equipment is detecting that the electronic equipment is in photographing mode first in the embodiment of the present application When, the facial image that a display screen shows collected user is controlled, secondly, detecting that the facial image is second When camera acquires, controls two display screen and show and the associated picture material of the facial image, wherein described second takes the photograph Picture head is located at second face, finally, passing through the second camera when receiving photographing instruction and shooting the face figure Picture.Since electronic equipment includes a display screen and two display screens, a display screen is preferentially used when detecting in photographing mode It shows collected user's facial image, controls two display screens when detecting is user's facial image of second camera acquisition Display and the associated picture material of facial image, allow the user being photographed to check the facial image of oneself, thus favorably In satisfaction of the raising user to the facial image taken.
In a possible example, the control two display screen show in the associated image of the facial image Hold, comprising: determine the target range between the user's face and the electronic equipment in the facial image;It is described detecting When target range is greater than pre-determined distance threshold value, the facial image is amplified;Determine the associated picture material of the facial image For amplified facial image and controls two display screen and show the amplified facial image.
Wherein, it is shown and the associated picture material of facial image by two display screens, needs first to determine and facial image closes The picture material of connection.Firstly the need of the target range determined in facial image between user's face and electronic equipment, target is determined The mode of distance, which can be, determines the distance between the user being photographed and electronic equipment by range sensor, or to face Face size in image is analyzed, and determines the target range between user's face and electronic equipment.
Wherein, it when detecting that the target range between user's face and electronic equipment is greater than pre-determined distance threshold value, is clapped According to user and the distance between electronic equipment farther out, therefore the facial image that second camera takes can be amplified, this The picture material that Shi Keneng is shown is a part of the picture material in facial image, is determined in the associated image of facial image Holding is amplified facial image and two display screens of control show amplified facial image.
As it can be seen that detecting the target range between user's face and electronic equipment greater than pre-determined distance threshold in this example When value, facial image is amplified, amplified facial image as the associated picture material of facial image and is controlled into two displays Screen shows amplified facial image, in this way, the user being photographed can check the people oneself being photographed by two display screens Face image can be adjusted if dissatisfied, to be conducive to improve satisfaction of the user to the photo taken.
It is described to amplify the facial image in a possible example, comprising: to search preset distance and times magnification Mapping relations between number determine the corresponding object magnification of the target range;Amplify according to the object magnification The facial image.
Wherein, user's face and electronic equipment the reflecting between amplification factor under different distance are prestored in electronic equipment Relationship is penetrated, after determining target range, can determine amplification factor by searching for the mapping relations, thus according to amplification factor Amplify the face part in facial image, and show amplified facial image by two display screens, a display screen is still at this time Show the normal facial image taken.
As it can be seen that only by searching for the mapping relations between preset distance and amplification factor, that is, can determine mesh in this example The corresponding object magnification of subject distance, thus facial image is amplified according to the amplification factor and pass through two display screens into Row display, checks the facial image oneself being photographed by two display screens to be conducive to the user being photographed, due to face Amplification has been carried out in image, because user is clear that the facial image of oneself.
In a possible example, two display screen includes the first display area and the second display area, the people Face image includes Facial Expression Image and background image;Control two display screen is shown and the facial image is associated Picture material, comprising: determine that first display area is associated with the Facial Expression Image and the background image, and control First display area shows the Facial Expression Image and the background image;Determine the second display area association institute Facial Expression Image is stated, and control second display area shows the Facial Expression Image.
Wherein, two display screens may include that the first display area and the second display area can after the subregion of display area To show different picture materials by different display areas.Meanwhile facial image is the face that second camera takes Image, including user's face and user are presently in background, therefore face portrait may include Facial Expression Image and background Image, wherein Facial Expression Image can be the image of the only user's face extracted from facial image, can understand The human face expression for seeing user, background image can be the image of user's local environment.
Wherein it is determined that the first display area association Facial Expression Image and background image, i.e. the first display area can be same When show Facial Expression Image and background image, determine the second display area be associated with Facial Expression Image, i.e. the second display area Only display Facial Expression Image, in this way, user can see the whole frame of the human face expression and facial image that are photographed Frame, and then be adjusted.
As it can be seen that facial image includes Facial Expression Image and background image, by the display area of two display screens in this example The first display area and the second display area are obtained after carrying out subregion, is shown by the second display area and the second display area Different picture materials, in order to which the user being photographed can be adjusted the background frame that human face expression has been taken pictures, from And shoot the facial image for more allowing oneself to be satisfied with.
In a possible example, the method also includes: detecting that the electronic equipment images described second Head is switched to the first camera, and the facial image of user is acquired by first camera, and closes two display screen, institute It states the first camera and is located at first face.
Wherein, when detecting that second camera is switched to the first camera by electronic equipment, at this time by the first camera Image is acquired, collected facial image can be shown by a display screen, and close two display screens, the first camera and one is shown Display screen is all located at the first face of electronic equipment.For example, the first camera is front camera, second camera is postposition camera shooting Head, a display screen is and the display screen of front camera the same face, two display screens are the display screen with rear camera the same face, When using rear camera, a display screen and two display screens are opened simultaneously, executes the user to take pictures and the use being photographed at this time Family can be adjusted according to the facial image respectively seen.
As it can be seen that, when detecting that second camera is switched to the first camera by electronic equipment, being used at this time in this example The user that electronic equipment is taken pictures is located at and the same face of the first camera and a display screen, can check oneself by a display screen Facial image, close two display screens to save electricity.
In a possible example, after the facial image by second camera shooting, the side Method further include: when not showing the facial image of user in detecting two display screen, close two display screen.
Wherein, when the user to take pictures and the user being photographed are not a people, the user to take pictures can be by a display Screen checks the facial image shot, and the user being photographed can check the face figure oneself photographed by two display screens Picture, therefore the modification of adaptation can be made, so that the satisfaction to the photo taken is improved, in detecting two display screens When not showing the facial image of user, show at this time to may not be clapping face to may be to shoot landscape, therefore can close Two display screens.
As it can be seen that when not showing the facial image of user in detecting two display screens, showing not needing at this time in this example Portrait is shot, therefore does not need two display screens to show that facial image is adjusted facial image so as to user, so as to Two display screens are closed, electricity is saved.
In a possible example, control two display screen show with the associated picture material of the facial image it Afterwards, the method also includes: two display screen is switched to lock state, two display screens under the lock state are refused to ring The touch control operation of two display screen should be directed to.
Wherein, a display screen and two display screens can be touching display screen simultaneously, and a display screen is aobvious as main display, two Display screen, can also be using a display screen as touching display screen as auxiliary display screen, and two display screens are non-touch-control display screen.
Wherein, it when two display screens are touching display screen, is shown and the associated image of facial image by two display screens After content, since two display screens are mainly to provide the function of display when taking pictures, the user being conveniently photographed can be checked certainly Oneself facial image, and during taking pictures, execute the user of photographing operation when taking pictures may touch-control to two display screens, Therefore it needs two display screens being switched to lock state, two display screens under being in the lock state are refused to respond for two display screens Any touch control operation.
As it can be seen that in this example, when two display screens are touching display screen, when two display screens show it is associated with facial image After picture material, two display screens are switched to lock state, maloperation is carried out to two display screens when taking pictures to avoid user, It is shown to influence the image of two display screens.
It is consistent with embodiment shown in described Fig. 2A, referring to Fig. 3, Fig. 3 is a kind of bat provided by the embodiments of the present application According to the flow diagram of control method, it is applied to electronic equipment, the electronic equipment includes a display screen and two display screens, described For one display location in first face of electronic equipment, two display location is opposite in the electronic equipment and first face Second face.As shown, this camera control method includes:
S301, electronic equipment control a display screen and show when detecting that the electronic equipment is in photographing mode The facial image of collected user.
S302, the electronic equipment determine the face when detecting the facial image is second camera acquisition The target range between user's face and the electronic equipment in image, wherein the second camera is located at described second Face.
S303, the electronic equipment is when detecting that the target range is greater than pre-determined distance threshold value, by the face figure As amplification.
S304, the electronic equipment determine the associated picture material of facial image as amplified facial image and control institute It states two display screens and shows the amplified facial image.
S305, the electronic equipment shoot the face figure when receiving photographing instruction, through the second camera Picture.
As can be seen that electronic equipment is detecting that the electronic equipment is in photographing mode first in the embodiment of the present application When, the facial image that a display screen shows collected user is controlled, secondly, detecting that the facial image is second When camera acquires, controls two display screen and show and the associated picture material of the facial image, wherein described second takes the photograph Picture head is located at second face, finally, passing through the second camera when receiving photographing instruction and shooting the face figure Picture.Since electronic equipment includes a display screen and two display screens, a display screen is preferentially used when detecting in photographing mode It shows collected user's facial image, controls two display screens when detecting is user's facial image of second camera acquisition Display and the associated picture material of facial image, allow the user being photographed to check the facial image of oneself, thus favorably In satisfaction of the raising user to the facial image taken.
In addition, when detecting that the target range between user's face and electronic equipment is greater than pre-determined distance threshold value, by people Amplified facial image as the associated picture material of facial image and is controlled the display amplification of two display screens by face image amplification Facial image afterwards, in this way, the user being photographed can check the facial image oneself being photographed by two display screens, if It is dissatisfied then can be adjusted, to be conducive to improve satisfaction of the user to the photo taken.
It is consistent with described Fig. 2A, embodiment shown in Fig. 3, referring to Fig. 4, Fig. 4 is provided by the embodiments of the present application one The flow diagram of kind camera control method is applied to electronic equipment, and the electronic equipment includes a display screen and two display screens, One display location is in first face of electronic equipment, and two display location is in the electronic equipment and first face phase Pair the second face.As shown, this camera control method includes:
S401, the electronic equipment control a display screen when detecting that the electronic equipment is in photographing mode Show the facial image of collected user.
S402, the electronic equipment determine the face when detecting the facial image is second camera acquisition The target range between user's face and the electronic equipment in image, wherein the second camera is located at described second Face.
S403, the electronic equipment is when detecting that the target range is greater than pre-determined distance threshold value, by the face figure As amplification.
S404, the electronic equipment determine the associated picture material of facial image as amplified facial image and control institute It states two display screens and shows the amplified facial image.
Two display screen is switched to lock state by S405, the electronic equipment, two displays under the lock state Screen refuses to respond the touch control operation for two display screen.
S406, the electronic equipment shoot the face figure when receiving photographing instruction, through the second camera Picture.
As can be seen that electronic equipment is detecting that the electronic equipment is in photographing mode first in the embodiment of the present application When, the facial image that a display screen shows collected user is controlled, secondly, detecting that the facial image is second When camera acquires, controls two display screen and show and the associated picture material of the facial image, wherein described second takes the photograph Picture head is located at second face, finally, passing through the second camera when receiving photographing instruction and shooting the face figure Picture.Since electronic equipment includes a display screen and two display screens, a display screen is preferentially used when detecting in photographing mode It shows collected user's facial image, controls two display screens when detecting is user's facial image of second camera acquisition Display and the associated picture material of facial image, allow the user being photographed to check the facial image of oneself, thus favorably In satisfaction of the raising user to the facial image taken.
In addition, when detecting that the target range between user's face and electronic equipment is greater than pre-determined distance threshold value, by people Amplified facial image as the associated picture material of facial image and is controlled the display amplification of two display screens by face image amplification Facial image afterwards, in this way, the user being photographed can check the facial image oneself being photographed by two display screens, if It is dissatisfied then can be adjusted, to be conducive to improve satisfaction of the user to the photo taken.
In addition, when two display screens are touching display screen, when two display screens are shown and the associated picture material of facial image Later, two display screens are switched to lock state, maloperation are carried out to two display screens when taking pictures to avoid user, to influence The image of two display screens is shown.
It is consistent with described Fig. 2A, Fig. 3, embodiment shown in Fig. 4, referring to Fig. 5, Fig. 5 is that the embodiment of the present application provides A kind of electronic equipment 500 structural schematic diagram, the electronic equipment 500 operation have one or more application program and operation system System, as shown, the electronic equipment 500 includes processor 510, memory 520, communication interface 530 and one or more journeys Sequence 521, wherein one or more of programs 521 are stored in the memory 520, and are configured by the processing Device 510 executes, and one or more of programs 521 include the instruction for executing following steps;
When detecting that the electronic equipment is in photographing mode, controls a display screen and show collected user's Facial image;
When detecting the facial image is second camera acquisition, controls two display screen and show and the face The associated picture material of image, wherein the second camera is located at second face;
When receiving photographing instruction, the facial image is shot by the second camera.
As can be seen that electronic equipment is detecting that the electronic equipment is in photographing mode first in the embodiment of the present application When, the facial image that a display screen shows collected user is controlled, secondly, detecting that the facial image is second When camera acquires, controls two display screen and show and the associated picture material of the facial image, wherein described second takes the photograph Picture head is located at second face, finally, passing through the second camera when receiving photographing instruction and shooting the face figure Picture.Since electronic equipment includes a display screen and two display screens, a display screen is preferentially used when detecting in photographing mode It shows collected user's facial image, controls two display screens when detecting is user's facial image of second camera acquisition Display and the associated picture material of facial image, allow the user being photographed to check the facial image of oneself, thus favorably In satisfaction of the raising user to the facial image taken.
In a possible example, shown and the associated image of the facial image in control two display screen In terms of content, the instruction in described program is specifically used for executing following operation: determine user's face in the facial image and Target range between the electronic equipment;When detecting that the target range is greater than pre-determined distance threshold value, by the face Image amplification;Determine that the associated picture material of the facial image is amplified facial image and controls the two displays screen display Show the amplified facial image.
In a possible example, it is described by the facial image amplification in terms of, the instruction in described program is specific For performing the following operations: searching the mapping relations between preset distance and amplification factor, determine that the target range is corresponding Object magnification;Amplify the facial image according to the object magnification.
In a possible example, two display screen includes the first display area and the second display area, the people Face image includes Facial Expression Image and background image;It shows in control two display screen and is associated with the facial image Picture material in terms of, the instruction in described program is specifically used for executing following operation: determining the first display area association The Facial Expression Image and the background image, and control first display area show Facial Expression Image with The background image;Determine that second display area is associated with the Facial Expression Image, and control second viewing area Domain shows the Facial Expression Image.
In a possible example, the instruction in described program is specifically used for executing following operation: described detecting The second camera is switched to the first camera by electronic equipment, and the face figure of user is acquired by first camera Picture, and two display screen is closed, first camera is located at first face.
In a possible example, after the facial image by second camera shooting, the journey Instruction in sequence is specifically used for executing following operation: when not showing the facial image of user in detecting two display screen, Close two display screen.
In a possible example, control two display screen show with the associated picture material of the facial image it Afterwards, the instruction in described program is specifically used for executing following operation: two display screen is switched to lock state, the locking Two display screens under state refuse to respond the touch control operation for two display screen.
It is above-mentioned that mainly the scheme of the embodiment of the present application is described from the angle of method side implementation procedure.It is understood that , in order to realize the above functions, it comprises execute the corresponding hardware configuration of each function and/or software mould for electronic equipment Block.Those skilled in the art should be readily appreciated that, unit described in conjunction with the examples disclosed in the embodiments of the present disclosure And algorithm steps, the application can be realized with the combining form of hardware or hardware and computer software.Some function actually with Hardware or computer software drive the mode of hardware to execute, the specific application and design constraint item depending on technical solution Part.Professional technician can specifically realize described function to each using distinct methods, but this reality Now it is not considered that exceeding scope of the present application.
The embodiment of the present application can carry out the division of functional unit according to above method example to electronic equipment, for example, can With each functional unit of each function division of correspondence, two or more functions can also be integrated in a control unit In.Above-mentioned integrated unit both can take the form of hardware realization, can also realize in the form of software functional units.It needs It is noted that be schematical, only a kind of logical function partition to the division of unit in the embodiment of the present application, it is practical real It is current that there may be another division manner.
Fig. 6 is the functional unit composition block diagram of device 600 involved in the embodiment of the present application.The photographing control device 600 are applied to electronic equipment, and photographing control device 600 includes display unit 601, processing unit 602 and photographing unit 603, In:
The display unit 601, for when detecting that the electronic equipment is in photographing mode, controlling a display Screen shows the facial image of collected user;
The processing unit 602, for controlling described two when detecting the facial image is second camera acquisition Display screen is shown and the associated picture material of the facial image, wherein the second camera is located at second face;
The photographing unit 603, for shooting the face by the second camera when receiving photographing instruction Image.
As can be seen that electronic equipment is detecting that the electronic equipment is in photographing mode first in the embodiment of the present application When, the facial image that a display screen shows collected user is controlled, secondly, detecting that the facial image is second When camera acquires, controls two display screen and show and the associated picture material of the facial image, wherein described second takes the photograph Picture head is located at second face, finally, passing through the second camera when receiving photographing instruction and shooting the face figure Picture.Since electronic equipment includes a display screen and two display screens, a display screen is preferentially used when detecting in photographing mode It shows collected user's facial image, controls two display screens when detecting is user's facial image of second camera acquisition Display and the associated picture material of facial image, allow the user being photographed to check the facial image of oneself, thus favorably In satisfaction of the raising user to the facial image taken.
In a possible example, shown and the associated image of the facial image in control two display screen In terms of content, the processing unit 602 is specifically used for: determine user's face in the facial image and the electronic equipment it Between target range;And for when detecting that the target range is greater than pre-determined distance threshold value, the facial image to be put Greatly;And for determining that the associated picture material of the facial image is amplified facial image and controls two display screen Show the amplified facial image.
In a possible example, it is described by the facial image amplification in terms of, the processing unit 602 is specifically used In: the mapping relations between preset distance and amplification factor are searched, determine the corresponding object magnification of the target range; And for amplifying the facial image according to the object magnification.
In a possible example, two display screen includes the first display area and the second display area, the people Face image includes Facial Expression Image and background image;It shows in control two display screen and is associated with the facial image Picture material in terms of, the processing unit 602 is specifically used for: determining that first display area is associated with the human face expression figure Picture and the background image, and control first display area show the Facial Expression Image and the background image; And for determining that the second display area association Facial Expression Image, and control second display area are shown The Facial Expression Image.
The processing unit 602 described in a possible example is specifically used for: detecting that the electronic equipment will be described Second camera is switched to the first camera, and the facial image of user is acquired by first camera, and closes described two Display screen, first camera are located at first face.
In a possible example, after the facial image by second camera shooting, the place Reason unit 602 is specifically used for: when not showing the facial image of user in detecting two display screen, closing two display Screen.
In a possible example, control two display screen show with the associated picture material of the facial image it Afterwards, the processing unit 602 is specifically used for: two display screen being switched to lock state, two under the lock state are aobvious Display screen refuses to respond the touch control operation for two display screen.
Wherein, detection unit 601 and processing unit 603 can be controller or processor, and the photographing unit can be Camera.
The embodiment of the present application also provides a kind of computer storage medium, wherein computer storage medium storage is for electricity The computer program of subdata exchange, the computer program make computer execute any as recorded in above method embodiment Some or all of method step, above-mentioned computer include mobile terminal.
The embodiment of the present application also provides a kind of computer program product, and above-mentioned computer program product includes storing calculating The non-transient computer readable storage medium of machine program, above-mentioned computer program are operable to that computer is made to execute such as above-mentioned side Some or all of either record method step in method embodiment.The computer program product can be a software installation Packet, above-mentioned computer includes mobile terminal.
It should be noted that for the various method embodiments described above, for simple description, therefore, it is stated as a series of Combination of actions, but those skilled in the art should understand that, the application is not limited by the described action sequence because According to the application, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art should also know It knows, the embodiments described in the specification are all preferred embodiments, related actions and modules not necessarily the application It is necessary.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment Point, reference can be made to the related descriptions of other embodiments.
In several embodiments provided herein, it should be understood that disclosed device, it can be by another way It realizes.For example, the apparatus embodiments described above are merely exemplary, such as the division of said units, it is only a kind of Logical function partition, there may be another division manner in actual implementation, such as multiple units or components can combine or can To be integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual Coupling, direct-coupling or communication connection can be through some interfaces, the indirect coupling or communication connection of device or unit, It can be electrical or other forms.
Above-mentioned unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, can integrate in a control unit in each functional unit in each embodiment of the application It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
If above-mentioned integrated unit is realized in the form of SFU software functional unit and sells or use as independent product When, it can store in a computer-readable access to memory.Based on this understanding, the technical solution of the application substantially or Person says that all or part of the part that contributes to existing technology or the technical solution can body in the form of software products Reveal and, which is stored in a memory, including some instructions are used so that a computer equipment (can be personal computer, server or network equipment etc.) executes all or part of each embodiment above method of the application Step.And memory above-mentioned includes: USB flash disk, read-only memory (ROM, Read-Only Memory), random access memory The various media that can store program code such as (RAM, Random Access Memory), mobile hard disk, magnetic or disk.
Those of ordinary skill in the art will appreciate that all or part of the steps in the various methods of above-described embodiment is can It is completed with instructing relevant hardware by program, which can store in a computer-readable memory, memory May include: flash disk, read-only memory (English: Read-Only Memory, referred to as: ROM), random access device (English: Random Access Memory, referred to as: RAM), disk or CD etc..
The embodiment of the present application is described in detail above, specific case used herein to the principle of the application and Embodiment is expounded, the description of the example is only used to help understand the method for the present application and its core ideas; At the same time, for those skilled in the art can in specific embodiments and applications according to the thought of the application There is change place, in conclusion the contents of this specification should not be construed as limiting the present application.

Claims (11)

1. a kind of camera control method, which is characterized in that be applied to electronic equipment, the electronic equipment includes a display screen and two Display screen, a display location is in first face of electronic equipment, and two display location is in the electronic equipment and described The second opposite face of first face;The described method includes:
When detecting that the electronic equipment is in photographing mode, the face that a display screen shows collected user is controlled Image;
When detecting the facial image is second camera acquisition, controls two display screen and show and the facial image Associated picture material, wherein the second camera is located at second face;
When receiving photographing instruction, the facial image is shot by the second camera.
2. the method according to claim 1, wherein control two display screen is shown and the face figure As associated picture material, comprising:
Determine the target range between the user's face and the electronic equipment in the facial image;
When detecting that the target range is greater than pre-determined distance threshold value, the facial image is amplified;
The associated picture material of the facial image is determined as amplified facial image and controls two display screens display institute State amplified facial image.
3. according to the method described in claim 2, it is characterized in that, described amplify the facial image, comprising:
The mapping relations between preset distance and amplification factor are searched, determine the corresponding target times magnification of the target range Number;
Amplify the facial image according to the object magnification.
4. the method according to claim 1, wherein two display screen includes that the first display area and second are aobvious Show region, the facial image includes Facial Expression Image and background image;The control two display screen show with it is described The associated picture material of facial image, comprising:
Determine that first display area is associated with the Facial Expression Image and the background image, and control described first is shown Show that region shows the Facial Expression Image and the background image;
Determine that second display area is associated with the Facial Expression Image, and described in control second display area shows Facial Expression Image.
5. method according to claim 1-4, which is characterized in that the method also includes:
It is detecting that the second camera is switched to the first camera by the electronic equipment, is being adopted by first camera Collect the facial image of user, and close two display screen, first camera is located at first face.
6. method according to claim 1-4, which is characterized in that described to shoot institute by the second camera After stating facial image, the method also includes:
When not showing the facial image of user in detecting two display screen, two display screen is closed.
7. method according to claim 1-4, which is characterized in that control two display screen is shown and the people After the associated picture material of face image, the method also includes:
Two display screen is switched to lock state, two display screens under the lock state refuse to respond aobvious for described two The touch control operation of display screen.
8. a kind of electronic equipment, which is characterized in that including a display screen, two display screens, memory and processor, a display Screen be located at first face of electronic equipment, two display location in the electronic equipment and first face it is opposite second Face, wherein
One display screen, for showing the facial image of collected user;
Two display screen, for showing and the associated picture material of the facial image;
The memory, for storing the facial image;
The processor controls a display screen and shows and adopt for when detecting that the electronic equipment is in photographing mode The facial image of the user collected;And for when detecting the facial image is second camera acquisition, described in control Two display screens are shown and the associated picture material of the facial image, wherein the second camera is located at second face;With And for shooting the facial image by the second camera when receiving photographing instruction.
9. a kind of photographing control device, which is characterized in that including display unit, processing unit and photographing unit, wherein
The display unit is shown for when detecting that the electronic equipment is in photographing mode, controlling a display screen The facial image of collected user;
The processing unit, for controlling two display screen when detecting the facial image is second camera acquisition Display and the associated picture material of the facial image, wherein the second camera is located at second face;
The photographing unit, for shooting the facial image by the second camera when receiving photographing instruction.
10. a kind of electronic equipment, which is characterized in that including processor, memory, communication interface, and one or more programs, One or more of programs are stored in the memory, and are configured to be executed by the processor, described program packet Include the instruction for executing the step in the method according to claim 1 to 7.
11. a kind of computer readable storage medium, which is characterized in that storage is used for the computer program of electronic data interchange, In, the computer program makes computer execute the method according to claim 1 to 7.
CN201811052623.8A 2018-09-10 2018-09-10 Camera control method and relevant apparatus Pending CN109257538A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811052623.8A CN109257538A (en) 2018-09-10 2018-09-10 Camera control method and relevant apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811052623.8A CN109257538A (en) 2018-09-10 2018-09-10 Camera control method and relevant apparatus

Publications (1)

Publication Number Publication Date
CN109257538A true CN109257538A (en) 2019-01-22

Family

ID=65047153

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811052623.8A Pending CN109257538A (en) 2018-09-10 2018-09-10 Camera control method and relevant apparatus

Country Status (1)

Country Link
CN (1) CN109257538A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109756630A (en) * 2019-01-25 2019-05-14 维沃移动通信有限公司 A kind of screen control method and terminal device
CN110896451A (en) * 2019-11-20 2020-03-20 维沃移动通信有限公司 Preview picture display method and electronic equipment
CN111147635A (en) * 2019-12-26 2020-05-12 惠州Tcl移动通信有限公司 Mobile terminal and screen display method and device thereof
CN112543279A (en) * 2019-09-23 2021-03-23 北京小米移动软件有限公司 Display control method, display control device, storage medium and electronic equipment

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101894538A (en) * 2010-07-15 2010-11-24 优视科技有限公司 Method and device for controlling screen display frames
CN103428423A (en) * 2012-05-24 2013-12-04 联发科技股份有限公司 Preview system and preview method
CN104967773A (en) * 2015-06-03 2015-10-07 上海华豚科技有限公司 Electronic device having front camera shooting function
CN105554372A (en) * 2015-10-30 2016-05-04 东莞酷派软件技术有限公司 Photographing method and device
CN106453962A (en) * 2016-11-30 2017-02-22 珠海市魅族科技有限公司 Camera shooting control method of double-screen intelligent terminal
CN106598511A (en) * 2016-11-10 2017-04-26 珠海格力电器股份有限公司 Electronic device screen switching method and apparatus, and electronic device
CN107734156A (en) * 2017-09-28 2018-02-23 维沃移动通信有限公司 A kind of image pickup method and mobile terminal
CN107770312A (en) * 2017-11-07 2018-03-06 广东欧珀移动通信有限公司 Method for information display, device and terminal

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101894538A (en) * 2010-07-15 2010-11-24 优视科技有限公司 Method and device for controlling screen display frames
CN103428423A (en) * 2012-05-24 2013-12-04 联发科技股份有限公司 Preview system and preview method
CN104967773A (en) * 2015-06-03 2015-10-07 上海华豚科技有限公司 Electronic device having front camera shooting function
CN105554372A (en) * 2015-10-30 2016-05-04 东莞酷派软件技术有限公司 Photographing method and device
CN106598511A (en) * 2016-11-10 2017-04-26 珠海格力电器股份有限公司 Electronic device screen switching method and apparatus, and electronic device
CN106453962A (en) * 2016-11-30 2017-02-22 珠海市魅族科技有限公司 Camera shooting control method of double-screen intelligent terminal
CN107734156A (en) * 2017-09-28 2018-02-23 维沃移动通信有限公司 A kind of image pickup method and mobile terminal
CN107770312A (en) * 2017-11-07 2018-03-06 广东欧珀移动通信有限公司 Method for information display, device and terminal

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109756630A (en) * 2019-01-25 2019-05-14 维沃移动通信有限公司 A kind of screen control method and terminal device
CN112543279A (en) * 2019-09-23 2021-03-23 北京小米移动软件有限公司 Display control method, display control device, storage medium and electronic equipment
CN110896451A (en) * 2019-11-20 2020-03-20 维沃移动通信有限公司 Preview picture display method and electronic equipment
WO2021098603A1 (en) * 2019-11-20 2021-05-27 维沃移动通信有限公司 Preview picture display method and electronic device
CN110896451B (en) * 2019-11-20 2022-01-28 维沃移动通信有限公司 Preview picture display method, electronic device and computer readable storage medium
CN111147635A (en) * 2019-12-26 2020-05-12 惠州Tcl移动通信有限公司 Mobile terminal and screen display method and device thereof

Similar Documents

Publication Publication Date Title
CN109257538A (en) Camera control method and relevant apparatus
CN107395969B (en) A kind of image pickup method and mobile terminal
CN108153900A (en) A kind of image processing method and mobile terminal
CN105491642B (en) The method and apparatus of network connection
CN104780316B (en) A kind of camera starts detection method and camera starts detection means
CN109862267A (en) A kind of image pickup method and terminal device
CN108255304A (en) Video data handling procedure, device and storage medium based on augmented reality
CN105183837B (en) Thumbnail list view display method and system of mobile terminal
CN108230574A (en) Object storage terminal pickup method and device and electronic equipment
CN106096043B (en) A kind of photographic method and mobile terminal
CN109413326A (en) Camera control method and Related product
CN107864336B (en) A kind of image processing method, mobile terminal
CN108833709A (en) A kind of the starting method and mobile terminal of camera
CN107357500A (en) A kind of picture-adjusting method, terminal and storage medium
CN108462826A (en) A kind of method and mobile terminal of auxiliary photo-taking
CN108965697A (en) A kind of filming control method, terminal and computer readable storage medium
CN107302666A (en) Photographic method, mobile terminal and computer-readable recording medium
CN109688253A (en) A kind of image pickup method and terminal
CN110032887A (en) A kind of picture method for secret protection, terminal and computer readable storage medium
CN108228902A (en) A kind of document display method and mobile terminal
CN109408012A (en) Display control method and relevant apparatus
CN106303235A (en) Take pictures processing method and processing device
CN104869317B (en) Smart machine image pickup method and device
CN109413333A (en) A kind of display control method and terminal
CN107741786A (en) A kind of method, terminal and computer-readable recording medium for starting camera

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

Application publication date: 20190122

RJ01 Rejection of invention patent application after publication