CN112543280A - Image acquisition method and device, mobile terminal and storage medium - Google Patents

Image acquisition method and device, mobile terminal and storage medium Download PDF

Info

Publication number
CN112543280A
CN112543280A CN201910901799.4A CN201910901799A CN112543280A CN 112543280 A CN112543280 A CN 112543280A CN 201910901799 A CN201910901799 A CN 201910901799A CN 112543280 A CN112543280 A CN 112543280A
Authority
CN
China
Prior art keywords
display touch
image acquisition
mobile terminal
component
image
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910901799.4A
Other languages
Chinese (zh)
Inventor
陈宇
马宁
杨依珍
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201910901799.4A priority Critical patent/CN112543280A/en
Publication of CN112543280A publication Critical patent/CN112543280A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/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/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/63Control of cameras or camera modules by using electronic viewfinders
    • H04N23/633Control of cameras or camera modules by using electronic viewfinders for displaying additional information relating to control or operation of the camera
    • 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/67Focus control based on electronic image sensor signals
    • 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/67Focus control based on electronic image sensor signals
    • H04N23/671Focus control based on electronic image sensor signals in combination with active ranging signals, e.g. using light or sound signals emitted toward objects

Abstract

The disclosure relates to an image acquisition method and device, a mobile terminal and a storage medium. The method comprises the following steps: detecting a first operation acting on a first display touch component positioned on a first surface of the mobile terminal in image acquisition; determining whether the first operation is an operation for indicating to acquire an object oriented to the first display touch assembly; when the first operation instruction collects an object towards which the first display touch control assembly faces, outputting a turning prompt of the mobile terminal; the turning prompt is used for prompting the turning of the mobile terminal, the image acquisition assembly positioned on the second surface of the mobile terminal faces the object after the mobile terminal is turned, and the second surface is a surface opposite to the first surface; and the image acquisition component based on the second surface acquires an image of the object. By the method, the self-photographing can be carried out based on the image acquisition assembly on the second surface under the condition that the image acquisition assembly on the first surface is cancelled by the mobile terminal, so that the self-photographing function of a user is not influenced, and the user experience is improved.

Description

Image acquisition method and device, mobile terminal and storage medium
Technical Field
The present disclosure relates to the field of electronic technologies, and in particular, to an image acquisition method and apparatus, a mobile terminal, and a storage medium.
Background
When the mobile terminal collects the image, the default opened image collection component on the second surface of the mobile terminal enters the corresponding preview interface. When the user needs to take a self-timer, a switching button of the preview interface is clicked, and the image acquisition assembly on the first surface is switched to complete the self-timer. For example, when the mobile terminal takes a picture, the default is to open the main camera, and a preview interface of the main camera is entered. When the user carries out self-timer shooting, a button of the preview interface for switching the cameras can be clicked, and the preview interface is switched to the auxiliary camera to finish self-timer shooting.
At present, the mobile terminal cancels the image acquisition assembly on the first surface due to the limitation of the photographing mode of a full-screen, a double-sided screen and the like. For the mobile terminal which cancels the image acquisition assembly of the first surface, the self-photographing can not be carried out based on the image acquisition assembly of the first surface any more, and the use of a user is further influenced.
Disclosure of Invention
The disclosure provides an image acquisition method and device, a mobile terminal and a storage medium.
According to a first aspect of the embodiments of the present disclosure, there is provided an image capturing method, including:
detecting a first operation acting on a first display touch component positioned on a first surface of the mobile terminal in image acquisition;
determining whether the first operation is an operation indicating to acquire an object oriented by the first display touch component;
when the first operation instruction collects the object oriented to the first display touch control assembly, outputting a turning prompt of the mobile terminal; the turning prompt is used for prompting the turning of the mobile terminal, and an image acquisition assembly, which is positioned on a second surface of the mobile terminal after the mobile terminal is turned, faces the object, wherein the second surface is a surface opposite to the first surface;
an image acquisition component based on the second surface performs image acquisition on the object.
In one embodiment, the method further comprises:
after the turning prompt of the mobile terminal is output, detecting whether an image acquisition component on a second surface of the mobile terminal faces to the object;
determining a distance between an image capture assembly of the second surface and the object while the image capture assembly is oriented toward the object;
adjusting acquisition parameters of the image acquisition assembly based on the distance;
the image acquisition of the object based on the image acquisition component comprises:
and acquiring the image of the object by using the image acquisition assembly after the acquisition parameters are adjusted.
In one embodiment, said adjusting acquisition parameters of said image acquisition assembly based on said distance comprises:
and adjusting the acquisition focal length of the image acquisition assembly based on the distance.
In one embodiment, said adjusting the acquisition focal length of said image acquisition assembly based on said distance comprises:
and when the distance is within a preset range, adjusting the default acquisition focal length corresponding to the outside of the preset range to the acquisition focal length corresponding to the inside of the preset range.
In one embodiment, the outputting a flipping prompt of the mobile terminal when the first operation indicates to acquire the object oriented by the first display touch component includes:
when the first operation instruction acquires the object oriented to the first display touch assembly, the first display touch assembly is turned off, and a second display touch assembly located on the second surface is turned on.
In one embodiment, the outputting a flipping prompt of the mobile terminal when the first operation indicates to acquire the object oriented by the first display touch component includes:
when the first operation instruction acquires the object oriented to the first display touch control assembly, displaying the turning prompt by using the first display touch control assembly;
alternatively, the first and second electrodes may be,
when the first operation instruction collects the object oriented to the first display touch control assembly, the first display touch control assembly is used for displaying the turning prompt, and the first display touch control assembly is turned off after the turning prompt is displayed for a preset time.
In one embodiment, the determining whether the first operation is an operation indicating to acquire an object oriented by the first display touch component includes:
determining whether the first operation is an operation indicating a change in acquisition orientation of the image acquisition assembly toward an object;
alternatively, the first and second electrodes may be,
determining whether the first operation is an operation indicating entry into a self-timer mode.
In one embodiment, the method further comprises:
detecting a second operation acting on a second display touch component, wherein the second display touch component is positioned on the second surface;
based on the second operation, the image acquisition component acquires an image;
and displaying the image acquired by the image acquisition component based on the second display touch component.
According to a second aspect of the embodiments of the present disclosure, there is provided an image capturing apparatus including:
the mobile terminal comprises a first detection module, a second detection module and a display module, wherein the first detection module is configured to detect a first operation acting on a first display touch component positioned on a first surface of the mobile terminal in image acquisition;
a first determination module configured to determine whether the first operation is an operation indicating to acquire an object oriented by the first display touch component;
the output module is configured to output a turning prompt of the mobile terminal when the first operation instruction acquires the object oriented to the first display touch component; the turning prompt is used for prompting the turning of the mobile terminal, and an image acquisition assembly, which is positioned on a second surface of the mobile terminal after the mobile terminal is turned, faces the object, wherein the second surface is a surface opposite to the first surface;
a first acquisition module configured to image-acquire the object based on an image acquisition component of the second surface.
In one embodiment, the apparatus further comprises:
the second detection module is configured to detect whether an image acquisition component on a second surface of the mobile terminal faces to the object or not after the overturning prompt of the mobile terminal is output;
a second determination module configured to determine a distance between an image capture assembly of the second surface and the object when the image capture assembly is oriented toward the object;
an adjustment module configured to adjust an acquisition parameter of the image acquisition assembly based on the distance;
the first acquisition module is configured to acquire an image of the object by using the image acquisition assembly after the acquisition parameters are adjusted.
In an embodiment, the adjusting module is specifically configured to adjust the acquisition focal length of the image acquisition assembly based on the distance.
In an embodiment, the adjusting module is specifically configured to adjust the default acquisition focal length corresponding to the outside of the preset range to the acquisition focal length corresponding to the inside of the preset range when the distance is within the preset range.
In an embodiment, the output module is specifically configured to turn off the screen of the first display touch device and turn on a second display touch device located on the second surface when the first operation instruction is used to acquire the object oriented to the first display touch device.
In an embodiment, the output module is further specifically configured to display the flipping prompt by using the first display touch component when the first operation instruction acquires the object oriented by the first display touch component; or when the first operation instruction collects the object to which the first display touch component faces, the first display touch component is used for displaying the turning prompt, and the first display touch component is turned off after the turning prompt is displayed for a preset time.
In an embodiment, the first determination module is specifically configured to determine whether the first operation is an operation indicating a change in acquisition orientation of the image acquisition assembly towards the object; alternatively, it is determined whether the first operation is an operation indicating entry into a self-timer mode.
In one embodiment, the apparatus further comprises:
a third detection module configured to detect a second operation applied to a second display touch component, wherein the second display touch component is located on the second surface;
a second acquisition module configured to acquire an image by the image acquisition component based on the second operation;
and the display module is configured to display the image acquired by the image acquisition component based on the second display touch component.
According to a third aspect of the embodiments of the present disclosure, there is provided a mobile terminal including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to perform the image acquisition method as described in the first aspect above.
According to a fourth aspect of embodiments of the present disclosure, there is provided a storage medium including:
the instructions in said storage medium, when executed by a processor of a terminal, enable the terminal to perform the image acquisition method as described in the first aspect above.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
when a first operation instruction acquires an object, which is oriented to a first display touch component on a first surface, namely a user carries out self-shooting, an overturning prompt of the mobile terminal is output, so that an image acquisition component on a second surface faces the object after overturning, and further the object can be subjected to image acquisition based on the image acquisition component on the second surface to complete self-shooting, therefore, the image acquisition component on the second surface can carry out self-shooting under the condition that the mobile terminal cancels the image acquisition component on the first surface, further the self-shooting function can still be used, and the user experience is improved; moreover, the image acquisition assembly on the second surface can be further enabled to have richer functions, and further, an additional image acquisition assembly does not need to be set for the self-photographing function.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
Fig. 1 is a flowchart of an image capturing method according to an embodiment of the present disclosure.
Fig. 2 is a display schematic diagram of a first display touch component on a first surface of a mobile terminal according to an embodiment of the disclosure.
Fig. 3 is a schematic diagram illustrating a second surface of a mobile terminal after being flipped according to an embodiment of the present disclosure.
Fig. 4 is a flowchart of a second image acquisition method according to the embodiment of the present disclosure.
Fig. 5 is a schematic diagram illustrating a mobile terminal displaying a flipping prompt according to an embodiment of the disclosure.
Fig. 6 is a flowchart of an image capturing method shown in the embodiment of the present disclosure.
Fig. 7 is a block diagram illustrating a first image capturing device according to an exemplary embodiment.
Fig. 8 is a block diagram of a terminal device according to an embodiment of the present disclosure.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the invention, as detailed in the appended claims.
Fig. 1 is a flowchart of a first image acquisition method according to an embodiment of the present disclosure, as shown in fig. 1, the method includes the following steps:
s11, detecting a first operation of the image acquisition, wherein the first operation is acted on a first display touch control assembly located on the first surface of the mobile terminal.
And S12, determining whether the first operation is an operation for indicating to acquire the object oriented by the first display touch control assembly.
S13, outputting a turning prompt of the mobile terminal when the first operation instruction collects the object oriented by the first display touch control assembly; and the turning prompt is used for prompting the turning of the mobile terminal, and the image acquisition assembly positioned on the second surface of the mobile terminal faces the object after the mobile terminal is turned, wherein the second surface is the surface of the first surface, which is arranged oppositely.
And S14, acquiring the image of the object by the image acquisition component based on the second surface.
In the embodiment of the present disclosure, the mobile terminal includes, but is not limited to, a mobile phone, a tablet computer, or a notebook.
It should be noted that, a first display touch component is disposed on the first surface of the mobile terminal, where the first display touch component includes, but is not limited to, a touch screen, and the touch screen may be a full-screen whose screen occupation ratio exceeds a preset threshold.
In the process of acquiring an image by the mobile terminal, the first operation may be generated by acting on the first display touch component in a manner of clicking, sliding, or voice, and the like.
In the embodiment of the present disclosure, the first operation performed on the first display touch component includes, but is not limited to: the method comprises the steps of indicating an operation of acquiring an object towards which a first display touch component is oriented, indicating an operation of entering a self-photographing mode or indicating an operation of changing the acquisition orientation of an image acquisition component towards the object.
Exemplarily, as shown in fig. 2, a first display touch component 11 is disposed on a first surface of the mobile terminal. In the process of acquiring the image by the mobile terminal, the first display touch component is displayed in a preview interface corresponding to the image acquisition component positioned on the second surface. In addition to the first display touch device 11, various other icons or buttons are displayed on the preview interface. By acting on the various icons or buttons, the corresponding functions can be executed.
For example, when a video on the preview interface is clicked, the image acquisition component on the second surface may perform video recording; when the panorama on the preview interface is clicked, the image acquisition assembly on the second surface can perform panorama acquisition; and when the first display touch control assembly at the lower right corner of the preview interface is clicked, outputting a turning prompt of the mobile terminal.
It should be noted that, since various icons or buttons are displayed on the preview interface, after detecting the first operation, the mobile terminal needs to determine whether the first operation is an operation for instructing to acquire an object oriented by the first display touch component, that is, whether the first operation is a self-timer operation.
In the embodiment of the disclosure, when it is determined that the first operation is an operation of instructing to acquire an object to which the first display touch component faces, that is, when it is determined that the first operation is a self-photographing operation, the turning prompt is output, and the turning of the mobile terminal is prompted through the turning prompt. And after the mobile terminal is turned over, the image acquisition assembly positioned on the second surface of the mobile terminal faces the object.
Exemplarily, as shown in fig. 3, an image capturing component 100 and a second display touch component 101 are disposed on the second surface of the mobile terminal after being flipped, and the image capturing component 100 faces the object. At this time, the image of the object can be acquired according to the image acquisition component 100 on the second surface, and the second display touch component 101 displays the image of the object, so that self-shooting can be realized according to the image acquisition component on the second surface.
Illustratively, the image capture assembly located on the second surface includes, but is not limited to, a camera or an image sensor.
In the embodiment of the disclosure, after the mobile terminal outputs the flipping prompt, the mobile terminal may perform image acquisition on the object based on the image acquisition component of the second surface.
It can be understood that, in the case that the mobile terminal cancels the image capturing component on the first surface, the image capturing component on the second surface of the mobile terminal can be used to capture an image of the object toward which the image capturing component is oriented based on the flipping prompt information output by the mobile terminal. Therefore, the self-timer shooting is realized without depending on the image acquisition assembly of the first surface, and the user experience is improved.
Fig. 4 is a flowchart illustrating an image capturing method according to an embodiment of the disclosure, as shown in fig. 4, after step S13, the method further includes the following steps:
s15, after the turning prompt of the mobile terminal is output, whether an image acquisition component on the second surface of the mobile terminal faces to the object or not is detected;
s16, determining a distance between the image capturing assembly and the object when the image capturing assembly of the second surface is oriented towards the object.
And S17, adjusting the acquisition parameters of the image acquisition assembly based on the distance.
The second surface-based image capturing component performs image capturing on the object, namely step S14, including:
and S18, acquiring the image of the object by using the image acquisition assembly after the acquisition parameters are adjusted.
In the embodiment of the disclosure, the mobile terminal further comprises a laser emitting assembly, and the distance between the image acquisition assembly and the object can be detected through laser emitted by the laser emitting assembly.
Illustratively, the laser assembly includes, but is not limited to, a laser focus sensor.
It should be noted that the acquisition parameters of the image acquisition assembly on the first surface of the mobile terminal are different from the acquisition parameters of the image acquisition assembly on the second surface.
For example, when taking a self-portrait using the image capture assembly of the first surface, the focal length in its capture parameters may be 1.0; and when the image acquisition assembly on the second surface is used for shooting a long distance, the focal length in the acquisition parameters can be 2.0.
For another example, the brightness of the flash of the image capturing assembly on the first surface is lower than that of the image capturing assembly on the second surface, so that the requirement of beautifying in self-photographing can be met.
Therefore, when the image acquisition assembly of the second surface is used for self-shooting, the acquisition parameters of the image acquisition assembly of the second surface can be adjusted based on the distance.
Illustratively, the capture parameters include capture focal length, sensitivity, flash brightness, or white balance, and the embodiments of the present disclosure are not limited herein.
The image acquisition assembly comprises an image acquisition assembly, a distance adjustment module and a distance adjustment module, wherein the distance adjustment assembly is arranged on the image acquisition assembly, and the distance adjustment assembly is arranged on the image acquisition assembly.
In one embodiment, the mobile terminal adjusts the acquisition parameters of the image acquisition component based on the distance, including:
based on the distance, adjusting the acquisition focal length of the image acquisition assembly.
It can be understood that, this disclosed embodiment adjusts its collection focal length based on the distance between object and the image acquisition subassembly, utilizes the image acquisition subassembly after the adjustment collection focal length to carry out image acquisition like this, can gather and obtain more background thing for the auto heterodyne effect is better.
In another embodiment, the mobile terminal adjusts the acquisition parameters of the image acquisition component based on the distance, including:
based on the distance, the sensitivity, flash brightness, or white balance of the image capture assembly is adjusted.
It can be understood that, this disclosed embodiment adjusts its light sensitivity, flash lamp luminance or white balance based on the distance between object and the image acquisition subassembly, and image acquisition subassembly after the adjustment like this gathers the image, can satisfy the beautiful face requirement in the auto heterodyne, and then improves user experience and feels. In one embodiment, the mobile terminal adjusts the acquisition focal length of the image acquisition component based on the distance, including:
when the distance is within the preset range, the default acquisition focal length corresponding to the outside of the preset range is adjusted to the acquisition focal length corresponding to the inside of the preset range.
It should be noted that, the distance of the acquired object is different, and the acquisition focal distance corresponding to the image acquisition component is also different. Therefore, the acquisition focal length of the image acquisition assembly can be flexibly adjusted based on the distance.
Illustratively, the predetermined range in the embodiments of the present disclosure includes a range of 30 centimeters to 50 centimeters, and the embodiments of the present disclosure are not limited herein.
It can be understood that, mobile terminal is at the in-process of gathering the image, what the acquiescence of the image acquisition subassembly of second surface adopted is that the collection focus outside the scope of predetermineeing gathers the image, therefore, when using the image acquisition subassembly of second surface to autodyne, need will follow acquiescence and be corresponding to the collection focus outside the scope of predetermineeing, adjust to the collection focus that is corresponding to the scope of predetermineeing, so, can adjust the best focus that adapts to this distance with gathering the focus, and then obtain the better auto heterodyne image of effect.
In one embodiment, the mobile terminal determines whether the first operation is an operation indicating to capture an object oriented by the first display touch component, i.e. step S12, includes:
determining whether the first operation is an operation indicating that an acquisition of the image acquisition assembly is changed toward the object;
alternatively, the first and second electrodes may be,
it is determined whether the first operation is an operation indicating entry into a self-timer mode.
It should be noted that, when the mobile terminal collects an image, the default that is turned on is the image collecting component on the second surface, and the collecting direction of the image collecting component is the direction opposite to the direction in which the first display touch component faces the object. Therefore, when the first operation is an operation indicating that the capturing orientation of the image capturing component is changed toward the object, it indicates that the capturing orientation of the image capturing component is required to be the direction in which the first display touch component faces the object, that is, it indicates that the user needs to take a self-portrait.
It can be understood that, the embodiment of the present disclosure may flexibly determine whether the first operation is an operation indicating to capture an object oriented by the first display touch component based on different operations, and thus may determine whether a user needs to take a self-timer.
In one embodiment, the step S13 of outputting, by the mobile terminal, a flipping prompt of the mobile terminal when the first operation instruction is to capture the object oriented by the first display touch component, includes:
when the first operation instruction acquires the object towards which the first display touch component faces, the first display touch component turns off the screen, and the second display touch component positioned on the second surface is lightened.
It should be noted that a second display touch component is disposed on the second surface of the mobile terminal. Under the condition that the first display touch control assembly turns off the screen and the second display touch control assembly is lightened, a user can check the lightened second display touch control assembly, and then the mobile terminal is changed from the first display touch control assembly to the object to the second display touch control assembly, so that the first display touch control assembly turns off the screen and the second display touch control assembly is lightened, and the turning prompt of the mobile terminal is given.
It can be understood that, according to the embodiment of the disclosure, the screen is turned off through the first display touch component, the second display touch component is turned on, and the turning prompt of the mobile terminal is output, so that the user can naturally turn the mobile terminal without adopting an additional interface design display prompt box, the user experience can be more fitted, and the design is simplified.
In one embodiment, when the first operation indicates to capture the object oriented by the first display touch component, the mobile terminal outputs a flipping prompt of the mobile terminal, that is, step S13, further includes:
when the first operation instruction collects an object oriented to the first display touch control assembly, the first display touch control assembly is used for displaying a turning prompt;
alternatively, the first and second electrodes may be,
when the first operation instruction collects an object towards which the first display touch control assembly faces, the first display touch control assembly is used for displaying a turning prompt, and the first display touch control assembly is turned off after the turning prompt is displayed for a preset time.
In the embodiment of the disclosure, the display duration of the turning prompt can be set according to actual use requirements. For example, the display duration of the flipping hint may be 5 seconds or 3 seconds, and embodiments of the present disclosure are not limited herein.
It should be noted that the turning prompt may be directly displayed on the first display touch component to prompt the turning of the mobile terminal, or the turning prompt may be displayed by the first display touch component, and the turning of the mobile terminal is prompted by a combination manner of the first display touch component turning on the screen.
For example, as shown in fig. 5, when the first operation instruction is to acquire the object oriented to the first display touch component, the first display touch component displays a prompt box, and prompt information for turning over the mobile terminal is displayed in the prompt box.
It can be understood that the embodiment of the disclosure can flexibly adopt different modes to prompt the mobile terminal to turn over according to requirements, so that the prompting modes are richer.
In one embodiment, the method for realizing image acquisition by the mobile terminal further comprises:
detecting a second operation acting on a second display touch component, wherein the second display touch component is positioned on a second surface;
based on the second operation, the image acquisition component acquires an image;
and displaying the image acquired by the image acquisition component based on the second display touch component.
In the embodiment of the disclosure, a second display touch component is arranged on the second surface of the mobile terminal. After the second surface of the mobile terminal faces the object, a second operation acting on the second display touch component can be detected, image acquisition is carried out based on the second operation, and the acquired image is displayed.
It should be noted that the second operation acting on the second display touch component may include, but is not limited to, an operation of indicating to capture an object oriented by the second display touch component.
For example, the second operation may be generated by clicking, sliding, or voice acting on the second display touch component, and the embodiments of the present disclosure are not limited herein.
It can be understood that in the embodiment of the present disclosure, a self-timer can be performed by using the image capture component on the second surface of the mobile terminal, and a self-timer image can be displayed by using the second display touch component on the second surface of the mobile terminal, so that the mobile terminal can perform self-timer.
The following description of the image acquisition method in the embodiments of the present disclosure is made by taking a mobile terminal as a mobile phone and an image acquisition component as a camera as an example.
Fig. 6 is a third exemplary flowchart of an image capturing method shown in the embodiment of the present disclosure, and as shown in fig. 6, the method for implementing image capturing by a mobile phone includes the following steps:
s21, the mobile phone detects a first operation acting on the first display touch component.
S22, the mobile phone determines whether the first operation is an operation for indicating to acquire the object oriented by the first display touch control assembly.
And S23, when the first operation instruction is used for acquiring the object oriented by the first display touch control assembly, the first display touch control assembly turns off the screen, the second display touch control assembly positioned on the second surface is lightened, and the camera positioned on the second surface is oriented to the object.
And S24, detecting the distance between the camera and the object.
And S25, adjusting the acquisition parameters of the camera based on the distance.
And S26, acquiring the image of the object by using the camera with the adjusted acquisition parameters.
In the embodiment of the disclosure, the mobile phone enters the preview interface corresponding to the camera on the second surface during the process of image acquisition, and the preview interface is displayed on the first display touch component. At the moment, the mobile phone detects a first operation acting on a preview interface displayed by the first display touch component.
It should be noted that different buttons may be displayed on the preview interface, and each button corresponds to a different operation. For example, the button a correspondingly acquires the object oriented by the first display touch component, and when the mobile phone detects that the button a is touched, it can be determined that the first operation applied to the first display touch component is the operation indicating acquisition of the object oriented by the first display touch component.
For another example, the B button corresponds to capturing a panoramic image, and when the mobile phone detects that the B button is touched, it may be determined that the first operation applied to the first display touch component is an operation indicating entering a panoramic image capturing mode.
In the embodiment of the present disclosure, when the first operation instruction acquires the object to which the first display touch component faces, the first display touch component disappears from the screen, and the second display touch component located on the second surface is lighted. That is to say, when the first operation instruction is used for acquiring the object towards which the first display touch component faces, the overturning prompt of the mobile phone is output, and the overturning prompt is used for prompting that the camera on the second surface faces the object.
It should be noted that, the camera acquisition parameters required for acquiring a short-distance object by using the camera on the second surface are different from those required for acquiring a long-distance object by using the camera on the second surface. Therefore, when the camera on the second surface faces the object, the distance between the camera and the object needs to be detected, and then the acquisition parameters can be adjusted based on the distance to acquire the image.
It can be understood that, in the case that the camera is eliminated from the first surface of the mobile phone, that is, the camera on the first surface cannot be used for self-shooting, the embodiment of the present disclosure may perform self-shooting based on the camera on the second surface. And because the camera on the second surface can adjust the acquisition parameters according to the distance between the camera and the object, the camera on the second surface is utilized to acquire images, and images with better effect can be obtained.
Fig. 7 is a block diagram illustrating a first configuration of an image capturing apparatus according to an exemplary embodiment. Referring to fig. 7, the image capturing apparatus 1000 includes a first detecting module 1001, a first determining module 1002, an outputting module 1003, and a first capturing module 1004.
A first detection module 1001 configured to detect a first operation in image acquisition on a first display touch component located on a first surface of the mobile terminal;
a first determining module 1002 configured to determine whether the first operation is an operation indicating to acquire an object oriented by the first display touch component;
the output module 1003 is configured to output a turning prompt of the mobile terminal when the first operation instruction acquires an object oriented to the first display touch component; the turning prompt is used for prompting the turning of the mobile terminal, and an image acquisition assembly, which is positioned on a second surface of the mobile terminal after the mobile terminal is turned, faces the object, wherein the second surface is a surface opposite to the first surface;
a first acquisition module 1004 configured to acquire an image of the object based on the image acquisition component on the second surface.
In one embodiment, the second detection module is configured to detect whether an image capture component of a second surface of the mobile terminal is facing the object after outputting the flip prompt of the mobile terminal;
a second determination module configured to detect a distance between an image capture assembly of the second surface and the object when the image capture assembly is oriented toward the object;
an adjustment module configured to adjust an acquisition parameter of the image acquisition assembly based on the distance;
the first acquisition module is configured to acquire an image of the object by using the image acquisition assembly after the acquisition parameters are adjusted.
In an embodiment, the adjusting module is specifically configured to adjust the acquisition focal length of the image acquisition assembly based on the distance.
In an embodiment, the adjusting module is specifically configured to adjust the acquisition focal length from being outside the preset range to being within the preset range when the distance is within the preset range.
In an embodiment, the output module is specifically configured to turn off the screen of the first display touch device and turn on a second display touch device located on the second surface when the first operation instruction is used to acquire the object oriented to the first display touch device.
In an embodiment, the output module is further specifically configured to display the flipping prompt by using the first display touch component when the first operation instruction acquires the object oriented by the first display touch component; or when the first operation instruction collects the object to which the first display touch component faces, the first display touch component is used for displaying the turning prompt, and the first display touch component is turned off after the turning prompt is displayed for a preset time.
In an embodiment, the first determination module is specifically configured to determine whether the first operation is an operation indicating a change in acquisition orientation of the image acquisition assembly towards the object; alternatively, it is determined whether the first operation is an operation indicating entry into a self-timer mode.
In one embodiment, the apparatus further comprises:
a third detection module configured to detect a second operation applied to a second display touch component, wherein the second display touch component is located on the second surface;
a second acquisition module configured to acquire an image by the image acquisition component based on the second operation;
and the display module is configured to display the image acquired by the image acquisition component based on the second display touch component.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Fig. 8 is a block diagram of a terminal device according to an exemplary embodiment. For example, the device 800 may be a mobile phone, a mobile computer, etc.
Referring to fig. 8, the apparatus 800 may include one or more of the following components: processing component 802, memory 804, power component 806, multimedia component 808, audio component 810, input/output (I/O) interface 812, sensor component 814, and communication component 816.
The processing component 802 generally controls overall operation of the device 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 802 may include one or more processors 820 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 802 can include one or more modules that facilitate interaction between the processing component 802 and other components. For example, the processing component 802 can include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.
The memory 804 is configured to store various types of data to support operation at the device 800. Examples of such data include instructions for any application or method operating on device 800, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 804 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
Power component 806 provides power to the various components of device 800. The power components 806 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the device 800.
The multimedia component 808 includes a screen that provides an output interface between the device 800 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front facing camera and/or a rear facing camera. The front-facing camera and/or the rear-facing camera may receive external multimedia data when the device 800 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a Microphone (MIC) configured to receive external audio signals when the apparatus 800 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 804 or transmitted via the communication component 816. In some embodiments, audio component 810 also includes a speaker for outputting audio signals.
The I/O interface 812 provides an interface between the processing component 802 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 814 includes one or more sensors for providing various aspects of state assessment for the device 800. For example, the sensor assembly 814 may detect the open/closed state of the device 800, the relative positioning of the components, such as a display and keypad of the apparatus 800, the sensor assembly 814 may also detect a change in position of the apparatus 800 or a component of the apparatus 800, the presence or absence of user contact with the apparatus 800, orientation or acceleration/deceleration of the apparatus 800, and a change in temperature of the apparatus 800. Sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 816 is configured to facilitate communications between the apparatus 800 and other devices in a wired or wireless manner. The device 800 may access a wireless network based on a communication standard, such as Wi-Fi, 2G, or 3G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 800 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer-readable storage medium comprising instructions, such as the memory 804 comprising instructions, executable by the processor 820 of the device 800 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
A non-transitory computer readable storage medium having instructions therein, which when executed by a processor of a mobile terminal, enable the mobile terminal to perform an image acquisition method, the method comprising:
detecting a first operation acting on a first display touch component positioned on a first surface of the mobile terminal in image acquisition;
determining whether the first operation is an operation indicating to acquire an object oriented by the first display touch component;
when the first operation instruction collects the object oriented to the first display touch control assembly, outputting a turning prompt of the mobile terminal; the turning prompt is used for prompting the turning of the mobile terminal, and an image acquisition assembly, which is positioned on a second surface of the mobile terminal after the mobile terminal is turned, faces the object, wherein the second surface is a surface opposite to the first surface;
an image acquisition component based on the second surface performs image acquisition on the object.
Other embodiments of the invention will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the invention and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims.
It will be understood that the invention is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the invention is limited only by the appended claims.

Claims (18)

1. An image acquisition method, characterized in that the method comprises:
detecting a first operation acting on a first display touch component positioned on a first surface of the mobile terminal in image acquisition;
determining whether the first operation is an operation indicating to acquire an object oriented by the first display touch component;
when the first operation instruction collects the object oriented to the first display touch control assembly, outputting a turning prompt of the mobile terminal; the turning prompt is used for prompting the turning of the mobile terminal, and an image acquisition assembly, which is positioned on a second surface of the mobile terminal after the mobile terminal is turned, faces the object, wherein the second surface is a surface opposite to the first surface;
an image acquisition component based on the second surface performs image acquisition on the object.
2. The method of claim 1, further comprising:
after the turning prompt of the mobile terminal is output, detecting whether an image acquisition component on a second surface of the mobile terminal faces to the object;
determining a distance between an image capture assembly of the second surface and the object while the image capture assembly is oriented toward the object;
adjusting acquisition parameters of the image acquisition assembly based on the distance;
the image acquisition of the object based on the image acquisition component comprises:
and acquiring the image of the object by using the image acquisition assembly after the acquisition parameters are adjusted.
3. The method of claim 2, wherein said adjusting acquisition parameters of said image acquisition assembly based on said distance comprises:
and adjusting the acquisition focal length of the image acquisition assembly based on the distance.
4. The method of claim 3, wherein said adjusting a capture focal length of said image capture assembly based on said distance comprises:
and when the distance is within a preset range, adjusting the default acquisition focal length corresponding to the outside of the preset range to the acquisition focal length corresponding to the inside of the preset range.
5. The method according to any one of claims 1 to 4, wherein the outputting a flipping prompt of the mobile terminal when the first operation indicates to capture an object oriented to the first display touch component comprises:
when the first operation instruction acquires the object oriented to the first display touch assembly, the first display touch assembly is turned off, and a second display touch assembly located on the second surface is turned on.
6. The method according to any one of claims 1 to 4, wherein the outputting a flipping prompt of the mobile terminal when the first operation indicates to capture an object oriented to the first display touch component comprises:
when the first operation instruction acquires the object oriented to the first display touch control assembly, displaying the turning prompt by using the first display touch control assembly;
alternatively, the first and second electrodes may be,
when the first operation instruction collects the object oriented to the first display touch control assembly, the first display touch control assembly is used for displaying the turning prompt, and the first display touch control assembly is turned off after the turning prompt is displayed for a preset time.
7. The method of claim 1, wherein the determining whether the first operation is an operation indicating acquisition of an object oriented by the first display touch component comprises:
determining whether the first operation is an operation indicating a change in acquisition orientation of the image acquisition assembly toward an object;
alternatively, the first and second electrodes may be,
determining whether the first operation is an operation indicating entry into a self-timer mode.
8. The method of claim 1, further comprising:
detecting a second operation acting on a second display touch component, wherein the second display touch component is positioned on the second surface;
based on the second operation, the image acquisition component acquires an image;
and displaying the image acquired by the image acquisition component based on the second display touch component.
9. An image acquisition apparatus, characterized in that the apparatus comprises:
the mobile terminal comprises a first detection module, a second detection module and a display module, wherein the first detection module is configured to detect a first operation acting on a first display touch component positioned on a first surface of the mobile terminal in image acquisition;
a first determination module configured to determine whether the first operation is an operation indicating to acquire an object oriented by the first display touch component;
the output module is configured to output a turning prompt of the mobile terminal when the first operation instruction acquires the object oriented to the first display touch component; the turning prompt is used for prompting the turning of the mobile terminal, and an image acquisition assembly, which is positioned on a second surface of the mobile terminal after the mobile terminal is turned, faces the object, wherein the second surface is a surface opposite to the first surface;
a first acquisition module configured to image-acquire the object based on an image acquisition component of the second surface.
10. The apparatus of claim 9, further comprising:
the second detection module is configured to detect whether an image acquisition component on a second surface of the mobile terminal faces to the object or not after the overturning prompt of the mobile terminal is output;
a second determination module configured to determine a distance between an image capture assembly of the second surface and the object when the image capture assembly is oriented toward the object;
an adjustment module configured to adjust an acquisition parameter of the image acquisition assembly based on the distance;
the first acquisition module is configured to acquire an image of the object by using the image acquisition assembly after the acquisition parameters are adjusted.
11. The apparatus of claim 10,
the adjusting module is specifically configured to adjust a collection focal length of the image collection assembly based on the distance.
12. The apparatus of claim 11,
the adjusting module is specifically configured to adjust the default acquisition focal length corresponding to the distance outside the preset range to the acquisition focal length corresponding to the distance within the preset range when the distance is within the preset range.
13. The apparatus according to any one of claims 9 to 12, wherein the output module is specifically configured to turn off the screen of the first display touch device and turn on a second display touch device located on the second surface when the first operation indicates to capture the object oriented by the first display touch device.
14. The apparatus according to any one of claims 9 to 12, wherein the output module is further specifically configured to display the flipping prompt by using the first display touch component when the first operation indicates to capture an object oriented by the first display touch component; or when the first operation instruction collects the object to which the first display touch component faces, the first display touch component is used for displaying the turning prompt, and the first display touch component is turned off after the turning prompt is displayed for a preset time.
15. The apparatus of claim 9,
the first determination module is specifically configured to determine whether the first operation is an operation indicating a change in acquisition orientation of the image acquisition assembly towards an object; alternatively, it is determined whether the first operation is an operation indicating entry into a self-timer mode.
16. The apparatus of claim 9, further comprising:
a third detection module configured to detect a second operation applied to a second display touch component, wherein the second display touch component is located on the second surface;
a second acquisition module configured to acquire an image by the image acquisition component based on the second operation;
and the display module is configured to display the image acquired by the image acquisition component based on the second display touch component.
17. A mobile terminal, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to perform the image acquisition method of any one of claims 1-8.
18. A non-transitory computer readable storage medium, instructions in which, when executed by a processor of a terminal, enable the terminal to perform the image acquisition method of any one of claims 1-8.
CN201910901799.4A 2019-09-23 2019-09-23 Image acquisition method and device, mobile terminal and storage medium Pending CN112543280A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910901799.4A CN112543280A (en) 2019-09-23 2019-09-23 Image acquisition method and device, mobile terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910901799.4A CN112543280A (en) 2019-09-23 2019-09-23 Image acquisition method and device, mobile terminal and storage medium

Publications (1)

Publication Number Publication Date
CN112543280A true CN112543280A (en) 2021-03-23

Family

ID=75013019

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910901799.4A Pending CN112543280A (en) 2019-09-23 2019-09-23 Image acquisition method and device, mobile terminal and storage medium

Country Status (1)

Country Link
CN (1) CN112543280A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104834448A (en) * 2015-05-27 2015-08-12 联想(北京)有限公司 Control method and electronic equipment
CN105120180A (en) * 2015-09-24 2015-12-02 广东欧珀移动通信有限公司 Method and device for self-shooting based on rear camera, and mobile terminal
CN105578018A (en) * 2014-10-10 2016-05-11 中兴通讯股份有限公司 Focal length adjusting method, focal length adjusting device, and terminal
CN106210328A (en) * 2016-07-19 2016-12-07 努比亚技术有限公司 Information display device and method
CN108566456A (en) * 2018-03-28 2018-09-21 努比亚技术有限公司 Image pickup method, mobile terminal and computer readable storage medium
CN108933858A (en) * 2017-05-24 2018-12-04 北京小米移动软件有限公司 Image shows method and device, electronic equipment, computer readable storage medium
CN109246360A (en) * 2018-11-23 2019-01-18 维沃移动通信(杭州)有限公司 A kind of reminding method and mobile terminal
CN109525837A (en) * 2018-11-26 2019-03-26 维沃移动通信有限公司 The generation method and mobile terminal of image

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105578018A (en) * 2014-10-10 2016-05-11 中兴通讯股份有限公司 Focal length adjusting method, focal length adjusting device, and terminal
CN104834448A (en) * 2015-05-27 2015-08-12 联想(北京)有限公司 Control method and electronic equipment
CN105120180A (en) * 2015-09-24 2015-12-02 广东欧珀移动通信有限公司 Method and device for self-shooting based on rear camera, and mobile terminal
CN106210328A (en) * 2016-07-19 2016-12-07 努比亚技术有限公司 Information display device and method
CN108933858A (en) * 2017-05-24 2018-12-04 北京小米移动软件有限公司 Image shows method and device, electronic equipment, computer readable storage medium
CN108566456A (en) * 2018-03-28 2018-09-21 努比亚技术有限公司 Image pickup method, mobile terminal and computer readable storage medium
CN109246360A (en) * 2018-11-23 2019-01-18 维沃移动通信(杭州)有限公司 A kind of reminding method and mobile terminal
CN109525837A (en) * 2018-11-26 2019-03-26 维沃移动通信有限公司 The generation method and mobile terminal of image

Similar Documents

Publication Publication Date Title
EP2991336B1 (en) Image capturing method and apparatus
CN111338744B (en) Image display method and device, electronic device and storage medium
CN110796988B (en) Backlight adjusting method and device
EP3179711B1 (en) Method and apparatus for preventing photograph from being shielded
EP3249509A1 (en) Method and device for playing live videos
CN105282441B (en) Photographing method and device
CN107426502B (en) Shooting method and device, electronic equipment and storage medium
CN111385456A (en) Photographing preview method and device and storage medium
CN111243554B (en) Screen brightness adjusting method, screen brightness adjusting device and storage medium
CN108040213B (en) Method and apparatus for photographing image and computer-readable storage medium
EP3396940B1 (en) Method and apparatus for sorting filter options
CN111614910B (en) File generation method and device, electronic equipment and storage medium
CN109922203B (en) Terminal, screen off method and device
CN108650412B (en) Display method, display device and computer readable storage medium
CN106775246B (en) Screen brightness adjusting method and device
CN110968155A (en) Full-screen terminal, operation execution method and device based on full-screen terminal
CN112689047B (en) Display control method and device and electronic equipment
CN112543280A (en) Image acquisition method and device, mobile terminal and storage medium
CN114979321A (en) Notification information display method and device, terminal and storage medium
CN108763906B (en) Biological feature recognition method and device
CN107707819B (en) Image shooting method, device and storage medium
CN113707062A (en) Screen brightness adjusting method and device and terminal equipment
CN106170038B (en) Recording method and device
CN112087539A (en) Screen light adjusting method for terminal equipment and terminal equipment
CN110876015B (en) Method and device for determining image resolution, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20210323

RJ01 Rejection of invention patent application after publication