CN108322652A - A kind of focusing reminding method and terminal - Google Patents

A kind of focusing reminding method and terminal Download PDF

Info

Publication number
CN108322652A
CN108322652A CN201810151851.4A CN201810151851A CN108322652A CN 108322652 A CN108322652 A CN 108322652A CN 201810151851 A CN201810151851 A CN 201810151851A CN 108322652 A CN108322652 A CN 108322652A
Authority
CN
China
Prior art keywords
focusing
animation
focus
specified
displaying
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810151851.4A
Other languages
Chinese (zh)
Inventor
李小朋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201810151851.4A priority Critical patent/CN108322652A/en
Publication of CN108322652A publication Critical patent/CN108322652A/en
Pending legal-status Critical Current

Links

Abstract

The embodiment of the invention discloses a kind of focusing reminding method and terminal, wherein method includes:Reception is taken pictures to focus and be instructed, and starts camera and starts to focus;In focus process, preset focusing animation is shown in preview interface taking pictures;When determining that focus process is completed, terminate the displaying of the focusing animation.It can prevent user that focusing is repeated under single photographed scene, to save terminal electric power resource by showing that animation prompts user's camera that focusing is completed using the present invention.

Description

A kind of focusing reminding method and terminal
Technical field
The present invention relates to photograph taking technical field more particularly to a kind of focusing reminding method and terminals.
Background technology
With the continuous development of the communication technology, the integrated function of mobile terminal is increasingly abundant, and what wherein terminal provided takes pictures Function so that user do not have to it is additional carry camera, can also record whenever and wherever possible and share the animation and beautiful at one's side of oneself Scenery, it is deep to be liked by users.
In the prior art, past when especially shooting includes the photo of facial image using mobile terminal when being taken pictures Toward firstly the need of focusing, focusing display process can be divided into three kinds of states of failure of focusing, focus successfully and focusing, usually right The focus frame of focusing area is shown as white during coke, and the focus frame is shown in green after focusing successfully, if failure of focusing The focus frame is shown in red.In practical application scene, in the case where photographed scene is single, scenery details is less, such as Photograph subject be one block up white wall, terminal according to be contrast formula auto-focusing, at this time be difficult focus successfully, then always occur The red focus frame of focusing failure, causes to puzzle, user is allowed to be mistaken for the performance deficiency of terminal, be the focusing of terminal to user Functional failure, and every time after focusing failure, user also needs to re-start focusing, wastes terminal electric power resource.
Invention content
An embodiment of the present invention provides a kind of focusing reminding method and terminals, can be by showing that animation prompts user's camera Focusing is completed, prevents user that focusing is repeated under single photographed scene, to save terminal electric power resource.
An embodiment of the present invention provides a kind of focusing reminding method, the method includes:
Reception is taken pictures to focus and be instructed, and starts camera and starts to focus;
In focus process, preset focusing animation is shown in preview interface taking pictures;
When determining that focus process is completed, terminate the displaying of the focusing animation.
Correspondingly, an embodiment of the present invention provides a kind of terminal, the terminal includes:
Camera control unit starts camera and starts to focus for receiving focusing instruction of taking pictures;
Animated show unit, in focus process, preset focusing animation to be shown in preview interface taking pictures;
It showing end unit, when for determining that focus process is completed, terminating the displaying of the focusing animation.
Correspondingly, the embodiment of the present invention additionally provides a kind of computer readable storage medium, the computer-readable storage Media storage has program instruction, described program to instruct for executing focusing reminding method above-mentioned after being called for computer.
The embodiment of the present invention starts camera and starts to focus when focusing instruction is taken pictures in reception;And then in focus process In, preset focusing animation is shown in preview interface taking pictures;Finally when determining that focus process is completed, it is dynamic to terminate the focusing The displaying of picture, can by show animation prompt user's camera focusing be completed, prevent user under single photographed scene repeatedly It focuses, to save terminal electric power resource.
Description of the drawings
Technical solution in order to illustrate the embodiments of the present invention more clearly, below will be to needed in embodiment description Attached drawing is briefly described, it should be apparent that, drawings in the following description are some embodiments of the invention, general for this field For logical technical staff, without creative efforts, other drawings may also be obtained based on these drawings.
Fig. 1 is a kind of focusing reminding method flow diagram provided in an embodiment of the present invention;
Fig. 2 is another focusing reminding method flow diagram provided in an embodiment of the present invention;
Fig. 3 is another focusing reminding method flow diagram provided in an embodiment of the present invention;
Fig. 4 is a kind of terminal structure schematic diagram provided in an embodiment of the present invention;
Fig. 5 is animated show cellular construction schematic diagram provided in an embodiment of the present invention;
Fig. 6 is focusing animated show effect diagram provided in an embodiment of the present invention.
Specific implementation mode
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation describes, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts Example, shall fall within the protection scope of the present invention.
In the specific implementation, the terminal mentioned in the embodiment of the present invention includes but not limited to:Smart mobile phone (such as Android Mobile phone, IOS mobile phones), tablet computer, laptop, palm PC, the electronic equipments such as wearable intelligent equipment.
A kind of focusing reminding method provided in an embodiment of the present invention and terminal are carried out below in conjunction with Fig. 1 to Fig. 6 specific Description.
It is a kind of focusing reminding method flow diagram provided in an embodiment of the present invention, focusing as shown in the figure referring to Fig. 1 Reminding method may include following steps:
S101, reception are taken pictures to focus and be instructed, and start camera and start to focus.
In the specific implementation, when user is intended to take pictures, the application of taking pictures in opening a terminal first, at this time terminal startup is taken the photograph As head, and preview interface of taking pictures is shown on a display screen, at this point, terminal receives when taking pictures focusing instruction, start camera and open Begin to focus.The focusing instruction of taking pictures can be system automatic trigger can also when user's input unit (physics for passing through terminal Keyboard or touch screen) input.Such as terminal provides face snap function, terminal identifies in preview interface of taking pictures first at this time Human face region, then automatic trigger take pictures focusing instruction, start camera focus for the human face region.In another example Into after preview interface of taking pictures, occurs a focus frame in terminal, user clicks the region to be focused in preview interface of taking pictures, should Focus frame is moved to the region to be focused of user, and is considered as input and takes pictures focusing instruction, and terminal starts camera to be focused It focuses in region.
In focus process, preset focusing animation is shown taking pictures by S102 in preview interface.
In the specific implementation, can prestore multiple focusing animations in terminal, and be supplied to user setting option, user can according to from My wish selects the focusing animation of preference in setting options.After starting camera and starting focusing, terminal obtains preset Focusing animation, is shown in taking pictures preview interface, and user terminal is prompted to focus.If focusing animation completely plays primary Between be less than focus process used in time, the focusing animation can be repeated playing in focus process.
S103 when determining that focus process is completed, terminates the displaying of the focusing animation.
If in the specific implementation, using active auto-focusing, terminal is according to the object distance with focusing area, dollying head Eyeglass position to adjust the image distance of focusing area, after the image distance of focusing area is matched with object distance, just think to focus successfully, Determine that focus process is completed at this time;It focuses according to passive type, such as the focusing of contrast formula, when terminal adjusts the eyeglass of camera Position find make focusing area most clearly image distance when, just determination complete focus process.When terminal determines that focus process is completed, Just taking pictures for next step can be carried out to prompt the focus process of user terminal to be completed by terminating the displaying of focusing animation.
The embodiment of the present invention starts camera and starts to focus when focusing instruction is taken pictures in reception;And then in focus process In, preset focusing animation is shown in preview interface taking pictures;Finally when determining that focus process is completed, it is dynamic to terminate the focusing The displaying of picture, can by show animation prompt user's camera focusing be completed, prevent user under single photographed scene repeatedly It focuses, to save terminal electric power resource.
It is another focusing reminding method flow diagram provided in an embodiment of the present invention, pair as shown in the figure referring to Fig. 2 Burnt reminding method may include following steps:
S201, reception are taken pictures to focus and be instructed, and start camera and start to focus.
In the specific implementation, when user is intended to take pictures, the application of taking pictures in opening a terminal first, at this time terminal startup is taken the photograph As head, and preview interface of taking pictures is shown on a display screen, at this point, terminal receives when taking pictures focusing instruction, start camera and open Begin to focus.The focusing instruction of taking pictures can be system automatic trigger can also when user's input unit (physics for passing through terminal Keyboard or touch screen) input.Such as terminal provides face snap function, terminal identifies in preview interface of taking pictures first at this time Human face region, then automatic trigger take pictures focusing instruction, start camera focus for the human face region.In another example Into after preview interface of taking pictures, occurs a focus frame in terminal, user clicks the region to be focused in preview interface of taking pictures, should Focus frame is moved to the region to be focused of user, and is considered as input and takes pictures focusing instruction, and terminal starts camera to be focused It focuses in region.
S202 obtains specified focusing area, and focus frame is shown in the specified focusing area.
In the specific implementation, specified focusing area can be that terminal system is pre-set, can also be user according to It needs to set.For example, terminal provides face snap function, terminal identifies the face area in preview interface of taking pictures first at this time Domain, and include on human face region then the human face region being automatically set as to specified focusing area by focus frame.Example again Such as, into after preview interface of taking pictures, occurring a focus frame in terminal, user clicks the region to be focused in preview interface, should Focus frame is moved to the region to be focused of user, and the region in the focus frame is the focusing area that user specifies.
S203 obtains the displaying animation of the preset focus frame.
In the specific implementation, can prestore multiple displaying animations about focus frame in terminal, and it is supplied to user setting option, User can select the displaying animation of the focus frame of preference according to self wish in setting options, start to focus starting camera Later, terminal obtains the displaying animation of preset focus frame.For example, as shown in fig. 6, Fig. 6 is provided in an embodiment of the present invention right Burnt animated show effect diagram was being focused in the focusing animated show effect diagram using about focus frame Displaying animation in journey, the exhibition method of the focus frame from large to small is generated with zooming effect in specified focusing area Focus frame brings visual focusing to experience to people.
S204 in focus process, plays the displaying animation of the focus frame in the specified focusing area.
In the specific implementation, during terminal is focused, the displaying of focus frame is played in specified focusing area Animation, to prompt user terminal focusing.If focusing animation completely plays the primary time less than used in focus process Time can repeat playing the focusing animation in focus process.
S205 when determining that focus process is completed, terminates the broadcasting of the displaying animation of the focus frame.
If in the specific implementation, using active auto-focusing, terminal is according to the object distance with focusing area, dollying head Eyeglass position to adjust the image distance of focusing area, after the image distance of focusing area is matched with object distance, just think to focus successfully, Determine that focus process is completed at this time;According to passive type focusing, such as contrast formula focusing, when terminal adjust camera eyeglass Position find make focusing area most clearly image distance when, just determination complete focus process.Terminal determines that focus process is completed When, just terminating the broadcasting of the displaying animation of focus frame can be carried out in next step with prompting the focus process of user terminal to be completed Take pictures.
The embodiment of the present invention can start camera and start to focus when focusing instruction is taken pictures in reception;In pair that user specifies Focus frame is shown on burnt region, and obtains the displaying animation of the preset focus frame, in focus process, described specified Focusing area plays the displaying animation of the focus frame;Can also be in focus process, finding makes the specified focusing area Contrast maximum when, the image distance of the specified focusing area, so that it is determined that the focus process is completed, it is described right to terminate The broadcasting of the displaying animation of burnt frame can prevent user in single bat by showing that animation prompts user's camera that focusing is completed It takes the photograph under scene and focusing is repeated, to save terminal electric power resource.
It is another focusing reminding method flow diagram provided in an embodiment of the present invention, pair as shown in the figure referring to Fig. 3 Burnt reminding method may include following steps:
S301, reception are taken pictures to focus and be instructed, and start camera and start to focus.
In the specific implementation, when user is intended to take pictures, the application of taking pictures in opening a terminal first, at this time terminal startup is taken the photograph As head, and preview interface of taking pictures is shown on a display screen, at this point, terminal receives when taking pictures focusing instruction, start camera and open Begin to focus.The focusing instruction of taking pictures can be system automatic trigger can also when user's input unit (physics for passing through terminal Keyboard or touch screen) input.Such as terminal provides face snap function, terminal identifies in preview interface of taking pictures first at this time Human face region, then automatic trigger take pictures focusing instruction, start camera focus for the human face region.In another example Into after preview interface of taking pictures, occurs a focus frame in terminal, user clicks the region to be focused in preview interface of taking pictures, should Focus frame is moved to the region to be focused of user, and is considered as input and takes pictures focusing instruction, and terminal starts camera to be focused It focuses in region.
In focus process, preset focusing animation is shown taking pictures by S302 in preview interface.
In the specific implementation, can prestore multiple focusing animations in terminal, and be supplied to user setting option, user can according to from My wish selects the focusing animation of preference in setting options, and after starting camera and starting focusing, terminal obtains preset Focusing animation, is shown in taking pictures preview interface, and user terminal is prompted to focus.If focusing animation completely plays primary Between be less than focus process used in time, the focusing animation can be repeated playing in focus process.
S303, in focus process, when finding the contrast maximum for making specified focusing area, the specified focusing The reference image in region is away from determining that the focus process is completed.
In the specific implementation, when using contrast formula auto-focusing, the eyeglass of camera can constantly move specified constantly to change Focusing area image distance, to change the clarity of specified focusing area, (clear is blocked, light fills under normal conditions In the case of foot), when image distance meets:When 1/f=1/u+1/v (lens imaging formula), when the imaging of specified focusing area most Clearly, wherein real focal length when f is a certain enlargement ratio, u are object distance of the camera to specified focusing area, and v is to refer to The image distance of fixed focusing area.
In this step, the clarity of specified focusing area is represented by its contrast, and the eyeglass of camera is moving When lookup makes the contrast maximum of specified focusing area during dynamic, the image distance of the specified focusing area, which is used as, refers to picture Away from just thinking that focus process is completed, whether successfully also need to execute step S304 in order to further determine focusing.
S304, judges whether the focusing evaluation of estimate of the specified focusing area is more than or equal to predetermined threshold value.
In the specific implementation, the image distance that focusing evaluation of estimate specifically refers to specified focusing area is described in step S303 Reference image away from when, the contrast of the specified focusing area.When evaluation of estimate of focusing is more than or equal to predetermined threshold value, illustrate Clarity of the reference image away from upper specified focusing area is relatively high, and focusing is successful, executes step S307.When focusing is commented Value be less than predetermined threshold value when, illustrate clarity of the reference image away from upper specified focusing area be it is relatively low (typically because It is single and can lack caused by recognizable details for the scenery color at focusing area), focusing is failure, executes step at this time Rapid S305, the image distance used of being taken pictures using last time are taken pictures the image distance used as this.
S305, by the image distance of the specified focusing area be adjusted to camera last time focus when used picture Away from.
In the specific implementation, the scenery color at focusing area is single and when can lack recognizable details, using such as anti- The mode of differential auto-focusing is focused, and is generally difficult to that focusing is successful, at this time previous existence take pictures the image distance used as this bat According to the image distance used.
S306, judges whether the focusing animation completes primary complete broadcasting.
In the specific implementation, the reproduction time of focusing animation can be configured, such as when focusing animation completely plays once Time be less than focus process used in time when, the continuous loop play of focusing animation can be made, until focus process complete, with Prompt user terminal has started to focus and when focus to have terminated.Only complete broadcasting one also can be in advance set in focus process Secondary focusing animation, therefore when detecting that in focus process, focusing animation completely plays one time, the exhibition for the animation that just terminates to focus Show.
In addition to this, in order to allow user to feel that focus process is than faster and do not influence normally to make after focusing again With camera function, the broadcasting speed for the animation that can accelerate to focus so that the time that focusing animation completely plays first use is less than pair The time of burnt process, such as usual focus process need to spend 600ms, then once can need original complete play to spend 1000ms The broadcasting speed of focusing animation accelerate, be allowed to completely to play once that only to need 400ms, 200ms be written in water for users , therefore operation in next step will not be carried out to user and had an impact, and so that user is felt that focusing time shortens on sense organ.
S307 terminates the displaying of the focusing animation.
The embodiment of the present invention can show preset focusing animation in focus process taking pictures in preview interface;It can also be In focus process, when finding the contrast maximum for making specified focusing area, the reference image of the specified focusing area away from, Determine that the focus process is completed;And then judge whether the focusing evaluation of estimate of the specified focusing area is more than or equal to Predetermined threshold value, when judging result is to be, the displaying for terminating the focusing animation will be described specified if judging result is no The image distance of focusing area used image distance and then terminates the focusing animation when being adjusted to camera last time focusing Displaying;In addition to this, in focus process, it also can determine whether the focusing animation completes primary complete broadcasting, when judgement is tied Fruit is when being, the displaying for terminating the focusing animation continues to show the focusing animation when judging result is no.It can pass through Focusing is completed in displaying animation prompt user's camera, prevents user that focusing is repeated under single photographed scene, to save About terminal electric power resource.
Referring to Fig. 4, a kind of terminal structure schematic diagram provided in an embodiment of the present invention, terminal as shown in the figure can at least wrap It includes:Camera control unit 401, animated show unit 402 and displaying end unit 403.
Camera control unit 401 starts camera and starts to focus for receiving focusing instruction of taking pictures.
In the specific implementation, when user is intended to take pictures, the application of taking pictures in opening a terminal first, at this time terminal startup is taken the photograph As head, and display is taken pictures preview interface on a display screen, at this point, the camera control unit 401 in terminal is received and taken pictures pair When coke instruction, starts camera and start to focus.The focusing instruction of taking pictures can be system automatic trigger can also when user it is logical Cross input unit (the physical keyboard or touch screen) input of terminal.Such as terminal provides face snap function, at this time terminal The human face region in preview interface of taking pictures is identified first, and then automatic trigger is taken pictures to focus and be instructed, and starts camera and is directed to the people It focuses in face region.In another example into after preview interface of taking pictures, occur a focus frame in terminal, user click take pictures it is pre- Look at the region to be focused in interface, which is moved to the region to be focused of user, and is considered as input and takes pictures focusing instruction, takes the photograph It focuses to the region to be focused as head control unit 401 starts camera.
Animated show unit 402, in focus process, preset focusing animation to be shown in preview interface taking pictures.
In the specific implementation, can prestore multiple focusing animations in terminal, and be supplied to user setting option, user can according to from My wish selects the focusing animation of preference in setting options, after starting camera and starting focusing, animated show unit 402 Preset focusing animation is obtained, is shown in taking pictures preview interface, user terminal is prompted to focus.If focusing animation is completely broadcast The primary time is put less than the time used in focus process, the focusing animation can be repeated playing in focus process.
Further, it is animated show cellular construction schematic diagram provided in an embodiment of the present invention referring to Fig. 5, Fig. 5, as schemed institute Animated show unit 402 in the present embodiment shown may include:Focus frame shows that subelement 4201, animation obtain subelement 4202 and animation play subelement 4203.
Focus frame shows subelement 4201, for obtaining specified focusing area, in the specified focusing area displaying Focus frame.
In the specific implementation, specified focusing area can be that terminal system is pre-set, can also be user according to It needs to set.For example, terminal provides face snap function, terminal identifies the face area in preview interface of taking pictures first at this time Focus frame is included on human face region then the human face region being automatically set as to specified focusing area by domain.In another example Into after preview interface of taking pictures, occurs a focus frame in terminal, user clicks the region to be focused in preview interface of taking pictures, should Focus frame is moved to the region to be focused of user, and the region in the focus frame is the focusing area that user specifies.
Animation obtains subelement 4202, the displaying animation for obtaining the preset focus frame.
In the specific implementation, can prestore multiple displaying animations about focus frame in terminal, and it is supplied to user setting option, User can select the displaying animation of the focus frame of preference according to self wish in setting options, start to focus starting camera Later, animation obtains the displaying animation that subelement 4202 obtains preset focus frame.Such as shown in fig. 6, Fig. 6 is of the invention real The focusing animated show effect diagram that example offer is provided, in the focusing animated show effect diagram, using about right Displaying animation of the burnt frame in focus process, the exhibition method of the focus frame from large to small generates tool in specified focusing area The focus frame for having zooming effect brings visual focusing to experience to people.
Animation play subelement 4203, in focus process, the focusing to be played in the specified focusing area The displaying animation of frame.
In the specific implementation, during terminal is focused, the displaying of focus frame is played in specified focusing area Animation, to prompt user terminal focusing.If focusing animation completely play the primary time less than used in focus process when Between, the focusing animation can be repeated playing in focus process.
It showing end unit 403, when for determining that focus process is completed, terminating the displaying of the focusing animation.
If in the specific implementation, using active auto-focusing, terminal is according to the object distance with focusing area, dollying head Eyeglass position to adjust the image distance of focusing area, after the image distance of focusing area is matched with object distance, just think to focus successfully, Determine that focus process is completed at this time;According to passive type focusing, such as contrast formula focusing, when terminal adjust camera eyeglass Position find make focusing area most clearly image distance when, just determination complete focus process.Terminal determines that focus process is completed When, taking pictures for next step can be carried out to prompt the focus process of user terminal to be completed by just terminating the displaying of focusing animation.
In another alternative embodiment, the displaying end unit 403 can be specifically used for:In focus process, find When making the contrast maximum of specified focusing area, the reference image of the specified focusing area is away from determining the focus process It is completed.
In the specific implementation, when using contrast formula auto-focusing, the eyeglass of camera can constantly move specified constantly to change Focusing area image distance, to change the clarity of specified focusing area, (clear is blocked, light fills under normal conditions In the case of foot), when image distance meets:When 1/f=1/u+1/v (lens imaging formula), when the imaging of specified focusing area most Clearly, wherein real focal length when f is a certain enlargement ratio, u are object distance of the camera to specified focusing area, and v is to refer to The image distance of fixed focusing area.
The clarity of specified focusing area is represented by its contrast, and the eyeglass of camera is searched in moving process When making the contrast maximum of specified focusing area, the image distance of the specified focusing area, which is used as, refers to image distance, and displaying terminates Unit 403 just thinks that focus process is completed.
In a further alternative embodiment, the terminal further includes:Definition judgment unit 404, it is described specified for judging Focusing area focusing evaluation of estimate whether be more than or equal to predetermined threshold value, the focusing evaluation of estimate be the specified focusing The image distance in region be reference image away from when the specified focusing area contrast.
The displaying end unit 403 is additionally operable to, when the judging result of the definition judgment subelement is to be, terminate The displaying of the focusing animation.
Image distance adjustment unit 405, for when the judging result of the definition judgment subelement is no, described will specify The image distance of focusing area be adjusted to used image distance when camera last time focusing.
In the specific implementation, focusing evaluation of estimate specifically refer to specified focusing area image distance be in reference image away from when, should The contrast of specified focusing area.When evaluation of estimate of focusing is more than or equal to predetermined threshold value, illustrate in reference image away from upper finger The clarity of fixed focusing area is relatively high, and focusing is successful, shows that end unit 403 terminates focusing animation at this time Displaying.When evaluation of estimate of focusing is less than predetermined threshold value, illustrate that in clarity of the reference image away from upper specified focusing area be to compare Low (it is usually because the scenery color at focusing area is single and can lack caused by recognizable details), focusing is failure , used picture when the image distance of specified focusing area is adjusted to the focusing of camera last time by image distance adjustment unit 405 at this time Away from then displaying end unit 403 terminates the displaying of focusing animation.
In a further alternative embodiment, the terminal further includes:Judging unit 406 is played, for judging that the focusing is dynamic Whether picture completes primary complete broadcasting;
The displaying end unit 403, it is when being to be additionally operable to the judging result for playing judging unit, and it is described right to terminate The displaying of burnt animation.
In the specific implementation, the reproduction time of focusing animation can be configured, such as when focusing animation completely plays once Time be less than focus process used in time when, the continuous loop play of focusing animation can be made, until focus process complete, with Prompt user terminal has started to focus and when focus to have terminated.Only complete broadcasting one also can be in advance set in focus process Secondary focusing animation, therefore when detecting that in focus process, focusing animation completely plays one time, the exhibition for the animation that just terminates to focus Show.
In a further alternative embodiment, the terminal further includes:Time setting unit 407, it is dynamic for the focusing to be arranged The time once completely played is painted into less than the preset reference time for completing once to focus.
In the specific implementation, in order to allow user to feel that focus process is more normal after focusing than not influencing faster and again Using camera function, the broadcasting speed of focusing animation can be accelerated by time setting unit 407 so that focusing animation completely plays The time of first use is less than the time of focus process, such as usual focus process needs to spend 600ms, then can will be originally complete It plays and once needs to spend the broadcasting speed of the focusing animation of 1000ms to accelerate, be allowed to once only need 400ms in complete broadcasting, 200ms is written in water for users, therefore will not carry out operation in next step to user and have an impact, and on sense organ User is set to feel that focusing time shortens.
The embodiment of the present invention can start camera and open by camera control unit 401 when focusing instruction is taken pictures in reception Begin to focus;And then animated show unit 402 shows preset focusing animation in focus process taking pictures in preview interface;Most Displaying end unit 403 terminates the displaying of the focusing animation when determining that focus process is completed afterwards, can be by showing that animation carries Show that focusing is completed in user's camera, prevent user that focusing is repeated under single photographed scene, to save terminal electric power Resource.
The steps in the embodiment of the present invention can be sequentially adjusted, merged and deleted according to actual needs.
Unit in terminal of the embodiment of the present invention can be combined, divided and deleted according to actual needs.
One of ordinary skill in the art will appreciate that realizing all or part of flow in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, the program can be stored in a computer read/write memory medium In, the program is when being executed, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access Memory, abbreviation RAM) etc..
A kind of focusing reminding method disclosed by the embodiments of the present invention and terminal are described in detail above, it is above to be taken off Dew is only present pre-ferred embodiments, and of course, the scope of rights of the present invention cannot be limited by this, therefore according to the present invention Equivalent variations made by claim, are still within the scope of the present invention.

Claims (15)

1. a kind of focusing reminding method, which is characterized in that including:
Reception is taken pictures to focus and be instructed, and starts camera and starts to focus;
In focus process, preset focusing animation is shown in preview interface taking pictures;
When determining that focus process is completed, terminate the displaying of the focusing animation.
2. according to the method described in claim 1, it is characterized in that, in the focus process, shown in preview interface taking pictures Preset focusing animation includes:
Specified focusing area is obtained, focus frame is shown in the specified focusing area;
Obtain the displaying animation of the preset focus frame;
In focus process, the displaying animation of the focus frame is played in the specified focusing area.
3. according to the method described in claim 1, it is characterized in that, the determining focus process includes when completing:
In focus process, when finding the contrast maximum for making specified focusing area, the ginseng of the specified focusing area Image distance is examined, determines that the focus process is completed.
4. according to the method described in claim 3, it is characterized in that, before the displaying for terminating the focusing animation, also wrap It includes:
Judge whether the focusing evaluation of estimate of the specified focusing area is more than or equal to predetermined threshold value, the focusing evaluation of estimate Image distance for the specified focusing area be reference image away from when the specified focusing area contrast;
If so, executing the displaying step for terminating the focusing animation;If it is not, the image distance of the specified focusing area is adjusted to Used image distance when the camera last time focusing.
5. according to the method described in claim 1, it is characterized in that, the method further includes:
Judge whether the focusing animation completes primary complete broadcasting;
If so, terminating the displaying of the focusing animation.
6. according to the method described in claim 5, it is characterized in that, the method further includes:
The focusing animation is set and completes the time once completely played less than the preset reference time for completing once to focus.
7. according to the method described in claim 3, it is characterized in that, the contrast represents the clear of specified focusing area Degree, when the eyeglass of camera searches the contrast maximum for making specified focusing area in moving process, the specified focusing The image distance in region, which is used as, refers to image distance.
8. a kind of terminal, which is characterized in that the terminal includes:
Camera control unit starts camera and starts to focus for receiving focusing instruction of taking pictures;
Animated show unit, in focus process, preset focusing animation to be shown in preview interface taking pictures;
It showing end unit, when for determining that focus process is completed, terminating the displaying of the focusing animation.
9. terminal according to claim 8, which is characterized in that the animated show unit includes:
Focus frame shows subelement, and for obtaining specified focusing area, focus frame is shown in the specified focusing area;
Animation obtains subelement, the displaying animation for obtaining the preset focus frame;
Animation play subelement, in focus process, the displaying of the focus frame to be played in the specified focusing area Animation.
10. terminal according to claim 8, which is characterized in that the displaying end unit is specifically used for:
In focus process, when finding the contrast maximum for making specified focusing area, the ginseng of the specified focusing area Image distance is examined, determines that the focus process is completed.
11. terminal according to claim 10, which is characterized in that the terminal further includes:
Definition judgment unit, for judging it is default whether the focusing evaluation of estimate of the specified focusing area is more than or equal to Threshold value, the focusing evaluation of estimate be the image distance of the specified focusing area be reference image away from when the specified focusing area Contrast;
The displaying end unit is additionally operable to when the judging result of the definition judgment subelement is to be, it is described right to terminate The displaying of burnt animation;
Image distance adjustment unit is used for when the judging result of the definition judgment subelement is no, by the specified focusing The image distance in region is adjusted to used image distance when the camera last time focusing.
12. terminal according to claim 8, which is characterized in that the terminal further includes:
Judging unit is played, for judging whether the focusing animation completes primary complete broadcasting;
The displaying end unit, it is when being, to terminate the focusing animation to be additionally operable to the judging result for playing judging unit Displaying.
13. terminal according to claim 12, which is characterized in that the terminal further includes:
Time setting unit, it is primary less than preset completion for the time that the focusing animation completion once completely plays to be arranged The reference time of focusing.
14. terminal according to claim 10, which is characterized in that the contrast represents the clear of specified focusing area Degree, when the eyeglass of camera searches the contrast maximum for making specified focusing area in moving process, the specified focusing The image distance in region, which is used as, refers to image distance.
15. a kind of computer readable storage medium, which is characterized in that the computer-readable recording medium storage has program to refer to It enables, described program instruction after being called for computer for executing such as claim 1-7 any one of them focusing reminding method.
CN201810151851.4A 2015-06-16 2015-06-16 A kind of focusing reminding method and terminal Pending CN108322652A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810151851.4A CN108322652A (en) 2015-06-16 2015-06-16 A kind of focusing reminding method and terminal

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810151851.4A CN108322652A (en) 2015-06-16 2015-06-16 A kind of focusing reminding method and terminal
CN201510333118.0A CN104967778B (en) 2015-06-16 2015-06-16 One kind focusing reminding method and terminal

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN201510333118.0A Division CN104967778B (en) 2015-06-16 2015-06-16 One kind focusing reminding method and terminal

Publications (1)

Publication Number Publication Date
CN108322652A true CN108322652A (en) 2018-07-24

Family

ID=54221714

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201810151851.4A Pending CN108322652A (en) 2015-06-16 2015-06-16 A kind of focusing reminding method and terminal
CN201510333118.0A Expired - Fee Related CN104967778B (en) 2015-06-16 2015-06-16 One kind focusing reminding method and terminal

Family Applications After (1)

Application Number Title Priority Date Filing Date
CN201510333118.0A Expired - Fee Related CN104967778B (en) 2015-06-16 2015-06-16 One kind focusing reminding method and terminal

Country Status (1)

Country Link
CN (2) CN108322652A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109361857A (en) * 2018-10-29 2019-02-19 江苏环宇臻视智能科技有限公司 A kind of camera auto-focusing system based on recognition of face

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105357444B (en) * 2015-11-27 2018-11-02 努比亚技术有限公司 focusing method and device
CN106201020B (en) * 2016-07-07 2019-01-22 广东小天才科技有限公司 A kind of method and system determining focusing by cursor flashing
CN108206912B (en) * 2016-12-20 2020-12-04 北京小米移动软件有限公司 Method and device for exception prompt and readable storage medium
CN107360412A (en) * 2017-08-21 2017-11-17 广州视源电子科技股份有限公司 3D rendering creation method, capture apparatus and readable storage medium storing program for executing
CN109426409A (en) * 2017-09-04 2019-03-05 中兴通讯股份有限公司 A kind of method, apparatus of operation display, mobile terminal and storage medium
CN111031249B (en) * 2019-12-26 2021-07-13 维沃移动通信有限公司 Auxiliary focusing method and electronic equipment
WO2023029046A1 (en) * 2021-09-06 2023-03-09 深圳市大疆创新科技有限公司 Photographic device and focusing method therefor, and photographic system and readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020149689A1 (en) * 2001-04-12 2002-10-17 Masato Sannoh Image pick-up device
US20060055814A1 (en) * 2004-09-16 2006-03-16 Fujitsu Limited Image pickup device and focusing notification method
CN101098406A (en) * 2006-06-30 2008-01-02 索尼株式会社 Auto-focus apparatus, image capture apparatus, and auto-focus method
CN101382721A (en) * 2007-08-31 2009-03-11 富士胶片株式会社 Image pickup apparatus and focusing condition displaying method
CN104270562A (en) * 2014-08-15 2015-01-07 广东欧珀移动通信有限公司 Method and device for focusing when photographing
CN104333702A (en) * 2014-11-28 2015-02-04 广东欧珀移动通信有限公司 Method, device and terminal for automatic focusing

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4279476B2 (en) * 2001-04-12 2009-06-17 株式会社リコー Photographing availability information display method and photographing apparatus
CN102253569B (en) * 2011-01-17 2012-11-14 深圳市保千里电子有限公司 Method and device for focusing camera
US20150116529A1 (en) * 2013-10-28 2015-04-30 Htc Corporation Automatic effect method for photography and electronic apparatus
CN103702029B (en) * 2013-12-20 2017-06-06 百度在线网络技术(北京)有限公司 The method and device of focusing is pointed out during shooting

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020149689A1 (en) * 2001-04-12 2002-10-17 Masato Sannoh Image pick-up device
US20060055814A1 (en) * 2004-09-16 2006-03-16 Fujitsu Limited Image pickup device and focusing notification method
CN101098406A (en) * 2006-06-30 2008-01-02 索尼株式会社 Auto-focus apparatus, image capture apparatus, and auto-focus method
CN101382721A (en) * 2007-08-31 2009-03-11 富士胶片株式会社 Image pickup apparatus and focusing condition displaying method
CN104270562A (en) * 2014-08-15 2015-01-07 广东欧珀移动通信有限公司 Method and device for focusing when photographing
CN104333702A (en) * 2014-11-28 2015-02-04 广东欧珀移动通信有限公司 Method, device and terminal for automatic focusing

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109361857A (en) * 2018-10-29 2019-02-19 江苏环宇臻视智能科技有限公司 A kind of camera auto-focusing system based on recognition of face

Also Published As

Publication number Publication date
CN104967778B (en) 2018-03-02
CN104967778A (en) 2015-10-07

Similar Documents

Publication Publication Date Title
CN104967778B (en) One kind focusing reminding method and terminal
CN109600659B (en) Operation method, device and equipment for playing video and storage medium
US9558591B2 (en) Method of providing augmented reality and terminal supporting the same
CN111601039B (en) Video shooting method and device and electronic equipment
JP6081440B2 (en) Method and apparatus for prompting based on smart glasses
CN103222259A (en) High dynamic range transition
CN106412458A (en) Image processing method and apparatus
US20140184848A1 (en) Imaging apparatus and method for controlling the same
US20130113940A1 (en) Imaging device and subject detection method
CN106249508B (en) Atomatic focusing method and system, filming apparatus
CN111757175A (en) Video processing method and device
US9692971B2 (en) Image capturing apparatus capable of automatically switching from reproduction mode to shooting mode and displaying live view image and control method thereof
CN113873272B (en) Method, device and storage medium for controlling background image of live video
US20160073004A1 (en) Detection of object in digital image
EP3062513A1 (en) Video apparatus and photography method thereof
CN110798615A (en) Shooting method, shooting device, storage medium and terminal
CN106454127A (en) Method and system of improving the starting speed of camera of mobile terminal
JP2011091635A (en) Imaging apparatus
RU2671763C1 (en) Color space displaying method and device
CN113709566B (en) Method, device, equipment and computer storage medium for playing multimedia content
CN106060383B (en) A kind of method and system that image obtains
CN114339076A (en) Video shooting method and device, electronic equipment and storage medium
CN102238335B (en) Photographic device and image data generating method
CN115695634A (en) Wallpaper display method, electronic equipment and storage medium
CN114189628A (en) Control method and device of shooting function, AR device and storage medium

Legal Events

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

Application publication date: 20180724

RJ01 Rejection of invention patent application after publication