CN109688253A - A kind of image pickup method and terminal - Google Patents

A kind of image pickup method and terminal Download PDF

Info

Publication number
CN109688253A
CN109688253A CN201910153012.0A CN201910153012A CN109688253A CN 109688253 A CN109688253 A CN 109688253A CN 201910153012 A CN201910153012 A CN 201910153012A CN 109688253 A CN109688253 A CN 109688253A
Authority
CN
China
Prior art keywords
camera
image
component
screen
terminal
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.)
Granted
Application number
CN201910153012.0A
Other languages
Chinese (zh)
Other versions
CN109688253B (en
Inventor
肖石文
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201910153012.0A priority Critical patent/CN109688253B/en
Publication of CN109688253A publication Critical patent/CN109688253A/en
Application granted granted Critical
Publication of CN109688253B publication Critical patent/CN109688253B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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/0206Portable telephones comprising a plurality of mechanically joined movable body parts, e.g. hinged housings
    • H04M1/0208Portable telephones comprising a plurality of mechanically joined movable body parts, e.g. hinged housings characterized by the relative motions of the body parts
    • H04M1/0214Foldable telephones, i.e. with body parts pivoting to an open position around an axis parallel to the plane they define in closed position
    • 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/0206Portable telephones comprising a plurality of mechanically joined movable body parts, e.g. hinged housings
    • H04M1/0241Portable telephones comprising a plurality of mechanically joined movable body parts, e.g. hinged housings using relative motion of the body parts to change the operational status of the telephone set, e.g. switching on/off, answering incoming call
    • 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
    • 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/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • H04M1/72439User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for image or video messaging
    • 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/61Control of cameras or camera modules based on recognised objects
    • H04N23/611Control of cameras or camera modules based on recognised objects where the recognised objects include parts of the human body
    • 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/62Control of parameters via user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Human Computer Interaction (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Studio Devices (AREA)

Abstract

The embodiment of the invention provides a kind of image pickup method and terminals.Wherein, which includes: the vector angle detected between the first component and the second component;In the case where the value of the vector angle is greater than predetermined angle threshold value, Face datection is carried out to the image of target camera acquisition;Wherein, the target camera is at least one of first camera, the second camera;According to the Face datection of the image acquired to the target camera as a result, preview image is shown in target screen.In the embodiment of the present invention, according to Face datection as a result, determining the shooting demand of user, and according to the shooting demand of user, preview image is shown in target screen, to be formed and the matched screening-mode of user demand.In the embodiment of the present invention, it can be manually adjusted with adjust automatically screening-mode without user, it is convenient for users to use.

Description

A kind of image pickup method and terminal
Technical field
The present embodiments relate to field of communication technology more particularly to a kind of image pickup method and terminals.
Background technique
With the continuous development of electronic technology, with the terminal of shooting function, people is increasingly becomed and commonly shoot work Tool.People can shoot other scenery by the rear bat mode in shooting function, can also pass through the self-timer mould in shooting function Formula carries out self-timer, meets demand of the people to shooting significantly.But in the prior art, between rear bat mode and self-timer mode Switching, need user to carry out manually, not smart enoughization brings certain inconvenience to the operation of user.
Summary of the invention
The embodiment of the invention provides a kind of image pickup method and terminals, are shot with solving user's manual switching in the prior art Inconvenient problem brought by mode.
In order to solve the above-mentioned technical problem, the present invention adopts the following technical scheme:
In a first aspect, providing a kind of image pickup method, it is applied to foldable terminal, the terminal includes: first Part and second component are provided with the first camera on the first component, are provided with second camera on the second component;
Wherein, which comprises
Detect the vector angle between the first component and the second component;
In the case where the value of the vector angle is greater than predetermined angle threshold value, the image of target camera acquisition is carried out Face datection;Wherein, the target camera is at least one of first camera, the second camera;
According to the Face datection of the image acquired to the target camera as a result, preview image is shown in target screen In.
Second aspect provides a kind of terminal, and the terminal is folding terminal, and the terminal includes: the first component And second component, the first camera is provided on the first component, is provided with second camera on the second component;It is described Terminal further include:
First detection module, for detecting the vector angle between the first component and the second component;
Second detection module, for detecting that the value of the vector angle is greater than predetermined angle in the first detection module In the case where threshold value, Face datection is carried out to the image of target camera acquisition;Wherein, the target camera is described first At least one of camera, described second camera;
First display module, the face of the image for being acquired according to second detection module to the target camera Preview image is shown in target screen by testing result.
The third aspect provides a kind of terminal, comprising: processor, memory and is stored on the memory and can be The computer program run on the processor realizes as described above clap when the computer program is executed by the processor The step of taking the photograph method.
Fourth aspect provides a kind of computer readable storage medium, stores meter on the computer readable storage medium The step of calculation machine program, the computer program realizes image pickup method as described above when being executed by processor.
In the embodiment of the present invention, according to Face datection as a result, determining the shooting demand of user, and according to the shooting need of user It asks, preview image is shown in target screen, to be formed and the matched screening-mode of user demand.It, can in the embodiment of the present invention With adjust automatically screening-mode, manually adjusted without user, it is convenient for users to use.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, required use in being described below to embodiment Attached drawing be briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for this For the those of ordinary skill of field, without any creative labor, it can also be obtained according to these attached drawings other Attached drawing.
Fig. 1 shows one of schematic diagrames of terminal provided in an embodiment of the present invention;
Fig. 2 indicates the two of the schematic diagram of terminal provided in an embodiment of the present invention;
Fig. 3 indicates one of the flow diagram of image pickup method provided in an embodiment of the present invention;
Fig. 4 indicates one of first screen schematic diagram of terminal provided in an embodiment of the present invention;
Fig. 5 indicates the two of the first screen schematic diagram of terminal provided in an embodiment of the present invention;
Fig. 6 indicates the three of the first screen schematic diagram of terminal provided in an embodiment of the present invention;
Fig. 7 indicates the four of the first screen schematic diagram of terminal provided in an embodiment of the present invention;
Fig. 8 shows one of second screen schematic diagrames of terminal provided in an embodiment of the present invention;
Fig. 9 indicates the two of the second screen schematic diagram of terminal provided in an embodiment of the present invention;
Figure 10 indicates the three of the third screen schematic diagram of terminal provided in an embodiment of the present invention;
Figure 11 indicates the schematic diagram of viewfinder range provided in an embodiment of the present invention;
Figure 12 indicates the schematic diagram of the horizontal axis of viewfinder range provided in an embodiment of the present invention;
Figure 13 indicates the schematic diagram of viewfinder range mark provided in an embodiment of the present invention;
Figure 14 indicates the two of the flow diagram of image pickup method provided in an embodiment of the present invention;
Figure 15 indicates one of the block diagram of terminal provided in an embodiment of the present invention;
Figure 16 indicates the two of the block diagram of terminal provided in an embodiment of the present invention.
Specific embodiment
The exemplary embodiment that the present invention will be described in more detail below with reference to accompanying drawings.Although showing the present invention in attached drawing Exemplary embodiment, it being understood, however, that may be realized in various forms the present invention without should be by embodiments set forth here It is limited.It is to be able to thoroughly understand the present invention on the contrary, providing these embodiments, and can be by the scope of the present invention It is fully disclosed to those skilled in the art.
One aspect according to an embodiment of the present invention provides a kind of image pickup method.
As shown in Figure 1, the image pickup method is applied to foldable terminal, which can occur curved along predetermined position Folding forms the first component 101 and second component 102 that can carry out doubling.
Wherein, it is provided with the first camera 103 on the first component 101, is provided with second camera on second component 102 104。
It in the embodiment of the present invention, can set: be bonded doubling, and the first camera and with second component in the first component When two cameras are in back to state, the vector angle between the first component and second component is 0 degree;In the first component and second Component is bonded doubling, and when the first camera and second camera are in relative status, between the first component and second component Vector angle is 360 degree.Certainly, otherwise setting can also be with concrete condition designs according to actual needs.
As shown in Fig. 2, in the embodiment of the present invention, in the first component 101 and the non-doubling of second component 102, the i.e. first component When vector angle between 101 and second component 102 is 180 degree, the first camera 103 and second camera position 104 are in the end The same side at end.
It is that simple explanation has been carried out to the terminal in the embodiment of the present invention above, continues with and the present invention is implemented The image pickup method that example provides is explained.
As shown in figure 3, the image pickup method further include:
Step 301: the vector angle between the detection first component and second component.
In the embodiment of the present invention, when detecting camera application program starting, detect between the first component and second component Vector angle.
Wherein, it can be filled by the way that gyro sensor or other mechanical detections that can detecte vector angle are arranged in the terminal It sets and is detected.
Step 302: the value of vector angle between the first and the second member is greater than the case where predetermined angle threshold value Under, Face datection is carried out to the image of target camera acquisition.
Wherein, target camera described here is the camera shot, including the first camera, second camera At least one of, i.e., the target camera can be the first camera, be also possible to second camera, can be with the first camera shooting Head and second camera include.
In the embodiment of the present invention, it is greater than preset angle in the value for detecting the vector angle between the first component and second component Threshold value is spent, i.e., when opening certain angle between the first component and second component, can star the first camera and the second camera shooting At least one camera in head acquires image, is shot, and carries out Face datection to the image of target camera acquisition.
Wherein, which is the lesser angle value of numerical value, generally can carry out value between 0 degree~10 degree.
It should be noted that matching if being additionally provided on the first component with the first camera when starting the first camera When closing at least one the third camera used, also starts the third camera simultaneously, participate in it in shooting.Similarly, When starting second camera, the 4th taken the photograph if being additionally provided at least one being used cooperatively with second camera on second component When as head, also starts the 4th camera simultaneously, participate in it in shooting.
Step 303: according to the Face datection of the image acquired to target camera as a result, preview image is shown in target In screen.
Wherein, when target camera is the first camera, preview image is the image of the first camera acquisition;In target When camera is second camera, preview image is the image of second camera acquisition;It is the first camera in target camera When with second camera, preview image is figure synthesized by the image of the first camera acquisition and the image of second camera acquisition Picture.
In this step, according to Face datection as a result, determining the shooting demand (such as self-timer demand, rear bat demand) of user, And according to the shooting demand of user, preview image is shown in target screen.Wherein, in the vector of the first component and second component When angle is 180, if the target screen and target camera are in same side, it is shown in target screen by preview image Afterwards, self-timer mode is formed, to meet the self-timer demand of user;If the target screen and target camera are in not ipsilateral, After preview image is shown in target screen, mode is clapped after formation, to meet the rear bat demand of user.Wherein, the present invention is implemented In example, which has at least two screens.
It, can be according to Face datection as a result, adjust automatically screening-mode, realizes self-timer mode with after in the embodiment of the present invention The automatic switchover of bat mode, manually adjusts without user, convenient for users to use.
Optionally, in the embodiment of the present invention, which is included at least: the first screen 1051 and the second screen 1052, and target Screen 105 is the first screen 1051 or the second screen 1052.It wherein, is 180 in the vector angle of the first component 101 and second component 102 When spending, the first screen 1051, the first camera 103, second camera 104 are in the same side of terminal 100 (such as fig. 4 to fig. 6 institute Show);Second screen 1052 and the first screen 1051, the first camera 103, second camera 104 are in the not ipsilateral of terminal 100 (as shown in Fig. 8 to Figure 10).
It should be noted that the first screen 1051, which can be, is only arranged at 101 (such as Fig. 4 of the first component in the embodiment of the present invention It is shown) or second component 102 (as shown in Figure 5), it is also possible to not only be set on the first component 101 but also is set to second component On 102 (as shown in Figure 6), the first screen 1051 is in the part on the first component 101 and the portion on second component 102 at this time Divide to be independently operated, and shows different content respectively.Likewise, the second screen 1052 can be and be only arranged at the first component 1052 (as shown in Figure 8) or second component 102 (as shown in Figure 9), is also possible to not only be set on the first component 101 but also is set to second Part on component 102 (as shown in Figure 10), and on the first component 101 and the part on second component 102 can be with It is independently operated, and shows different content respectively.
Wherein, step 303 is according to the Face datection of the image acquired to target camera as a result, preview image is shown in In target screen, comprising:
Detecting facial image, and the distance of the corresponding personage of facial image to target camera is less than pre-determined distance threshold In the case where value, preview image is shown in the first screen;Facial image is being not detected, or is detecting facial image and face In the case that the distance of the corresponding personage of image to target camera is greater than pre-determined distance threshold value, preview image is shown in second In screen.
Wherein, detecting facial image, and the distance of the corresponding personage of facial image to target camera be less than it is default In the case where distance threshold, illustrating personage's being closer to target camera, it is believed that user is needed at this time using Self-timer, Then preview image is shown in the first screen automatically.Facial image is being not detected, or is detecting facial image and facial image In the case that the distance of corresponding personage to target camera is greater than pre-determined distance threshold value, it is believed that user is needed at this time using rear bat Preview image is then shown in the second screen by function automatically.
Wherein, detect the corresponding personage of facial image apart from camera apart from when, if the facial image is first to take the photograph The facial image in image acquired as head, then detect the distance of corresponding the first camera of personage's distance of the facial image;If The facial image is the facial image in the image of second camera acquisition, then detects the corresponding personage's distance of the facial image the The distance of two cameras;If the facial image had not only included but also being included in second camera in the image of the first camera acquisition In the image of acquisition, then the distance that the corresponding personage's distance of facial image presets camera is detected.Wherein, which is Subject to first camera or second camera.
Preferably, target camera is the first camera and second camera.
Firstly, acquiring image jointly in the embodiment of the present invention using the first camera and second camera, can increasing and take Scape range.Secondly, in the embodiment of the present invention, the first camera and the total viewfinder range of second camera, can with the first component and The variation of vector angle between second component and change, therefore, can be by adjusting the vector between the first component and second component Family can be used in this way and adjusted according to self-demand to adjust the first camera and the total viewfinder range of second camera for angle Viewfinder range, it is convenient for users to use.
Wherein, the vector between the first camera and the total viewfinder range and the first component and second component of second camera The total viewfinder range of angle negative correlation, i.e. the first camera and second camera, with the first component and second component it Between vector angle reduction and increase.For example, when the vector angle between the first component and second component is 180 degree, always Viewfinder range is as shown in the left figure in Figure 11, the viewfinder range 1031 of the first camera and the viewfinder range 1041 of second camera Overlapping region of finding a view it is larger, total viewfinder range is relatively small;Vector angle between the first component and second component reduces When to 30 degree, total viewfinder range as shown in the right figure in Figure 11, the viewfinder range 1031 of the first camera and second camera The overlapping region of finding a view of viewfinder range 1041 is smaller, and total viewfinder range is relatively large.
It should be noted that being typically enabled for the first camera and second camera of shooting is common view angle camera lens Or common wide-angle lens, to guarantee the clarity of shooting image.Preferred design is in and takes the photograph with first camera of a line and second As head viewfinder range horizontal axis on the same line, wherein the horizontal axis of viewfinder range is as shown in figure 12.
Further, when preview image is shown in the target screen of terminal by step 303, this method further include: in target Show that viewfinder range identifies in screen.
Wherein, viewfinder range described here signal is for identifying the viewfinder range of the first camera and second camera. Viewfinder range mark includes: at least one of words identification, pattern identification.
, can also be in the target screen of display preview image in the embodiment of the present invention, display viewfinder range mark.This is found a view Scope identifier can be current with dynamic marks viewfinder range, allow users to have more intuitive understanding to viewfinder range.
Preferably, as shown in figure 13, viewfinder range mark includes: illustrate 103 viewfinder range of the first camera first The second square mark 1042 of mark 1032 and signal 104 viewfinder range of second camera.
Wherein, in the display of target screen 105, first identifier 1032 is oppositely arranged with second identifier 1042, and with first The variation of vector angle size between part 101 and second component 102 and it is close to each other or separate.
Wherein, first identifier and second identifier can be a rectangle frame respectively, in this way can be more vivid to model of finding a view It encloses and is illustrated.
Preferably, as shown in Figure 4 and Figure 6, some or all of first screen 1051 is set to first with the first camera 103 The same side of component 101.
Wherein, after the vector angle between the step 301 detection first component and second component, this method further include:
In the case that vector angle between the first and the second member is less than predetermined angle threshold value, only start second Camera is shown in the first screen using the image of second camera acquisition as preview image.
In the embodiment of the present invention, when vector angle between the first and the second member is less than predetermined angle threshold value, Only starting second camera acquires image.Second camera is equivalent to rear camera at this time, and the image of acquisition will be made For preview image output.Wherein, when the first screen is completely on the first component, then preview image is shown in the first screen; When the first screen is partially on the first component, then preview image is shown in the part screen that the first screen is set on the first component In 10511, as shown in Figure 10.
Wherein, user can switch icon by triggering camera, by second camera when needing to start self-timer mode It is switched to the first camera, and using the image of the first camera acquisition as preview image, output display.
Further, embodiment image pickup method described above in order to better understand the present invention, below again with an example The workflow of the image pickup method is explained.
It assumes initially that, which can bend along predetermined position, form the first component and second that can carry out doubling Component.It is provided with the first camera on the first component, is provided with second camera on second component.The terminal further include: first Screen and the second screen.When the vector angle of the first component and second component is 180 degree, the first screen, the first camera, the second camera shooting Head is in the same side of terminal;Second screen and the first screen, the first camera, second camera are in the not ipsilateral of terminal.
As shown in figure 14, which includes:
Step 1401: the camera enabled instruction of user's input is received, subsequently into step 1402.
The triggering of the camera enabled instruction is just no longer repeated herein by triggering mode in the prior art.
Step 1402: the size of the vector angle between the detection first component and second component, subsequently into step 1403.
Step 1403: judging whether the value of the vector angle is less than predetermined angle threshold value (such as 0 degree+- 2 degree), when to be 1404 are entered step, when to be no, enters step 1405.
Step 1404: the folded state of the confirmation first component and second component is closed state, subsequently into step 1406.
Step 1405: the folded state of the confirmation first component and second component is in an open state, subsequently into step 1407.
Step 1406: control second camera enters preview working condition, and using the image of second camera acquisition as Preview image is shown in the first screen.
Wherein, in this example, when the folded state of the first component and second component is closed state, the first camera is made For front camera use, second camera is used as rear camera.
Wherein, when user wants self-timer, the camera switching icon that can be shown in by touch-control in the first screen, by first Camera is switched to second camera, and using the image of at least one second camera of starting acquisition as preview image, shows It is shown in the first screen.
Step 1407: the first camera of starting and second camera enter preview working condition, and adopt to the first camera The image of image and the second camera acquisition of collection, carries out Face datection, subsequently into step 1408 or step 1409.
Step 1408: detecting facial image, and the corresponding personage of the facial image apart from camera be in it is default away from When from threshold range, preview image is shown in the first screen, subsequently into step 1410.
Wherein, preview image at this time is synthesized by the image of the first camera acquisition and the image of second camera acquisition Image.
Wherein, detect the corresponding personage of facial image apart from camera apart from when, if the facial image is first to take the photograph The facial image in image acquired as head, then detect the distance of corresponding the first camera of personage's distance of the facial image;If The facial image is the facial image in the image of second camera acquisition, then detects the corresponding personage's distance of the facial image the The distance of two cameras;If the facial image had not only included but also being included in second camera in the image of the first camera acquisition In the image of acquisition, then the distance that the corresponding personage's distance of facial image presets camera is detected.Wherein, which is Subject to first camera or second camera.
Step 1409: facial image is being not detected, or is detecting facial image and the corresponding personage of facial image is to taking the photograph In the case where being greater than pre-determined distance threshold value as the distance of head, preview image is shown in the second screen, subsequently into step 1410.
Step 1410: showing that viewfinder range identifies, in the first screen or the second screen of display preview image dynamically to indicate The variation of viewfinder range subsequently into step 1411 or enters step 1412.
Wherein, user can be prompted logical by voice or in the first screen or the second screen of display preview image by text The vector angle for crossing the adjustment first component and second component, adjusts total viewfinder range.
Step 1411: when detecting that the value of vector angle does not change in preset duration, control viewfinder range mark It is automatic to disappear.
It disappears of course, it should be understood that viewfinder range mark can also be manually controlled by user.
Step 1412: when detecting that the value of vector angle changes in preset duration, continuing to show the viewfinder range Mark.
So far, the workflow for the image pickup method which is illustrated terminates.It should be noted that the workflow is only Signal, when specific implementation, are not necessarily executed in strict accordance with the sequence of above-mentioned steps.
In conclusion in the embodiment of the present invention, according to Face datection as a result, determining the shooting demand of user, and according to The shooting demand at family, preview image is shown in target screen, to be formed and the matched screening-mode of user demand.The present invention is real It applies in example, can be manually adjusted with adjust automatically screening-mode without user, it is convenient for users to use.In addition, the present invention is real It applies in example, the first camera and second camera can also be started, shot, to increase viewfinder range, meet the big view of user Angle shoots demand.In addition, using the foldability of foldable terminal, it can also be by adjusting the first component and second component Between vector angle size, to adjust the first camera and the total viewfinder range of second camera, so that user can root It is convenient for users to use according to the total viewfinder range of self-demand adjustment camera.
Other side according to an embodiment of the present invention provides a kind of terminal, is able to achieve thin in above-mentioned image pickup method Section, and reach identical effect.
Wherein, the terminal is foldable terminal, which can bend along predetermined position, and formation can be with Carry out the first component 101 and second component 102 of doubling.It is provided with the first camera on the first component, described second Second camera is provided on part.It is described when vector angle between the first component and the second component is 180 degree First camera and the second camera are located at the same side of the terminal.
As shown in figure 15, the terminal 100 further include:
First detection module 1501, for detecting the vector angle between the first component and the second component.
Second detection module 1502, for detecting that the value of the vector angle is greater than in the first detection module 1501 In the case where predetermined angle threshold value, Face datection is carried out to the image of target camera acquisition.
Wherein, the target camera is at least one of first camera, the second camera.
First display module 1503, the figure for being acquired according to second detection module 1502 to the target camera The Face datection of picture is as a result, preview image is shown in target screen.
Further, the target screen is the first screen or the second screen of the terminal.
Wherein, when the vector angle between the first component and the second component is 180 degree, first screen, First camera and the second camera are located at the same side of the terminal, second screen and first screen position In the not ipsilateral of the terminal.
Wherein, first display module 1503 includes:
First display unit, for detecting facial image, and the facial image in second detection module 1502 In the case that the distance of corresponding personage to target camera is less than pre-determined distance threshold value, the preview image is shown in described In first screen.
Second display unit for facial image to be not detected in second detection module 1502, or detects face It, will be described in the case that the distance of image and the corresponding personage of the facial image to target camera is greater than pre-determined distance threshold value Preview image is shown in second screen.
Further, the target camera is first camera and the second camera, the preview image The image synthesized for the image of first camera acquisition with the image that the second camera acquires.
The terminal further include:
Second display module, for showing that viewfinder range identifies in the target screen.
Wherein, the viewfinder range identifies the model of finding a view for illustrating first camera and the second camera It encloses.
Preferably, the viewfinder range mark includes: to illustrate the first identifier of the first camera viewfinder range and show It anticipates the second identifier of the second camera viewfinder range.
Wherein, the first identifier and the second identifier, between the first component and the second component to Measure the variation of angle and close to each other or separate.
In the embodiment of the present invention, according to Face datection as a result, determining the shooting demand of user, and according to the shooting need of user It asks, preview image is shown in target screen, to be formed and the matched screening-mode of user demand.It, can in the embodiment of the present invention With adjust automatically screening-mode, manually adjusted without user, it is convenient for users to use.In addition, in the embodiment of the present invention, also It can star the first camera and second camera, shot, to increase viewfinder range, meet the big viewing angles need of user It asks.In addition, using the foldability of foldable terminal, can also by adjusting between the first component and second component to The size of angle is measured, to adjust the first camera and the total viewfinder range of second camera, so that user can be according to itself need The viewfinder range for asking adjustment camera total, it is convenient for users to use.
A kind of hardware structural diagram of Figure 16 terminal of each embodiment to realize the present invention.
The terminal 1600 includes but is not limited to: radio frequency unit 1601, network module 1602, audio output unit 1603, defeated Enter unit 1604, sensor 1605, display unit 1606, user input unit 1607, interface unit 1608, memory 1609, The components such as processor 1610 and power supply 1611.It will be understood by those skilled in the art that terminal structure shown in Figure 16 is not The restriction of structure paired terminal, terminal may include perhaps combining certain components or difference than illustrating more or fewer components Component layout.In embodiments of the present invention, terminal includes but is not limited to mobile phone, tablet computer, laptop, palm electricity Brain, car-mounted terminal, wearable device and pedometer etc..
Processor 1610, for detecting the vector angle between the first component and the second component;It is described to The value of angle is measured greater than in the case where predetermined angle threshold value, Face datection is carried out to the image of target camera acquisition;And according to To the target camera acquisition image Face datection as a result, preview image is shown in target by display unit 1606 In screen.
Wherein, the target camera is at least one of first camera, the second camera.
In the embodiment of the present invention, according to Face datection as a result, determining the shooting demand of user, and according to the shooting need of user It asks, preview image is shown in target screen, to be formed and the matched screening-mode of user demand.It, can in the embodiment of the present invention With adjust automatically screening-mode, manually adjusted without user, it is convenient for users to use.
It should be understood that the embodiment of the present invention in, radio frequency unit 1601 can be used for receiving and sending messages or communication process in, signal Send and receive, specifically, by from base station downlink data receive after, to processor 1610 handle;In addition, by uplink Data are sent to base station.In general, radio frequency unit 1601 includes but is not limited to antenna, at least one amplifier, transceiver, coupling Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 1601 can also by wireless communication system and network and other Equipment communication.
Terminal provides wireless broadband internet by network module 1602 for user and accesses, and such as user is helped to receive and dispatch electricity Sub- mail, browsing webpage and access streaming video etc..
Audio output unit 1603 can be received by radio frequency unit 1601 or network module 1602 or in memory The audio data stored in 1609 is converted into audio signal and exports to be sound.Moreover, audio output unit 1603 can be with Audio output relevant to the specific function that terminal 1600 executes is provided (for example, call signal receives sound, message sink sound Etc.).Audio output unit 1603 includes loudspeaker, buzzer and receiver etc..
Input unit 1604 is for receiving audio or video signal.Input unit 1604 may include graphics processor (Graphics Processing Unit, GPU) 16041 and microphone 16042, graphics processor 16041 are captured in video In mode or image capture mode by image capture apparatus (such as camera) obtain static images or video image data into Row processing.Treated, and picture frame may be displayed on display unit 1606.Through treated the picture frame of graphics processor 16041 It can store in memory 1609 (or other storage mediums) or carried out via radio frequency unit 1601 or network module 1602 It sends.Microphone 16042 can receive sound, and can be audio data by such acoustic processing.Audio that treated Data can be converted to the lattice that mobile communication base station can be sent to via radio frequency unit 1601 in the case where telephone calling model Formula output.
Terminal 1600 further includes at least one sensor 1605, such as optical sensor, motion sensor and other sensings Device.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment light The light and shade of line adjusts the brightness of display panel 16061, and proximity sensor can close display when terminal 1600 is moved in one's ear Panel 16061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect (generally three in all directions Axis) acceleration size, can detect that size and the direction of gravity when static, can be used to identify terminal posture (such as horizontal/vertical screen Switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;Sensor 1605 It can also include fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, hygrometer, temperature Meter, infrared sensor etc. are spent, details are not described herein.
Display unit 1606 is for showing information input by user or being supplied to the information of user.Display unit 1606 can Including display panel 16061, liquid crystal display (Liquid Crystal Display, LCD), organic light-emitting diodes can be used Forms such as (Organic Light-Emitting Diode, OLED) are managed to configure display panel 16061.
User input unit 1607 can be used for receiving the number or character information of input, and generates and set with the user of terminal It sets and the related key signals of function control inputs.Specifically, user input unit 1607 include touch panel 16071 and its His input equipment 16072.Touch panel 16071, also referred to as touch screen collect the touch operation of user on it or nearby (for example user uses any suitable objects or attachment such as finger, stylus on touch panel 16071 or in touch panel Operation near 16071).Touch panel 16071 may include both touch detecting apparatus and touch controller.Wherein, it touches The touch orientation of detection device detection user is touched, and detects touch operation bring signal, transmits a signal to touch controller; Touch controller receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processor 1610, It receives the order that processor 1610 is sent and is executed.Furthermore, it is possible to using resistance-type, condenser type, infrared ray and surface The multiple types such as sound wave realize touch panel 16071.In addition to touch panel 16071, user input unit 1607 can also include Other input equipments 16072.Specifically, other input equipments 16072 can include but is not limited to physical keyboard, function key (ratio Such as volume control button, switch key), trace ball, mouse, operating stick, details are not described herein.
Further, touch panel 16071 can be covered on display panel 16061, when touch panel 16071 detects After touch operation on or near it, processor 1610 is sent to determine the type of touch event, is followed by subsequent processing device 1610 Corresponding visual output is provided on display panel 16061 according to the type of touch event.Although in Figure 16, touch panel 16071 and display panel 16061 are the functions that outputs and inputs of realizing terminal as two independent components, but certain In embodiment, touch panel 16071 and display panel 16061 can be integrated and be realized the function that outputs and inputs of terminal, tool Body is herein without limitation.
Interface unit 1608 is the interface that external device (ED) is connect with terminal 1600.For example, external device (ED) may include wired Or wireless head-band earphone port, external power supply (or battery charger) port, wired or wireless data port, storage card end Mouth, port, the port audio input/output (I/O), video i/o port, earphone end for connecting the device with identification module Mouthful etc..Interface unit 1608 can be used for receiving the input (for example, data information, electric power etc.) from external device (ED) and By one or more elements that the input received is transferred in terminal 1600 or can be used in terminal 1600 and external dress Data are transmitted between setting.
Memory 1609 can be used for storing software program and various data.Memory 1609 can mainly include storage program Area and storage data area, wherein storing program area can application program needed for storage program area, at least one function (such as Sound-playing function, image player function etc.) etc.;Storage data area, which can be stored, uses created data (ratio according to mobile phone Such as audio data, phone directory) etc..In addition, memory 1609 may include high-speed random access memory, it can also include non- Volatile memory, for example, at least a disk memory, flush memory device or other volatile solid-state parts.
Processor 1610 is the control centre of terminal, using the various pieces of various interfaces and the entire terminal of connection, By running or execute the software program and/or module that are stored in memory 1609, and calls and be stored in memory 1609 Interior data execute the various functions and processing data of terminal, to carry out integral monitoring to terminal.Processor 1610 may include One or more processing units;Preferably, processor 1610 can integrate application processor and modem processor, wherein answer With the main processing operation system of processor, user interface and application program etc., modem processor mainly handles wireless communication. It is understood that above-mentioned modem processor can not also be integrated into processor 1610.
Terminal 1600 can also include the power supply 1611 (such as battery) powered to all parts, it is preferred that power supply 1611 Can be logically contiguous by power-supply management system and processor 1610, to realize management charging by power-supply management system, put The functions such as electricity and power managed.
In addition, terminal 1600 includes some unshowned functional modules, details are not described herein.
Preferably, the embodiment of the present invention also provides a kind of terminal, including processor 1610, and memory 1609 is stored in On reservoir 1609 and the computer program that can run on the processor 1610, the computer program are executed by processor 1610 Each process of the above-mentioned image pickup method embodiment of Shi Shixian, and identical technical effect can be reached, to avoid repeating, here no longer It repeats.
The embodiment of the present invention also provides a kind of computer readable storage medium, and meter is stored on computer readable storage medium Calculation machine program, the computer program realize each process of above-mentioned image pickup method embodiment when being executed by processor, and can reach Identical technical effect, to avoid repeating, which is not described herein again.Wherein, the computer readable storage medium is deposited Ru read-only Reservoir (Read-Only Memory, abbreviation ROM), random access memory (Random Access Memory, abbreviation RAM), Magnetic or disk etc..
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, method of element, article or device.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal (can be mobile phone, computer, service Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited to above-mentioned specific Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much Form belongs within protection of the invention.

Claims (12)

1. a kind of image pickup method, it is applied to foldable terminal, the terminal includes: the first component and second component, described It is provided with the first camera on the first component, is provided with second camera on the second component;It is characterized in that, the method Include:
Detect the vector angle between the first component and the second component;
In the case where the value of the vector angle is greater than predetermined angle threshold value, face is carried out to the image of target camera acquisition Detection;Wherein, the target camera is at least one of first camera, the second camera;
According to the Face datection of the image acquired to the target camera as a result, preview image is shown in target screen.
2. the method according to claim 1, wherein the target screen is the first screen or second of the terminal Screen;
Wherein, it is first screen, described when the vector angle between the first component and the second component is 180 degree First camera and the second camera are located at the same side of the terminal, and second screen and first screen are located at institute State the not ipsilateral of terminal.
3. according to the method described in claim 2, it is characterized in that, image that the basis acquires the target camera Face datection is as a result, preview image is shown in target screen, comprising:
Detecting facial image, and the distance of the corresponding personage of the facial image to target camera is less than pre-determined distance threshold In the case where value, the preview image is shown in first screen;
Facial image is being not detected, or is detecting facial image and the corresponding personage of the facial image is to target camera In the case that distance is greater than pre-determined distance threshold value, the preview image is shown in second screen.
4. the method according to claim 1, wherein the target camera is first camera and described Second camera, the preview image are that the image of first camera acquisition and the image of second camera acquisition close At image;
When the preview image is shown in target screen, the method also includes:
Show that viewfinder range identifies in the target screen;
Wherein, the viewfinder range identifies the viewfinder range for illustrating first camera and the second camera.
5. according to the method described in claim 4, it is characterized in that, viewfinder range mark includes: that signal described first is taken the photograph As the first identifier of head viewfinder range and the second identifier of the signal second camera viewfinder range;
Wherein, the first identifier and the second identifier are pressed from both sides with the vector between the first component and the second component The variation at angle and it is close to each other or separate.
6. a kind of terminal, the terminal is folding terminal, and the terminal includes: the first component and second component, described the It is provided with the first camera on one component, is provided with second camera on the second component;It is characterized in that, the terminal is also Include:
First detection module, for detecting the vector angle between the first component and the second component;
Second detection module, for detecting that the value of the vector angle is greater than predetermined angle threshold value in the first detection module In the case where, Face datection is carried out to the image of target camera acquisition;Wherein, the target camera is first camera shooting At least one of head, described second camera;
First display module, the Face datection of the image for being acquired according to second detection module to the target camera As a result, preview image is shown in target screen.
7. terminal according to claim 6, which is characterized in that the target screen is the first screen or second of the terminal Screen;
Wherein, it is first screen, described when the vector angle between the first component and the second component is 180 degree First camera and the second camera are located at the same side of the terminal, and second screen and first screen are located at institute State the not ipsilateral of terminal.
8. terminal according to claim 7, which is characterized in that first display module includes:
First display unit, for detecting facial image, and the corresponding people of the facial image in second detection module In the case that the distance of object to target camera is less than pre-determined distance threshold value, the preview image is shown in first screen In;
Second display unit for facial image to be not detected in second detection module, or detects facial image and institute In the case that the distance for stating the corresponding personage of facial image to target camera is greater than pre-determined distance threshold value, by the preview image It is shown in second screen.
9. terminal according to claim 6, which is characterized in that the target camera is first camera and described Second camera, the preview image are that the image of first camera acquisition and the image of second camera acquisition close At image;
The terminal further include:
Second display module, for showing that viewfinder range identifies in the target screen;
Wherein, the viewfinder range identifies the viewfinder range for illustrating first camera and the second camera.
10. terminal according to claim 9, which is characterized in that the viewfinder range mark includes: that signal described first is taken the photograph As the first identifier of head viewfinder range and the second identifier of the signal second camera viewfinder range;
Wherein, the first identifier and the second identifier are pressed from both sides with the vector between the first component and the second component The variation at angle and it is close to each other or separate.
11. a kind of terminal characterized by comprising processor, memory and be stored on the memory and can be at the place The computer program run on reason device is realized when the computer program is executed by the processor as appointed in claim 1 to 5 The step of image pickup method described in one.
12. a kind of computer readable storage medium, which is characterized in that store computer journey on the computer readable storage medium Sequence realizes the step of the image pickup method as described in any one of claims 1 to 5 when the computer program is executed by processor Suddenly.
CN201910153012.0A 2019-02-28 2019-02-28 Shooting method and terminal Active CN109688253B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910153012.0A CN109688253B (en) 2019-02-28 2019-02-28 Shooting method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910153012.0A CN109688253B (en) 2019-02-28 2019-02-28 Shooting method and terminal

Publications (2)

Publication Number Publication Date
CN109688253A true CN109688253A (en) 2019-04-26
CN109688253B CN109688253B (en) 2021-05-18

Family

ID=66197044

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910153012.0A Active CN109688253B (en) 2019-02-28 2019-02-28 Shooting method and terminal

Country Status (1)

Country Link
CN (1) CN109688253B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110958387A (en) * 2019-11-19 2020-04-03 维沃移动通信有限公司 Content updating method and electronic equipment
CN111027374A (en) * 2019-10-28 2020-04-17 华为终端有限公司 Image identification method and electronic equipment
CN111917997A (en) * 2019-05-09 2020-11-10 三星电子株式会社 Foldable electronic device and method for controlling image photographing using a plurality of cameras
CN114257671A (en) * 2022-02-28 2022-03-29 荣耀终端有限公司 Image display method and electronic equipment
WO2022262720A1 (en) * 2021-06-16 2022-12-22 维沃移动通信(杭州)有限公司 Photographing method and device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140218321A1 (en) * 2013-02-01 2014-08-07 Samsung Display Co., Ltd. Mobile device including a flexible display device and method of operating the same
CN106603763A (en) * 2016-12-18 2017-04-26 上海青橙实业有限公司 Clamshell handset and control method thereof
CN107800878A (en) * 2017-10-19 2018-03-13 广东欧珀移动通信有限公司 image display method and device
WO2018208474A1 (en) * 2017-05-12 2018-11-15 Microsoft Technology Licensing, Llc Image capture using a hinged device with multiple cameras
CN109274824A (en) * 2018-09-27 2019-01-25 西安易朴通讯技术有限公司 Image pickup method and electronic equipment
CN109348020A (en) * 2018-11-30 2019-02-15 维沃移动通信(杭州)有限公司 A kind of photographic method and mobile terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140218321A1 (en) * 2013-02-01 2014-08-07 Samsung Display Co., Ltd. Mobile device including a flexible display device and method of operating the same
CN106603763A (en) * 2016-12-18 2017-04-26 上海青橙实业有限公司 Clamshell handset and control method thereof
WO2018208474A1 (en) * 2017-05-12 2018-11-15 Microsoft Technology Licensing, Llc Image capture using a hinged device with multiple cameras
CN107800878A (en) * 2017-10-19 2018-03-13 广东欧珀移动通信有限公司 image display method and device
CN109274824A (en) * 2018-09-27 2019-01-25 西安易朴通讯技术有限公司 Image pickup method and electronic equipment
CN109348020A (en) * 2018-11-30 2019-02-15 维沃移动通信(杭州)有限公司 A kind of photographic method and mobile terminal

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111917997A (en) * 2019-05-09 2020-11-10 三星电子株式会社 Foldable electronic device and method for controlling image photographing using a plurality of cameras
CN111917997B (en) * 2019-05-09 2022-01-18 三星电子株式会社 Foldable electronic device and method for controlling image photographing using a plurality of cameras
CN111027374A (en) * 2019-10-28 2020-04-17 华为终端有限公司 Image identification method and electronic equipment
WO2021082620A1 (en) * 2019-10-28 2021-05-06 华为技术有限公司 Image recognition method and electronic device
CN110958387A (en) * 2019-11-19 2020-04-03 维沃移动通信有限公司 Content updating method and electronic equipment
WO2022262720A1 (en) * 2021-06-16 2022-12-22 维沃移动通信(杭州)有限公司 Photographing method and device
CN114257671A (en) * 2022-02-28 2022-03-29 荣耀终端有限公司 Image display method and electronic equipment
CN114257671B (en) * 2022-02-28 2022-07-19 荣耀终端有限公司 Image display method and electronic equipment

Also Published As

Publication number Publication date
CN109688253B (en) 2021-05-18

Similar Documents

Publication Publication Date Title
CN109361869A (en) A kind of image pickup method and terminal
CN109639970A (en) A kind of image pickup method and terminal device
CN108540724A (en) A kind of image pickup method and mobile terminal
CN109688253A (en) A kind of image pickup method and terminal
CN109348020A (en) A kind of photographic method and mobile terminal
CN107592459A (en) A kind of photographic method and mobile terminal
CN109246360A (en) A kind of reminding method and mobile terminal
CN107948498B (en) A kind of elimination camera Morie fringe method and mobile terminal
CN107864336B (en) A kind of image processing method, mobile terminal
CN108989672A (en) A kind of image pickup method and mobile terminal
CN108881733A (en) A kind of panorama shooting method and mobile terminal
CN108833709A (en) A kind of the starting method and mobile terminal of camera
CN108924412A (en) A kind of image pickup method and terminal device
CN109474786A (en) A kind of preview image generation method and terminal
CN110505401A (en) A kind of camera control method and electronic equipment
CN109683802A (en) A kind of icon moving method and terminal
CN109523253A (en) A kind of method of payment and device
CN108076294B (en) A kind of image pickup method and mobile terminal
CN110018805A (en) A kind of display control method and mobile terminal
CN108174081B (en) A kind of image pickup method and mobile terminal
CN109819166A (en) A kind of image processing method and electronic equipment
CN109803110A (en) A kind of image processing method, terminal device and server
CN108924422A (en) A kind of panorama photographic method and mobile terminal
CN109688325A (en) A kind of image display method and terminal device
CN108881721A (en) A kind of display methods and terminal

Legal Events

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