CN113114949A - Anti-shake photographing method, electronic device, and readable storage medium - Google Patents

Anti-shake photographing method, electronic device, and readable storage medium Download PDF

Info

Publication number
CN113114949A
CN113114949A CN202110438168.0A CN202110438168A CN113114949A CN 113114949 A CN113114949 A CN 113114949A CN 202110438168 A CN202110438168 A CN 202110438168A CN 113114949 A CN113114949 A CN 113114949A
Authority
CN
China
Prior art keywords
shell
camera
shake
offset
housing
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
CN202110438168.0A
Other languages
Chinese (zh)
Other versions
CN113114949B (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202110438168.0A priority Critical patent/CN113114949B/en
Publication of CN113114949A publication Critical patent/CN113114949A/en
Application granted granted Critical
Publication of CN113114949B publication Critical patent/CN113114949B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/68Control of cameras or camera modules for stable pick-up of the scene, e.g. compensating for camera body vibrations
    • H04N23/682Vibration or motion blur correction
    • H04N23/685Vibration or motion blur correction performed by mechanical compensation
    • 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
    • H04M1/0268Details of the structure or mounting of specific components for a display module assembly including a flexible display panel

Landscapes

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

Abstract

The application discloses anti-shake shooting method, electronic device and readable storage medium, and electronic device includes casing subassembly, flexible display screen and camera, and the casing subassembly includes sliding connection's first shell and second shell, and the first shell is connected to the one end of flexible display screen, and the other end setting is in the casing subassembly, and the second shell can slide in order to adjust electronic device's display area for first shell, and the camera is installed on the second shell and can follow the second shell and slide relative to first shell. The anti-shake photographing method includes: acquiring the jitter offset of a camera in the shooting process; and controlling the second shell to slide relative to the first shell according to the shake offset so as to perform shake compensation on the camera. So, the user is at the shooting in-process, when the shake appears, and electron device can drive the second shell and move in order to compensate the shake in order to drive the camera for first shell to eliminate the influence that the shake brought, in order to realize that electron device shoots anti-shake, improve imaging quality.

Description

Anti-shake photographing method, electronic device, and readable storage medium
Technical Field
The present disclosure relates to the field of electronic technologies, and in particular, to an anti-shake photographing method, an electronic apparatus, and a readable storage medium.
Background
In the related art, when a user uses an electronic device such as a mobile phone to shoot, the user usually needs to hold the electronic device to shoot. However, the camera of the electronic device inevitably shakes during shooting by the handheld electronic device, which results in poor picture shooting effect of the electronic device.
Disclosure of Invention
The embodiment of the application provides an anti-shake shooting method, an electronic device and a readable storage medium.
The anti-shake shooting method is applied to an electronic device, the electronic device comprises a shell assembly, a flexible display screen and a camera, the shell assembly comprises a first shell and a second shell which are connected in a sliding mode, one end of the flexible display screen is connected with the first shell, the other end of the flexible display screen is arranged in the shell assembly, the second shell can slide relative to the first shell to adjust the display area of the electronic device, and the camera is installed on the second shell and can slide relative to the first shell along with the second shell;
the anti-shake photographing method includes:
acquiring the jitter offset of the camera in the shooting process;
and controlling the second shell to slide relative to the first shell according to the jitter offset so as to perform jitter compensation on the camera.
The electronic device comprises a shell assembly, a flexible display screen, a camera and a processor, wherein the shell assembly comprises a first shell and a second shell which are connected in a sliding mode, one end of the flexible display screen is connected with the first shell, the other end of the flexible display screen is arranged in the shell assembly, the second shell can slide relative to the first shell to adjust the display area of the electronic device, the camera is installed on the second shell and is electrically connected with the processor, and the camera can slide relative to the first shell along with the second shell;
the processor is used for acquiring the jitter offset of the camera in the shooting process; and controlling the second shell to slide relative to the first shell according to the jitter offset so as to perform jitter compensation on the camera.
The present embodiments provide a readable storage medium storing a computer program which, when executed by one or more processors, implements a panorama shooting method as described in any one of the above.
In the anti-shake photographing method, the electronic device and the readable storage medium according to the embodiments of the application, shake of the camera can be detected in real time during photographing to obtain shake offset of the camera during photographing, and the second shell can be controlled to slide relative to the first shell according to the shake offset to perform shake compensation on the camera. So, the user is at the shooting in-process, when the shake appears, and electron device can drive the second shell and move in order to compensate the shake in order to drive the camera for first shell to eliminate the influence that the shake brought, in order to realize that electron device shoots anti-shake, improve imaging quality.
Additional aspects and advantages of the present application will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the present application.
Drawings
The above and/or additional aspects and advantages of the present application will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
fig. 1 is a schematic perspective view of an electronic device according to an embodiment of the present application;
fig. 2 is a schematic perspective view of an electronic device according to an embodiment of the present application;
fig. 3 is a schematic cross-sectional view of an electronic device according to an embodiment of the present application;
fig. 4 is a schematic cross-sectional view of an electronic device according to an embodiment of the present application;
fig. 5 is a schematic flowchart of an anti-shake photographing method according to an embodiment of the present application;
FIG. 6 is a block diagram of an electronic device according to an embodiment of the present application;
fig. 7 is another schematic flow chart of the anti-shake photographing method according to the embodiment of the present application;
fig. 8 is a further flowchart illustrating an anti-shake photographing method according to an embodiment of the present application;
fig. 9 is a further flowchart of the anti-shake photographing method according to the embodiment of the present application;
fig. 10 is another schematic flow chart of the anti-shake photographing method according to the embodiment of the present application;
fig. 11 is a further flowchart illustrating an anti-shake photographing method according to an embodiment of the present application;
fig. 12 is a further flowchart of the anti-shake photographing method according to the embodiment of the present application.
Description of the main element symbols:
an electronic device 100;
the display device comprises a housing assembly 10, a first shell 12, a second shell 14, a containing space 16, a rear cover 18, a flexible display screen 30, a first part 32, a second part 34, a processor 40, a driver 50, teeth 52, a driving mechanism 70, a motor 72, a transmission structure 74, a scroll 76, an optical anti-shake motor 80, a camera 90, a lens 92 and an image sensor 94.
Detailed Description
Reference will now be made in detail to embodiments of the present application, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the accompanying drawings are illustrative and are only for the purpose of explaining the present application and are not to be construed as limiting the present application.
In this application, unless expressly stated or limited otherwise, the first feature "on" or "under" the second feature may comprise direct contact of the first and second features, or may comprise contact of the first and second features not directly but through another feature in between. Also, the first feature being "on," "above" and "over" the second feature includes the first feature being directly on and obliquely above the second feature, or merely indicating that the first feature is at a higher level than the second feature. A first feature being "under," "below," and "beneath" a second feature includes the first feature being directly under and obliquely below the second feature, or simply meaning that the first feature is at a lesser elevation than the second feature.
The following disclosure provides many different embodiments or examples for implementing different features of the application. To simplify the disclosure of the present application, the components and settings of a specific example are described below. Of course, they are merely examples and are not intended to limit the present application. Moreover, the present application may repeat reference numerals and/or reference letters in the various examples, which have been repeated for purposes of brevity and clarity and do not in themselves dictate a relationship between the various embodiments and/or configurations discussed. In addition, examples of various specific processes and materials are provided herein, but one of ordinary skill in the art may recognize applications of other processes and/or use of other materials.
Referring to fig. 1 to fig. 4, an electronic device 100 of the present embodiment includes a housing assembly 10, a flexible display 30, a driver 50, and a driving mechanism 70. The shell assembly 10 is a hollow structure; the components of the driver 50, the drive mechanism 70, and the camera 90 may all be disposed in the housing assembly 10. It is understood that the electronic device 100 according to the embodiment of the present disclosure includes, but is not limited to, a mobile terminal such as a mobile phone, a tablet, or other portable electronic devices, and the electronic device 100 is taken as an example of a mobile phone in this document.
In the present embodiment, the housing assembly 10 includes a first housing 12 and a second housing 14, and the first housing 12 and the second housing 14 are relatively movable. Specifically, in the present embodiment, the first case 12 and the second case 14 are slidably connected, that is, the second case 14 is slidable with respect to the first case 12.
Referring to fig. 1 and 2, in an embodiment of the present application, the flexible display 30 may include a first portion 32 and a second portion 34 connected to the first portion 32, the first portion 32 is fixedly connected to the second housing 14, and the second portion 34 can be hidden in the housing assembly 10, that is, one end of the flexible display 30 is connected to the second housing 14, and the other end is hidden in the housing assembly 10. In this way, the second housing 14 can slide relative to the first housing 12 to cause the second portion 34 of the flexible display 30 to at least partially extend out of the housing assembly 10 or retract into the housing assembly 10, thereby adjusting the display area of the electronic device 100.
The electronic device 100 according to the embodiment of the present application may have two modes. The first configuration is a configuration in which the first housing 12 and the second housing 14 are fitted together, that is, the electronic device 100 is located when the first housing 12 and the second housing 14 are close to each other and move to the extreme position, in which the first portion 32 of the flexible display 30 is exposed outside the housing assembly 10, the second portion 34 is substantially completely hidden inside the housing assembly 10, and the electronic device 100 has a small display area and is convenient to carry (see fig. 1). The second configuration is a configuration in which the second shell 14 moves away from the first shell 12 to drive the second portion 34 of the flexible display 30 to gradually expand out of the housing assembly 10, and in the second configuration, the second portion 34 of the flexible display 30 at least partially expands out of the housing assembly 10 to form a display portion of the electronic device 100 together with the first portion 32, so that the display area of the electronic device 100 is larger to provide a better display effect for a user (see fig. 2).
In some embodiments, the second housing 14 is slidable relative to the first housing 12 between a first position, a second position, and a third position, the display area of the electronic device 100 when the second housing 14 is in the first position being smaller than the display area of the electronic device 100 when the second housing 14 is in the second position, the third position being between the first position and the second position.
Referring to fig. 1 to 4, in an embodiment of the application, the second housing 14 is capable of sliding relative to the first housing 12 between a first position (shown in fig. 1 and 3) and a second position (shown in fig. 2 and 4), and a display area of the electronic device 100 when the second housing 14 is in the first position is smaller than a display area of the electronic device 100 when the second housing 14 is in the second position.
It is understood that the second housing 14 of the electronic device 100 passes through a plurality of positions during sliding in contact with the first housing 12. In the present embodiment, when the first shell 12 and the second shell 14 are fitted together, the second shell 14 is located at a first position (as shown in fig. 1 and 3); when the first and second shells 12 and 14 are deployed away from each other to the extreme position, the second shell 14 is in a second position (as shown in fig. 2 and 4). The position of the second housing 14 during the transformation of the first form and the second form is defined as the third position, i.e., the position between the first position and the second position is the third position.
In the embodiment of the present application, the "display area" refers to an area of a portion of the flexible display 30 exposed outside the housing assembly 10 for display.
Referring to fig. 3 and 4, the first shell 12 and the second shell 14 together form an accommodating space 16. The accommodating space 16 can be used for accommodating components such as the driver 50, the camera 90 and the driving mechanism 70. The housing assembly 10 may further include a rear cover 18, and the rear cover 18 and the first and second cases 12 and 14 together form the accommodating space 16.
The driving element 50 is disposed on the second shell 14, one end of the flexible display 30 is disposed on the first shell 12, the flexible display 30 bypasses the driving element 50, and the other end of the flexible display 30 is disposed in the accommodating space 16, so that a part of the flexible display 30 is hidden in the accommodating space 16, and the part of the flexible display 30 hidden in the accommodating space 16 may not be lighted. The first shell 12 and the second shell 14 are relatively far away from each other, and the driving member 50 can drive the flexible display 30 to unfold, so that more flexible display 30 are exposed out of the accommodating space 16. The flexible display screen 30 exposed outside the accommodating space 16 is lighted up, so that the display area presented by the electronic device 100 becomes large.
The driving member 50 may be a rotating shaft structure with teeth 52 on the outside, the flexible display 30 is linked with the driving member 50 by engaging, and when the first shell 12 and the second shell 14 are relatively far away from each other, the driving member 50 drives a portion of the flexible display 30 engaged with the driving member 50 to move and unfold.
It is understood that the driver 50 can also be a circular shaft without the belt 52, and when the first shell 12 and the second shell 14 are relatively far away from each other, the driver 50 can stretch the portion of the flexible display 30 wound around the driver 50, so that more flexible display 30 is exposed out of the accommodating space 16 and is in a flat state. Specifically, the driving member 50 is rotatably disposed on the second casing 14, and the driving member 50 can rotate along with the movement of the flexible display 30 when the flexible display 30 is gradually opened. In other embodiments, the driver 50 may be fixed to the second housing 14, and the driver 50 may have a smooth surface. When the flexible display 30 is spread, the driver 50 is slidably contacted with the flexible display 30 through its smooth surface.
When the first housing 12 and the second housing 14 are relatively close to each other, the flexible display 30 can be retracted by the driving member 50. Alternatively, the electronic device 100 further includes a reset element (not shown), one end of the flexible display 30, which is accommodated in the accommodating space 16, is linked with the reset element, and when the first shell 12 and the second shell 14 are relatively close to each other, the reset element drives the flexible display 30 to reset, so that a part of the flexible display 30 is retracted into the accommodating space 16.
In the embodiment of the present application, the fact that the second portion 34 can be hidden in the case assembly 10 means that the second portion 34 can be housed in the internal space of the case assembly 10 and is not exposed, or the fact that the second portion 34 can be hidden on the back surface of the case assembly 10 and is exposed from the back surface, and the description will be given taking the case where the second portion 34 can be housed in the internal space of the case assembly 10 and is not exposed.
In this embodiment, the driving mechanism 70 may be disposed in the accommodating space 16, the driving mechanism 70 may be linked with the second shell 14, and the driving mechanism 70 is configured to drive the second shell 14 to move away from the first shell 12, so as to drive the flexible display 30 to extend out of the shell assembly 10 or retract into the shell assembly 10, thereby changing a display area of the electronic device 100.
Specifically, during switching of the two configurations, the drive mechanism 70 is used to provide power to move the second housing 14 relative to the first housing 12 to at least partially deploy the second portion 34 out of the housing assembly 10 or retract it into the housing assembly 10.
In some embodiments, the driving mechanism 70 may include a motor 72 and a transmission structure 74, and the transmission structure 74 may be a rack and pinion transmission structure, and the motor 72 and the rack and pinion transmission structure may drive the second housing 14 to slide relative to the first housing 12.
In addition, in some embodiments, to achieve the unfolding and folding of the second portion 34, the electronic device 100 may include a reel 76, a middle portion of the second portion 34 is wound around the driving portion 50 mounted on the second shell 14, a distal end of the second portion 34 may be wound on the reel 76, and when the second shell 14 and the first shell 12 are far away from each other, the reel 76 may gradually release the second portion 34 to enable the second portion 34 to be gradually unfolded out of the housing assembly 10 under the action of the second shell 14. As the second shell 14 and the first shell 12 approach each other, the reel 76 may gradually wind the second portion 34 such that the second portion 34 is gradually retracted into the housing assembly 10 under the action of the second shell 14.
Of course, it is understood that in some embodiments, the transmission structure 74 may be a screw nut transmission structure (not shown), and the nut is threaded on the screw, such that when the motor 72 drives the screw to rotate, the screw can drive the nut to move, and the nut is connected to the second shell 14 to drive the second shell 14 to move relative to the first shell 12. And the first portion 32 is connected to the first housing 12, so that the second portion 34 can be at least partially extended out of the housing or retracted into the housing to adjust the display area of the electronic device 100. Of course, in other embodiments, the driving mechanism 70 may also adopt other driving and transmission manners, and only needs to be able to slide the second shell 14 relative to the first shell 12, and is not limited herein.
In the description of the embodiments of the present application, the terms "first", "second" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, features defined as "first", "second", may explicitly or implicitly include one or more of the described features. In the description of the embodiments of the present application, "a plurality" means two or more unless specifically defined otherwise.
It should be noted that in the description of the present application, it is to be understood that the terms "central", "longitudinal", "lateral", "length", "width", "thickness", "upper", "lower", "vertical", "horizontal", "top", "bottom", "inner" and "outer" indicate orientations or positional relationships based on those shown in the drawings, and are only for convenience of description and simplicity of description, and do not indicate or imply that the referenced device or element must have a particular orientation, be constructed and operated in a particular orientation, and thus, should not be considered as limiting the present application. In addition, it should be noted that, in the description of the present application, it should be noted that, unless explicitly stated or limited otherwise, the terms "mounted," "connected," and "connected" are to be interpreted broadly, e.g., as either a fixed connection, a detachable connection, or an integral connection; may be a mechanical connection; either directly or indirectly through intervening media, either internally or in any other relationship. The specific meaning of the above terms in the present application can be understood by those of ordinary skill in the art as appropriate.
Referring to fig. 5, an anti-shake photographing method is provided in an embodiment of the present application, and is used for an electronic device 100 in the embodiment of the present application, where the electronic device 100 includes a housing assembly 10, a flexible display screen 30 and a camera 90, the housing assembly 10 includes a first housing 12 and a second housing 14 that are slidably connected, one end of the flexible display screen 30 is connected to the first housing 12, the other end of the flexible display screen is disposed in the housing assembly 10, the second housing 14 can slide relative to the first housing 12 to adjust a display area of the electronic device 100, and the camera 90 is mounted on the second housing 14 and can slide relative to the first housing 12 along with the second housing 14. The anti-shake photographing method includes the steps of:
s10, acquiring the shake offset of the camera 90 in the shooting process;
s20, the second housing 14 is controlled to slide relative to the first housing 12 according to the shake offset amount to perform shake compensation on the camera 90.
Referring to fig. 6, the electronic device 100 of the present embodiment further includes a processor 40, and the processor 40 is electrically connected to the camera 90 and the motor 72 of the driving mechanism 70. The above steps S10-S20 can be executed by the processor 40. That is, the processor 40 may be configured to obtain a shake offset of the camera 90 during shooting; and controlling the second housing 14 to slide relative to the first housing 12 according to the shake offset amount to perform shake compensation on the camera 90. It is to be understood that in the present application, the processor 40 controls the relative sliding of the second housing 14 and the first housing 12 through the driving mechanism 70, and hereinafter, if the same or similar description appears, it is understood by referring to the same.
It is understood that, in the related art, when a user uses an electronic device such as a mobile phone to take a panoramic picture, the user usually needs to hold the mobile electronic device for taking a picture. However, when the user holds the electronic device to move, the hand shakes a lot, a large part of the picture needs to be cut out to splice the panoramic picture, and the picture quality is poor.
In the anti-shake photographing method and the electronic device 100 according to the embodiment of the present application, shake of the camera 90 can be detected in real time during photographing to obtain a shake offset amount of the camera 90 during photographing, and the second housing 14 can be controlled to slide relative to the first housing 12 according to the shake offset amount to compensate for shake of the camera 90. Thus, when a user shakes during shooting, the electronic device 100 can drive the second housing 14 to move relative to the first housing 12 to drive the camera 90 to compensate for the shaking, so as to eliminate the influence caused by the shaking, so as to realize shooting anti-shaking of the electronic device 100 and improve the imaging quality.
Specifically, in the embodiment of the present application, a user can hold the first casing 12 of the electronic device 100 by hand, so that the second casing 14 can slide freely relative to the first casing 12, and then the second casing 14 drives the camera 90 to slide relative to the first casing 12 to compensate for shaking caused by shaking of the hand of the user, thereby implementing a shaking prevention function for shooting.
It is understood that in the present application, when the camera 90 is held by the electronic device 100, the electronic device 100 shakes, and therefore, in practice, the shake offset of the camera 90 is the shake offset of the electronic device 100.
In the present application, a sensing element such as a gyroscope, a gravity sensor, or an acceleration sensor may be provided in the electronic device 100 to detect the shake of the camera 90. Taking a gyroscope as an example, the gyroscope may detect the amount of shake offset of the camera 90 in real time and transmit the amount of shake offset of the camera 90 back to the processor 40 when the user holds the electronic device 101. The processor 40 calculates a position compensation amount by the shake offset amount, and controls the driving mechanism 70 according to the position compensation amount to slide the second housing 14 relative to the first housing 12 to move the camera 90 in a reverse direction to cancel out the shake of the camera 90, so that the camera 90 maintains a relatively stable position in a spatial position for shooting, and the shooting effect of the camera 90 is improved.
It should be noted that, in the present application, the driving accuracy of the driving mechanism 70 needs to be set to be sufficiently high, so that the accuracy of the driving mechanism 70 driving the second housing 14 to slide can achieve the purpose of compensating for the jitter offset.
Of course, it is understood that in other embodiments, the driving mechanism 70 may be composed of two sets of motors 72 and transmission structures 74, one set is used for controlling the electronic device 100 to change between the first configuration and the second configuration, the other set is used for controlling the shake offset to control the second housing 14 to slide relative to the first housing 12 to compensate for the shake of the camera 90, the precision of the second set of driving mechanism 70 is higher than that of the first set of driving mechanism 70, for example, the first set of motors 72 and transmission structures 74 may be driven by a motor and a rack-and-pinion transmission, and the second set of motors 72 and transmission structures 74 may be driven by a screw motor with higher precision to meet the requirement of shake prevention.
Referring to fig. 7, in some embodiments, before step S10, the anti-shake photographing method further includes the steps of:
s30, controlling the electronic device 100 to enter an anti-shake shooting mode based on the user instruction;
s40, the second housing 14 is controlled to slide to a third position relative to the first housing 12.
In some embodiments, the steps S30-S40 can be executed by the processor 40. That is, the processor 40 may be configured to control the electronic apparatus 100 to enter the anti-shake photographing mode based on a user instruction; and for controlling the sliding of the second housing 14 to a third position relative to the first housing 12.
Thus, the user can give an instruction to enable the electronic device 100 to enter the anti-shake shooting mode, so that the second shell 14 is located at the third position, and further the initialization setting of the anti-shake shooting is completed, thereby avoiding that the second shell 14 is located at the first position or the second position when shooting, and the second shell 14 cannot achieve a good anti-shake effect towards the second position or the first position.
It is understood that steps S30 and S40 are provided before steps S10 and S20, the electronic device 100 is made to complete the initialization setting of the anti-shake photographing, and the camera 90 performs the photographing operation again. In addition, in some embodiments, the first portion 32 of the flexible display 30 is used to display a photographic image and the second portion 34 may not be used to display when the second housing 14 is slid to a third position relative to the first housing 12. Of course, in some embodiments, the first portion 32 is used for displaying the shot image, and the portion of the second portion 34 exposed outside the housing assembly 10 may also be used for displaying the shot image, which is not limited herein.
Specifically, the user may give an instruction by clicking a key (which may be a physical key or a virtual key) on the flexible display 30, and the flexible display 30 is electrically connected to the processor 40 to transmit an instruction signal of the user to the processor 40. The processor 40 controls the second housing 14 to slide relative to the first housing 12, from the first position to the third position, or from the second position to the third position, via the drive mechanism 70. The third position may be any position between the first position and the second position. Preferably, the third position may be an intermediate position between the first position and the second position to cope with a random shaking deviation caused by hand shaking of the user.
Referring to fig. 8, in some embodiments, the jitter offset includes a first offset in a first direction parallel to the sliding direction of the second housing 14 and a second offset in a second direction different from the first direction, specifically, in the present application, the second direction may be perpendicular to the first direction, that is, the second direction may be perpendicular to the sliding direction.
Step S20 includes the steps of:
s21, controlling the second housing 14 to slide relative to the first housing 12 according to the first offset amount to compensate for the shake of the camera 90 in the first direction.
In some embodiments, the step S21 can also be executed by the processor 40. That is, the processor 40 may be configured to control the second housing 14 to slide relative to the first housing 12 according to the first offset amount to compensate for the camera 90 for shake in the first direction.
In this way, the shake offset amount can be decomposed into two offset amounts in two directions, the first direction in which the first offset amount is located is parallel to the sliding direction, and the second housing 14 slides relative to the first housing 12 to cancel the first offset amount.
It can be understood that the shaking of the human hand is often disordered and irregular, and the shaking direction and distance are variable, so that when the user holds the electronic device 100, the electronic device 100 will also shake randomly along with the user, resulting in poor shooting effect of the camera 90. And when the direction of the human hand shake offset is along the first direction, the processor 40 controls the driving mechanism 70 to drive the second shell 14 to slide relative to the first shell 12 to perform shake compensation on the camera 90 in the first direction to realize anti-shake shooting.
In addition, the direction of the shake offset amount may not be along the sliding direction of the second housing 14 with respect to the first housing 12, and in this case, the shake offset amount may be decomposed into two components, that is, a first offset amount in the first direction and a second offset amount in the second direction. The processor 40 controls the driving mechanism 70 to drive the second housing 14 to slide relative to the first housing 12 to compensate for the first offset.
Further, referring to fig. 9 and 10, in some embodiments, the anti-shake photographing method further includes:
s50, controlling the camera 90 to move integrally relative to the second housing 14 according to the second offset amount to compensate for shake of the camera 90 in the second direction; or
S60, controlling the lens 92 or the image sensor 94 of the camera 90 to move relative to the second housing 14 according to the second offset amount to perform shake compensation on the camera 90 in the second direction.
In some embodiments, the above steps S50 and S60 may also be executed by the processor 40. That is, the processor 40 may be configured to control the camera 90 to move integrally relative to the second housing 14 according to the second offset amount to perform shake compensation on the camera 90 in the second direction; or controls the lens 92 or the image sensor 94 of the camera 90 to move relative to the second housing 14 according to the second offset amount to perform shake compensation on the camera 90 in the second direction.
Thus, the first offset amount can be compensated for shaking by sliding the second housing 14 relative to the first housing 12, and the second offset amount in the second direction can be compensated for shaking by controlling the camera 90 to move as a whole relative to the second housing 14 or controlling the lens 92 or the image sensor 94 of the camera 90 to move relative to the second housing 14, so that the anti-shake function is further optimized to further improve the shooting quality of the camera 90.
Specifically, in such an embodiment, the electronic device 100 may include an optical anti-shake motor 80, such as an anti-shake micro-pan and tilt head, the camera 90 includes a lens 92 and an image sensor 94, the optical anti-shake motor 80 may be disposed on the second housing 14 to connect the camera 90 in its entirety to drive the camera 90 to move relative to the second housing 14 to achieve shake compensation in the second direction, or the optical anti-shake motor 80 may be connected only to the lens 92 or the image sensor 94 of the camera to drive the lens 92 or the image sensor 94 to move relative to the second housing 14 to achieve shake compensation in the second direction.
For example, one of the steps S50 and S60 may be selected to cooperate with the step S21, that is, the driving mechanism 70 cooperates with the optical anti-shake motor 80 to simultaneously eliminate the first offset and the second offset of the camera 90 in the first direction and the second direction, eliminate the offset of the camera 90 as a whole, and ensure the shooting effect of the camera 90. In the embodiment of the present application, the second direction may be a direction at any angle to the first direction, and the first direction and the second direction may be combined into an anti-shake plane, for example, based on the electronic device 100 being placed on a horizontal plane in parallel, the first direction and the second direction may be two perpendicular directions (i.e., an X direction and a Y direction) on the horizontal plane, and the first direction is a sliding direction of the second housing 14, so that shake on the horizontal plane can be eliminated by sliding the second housing 14 and moving the camera 90. The processor 40 controls the driving mechanism 70 to slide the second housing 14 relative to the first housing 12 to eliminate the first offset amount, and the processor 40 controls the optical anti-shake motor 80 to control the camera 90 to move relative to the second housing 14 to eliminate the second offset amount.
In some embodiments, the optical anti-shake motor 80 drives the lens 92 or the image sensor 94 to move. For example, the optical anti-shake motor 80 may be connected to the lens 92 so as to move the lens 92 to change the relative positions of the lens 92 and the image sensor 94 when the optical anti-shake motor 80 is operated to implement the anti-shake function in the second direction. In order to reduce the deviation of the optical axis of the camera 90, the optical anti-shake motor 80 generally drives the lens 92 to translate, but does not control the lens 92 to rotate. In some embodiments, the lens 92 includes a lens group, and the optical anti-shake motor 80 drives the lens 92, it being understood that the optical anti-shake motor 80 drives one or more lenses of the lens group to move. In addition, in some embodiments, the lens 92 may further include a prism, and the optical anti-shake motor 80 drives the lens 92, it being understood that the optical anti-shake motor 80 moves the prism, and in such an example, the camera 90 may be a periscopic camera. Of course, in some embodiments, the optical anti-shake motor 80 may also be used to drive the image sensor 94 to move to achieve the anti-shake function in the second direction.
Referring to fig. 11, in some embodiments, before step S21, the anti-shake photographing method further includes the steps of:
s70, determining whether the first offset is larger than a preset value;
when the first offset is greater than the preset value, step 21 is performed.
In some embodiments, the above step S70 can be executed by the processor 40. That is, the processor 40 may be configured to determine whether the first offset is greater than a preset value; when the first offset amount is greater than the preset value, a step of controlling the second housing 14 to slide relative to the first housing 12 according to the first offset amount to compensate for the shake of the camera 90 in the first direction is performed.
In this way, the processor 40 can control whether the shake compensation by the driving mechanism 70 is required according to the preset value, so as to avoid that the sliding of the second shell 14 relative to the first shell 12 cannot compensate the first offset accurately when the first offset is small.
Further, referring to fig. 11 and 12, in some embodiments, the anti-shake photographing method further includes:
when the first offset amount is less than or equal to the preset value, performing step S80, controlling the camera 90 to move integrally relative to the second housing 14 according to the first offset amount to perform shake compensation on the camera 90 in the first direction; or
When the first offset amount is less than or equal to the preset value, step S90 is performed to control the lens 92 or the image sensor 94 of the camera 90 to move relative to the second housing 14 according to the first offset amount to perform shake compensation on the camera 90 in the first direction.
In some embodiments, the steps S80-S90 can be executed by the processor 40. That is, the processor 40 may be configured to control the entire camera 90 to move relative to the second housing 14 according to the first offset amount to perform shake compensation on the camera 90 in the first direction when the first offset amount is less than or equal to the preset value; or controls the lens 92 or the image sensor 94 of the camera 90 to move relative to the second housing 14 according to the first offset amount to perform shake compensation on the camera 90 in the first direction.
As such, the processor 40 may control whether the first offset amount is compensated by the driving mechanism 70 or the optical anti-shake motor 80 according to a preset value, so that the driving mechanism 70 and the optical anti-shake motor 80 may implement shake compensation in the first direction through a complementary form.
Specifically, it can be understood that in the related art, the anti-shake range of the optical anti-shake motor is small, which cannot perform anti-shake in a large range. In the present application, the driving mechanism 70 drives the second housing 14 to slide, so that a large range of anti-shake can be achieved to avoid the optical anti-shake motor 80 from affecting the shooting quality when the anti-shake in the large range cannot be achieved. Like this, when first offset is too big and leads to optics anti-shake motor 80 to be unable when realizing, the anti-shake is realized to the removal of accessible second shell 14, when first offset is too little and leads to the unable arrival of the slip precision of second shell 14, then can adopt optics anti-shake motor 80 to realize the compensation of first offset, and both complementary collaborative work are in order to improve the anti-shake effect. Of course, it is understood that when the driving accuracy of the driving mechanism 70 is high, the anti-shake function may be achieved by sliding the second housing 14 all the way, and is not limited herein.
Of course, it is understood that, in some embodiments, the driving mechanism 70 and the optical anti-shake motor 80 may also be matched to compensate the first offset amount in sequence, and when the first offset amount is greater than the preset value, the driving mechanism 70 performs shake compensation with a larger value first, and then the optical anti-shake motor 80 performs accurate anti-shake compensation. Of course, in other embodiments, the driving mechanism 70 and the optical anti-shake motor 80 may also cooperate to simultaneously compensate the first offset amount, and the processor 40 divides the first offset amount into two numerical amounts, the larger numerical amount being compensated by the driving mechanism 70, and the smaller numerical amount being compensated by the optical anti-shake motor 80.
The present embodiment provides a readable storage medium storing a computer program, which when executed by one or more processors 40, implements the anti-shake photographing method of any one of the above embodiments.
For example, the computer program may be executed by the processor 40 to perform the anti-shake photographing method of the following steps:
s10, acquiring the shake offset of the camera 90 in the shooting process;
s20, the second housing 14 is controlled to slide relative to the first housing 12 according to the shake offset amount to perform shake compensation on the camera 90.
In the description of the embodiments of the present invention, the terms "first" and "second" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implying any number of technical features indicated. Thus, features defined as "first", "second", may explicitly or implicitly include one or more of the described features. In the description of the embodiments of the present invention, "a plurality" means two or more unless specifically limited otherwise.
In the description herein, references to the description of the terms "one embodiment," "some embodiments," "an illustrative embodiment," "an example," "a specific example," or "some examples" or the like mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present application. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and alternate implementations are included within the scope of the preferred embodiment of the present invention in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present invention.
The logic and/or steps represented in the flowcharts or otherwise described herein, such as an ordered listing of executable instructions that can be considered to implement logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processing module-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
It should be understood that portions of embodiments of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.
In addition, functional units in the embodiments of the present invention may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc.
Although embodiments of the present application have been shown and described above, it is to be understood that the above embodiments are exemplary and not to be construed as limiting the present application, and that changes, modifications, substitutions and alterations can be made to the above embodiments by those of ordinary skill in the art within the scope of the present application.

Claims (13)

1. An anti-shake shooting method is used for an electronic device and is characterized in that the electronic device comprises a shell assembly, a flexible display screen and a camera, the shell assembly comprises a first shell and a second shell which are connected in a sliding mode, one end of the flexible display screen is connected with the first shell, the other end of the flexible display screen is arranged in the shell assembly, the second shell can slide relative to the first shell to adjust the display area of the electronic device, and the camera is mounted on the second shell and can slide relative to the first shell along with the second shell;
the anti-shake photographing method includes:
acquiring the jitter offset of the camera in the shooting process;
and controlling the second shell to slide relative to the first shell according to the jitter offset so as to perform jitter compensation on the camera.
2. The anti-shake photographing method according to claim 1, wherein the second housing is slidable with respect to the first housing between a first position, a second position, and a third position, a display area of the electronic device when the second housing is in the first position is smaller than a display area of the electronic device when the second housing is in the second position, and the third position is between the first position and the second position;
before acquiring the shake offset of the camera in the shooting process, the anti-shake shooting method further comprises the following steps:
controlling the electronic device to enter an anti-shake shooting mode based on a user instruction;
controlling the second shell to slide to the third position relative to the first shell.
3. The anti-shake photographing method according to claim 1, wherein the shake offset amounts include a first offset amount in a first direction parallel to a sliding direction of the second housing and a second offset amount in a second direction different from the first direction;
the controlling the second shell to slide relative to the first shell according to the jitter offset to perform jitter compensation on the camera comprises:
and controlling the second shell to slide relative to the first shell according to the first offset so as to compensate the camera in the first direction.
4. The anti-shake photographing method according to claim 3, further comprising:
controlling the whole camera to move relative to the second shell according to the second offset so as to perform shake compensation on the camera in the second direction; or
And controlling a lens or an image sensor of the camera to move relative to the second shell according to the second offset so as to perform shake compensation on the camera in the second direction.
5. The anti-shake photographing method according to claim 3, wherein before the controlling of the sliding of the second housing relative to the first housing according to the first offset amount to shake-compensate the camera in the first direction, the anti-shake photographing method further comprises:
determining whether the first offset is larger than a preset value;
and when the first offset is larger than the preset value, executing the step of controlling the second shell to slide relative to the first shell according to the first offset so as to perform shake compensation on the camera in the first direction.
6. The anti-shake photographing method according to claim 5, further comprising:
when the first offset is smaller than or equal to the preset value, controlling the whole camera to move relative to the second shell according to the first offset so as to perform shake compensation on the camera in the first direction; or
Controlling a lens or an image sensor of the camera to move relative to the second shell according to the first offset amount so as to perform shake compensation on the camera in the first direction.
7. An electronic device is characterized by comprising a shell assembly, a flexible display screen, a camera and a processor, wherein the shell assembly comprises a first shell and a second shell which are connected in a sliding manner, one end of the flexible display screen is connected with the first shell, the other end of the flexible display screen is arranged in the shell assembly, the second shell can slide relative to the first shell to adjust the display area of the electronic device, the camera is mounted on the second shell and is electrically connected with the processor, and the camera can slide relative to the first shell along with the second shell;
the processor is used for acquiring the jitter offset of the camera in the shooting process; and controlling the second shell to slide relative to the first shell according to the jitter offset so as to perform jitter compensation on the camera.
8. The electronic device according to claim 7, wherein the second housing is slidable with respect to the first housing between a first position, a second position, and a third position, a display area of the electronic device when the second housing is in the first position is smaller than a display area of the electronic device when the second housing is in the second position, and the third position is between the first position and the second position;
the processor is further used for controlling the electronic device to enter an anti-shake shooting mode based on a user instruction; and controlling the second shell to slide to the third position relative to the first shell.
9. The electronic device according to claim 7, wherein the shake offset amount includes a first offset amount in a first direction parallel to a sliding direction of the second housing and a second offset amount in a second direction different from the first direction;
the processor is used for controlling the second shell to slide relative to the first shell according to the first offset so as to compensate the camera in the first direction.
10. The electronic device of claim 9, wherein the processor is further configured to control the camera to move integrally relative to the second housing according to the second offset amount to compensate for shake of the camera in the second direction; or controlling the lens or the image sensor of the camera to move relative to the second shell according to the second offset so as to perform shake compensation on the camera in the second direction.
11. The electronic device of claim 9, wherein the processor is configured to determine whether the first offset is greater than a predetermined value; and when the first offset is larger than the preset value, executing the step of controlling the second shell to slide relative to the first shell according to the first offset so as to perform shake compensation on the camera in the first direction.
12. The electronic device according to claim 11, wherein the processor is configured to control the entire camera to move relative to the second housing according to the first offset amount to perform shake compensation on the camera in the first direction when the first offset amount is smaller than or equal to the preset value; or controlling a lens or an image sensor of the camera to move relative to the second shell according to the first offset so as to perform shake compensation on the camera in the first direction.
13. A readable storage medium storing a computer program, wherein the computer program, when executed by one or more processors, implements the anti-shake photographing method according to any one of claims 1 to 6.
CN202110438168.0A 2021-04-22 2021-04-22 Anti-shake photographing method, electronic device and readable storage medium Active CN113114949B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110438168.0A CN113114949B (en) 2021-04-22 2021-04-22 Anti-shake photographing method, electronic device and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110438168.0A CN113114949B (en) 2021-04-22 2021-04-22 Anti-shake photographing method, electronic device and readable storage medium

Publications (2)

Publication Number Publication Date
CN113114949A true CN113114949A (en) 2021-07-13
CN113114949B CN113114949B (en) 2022-07-26

Family

ID=76719850

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110438168.0A Active CN113114949B (en) 2021-04-22 2021-04-22 Anti-shake photographing method, electronic device and readable storage medium

Country Status (1)

Country Link
CN (1) CN113114949B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114500838A (en) * 2022-01-25 2022-05-13 维沃移动通信有限公司 Anti-shake shooting method and device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004282624A (en) * 2003-03-18 2004-10-07 Kyocera Corp Mobile terminal unit with image pickup function
US20150222819A1 (en) * 2014-02-03 2015-08-06 Sony Corporation Imaging apparatus
CN109842753A (en) * 2019-03-26 2019-06-04 Oppo广东移动通信有限公司 Camera stabilization system, method, electronic equipment and storage medium
CN109995917A (en) * 2019-04-15 2019-07-09 李灏琦 The flexible display intelligent mobile terminal of screen comprehensively of Scroll
CN111988527A (en) * 2020-08-28 2020-11-24 Oppo广东移动通信有限公司 Device control method, device, storage medium and electronic device
CN212992368U (en) * 2020-06-19 2021-04-16 Oppo广东移动通信有限公司 Electronic device
CN113014704A (en) * 2021-02-22 2021-06-22 维沃移动通信有限公司 Electronic device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004282624A (en) * 2003-03-18 2004-10-07 Kyocera Corp Mobile terminal unit with image pickup function
US20150222819A1 (en) * 2014-02-03 2015-08-06 Sony Corporation Imaging apparatus
CN109842753A (en) * 2019-03-26 2019-06-04 Oppo广东移动通信有限公司 Camera stabilization system, method, electronic equipment and storage medium
CN109995917A (en) * 2019-04-15 2019-07-09 李灏琦 The flexible display intelligent mobile terminal of screen comprehensively of Scroll
CN212992368U (en) * 2020-06-19 2021-04-16 Oppo广东移动通信有限公司 Electronic device
CN111988527A (en) * 2020-08-28 2020-11-24 Oppo广东移动通信有限公司 Device control method, device, storage medium and electronic device
CN113014704A (en) * 2021-02-22 2021-06-22 维沃移动通信有限公司 Electronic device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114500838A (en) * 2022-01-25 2022-05-13 维沃移动通信有限公司 Anti-shake shooting method and device

Also Published As

Publication number Publication date
CN113114949B (en) 2022-07-26

Similar Documents

Publication Publication Date Title
US7619654B2 (en) Camera and lens device
JP4770500B2 (en) Lens unit and imaging device
US7889237B2 (en) Digital camera
JP4607818B2 (en) camera
CN113114949B (en) Anti-shake photographing method, electronic device and readable storage medium
JP6515924B2 (en) Imaging device
JP4481673B2 (en) Digital camera
CN113114819A (en) Panorama shooting method, electronic device and readable storage medium
WO2022051956A1 (en) Handheld gimbal, method for controlling handheld gimbal, and computer-readable storage medium
JP2012159796A (en) Focus adjustment device and imaging apparatus
JP2006309005A (en) Optical apparatus
JP2007094392A (en) Camera having radio communication function and interchangeable lens barrel
JP2005064957A (en) Photographing device
US9060132B2 (en) Imaging apparatus
CN213656277U (en) Hand-held cloud platform
JP2008193228A (en) Imaging apparatus
JP4720950B2 (en) Digital camera, control method thereof and recording medium
JP4720952B2 (en) Digital camera, control method thereof and recording medium
JP4751360B2 (en) Digital camera, control method thereof and recording medium
JP2007024997A (en) Camera device
JP4351428B2 (en) Retractable lens barrel
JP6347658B2 (en) Lens barrel, optical device, and imaging apparatus
JP4050688B2 (en) Digital camera, control method thereof and recording medium
JP2005167899A (en) Camera
JP6271996B2 (en) Lens barrel and photographing apparatus

Legal Events

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