CN110636222B - Photographing control method and device, terminal equipment and storage medium - Google Patents

Photographing control method and device, terminal equipment and storage medium Download PDF

Info

Publication number
CN110636222B
CN110636222B CN201910945709.1A CN201910945709A CN110636222B CN 110636222 B CN110636222 B CN 110636222B CN 201910945709 A CN201910945709 A CN 201910945709A CN 110636222 B CN110636222 B CN 110636222B
Authority
CN
China
Prior art keywords
terminal equipment
bendable terminal
light
screen
bendable
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910945709.1A
Other languages
Chinese (zh)
Other versions
CN110636222A (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.)
Wingtech Communication Co Ltd
Original Assignee
Wingtech 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 Wingtech Communication Co Ltd filed Critical Wingtech Communication Co Ltd
Priority to CN201910945709.1A priority Critical patent/CN110636222B/en
Publication of CN110636222A publication Critical patent/CN110636222A/en
Application granted granted Critical
Publication of CN110636222B publication Critical patent/CN110636222B/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/61Control of cameras or camera modules based on recognised objects
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/63Control of cameras or camera modules by using electronic viewfinders
    • H04N23/631Graphical user interfaces [GUI] specially adapted for controlling image capture or setting capture parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene
    • H04N23/74Circuitry for compensating brightness variation in the scene by influencing the scene brightness using illuminating means

Abstract

The embodiment of the invention discloses a photographing control method, a photographing control device, terminal equipment and a storage medium, wherein the method comprises the following steps: when detecting that the bendable terminal equipment uses a front camera to take a picture, judging whether the bendable terminal equipment is in a bent state or not, wherein the front camera is used as a back camera when the bendable terminal equipment is in the bent state; if the bendable terminal equipment is in a bending state and meets the screen light supplement condition, the screen on the same side of the front camera in the bendable terminal equipment is utilized to supplement light for the shooting object. According to the technical scheme of the embodiment of the invention, when the bendable terminal equipment is in a bent state and meets the screen light supplement condition, the screen on the same side as the front camera is used for supplementing light to the photographed object, so that the condition that bright spots are generated in the middle area of a photo due to light supplement of a flash lamp is avoided, and the photographing effect of the bendable terminal equipment is improved.

Description

Photographing control method and device, terminal equipment and storage medium
Technical Field
The embodiment of the invention relates to the electronic equipment technology, in particular to a photographing control method, a photographing control device, terminal equipment and a storage medium.
Background
With the rapid development of electronic technology, various intelligent terminals gradually come into the sight of people, and terminal equipment with a bending function also becomes an important branch of the terminal equipment, so that the user experience different from that of the traditional plane terminal equipment is provided for the user.
As an important component of electronic terminal equipment, good photographing effect has become one of the determining factors for evaluating the performance of the equipment. The existing electronic equipment mainly carries out post-shooting through the rear camera and shoots, and under the condition that the light condition is not good, the light is supplemented through the flash lamp, however, the flash lamp is used for supplementing light, and especially when shooting closely, a very large bright spot is often generated in the middle area of a picture, so that the shooting effect is seriously influenced, and the user experience is greatly reduced.
Disclosure of Invention
The embodiment of the invention provides a photographing control method and device, terminal equipment and a storage medium, so as to realize light supplement during photographing through a flexible screen of the terminal equipment and improve the photographing effect of the terminal equipment.
In a first aspect, an embodiment of the present invention provides a photographing control method applied to a bendable terminal device, including:
when detecting that the bendable terminal equipment uses a front camera to take a picture, judging whether the bendable terminal equipment is in a bent state or not, wherein the front camera is used as a back camera when the bendable terminal equipment is in the bent state;
if the bendable terminal equipment is in a bent state, and when the condition that the photographing light supplement needs to be carried out is judged according to the acquired photographing environment characteristic information and/or the received user operation instruction, whether a screen light supplement condition is met is judged;
if yes, the screen on the same side of the bendable terminal equipment as the front camera is used for supplementing light to the photographed object.
In a second aspect, an embodiment of the present invention provides a photographing control apparatus, including:
the bending state judging module is used for judging whether the bendable terminal equipment is in a bending state or not when the bendable terminal equipment is detected to take a picture by using a front camera, wherein the front camera is used for taking a back picture when the bendable terminal equipment is in the bending state;
the screen light supplement condition judging module is used for judging whether the screen light supplement condition is met or not if the bendable terminal equipment is in a bending state and when the condition that the photographing light supplement needs to be carried out is judged according to the acquired photographing environment characteristic information and/or the received user operation instruction;
and the screen light supplement execution module is used for supplementing light to the photographed object by utilizing the screen on the same side of the front camera in the bendable terminal equipment if the screen light supplement condition is met.
In a third aspect, an embodiment of the present invention further provides an apparatus, where the apparatus includes:
one or more processors;
storage means for storing one or more programs;
when the one or more programs are executed by the one or more processors, the one or more processors implement the photographing control method according to any embodiment of the invention.
In a fourth aspect, an embodiment of the present invention further provides a storage medium containing computer-executable instructions, which when executed by a computer processor implement the photographing control method according to any embodiment of the present invention.
According to the technical scheme of the embodiment of the invention, when the bendable terminal equipment is in a bent state, the front camera is used as a back camera, and when the screen light supplement condition is met, the screen on the same side as the front camera is used for supplementing light to the photographed object, so that uniformly and softly distributed light is provided for the photographed object, the condition that bright spots are generated in the middle area of a picture due to flash light supplement is avoided, the photographing effect of the bendable terminal equipment is improved, and the user experience is greatly improved.
Drawings
Fig. 1A is a flowchart of a photographing control method according to an embodiment of the present invention;
fig. 1B is a block diagram of a bendable terminal device according to an embodiment of the present invention;
fig. 1C is a block diagram of another bendable terminal device according to an embodiment of the present invention;
fig. 1D is a flowchart of another photographing control method provided in the first embodiment of the present invention;
fig. 2 is a block diagram of a photographing control apparatus according to a second embodiment of the present invention;
fig. 3 is a block diagram of a terminal device according to a third embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Example one
Fig. 1A is a flowchart of a photographing control method according to an embodiment of the present invention, where the present embodiment is applicable to a case where a front camera is used as a rear camera after a bendable terminal device is bent, and the method may be executed by a photographing control device according to an embodiment of the present invention, where the photographing control device may be implemented by software and/or hardware and integrated in the bendable terminal device, and typically, may be integrated in a Central Processing Unit (CPU) of the bendable terminal device in a program code manner, and the method specifically includes the following steps:
s110, when the bendable terminal equipment is detected to use the front camera to take a picture, whether the bendable terminal equipment is in a bent state or not is judged, wherein when the bendable terminal equipment is in the bent state, the front camera is used as a rear camera.
In the embodiment of the present invention, a flexible screen is disposed on the front surface of a bendable terminal device, as shown in fig. 1B, when the flexible screen is bent along a bending axis away from the front surface, the flexible screen is divided into a first display area and a second display area, where it is to be noted that when the flexible screen is bent, the first display area and the second display area are on two sides of the bending axis; the front camera and the second display area are on the same side, namely the front camera and the first display area are on different sides of the bending shaft; the flexible screen is a display screen that uses an Active-matrix organic light-emitting diode (AMOLED) technology and has a flexible characteristic. Specifically, when the bendable terminal device is in a bent state, the use of the front camera as a back camera includes: and when the bendable terminal equipment is in a bending state and the front camera is used for photographing, displaying a photographing interface in the first display area and previewing and displaying the photographing object. That is, when the camera is bent, the position of the front camera and the display area for previewing the photographed object are located on two sides of the bending axis, and the user faces the display area for previewing the photographed object, which is equivalent to using the front camera as the rear camera. Particularly, a transition region is further included between the first display region and the second display region, and when the bendable terminal device is in a bending state, the transition region does not display any content.
Optionally, in an embodiment of the present invention, the determining whether the bendable terminal device is in a bent state includes: judging whether the bendable terminal equipment is in a bending state or not through markers and marker sensors which are respectively arranged on two sides of a bending shaft of the bendable terminal equipment; the marker and the marker sensor are both positioned in the bendable terminal equipment; when the bendable terminal equipment is not bent, the marker sensor cannot detect the marker; when the bendable terminal equipment is bent far away from the front side along the bending shaft, the marker sensor can detect the marker and generate a bending signal for indicating the bending state of the bendable terminal equipment. Specifically, when the terminal device is bent away from the front along the bending axis, the distance between the marker sensor and the marker is continuously reduced, the larger the bending degree is, the smaller the distance is, and when the distance is reduced to a certain degree, the marker sensor can detect the marker, so as to generate a bending signal, and send the bending signal to the central processing unit of the terminal device, so that the central processing unit determines that the terminal device is in a bending state. For example, the marker may be an electronic tag, and the marker sensor is a corresponding electronic tag reader; the marker may also be a specific metal and the marker sensor a corresponding metal detection sensor. Particularly, the marker and the marker sensor are symmetrically arranged along an axis perpendicular to the bending axis, so that the marker sensor can timely detect the marker when the bendable terminal equipment is bent.
Optionally, the marker comprises a magnet, and the marker sensor comprises a hall sensor; the magnet is used for providing a magnetic field in a set area range; the Hall sensor is used for generating the bending signal when the magnetic field is detected. A hall sensor, i.e. a hall effect sensor, is used to measure a magnetic field and to convert a changing magnetic field into a change in output voltage. When the terminal equipment is bent far away from the front side along the bending shaft, the distance between the Hall sensor and the magnet is continuously reduced, and when the distance is reduced to a certain degree, the Hall sensor can measure the magnetic field of the magnet and generate a voltage signal (namely a bending signal), and the voltage signal is sent to a central processing unit of the terminal equipment, so that the central processing unit can determine that the terminal equipment is in a bending state. In particular, the larger the magnetic field of the magnet and/or the higher the sensitivity of the hall sensor, the smaller the degree of bending (i.e., the greater the distance between the hall sensor and the magnet), the hall sensor can detect the presence of the magnetic field; the smaller the magnetic field of the magnet and/or the lower the sensitivity of the hall sensor, the greater the degree of bending (i.e., the smaller the distance between the hall sensor and the magnet) is required for the hall sensor to detect the presence of the magnetic field. Therefore, the threshold value of the degree of bending (i.e., the critical distance between the hall sensors when they detect the magnet) is set in relation to both the magnitude of the magnetic field of the magnet and the level of sensitivity of the hall sensor. If the terminal equipment is required to be bent with higher sensitivity, namely the terminal equipment can be detected to be in a bent state by slight bending, a bending degree critical value with a smaller numerical value can be set, and a magnet with a larger magnetic field and/or a Hall sensor with higher sensitivity are/is correspondingly selected; if the bending sensitivity of the terminal equipment is required to be low, namely the terminal equipment is required to be bent to a certain degree to detect that the terminal equipment is in a bent state, a bending degree critical value with a larger numerical value can be set, and a magnet with a smaller magnetic field and/or a Hall sensor with lower sensitivity are/is correspondingly selected; in the embodiment of the present invention, optionally, the magnitude of the critical value of the bending degree, the magnitude of the magnetic field of the magnet, and the sensitivity of the hall sensor are not particularly limited.
The bendable terminal device in the embodiment of the invention includes, but is not limited to, an electronic device such as a mobile phone or a tablet computer, which is configured with a display screen and has a photographing function.
And S120, if the bendable terminal equipment is in a bent state, judging whether screen light supplement conditions are met or not when the fact that light supplement needs to be carried out according to the obtained photographing environment characteristic information and/or the received user operation instructions is judged.
The photographing environment characteristic information may include light intensity of a photographing environment, for example, the light intensity of the current photographing environment may be determined by a light sensing element of the bendable terminal device, so as to determine whether light supplement for photographing is required; for example, if it is acquired that the user has a sliding operation or a continuous click operation in a display interface displaying the photographing object, it is determined that a light supplement operation instruction of the user is received, and it is determined that light supplement for photographing is required at this time.
After confirming that the light supplement needs to be taken, whether the screen light supplement condition is met is judged, and the method comprises the following steps: acquiring the relative distance between the bendable terminal equipment and the photographic object through a distance sensor of the bendable terminal equipment; if the relative distance is determined to be smaller than or equal to a preset distance threshold, determining that a screen light supplement condition is met; the distance sensor is arranged on the front side of the bendable terminal equipment and is positioned near the front camera, so that the acquired distance information between the terminal equipment and the photographic object is closer to the actual distance between the front camera and the photographic object; the preset distance threshold may be set according to the requirement, for example, 15 cm.
And S130, if so, utilizing a screen on the same side of the bendable terminal equipment as the front camera to supplement light to the photographed object.
Because the flash lamp in the prior art usually causes the problem of bright spots of the picture when the flash lamp is used for lighting at a position close to the photographic subject, when the camera is close to the photographic subject, namely the distance is less than or equal to the preset distance threshold value, the screen lighting condition is met, and at the moment, the screen (namely the second display area of the flexible screen in the technical scheme) on the same side with the front camera is used for lighting. Compared with a flash lamp, the display screen adopting the AMOLED technology has the advantages that the size of the screen brightness area and the brightness intensity can be adjusted, so that the flexible screen can provide light which is uniformly and softly distributed, and the problem that bright spots of a picture are caused by the fact that the flash lamp is used for supplementing light at a position which is closer to a picture taking object in the prior art is avoided.
Optionally, in an embodiment of the present invention, the supplementing light for the photographic subject by using the screen on the same side of the bendable terminal device as the front camera includes: adjusting a light supplement area and/or light supplement brightness of a screen on the same side of the bendable terminal equipment as the front camera according to the obtained light supplement adjusting instruction; and supplementing light to the photographed object by using the adjusted light supplementing area and/or the adjusted light supplementing brightness. For example, according to an area range defined by a user in the first display area, the same area range is determined in the second display area to be used as a light supplement area of the second display area; and determining the same light intensity in the second display area as the fill-in light brightness of the photographic object according to the fill-in light brightness selected by the user in the first display area.
After judging whether the screen fill light condition is met, the method further comprises the following steps: and if not, using a front flash lamp of the bendable terminal equipment to supplement light to the photo object by using the flash lamp. Also according to above-mentioned technical scheme, if the terminal equipment that can buckle with when the relative distance between the object of shooing is greater than preset distance threshold, carry out the light filling through the screen, light intensity is difficult to guarantee the clarity of photo, satisfies the flash light filling condition this moment promptly, carries out the light filling through leading flash light to the object of shooing to guarantee sufficient light intensity, and then acquire clear photo.
Particularly, when the bendable terminal device is detected to take a picture by using a front camera and is judged to be in an unbent state, the bendable terminal device is used as a front camera, and at the moment, if light is supplemented by a front flash lamp, light can stimulate human eyes to cause discomfort, so that if the light condition of the current environment is poor, screen light supplementation can be performed by selecting a second display area of the flexible screen in the technical scheme, and the first display area of the flexible screen is used as a picture taking preview display interface; if the light condition of the current environment is good and light supplement is not needed, all the areas (namely the first display area, the transition area and the second display area) of the flexible screen are jointly used as a photographing preview display interface.
In particular, as shown in fig. 1C, the bendable terminal device in the above technical solution may further include a rear camera and a rear flash. When the bendable terminal device is detected to photograph by using the rear camera and the bendable terminal device is judged to be in an unbent state, all regions (namely the first display region, the transition region and the second display region) of the flexible screen are jointly used as a photographing preview display interface.
According to the technical scheme of the embodiment of the invention, when the bendable terminal equipment is in a bent state, the front camera is used as a back camera, and when the screen light supplement condition is met, the screen on the same side as the front camera is used for supplementing light to the photographed object, so that uniformly and softly distributed light is provided for the photographed object, the condition that bright spots are generated in the middle area of a picture due to flash light supplement is avoided, the photographing effect of the terminal equipment is improved, and the user experience is greatly improved.
Specific application scenario one
Fig. 1D is a photo-taking control method provided in a first specific application scenario of the present invention, specifically, the method includes:
s210, detecting that the bendable terminal equipment is in the front camera for photographing; s220 is performed.
S220, judging whether the terminal equipment is in a bent state or not through the marker sensor; if yes, go to S230; if not, the process is ended.
S230, shooting and previewing a shot object by using a first display area in a flexible screen of the terminal equipment; s240 is performed.
S240, if the photo-taking object needs to be subjected to light supplement; s250 is performed.
S250, detecting the distance between the terminal equipment and the photographed object through a distance sensor; s260 is performed.
S260, judging whether the distance between the terminal equipment and the photographed object is larger than a first preset distance or not; if yes, go to S270; if not, go to step S280.
And S270, supplementing light by using a front flash lamp of the terminal equipment.
And S280, performing screen light supplement by using a second display area in the flexible screen of the terminal equipment.
According to the technical scheme of the embodiment of the invention, the state of the terminal equipment is judged through the markers and the marker sensors which are respectively arranged on two sides of the bending shaft of the bendable terminal equipment; meanwhile, when the terminal equipment is in a bending state and screen light supplement conditions are met, screen light supplement can be performed through the flexible screen, the situation that bright spots are generated in the middle area of a photo due to flash light supplement is avoided, the photographing effect of the terminal equipment is improved, and user experience is greatly improved.
Example two
Fig. 2 is a block diagram of a photographing control apparatus according to a second embodiment of the present invention, where the apparatus specifically includes: a bending state determining module 210, a screen fill-in condition determining module 220, and a screen fill-in executing module 230.
A bending state determining module 210, configured to determine whether the bendable terminal device is in a bending state when it is detected that the bendable terminal device uses a front camera to take a picture, where the front camera is used as a rear camera when the bendable terminal device is in the bending state;
the screen light supplement condition judgment module 220 is configured to judge whether a screen light supplement condition is met or not if the bendable terminal device is in a bent state and when it is judged that light supplement needs to be performed according to the acquired photographing environment characteristic information and/or the received user operation instruction;
and a screen light supplement execution module 230, configured to, if the screen light supplement condition is met, utilize a screen on the same side as the front camera in the bendable terminal device to supplement light to the photographic subject.
According to the technical scheme of the embodiment of the invention, when the bendable terminal equipment is in a bent state, the front camera is used as a back camera, and when the screen light supplement condition is met, the screen on the same side as the front camera is used for supplementing light to the photographed object, so that uniformly and softly distributed light is provided for the photographed object, the condition that bright spots are generated in the middle area of a picture due to flash light supplement is avoided, the photographing effect of the terminal equipment is improved, and the user experience is greatly improved.
Optionally, on the basis of the technical scheme, a flexible screen is arranged on the front side of the bendable terminal device, and when the flexible screen is bent away from the front side along a bending axis, the flexible screen is divided into a first display area and a second display area; the front camera is arranged on the same side as the second display area.
Optionally, on the basis of the above technical scheme, when the bendable terminal device is in a bent state and takes a picture by using the front camera, a picture taking interface is displayed in the first display area and the picture taking object is displayed in a preview manner.
Optionally, on the basis of the above technical solution, the bending state determining module 210 is specifically configured to:
judging whether the bendable terminal equipment is in a bending state or not through markers and marker sensors which are respectively arranged on two sides of a bending shaft of the bendable terminal equipment; the marker and the marker sensor are both positioned in the bendable terminal equipment; when the bendable terminal equipment is not bent, the marker sensor cannot detect the marker; when the bendable terminal equipment is bent far away from the front side along the bending shaft, the marker sensor can detect the marker and generate a bending signal for indicating the bending state of the bendable terminal equipment.
Optionally, on the basis of the above technical solution, the marker includes a magnet, and the marker sensor includes a hall sensor; the magnet is used for providing a magnetic field in a set area range; the Hall sensor is used for generating the bending signal when the magnetic field is detected.
Optionally, on the basis of the above technical solution, the marker and the marker sensor are symmetrically arranged along an axis perpendicular to the bending axis.
Optionally, on the basis of the above technical solution, the photographing control apparatus further includes:
and the flash lamp light supplement execution module is used for using the front flash lamp of the bendable terminal equipment to carry out flash lamp light supplement on the photographic object if the condition that the screen light supplement condition is not met is determined.
Optionally, on the basis of the foregoing technical solution, the screen light supplement condition determining module 220 specifically includes:
a relative distance acquisition unit for acquiring a relative distance between the bendable terminal device and the photographic subject by a distance sensor of the bendable terminal device;
and the screen light supplement condition judging unit is used for determining that the screen light supplement condition is met if the relative distance is determined to be smaller than or equal to a preset distance threshold.
Optionally, on the basis of the above technical solution, the screen light supplement execution module 230 specifically includes:
the screen light supplement adjusting unit is used for adjusting a light supplement area and/or light supplement brightness of a screen on the same side of the front camera in the bendable terminal equipment according to the obtained light supplement adjusting instruction;
and the screen light supplement execution unit is used for supplementing light to the photo-object by utilizing the adjusted light supplement area and/or light supplement brightness.
The device can execute the photographing control method provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method. For technical details not described in detail in this embodiment, reference may be made to the method provided in any embodiment of the present invention.
EXAMPLE III
Fig. 3 is a schematic structural diagram of an apparatus according to a third embodiment of the present invention. Fig. 3 illustrates a block diagram of an exemplary device 12 suitable for use in implementing embodiments of the present invention. The device 12 shown in fig. 3 is only an example and should not bring any limitations to the functionality and scope of use of the embodiments of the present invention.
As shown in FIG. 3, device 12 is in the form of a general purpose computing device. The components of device 12 may include, but are not limited to: one or more processors or processing units 16, a system memory 28, and a bus 18 that couples various system components including the system memory 28 and the processing unit 16.
Bus 18 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. By way of example, such architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, micro-channel architecture (MAC) bus, enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
Device 12 typically includes a variety of computer system readable media. Such media may be any available media that is accessible by device 12 and includes both volatile and nonvolatile media, removable and non-removable media.
The system memory 28 may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM)30 and/or cache memory 32. Device 12 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 34 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 3, and commonly referred to as a "hard drive"). Although not shown in FIG. 3, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to bus 18 by one or more data media interfaces. System memory 28 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the invention.
A program/utility 40 having a set (at least one) of program modules 42 may be stored, for example, in system memory 28, such program modules 42 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which examples or some combination thereof may comprise an implementation of a network environment. Program modules 42 generally carry out the functions and/or methodologies of the described embodiments of the invention.
Device 12 may also communicate with one or more external devices 14 (e.g., keyboard, pointing device, display 24, etc.), with one or more devices that enable a user to interact with device 12, and/or with any devices (e.g., network card, modem, etc.) that enable device 12 to communicate with one or more other computing devices. Such communication may be through an input/output (I/O) interface 22. Also, the device 12 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the Internet) via the network adapter 20. As shown, the network adapter 20 communicates with the other modules of the device 12 via the bus 18. It should be understood that although not shown in the figures, other hardware and/or software modules may be used in conjunction with device 12, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
The processing unit 16 executes various functional applications and data processing, such as implementing a photographing control method provided by an embodiment of the present invention, by running a program stored in the system memory 28. Namely: when detecting that the bendable terminal equipment uses a front camera to take a picture, judging whether the bendable terminal equipment is in a bent state or not, wherein the front camera is used as a back camera when the bendable terminal equipment is in the bent state; if the bendable terminal equipment is in a bent state, and when the condition that the photographing light supplement needs to be carried out is judged according to the acquired photographing environment characteristic information and/or the received user operation instruction, whether a screen light supplement condition is met is judged; if yes, the screen on the same side of the bendable terminal equipment as the front camera is used for supplementing light to the photographed object.
Example four
A fourth embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the photographing control method according to any embodiment of the present invention; the method comprises the following steps:
when detecting that the bendable terminal equipment uses a front camera to take a picture, judging whether the bendable terminal equipment is in a bent state or not, wherein the front camera is used as a back camera when the bendable terminal equipment is in the bent state;
if the bendable terminal equipment is in a bent state, and when the condition that the photographing light supplement needs to be carried out is judged according to the acquired photographing environment characteristic information and/or the received user operation instruction, whether a screen light supplement condition is met is judged;
if yes, the screen on the same side of the bendable terminal equipment as the front camera is used for supplementing light to the photographed object.
Computer storage media for embodiments of the invention may employ any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (9)

1. The photographing control method is applied to bendable terminal equipment, a flexible screen is arranged on the front face of the bendable terminal equipment, and the method comprises the following steps:
when detecting that the bendable terminal equipment uses a front camera to take a picture, judging whether the bendable terminal equipment is in a bent state or not, wherein the front camera is used as a back camera when the bendable terminal equipment is in the bent state;
if the bendable terminal equipment is in a bending state, and when the condition that the photographing light supplement needs to be carried out is judged according to the obtained photographing environment characteristic information and/or the received user operation instruction, whether the relative distance between the bendable terminal equipment and a photographing object is smaller than or equal to a preset distance threshold value is judged;
after judging whether the relative distance is less than or equal to a preset distance threshold value, the method further comprises the following steps:
if not, using a front flash lamp of the bendable terminal equipment to supplement light for the photographic object by using the flash lamp;
when the bendable terminal equipment is detected to take a picture by using the front camera and is judged to be in an unbent state, if the light condition of the current environment is poor, screen light supplement is carried out in a second display area of the flexible screen, and a first display area of the flexible screen is used as a picture taking preview display interface; if the light condition of the current environment is better, all areas of the flexible screen are jointly used as a photographing preview display interface;
when the terminal equipment is detected to take a picture by using a rear camera and the bendable terminal equipment is judged to be in an unbent state, all areas of the flexible screen are jointly used as a picture taking preview display interface;
if yes, a screen on the same side of the bendable terminal equipment as the front camera is used for supplementing light to a photo-object;
utilize in the terminal equipment that can buckle with the screen of leading camera homonymy carries out the light filling to the object of shooing, include:
adjusting a light supplement area and/or light supplement brightness of a screen on the same side of the bendable terminal equipment as the front camera according to the obtained light supplement adjusting instruction;
and supplementing light to the photographed object by using the adjusted light supplementing area and/or the adjusted light supplementing brightness.
2. The method according to claim 1, wherein the flexible screen is divided into a first display area and a second display area, and when the second display area of the flexible screen is bent away from the front along a bending axis, the front camera is positioned at the same side of the second display area;
when the terminal equipment that can buckle is in the bending state the leading camera includes as the use of taking a photograph after:
and when the bendable terminal equipment is in a bending state and the front camera is used for photographing, displaying a photographing interface in the first display area and previewing and displaying the photographing object.
3. The method according to claim 1 or 2, wherein the judging whether the bendable terminal device is in a bent state includes:
judging whether the bendable terminal equipment is in a bending state or not through markers and marker sensors which are respectively arranged on two sides of a bending shaft of the bendable terminal equipment;
the marker and the marker sensor are both positioned in the bendable terminal equipment; when the bendable terminal equipment is not bent, the marker sensor cannot detect the marker; when the bendable terminal equipment is bent far away from the front side along the bending shaft, the marker sensor can detect the marker and generate a bending signal for indicating the bending state of the bendable terminal equipment.
4. The method of claim 3, wherein the identifier comprises a magnet and the identifier sensor comprises a Hall sensor;
the magnet is used for providing a magnetic field in a set area range; the Hall sensor is used for generating the bending signal when the magnetic field is detected.
5. A method according to claim 3, wherein the marker and the marker sensor are symmetrically disposed along an axis perpendicular to the bending axis.
6. The method according to claim 1, wherein before the determining whether the relative distance between the bendable terminal device and the photo object is less than or equal to a preset distance threshold, the method further comprises:
and acquiring the relative distance through a distance sensor of the bendable terminal equipment.
7. The utility model provides a controlling means shoots, its characterized in that is applied to the terminal equipment that can buckle, the front of the terminal equipment that can buckle is provided with flexible screen, the device includes:
the bending state judging module is used for judging whether the bendable terminal equipment is in a bending state or not when the bendable terminal equipment is detected to take a picture by using a front camera, wherein the front camera is used for taking a back picture when the bendable terminal equipment is in the bending state;
the screen light supplement condition judgment module is used for judging whether the relative distance between the bendable terminal equipment and a photographing object is smaller than or equal to a preset distance threshold value or not when the bendable terminal equipment is in a bent state and the photographing light supplement is judged to be needed according to the acquired photographing environment characteristic information and/or the received user operation instruction;
the flash lamp light supplementing execution module is used for supplementing light to the photographing object by using a front flash lamp of the bendable terminal equipment if the relative distance is not smaller than or equal to a preset distance threshold value;
when the bendable terminal equipment is detected to take a picture by using the front camera and is judged to be in an unbent state, if the light condition of the current environment is poor, screen light supplement is carried out in a second display area of the flexible screen, and a first display area of the flexible screen is used as a picture taking preview display interface; if the light condition of the current environment is better, all areas of the flexible screen are jointly used as a photographing preview display interface;
when the terminal equipment is detected to take a picture by using a rear camera and the bendable terminal equipment is judged to be in an unbent state, all areas of the flexible screen are jointly used as a picture taking preview display interface;
the screen light supplement execution module is used for supplementing light to a photo-object by utilizing a screen on the same side of the bendable terminal equipment and the front camera if a screen light supplement condition is met;
the screen light filling execution module is used for utilizing in the bendable terminal equipment with the screen of leading camera homonymy carries out the light filling to the object of shooing, includes:
adjusting a light supplement area and/or light supplement brightness of a screen on the same side of the bendable terminal equipment as the front camera according to the obtained light supplement adjusting instruction;
and supplementing light to the photographed object by using the adjusted light supplementing area and/or the adjusted light supplementing brightness.
8. An apparatus, characterized in that the apparatus comprises:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the picture taking control method as recited in any one of claims 1-6.
9. A storage medium containing computer-executable instructions for performing the picture taking control method as claimed in any one of claims 1 to 6 when executed by a computer processor.
CN201910945709.1A 2019-09-30 2019-09-30 Photographing control method and device, terminal equipment and storage medium Active CN110636222B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910945709.1A CN110636222B (en) 2019-09-30 2019-09-30 Photographing control method and device, terminal equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910945709.1A CN110636222B (en) 2019-09-30 2019-09-30 Photographing control method and device, terminal equipment and storage medium

Publications (2)

Publication Number Publication Date
CN110636222A CN110636222A (en) 2019-12-31
CN110636222B true CN110636222B (en) 2021-08-06

Family

ID=68975478

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910945709.1A Active CN110636222B (en) 2019-09-30 2019-09-30 Photographing control method and device, terminal equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110636222B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111402733A (en) * 2020-03-26 2020-07-10 武汉华星光电半导体显示技术有限公司 Display device
CN117082165B (en) * 2023-09-19 2024-02-23 荣耀终端有限公司 Photographing operation method, terminal equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105739934A (en) * 2014-12-11 2016-07-06 华为终端(东莞)有限公司 Multi-screen splicing display processing method and device
CN108184057A (en) * 2017-12-28 2018-06-19 努比亚技术有限公司 Flexible screen terminal taking method, flexible screen terminal and computer readable storage medium
CN109756597A (en) * 2019-01-23 2019-05-14 努比亚技术有限公司 A kind of filming control method, flexible screen terminal and computer readable storage medium

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103116455B (en) * 2013-02-22 2015-07-29 珠海全志科技股份有限公司 Electronic reading device and display packing thereof
CN104699391B (en) * 2015-04-07 2018-10-12 联想(北京)有限公司 The control method of electronic equipment and its camera
CN105718176B (en) * 2016-01-20 2019-06-04 青岛海信移动通信技术股份有限公司 Flexible mobile terminal screen control method and device
CN107911585B (en) * 2017-11-28 2020-06-09 维沃移动通信有限公司 Image processing method and device of mobile terminal and mobile terminal
CN110049224A (en) * 2018-01-15 2019-07-23 中兴通讯股份有限公司 Terminal is taken pictures, screen display method and device, terminal
CN110290331B (en) * 2019-07-24 2021-09-03 维沃移动通信(杭州)有限公司 Screen control method and terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105739934A (en) * 2014-12-11 2016-07-06 华为终端(东莞)有限公司 Multi-screen splicing display processing method and device
CN108184057A (en) * 2017-12-28 2018-06-19 努比亚技术有限公司 Flexible screen terminal taking method, flexible screen terminal and computer readable storage medium
CN109756597A (en) * 2019-01-23 2019-05-14 努比亚技术有限公司 A kind of filming control method, flexible screen terminal and computer readable storage medium

Also Published As

Publication number Publication date
CN110636222A (en) 2019-12-31

Similar Documents

Publication Publication Date Title
US10726585B2 (en) Method and electronic device for converting color of image
US10250820B2 (en) Electronic device and method for controlling the electronic device
CN104488258B (en) Method and apparatus for double camera shutter
KR102488563B1 (en) Apparatus and Method for Processing Differential Beauty Effect
US9792878B2 (en) Method for content adaptation based on ambient environment of electronic device and electronic device thereof
US10261393B2 (en) Method for controlling infrared illuminator and related image-recording device
CN108874128B (en) Proximity detection method and apparatus, electronic apparatus, storage medium, and device
CN110636222B (en) Photographing control method and device, terminal equipment and storage medium
CN108881875B (en) Image white balance processing method and device, storage medium and terminal
KR20180094290A (en) Electronic device and method for determining underwater shooting
CN112116690B (en) Video special effect generation method, device and terminal
CN108551552A (en) Image processing method, device, storage medium and mobile terminal
US10868954B2 (en) Electronic device for providing graphic indicator for focus and method of operating electronic device
KR20180013523A (en) Apparatus and Method for Sequentially displaying Images on the Basis of Similarity of Image
CN115115562A (en) Image fusion method and device
WO2021046793A1 (en) Image acquisition method and apparatus, and storage medium
CN109040729B (en) Image white balance correction method and device, storage medium and terminal
US8804029B2 (en) Variable flash control for improved image detection
US11495021B2 (en) Picture annotation method, apparatus, processing device, and system
CN106462374B (en) Electronic device and method of controlling output characteristic thereof
CN112312001A (en) Image detection method, device, equipment and computer storage medium
US10091436B2 (en) Electronic device for processing image and method for controlling the same
CN109510896B (en) Proximity sensor selection method and device, storage medium and electronic device
CN116187470A (en) Tongue diagnosis image color correction model training method, color correction method and equipment
CN111767098A (en) Method and device for adjusting font size

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