CN110062158A - Control method, apparatus, electronic equipment and the computer readable storage medium of filming apparatus - Google Patents

Control method, apparatus, electronic equipment and the computer readable storage medium of filming apparatus Download PDF

Info

Publication number
CN110062158A
CN110062158A CN201910278175.1A CN201910278175A CN110062158A CN 110062158 A CN110062158 A CN 110062158A CN 201910278175 A CN201910278175 A CN 201910278175A CN 110062158 A CN110062158 A CN 110062158A
Authority
CN
China
Prior art keywords
filming apparatus
parameter
target object
image
sub
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
CN201910278175.1A
Other languages
Chinese (zh)
Inventor
李润祥
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing ByteDance Network Technology Co Ltd
Original Assignee
Beijing ByteDance Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing ByteDance Network Technology Co Ltd filed Critical Beijing ByteDance Network Technology Co Ltd
Priority to CN201910278175.1A priority Critical patent/CN110062158A/en
Publication of CN110062158A publication Critical patent/CN110062158A/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
    • 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/60Control of cameras or camera modules
    • H04N23/667Camera operation mode switching, e.g. between still and video, sport and normal or high- and low-resolution modes

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Studio Devices (AREA)

Abstract

The present disclosure discloses a kind of method, apparatus, electronic equipment and computer readable storage mediums for controlling filming apparatus.Wherein the method for the control filming apparatus includes: to obtain the first image from filming apparatus at the first moment, and the first parameter of target object is determined according to the first image;The second image is obtained from the filming apparatus at the second moment, the second parameter of the target object is determined according to second image;The target object is shot according to filming apparatus described in first parameter and second state modulator.The embodiment of the present disclosure can obtain the parameter of target object by filming apparatus by taking the technical solution, and neatly control filming apparatus according to the parameter of acquisition and shoot to target object.

Description

Control method, apparatus, electronic equipment and the computer readable storage medium of filming apparatus
Technical field
This disclosure relates to field of information processing more particularly to it is a kind of control the method, apparatus of filming apparatus, electronic equipment and Computer readable storage medium.
Background technique
With the development of computer technology, the application range of intelligent terminal has obtained extensive raising, such as can pass through Intelligent terminal shoots image and video etc..
Intelligent terminal also has powerful data-handling capacity simultaneously, such as is being carried out using intelligent terminal to target object When shooting, image progress processing in real time obtained can be shot to intelligent terminal by image segmentation algorithm and be clapped with identifying Take the photograph the key point of the target object and the target object in image.For handling video by human body image partitioning algorithm, The computer equipments such as intelligent terminal can handle in real time each frame image of video by human body image partitioning algorithm, accurate to know Each key point of human body contour outline and human body in other image, such as can identify the face of human body, the right hand etc. in the picture Position etc., this identification have been able to be accurate to Pixel-level.
In the prior art, when being shot to target object, such as who object is shot, photographer will determine Whether who object poses, and capture apparatus is operated in the case where posing, and needs to shoot during this operation The case where person and who object cooperate, and both sides inevitably will appear mutually waiting or operation error, mode of operation is very It is single and not flexible.
Summary of the invention
The embodiment of the present disclosure provides the method for control filming apparatus, device, electronic equipment and computer-readable storage medium Matter can be obtained the parameter of target object by filming apparatus, and neatly control filming apparatus to mesh according to the parameter of acquisition Mark object is shot.
In a first aspect, the embodiment of the present disclosure provides a kind of method for controlling filming apparatus characterized by comprising the One moment obtained the first image from filming apparatus, and the first parameter of target object is determined according to the first image;At second It carves from the filming apparatus and obtains the second image, the second parameter of the target object is determined according to second image;According to Filming apparatus described in first parameter and second state modulator shoots the target object.
Further, the filming apparatus according to first parameter and second state modulator shoots the target pair As, comprising: determine the difference between first parameter and second parameter, ratio or distance;In the difference, than In the case that example or distance belong to first interval, controls the filming apparatus and shoot the target object.
Further, which is characterized in that the first interval includes the first subinterval and the second subinterval;In the difference In the case that value, ratio or distance belong to first interval, controls the filming apparatus and shoot the target object, comprising: In the case that the difference, ratio or distance belong to the first subinterval, controls the filming apparatus and clapped with the first screening-mode Take the photograph the target object;In the difference, in the case that ratio or distance belong to the second subinterval, controls the shooting and fill It sets and the target object is shot with the second screening-mode.
Further, first screening-mode corresponds to single shot, and the second screening-mode correspondence is continuously shot.
Further, first parameter includes multiple first subparameters, and second parameter includes multiple second son ginsengs Number;The target object is shot according to filming apparatus described in first parameter and second state modulator, comprising: determines institute State multiple sub- differences between multiple first subparameters and the multiple second subparameter, multiple sub- ratios or multiple sons away from From;In the multiple sub- difference, multiple sub- ratios or multiple sub sub- differences for belonging to second interval in, sub- ratio, or In the case that the sub- distance of person reaches the first ratio, controls the filming apparatus and shoot the target object.
Further, first parameter includes multiple first subparameters, and second parameter includes multiple second son ginsengs Number;The target object is shot according to filming apparatus described in first parameter and second state modulator, comprising: determines institute State multiple sub- differences between multiple first subparameters and the multiple second subparameter, multiple sub- ratios or multiple sons away from From;In the multiple sub- difference, multiple sub- ratios or multiple sub sub- differences for belonging to 3rd interval in, sub- ratio, or In the case that the sub- distance of person reaches the first quantity, controls the filming apparatus and shoot the target object.
Further, the first parameter of the target object includes the first area parameters of the target object, the mesh Second parameter of mark object includes the second area parameter of the target object;Or the first parameter of the target object includes The first position parameter of the target object, the second parameter of the target object include the second position ginseng of the target object Number.
Further, the target object includes human body, the key position of the human body, object or the object Key position.
Second aspect, the embodiment of the present disclosure provide a kind of device for controlling filming apparatus characterized by comprising first Image collection module determines target pair according to the first image for obtaining the first image from filming apparatus at the first moment The first parameter of elephant;Second image collection module, for obtaining the second image from the filming apparatus at the second moment, according to institute State the second parameter that the second image determines the target object;Control module, for according to first parameter and described second Filming apparatus described in state modulator shoots the target object.
Further, the control module is also used to determine the difference between first parameter and second parameter, Ratio or distance;In the difference, in the case that ratio or distance belong to first interval, controls the filming apparatus and clap Take the photograph the target object.
Further, the control module is also used in the difference, and ratio or distance belong to the feelings in the first subinterval Under condition, the filming apparatus is controlled with the first screening-mode and shoots the target object;In the difference, ratio or distance In the case where belonging to the second subinterval, the filming apparatus is controlled with the second screening-mode and shoots the target object.
Further, first screening-mode corresponds to single shot, and the second screening-mode correspondence is continuously shot.
Further, first parameter includes multiple first subparameters, and second parameter includes multiple second son ginsengs Number;The control module is also used to: determining multiple sons between the multiple first subparameter and the multiple second subparameter Difference, multiple sub- ratios or multiple sub- distances;In the multiple sub- difference, belong in multiple sub- ratios or multiple son distances In the sub- difference of second interval, in the case that sub- ratio or sub- distance reach the first ratio, the filming apparatus shooting is controlled The target object.
Further, first parameter includes multiple first subparameters, and second parameter includes multiple second son ginsengs Number;The control module is also used to: determining multiple sons between the multiple first subparameter and the multiple second subparameter Difference, multiple sub- ratios or multiple sub- distances;In the multiple sub- difference, belong in multiple sub- ratios or multiple son distances In the sub- difference of 3rd interval, in the case that sub- ratio or sub- distance reach the first quantity, the filming apparatus shooting is controlled The target object.
Further, the first parameter of the target object includes the first area parameters of the target object, the mesh Second parameter of mark object includes the second area parameter of the target object;Or the first parameter of the target object includes The first position parameter of the target object, the second parameter of the target object include the second position ginseng of the target object Number.
Further, the target object includes human body, the key position of the human body, object or the object Key position.
The third aspect, the embodiment of the present disclosure provide a kind of electronic equipment, comprising: memory, it is computer-readable for storing Instruction;And one or more processors, for running the computer-readable instruction, so that the processor is realized when running The method of any control filming apparatus in aforementioned first aspect.
Fourth aspect, the embodiment of the present disclosure provide a kind of non-transient computer readable storage medium, which is characterized in that described Non-transient computer readable storage medium stores computer instruction, when the computer instruction is computer-executed, so that institute The method for stating any control filming apparatus that computer executes in aforementioned first aspect.
The present disclosure discloses a kind of method, apparatus, electronic equipment and computer readable storage mediums for controlling filming apparatus. The wherein method of the control filming apparatus characterized by comprising obtain the first image root from filming apparatus at the first moment The first parameter of target object is determined according to the first image;The second image, root are obtained from the filming apparatus at the second moment The second parameter of the target object is determined according to second image;According to first parameter and the second state modulator institute It states filming apparatus and shoots the target object.The method of embodiment of the present disclosure offer control filming apparatus, device, electronic equipment, And computer readable storage medium, the parameter of target object can be obtained by filming apparatus, and flexible according to the parameter of acquisition Ground control filming apparatus shoots target object.
Above description is only the general introduction of disclosed technique scheme, in order to better understand the technological means of the disclosure, and It can be implemented in accordance with the contents of the specification, and to allow the above and other objects, features and advantages of the disclosure can be brighter Show understandable, it is special below to lift preferred embodiment, and cooperate attached drawing, detailed description are as follows.
Detailed description of the invention
In order to illustrate more clearly of the embodiment of the present disclosure or technical solution in the prior art, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is this public affairs The some embodiments opened for those of ordinary skill in the art without creative efforts, can be with root Other attached drawings are obtained according to these attached drawings.
Fig. 1 is the flow chart of the embodiment of the method for the control filming apparatus that the embodiment of the present disclosure provides;
Fig. 2 is the structural schematic diagram of the embodiment of the device for the control filming apparatus that the embodiment of the present disclosure provides;
Fig. 3 is the structural schematic diagram of the electronic equipment provided according to the embodiment of the present disclosure.
Specific embodiment
Illustrate embodiment of the present disclosure below by way of specific specific example, those skilled in the art can be by this specification Disclosed content understands other advantages and effect of the disclosure easily.Obviously, described embodiment is only the disclosure A part of the embodiment, instead of all the embodiments.The disclosure can also be subject to reality by way of a different and different embodiment It applies or applies, the various details in this specification can also be based on different viewpoints and application, in the spirit without departing from the disclosure Lower carry out various modifications or alterations.It should be noted that in the absence of conflict, the feature in following embodiment and embodiment can To be combined with each other.Based on the embodiment in the disclosure, those of ordinary skill in the art are without creative efforts Every other embodiment obtained belongs to the range of disclosure protection.
It should be noted that the various aspects of embodiment within the scope of the appended claims are described below.Ying Xian And be clear to, aspect described herein can be embodied in extensive diversified forms, and any specific structure described herein And/or function is only illustrative.Based on the disclosure, it will be understood by one of ordinary skill in the art that one described herein Aspect can be independently implemented with any other aspect, and can combine the two or both in these aspects or more in various ways. For example, carry out facilities and equipments in terms of any number set forth herein can be used and/or practice method.In addition, can make With other than one or more of aspect set forth herein other structures and/or it is functional implement this equipment and/or Practice the method.
It should also be noted that, diagram provided in following embodiment only illustrates the basic structure of the disclosure in a schematic way Think, component count, shape and the size when only display is with component related in the disclosure rather than according to actual implementation in diagram are drawn System, when actual implementation kenel, quantity and the ratio of each component can arbitrarily change for one kind, and its assembly layout kenel can also It can be increasingly complex.
In addition, in the following description, specific details are provided for a thorough understanding of the examples.However, fields The skilled person will understand that the aspect can be practiced without these specific details.
Fig. 1 is the flow chart of the embodiment of the method for the control filming apparatus that the embodiment of the present disclosure provides, the present embodiment provides The method device that can control filming apparatus by one of control filming apparatus execute, which can be implemented as software, It can be implemented as hardware, be also implemented as the combination of software and hardware, such as the device of the control filming apparatus includes meter It calculates machine equipment (such as intelligent terminal), to execute the control filming apparatus provided in this embodiment by the computer equipment Method, which may include one or more filming apparatus, for example including one or more cameras, to control It makes the one or more camera and obtains image and/or shooting image and video;The computer equipment can also control communication link The one or more filming apparatus connect are not limited this with obtaining image and/or shooting image and video, the embodiment of the present disclosure.
It will be understood by those skilled in the art that filming apparatus involved in embodiment of the disclosure can be used in acquisition figure Picture, such as the filming apparatus include photosensitive element (or imaging original part) and/or camera lens, so that the filming apparatus obtains image Process may include that light is recorded to by photosensitive element and is converted into digital signal, operation chip to digital signal at Reason is relatively conventional in the prior art to form image data, is preparing shooting photo or view using digital filming apparatus When frequency, the image that digital filming apparatus obtains can be displayed on the screen in nearly real time, but those skilled in the art's energy Enough clear, there is no realize shooting photo or video capability, the number during image that above-mentioned real-time display obtains Code filming apparatus can just realize the function of shooting photo or video after needing to receive control command.
Those skilled in the art are it is also understood that filming apparatus involved in embodiment of the disclosure can be used in shooting Image or video, such as the image (also referred to as shooting photo) of photographic subjects object, or it is used for photographic subjects object Video, such as when preparing shooting photo or video using the digital filming apparatus, if the number receives Control command can be solidified or be deposited by way of image file or video file in response to the image that the control command will acquire Storage, optionally, can be according to preset shooting during above-mentioned shooting to realize shooting function in preset storage location Parameter (such as increase electronics filter, light source etc.) image of acquisition is handled, or in response to receiving the control command And image is obtained in the case where changing physical condition (such as increase physics flash of light etc.), then the image that will acquire passes through image file Or the form of video file solidifies or is stored in preset storage location.
It is worth noting that above by filming apparatus obtain image process and by filming apparatus shooting image or Imaging technique used by the process of video be substantially it is same or similar, in the embodiments of the present disclosure, this field skill Art personnel it will be clear that: image obtained by filming apparatus only refer to and image data is obtained by filming apparatus but unreal The function (such as image data will not be stored in preset storage location) of photo or video is now shot, and controls filming apparatus Photographic subjects object refer to shooting function is realized based on control command or control signal etc. (such as can be described pre- after the shooting is finished If storage location storage image data or video data).
As shown in Figure 1, the method for the control filming apparatus of the embodiment of the present disclosure includes the following steps:
Step S101 obtains the first image from filming apparatus at the first moment, determines target pair according to the first image The first parameter of elephant;
In step s101, the device for controlling filming apparatus handles the first image obtained at the first moment, The first parameter of target object is determined in the first image of acquisition.Such as the first image corresponds in the first moment institute The light for stating photosensitive element (or imaging original part) record of filming apparatus is formed by image data, which can show For the position of some column pixels and the information of color, or image file is shown as, note of the embodiment of the present disclosure to the first image Record form is without limitation.
In an alternative embodiment, the target object includes human body, the key position of human body, object or object The key position of body.Wherein, the human body may include the profile of the human body, center, mass center or center of gravity etc.;The people The key position of body may include one or more organ, joint or the position of human body, can also include the human body One or more organ, joint or the center at position, mass center or center of gravity etc.;The object may include the object Profile, center, mass center or center of gravity etc.;The key position of the object may include one or more positions of object, It may include the center at one or more of positions, mass center or center of gravity etc..It will be appreciated by those skilled in the art that this Target object in open embodiment can be characterized by color characteristic and/or shape feature, so as to pass through the face Color characteristic and/or shape feature determine the parameter of the target object in the picture, such as determine the position of the target object Set parameter.
In an alternative embodiment, the first parameter of the target object includes the first position of the target object Parameter or the first area parameters.As described in disclosure background technique, computer equipment can be known by image segmentation algorithm Target object in other image and the parameter that can determine the target object.It include the face of human body with the target object For: first parameter may include first position parameter, then pass through the face of human body determined by step S101 the One parameter may include the first position parameter of the face of the human body, and in the embodiment of the present disclosure, location parameter can pass through seat Mark indicates it will be understood by those skilled in the art that the coordinate of the face of the human body can be characterized in several ways, as simultaneously An example of the embodiment of the present disclosure is not limited, can pass through the center of the face of the human body, the coordinate of mass center or center of gravity The coordinate for characterizing the face of the human body, for coordinate system corresponding to coordinate involved in the embodiment of the present disclosure, such as is clapped It takes the photograph device and is corresponding with coordinate system, the picture frame of the image or video that obtain or shoot by the filming apparatus can be based on should Coordinate system is to each element marking pixel coordinate in the picture frame of described image or video, so as to be based on filming apparatus The corresponding coordinate system determines coordinate involved in the embodiment of the present disclosure, it will be appreciated that the embodiment of the present disclosure Without limitation to coordinate system corresponding to related coordinate, any type of coordinate system is used equally for determining the embodiment of the present disclosure Related coordinate;First parameter can also include the first area parameters, then passing through human body determined by step S101 Face the first parameter may include the human body face the first area parameters, such as by the human body face exist Shared area or pixel quantity etc. characterize the first area parameters of the face of the human body in the first image.
Step S102 obtains the second image from the filming apparatus at the second moment, determines institute according to second image State the second parameter of target object;
In step s 102, the device for controlling filming apparatus handles the second image obtained at the second moment, The second parameter that the target object is determined in second image obtained, wherein the record form about second image Etc. the identical or corresponding description being referred to about the first image, details are not described herein again.It is described in the embodiment of the present disclosure At the time of first moment can be any two difference with second moment, those skilled in the art be can be set as needed The interval at two moment, such as the interval at two moment can be 1 second, 1.5 seconds, 2 seconds, 5 seconds etc..In an optional implementation In example, the second parameter of the target object includes the second position parameter or second area parameter of the target object, In, the concrete meaning of the second parameter of the target object is referred to the first parameter of target object described in step S101 Identical or corresponding description, details are not described herein again.Optionally, first parameter corresponds to second parameter or described the Two parameters correspond to first parameter, such as first parameter includes location parameter, then second parameter with it is described First parameter is corresponding, i.e., described second parameter also includes location parameter, optionally, the unit of first parameter and described second The unit of parameter is identical, in conjunction with the embodiment in step S101, the first parameter of the face of the human body determined by the step S101 When the first position parameter of the face including the human body, the second of the face of the identified human body is joined in step s 102 Number includes the second position parameters of the face of the human body, and the first parameter of the face of the human body determined by the step S101 includes The human body face the first area parameters when, in step s 102 determined by the human body face the second parameter packet Include the second area parameter of the face of the human body.
Step S103 shoots the target pair according to filming apparatus described in first parameter and second state modulator As.
Determine the first ginseng of target object in the first image and the second image respectively by step S101 and step S102 It, next in step s 103, can be according to the first parameter of the target object and described second after several and the second parameter Parameter neatly controls the filming apparatus and shoots the target object.For example, for being joined by first parameter and second Number determines that small movements do not have occurred there is a situation where movement or only in the target object, this might mean that the target pair It is to be captured as having set posture etc., therefore target object does not occur in the case where moving or small movements only having occurred, It controls the filming apparatus and shoots the target object.Optionally, the device of the control filming apparatus can by wired or Wireless communication mode sends control signal to the filming apparatus, and the filming apparatus executes institute in response to the shooting signal State shooting function.By the technical solution of the disclosure, the parameter of target object can be obtained by filming apparatus, and according to acquisition Parameter neatly control filming apparatus target object shot.
In an alternative embodiment, in step S101 and step S102, the first image and described the are obtained The filming apparatus of two images is the first filming apparatus, and in step s 103, the filming apparatus for shooting the target object is the Two filming apparatus.Such as it is mobile terminal that the device of filming apparatus is controlled in the embodiment of the present disclosure, which includes described First filming apparatus, and the second filming apparatus for being used to shoot the target object is, for example, that there is the profession of higher resolution to clap Device is taken the photograph, so that the mobile terminal device is by its first filming apparatus respectively at first moment and second moment The first image and second image are obtained, and is controlled by way of sending control signal to second filming apparatus Second filming apparatus shoots target object.
In an alternative embodiment, the filming apparatus according to first parameter and second state modulator is clapped Take the photograph the target object, comprising: determine the difference between first parameter and second parameter, ratio or distance;? In the case that the difference, ratio or distance belong to first interval, controls the filming apparatus and shoot the target object.
By taking the first parameter and the second parameter include first position parameter and second position parameter as an example, described can be determined Difference between one location parameter and the second position parameter, ratio or distance, and then according to the difference, ratio, or Filming apparatus described in person's distance controlling shoots the target object.As an optional embodiment, the first position parameter Abscissa including the target object determined in the first image, one or more of ordinate and depth coordinate, institute The abscissa that second position parameter includes the target object determined in the second image is stated, in ordinate and depth coordinate One or more.As an example, when the target object is human body, the people described in the first image and the second image The coordinate of body can be expressed as (x1, y1) and (x2, y2), and x and y therein represent the abscissa and vertical seat of the human body Mark, if the depth coordinate of the human body, the human body described in the first image and second image can be obtained certainly Coordinate can also be expressed as (x1, y1, z1) and (x2, y2, z2), z therein represents human depth's coordinate, such as The device for controlling filming apparatus obtains image or shooting image and video by the filming apparatus with depth acquisition capability When, the depth information of target object can be obtained to also just can determine the depth coordinate, then the first position is joined Number includes x1, y1, one or more of z1, and the second position parameter includes x2, y2, one or more of z2.
It is shot for example, controlling the filming apparatus according to the difference of the first position parameter and the second position parameter The target object.Optionally, the difference in the embodiment of the present disclosure includes first parameter and second parameter Absolute value of the difference.As an example, the first position parameter includes the horizontal seat of the human body determined in the first image X1 is marked, the second position parameter includes the abscissa x2 of the human body determined in the second image, and the difference can be with table It is shown as | x1-x2 | (can certainly be expressed as | x2-x1 |), " | the | " symbol being related to can indicate to take in the embodiments of the present disclosure Absolute value, to control the filming apparatus in the case where the difference belongs to first interval and shoot the target object.This In open embodiment, the first interval can be it is preset, when the first position parameter and the second position parameter Difference belongs to the first interval, it is believed that in the second image of the first moment the first image obtained and the acquisition of the second moment In, the variation of the position of captured human body is smaller, that is to say, that the human body does not occur to move or only have occurred small fortune Dynamic, this might mean that the target object has been ready for shooting and has prepared (such as having set posture), then described in the determination Movement does not occur or only occurs then to control the filming apparatus shooting target object when small movements for human body.
It is shot for example, controlling the filming apparatus according to the ratio of the first position parameter and the second position parameter The target object.Optionally, the ratio in the embodiment of the present disclosure includes first parameter and second parameter The absolute value of ratio.As an example, the first position parameter includes the depth of the human body determined in the first image Coordinate z1 is spent, the second position parameter includes the depth coordinate z2 of the human body determined in the second image, the ratio Can be expressed as | zl/z2 | (can certainly be expressed as | z2/z1 |), thus the case where the ratio belongs to first interval Under, it controls the filming apparatus and shoots the target object.
For example, the filming apparatus according to the distance controlling of the first position parameter and the second position parameter is shot The target object.Optionally, the distance in the embodiment of the present disclosure includes but is not limited to Euclidean distance.Show as one Example, the first position parameter include the coordinate (x1, y1) of the human body determined in the first image, the second position ginseng Number includes the coordinate (x2, y2) of the human body determined in the second image, so as to true according to (x1, y1) and (x2, y2) Set a distance controls the filming apparatus and shoots the target object in the case where the distance belongs to first interval.
It include the first area parameters and second area parameter with first parameter and the second parameter in the embodiment of the present disclosure For, it can determine the difference between first area parameters and the second area parameter, ratio or distance, in turn According to the difference, filming apparatus described in ratio or distance controlling shoots the target object.As an optional implementation Example, first area parameters include the face shared in the first image of the determining target object in the first image Long-pending or pixel quantity, the second area parameter include the determining target object in the second image in second image In shared area or pixel quantity.It will be understood by those skilled in the art that determining first area parameters and described After two area parameters, it is referred to the aforementioned difference according between first position parameter and second position parameter, ratio, or away from It shoots that the target object is identical or corresponding manner from the filming apparatus is controlled, determines first area parameters and described Difference between second area parameter, ratio or distance, and then according to the difference, it is clapped described in ratio or distance controlling Take the photograph device shoot the target object (such as in the difference, in the case that ratio or distance belong to first interval, control The filming apparatus shoots the target object), details are not described herein again.
In an alternative embodiment, the first interval includes the first subinterval and the second subinterval, in the difference In the case that value, ratio or distance belong to the first subinterval, the filming apparatus is controlled described in the shooting of the first screening-mode Target object in the case that ratio or distance belong to the second subinterval, controls the filming apparatus in the difference with Two screening-modes shoot the target object.Optionally, first screening-mode corresponds to single shot, the second shooting mould Formula correspondence is continuously shot, thus in the difference, in the case that ratio or distance belong to the first subinterval, controls the bat Target object described in device single shot is taken the photograph, in the difference, in the case that ratio or distance belong to the second subinterval, control It makes the filming apparatus and is continuously shot the target object.Such as first subinterval is less than first threshold, second son Section be greater than or equal to the first threshold, the first threshold can be it is preset, when the difference, ratio or distance Belong to the first subinterval, might mean that the target object does not move substantially, to control the filming apparatus to institute It states target object and carries out single shot (such as only shooting a photo), when the difference, ratio or distance belong to the second son Section might mean that small movements have occurred in the target object, to control the filming apparatus to the target object It is continuously shot (such as the photo for being continuously shot preset quantity).Optionally, second screening-mode corresponds to shooting view Frequently, then when the difference, when ratio or distance belong to the second subinterval, the filming apparatus is controlled to the target pair As shooting video (such as video of shooting predetermined time period).
In an alternative embodiment, first parameter includes multiple first subparameters, and second parameter includes Multiple second subparameters shoot the target pair according to filming apparatus described in first parameter and second state modulator As, comprising: determine multiple sub- differences between the multiple first subparameter and the multiple second subparameter, multiple sub- ratios Example or multiple sub- distances belong to second interval in multiple sub- ratios or multiple son distances in the multiple sub- difference In the case that sub- difference, sub- ratio or sub- distance reach the first ratio, controls the filming apparatus and shoot the target pair As.As an example, the first parameter includes first position parameter, and the first position parameter includes multiple first position ginsengs Number, the multiple first position subparameter include abscissa x1, the ordinate y1 of the target object determined in the first image, and Depth coordinate z1, the second parameter include second position parameter, and the second position parameter includes multiple second position subparameters, institute Abscissa x2, the ordinate y2 that multiple second position subparameters include the target object determined in the second image are stated, and Depth coordinate z2, then multiple sub- differences between identified multiple first subparameters and multiple second subparameters include | x1- X2 |, | y1-y2 |, and | z1-z2 | totally three sub- differences, then belonging to the sub- difference of second interval in three sub- differences In the case where reaching the first ratio (e.g. 60%), controls the filming apparatus and shoot the target object.The disclosure is implemented Example in, the second interval can be it is preset, when the sub- difference for belonging to the second interval in the multiple sub- difference reaches First ratio, it is believed that the target object does not occur to move or only have occurred small movements, and then controls the shooting Device shoots the target object.As another example, the target object includes human body, and first parameter includes more A first position subparameter may include the position in multiple organs of the human body of determination and/or joint in the first image, Multiple second position subparameters that second parameter includes may include the multiple of the human body determined in the second image The position in organ and/or joint, the embodiment of the present disclosure are without limitation.
In another alternative embodiment, first parameter includes multiple first subparameters, the second parameter packet Multiple second subparameters are included, the target pair is shot according to filming apparatus described in first parameter and second state modulator As, comprising: determine multiple sub- differences between the multiple first subparameter and the multiple second subparameter, multiple sub- ratios Example or multiple sub- distances;In the multiple sub- difference, belong to 3rd interval in multiple sub- ratios or multiple son distances In the case that sub- difference, sub- ratio or sub- distance reach the first quantity, controls the filming apparatus and shoot the target pair As.Wherein it is identical or it is corresponding description be referred to precedent, it is only necessary to the first ratio in precedent is replaced with into the first quantity, The first quantity and the first ratio in the middle embodiment of the present disclosure may each be preset, and details are not described herein again.
In another optional embodiment, in step S103: according to first parameter and second state modulator After the filming apparatus shoots the target object, the method also includes: third is obtained from filming apparatus at the third moment Image determines the third parameter of the target object according to the third image;It is obtained at the 4th moment from the filming apparatus 4th image determines the 4th parameter of the target object according to the 4th image, according to the third parameter and described Filming apparatus described in four state modulators shoots the target object.Wherein the description as described in third image and third parameter can be joined According to the identical or corresponding description of the first image and the first parameter, the description as described in the 4th image and the 4th parameter is referred to second The identical or corresponding description of image and the second parameter, details are not described herein again.
Fig. 2 show the structural schematic diagram of 200 embodiment of device of the control filming apparatus of embodiment of the present disclosure offer, such as Shown in Fig. 2, described device includes the first image collection module 201, the second image collection module 202 and control module 203.Its In, the first image obtains module 201, for obtaining the first image from filming apparatus at the first moment, according to described first Image determines the first parameter of target object;Second image collection module 202, for being filled at the second moment from the shooting It sets and obtains the second image, the second parameter of the target object is determined according to second image;The control module 203 is used The target object is shot in the filming apparatus according to first parameter and second state modulator.
The method that Fig. 2 shown device can execute embodiment illustrated in fig. 1, the part that the present embodiment is not described in detail can join Examine the related description to embodiment illustrated in fig. 1.In implementation procedure and the technical effect embodiment shown in Figure 1 of the technical solution Description, details are not described herein.
Below with reference to Fig. 3, it illustrates the structural representations for the electronic equipment 300 for being suitable for being used to realize the embodiment of the present disclosure Figure.Electronic equipment in the embodiment of the present disclosure can include but is not limited to such as mobile phone, laptop, digital broadcasting and connect Receive device, PDA (personal digital assistant), PAD (tablet computer), PMP (portable media player), car-mounted terminal (such as vehicle Carry navigation terminal) etc. mobile terminal and such as number TV, desktop computer etc. fixed terminal.Electricity shown in Fig. 3 Sub- equipment is only an example, should not function to the embodiment of the present disclosure and use scope bring any restrictions.
As shown in figure 3, electronic equipment 300 may include processing unit (such as central processing unit, graphics processor etc.) 301, random access can be loaded into according to the program being stored in read-only memory (ROM) 302 or from storage device 308 Program in memory (RAM) 303 and execute various movements appropriate and processing.In RAM 303, it is also stored with electronic equipment Various programs and data needed for 300 operations.Processing unit 301, ROM 302 and RAM 303 pass through bus or communication line 304 are connected with each other.Input/output (I/O) interface 305 is also connected to bus or communication line 304.
In general, following device can connect to I/O interface 305: including such as touch screen, touch tablet, keyboard, mouse, figure As the input unit 306 of sensor, microphone, accelerometer, gyroscope etc.;Including such as liquid crystal display (LCD), loudspeaking The output device 307 of device, vibrator etc.;Storage device 308 including such as tape, hard disk etc.;And communication device 309.It is logical T unit 309 can permit electronic equipment 300 and wirelessly or non-wirelessly be communicated with other equipment to exchange data.Although Fig. 3 shows The electronic equipment 300 with various devices is gone out, it should be understood that being not required for implementing or having all dresses shown It sets.It can alternatively implement or have more or fewer devices.
Particularly, in accordance with an embodiment of the present disclosure, it may be implemented as computer above with reference to the process of flow chart description Software program.For example, embodiment of the disclosure includes a kind of computer program product comprising be carried on computer-readable medium On computer program, which includes the program code for method shown in execution flow chart.In such reality It applies in example, which can be downloaded and installed from network by communication device 309, or from storage device 308 It is mounted, or is mounted from ROM 302.When the computer program is executed by processing unit 301, the embodiment of the present disclosure is executed Method in the above-mentioned function that limits.
It should be noted that the above-mentioned computer-readable medium of the disclosure can be computer-readable signal media or meter Calculation machine readable storage medium storing program for executing either the two any combination.Computer readable storage medium for example can be --- but not Be limited to --- electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor system, device or device, or any above combination.Meter The more specific example of calculation machine readable storage medium storing program for executing can include but is not limited to: have the electrical connection, just of one or more conducting wires Taking formula computer disk, hard disk, random access storage device (RAM), read-only memory (ROM), erasable type may be programmed read-only storage Device (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), light storage device, magnetic memory device, Or above-mentioned any appropriate combination.In the disclosure, computer readable storage medium can be it is any include or storage journey The tangible medium of sequence, the program can be commanded execution system, device or device use or in connection.And at this In open, computer-readable signal media may include in a base band or as the data-signal that carrier wave a part is propagated, In carry computer-readable program code.The data-signal of this propagation can take various forms, including but not limited to Electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be computer-readable and deposit Any computer-readable medium other than storage media, the computer-readable signal media can send, propagate or transmit and be used for By the use of instruction execution system, device or device or program in connection.Include on computer-readable medium Program code can transmit with any suitable medium, including but not limited to: electric wire, optical cable, RF (radio frequency) etc. are above-mentioned Any appropriate combination.
Above-mentioned computer-readable medium can be included in above-mentioned electronic equipment;It is also possible to individualism, and not It is fitted into the electronic equipment.
Above-mentioned computer-readable medium carries one or more program, when said one or multiple programs are by the electricity When sub- equipment executes, so that the method that the electronic equipment executes the control filming apparatus in above-described embodiment.
The calculating of the operation for executing the disclosure can be write with one or more programming languages or combinations thereof Machine program code, above procedure design language include object oriented program language-such as Java, Smalltalk, C++, It further include conventional procedural programming language-such as " C " language or similar programming language.Program code can be complete It executes, partly executed on the user computer on the user computer entirely, being executed as an independent software package, part Part executes on the remote computer or executes on a remote computer or server completely on the user computer.It is relating to And in the situation of remote computer, remote computer can pass through the network of any kind --- including local area network (LAN) or extensively Domain net (WAN)-be connected to subscriber computer, or, it may be connected to outer computer (such as utilize ISP To be connected by internet).
Flow chart and block diagram in attached drawing are illustrated according to the system of the various embodiments of the disclosure, method and computer journey The architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generation A part of one module, program segment or code of table, a part of the module, program segment or code include one or more use The executable instruction of the logic function as defined in realizing.It should also be noted that in some implementations as replacements, being marked in box The function of note can also occur in a different order than that indicated in the drawings.For example, two boxes succeedingly indicated are actually It can be basically executed in parallel, they can also be executed in the opposite order sometimes, and this depends on the function involved.Also it to infuse Meaning, the combination of each box in block diagram and or flow chart and the box in block diagram and or flow chart can be with holding The dedicated hardware based system of functions or operations as defined in row is realized, or can use specialized hardware and computer instruction Combination realize.
Being described in unit involved in the embodiment of the present disclosure can be realized by way of software, can also be by hard The mode of part is realized.Wherein, the title of unit does not constitute the restriction to the unit itself under certain conditions.
Above description is only the preferred embodiment of the disclosure and the explanation to institute's application technology principle.Those skilled in the art Member is it should be appreciated that the open scope involved in the disclosure, however it is not limited to technology made of the specific combination of above-mentioned technical characteristic Scheme, while should also cover in the case where not departing from design disclosed above, it is carried out by above-mentioned technical characteristic or its equivalent feature Any combination and the other technical solutions formed.Such as features described above has similar function with (but being not limited to) disclosed in the disclosure Can technical characteristic replaced mutually and the technical solution that is formed.

Claims (11)

1. a kind of method for controlling filming apparatus characterized by comprising
The first image is obtained from filming apparatus at the first moment, the first parameter of target object is determined according to the first image;
The second image is obtained from the filming apparatus at the second moment, determines the of the target object according to second image Two parameters;
The target object is shot according to filming apparatus described in first parameter and second state modulator.
2. the method for control filming apparatus according to claim 1, which is characterized in that according to first parameter and described Filming apparatus described in second state modulator shoots the target object, comprising:
Determine the difference between first parameter and second parameter, ratio or distance;
In the difference, in the case that ratio or distance belong to first interval, controls the filming apparatus and shoot the target Object.
3. the method for control filming apparatus according to claim 2, which is characterized in that the first interval includes the first son Section and the second subinterval;
In the difference, in the case that ratio or distance belong to first interval, controls the filming apparatus and shoot the target Object, comprising:
In the difference, in the case that ratio or distance belong to the first subinterval, the filming apparatus is controlled with the first shooting Mode shoots the target object;
In the difference, in the case that ratio or distance belong to the second subinterval, the filming apparatus is controlled with the second shooting Mode shoots the target object.
4. the method for control filming apparatus according to claim 3, which is characterized in that first screening-mode is corresponding single Secondary shooting, the second screening-mode correspondence are continuously shot.
5. the method for control filming apparatus according to claim 1, which is characterized in that first parameter includes multiple the One subparameter, second parameter include multiple second subparameters;
The target object is shot according to filming apparatus described in first parameter and second state modulator, comprising:
Determine multiple sub- differences between the multiple first subparameter and the multiple second subparameter, multiple sub- ratios, or The multiple sub- distances of person;
In the multiple sub- difference, multiple sub- ratios or multiple sub sub- differences for belonging to second interval in, sub- ratio, Or in the case that sub- distance reaches the first ratio, controls the filming apparatus and shoot the target object.
6. the method for control filming apparatus according to claim 1, which is characterized in that first parameter includes multiple the One subparameter, second parameter include multiple second subparameters;
The target object is shot according to filming apparatus described in first parameter and second state modulator, comprising:
Determine multiple sub- differences between the multiple first subparameter and the multiple second subparameter, multiple sub- ratios, or The multiple sub- distances of person;
In the multiple sub- difference, multiple sub- ratios or multiple sub sub- differences for belonging to 3rd interval in, sub- ratio, Or in the case that sub- distance reaches the first quantity, controls the filming apparatus and shoot the target object.
7. the method for control filming apparatus according to claim 1, which is characterized in that the first parameter of the target object Second parameter of the first area parameters including the target object, the target object includes the second face of the target object Product parameter;Or the first parameter of the target object includes the first position parameter of the target object, the target object The second parameter include the target object second position parameter.
8. the method for control filming apparatus according to claim 1, which is characterized in that the target object includes human body, The key position of the human body, the key position of object or the object.
9. a kind of device for controlling filming apparatus characterized by comprising
First image collection module, it is true according to the first image for obtaining the first image from filming apparatus at the first moment Set the goal the first parameter of object;
Second image collection module, for obtaining the second image from the filming apparatus at the second moment, according to second figure The second parameter as determining the target object;
Control module shoots the target pair for the filming apparatus according to first parameter and second state modulator As.
10. a kind of electronic equipment, comprising:
Memory, for storing computer-readable instruction;And
Processor, for running the computer-readable instruction, so that realizing according to claim 1-8 when the processor is run Any one of described in control filming apparatus method.
11. a kind of non-transient computer readable storage medium, for storing computer-readable instruction, when the computer-readable finger When order is executed by computer, so that the computer perform claim requires control filming apparatus described in any one of 1-8 Method.
CN201910278175.1A 2019-04-08 2019-04-08 Control method, apparatus, electronic equipment and the computer readable storage medium of filming apparatus Pending CN110062158A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910278175.1A CN110062158A (en) 2019-04-08 2019-04-08 Control method, apparatus, electronic equipment and the computer readable storage medium of filming apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910278175.1A CN110062158A (en) 2019-04-08 2019-04-08 Control method, apparatus, electronic equipment and the computer readable storage medium of filming apparatus

Publications (1)

Publication Number Publication Date
CN110062158A true CN110062158A (en) 2019-07-26

Family

ID=67318575

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910278175.1A Pending CN110062158A (en) 2019-04-08 2019-04-08 Control method, apparatus, electronic equipment and the computer readable storage medium of filming apparatus

Country Status (1)

Country Link
CN (1) CN110062158A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111770279A (en) * 2020-08-03 2020-10-13 维沃移动通信有限公司 Shooting method and electronic equipment
WO2022007681A1 (en) * 2020-07-08 2022-01-13 中兴通讯股份有限公司 Photographing control method, mobile terminal, and computer readable storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101572804A (en) * 2009-03-30 2009-11-04 浙江大学 Multi-camera intelligent control method and device
CN102263900A (en) * 2010-05-26 2011-11-30 佳能株式会社 Image processing apparatus and image processing method
CN103354596A (en) * 2012-02-13 2013-10-16 宏达国际电子股份有限公司 Auto burst image capture method applied to a mobile device, method for tracking an object applied to a mobile device, and related mobile device
CN105430262A (en) * 2015-11-17 2016-03-23 小米科技有限责任公司 Photographing control method and photographing control device
CN105472246A (en) * 2015-12-22 2016-04-06 努比亚技术有限公司 Photographing device and method
CN107094235A (en) * 2017-04-07 2017-08-25 维沃移动通信有限公司 A kind of photographic method and mobile terminal
CN107786811A (en) * 2017-10-20 2018-03-09 维沃移动通信有限公司 A kind of photographic method and mobile terminal
CN109076159A (en) * 2016-04-01 2018-12-21 三星电子株式会社 Electronic equipment and its operating method

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101572804A (en) * 2009-03-30 2009-11-04 浙江大学 Multi-camera intelligent control method and device
CN102263900A (en) * 2010-05-26 2011-11-30 佳能株式会社 Image processing apparatus and image processing method
CN103354596A (en) * 2012-02-13 2013-10-16 宏达国际电子股份有限公司 Auto burst image capture method applied to a mobile device, method for tracking an object applied to a mobile device, and related mobile device
CN105430262A (en) * 2015-11-17 2016-03-23 小米科技有限责任公司 Photographing control method and photographing control device
CN105472246A (en) * 2015-12-22 2016-04-06 努比亚技术有限公司 Photographing device and method
CN109076159A (en) * 2016-04-01 2018-12-21 三星电子株式会社 Electronic equipment and its operating method
CN107094235A (en) * 2017-04-07 2017-08-25 维沃移动通信有限公司 A kind of photographic method and mobile terminal
CN107786811A (en) * 2017-10-20 2018-03-09 维沃移动通信有限公司 A kind of photographic method and mobile terminal

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022007681A1 (en) * 2020-07-08 2022-01-13 中兴通讯股份有限公司 Photographing control method, mobile terminal, and computer readable storage medium
CN111770279A (en) * 2020-08-03 2020-10-13 维沃移动通信有限公司 Shooting method and electronic equipment
CN111770279B (en) * 2020-08-03 2022-04-08 维沃移动通信有限公司 Shooting method and electronic equipment

Similar Documents

Publication Publication Date Title
US11265531B2 (en) Systems and methods of creating a three-dimensional virtual image
CN110058685A (en) Display methods, device, electronic equipment and the computer readable storage medium of virtual objects
CN112733820B (en) Obstacle information generation method and device, electronic equipment and computer readable medium
CN112073748B (en) Panoramic video processing method and device and storage medium
EP3968131A1 (en) Object interaction method, apparatus and system, computer-readable medium, and electronic device
CN109410253B (en) For generating method, apparatus, electronic equipment and the computer-readable medium of information
CN110062176A (en) Generate method, apparatus, electronic equipment and the computer readable storage medium of video
WO2022042290A1 (en) Virtual model processing method and apparatus, electronic device and storage medium
CN110062157A (en) Render method, apparatus, electronic equipment and the computer readable storage medium of image
WO2021254502A1 (en) Target object display method and apparatus and electronic device
WO2022007627A1 (en) Method and apparatus for implementing image special effect, and electronic device and storage medium
CN110047122A (en) Render method, apparatus, electronic equipment and the computer readable storage medium of image
CN110084154B (en) Method and device for rendering image, electronic equipment and computer readable storage medium
CN110033423A (en) Method and apparatus for handling image
CN110740309B (en) Image display method and device, electronic equipment and storage medium
CN110263918A (en) Method, apparatus, electronic equipment and the computer readable storage medium of training convolutional neural networks
CN110062158A (en) Control method, apparatus, electronic equipment and the computer readable storage medium of filming apparatus
CN109981989A (en) Render method, apparatus, electronic equipment and the computer readable storage medium of image
CN110264539A (en) Image generating method and device
CN112270242B (en) Track display method and device, readable medium and electronic equipment
CN111833459B (en) Image processing method and device, electronic equipment and storage medium
CN110047126B (en) Method, apparatus, electronic device, and computer-readable storage medium for rendering image
WO2023025085A1 (en) Audio processing method and apparatus, and device, medium and program product
CN109816791B (en) Method and apparatus for generating information
CN110084306A (en) Method and apparatus for generating dynamic image

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: 20190726