CN108769537A - Photographing method, device, terminal and readable storage medium - Google Patents

Photographing method, device, terminal and readable storage medium Download PDF

Info

Publication number
CN108769537A
CN108769537A CN201810825943.6A CN201810825943A CN108769537A CN 108769537 A CN108769537 A CN 108769537A CN 201810825943 A CN201810825943 A CN 201810825943A CN 108769537 A CN108769537 A CN 108769537A
Authority
CN
China
Prior art keywords
characteristic information
information
default
terminal
camera
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
CN201810825943.6A
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.)
Gree Electric Appliances Inc of Zhuhai
Original Assignee
Gree Electric Appliances Inc of Zhuhai
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 Gree Electric Appliances Inc of Zhuhai filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN201810825943.6A priority Critical patent/CN108769537A/en
Publication of CN108769537A publication Critical patent/CN108769537A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/61Control of cameras or camera modules based on recognised objects
    • H04N23/611Control of cameras or camera modules based on recognised objects where the recognised objects include parts of the human body
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/80Camera processing pipelines; Components thereof

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a photographing method, a photographing device, a terminal and a readable storage medium, wherein the method comprises the following steps: the terminal adopts a first camera to acquire images; when the feature information of the shot person is identified in the acquired image, judging whether the feature information is matched with preset feature information stored in a feature information base or not, wherein the feature information comprises at least one of the following types: gesture feature information, facial expression feature information and limb action feature information; if yes, the terminal controls the second camera to take pictures. According to the invention, when the characteristic information of the person to be shot in the image acquired by the first camera of the terminal in advance is matched with the preset characteristic information, the second camera is controlled to shoot, and the picture to be shot can be shot quickly in time, so that the shooting speed and the shooting effect are improved, and a more ideal imaging effect can be obtained.

Description

A kind of photographic method, device, terminal and readable storage medium storing program for executing
Technical field
The present invention relates to field of terminal technology more particularly to a kind of photographic method, device, terminal and readable storage medium storing program for executing.
Background technology
In daily life, in order to loosen body and mind, and the moment for being worth collection in life can be retained, people can be with It is recorded by way of photography.
Portrait images during, the mainly shutter of photographer's control terminal is taken pictures in the prior art, this is just Lead to the facial expression or limb action that can not capture personage in time sometimes, leads to not obtain ideal imaging effect, or Person is that photographer needs to wait for the long period that can just take desired facial expression or limb action sometimes, and be not taken at this time person May be long due to the stand-by period and have little expression or limb action is stiff, ideal imaging effect can not be obtained by also resulting in Fruit.
In conclusion the prior art can not obtain ideal imaging effect, user demand cannot be met.
Invention content
The present invention provides a kind of photographic method, device, terminal and readable storage medium storing program for executing, to solve in the prior art according to Piece imaging effect undesirable the problem of cannot meeting user demand.
The present invention provides a kind of photographic method, this method includes:
Terminal carries out Image Acquisition using the first camera;
When recognizing the characteristic information for the personage that is taken in the image collected, judge that the characteristic information is believed with feature Whether the default characteristic information preserved in breath library matches, wherein the characteristic information includes following at least a kind of:Gesture feature is believed Breath, facial expression feature information and limb action characteristic information;
If so, the terminal control second camera is taken pictures.
Further, the default characteristic information in the default characteristic information library for judging the characteristic information and preservation is No matching includes:
According to the classification that the characteristic information belongs to, the subcharacter information bank of corresponding classification is searched in characteristic information library;
Judge whether the characteristic information matches with the default characteristic information in the subcharacter information bank.
Further, described to judge the characteristic information if the characteristic information is first facial expressive features information Whether before being matched with the default characteristic information in the default characteristic information library of preservation, the method further includes:
Identify the second facial expression feature information for the personage that is taken in latter collected image of the image;
It is described to judge whether the characteristic information matches packet with the default characteristic information in the default characteristic information library of preservation It includes:
Judge in the default characteristic information whether to include first first facial expressive features information and posterior second The characteristic information group that facial expression feature information is constituted.
Further, it if the default characteristic information includes smile characteristics information, is wrapped in the default characteristic information The second default characteristic information that the first default characteristic information and the posterior corners of the mouth being closed containing first face raise up constitutes pre- If characteristic information group.
Further, the process that default characteristic information is arranged includes:
In the setting page of taking pictures, receives intelligent photographical condition setting and open request;
It is arranged in interface in intelligent photographical condition, shows each characteristic information to be selected;
The selected characteristic information to be selected recognized is saved in as default characteristic information in characteristic information library.
Further, before terminal carries out Image Acquisition using the first camera, the method further includes:
Judge whether to receive intelligent open command of taking pictures;
If so, carrying out subsequent step.
The present invention provides a kind of camera arrangement, which includes:
Acquisition module, for carrying out Image Acquisition using the first camera;
Judgment module when characteristic information for recognizing the personage that is taken in the image collected, judges the spy Whether reference breath matches with the default characteristic information preserved in characteristic information library, wherein the characteristic information includes following at least one Class:Gesture feature information, facial expression feature information and limb action characteristic information;If so, triggering photo module;
Photo module is taken pictures for controlling second camera.
Further, the judgment module is specifically used for the classification belonged to according to the characteristic information, in characteristic information library The middle subcharacter information bank for searching corresponding classification;Judge that the characteristic information is believed with the default feature in the subcharacter information bank Whether breath matches.
Further, if the characteristic information is first facial expressive features information, the judgment module is specifically used for Before whether the characteristic information matches with the default characteristic information in the default characteristic information library of preservation, after identifying the image Be taken the second facial expression feature information of personage in one collected image;Judge in the default characteristic information whether Including the characteristic information group that first first facial expressive features information and posterior second facial expression feature information are constituted.
Further, it if the default characteristic information includes smile characteristics information, is wrapped in the default characteristic information The second default characteristic information that the first default characteristic information and the posterior corners of the mouth being closed containing first face raise up constitutes pre- If characteristic information group.
Further, described device further includes:
Setup module opens request in the setting page of taking pictures, receiving intelligent photographical condition setting;It takes pictures intelligently In condition setting interface, each characteristic information to be selected is shown;Using the selected characteristic information to be selected recognized as default spy Reference breath is saved in characteristic information library.
Further, the acquisition module is additionally operable to judge whether to receive intelligent open command of taking pictures;If so, Terminal carries out Image Acquisition using the first camera.
The present invention provides a kind of terminals, including:Processor, communication interface, memory and communication bus, wherein processing Device, communication interface, memory complete mutual communication by communication bus;
It is stored with computer program in the memory, when described program is executed by the processor so that the place Manage the step of device executes any of the above-described the method.
The present invention provides a kind of computer readable storage medium, it is stored with the computer program that can be executed by terminal, When described program is run in the terminal so that the terminal executes the step of any of the above-described the method.
The present invention provides a kind of photographic method, device, terminal and readable storage medium storing program for executing, this method includes:Terminal uses First camera carries out Image Acquisition;When recognizing the characteristic information for the personage that is taken in the image collected, described in judgement Whether characteristic information matches with the default characteristic information preserved in characteristic information library, wherein the characteristic information include it is following at least It is a kind of:Gesture feature information, facial expression feature information and limb action characteristic information;If so, the terminal control second Camera is taken pictures.In the present invention when the characteristic information for the personage that is taken in advance the image collected of the first camera of terminal with When default characteristic information matches, control second camera is taken pictures, and can quickly take the picture for wanting shooting in time, therefore carry High take pictures speed and effect of taking pictures, so as to obtain more ideal imaging effect.
Description of the drawings
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with Obtain other attached drawings according to these attached drawings.
Fig. 1 is a kind of schematic diagram for Market Site Selection process that the embodiment of the present invention 1 provides;
Fig. 2 is that the one kind that provides of the embodiment of the present invention 3 is taken pictures process schematic;
Fig. 3 is a kind of structural schematic diagram for terminal that the embodiment of the present invention 6 provides;
A kind of Fig. 4 camera arrangement schematic diagrames provided in an embodiment of the present invention.
Specific implementation mode
In order to improve the practicability and accuracy of Market Site Selection, an embodiment of the present invention provides a kind of photographic method, device, Terminal and readable storage medium storing program for executing.
Photographic method provided in an embodiment of the present invention, can be applied in terminal, which includes hardware layer, operate in hard Operating system layer on part layer, and the application layer of operation on an operating system.
The hardware layer include central processing unit (CPU, Central Processing Unit), memory management unit (MMU, Memory Management Unit) and the hardware such as memory.
The operating system can be that any one or more realizes that the computer of business processing is grasped by process (Process) Make system, for example, (SuSE) Linux OS, Unix operating systems, Android operation system, iOS operating systems or windows behaviour Make system etc..The application layer includes camera programm, which can be the camera programm being arranged when terminal manufacture, Ke Yishi The camera programm that user newly installs.
And the terminal can be the terminal devices such as smart mobile phone, tablet computer in embodiments of the present invention, can also be The image capture devices such as camera, video camera in the embodiment of the present invention and are not particularly limited, as long as can have by log The program of the code of photographic method in the embodiment of the present invention, realization are taken pictures.
The executive agent taken pictures in the embodiment of the present invention can caller and can be held in terminal or terminal The function module of line program.
To make the objectives, technical solutions, and advantages of the present invention clearer, make into one below in conjunction with the attached drawing present invention Step ground detailed description, it is clear that described embodiment is only a part of the embodiment of the present invention, rather than whole implementation Example.Based on the embodiments of the present invention, obtained by those of ordinary skill in the art without making creative efforts Every other embodiment, shall fall within the protection scope of the present invention.
Embodiment 1:
Fig. 1 is a kind of schematic diagram for process of taking pictures provided in an embodiment of the present invention, which includes the following steps:
S101:Terminal carries out Image Acquisition using the first camera.
Photographic method provided in an embodiment of the present invention is applied to terminal, which includes at least two cameras.
Terminal including at least two cameras can be the mobile phone for being provided with dual camera of targeted mainstream, be taken the photograph using double Stereoscopic vision can be generated as head take pictures, obtains the depth of field, background blurring, AR (Augmented Reality, the increasing of image Strong reality technology) functions such as enhancing, action recognition.
In order to obtain more ideal imaging effect, terminal uses the first camera at least two cameras to carry out figure As acquisition, what the first camera carried out is the process of image pre-acquired at this time, is prepared for the follow-up process of taking pictures.
First camera when carrying out Image Acquisition, acquisition be the first camera viewfinder area in image.
The process that terminal is taken pictures using camera can with it is identical using camera process of taking pictures in the prior art, herein not It repeats.
S102:When recognizing the characteristic information for the personage that is taken in the image collected, judge the characteristic information with Whether the default characteristic information preserved in characteristic information library matches;If so, carrying out S103;If not, carrying out S104.
The characteristic information includes following at least a kind of:Gesture feature information, facial expression feature information and limb action Characteristic information.
First camera is after carrying out Image Acquisition, and terminal identifies the personage that is taken in the image collected, due to end It supports to be taken in end the information identification such as gesture, facial expression, limb action of personage, therefore terminal is recognizing the people that is taken After object, additionally it is possible to identify the characteristic information for the personage that is taken, the characteristic information of the personage that is taken includes at least a kind of:Gesture is special Reference breath, facial expression feature information and limb action characteristic information, the characteristic information of the personage that is taken, which is terminal, to be known It is clipped to the whole characteristic informations for the personage that is taken.
Specifically, gesture feature information may include " V words " characteristic information, " OK " characteristic information, " thumb thumbs up " spy Reference breath etc., facial expression feature information may include smile characteristics information, sobbing characteristic information, blink characteristic information, frowns Characteristic information etc., limb action characteristic information may include provoking motion characteristic information, applause motion characteristic information, action of walking about Which information characteristic information etc. specifically includes in gesture feature information, facial expression feature information, limb action characteristic information, It can modify and add according to actual demand, it is not limited to the above- mentioned information provided in the embodiment of the present invention.
The be taken process of characteristic information of personage of terminal recognition can be by obtaining the pixel in the image collected Point information, identification be taken personage characteristic information or terminal in preserve in advance training complete characteristic information identification Model preserves characteristic information template in characteristic information identification model, and the image collected, which is input to characteristic information, identifies mould In type, can according to the matched characteristic information template of the image collected, determine the characteristic information etc. of personage of being taken.
Characteristic information library is preserved in terminal, and preserves default characteristic information in characteristic information library, the default spy Reference breath can be the characteristic information of terminal system acquiescence, can be the characteristic information that user chooses according to self-demand.This is pre- If in characteristic information also including at least one in gesture feature information, facial expression feature information and limb action characteristic information Class.
The default characteristic information can be used for characterizing the intelligent photographical condition of camera.
After terminal recognizes the characteristic information for the personage that is taken in the image collected, it can be determined that the spy recognized Whether whether reference breath match with default characteristic information, according to different judging results, carries out different steps.
When default characteristic information includes in gesture feature information, facial expression feature information and limb action characteristic information One kind can whether judge this feature information when terminal judges whether this feature information match with default characteristic information Whether matched with one kind default characteristic information.
When default characteristic information includes in gesture feature information, facial expression feature information and limb action characteristic information At least two classes can judge this feature information when terminal judges whether this feature information match with default characteristic information Whether whether matched with every a kind of default characteristic information.
S103:The terminal control second camera is taken pictures.
When terminal determines that characteristic information is matched with default characteristic information, it is believed that meet intelligent photographical condition, eventually Second camera at least two cameras of end control is taken pictures, and can quickly take the picture for wanting shooting in time at this time, Therefore speed of taking pictures is improved, and quickly takes the picture for wanting shooting, avoid the expression or posture of the personage that is taken It is stiff, therefore further improve effect of taking pictures.
The process that terminal control camera is taken pictures can be identical as the process that control camera is taken pictures in the prior art, herein It does not repeat.
S104:The terminal does not control second camera and takes pictures.
When terminal determines that characteristic information is mismatched with default characteristic information, it is believed that do not meet intelligent item of taking pictures also Part, the second camera that terminal does not control at least two cameras are taken pictures, and can accurately collect the figure for wanting acquisition at this time Picture improves effect of taking pictures.
Photographic method in the embodiment of the present invention can be not only used for self-timer i.e. photographer and the figure picture that is taken is same, may be used also Clapped for him is that photographer is different from the personage that is taken.
When the feature for the personage that is taken in advance the image collected of the first camera of terminal is believed in the embodiment of the present invention When breath is matched with default characteristic information, control second camera is taken pictures, and can quickly take the picture for wanting shooting in time, because This improves take pictures speed and effect of taking pictures, so as to obtain more ideal imaging effect.
Embodiment 2:
In order to improve matching speed to further increase speed of taking pictures, on the basis of the above embodiments, the present invention is implemented In example, it is described judge the characteristic information and the default characteristic information in the default characteristic information library of preservation whether match including:
According to the classification that the characteristic information belongs to, the subcharacter information bank of corresponding classification is searched in characteristic information library;
Judge whether the characteristic information matches with the default characteristic information in the subcharacter information bank.
Default characteristic information in the subcharacter information bank of the corresponding classification of characteristic information is matched, it is possible to reduce The matching that characteristic information does not correspond to the default characteristic information of classification with it takes, and to improve matching speed, further increases Speed of taking pictures.
After terminal recognizes the characteristic information for the personage that is taken in the image of acquisition, the class of characteristic information ownership is determined Not, if characteristic information includes at least two classes, it is determined that each classification of characteristic information ownership.
Default characteristic information is preserved in the characteristic information library of terminal, and default characteristic information is when stored, Ke Yishi It is stored in the corresponding subcharacter information bank of classification of default characteristic information ownership.Can be specifically that terminal determines default feature After information, the classification of identification default characteristic information ownership, belonging to same category of characteristic information, to be stored in the category corresponding In subcharacter information bank.
After terminal determines the classification of characteristic information ownership, the classification pair of this feature information ownership is searched in characteristic information library Answer the subcharacter information bank of classification.
Can be by characteristic information and above-mentioned subcharacter information bank when terminal matches characteristic information with default characteristic information In default characteristic information matched.
If successful match, terminal control second camera is taken pictures;If matching is unsuccessful, terminal does not control the second camera shooting Head is taken pictures.
Since the default feature in the subcharacter information bank of the corresponding classification of characteristic information being believed in the embodiment of the present invention Breath is matched, and the matching for reducing the default characteristic information that characteristic information does not correspond to classification with it is time-consuming, to improve With speed, speed of taking pictures is further improved.
Embodiment 3:
On the basis of the various embodiments described above, in the embodiment of the present invention, if the characteristic information is first facial expression Characteristic information, it is described to judge whether the characteristic information matches it with the default characteristic information in the default characteristic information library of preservation Before, the method further includes:
Identify the second facial expression feature information for the personage that is taken in latter collected image of the image;
It is described to judge whether the characteristic information matches packet with the default characteristic information in the default characteristic information library of preservation It includes:
Judge in the default characteristic information whether to include first first facial expressive features information and posterior second The characteristic information group that facial expression feature information is constituted.
Personage be usually taken when shooting, the time of a certain facial expression may be kept longer, leads to terminal control Two cameras are continuously shot multiple same photographs, cause the waste of terminal memory source, and since the retention time is longer, quilt Shooting personage may expression be stiff causes imaging effect undesirable, therefore identification is taken the dynamic menu of personage, is meeting item Second camera is controlled when part to take pictures, and can avoid weight on the basis of the picture of the desired shooting quickly taken Take multiple identical pictures again, and avoid the personage that is taken expression it is stiff, reduce the wave of terminal memory source Take, and improves effect of taking pictures.
When the characteristic information of terminal recognition to the personage that is taken is first facial expressive features information, terminal is in order to acquire To the dynamic menu for the personage that is taken, terminal can also be the latter image that the image is shot using the first camera, and know Be not taken in latter collected image of the image the second facial expression feature information of personage, at this time it is considered that clapping Continuous two images for the personage that is taken, i.e. dynamic menu are taken the photograph.
It is dynamic menu that terminal is collected when using the first camera collection image, then by characteristic information with it is default When characteristic information is matched, it is also desirable to be matched with the default characteristic information group in default characteristic information.Specifically, terminal Judge in default characteristic information whether to include first first facial expressive features information and posterior second facial expression feature The default characteristic information group that information is constituted, that is, judge in the default characteristic information group of default characteristic information whether include and acquisition The identical facial expression feature information of characteristic information arrived, and chronological order is consistent.
If in default characteristic information including first first facial expressive features information and posterior second facial expression The default characteristic information group that characteristic information is constituted, then it is assumed that characteristic information is matched with default characteristic information, and terminal control second is taken the photograph As head is taken pictures.
If not including first first facial expressive features information and posterior second facial table in default characteristic information The default characteristic information group that feelings characteristic information is constituted, then it is assumed that characteristic information is mismatched with default characteristic information, and terminal does not control Second camera is taken pictures.
Include first mouth if the default characteristic information includes smile characteristics information, in the default characteristic information The default characteristic information that bar the first default characteristic information being closed and the second default characteristic information for raising up of the posterior corners of the mouth are constituted Group.
If default characteristic information includes smile characteristics information, the feature for the personage that is taken in the image collected is identified When information, the main information according to the personage's mouth that is taken, the smile characteristics information may be considered the face for the personage that is taken The smile action to be raised up by being closed into the corners of the mouth.
Terminal can judge first first facial when being matched characteristic information with default characteristic information at this time Whether characteristic information matches with the first default characteristic information that face first in default characteristic information group is closed, and posterior Whether the second face feature information matches with the second default characteristic information that the posterior corners of the mouth in default characteristic information group raises up, such as Fruit matches, then it is assumed that characteristic information is matched with default characteristic information, if any mismatch, then it is assumed that characteristic information with it is default Characteristic information mismatches.
Fig. 2 is that one kind provided in an embodiment of the present invention is taken pictures process schematic, is included the following steps:
S201:The instruction of taking pictures for receiving user, the terminal for being provided with dual camera open the first camera collection image.
S202:Obtain the dynamic menu of the mouth for the personage that is taken in the viewfinder area of the first camera.
In this step, when the characteristic information of terminal recognition to the personage that is taken are first facial expressive features information, eventually The second facial expression feature information for the personage that is taken in latter collected image of the image is gone back and is identified at end, at this time may be used To think to have taken the dynamic menu of the mouth for the personage that is taken.
S203:Whether the mouth of personage of judging to be taken is completed by being closed into the smile action that the corners of the mouth raises up;If so, into Row S204, if not, returning to S202.
In the first default characteristic information and the posterior corners of the mouth comprising first face closure in the default characteristic information The default characteristic information group that the second default characteristic information raised is constituted.
If first first facial characteristic information and face first in default characteristic information group is closed first is preset Characteristic information matches, and the posterior corners of the mouth raises up in posterior second face feature information and default characteristic information group second Default characteristic information matches, then it is assumed that characteristic information is matched with default characteristic information, and the mouth for the personage that is taken is completed by closing Close the smile action that the corners of the mouth raises up.
S204:Terminal control second camera is taken pictures.
Since terminal recognition is taken the dynamic menu of personage in the embodiment of the present invention, controlling second when meeting condition takes the photograph As head is taken pictures, it can avoid repetition on the basis of the picture of the desired shooting quickly taken and take multiple phases With picture, and avoid the personage that is taken expression it is stiff, reduce the waste of terminal memory source, and improve bat According to effect.
Embodiment 4:
In order to improve the flexibility taken pictures, on the basis of the various embodiments described above, in the embodiment of the present invention, default spy is set Reference breath process include:
In the setting page of taking pictures, receives intelligent photographical condition setting and open request;
It is arranged in interface in intelligent photographical condition, shows each characteristic information to be selected;
The selected characteristic information to be selected recognized is saved in as default characteristic information in characteristic information library.
The corresponding default characteristic information of intelligent photographical condition can be configured according to the actual demand of user, improve bat According to flexibility.
Terminal provides setting function of taking pictures, therefore terminal can show the setting page of taking pictures, in the setting page of taking pictures Displaying has intelligent photographical condition setting function.
When user wants to set up the default characteristic information for characterizing intelligent photographical condition, user can send to terminal Request is opened in intelligent photographical condition setting.After terminal receives intelligent photographical condition setting unlatching request, the intelligent item of taking pictures of displaying Interface is arranged in part, and is arranged in interface in intelligent photographical condition and shows each characteristic information to be selected, each characteristic information to be selected It can be each of terminal support intelligent photographical condition to be selected.
User can select characteristic information to be selected according to each of displaying characteristic information to be selected and itself use demand It selects, user selects characteristic information to be selected can the operations such as click, press, choose.
After user selects characteristic information to be selected, after terminal recognition to selected characteristic information to be selected, it will identify Default characteristic information is saved in characteristic information library by the selected characteristic information to be selected arrived as default characteristic information.
Terminal when taking pictures, can according to the characteristic information of the personage that is taken in the image collected recognized, with The default characteristic information being arranged is matched, and in matching, and control second camera is taken pictures, to improve speed of taking pictures It spends and effect of taking pictures.
Since the corresponding default characteristic information of intelligent photographical condition in the embodiment of the present invention can be according to the practical need of user It asks and is configured, improve the flexibility taken pictures.
Embodiment 5:
In order to improve the flexibility taken pictures, on the basis of the various embodiments described above, in the embodiment of the present invention, used in terminal Before first camera carries out Image Acquisition, the method further includes:
Judge whether to receive intelligent open command of taking pictures;
If so, carrying out subsequent step.
In order to meet the different demands of user, user can input intelligent open command of taking pictures, and be clapped when terminal is in intelligence Image is acquired in advance according to the first camera under pattern, can be acquired, and the spy for the personage that is taken in advance the image collected When reference breath is matched with default characteristic information, control second camera is taken pictures.
User can open intelligence and take pictures or be not turned on the function of intelligently taking pictures, and can meet the different demands of user, carry Height take pictures during flexibility, when user open intelligent photographing function when, terminal using the first camera carry out Image Acquisition, And the characteristic information for the personage that is taken in advance the image collected controls second camera when being matched with default characteristic information It takes pictures;It is identical as existing process of taking pictures when user is taken pictures by control terminal when user is not turned on intelligent photographing function, Terminal resource can further be saved.
Since in the embodiment of the present invention, user can open or be not turned on the function of intelligently taking pictures, user can be met not Same demand can further save terminal resource when being not turned on the function of intelligently taking pictures, in the function that unlatching is intelligently taken pictures When, take pictures speed and effect of taking pictures can be improved.
Embodiment 6:
On the basis of the various embodiments described above, the embodiment of the present invention additionally provides a kind of terminal, as shown in figure 3, including:Place Manage device 301, communication interface 302, memory 303 and communication bus 304, wherein processor 301, communication interface 302, memory 303 complete mutual communication by communication bus 304;
It is stored with computer program in the memory 303, when described program is executed by the processor 301 so that The processor 301 executes following steps:
Terminal carries out Image Acquisition using the first camera;
When recognizing the characteristic information for the personage that is taken in the image collected, judge that the characteristic information is believed with feature Whether the default characteristic information preserved in breath library matches, wherein the characteristic information includes following at least a kind of:Gesture feature is believed Breath, facial expression feature information and limb action characteristic information;
If so, the terminal control second camera is taken pictures.
Terminal provided in an embodiment of the present invention is specifically as follows desktop computer, server, network side equipment etc..
The communication bus that above-mentioned terminal is mentioned can be Peripheral Component Interconnect standard (Peripheral Component Interconnect, PCI) bus or expanding the industrial standard structure (Extended Industry Standard Architecture, EISA) bus etc..The communication bus can be divided into address bus, data/address bus, controlling bus etc..For just It is only indicated with a thick line in expression, figure, it is not intended that an only bus or a type of bus.
Communication interface 302 is for the communication between above-mentioned terminal and other equipment.
Memory may include random access memory (Random Access Memory, RAM), can also include non-easy The property lost memory (Non-Volatile Memory, NVM), for example, at least a magnetic disk storage.Optionally, memory may be used also To be at least one storage device for being located remotely from aforementioned processor.
Above-mentioned processor can be general processor, including central processing unit, network processing unit (Network Processor, NP) etc.;It can also be digital command processor (Digital Signal Processing, DSP), special collection At circuit, field programmable gate array either other programmable logic device, discrete gate or transistor logic, discrete hard Part component etc..
In embodiments of the present invention, it when processor executes the program stored on memory, realizes when the first of terminal takes the photograph When being matched with default characteristic information as the characteristic information for the personage that is taken in the advance the image collected of head, second camera is controlled It takes pictures, can quickly take the picture for wanting shooting in time, therefore improve take pictures speed and effect of taking pictures, so as to obtain Obtain more ideal imaging effect.
Embodiment 7:
On the basis of the various embodiments described above, the embodiment of the present invention additionally provides a kind of computer storage readable storage medium Matter is stored with the computer program that can be executed by terminal in the computer readable storage medium, when described program is at the end When being run on end so that the terminal realizes following steps when executing:
Terminal carries out Image Acquisition using the first camera;
When recognizing the characteristic information for the personage that is taken in the image collected, judge that the characteristic information is believed with feature Whether the default characteristic information preserved in breath library matches, wherein the characteristic information includes following at least a kind of:Gesture feature is believed Breath, facial expression feature information and limb action characteristic information;
If so, the terminal control second camera is taken pictures.
Above computer readable storage medium storing program for executing can be any usable medium or number that the processor in terminal can access Such as according to storage device, including but not limited to magnetic storage such as floppy disk, hard disk, tape, magneto-optic disk (MO) etc., optical memory CD, DVD, BD, HVD etc. and semiconductor memory such as ROM, EPROM, EEPROM, nonvolatile memory (NAND FLASH), solid state disk (SSD) etc..
Computer program, computer program are provided in the computer readable storage medium provided in embodiments of the present invention When being executed by processor, realize when terminal the advance the image collected of the first camera in be taken personage characteristic information with When default characteristic information matches, control second camera is taken pictures, and can quickly take the picture for wanting shooting in time, therefore carry High take pictures speed and effect of taking pictures, so as to obtain more ideal imaging effect.
Fig. 4 is a kind of 400 schematic diagram of camera arrangement provided in an embodiment of the present invention, is applied to terminal, which includes:
Acquisition module 401, for carrying out Image Acquisition using the first camera;
Judgment module 402, when characteristic information for recognizing the personage that is taken in the image collected, described in judgement Whether characteristic information matches with the default characteristic information preserved in characteristic information library, wherein the characteristic information include it is following at least It is a kind of:Gesture feature information, facial expression feature information and limb action characteristic information;If so, triggering photo module 403;
Photo module 403 is taken pictures for controlling second camera.
The judgment module 402 is specifically used for the classification belonged to according to the characteristic information, is searched in characteristic information library The subcharacter information bank of corresponding classification;Judge whether is default characteristic information in the characteristic information and the subcharacter information bank Matching.
If the characteristic information is first facial expressive features information, the judgment module 402, it is specifically used for the spy Before whether reference breath matches with the default characteristic information in the default characteristic information library preserved, latter quilt of the image is identified Be taken the second facial expression feature information of personage in the image of acquisition;Judge whether be included in the default characteristic information The characteristic information group that first first facial expressive features information and posterior second facial expression feature information are constituted.
Include first mouth if the default characteristic information includes smile characteristics information, in the default characteristic information The default characteristic information that bar the first default characteristic information being closed and the second default characteristic information for raising up of the posterior corners of the mouth are constituted Group.
Described device further includes:
Setup module 404 opens request in the setting page of taking pictures, receiving intelligent photographical condition setting;In intelligence Photographical condition is arranged in interface, shows each characteristic information to be selected;Using the selected characteristic information to be selected recognized as pre- If characteristic information is saved in characteristic information library.
The acquisition module 401 is additionally operable to judge whether to receive intelligent open command of taking pictures;If so, being adopted in terminal Image Acquisition is carried out with the first camera.
When the feature for the personage that is taken in advance the image collected of the first camera of terminal is believed in the embodiment of the present invention When breath is matched with default characteristic information, control second camera is taken pictures, and can quickly take the picture for wanting shooting in time, because This improves take pictures speed and effect of taking pictures, so as to obtain more ideal imaging effect.
For systems/devices embodiment, since it is substantially similar to the method embodiment, so the comparison of description is simple Single, the relevent part can refer to the partial explaination of embodiments of method.
It should be understood by those skilled in the art that, embodiments herein can be provided as method, system or computer program Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the application Apply the form of example.Moreover, the application can be used in one or more wherein include computer usable program code computer The computer program production implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) The form of product.
The application is with reference to method, the flow of equipment (system) and computer program product according to the embodiment of the present application Figure and/or block diagram describe.It should be understood that can be realized by computer program instructions every first-class in flowchart and/or the block diagram The combination of flow and/or box in journey and/or box and flowchart and/or the block diagram.These computer programs can be provided Instruct the processor of all-purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine so that the instruction executed by computer or the processor of other programmable data processing devices is generated for real The device for the function of being specified in present one flow of flow chart or one box of multiple flows and/or block diagram or multiple boxes.
These computer program instructions, which may also be stored in, can guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works so that instruction generation stored in the computer readable memory includes referring to Enable the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one box of block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device so that count Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, in computer or The instruction executed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one The step of function of being specified in a box or multiple boxes.
Although the preferred embodiment of the application has been described, created once a person skilled in the art knows basic Property concept, then additional changes and modifications can be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted as It selects embodiment and falls into all change and modification of the application range.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art God and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to include these modifications and variations.

Claims (14)

1. a kind of photographic method, which is characterized in that this method includes:
Terminal carries out Image Acquisition using the first camera;
When recognizing the characteristic information for the personage that is taken in the image collected, the characteristic information and characteristic information library are judged Whether the default characteristic information of middle preservation matches, wherein the characteristic information includes following at least a kind of:Gesture feature information, face Portion's expressive features information and limb action characteristic information;
If so, the terminal control second camera is taken pictures.
2. the method as described in claim 1, which is characterized in that described to judge that the default feature of the characteristic information and preservation is believed Breath library in default characteristic information whether match including:
According to the classification that the characteristic information belongs to, the subcharacter information bank of corresponding classification is searched in characteristic information library;
Judge whether the characteristic information matches with the default characteristic information in the subcharacter information bank.
3. the method as described in claim 1, which is characterized in that if the characteristic information is believed for first facial expressive features Breath, it is described judge whether the characteristic information matches with the default characteristic information in the default characteristic information library of preservation before, institute The method of stating further includes:
Identify the second facial expression feature information for the personage that is taken in latter collected image of the image;
It is described judge the characteristic information and the default characteristic information in the default characteristic information library of preservation whether match including:
Whether judge in the default characteristic information comprising first first facial expressive features information and posterior second face The characteristic information group that expressive features information is constituted.
4. method as claimed in claim 3, which is characterized in that if the default characteristic information includes smile characteristics information, The first default characteristic information and the posterior corners of the mouth being then closed comprising first face in the default characteristic information raise up the The default characteristic information group that two default characteristic informations are constituted.
5. the method as described in claim 1, which is characterized in that the process that default characteristic information is arranged includes:
In the setting page of taking pictures, receives intelligent photographical condition setting and open request;
It is arranged in interface in intelligent photographical condition, shows each characteristic information to be selected;
The selected characteristic information to be selected recognized is saved in as default characteristic information in characteristic information library.
6. the method as described in claim 1, which is characterized in that before terminal carries out Image Acquisition using the first camera, The method further includes:
Judge whether to receive intelligent open command of taking pictures;
If so, carrying out subsequent step.
7. a kind of camera arrangement, which is characterized in that the device includes:
Acquisition module, for carrying out Image Acquisition using the first camera;
Judgment module when characteristic information for recognizing the personage that is taken in the image collected, judges the feature letter Whether breath matches with the default characteristic information preserved in characteristic information library, wherein the characteristic information includes following at least a kind of: Gesture feature information, facial expression feature information and limb action characteristic information;If so, triggering photo module;
Photo module is taken pictures for controlling second camera.
8. device as claimed in claim 7, which is characterized in that the judgment module is specifically used for according to the characteristic information The classification of ownership searches the subcharacter information bank of corresponding classification in characteristic information library;Judge the characteristic information and the son Whether the default characteristic information in characteristic information library matches.
9. device as claimed in claim 7, which is characterized in that if the characteristic information is believed for first facial expressive features Breath, the judgment module are specifically for the default characteristic information in the default characteristic information library of the characteristic information and preservation Before no matching, the second facial expression feature information for the personage that is taken in latter collected image of the image is identified; Judge in the default characteristic information whether to include first first facial expressive features information and posterior second facial expression The characteristic information group that characteristic information is constituted.
10. device as claimed in claim 9, which is characterized in that if the default characteristic information includes smile characteristics information, The first default characteristic information and the posterior corners of the mouth being then closed comprising first face in the default characteristic information raise up the The default characteristic information group that two default characteristic informations are constituted.
11. device as claimed in claim 7, which is characterized in that described device further includes:
Setup module opens request in the setting page of taking pictures, receiving intelligent photographical condition setting;In intelligent photographical condition It is arranged in interface, shows each characteristic information to be selected;The selected characteristic information to be selected recognized is believed as default feature Breath is saved in characteristic information library.
12. device as claimed in claim 7, which is characterized in that the acquisition module is additionally operable to judge whether to receive intelligence It takes pictures open command;If so, carrying out Image Acquisition using the first camera in terminal.
13. a kind of terminal, which is characterized in that including:Processor, communication interface, memory and communication bus, wherein processor, Communication interface, memory complete mutual communication by communication bus;
It is stored with computer program in the memory, when described program is executed by the processor so that the processor Perform claim requires the step of any one of 1~6 the method.
14. a kind of computer readable storage medium, which is characterized in that it is stored with the computer program that can be executed by terminal, when Described program in the terminal when running so that the terminal perform claim requires the step of any one of 1~6 the method.
CN201810825943.6A 2018-07-25 2018-07-25 Photographing method, device, terminal and readable storage medium Pending CN108769537A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810825943.6A CN108769537A (en) 2018-07-25 2018-07-25 Photographing method, device, terminal and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810825943.6A CN108769537A (en) 2018-07-25 2018-07-25 Photographing method, device, terminal and readable storage medium

Publications (1)

Publication Number Publication Date
CN108769537A true CN108769537A (en) 2018-11-06

Family

ID=63971516

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810825943.6A Pending CN108769537A (en) 2018-07-25 2018-07-25 Photographing method, device, terminal and readable storage medium

Country Status (1)

Country Link
CN (1) CN108769537A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109669661A (en) * 2018-12-20 2019-04-23 广东小天才科技有限公司 Control method of dictation progress and electronic equipment
CN110871664A (en) * 2019-10-09 2020-03-10 珠海格力电器股份有限公司 Passenger car air conditioner capable of spraying medicine and control method thereof
CN110941992A (en) * 2019-10-29 2020-03-31 平安科技(深圳)有限公司 Smile expression detection method and device, computer equipment and storage medium
CN112449098A (en) * 2019-08-29 2021-03-05 腾讯科技(深圳)有限公司 Shooting method, device, terminal and storage medium
CN115776532A (en) * 2021-09-07 2023-03-10 荣耀终端有限公司 Method for capturing image in video and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106231175A (en) * 2016-07-09 2016-12-14 东莞市华睿电子科技有限公司 A kind of method that terminal gesture is taken pictures
CN106503658A (en) * 2016-10-31 2017-03-15 维沃移动通信有限公司 automatic photographing method and mobile terminal
CN106534673A (en) * 2016-10-26 2017-03-22 上海与德信息技术有限公司 Feature recognition-based photographing method and device
CN107249100A (en) * 2017-06-30 2017-10-13 北京金山安全软件有限公司 Photographing method and device, electronic equipment and storage medium
CN107395988A (en) * 2017-08-31 2017-11-24 华勤通讯技术有限公司 The control method and system of the camera of mobile terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106231175A (en) * 2016-07-09 2016-12-14 东莞市华睿电子科技有限公司 A kind of method that terminal gesture is taken pictures
CN106534673A (en) * 2016-10-26 2017-03-22 上海与德信息技术有限公司 Feature recognition-based photographing method and device
CN106503658A (en) * 2016-10-31 2017-03-15 维沃移动通信有限公司 automatic photographing method and mobile terminal
CN107249100A (en) * 2017-06-30 2017-10-13 北京金山安全软件有限公司 Photographing method and device, electronic equipment and storage medium
CN107395988A (en) * 2017-08-31 2017-11-24 华勤通讯技术有限公司 The control method and system of the camera of mobile terminal

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109669661A (en) * 2018-12-20 2019-04-23 广东小天才科技有限公司 Control method of dictation progress and electronic equipment
CN112449098A (en) * 2019-08-29 2021-03-05 腾讯科技(深圳)有限公司 Shooting method, device, terminal and storage medium
CN112449098B (en) * 2019-08-29 2023-04-07 腾讯科技(深圳)有限公司 Shooting method, device, terminal and storage medium
CN110871664A (en) * 2019-10-09 2020-03-10 珠海格力电器股份有限公司 Passenger car air conditioner capable of spraying medicine and control method thereof
CN110871664B (en) * 2019-10-09 2021-01-12 珠海格力电器股份有限公司 Passenger car air conditioner capable of spraying medicine and control method thereof
CN110941992A (en) * 2019-10-29 2020-03-31 平安科技(深圳)有限公司 Smile expression detection method and device, computer equipment and storage medium
CN110941992B (en) * 2019-10-29 2023-09-05 平安科技(深圳)有限公司 Smile expression detection method and device, computer equipment and storage medium
CN115776532A (en) * 2021-09-07 2023-03-10 荣耀终端有限公司 Method for capturing image in video and electronic equipment
CN115776532B (en) * 2021-09-07 2023-10-20 荣耀终端有限公司 Method for capturing images in video and electronic equipment

Similar Documents

Publication Publication Date Title
CN108769537A (en) Photographing method, device, terminal and readable storage medium
TWI234119B (en) System and method for digital image selection
CN108229369A (en) Image capturing method, device, storage medium and electronic equipment
US10475222B2 (en) Automatic creation of a group shot image from a short video clip using intelligent select and merge
CN107820020A (en) Method of adjustment, device, storage medium and the mobile terminal of acquisition parameters
CN108600633A (en) Shooting angle determining method and device, terminal and readable storage medium
US20120300092A1 (en) Automatically optimizing capture of images of one or more subjects
WO2021169720A1 (en) Content operation method and device, terminal, and storage medium
CN110971841B (en) Image processing method, image processing device, storage medium and electronic equipment
CN107395957B (en) Photographing method and device, storage medium and electronic equipment
CN106815803B (en) Picture processing method and device
CN106503658A (en) automatic photographing method and mobile terminal
CN108141445A (en) The system and method re-recognized for personnel
CN117479000B (en) Video recording method and related device
CN114096994A (en) Image alignment method and device, electronic equipment and storage medium
CN104509092A (en) Storyboards for capturing images
CN109308704A (en) Background elimination method, device, computer equipment and storage medium
CN111565282A (en) Shooting control processing method, device, equipment and storage medium
CN110363814A (en) A kind of method for processing video frequency, device, electronic device and storage medium
US11120537B2 (en) Cognitive object emotional analysis based on image quality determination
CN110365905A (en) Automatic photographing method and device
CN110866418B (en) Image base generation method, device, equipment, system and storage medium
CN108259767B (en) Image processing method, image processing device, storage medium and electronic equipment
CN109753889A (en) Service evaluation method, apparatus, computer equipment and storage medium
US11232616B2 (en) Methods and systems for performing editing operations on media

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20181106