CN106713747A - Focusing method and mobile terminal - Google Patents
Focusing method and mobile terminal Download PDFInfo
- Publication number
- CN106713747A CN106713747A CN201611079799.3A CN201611079799A CN106713747A CN 106713747 A CN106713747 A CN 106713747A CN 201611079799 A CN201611079799 A CN 201611079799A CN 106713747 A CN106713747 A CN 106713747A
- Authority
- CN
- China
- Prior art keywords
- target object
- area
- module
- preset
- determining
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 82
- 238000005452 bending Methods 0.000 claims description 87
- 238000001514 detection method Methods 0.000 claims description 17
- 230000006870 function Effects 0.000 description 8
- 238000013461 design Methods 0.000 description 6
- 238000010586 diagram Methods 0.000 description 6
- 238000012545 processing Methods 0.000 description 6
- 238000004891 communication Methods 0.000 description 4
- 230000001360 synchronised effect Effects 0.000 description 4
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000003068 static effect Effects 0.000 description 2
- 238000006467 substitution reaction Methods 0.000 description 2
- 238000003491 array Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000010897 surface acoustic wave method Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/62—Control of parameters via user interfaces
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/67—Focus 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)
- Studio Devices (AREA)
Abstract
The embodiment of the invention provides a focusing method applied to a mobile terminal with a camera and a flexible screen. The method comprises the steps of obtaining an image collected by the camera; determining a to-be-tracked and focused target object in the image; tracking and focusing the target object; in the tracking and focusing process, detecting whether the target object has a trend of deviating from a preview interface or not in real time; and if it is detected that the target object has the trend of deviating from the preview interface, controlling the flexible screen to bend until the target object is located in a preset center area. The embodiment of the invention also provides a mobile terminal. According to the embodiment of the method and the mobile terminal, after a camera collects an image, through utilization of the feature that the flexible screen is bendable, in the tracking and focusing process, when the target object has the trend of deviating from the preview interface, the flexible screen is bent automatically, the direction of the camera is adjusted, the target object is enabled to be located in the preset center area, and the target object is prevented from exceeding the preview interface range to result in a tracking and focusing failure.
Description
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a focusing method and a mobile terminal.
Background
Mobile terminals in the prior art generally have functions of taking pictures and recording videos. When the mobile terminal is used for shooting a moving object, the object can move all the time, and if a common focusing method (continuous focusing or phase focusing) is used, the mobile terminal can be always in the focusing process, so that the shooting speed and the shooting definition are influenced. Therefore, in this case, an object tracking focusing method may be adopted, in which after an object is selected, an object is always tracked for focusing, so that the photographed object is always clear and can be photographed or recorded at any time.
The screen of the mobile terminal using the object tracking focusing method is a common screen, so that if the object moves too fast and the object exceeds the range of the preview picture, for example, when an athlete jumps upwards, the object jumps out of the range of the preview picture, and the user of the mobile terminal has no time to move the mobile terminal so that the camera of the mobile terminal follows the object, the object tracking fails, and thus some important captured scene pictures are missed.
Disclosure of Invention
The embodiment of the invention provides a focusing method and a mobile terminal, and aims to solve the problems that in the focusing process of the prior art, due to the fact that a target object moves too fast to exceed a preview picture, tracking focusing fails, and important shooting scene pictures are missed.
In a first aspect, a focusing method is provided, which is applied to a mobile terminal having a camera and a flexible screen, and the method includes:
acquiring an image acquired by the camera;
determining a target object to be tracked and focused in the image;
tracking and focusing the target object;
detecting whether the target object has a trend deviating from a preview interface in real time in a tracking focusing process;
and if the target object is detected to have a trend deviating from the preview interface, controlling the flexible screen to bend until the target object is located in a preset central area.
In a second aspect, a mobile terminal is provided, which includes a flexible screen and a camera, and the mobile terminal further includes:
the acquisition module is used for acquiring the image acquired by the camera;
the determining module is used for determining a target object to be tracked and focused in the image acquired by the acquiring module;
the focusing module is used for tracking and focusing the target object determined by the determining module;
the detection module is used for detecting whether the target object determined by the determination module has a trend deviating from a preview interface in real time in the process of tracking and focusing by the focusing module;
and the bending module is used for controlling the flexible screen to bend until the target object determined by the determining module is located in a preset central area if the detecting module detects that the target object determined by the determining module has a tendency of deviating from a preview interface.
In this way, in the embodiment of the invention, after the camera collects the image, by utilizing the characteristic that the flexible screen can be bent, in the tracking and focusing process, when the target object has a tendency of deviating from the preview interface, the flexible screen can be automatically bent, the direction of the camera is adjusted, so that the target object is positioned in the preset central area, the tracking and focusing failure caused by the target object exceeding the preview interface range is avoided, the acquisition of important shooting scene pictures is not missed, the tracking and focusing are accurate and convenient, the mobile terminal user does not need to manually move the mobile terminal to adjust the direction of the camera, and the mobile terminal can be always positioned at the same position.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments of the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without inventive labor.
FIG. 1 is a flowchart of a focusing method according to a first embodiment of the present invention;
FIG. 2 is a flowchart of a focusing method according to a second embodiment of the present invention;
FIG. 3 is a flowchart of a focusing method according to a third embodiment of the present invention;
fig. 4 is a block diagram of a mobile terminal according to a fourth embodiment of the present invention;
fig. 5 is another configuration block diagram of a mobile terminal according to a fourth embodiment of the present invention;
fig. 6 is a block diagram of a mobile terminal according to a fifth embodiment of the present invention;
fig. 7 is a block diagram of a mobile terminal according to a sixth embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. 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 invention.
First embodiment
The first embodiment of the invention discloses a focusing method. The method is applied to the mobile terminal with the camera and the flexible screen. Fig. 1 is a flowchart of a focusing method according to a first embodiment of the present invention. The method specifically comprises the following steps:
step 101: and acquiring an image collected by the camera.
The camera can be a front camera or a rear camera. Because the camera can be used for taking pictures and shooting pictures, the images collected by the camera can be images in a picture taking mode and can also be images in a picture shooting mode.
Step 102: and determining a target object to be tracked and focused in the image.
The target object to be tracked and focused is generally an object, an animal or a person, which is moving, and the target object can be clicked on a screen to complete the selection.
Step 103: and tracking and focusing the target object.
For a moving target object, a clear image can be obtained all the time in a tracking focusing mode.
Wherein, the step 103 specifically comprises the following steps:
the first step is as follows: and tracking the target object.
Since the target object is generally in motion, the target object needs to be tracked.
The second step is that: the position of the target object is detected in real time.
The position of the moving target object is changing constantly, and in order to realize focusing, the position of the target object needs to be obtained.
The third step: and focusing the image area corresponding to the position of the target object in real time.
After the position of the target object is obtained, the focal length or the position of the lens of the camera can be adjusted in real time according to the position, so that a clear image of the target object can be obtained all the time.
Step 104: and detecting whether the target object has a trend of deviating from the preview interface in real time in the process of tracking focusing.
Specifically, whether the target object has a tendency to deviate from the preview interface may be determined by determining whether the target object is located beyond an area within a certain range from the center of the image or is located in an area within a certain range away from the center of the image.
Through the step, whether the flexible screen needs to be controlled to bend to adjust the direction of the camera is determined.
Step 105: and if the target object is detected to have a trend deviating from the preview interface, controlling the flexible screen to bend until the target object is located in a preset central area.
And the target object is positioned in the preset central area again by controlling the flexible screen to bend so as to adjust the direction of the camera. And in the process of controlling the flexible screen to bend, detecting the position of the target object in real time, and stopping the bending of the flexible screen when the target object is detected to be positioned in a preset central area. The preset central area may be an area within a certain range near the center of the image, and may be specifically set by a mobile terminal system or a mobile terminal user.
Preferably, after step 105, the method further comprises the steps of:
the image is generated as a photograph or video. The mobile terminal user can start to take pictures or take pictures to generate pictures or videos by clicking or pressing a picture taking or picture taking key. Through the steps, photos or videos can be generated.
To sum up, in the method according to the first embodiment of the present invention, after the camera acquires the image, the flexible screen can be automatically bent by utilizing the characteristic that the flexible screen is bendable, and when the target object has a tendency of deviating from the preview interface in the tracking and focusing process, the flexible screen can be adjusted in the direction of the camera, so that the target object is located in the preset central area, thereby avoiding the tracking and focusing failure caused by the target object exceeding the preview interface range, and avoiding missing some important captured scene pictures, so that the tracking and focusing are accurate and convenient, and the mobile terminal user does not need to manually move the mobile terminal to adjust the direction of the camera, and the mobile terminal can be always located at the same position.
Second embodiment
The second embodiment of the invention discloses a focusing method. The method is applied to the mobile terminal with the camera and the flexible screen. Fig. 2 is a flowchart of a focusing method according to a second embodiment of the present invention. The method specifically comprises the following steps:
step 201: and acquiring an image collected by the camera.
The camera can be a front camera or a rear camera. Because the camera can be used for taking pictures and shooting pictures, the images collected by the camera can be images in a picture taking mode and can also be images in a picture shooting mode.
Step 202: and determining a target object to be tracked and focused in the image.
The target object to be tracked and focused is generally an object, an animal or a person, which is moving, and the target object can be clicked on a screen to complete the selection.
Step 203: and tracking and focusing the target object.
For a moving target object, a clear image can be obtained all the time in a tracking focusing mode.
Step 204: in the process of tracking and focusing, whether the target object exceeds a first preset area is detected in real time.
The first preset area is an area close to a first preset range of the center of the image. The first preset range may be set by a mobile terminal system or a mobile terminal user. The first preset range may be a range within a certain distance from the center of the image.
Step 205: and if the target object is detected to exceed the first preset area, determining that the target object has a trend deviating from the preview interface.
The target object exceeding the first preset area generally means that any part of the target object exceeds the first preset area, and the target object is considered to exceed the first preset area. Since the first preset area is an area close to the center of the image and within a first preset range, and the target object is beyond the first preset area, the target object may be further away from the center of the image and beyond the range of the image, and therefore when the target object is beyond the first preset area, it is determined that the target object has a tendency of deviating from the preview interface.
Through this step, it can be determined whether the target object has a tendency to deviate from the preview interface.
Step 206: and if the target object is detected to have a trend deviating from the preview interface, acquiring the position of the target object in the image.
By acquiring the position of the target object in the image, the flexible screen can be bent according to the position so as to adjust the direction of the camera.
Step 207: based on the position, a target flexible screen area and a target bending direction in which the flexible screen is to be bent are determined.
By determining the target flexible screen area to be bent of the flexible screen and the target bending direction, the direction of the camera can be adjusted, so that the target object does not deviate from the preview interface.
Preferably, if the position is located in the first direction outside the preset central region, step 207 specifically includes the following steps:
the first step is as follows: determining an area of a fourth preset range of the first direction of the camera as a target flexible screen area, and determining a first bending direction corresponding to the first direction as a target bending direction.
For example, if the position is located on the left side outside the preset central area, determining an area of a fourth preset range on the left side of the camera as a target flexible screen area, and determining the first bending direction as bending toward a first surface of the flexible screen, where the first surface of the flexible screen is a surface of the flexible screen facing the mobile terminal user when the mobile terminal user previews the image. The fourth preset range is generally a flexible screen area near the camera, the whole flexible screen is not needed, and the range can be set by a mobile terminal system or a mobile terminal user.
For example, if the position is located at the lower side outside the preset central area, determining an area of a fourth preset range at the lower side of the camera as a target flexible screen area, and determining the first bending direction as bending toward the first surface of the flexible screen, where the first surface of the flexible screen is a surface of the flexible screen facing the mobile terminal user when the mobile terminal user previews the image. The fourth preset range is generally a flexible screen area near the camera, the whole flexible screen is not needed, and the range can be set by a mobile terminal system or a mobile terminal user.
Or, in the second step, determining an area of a fifth preset range of the second direction of the camera as a target flexible screen area, and determining a second bending direction corresponding to the second direction as a target bending direction.
Wherein the first direction is opposite to the second direction, and the first bending direction is opposite to the second bending direction.
For example, if the position is located on the left side outside the preset central area, determining an area of a fifth preset range on the right side of the camera as a target flexible screen area, and determining the second bending direction as bending toward the second surface of the flexible screen, where the second surface of the flexible screen is a surface of the flexible screen facing away from the mobile terminal user when the mobile terminal user previews the image. The fifth preset range is generally a flexible screen area near the camera, the whole flexible screen is not needed, and the range can be set by a mobile terminal system or a mobile terminal user.
For example, if the position is located at the lower side outside the preset central area, determining an area of a fifth preset range at the upper side of the camera as a target flexible screen area, and determining the second bending direction as bending towards the second surface of the flexible screen, where the second surface of the flexible screen is a surface of the flexible screen facing away from the mobile terminal user when the mobile terminal user previews the image. The fifth preset range is generally a flexible screen area near the camera, the whole flexible screen is not needed, and the range can be set by a mobile terminal system or a mobile terminal user.
It will be appreciated that the first and second steps described above are selected steps to bend in different directions depending on the target flexible screen area.
Step 208: and controlling the target flexible screen area to bend according to the target bending direction until the target object is positioned in the preset central area.
The preset central area is an area close to a third preset range of the center of the image. Specifically, if the third preset range is smaller, the preset central area is generally the central area of the image; if the third preset range is larger, the image is regarded as the preset central area as long as the image is not in the edge area.
In the step, the position of the target object is detected in real time in the process of controlling the flexible screen to bend, and when the target object is detected to be located in the preset central area, the flexible screen is stopped from bending. Through the step, the target flexible screen area can be bent to enable the target object to return to the preset central area again.
To sum up, in the focusing method according to the second embodiment of the present invention, after the camera acquires the image, by using the characteristic that the flexible screen is bendable, in the process of tracking and focusing, when the target object exceeds the first preset area, it is determined that the target object has a tendency of deviating from the preview interface, and the flexible screen is bent according to the target flexible screen area to be bent of the flexible screen and the target bending direction, which are determined according to the position of the target object in the image, so that the target object is located in the preset central area, thereby avoiding that the target object exceeds the preview interface range to cause the tracking and focusing failure, and not missing the acquisition of some important shooting scene pictures, so that the tracking and focusing are accurate and convenient, and the mobile terminal user does not need to manually move the mobile terminal to adjust the direction of the camera, and the mobile terminal can.
Third embodiment
The third embodiment of the invention discloses a focusing method. The method is applied to the mobile terminal with the camera and the flexible screen. Fig. 3 is a flowchart of a focusing method according to a third embodiment of the present invention. The method specifically comprises the following steps:
step 301: and acquiring an image collected by the camera.
The camera can be a front camera or a rear camera. Because the camera can be used for taking pictures and shooting pictures, the images collected by the camera can be images in a picture taking mode and can also be images in a picture shooting mode.
Step 302: and determining a target object to be tracked and focused in the image.
The target object to be tracked and focused is generally an object, an animal or a person, which is moving, and the target object can be clicked on a screen to complete the selection.
Step 303: and tracking and focusing the target object.
For a moving target object, a clear image can be obtained all the time in a tracking focusing mode.
Step 304: and detecting whether the target object is located in a second preset area in real time in the process of tracking and focusing.
The second preset area is an area far away from the center of the image in a second preset range. The second preset range may be set by a mobile terminal system or a mobile terminal user. The second preset range may be a range apart from the center of the image by a certain distance. For example, the second preset area is an edge of the image.
Step 305: and if the target object is detected to be located in the second preset area, determining that the trend of deviating from the preview interface exists in the detected target object.
Since the second preset area is an area far from the center of the image in the second preset range, when the target object is located in the second preset area, the target object is far from the center of the image and may be further far from the center of the image and exceed the range of the image, when the target object is located in the second preset area, it is determined that the target object has a tendency of deviating from the preview interface.
Through this step, it can be determined whether the target object has a tendency to deviate from the preview interface.
Step 306: and if the target object is detected to have a trend deviating from the preview interface, acquiring the position of the target object in the image.
By acquiring the position of the target object in the image, the flexible screen can be bent according to the position so as to adjust the direction of the camera.
Step 307: based on the position, a target flexible screen area and a target bending direction in which the flexible screen is to be bent are determined.
By determining the target flexible screen area to be bent of the flexible screen and the target bending direction, the direction of the camera can be adjusted, so that the target object does not deviate from the preview interface.
Preferably, step 307 may also adopt the specific step in step 207, which is not described herein again.
Step 308: and controlling the target flexible screen area to bend according to the target bending direction until the target object is positioned in the preset central area.
In the step, the position of the target object is detected in real time in the process of controlling the flexible screen to bend, and when the target object is detected to be located in the preset central area, the flexible screen is stopped from bending. The preset central area is an area close to a third preset range of the center of the image. Specifically, if the third preset range is smaller, the preset central area is generally the central area of the image; if the third preset range is larger, the image is regarded as the preset central area as long as the image is not in the edge area.
Through the step, the target flexible screen area can be bent to enable the target object to return to the preset central area again.
To sum up, in the focusing method according to the third embodiment of the present invention, after the camera acquires the image, by using the characteristic that the flexible screen is bendable, in the process of tracking and focusing, when the target object is located in the second preset area, it is determined that the target object has a tendency of deviating from the preview interface, and the flexible screen is bent according to the target flexible screen area to be bent of the flexible screen and the target bending direction, which are determined according to the position of the target object in the image, so that the target object is located in the preset central area, thereby avoiding that the target object exceeds the preview interface range to cause the tracking and focusing failure, and missing some important captured scene pictures, so that the tracking and focusing are accurate and convenient, and the mobile terminal can be always located at the same position without manually moving the mobile terminal to adjust the direction of the camera.
Fourth embodiment
The fourth embodiment of the invention discloses a mobile terminal, which can realize the details of the focusing method in the embodiments and achieve the same effect. The mobile terminal may be, but is not limited to, a mobile phone, a tablet computer, MP3/MP4, a smart watch, a smart bracelet, a Personal Digital Assistant (PDA), a car computer, and the like.
As shown in fig. 4, the mobile terminal 400 specifically includes the following structure: a flexible screen 401, a camera 402, an acquisition module 403, a determination module 404, a focusing module 405, a detection module 406, and a bending module 407.
The flexible screen 401 is a screen that is flexible and has good flexibility.
The camera 402 may be a front camera or a rear camera.
The obtaining module 403 is configured to obtain an image captured by the camera 402.
Since the camera 402 can be used for taking pictures and taking pictures, the image acquired by the acquisition module 403 through the camera 402 can be an image in a picture taking mode or an image in a picture taking mode.
The determining module 404 is configured to determine a target object to be tracked and focused in the image acquired by the acquiring module 403.
The target object to be tracked and focused is generally an object, an animal or a person, which is moving, and the target object can be clicked on a screen to complete the selection.
The focusing module 405 is used for tracking and focusing the target object determined by the determining module 404.
For a moving target object, the focusing module 405 can always obtain a clear image by tracking the focusing.
The detection module 406 is used for detecting whether the target object determined by the determination module 404 has a tendency to deviate from the preview interface in real time during the focusing process tracked by the focusing module 405.
Specifically, the detection module 406 may determine whether the target object has a tendency to deviate from the preview interface by determining whether the target object is beyond a certain range of the center of the image or is located in a certain range of the center of the image.
The bending module 407 is configured to, if the detection module 406 detects that the target object determined by the determination module 404 has a tendency of deviating from the preview interface, control the flexible screen 401 to bend until the target object determined by the determination module 404 is located in the preset central area.
The bending module 407 controls the flexible screen 401 to bend so as to adjust the direction of the camera 402, so that the target object is positioned in the preset central area again. The preset central area may be an area within a certain range near the center of the image, and may be specifically set by the mobile terminal 400 system or the mobile terminal 400 user.
Through the module design, after the camera 402 collects images, by utilizing the characteristic that the flexible screen 401 can bend, in the process of tracking and focusing, when a target object has a tendency of deviating from a preview interface, the flexible screen 401 can automatically bend, the direction of the camera 402 is adjusted, the target object is located in a preset central area, and the tracking and focusing failure caused by the fact that the target object exceeds the range of the preview interface is avoided.
As shown in fig. 5, the mobile terminal 400 preferably further includes the following modules:
a generating module 408, configured to, if the detecting module 406 detects that the target object determined by the determining module 404 has a tendency of deviating from the preview interface, control the flexible screen 401 to bend by the bending module 407 until the target object determined by the determining module 404 is located in the preset central area, and generate a photo or a video from the image acquired by the acquiring module 403.
Specifically, the user of the mobile terminal 400 may start to take a picture or take a video to generate a photo or a video by clicking or pressing a photo or camera key.
Photos or videos can be generated through the module design.
Preferably, the focusing module 405 includes:
the tracking sub-module 4051 is configured to track the target object determined by the determining module 404.
Since the target object is generally moving, the tracking sub-module 4051 is required to track the target object.
And a third detecting sub-module 4052, configured to detect the position of the target object determined by the determining module 404 in real time.
The position of the moving target object is changed continuously, and in order to achieve focusing, the position of the target object needs to be obtained through the third detection sub-module 4052.
The focusing sub-module 4053 is configured to focus the image area corresponding to the position of the target object detected by the third detecting sub-module 4052 in real time.
After the third detecting sub-module 4052 obtains the position of the target object, the focusing sub-module 4053 may adjust the focal length or the position of the lens of the camera 402 in real time according to the position, so as to obtain a clear image of the target object all the time.
Preferably, the detection module 406 includes:
the first detecting sub-module 4061 is configured to detect whether the target object determined by the determining module 404 exceeds the first preset area in real time during the process that the focusing module 405 tracks the focus.
The first preset area is an area close to a first preset range of the center of the image. The first preset range may be set by the mobile terminal 400 system or the mobile terminal 400 user. The first preset range may be a range within a certain distance from the center of the image.
The first determining sub-module 4062 is configured to determine that the target object determined by the determining module 404 has a tendency of deviating from the preview interface if the first detecting sub-module 4061 detects that the target object determined by the determining module 404 exceeds the first preset area.
The target object exceeding the first preset area generally means that any part of the target object exceeds the first preset area, and the target object is considered to exceed the first preset area. Since the first preset area is an area close to the center of the image and within the first preset range, and if the target object exceeds the first preset area, the target object may be further away from the center of the image and exceed the image range, when the target object exceeds the first preset area, the first determining sub-module 4062 determines that the target object has a tendency of deviating from the preview interface.
Through the module design, whether the target object has a tendency of deviating from the preview interface can be determined by judging whether the target object exceeds the first preset area.
Preferably, the detection module 406 includes:
the second detecting sub-module 4063 is configured to detect whether the target object determined by the determining module 404 is located in the second preset area in real time.
The second preset area is an area far away from the center of the image in a second preset range. The second preset range may be set by the mobile terminal 400 system or the mobile terminal 400 user. The second preset range may be a range within a certain distance away from the center of the image. For example, the second preset area is an edge of the image.
The second determining sub-module 4064 is configured to determine that the target object determined by the determining module 404 has a tendency of deviating from the preview interface if the second detecting sub-module 4063 detects that the target object determined by the determining module 404 is located in the second preset area.
Since the second preset area is an area away from the center of the image by a second preset range, and when the target object is located in the second preset area, the target object is further away from the center of the image and may be further away from the center of the image and exceed the range of the image, when the target object is located in the second preset area, the second determining sub-module 4064 determines that the target object has a tendency to deviate from the preview interface.
Through the module design, whether the target object has a tendency of deviating from the preview interface can be determined by judging whether the target object is located in the second preset area.
Preferably, the bending module 407 includes:
the first obtaining sub-module 4071 is configured to obtain a position of the target object determined by the determining module 404 in the image obtained by the obtaining module 403.
The position of the target object in the image is acquired by the first acquisition sub-module 4071, according to which the flexible screen 401 can be bent to adjust the orientation of the camera 402.
A third determining submodule 4072, configured to determine, based on the position acquired by the first acquiring submodule 4071, a target flexible screen 401 area to be bent of the flexible screen 401 and a target bending direction.
By determining the target flexible screen 401 area to be bent of the flexible screen 401 and the target bending direction through the third determination sub-module 4072, the direction of the camera 402 may be adjusted so that the target object does not deviate from the preview interface.
More preferably, the third determining sub-module 4072 includes:
the first determining unit 40721 is configured to determine, if the position acquired by the first acquiring sub-module 4071 is located in a first direction outside the preset central region, an area of a fourth preset range of the first direction of the camera 402 as the target flexible screen 401 area, and determine a first bending direction corresponding to the first direction as the target bending direction.
For example, if the position is located on the left side outside the preset central area, the first determination unit 40721 determines an area of a fourth preset range on the left side of the camera 402 as the target flexible screen 401 area, and determines the first bending direction as bending toward the first surface of the flexible screen 401, which is the surface of the flexible screen 401 facing the user of the mobile terminal 400 when the user of the mobile terminal 400 previews images. The fourth preset range is generally the area of the flexible screen 401 near the camera 402, and the entire flexible screen 401 is not required, and the range can be set by the mobile terminal 400 system or the mobile terminal 400 user.
The second determining unit 40722 is configured to determine, if the position acquired by the first acquiring sub-module 4071 is located in the first direction outside the preset central region, an area of a fifth preset range in the second direction of the camera 402 as the target flexible screen 401 area, and determine a second bending direction corresponding to the second direction as the target bending direction.
Wherein the first direction is opposite to the second direction, and the first bending direction is opposite to the second bending direction.
For example, if the position is located on the left side outside the preset central area, the second determining unit 40722 determines an area of a fifth preset range on the right side of the camera 402 as the target flexible screen 401 area, and determines the second bending direction as bending toward the second surface of the flexible screen 401, where the second surface of the flexible screen 401 is the surface of the flexible screen 401 facing away from the user of the mobile terminal 400 when the user of the mobile terminal 400 previews images. The fifth preset range is generally the area of the flexible screen 401 near the camera 402, and the entire flexible screen 401 is not required, and the range can be set by the mobile terminal 400 system or the mobile terminal 400 user.
It should be understood that the operations performed by the first and second determination units 40721 and 40722 are selection operations, and bending in different directions is performed according to the target flexible screen 401 area.
The bending sub-module 4073 is configured to control the region of the target flexible screen 401 determined by the third determining sub-module 4072 to bend according to the target bending direction until the target object determined by the determining module 404 is located in the preset central region.
The preset central area is an area close to a third preset range of the center of the image. Specifically, if the third preset range is smaller, the preset central area is generally the central area of the image; if the third preset range is larger, the image is regarded as the preset central area as long as the image is not in the edge area.
Through the module design, the target flexible screen 401 area can be bent to enable the target object to return to the preset central area.
To sum up, in the mobile terminal according to the fourth embodiment of the present invention, after the camera 402 acquires an image, by using the characteristic that the flexible screen 401 is bendable, in the process of tracking and focusing, when the target object exceeds the first preset area or is located in the second preset area, it is determined that the target object has a tendency of deviating from the preview interface, and the flexible screen 401 is bent according to the target flexible screen 401 area to be bent of the flexible screen 401 determined according to the position of the target object in the image and the target bending direction, so that the target object is located in the preset central area, thereby avoiding that the target object exceeds the preview interface range to cause tracking and focusing failure, avoiding missing some important captured scene pictures, and enabling the tracking and focusing to be accurate and convenient, and the mobile terminal 400 does not need to manually move the mobile terminal 400 to adjust the direction of the camera 402, and the mobile terminal 400 can be always located at the same position.
Fifth embodiment
Fig. 6 is a block diagram of a mobile terminal according to a fifth embodiment of the present invention. The mobile terminal 600 shown in fig. 6 includes: at least one processor 601, memory 602, at least one network interface 604, a user interface 603, and a camera 606. The various components in the mobile terminal 600 are coupled together by a bus system 605. It is understood that the bus system 605 is used to enable communications among the components. The bus system 605 includes a power bus, a control bus, and a status signal bus in addition to a data bus. For clarity of illustration, however, the various buses are labeled as bus system 605 in fig. 6.
The user interface 603 may comprise, among other things, a display, a keyboard or a pointing device such as a mouse, a trackball (trackball), a touch pad or a touch screen, etc. In this embodiment, the display is a flexible screen.
It will be appreciated that the memory 602 in embodiments of the invention may be either volatile memory or nonvolatile memory, or may include both volatile and nonvolatile memory. The non-volatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable PROM (EEPROM), or a flash Memory. Volatile Memory can be Random Access Memory (RAM), which acts as external cache Memory. By way of illustration, and not limitation, many forms of RAM are available, such as Static random access memory (Static RAM, SRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic random access memory (Synchronous DRAM, SDRAM), Double Data Rate Synchronous Dynamic Random Access Memory (DDRSDRAM), Enhanced Synchronous SDRAM (ESDRAM), Sync Link DRAM (SLDRAM), and direct memory bus RAM (DRRAM). The memory 602 of the subject systems and methods is intended to comprise, without being limited to, these and any other suitable types of memory.
In some embodiments, memory 602 stores the following elements, executable modules or data structures, or a subset thereof, or an expanded set thereof: an operating system 6021 and application programs 6022.
The operating system 6021 includes various system programs, such as a framework layer, a core library layer, a driver layer, and the like, and is used for implementing various basic services and processing hardware-based tasks. The application program 6022 includes various application programs such as a media player (MediaPlayer), a Browser (Browser), and the like, and is used to implement various application services. A program implementing the method of an embodiment of the invention can be included in the application program 6022.
In the embodiment of the present invention, the program or the instruction stored in the memory 602 may be called, and specifically, may be a program or an instruction stored in the application program 6022. The processor 601 is configured to: acquiring an image acquired by a camera 606; determining a target object to be tracked and focused in an image; tracking and focusing the target object; in the tracking focusing process, detecting whether a target object has a trend deviating from a preview interface in real time; and if the target object is detected to have a trend deviating from the preview interface, controlling the flexible screen to bend until the target object is located in a preset central area.
The method disclosed by the above-mentioned embodiment of the present invention can be applied to the processor 601, or implemented by the processor 601. The processor 601 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 601. The Processor 601 may be a general-purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf programmable Gate Array (FPGA) or other programmable logic device, discrete Gate or transistor logic device, or discrete hardware components. The various methods, steps and logic blocks disclosed in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present invention may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in the memory 602, and the processor 601 reads the information in the memory 602 and completes the steps of the method in combination with the hardware thereof.
It is to be understood that the embodiments described herein may be implemented in hardware, software, firmware, middleware, microcode, or any combination thereof. For a hardware implementation, the processing units may be implemented within 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), general purpose processors, controllers, micro-controllers, microprocessors, other electronic units configured to perform the functions described herein, or a combination thereof.
For a software implementation, the techniques described in this disclosure may be implemented with modules (e.g., procedures, functions, and so on) that perform the functions described in this disclosure. The software codes may be stored in memory 602 and executed by processors. The memory 602 may be implemented within the processor 601 or external to the processor 601.
Optionally, the processor 601 is configured to: in the step of detecting whether the target object has a trend deviating from the preview interface in real time, the processor 601 is specifically configured to: detecting whether a target object exceeds a first preset area in real time; if the target object is detected to exceed the first preset area, determining that the target object has a trend deviating from the preview interface; the first preset area is an area close to a first preset range of the center of the image.
Optionally, the processor 601 is configured to: in the step of detecting whether the target object has a trend deviating from the preview interface in real time, the processor 601 is specifically configured to: detecting whether the target object is located in a second preset area in real time; if the target object is detected to be located in the second preset area, determining that the trend of deviating from the preview interface exists in the detected target object; the second preset area is an area far away from the center of the image in a second preset range.
Optionally, the processor 601 is configured to: in the step of controlling the flexible screen to bend until the target object is located in the preset central area, the processor 601 is specifically configured to: acquiring the position of a target object in an image; determining a target flexible screen area to be bent of the flexible screen and a target bending direction based on the position; controlling the target flexible screen area to bend according to the target bending direction until the target object is located in the preset central area; the preset central area is an area close to a third preset range of the center of the image.
Optionally, the processor 601 is configured to: based on the position, in the step of determining a target flexible screen area to be bent and a target bending direction of the flexible screen, the processor 601 is specifically configured to: if the position is located in a first direction outside the preset central area, determining an area of a fourth preset range of the first direction of the camera 606 as a target flexible screen area, and determining a first bending direction corresponding to the first direction as a target bending direction; or determining an area of a fifth preset range of the second direction of the camera 606 as a target flexible screen area, and determining a second bending direction corresponding to the second direction as a target bending direction; wherein the first direction is opposite to the second direction, and the first bending direction is opposite to the second bending direction.
Optionally, the processor 601 is configured to: in the step of tracking and focusing the target object, the processor 601 is specifically configured to: tracking a target object; detecting the position of a target object in real time; and focusing the image area corresponding to the position of the target object in real time.
The mobile terminal 600 can implement each process implemented by the mobile terminal in the foregoing embodiments, and details are not repeated here to avoid repetition.
According to the mobile terminal 600 of the embodiment of the invention, after the camera 606 collects the image, by using the characteristic that the flexible screen can be bent, in the tracking focusing process, when the target object exceeds the first preset area or is located in the second preset area, the target object is determined to have a tendency deviating from the preview interface, the flexible screen is bent according to the target flexible screen area to be bent of the flexible screen and the target bending direction determined by the position of the target object in the image, so that the target object is located in the preset central area, the tracking focusing failure caused by the fact that the target object exceeds the preview interface range is avoided, the acquisition of important shooting scene pictures is not missed, the tracking focusing is accurate and convenient, the user of the mobile terminal 600 does not need to manually move the mobile terminal 600 to adjust the direction of the camera 606, and the mobile terminal 600 can be always located at the same position.
Sixth embodiment
Fig. 7 is a schematic structural diagram of a mobile terminal according to a sixth embodiment of the present invention. Specifically, the mobile terminal 700 in fig. 7 may be a mobile phone, a tablet computer, a Personal Digital Assistant (PDA), or a vehicle-mounted computer.
The mobile terminal 700 in fig. 7 includes a Radio Frequency (RF) circuit 710, a memory 720, an input unit 730, a display unit 740, a processor 760, an audio circuit 770, a wifi (wireless fidelity) module 780, a power supply 790 and a camera 750.
The input unit 730 may be used, among other things, to receive numeric or character information input by a user and to generate signal inputs related to user settings and function control of the mobile terminal 700. Specifically, in the embodiment of the present invention, the input unit 730 may include a touch panel 731. The touch panel 731, also referred to as a touch screen, can collect touch operations of a user (e.g. operations of the user on the touch panel 731 by using a finger, a stylus pen, or any other suitable object or accessory) thereon or nearby, and drive the corresponding connection device according to a preset program. Alternatively, the touch panel 731 may include two portions of a touch detection device 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 760, and can receive and execute commands sent from the processor 760. In addition, the touch panel 731 may be implemented by various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 731, the input unit 730 may include other input devices 732, and the other input devices 732 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.
Among them, the display unit 740 may be used to display information input by the user or information provided to the user and various menu interfaces of the mobile terminal 700. The display unit 740 may include a display panel 741, and optionally, the display panel 741 may be configured in the form of an LCD or an Organic Light-Emitting Diode (OLED).
It should be noted that the touch panel 731 can cover the display panel 741 to form a touch display screen, and when the touch display screen detects a touch operation on or near the touch display screen, the touch display screen is transmitted to the processor 760 to determine the type of the touch event, and then the processor 760 provides a corresponding visual output on the touch display screen according to the type of the touch event. In this embodiment, the touch display screen is a flexible screen.
The touch display screen comprises an application program interface display area and a common control display area. The arrangement modes of the application program interface display area and the common control display area are not limited, and can be an arrangement mode which can distinguish two display areas, such as vertical arrangement, left-right arrangement and the like. The application interface display area may be used to display an interface of an application. Each interface may contain at least one interface element such as an icon and/or widget desktop control for an application. The application interface display area may also be an empty interface that does not contain any content. The common control display area is used for displaying controls with high utilization rate, such as application icons like setting buttons, interface numbers, scroll bars, phone book icons and the like.
The processor 760 is a control center of the mobile terminal 700, connects various parts of the entire handset using various interfaces and lines, and performs various functions of the mobile terminal 700 and processes data by operating or executing software programs and/or modules stored in the first memory 721 and calling data stored in the second memory 722, thereby integrally monitoring the mobile terminal 700. Alternatively, processor 760 may include one or more processing units.
In an embodiment of the present invention, the processor 760 is configured to, by invoking software programs and/or modules stored in the first memory 721 and/or data stored in the second memory 722: acquiring an image acquired by the camera 750; determining a target object to be tracked and focused in an image; tracking and focusing the target object; in the tracking focusing process, detecting whether a target object has a trend deviating from a preview interface in real time; and if the target object is detected to have a trend deviating from the preview interface, controlling the flexible screen to bend until the target object is located in a preset central area.
Optionally, the processor 760 is configured to: in the step of detecting whether the target object has a trend deviating from the preview interface in real time, the processor 760 is specifically configured to: detecting whether a target object exceeds a first preset area in real time; if the target object is detected to exceed the first preset area, determining that the target object has a trend deviating from the preview interface; the first preset area is an area close to a first preset range of the center of the image.
Optionally, the processor 760 is configured to: in the step of detecting whether the target object has a trend deviating from the preview interface in real time, the processor 760 is specifically configured to: detecting whether the target object is located in a second preset area in real time; if the target object is detected to be located in the second preset area, determining that the trend of deviating from the preview interface exists in the detected target object; the second preset area is an area far away from the center of the image in a second preset range.
Optionally, the processor 760 is configured to: in the step of controlling the flexible screen to bend until the target object is located in the preset central area, the processor 760 is specifically configured to: acquiring the position of a target object in an image; determining a target flexible screen area to be bent of the flexible screen and a target bending direction based on the position; controlling the target flexible screen area to bend according to the target bending direction until the target object is located in the preset central area; the preset central area is an area close to a third preset range of the center of the image.
Optionally, the processor 760 is configured to: based on the position, in the step of determining a target flexible screen area to be bent and a target bending direction of the flexible screen, the processor 760 is specifically configured to: if the position is located in a first direction outside the preset central area, determining an area of a fourth preset range of the first direction of the camera 750 as a target flexible screen area, and determining a first bending direction corresponding to the first direction as a target bending direction; or determining an area of a fifth preset range in the second direction of the camera 750 as a target flexible screen area, and determining a second bending direction corresponding to the second direction as a target bending direction; wherein the first direction is opposite to the second direction, and the first bending direction is opposite to the second bending direction.
Optionally, the processor 760 is configured to: in the step of tracking and focusing the target object, the processor 760 is specifically configured to: tracking a target object; detecting the position of a target object in real time; and focusing the image area corresponding to the position of the target object in real time.
It can be seen that, after the mobile terminal 700 and the camera 750 acquire images, by using the characteristic that the flexible screen is bendable, in the process of tracking and focusing, when a target object exceeds a first preset area or is located in a second preset area, it is determined that the target object has a tendency of deviating from a preview interface, and the flexible screen is bent according to a target flexible screen area to be bent and a target bending direction of the flexible screen determined according to the position of the target object in the images, so that the target object is located in a preset central area, thereby avoiding that the target object exceeds the preview interface range to cause tracking and focusing failure, avoiding missing acquisition of some important shooting scene pictures, enabling tracking and focusing to be accurate and convenient, and the mobile terminal 700 does not need to manually move the mobile terminal 700 to adjust the direction of the camera 750, and the mobile terminal 700 can be always located in the same position.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a U disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
Claims (12)
1. A focusing method is applied to a mobile terminal with a camera and a flexible screen, and is characterized by comprising the following steps:
acquiring an image acquired by the camera;
determining a target object to be tracked and focused in the image;
tracking and focusing the target object;
detecting whether the target object has a trend deviating from a preview interface in real time in a tracking focusing process;
and if the target object is detected to have a trend deviating from the preview interface, controlling the flexible screen to bend until the target object is located in a preset central area.
2. The method of claim 1, wherein the step of detecting whether the target object has a tendency to deviate from a preview interface in real time comprises:
detecting whether the target object exceeds a first preset area in real time;
if the target object is detected to exceed the first preset area, determining that the target object has a trend deviating from a preview interface;
the first preset area is an area close to a first preset range of the center of the image.
3. The method of claim 1, wherein the step of detecting whether the target object has a tendency to deviate from a preview interface in real time comprises:
detecting whether the target object is located in the second preset area in real time;
if the target object is detected to be located in the second preset area, determining that the target object has a trend deviating from a preview interface;
the second preset area is an area far away from the center of the image in a second preset range.
4. The method of claim 1, wherein the step of controlling the flexible screen to bend until the target object is located in a preset central area comprises:
acquiring the position of the target object in the image;
determining a target flexible screen area to be bent of the flexible screen and a target bending direction based on the position;
controlling the target flexible screen area to bend according to the target bending direction until the target object is located in the preset central area;
and the preset central area is an area close to a third preset range of the center of the image.
5. The method of claim 4, wherein the step of determining a target flexible screen area and a target bending direction in which the flexible screen is to be bent based on the position comprises:
if the position is located in a first direction outside the preset central area, determining an area of a fourth preset range of the first direction of the camera as the target flexible screen area, and determining a first bending direction corresponding to the first direction as the target bending direction;
or determining an area of a fifth preset range of the second direction of the camera as the target flexible screen area, and determining a second bending direction corresponding to the second direction as the target bending direction;
wherein the first direction and the second direction are opposite, and the first bending direction and the second bending direction are opposite.
6. The method of claim 1, wherein the step of tracking the target object in focus comprises:
tracking the target object;
detecting the position of the target object in real time;
and focusing the image area corresponding to the position of the target object in real time.
7. The utility model provides a mobile terminal, includes camera and flexible screen, its characterized in that, mobile terminal still includes:
the acquisition module is used for acquiring the image acquired by the camera;
the determining module is used for determining a target object to be tracked and focused in the image acquired by the acquiring module;
the focusing module is used for tracking and focusing the target object determined by the determining module;
the detection module is used for detecting whether the target object determined by the determination module has a trend deviating from a preview interface in real time in the process of tracking and focusing by the focusing module;
and the bending module is used for controlling the flexible screen to bend until the target object determined by the determining module is located in a preset central area if the detecting module detects that the target object determined by the determining module has a tendency of deviating from a preview interface.
8. The mobile terminal of claim 7, wherein the detection module comprises:
the first detection submodule is used for detecting whether the target object determined by the determination module exceeds a first preset area in real time in the process of tracking and focusing by the focusing module;
the first determining sub-module is used for determining that the target object determined by the determining module has a trend deviating from a preview interface if the first detecting sub-module detects that the target object determined by the determining module exceeds the first preset area;
the first preset area is an area close to a first preset range of the center of the image.
9. The mobile terminal of claim 7, wherein the detection module comprises:
the second detection submodule is used for detecting whether the target object determined by the determination module is located in the second preset area in real time in the process of tracking and focusing by the focusing module;
the second determining sub-module is configured to determine that the target object determined by the determining module has a tendency of deviating from a preview interface if the second detecting sub-module detects that the target object determined by the determining module is located in the second preset area;
the second preset area is an area far away from the center of the image in a second preset range.
10. The mobile terminal of claim 7, wherein the bending module comprises:
a first obtaining sub-module, configured to obtain a position of the target object determined by the determining module in the image obtained by the obtaining module;
the third determining submodule is used for determining a target flexible screen area to be bent of the flexible screen and a target bending direction based on the position acquired by the first acquiring submodule;
the bending sub-module is used for controlling the target flexible screen area determined by the third determining sub-module to bend according to the target bending direction until the target object determined by the determining module is located in the preset central area;
and the preset central area is an area close to a third preset range of the center of the image.
11. The mobile terminal of claim 10, wherein the third determining submodule comprises:
a first determining unit, configured to determine, if the position acquired by the first acquisition sub-module is located in a first direction outside the preset central area, an area of a fourth preset range of the first direction of the camera as the target flexible screen area, and determine a first bending direction corresponding to the first direction as the target bending direction; or,
a second determining unit, configured to determine, if the position acquired by the first acquiring submodule is located in a first direction outside the preset central area, an area of a fifth preset range in a second direction of the camera as the target flexible screen area, and determine a second bending direction corresponding to the second direction as the target bending direction;
wherein the first direction and the second direction are opposite, and the first bending direction and the second bending direction are opposite.
12. The mobile terminal of claim 7, wherein the focusing module comprises:
the tracking sub-module is used for tracking the target object determined by the determining module;
the third detection submodule is used for detecting the position of the target object determined by the determination module in real time;
and the focusing sub-module is used for focusing the image area corresponding to the position of the target object detected by the third detection sub-module in real time.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611079799.3A CN106713747A (en) | 2016-11-29 | 2016-11-29 | Focusing method and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611079799.3A CN106713747A (en) | 2016-11-29 | 2016-11-29 | Focusing method and mobile terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106713747A true CN106713747A (en) | 2017-05-24 |
Family
ID=58935315
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611079799.3A Pending CN106713747A (en) | 2016-11-29 | 2016-11-29 | Focusing method and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106713747A (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107835369A (en) * | 2017-11-27 | 2018-03-23 | 努比亚技术有限公司 | Camera control method, mobile terminal and computer-readable recording medium |
CN108024013A (en) * | 2017-11-28 | 2018-05-11 | 努比亚技术有限公司 | Screen control method, terminal and computer-readable recording medium |
CN108052159A (en) * | 2017-11-30 | 2018-05-18 | 努比亚技术有限公司 | Control method, mobile terminal and the computer readable storage medium of display screen |
CN111064896A (en) * | 2019-12-31 | 2020-04-24 | 维沃移动通信有限公司 | Device control method and electronic device |
CN111225157A (en) * | 2020-03-03 | 2020-06-02 | Oppo广东移动通信有限公司 | Focus tracking method and related equipment |
CN112130699A (en) * | 2020-09-30 | 2020-12-25 | 联想(北京)有限公司 | Electronic device and information processing method |
CN115082516A (en) * | 2021-03-15 | 2022-09-20 | 北京字跳网络技术有限公司 | Target tracking method, device, equipment and medium |
CN115734067A (en) * | 2021-08-26 | 2023-03-03 | Oppo广东移动通信有限公司 | Device control method, device, storage medium and electronic device |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070247422A1 (en) * | 2006-03-30 | 2007-10-25 | Xuuk, Inc. | Interaction techniques for flexible displays |
CN104969480A (en) * | 2013-02-01 | 2015-10-07 | Lg电子株式会社 | Mobile/portable terminal |
CN106027862A (en) * | 2016-05-23 | 2016-10-12 | 青岛海信移动通信技术股份有限公司 | Focus adjustment method and device, and terminal |
-
2016
- 2016-11-29 CN CN201611079799.3A patent/CN106713747A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070247422A1 (en) * | 2006-03-30 | 2007-10-25 | Xuuk, Inc. | Interaction techniques for flexible displays |
CN104969480A (en) * | 2013-02-01 | 2015-10-07 | Lg电子株式会社 | Mobile/portable terminal |
CN106027862A (en) * | 2016-05-23 | 2016-10-12 | 青岛海信移动通信技术股份有限公司 | Focus adjustment method and device, and terminal |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107835369A (en) * | 2017-11-27 | 2018-03-23 | 努比亚技术有限公司 | Camera control method, mobile terminal and computer-readable recording medium |
CN108024013A (en) * | 2017-11-28 | 2018-05-11 | 努比亚技术有限公司 | Screen control method, terminal and computer-readable recording medium |
CN108052159A (en) * | 2017-11-30 | 2018-05-18 | 努比亚技术有限公司 | Control method, mobile terminal and the computer readable storage medium of display screen |
CN111064896A (en) * | 2019-12-31 | 2020-04-24 | 维沃移动通信有限公司 | Device control method and electronic device |
CN111225157A (en) * | 2020-03-03 | 2020-06-02 | Oppo广东移动通信有限公司 | Focus tracking method and related equipment |
CN112130699A (en) * | 2020-09-30 | 2020-12-25 | 联想(北京)有限公司 | Electronic device and information processing method |
CN112130699B (en) * | 2020-09-30 | 2022-08-19 | 联想(北京)有限公司 | Electronic device and information processing method |
CN115082516A (en) * | 2021-03-15 | 2022-09-20 | 北京字跳网络技术有限公司 | Target tracking method, device, equipment and medium |
CN115734067A (en) * | 2021-08-26 | 2023-03-03 | Oppo广东移动通信有限公司 | Device control method, device, storage medium and electronic device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105959553B (en) | A kind of switching method and terminal of camera | |
CN106713747A (en) | Focusing method and mobile terminal | |
CN105827952B (en) | A kind of photographic method and mobile terminal removing specified object | |
CN106406710B (en) | Screen recording method and mobile terminal | |
US10038844B2 (en) | User interface for wide angle photography | |
US9360965B2 (en) | Combined touch input and offset non-touch gesture | |
WO2019001152A1 (en) | Photographing method and mobile terminal | |
CN106791437B (en) | Panoramic image shooting method and mobile terminal | |
CN106331484B (en) | Focusing method and mobile terminal | |
CN106454086B (en) | Image processing method and mobile terminal | |
CN106060422B (en) | A kind of image exposure method and mobile terminal | |
CN106162150B (en) | A kind of photographic method and mobile terminal | |
CN106250021B (en) | Photographing control method and mobile terminal | |
CN106648382B (en) | A kind of picture browsing method and mobile terminal | |
EP2887648B1 (en) | Method of performing previewing and electronic device for implementing the same | |
CN107172347B (en) | Photographing method and terminal | |
CN106168894B (en) | Content display method and mobile terminal | |
CN112887618B (en) | Video shooting method and device | |
CN107483821B (en) | Image processing method and mobile terminal | |
CN106506958B (en) | Method for shooting by adopting mobile terminal and mobile terminal | |
CN107360375B (en) | Shooting method and mobile terminal | |
CN107346332A (en) | A kind of image processing method and mobile terminal | |
CN106940597A (en) | A kind of camera starts control method and mobile terminal | |
CN106791422A (en) | A kind of image processing method and mobile terminal | |
CN106713742B (en) | Shooting method and mobile terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170524 |