CN110996003A - Photographing positioning method and device and mobile terminal - Google Patents

Photographing positioning method and device and mobile terminal Download PDF

Info

Publication number
CN110996003A
CN110996003A CN201911296264.5A CN201911296264A CN110996003A CN 110996003 A CN110996003 A CN 110996003A CN 201911296264 A CN201911296264 A CN 201911296264A CN 110996003 A CN110996003 A CN 110996003A
Authority
CN
China
Prior art keywords
interface
photographing
coordinates
virtual interface
preset
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201911296264.5A
Other languages
Chinese (zh)
Other versions
CN110996003B (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.)
JRD Communication Shenzhen Ltd
TCL Mobile Communication Technology Ningbo Ltd
Original Assignee
JRD Communication Shenzhen 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 JRD Communication Shenzhen Ltd filed Critical JRD Communication Shenzhen Ltd
Priority to CN201911296264.5A priority Critical patent/CN110996003B/en
Publication of CN110996003A publication Critical patent/CN110996003A/en
Application granted granted Critical
Publication of CN110996003B publication Critical patent/CN110996003B/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/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/67Focus control based on electronic image sensor signals

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the application discloses a photographing positioning method, a photographing positioning device and a mobile terminal, wherein the photographing positioning method comprises the following steps: determining an object to be shot according to the positioning request; determining the coordinates of the virtual interface and the coordinates of the photographing interface according to a preset coordinate system; determining initial relative displacement between the virtual interface and the photographing interface; acquiring target coordinates, wherein the target coordinates are used for representing position information of the virtual interface; if the relative displacement between the virtual interface and the photographing interface changes and the change value of the relative displacement is detected to meet a preset adjustment condition, correcting the virtual interface according to a preset correction value to obtain a corrected interface; shooting an object indicated by the correction interface; providing a device and a mobile terminal capable of realizing the scheme; according to the scheme provided by the embodiment of the application, the current consumption of the mobile terminal caused by repeatedly positioning the photographed object can be reduced in the photographing process, and the power consumption of the mobile terminal during photographing is reduced.

Description

Photographing positioning method and device and mobile terminal
Technical Field
The embodiment of the application relates to the field of mobile terminals, in particular to a photographing positioning method and device and a mobile terminal.
Background
With the continuous development of scientific technology, the functions of the camera of the mobile terminal are improved continuously, and the requirement of the user on the camera shooting on the mobile terminal is higher and higher. When the current mobile terminal takes a picture, when the mobile terminal picture taking interface moves randomly, the picture taking interface needs to be positioned for many times to select a focus point, and the object to be taken is selected again when the mobile terminal moves every time, which consumes the electric quantity of the terminal and influences the experience of a user when the user uses the terminal to take a picture.
In the research and practice process of the prior art, the inventor of the embodiment of the application finds that, when a current mobile terminal takes a picture, when a picture taking interface of the mobile terminal moves randomly, the picture taking interface needs to be positioned for many times to select a focus point, and an object to be taken is reselected when the picture taking interface of the mobile terminal moves for each time, the power consumption of the mobile terminal in the prior art on the picture taking interface is about 300 milliamperes (mA), and when the picture taking interface is positioned, the power consumption of the mobile terminal reaches over 600mA, so that the picture taking interface needs to position the picture taking object for many times when the mobile terminal moves for many times, the power consumption of the mobile terminal is accelerated, and the power consumption of the mobile terminal is larger when the mobile terminal takes a picture.
Disclosure of Invention
In view of the defects of the prior art, embodiments of the present application provide a photographing positioning method and apparatus, and a mobile terminal, so as to solve the problem in the prior art that a photographing interface needs to position a photographing object for multiple times when moving for multiple times, so as to speed up power consumption of the mobile terminal, and cause large power consumption of the mobile terminal when photographing.
In a first aspect, an embodiment of the present application provides a photographing positioning method, where the method includes:
determining an object to be shot according to the positioning request;
determining the coordinates of the virtual interface and the coordinates of the photographing interface according to a preset coordinate system;
determining an initial relative displacement between the virtual interface and the photographing interface;
acquiring target coordinates, wherein the target coordinates are used for representing position information of the virtual interface;
if the relative displacement between the virtual interface and the photographing interface changes and the change value of the relative displacement is detected to meet a preset adjustment condition, correcting the virtual interface according to a preset correction value to obtain a corrected interface;
and shooting the object indicated by the correction interface.
In some embodiments, the virtual interface is a projection of the object to be photographed in the preset coordinate system according to a preset direction.
In some embodiments, the target coordinates are coordinates of a plurality of endpoints on the virtual interface, and are distributed on at least any one coordinate axis of the preset coordinate system.
In some embodiments, the determining the coordinates of the virtual interface and the coordinates of the photographing interface according to the preset coordinate system includes:
and determining the coordinates of the virtual interface according to the coordinates of a plurality of points of the virtual interface projected in the preset coordinate system.
In some embodiments, the determining the coordinates of the virtual interface and the coordinates of the photographing interface according to the preset coordinate system includes:
and determining the coordinates of the photographing interface according to the coordinates of a plurality of points of the photographing interface projected in the preset coordinate system.
In some embodiments, the preset adjustment condition is that the initial relative displacement is smaller than a second displacement, and the modifying the virtual interface according to the preset modification value to obtain a modified interface includes:
when the initial relative displacement is smaller than a second displacement, subtracting the initial relative displacement from the second displacement to obtain a preset correction value, and adding the target coordinate and the preset correction value to obtain a second target value;
correcting the virtual interface according to the second target value to obtain a corrected interface; wherein the second target value is the target value after the change.
In some embodiments, the preset adjustment condition is that the initial relative displacement is greater than a third displacement, and the modifying the virtual interface according to the preset modification value to obtain a modified interface includes:
when the initial relative displacement is larger than a third displacement, subtracting the third displacement from the initial relative displacement to obtain a preset correction value, and adding the target coordinate and the preset correction value to obtain a third target value;
correcting the virtual interface according to the third target value to obtain a corrected interface; wherein the third target value is the target value after the change.
In a second aspect, an embodiment of the present application further provides a photographing positioning device, including:
the receiving module is used for acquiring a positioning request;
the selection module is used for determining an object to be shot according to the positioning request;
the determining module is used for determining the coordinates of the virtual interface and the coordinates of the photographing interface and determining the initial relative displacement between the virtual interface and the photographing interface;
the acquisition module is used for acquiring a target coordinate;
the displacement change detection module is used for detecting the relative displacement change between the virtual interface and the photographing interface;
the correction module is used for correcting the virtual interface according to a preset correction value;
and the shooting module is used for shooting the object indicated by the correction interface.
In some embodiments, the photographing positioning device further includes a determining module, configured to determine that a variation value of the relative displacement is greater than or less than a preset threshold.
In a third aspect, an embodiment of the present application provides a mobile terminal, which includes the photographing positioning apparatus described in the second aspect, and is capable of executing operations in the photographing positioning method described in the first aspect.
Compared with the prior art, the embodiment of the application provides a photographing positioning method, a photographing positioning device and a photographing positioning terminal, when a user selects a photographing object to photograph by adopting the scheme, when a photographing interface of a mobile terminal moves randomly, if an object positioned for the first time by the user does not leave the photographing interface of the mobile terminal, the selected object is not positioned for the second time when the photographing interface of the mobile terminal moves randomly, the photographing interface is kept clear, and the mobile terminal does not position the selected photographing object repeatedly.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic flowchart of a photographing positioning method according to an embodiment of the present application;
fig. 2 is a scene schematic diagram of a photographing positioning method provided in an embodiment of the present application;
fig. 3 is a scene schematic diagram of a photographing positioning method according to an embodiment of the present application;
fig. 4 is another schematic view of a scene of a photographing positioning method according to an embodiment of the present application;
fig. 5 is a structural diagram of a photographing positioning device according to an embodiment of the present application;
fig. 6 is a block diagram of a mobile terminal according to an embodiment of the present disclosure.
Detailed Description
The terms "first," "second," and the like in the description and in the claims of the embodiments of the application and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments described herein are capable of operation in other sequences than illustrated or otherwise described herein. The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The embodiment of the application provides a photographing positioning method and device and a mobile terminal. The photographing positioning method can be integrated in electronic equipment, and the electronic equipment can be a terminal with a camera, such as a mobile phone, a tablet computer, a notebook computer or a personal computer. The following are detailed below. It should be noted that the following description of the embodiments is not intended to limit the preferred order of the embodiments.
Referring to fig. 1, fig. 1 is a schematic flowchart illustrating a photographing positioning method according to an embodiment of the present disclosure.
The embodiment of the application comprises the following steps:
101. selecting an object to be shot according to the positioning request;
specifically, when a user wants to use the mobile terminal to locate any object to be shot, the mobile terminal provided in the embodiment of the present application can obtain, through the obtaining module, a location request sent by the user, and select, according to the location request, the object to be shot that the user wants to locate. The mobile terminal includes, but is not limited to, a mobile phone, a notebook computer, a tablet computer, and other terminals with a camera.
102. Determining the coordinates of the virtual interface and the coordinates of the photographing interface according to a preset coordinate system;
specifically, the coordinates of the virtual interface and the coordinates of the photographing interface are determined according to a preset coordinate system in the embodiment of the application. The preset coordinate system is realized by constructing a rectangular coordinate system in space, wherein a coordinate origin O point is randomly selected, three mutually perpendicular axes are made through the coordinate origin O, the axes take O as the origin and generally have the same length unit, the three preset axes are respectively an x axis (a transverse axis), a y axis (a longitudinal axis) and a z axis (a vertical axis), the x axis and the y axis are arranged on a horizontal plane and are parallel to the horizontal plane, and the z axis is a plumb line and is perpendicular to the horizontal plane; and the relationship between the three axes satisfies: when the z-axis is held by the right hand, when the four fingers of the right hand rotate to the positive y-axis at an angle of pi/2 from the positive x-axis, the pointing direction of the thumb is the positive direction of the z-axis; a preset space rectangular coordinate system is formed by the preset three coordinate axes.
It should be noted that the virtual interface is a projection of the object to be photographed in a preset direction, and the projection of the object to be photographed in the preset direction is determined as an independent virtual interface by referring to a plane of the photographing interface, where the preset direction is determined according to the photographing interface, for example, when the photographing interface is relatively parallel to a plane formed by an x-axis and a z-axis of a preset coordinate axis, the projection of the object to be photographed in the preset direction is determined as an independent virtual interface, and the preset direction is a direction of the x-axis and the z-axis.
103. Determining an initial relative displacement between the virtual interface and the photographing interface;
specifically, after the position of the virtual interface and the position of the photographing interface are determined, the initial relative displacement between the virtual interface and the photographing interface needs to be determined before the mobile terminal moves for the first time.
104. Acquiring a target coordinate;
specifically, the target coordinates in the embodiment of the present application refer to coordinates of a plurality of points on the virtual interface, and the target coordinates are used to represent positioning information of the virtual interface. In the implementation process of the embodiment of the application, a plurality of characteristic coordinate points on the virtual interface are obtained through an obtaining module, so that the target coordinate is obtained; for example, the obtaining module obtains the endpoint coordinates of the virtual interface on each axis of the coordinate system, and the obtained endpoint coordinates of the virtual interfaces on each axis of the coordinate system can express the position information of the virtual interface, so as to obtain the target coordinates.
105. If the relative displacement between the virtual interface and the photographing interface changes and the change value of the relative displacement meets a preset adjusting condition, correcting the virtual interface according to a preset correction value to obtain a target interface;
specifically, when the change value of the relative displacement is greater than a preset threshold, the virtual interface is corrected according to a preset first correction value to obtain a target interface, for example, when the mobile terminal moves relative to the initial position according to a rule far away from the virtual interface, the change value of the relative displacement between the virtual interface and the photographing interface is greater than the preset threshold, the target coordinate is corrected according to the preset correction value to achieve the effect of correcting the virtual interface, and the target interface is obtained; and correcting the virtual interface according to a preset second correction value to obtain a target interface when the change value of the relative displacement is smaller than a preset threshold value, for example, correcting the target coordinate according to a preset correction value to achieve the effect of correcting the virtual interface to obtain the target interface when the change value of the relative displacement between the virtual interface and the photographing interface is smaller than the preset threshold value when the mobile terminal moves relative to the initial position according to a rule close to the virtual interface.
106. And shooting the object indicated by the target interface.
Specifically, after the target interface is obtained, the position of the object to be shot is determined and shooting is performed according to the coordinate of the target interface in the coordinate system.
To sum up, the embodiment of the present application provides a photographing positioning method, a photographing positioning device, and a photographing positioning terminal, when a user selects a photographing object to photograph by using the scheme, when a photographing interface of a mobile terminal moves arbitrarily, if an object positioned for the first time by the user does not leave the photographing interface of the mobile terminal, the selected object is not positioned for the second time when the photographing interface of the mobile terminal moves arbitrarily, and the photographing interface remains clear, and the mobile terminal does not repeatedly position the selected photographing object.
For ease of understanding, the following description is made in terms of a practical application scenario of the mobile terminal. As shown in fig. 2, in a situation that a user selects an object 202 to be photographed for photographing, in order to find a best photographing position, the user may continuously move the mobile terminal 201 during photographing to obtain a satisfactory photograph of the user, for example, move from the initial position 21 to the second position 22; when the photographing interface moves arbitrarily, if the object 202 to be photographed positioned arbitrarily does not leave the photographing interface, the photographing positioning device 2011 provided according to the embodiment of the present application determines the change relationship of the relative displacement of the mobile terminal with respect to the virtual interface. Two scenes of relative position change of the mobile terminal and the virtual interface are explained as follows:
in a first scenario: when the mobile terminal horizontally translates forwards relative to the virtual interface
When the mobile terminal moves relative to the initial position according to a rule far away from the virtual interface and when the mobile terminal horizontally translates relative to the virtual interface forwards, the position of the photographing interface after moving is compared with the initial position of the photographing interface, the position of the photographing interface is changed relative to the virtual interface, the change value of the relative displacement between the virtual interface and the photographing interface is larger than a preset threshold value, and the target coordinate is corrected according to a preset correction value so as to achieve the effect of correcting the virtual interface and obtain a target interface; as shown in fig. 3, in the embodiment of the present application, an object 302 to be photographed is photographed, a virtual interface 302 'and a photographing interface 301 are determined according to a preset coordinate system, and an initial relative displacement between the virtual interface 302' and the photographing interface 301 is S1After the mobile terminal 301 moves from the initial position according to the rule far from the virtual interface, the position is the position represented by the dotted line 301', and the relative displacement between the virtual interface 302' and the photographing interface 301' is S2Can know S2>S1According to a predetermined rule N ═ S2-S1Obtaining a preset correction value N, and correcting the target coordinate Dp according to the preset correction value N1、Dp2、Dp3、Dp4And adding the coordinate value of the target coordinate and the correction value N at the same time to obtain the target coordinate after the photographing interface is changed.
In scenario two: when the mobile terminal horizontally translates backwards relative to the virtual interface
When the mobile terminal moves relative to the initial position according to a rule far away from the virtual interface and when the mobile terminal horizontally translates backward relative to the virtual interface, the position of the photographing interface after moving is compared with the initial position of the photographing interface, the position of the photographing interface is changed relative to the virtual interface, and the change value of the relative displacement between the virtual interface and the photographing interface is smaller than a preset threshold value, the target coordinate is corrected according to a preset correction value so as to achieve the effect of correcting the virtual interface and obtain a target interface; as shown in fig. 4, in the embodiment of the present application, an object 302 to be photographed is photographed, a virtual interface 302' and a photographing interface 301 are determined according to a preset coordinate system, and an initial relative displacement between the virtual interface 302 and the photographing interface 301 is S1After the mobile terminal 301 moves from the initial position according to the rule far from the virtual interface, the position is the position represented by the dotted line 301', and the relative displacement between the virtual interface 302' and the photographing interface 301' is S3Can know S3<S1According to a predetermined rule N ═ S1-S3If a preset correction value N is obtained, correcting the target coordinate Dp according to the preset correction value N1、Dp2、Dp3、Dp4And subtracting the correction value N from the coordinate value of the target coordinate to obtain the target coordinate after the change of the photographing interface.
The application scenario of the photographing positioning method provided by the embodiment of the application can also be as follows: when the mobile terminal is parallel to the virtual interface, the mobile terminal is translated vertically and upwards; when the mobile terminal is parallel to the virtual interface, the mobile terminal is vertically translated downwards; when the mobile terminal is parallel to the virtual interface, the mobile terminal is translated vertically to the upper right; when the mobile terminal and the virtual interface are kept parallel, various application scenarios such as vertical translation to the left and the upper are performed, and after the mobile terminal moves in each direction, the principle of the specific implementation mode is the same as that in scenario one and scenario two, and details are not repeated here.
To sum up, the embodiment of the present application provides a photographing positioning method, a photographing positioning device, and a photographing positioning terminal, when a user selects a photographing object to photograph by using the scheme, when a photographing interface of a mobile terminal moves arbitrarily, if an object positioned for the first time by the user does not leave the photographing interface of the mobile terminal, the selected object is not positioned for the second time when the photographing interface of the mobile terminal moves arbitrarily, and the photographing interface remains clear, and the mobile terminal does not repeatedly position the selected photographing object.
A photographing positioning method in the embodiment of the present application is described above, and a device for executing the photographing positioning method is described below.
Referring to fig. 5, as a schematic structural diagram of a device 50 for positioning photographing shown in fig. 5, the device 50 in the embodiment of the present application can implement steps corresponding to the photographing positioning method executed in the embodiment corresponding to fig. 1. The functions implemented by the apparatus 50 may be implemented by hardware, or by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the above functions, which may be software and/or hardware. The apparatus 80 may include an obtaining module 501, a selecting module 502, a determining module 503, a detecting module 504, a correcting module 505, a determining module 506, and a shooting module 507, where the functions of the obtaining module 501, the selecting module 502, the determining module 503, the detecting module 504, the correcting module 505, the determining module 506, and the shooting module 507 may refer to the operations executed in the embodiment corresponding to fig. 1, and are not described herein again.
Specifically, the obtaining module 501 may be configured to obtain a positioning request, for example, the obtaining unit 501 is specifically configured to obtain a positioning request of a user for any object to be shot; the obtaining module 501 may be configured to obtain target coordinates, where the target coordinates refer to coordinates of a plurality of points on the virtual interface, and the target coordinates are used to represent positioning information of the virtual interface, for example, the obtaining unit 501 obtains the coordinates of the plurality of points of the virtual interface after determining the position information of the virtual interface, so as to obtain the target coordinates.
Specifically, when the mobile terminal enters the positioning mode in the shooting state, the selecting module 502 starts the selecting module 502 built in the terminal, and is used for selecting any object to be shot requested by the user.
Specifically, the determining module 503 is configured to determine coordinates of a virtual interface and coordinates of a photographing interface; for determining an initial relative displacement between the virtual interface and the photographic interface.
Specifically, the detecting module 504 is configured to detect that a relative displacement between the virtual interface and the photographing interface changes.
Specifically, the correcting module 505 is configured to preset a correction value to correct the virtual interface to obtain a target interface.
Specifically, the determining module 506 is configured to determine that the variation value of the relative displacement is greater than or less than a preset threshold.
Specifically, the shooting module 507 is configured to shoot an object indicated by the target interface.
The terminal device in the embodiment of the present application is described above from the perspective of the modular functional entity, and the terminal device in the embodiment of the present application is described below from the perspective of hardware processing. An embodiment of the present application further provides a mobile terminal, as shown in fig. 6, which shows a schematic structural diagram of a terminal according to an embodiment of the present application, where the terminal may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, and the like, and specifically:
as shown in fig. 6, the terminal may include Radio Frequency (RF) circuitry 601, memory 602 including one or more computer-readable storage media, input unit 603, display unit 604, sensor 605, audio circuitry 606, Wireless Fidelity (Wi-Fi) module 607, processor 608 including one or more processing cores, and power supply 609. Those skilled in the art will appreciate that the terminal structure shown in fig. 6 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
Wherein:
the RF circuit 601 may be used for receiving and transmitting signals during a message transmission or communication process, and in particular, for receiving downlink messages from a base station and then processing the received downlink messages by one or more processors 608; in addition, data relating to uplink is transmitted to the base station. In general, the RF circuit 601 includes, but is not limited to, an antenna, at least one Amplifier, a tuner, one or more oscillators, a Subscriber Identity Module (SIM) card, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, the RF circuit 601 may also communicate with networks and other devices via wireless communications. The wireless communication may use any communication standard or protocol, including but not limited to Global System for Mobile communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Messaging Service (SMS), etc.
The memory 602 may be used to store software programs and modules, and the processor 608 executes various functional applications and data processing by operating the software programs and modules stored in the memory 602. The memory 602 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the terminal, etc. Further, the memory 602 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, the memory 602 may also include a memory controller to provide the processor 608 and the input unit 603 access to the memory 602.
The input unit 603 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control. In particular, in one particular embodiment, input unit 603 may include a touch-sensitive surface as well as other input devices. The touch-sensitive surface, also referred to as a touch display screen or a touch pad, may collect touch operations by a user (e.g., operations by a user on or near the touch-sensitive surface using a finger, a stylus, or any other suitable object or attachment) thereon or nearby, and drive the corresponding connection device according to a predetermined program. Alternatively, the touch sensitive surface may comprise two parts, a touch detection means and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 608, and can receive and execute commands sent by the processor 608. In addition, touch sensitive surfaces may be implemented using various types of resistive, capacitive, infrared, and surface acoustic waves. The input unit 603 may include other input devices in addition to the touch-sensitive surface. In particular, other input devices may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 604 may be used to display information input by or provided to the user and various graphical user interfaces of the terminal, which may be made up of graphics, text, icons, video, and any combination thereof. The Display unit 604 may include a Display panel, and optionally, the Display panel may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. Further, the touch-sensitive surface may overlay the display panel, and when a touch operation is detected on or near the touch-sensitive surface, the touch operation is transmitted to the processor 608 to determine the type of touch event, and the processor 608 then provides a corresponding visual output on the display panel according to the type of touch event.
The terminal may also include at least one sensor 605, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor that may adjust the brightness of the display panel according to the brightness of ambient light, and a proximity sensor that may turn off the display panel and/or the backlight when the terminal is moved to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when the mobile phone is stationary, and can be used for applications of recognizing the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured in the terminal, detailed description is omitted here.
Audio circuitry 606, a speaker, and a microphone may provide an audio interface between the user and the terminal. The audio circuit 606 may transmit the electrical signal converted from the received audio data to a speaker, and convert the electrical signal into a sound signal for output; on the other hand, the microphone converts the collected sound signal into an electric signal, which is received by the audio circuit 606 and converted into audio data, which is then processed by the audio data output processor 608, and then transmitted to, for example, another terminal via the RF circuit 601, or the audio data is output to the memory 602 for further processing. The audio circuit 606 may also include an earbud jack to provide communication of peripheral headphones with the terminal.
Wi-Fi belongs to short-distance wireless transmission technology, and the terminal can help a user to receive and send e-mails, browse webpages, access streaming media and the like through a Wi-Fi module 607, and provides wireless broadband internet access for the user. Although fig. 6 shows the Wi-Fi module 607, it is understood that it does not belong to the essential constitution of the terminal and may be omitted entirely as needed within the scope not changing the essence of the invention.
The processor 608 is a control center of the terminal, connects various parts of the entire handset using various interfaces and lines, and performs various functions of the terminal and processes data by operating or executing software programs and/or modules stored in the memory 602 and calling data stored in the memory 602, thereby performing overall monitoring of the handset. Optionally, processor 608 may include one or more processing cores; preferably, the processor 608 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 608.
The terminal also includes a power supply 609 (e.g., a battery) for powering the various components, which may preferably be logically connected to the processor 608 via a power management system that may be used to manage charging, discharging, and power consumption. The power supply 609 may also include any component of one or more dc or ac power sources, recharging systems, power failure detection circuitry, power converters or inverters, power status indicators, and the like.
Although not shown, the terminal may further include a camera, a bluetooth module, and the like, which will not be described herein. Specifically, in this embodiment, the processor 608 in the terminal loads the executable file corresponding to the process of one or more application programs into the memory 602 according to the following instructions, and the processor 608 runs the application programs stored in the memory 602, thereby implementing various functions.
The photographing positioning method, the photographing positioning device and the mobile terminal provided by the embodiment of the application are described in detail, a specific example is applied in the embodiment of the application to explain the principle and the implementation manner of the application, and the description of the embodiment is only used for helping to understand the method and the core idea of the application; meanwhile, for those skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (10)

1. A photograph positioning method, the method comprising:
determining an object to be shot according to the positioning request;
determining the coordinates of the virtual interface and the coordinates of the photographing interface according to a preset coordinate system;
determining an initial relative displacement between the virtual interface and the photographing interface;
acquiring target coordinates, wherein the target coordinates are used for representing position information of the virtual interface;
if the relative displacement between the virtual interface and the photographing interface changes and the change value of the relative displacement is detected to meet a preset adjustment condition, correcting the virtual interface according to a preset correction value to obtain a corrected interface;
and shooting the object indicated by the correction interface.
2. The method according to claim 1, wherein the virtual interface is a projection of the object to be photographed in the preset coordinate system according to a preset direction.
3. The method according to claim 2, wherein the target coordinates are coordinates of a plurality of endpoints on the virtual interface, and are distributed on at least any one coordinate axis of the preset coordinate system.
4. The method of claim 3, wherein determining the coordinates of the virtual interface and the coordinates of the photographing interface according to a predetermined coordinate system comprises:
and determining the coordinates of the virtual interface according to the coordinates of a plurality of points of the virtual interface projected in the preset coordinate system.
5. The method of claim 4, wherein determining the coordinates of the virtual interface and the coordinates of the photographing interface according to a predetermined coordinate system comprises:
and determining the coordinates of the photographing interface according to the coordinates of a plurality of points of the photographing interface projected in the preset coordinate system.
6. The method according to claim 3, wherein the preset adjustment condition is that the initial relative displacement is smaller than a second displacement, and the modifying the virtual interface according to the preset modification value to obtain a modified interface comprises:
when the initial relative displacement is smaller than a second displacement, subtracting the initial relative displacement from the second displacement to obtain a preset correction value, and adding the target coordinate and the preset correction value to obtain a second target value;
and correcting the virtual interface according to the second target value to obtain the corrected interface, wherein the second target value is the changed target value.
7. The method according to claim 3, wherein the preset adjustment condition is that the initial relative displacement is greater than a third displacement, and the modifying the virtual interface according to the preset modification value to obtain a modified interface comprises:
when the initial relative displacement is larger than a third displacement, subtracting the third displacement from the initial relative displacement to obtain a preset correction value, and adding the target coordinate and the preset correction value to obtain a third target value;
and correcting the virtual interface according to the third target value to obtain the corrected interface, wherein the third target value is the changed target value.
8. A photographing positioning device, comprising:
the receiving module is used for acquiring a positioning request;
the selection module is used for determining an object to be shot according to the positioning request;
the determining module is used for determining the coordinates of the virtual interface and the coordinates of the photographing interface and determining the initial relative displacement between the virtual interface and the photographing interface;
the acquisition module is used for acquiring a target coordinate;
the displacement change detection module is used for detecting the relative displacement change between the virtual interface and the photographing interface;
the correction module is used for correcting the virtual interface according to a preset correction value;
and the shooting module is used for shooting the object indicated by the correction interface.
9. The apparatus of claim 8, further comprising:
and the judging module is used for judging whether the change value of the relative displacement is larger than or smaller than a preset threshold value.
10. A mobile terminal, characterized by comprising the photo positioning apparatus of claim 8 and claim 9, and being capable of performing the operations in the photo positioning method of any one of claims 1 to 7.
CN201911296264.5A 2019-12-16 2019-12-16 Photographing positioning method and device and mobile terminal Active CN110996003B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911296264.5A CN110996003B (en) 2019-12-16 2019-12-16 Photographing positioning method and device and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911296264.5A CN110996003B (en) 2019-12-16 2019-12-16 Photographing positioning method and device and mobile terminal

Publications (2)

Publication Number Publication Date
CN110996003A true CN110996003A (en) 2020-04-10
CN110996003B CN110996003B (en) 2022-03-25

Family

ID=70094131

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911296264.5A Active CN110996003B (en) 2019-12-16 2019-12-16 Photographing positioning method and device and mobile terminal

Country Status (1)

Country Link
CN (1) CN110996003B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113188439A (en) * 2021-04-01 2021-07-30 深圳市磐锋精密技术有限公司 Internet-based automatic positioning method for mobile phone camera shooting

Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1848923A (en) * 2005-04-15 2006-10-18 索尼株式会社 Control apparatus, control method, computer program, and camera
CN103905717A (en) * 2012-12-27 2014-07-02 联想(北京)有限公司 Switching method and device and electronic device
CN104363377A (en) * 2014-11-28 2015-02-18 广东欧珀移动通信有限公司 Method and apparatus for displaying focus frame as well as terminal
CN104469167A (en) * 2014-12-26 2015-03-25 小米科技有限责任公司 Automatic focusing method and device
CN105635555A (en) * 2014-11-07 2016-06-01 青岛海尔智能技术研发有限公司 Camera focusing control method, image pick-up device and wearable intelligent terminal
CN106161950A (en) * 2016-08-09 2016-11-23 乐视控股(北京)有限公司 Focusing position fixing means, device and terminal
CN106161945A (en) * 2016-08-01 2016-11-23 乐视控股(北京)有限公司 Take pictures treating method and apparatus
CN206511135U (en) * 2016-12-12 2017-09-22 高域(北京)智能科技研究院有限公司 Aerial photography unmanned aerial vehicle
CN107509028A (en) * 2017-08-10 2017-12-22 维沃移动通信有限公司 A kind of image pickup method, mobile terminal and computer-readable recording medium
CN107798723A (en) * 2016-08-30 2018-03-13 北京神州泰岳软件股份有限公司 A kind of method and apparatus of target following control
CN108337471A (en) * 2017-02-24 2018-07-27 腾讯科技(深圳)有限公司 The processing method and processing device of video pictures
CN109413334A (en) * 2018-12-13 2019-03-01 浙江舜宇光学有限公司 Image pickup method and filming apparatus
CN109417602A (en) * 2016-07-13 2019-03-01 株式会社斯库林集团 Image processing method, image processing apparatus, photographic device and image capture method
US20190158755A1 (en) * 2017-11-20 2019-05-23 Chiun Mai Communication Systems, Inc. Aerial vehicle and target object tracking method
CN110544273A (en) * 2018-05-29 2019-12-06 杭州海康机器人技术有限公司 motion capture method, device and system

Patent Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1848923A (en) * 2005-04-15 2006-10-18 索尼株式会社 Control apparatus, control method, computer program, and camera
CN103905717A (en) * 2012-12-27 2014-07-02 联想(北京)有限公司 Switching method and device and electronic device
CN105635555A (en) * 2014-11-07 2016-06-01 青岛海尔智能技术研发有限公司 Camera focusing control method, image pick-up device and wearable intelligent terminal
CN104363377A (en) * 2014-11-28 2015-02-18 广东欧珀移动通信有限公司 Method and apparatus for displaying focus frame as well as terminal
CN104469167A (en) * 2014-12-26 2015-03-25 小米科技有限责任公司 Automatic focusing method and device
US20160191783A1 (en) * 2014-12-26 2016-06-30 Xiaomi Inc. Auto-focusing method and auto-focusing device
CN109417602A (en) * 2016-07-13 2019-03-01 株式会社斯库林集团 Image processing method, image processing apparatus, photographic device and image capture method
CN106161945A (en) * 2016-08-01 2016-11-23 乐视控股(北京)有限公司 Take pictures treating method and apparatus
CN106161950A (en) * 2016-08-09 2016-11-23 乐视控股(北京)有限公司 Focusing position fixing means, device and terminal
CN107798723A (en) * 2016-08-30 2018-03-13 北京神州泰岳软件股份有限公司 A kind of method and apparatus of target following control
CN206511135U (en) * 2016-12-12 2017-09-22 高域(北京)智能科技研究院有限公司 Aerial photography unmanned aerial vehicle
CN108337471A (en) * 2017-02-24 2018-07-27 腾讯科技(深圳)有限公司 The processing method and processing device of video pictures
CN107509028A (en) * 2017-08-10 2017-12-22 维沃移动通信有限公司 A kind of image pickup method, mobile terminal and computer-readable recording medium
US20190158755A1 (en) * 2017-11-20 2019-05-23 Chiun Mai Communication Systems, Inc. Aerial vehicle and target object tracking method
CN110544273A (en) * 2018-05-29 2019-12-06 杭州海康机器人技术有限公司 motion capture method, device and system
CN109413334A (en) * 2018-12-13 2019-03-01 浙江舜宇光学有限公司 Image pickup method and filming apparatus

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
程良伦 等: "高精度光学自动检测仪快速对焦方法研究", 《传感器与微***》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113188439A (en) * 2021-04-01 2021-07-30 深圳市磐锋精密技术有限公司 Internet-based automatic positioning method for mobile phone camera shooting

Also Published As

Publication number Publication date
CN110996003B (en) 2022-03-25

Similar Documents

Publication Publication Date Title
CN109121008B (en) Video preview method, device, terminal and storage medium
CN108513671B (en) Display method and terminal for 2D application in VR equipment
CN105094501B (en) Method, device and system for displaying messages in mobile terminal
CN109714476B (en) Data processing method and device, mobile terminal and storage medium
WO2019029379A1 (en) Interaction object control method and device, terminal and computer-readable storage medium
CN108564539B (en) Method and device for displaying image
CN112691363A (en) Cross-terminal switching method and related device for cloud games
CN110688051B (en) Screen recording operation method and device, computer readable storage medium and terminal
CN110221765B (en) Video file playing method and device, storage medium and terminal
CN107330867B (en) Image synthesis method, image synthesis device, computer-readable storage medium and computer equipment
CN105513098B (en) Image processing method and device
CN111556248B (en) Shooting method, shooting device, storage medium and mobile terminal
WO2015135457A1 (en) Method, apparatus, and system for sending and playing multimedia information
CN110996003B (en) Photographing positioning method and device and mobile terminal
CN106454083B (en) Image acquisition method and device of mobile terminal and mobile terminal
CN110209449B (en) Method and device for positioning cursor in game
CN111372003A (en) Camera switching method and device and terminal
CN110740265A (en) Image processing method and terminal equipment
CN112367425B (en) Volume adjusting method and device and terminal
CN111355991B (en) Video playing method and device, storage medium and mobile terminal
CN113296664A (en) Screen resolution adjusting method and device, terminal equipment and storage medium
CN106803916B (en) Information display method and device
CN111898542A (en) Display screen control method and device and terminal
CN111143580A (en) Multimedia data storage method and device, storage medium and electronic equipment
CN111966271B (en) Screen panorama screenshot method and device, terminal 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
GR01 Patent grant
GR01 Patent grant