CN108063859A - A kind of automatic camera control method, terminal and computer storage media - Google Patents

A kind of automatic camera control method, terminal and computer storage media Download PDF

Info

Publication number
CN108063859A
CN108063859A CN201711052685.4A CN201711052685A CN108063859A CN 108063859 A CN108063859 A CN 108063859A CN 201711052685 A CN201711052685 A CN 201711052685A CN 108063859 A CN108063859 A CN 108063859A
Authority
CN
China
Prior art keywords
distance
terminal
subject
camera
user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201711052685.4A
Other languages
Chinese (zh)
Other versions
CN108063859B (en
Inventor
刘赣
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nubia Technology Co Ltd
Original Assignee
Nubia 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 Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201711052685.4A priority Critical patent/CN108063859B/en
Publication of CN108063859A publication Critical patent/CN108063859A/en
Application granted granted Critical
Publication of CN108063859B publication Critical patent/CN108063859B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72457User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to geographic location
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/52Details of telephonic subscriber devices including functional features of a camera

Abstract

The invention discloses a kind of automatic camera control method, terminal and computer storage media, this method includes obtaining the first distance between terminal and the first subject;By the first distance compared with pre-set standard shooting distance;When definite first distance matches with standard shooting distance, the image data of the first subject of camera automatic collection of the terminal is controlled;The automatic photo function of terminal is realized, the efficiency of user's self-timer is greatly improved, simplifies the photographing operation of user;The invention also discloses a kind of terminal and computer storage medias, by implementing said program, solve the problem of inconvenient when existing user's operation terminal is taken pictures, users' satisfaction degree is low.

Description

A kind of automatic camera control method, terminal and computer storage media
Technical field
The present invention relates to video-photographic technical field, more specifically to a kind of automatic camera control method, terminal and Computer storage media.
Background technology
More and more innovation and creation come from people and the observation in life usually are got, for example improve phase The zoom function of machine just comes from research of the researcher to human eye structure, it was found that the original focused during video imaging Reason.In the next research of researcher, finder just can be very during walking in the situation that closed one eye eyeball Be hard to keep balance, and if there is object is in the quick movement to draw near, people is in situation also more difficult this object of judgement of one eye eyeball Body and the distance of oneself.Later researcher finds that people can be easy to the distance to an object when two eyes are all opened It is positioned, and but after people closes one of eyes, stationkeeping ability will decline very much.Then inspired by this, it is double to take the photograph As head comes into being.
Dual camera is exactly the application for simulating human eye, and the effect taken pictures can be more preferable, and the mobile phone of mainstream all uses at present The configuration of postposition dual camera, but since front camera is all single camera, the effect taken pictures is generally not as good as postposition Dual camera, but cannot see that screen when user wants and carries out self-timer using rear camera and is difficult to take satisfied self-timer According to.As mobile phone screen is increasing, it also can be difficult to press shooting key again to carry out self-timer that user, which is extended in self-timer after arm, sternly User experience is affected again.
The content of the invention
The technical problem to be solved in the present invention is:A kind of scheme of new automatic camera is provided, to solve existing take pictures In the process, it is necessary to user be manually operated, especially self-timer when it is inconvenient the problem of.For the technical problem, one kind is provided certainly Dynamic camera control method, terminal and computer storage media.
In order to solve the above technical problems, the present invention provides a kind of automatic camera control method, the automatic camera controlling party Method includes:
Obtain the first distance between terminal and the first subject;
By first distance compared with pre-set standard shooting distance;
When definite first distance matches with the standard shooting distance, the camera for controlling the terminal is automatic Gather the image data of first subject.
Optionally, it is described obtain between terminal and the first subject first apart from the step of
Including:
Gather the testing image data of first subject in real time by the dual camera of the terminal, according to work as Before the testing image data that collect calculate first distance
Optionally, the pre-set standard shooting distance is that the standard picture selected based on user is determined, including:
The terminal receive it is external issue for the setting of the standard shooting distance to be set to instruct when, described During terminal and the distance change of the second subject, by the dual camera of the terminal with prefixed time interval to institute The image for stating the second subject is acquired, with obtain between the terminal and second subject difference away from From when image to be selected, receive it is external instruction is selected to the image to be selected, select the selected institute of instruction according to described The second distance between standard picture when standard picture calculates standard picture described in the terminal taking is stated, by described the Two distances are used as the standard shooting distance.
Optionally, the image data of the first subject described in the camera automatic collection in the control terminal The step of before, the automatic camera control method further includes:
It is same target to determine first subject and second subject, and according to described first away from Auto-focusing processing is carried out to first subject.
Optionally, it is described to determine that the step of first distance matches with the standard shooting distance includes:
When judging that first distance is equal to the standard shooting distance, determine that first distance is clapped with the standard Photographic range matches;
Or, when judging that first distance is in the error range of the standard shooting distance, determine described first away from Match from the standard shooting distance.
Optionally, the image data of the first subject described in the camera automatic collection of the control terminal After step, further include:Judge first subject for face when, the facial image taken is carried out at U.S. face Reason.
Optionally, the image data of the first subject described in the camera automatic collection in the control terminal The step of before, the automatic camera control method further includes:
Imager coordinate of first subject on terminal display is obtained, and judges that the imager coordinate exists In the range of preset coordinate.
Optionally, when judging the imager coordinate not in the range of the preset coordinate, calculate the imager coordinate with The offset of the preset coordinate scope generates alarm prompt according to the offset.
Further, the present invention also provides a kind of terminal, the terminal includes processor, memory and communication bus;
The communication bus is used to implement the connection communication between processor and memory;
The processor is used to perform one or more program stored in memory, to realize described in any of the above-described Automatic camera control method the step of.
Further, the present invention also provides a kind of computer storage media, the computer storage media is stored with one A or multiple programs, one or more of programs can be performed by one or more processor, as above any to realize Described in automatic camera control method the step of.
Advantageous effect
The present invention provides a kind of automatic camera control method, terminal and computer storage media, is utilized for existing user The defects of camera needs to press shooting key, influence user experience when taking pictures;By obtain terminal and the first subject it Between the first distance, by first distance compared with pre-set standard shooting distance, determine described first away from During from matching with the standard shooting distance, the first subject described in the camera automatic collection of the terminal is controlled Image data;It realizes user and only needs terminal being moved to default standard shooting distance when taking pictures can be realized and take pictures, The effect of shooting key need not be pressed again, solve in the shooting of existing target and self-timer it is complicated for operation, be difficult to be manually pressed by shooting The problem of key, users' satisfaction degree is low.
Description of the drawings
Below in conjunction with accompanying drawings and embodiments, the invention will be further described, in attached drawing:
The hardware architecture diagram of Fig. 1 each optional mobile terminals of embodiment one to realize the present invention;
Fig. 2 is the electrical structure block diagram of the camera of mobile terminal as shown in Figure 1;
Fig. 3 is the automatic camera control method basic flow chart that first embodiment of the invention provides;
Fig. 4 is the self-timer schematic diagram for the existing mobile phone that first embodiment of the invention provides;
Fig. 5 is the front and rear camera schematic diagram for the terminal that first embodiment of the invention provides;
Fig. 6 is the automatic camera control method refined flow chart that second embodiment of the invention provides;
Fig. 7 is the structure diagram for the terminal that third embodiment of the invention provides;
Fig. 8 is the back postposition dual camera self-timer schematic diagram that second embodiment of the invention provides;
Fig. 9 is that the double camera shooting self-timer users of the back postposition that provides of second embodiment of the invention take pictures the undesirable signal of effect Figure;
Figure 10 is the flow diagram for the terminal applies automatic camera control method that third embodiment of the invention provides.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
In subsequent description, using for representing that the suffix of such as " module ", " component " or " unit " of element is only Be conducive to the explanation of the present invention, itself there is no a specific meaning.Therefore, " module ", " component " or " unit " can mix Ground uses.
Terminal can be implemented in a variety of manners.For example, terminal described in the present invention can include such as mobile phone, tablet Computer, laptop, palm PC, personal digital assistant (Personal Digital Assistant, PDA), portable The shiftings such as media player (Portable Media Player, PMP), guider, wearable device, Intelligent bracelet, pedometer The dynamic fixed terminals such as terminal and number TV, desktop computer.
It will be illustrated in subsequent descriptions by taking mobile terminal as an example, it will be appreciated by those skilled in the art that except special For moving outside the element of purpose, construction according to the embodiment of the present invention can also apply to the terminal of fixed type.
Referring to Fig. 1, a kind of hardware architecture diagram of its mobile terminal of each embodiment to realize the present invention, the shifting Dynamic terminal 100 can include:RF (Radio Frequency, radio frequency) unit 101, WiFi module 102, audio output unit 103rd, A/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108th, the components such as memory 109, processor 110 and power supply 111.It will be understood by those skilled in the art that shown in Fig. 1 Mobile terminal structure does not form the restriction to mobile terminal, and mobile terminal can be included than illustrating more or fewer components, Either combine some components or different components arrangement.
The all parts of mobile terminal are specifically introduced with reference to Fig. 1:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, signal sends and receivees, specifically, by base station Downlink information receive after, handled to processor 110;In addition, by the data sending of uplink to base station.In general, radio frequency unit 101 Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, it penetrates Frequency unit 101 can also be communicated by wireless communication with network and other equipment.Above-mentioned wireless communication can use any communication Standard or agreement include but not limited to GSM (Global System of Mobile communication, global system for mobile telecommunications System), GPRS (General Packet Radio Service, general packet radio service), CDMA2000 (Code Division Multiple Access 2000, CDMA 2000), WCDMA (Wideband Code Division Multiple Access, wideband code division multiple access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access, TD SDMA), FDD-LTE (Frequency Division Duplexing-Long Term Evolution, frequency division duplex Long Term Evolution) and TDD-LTE (Time Division Duplexing-Long Term Evolution, time division duplex Long Term Evolution) etc..
WiFi belongs to short range wireless transmission technology, and mobile terminal can help user to receive and dispatch electricity by WiFi module 102 Sub- mail, browsing webpage and access streaming video etc., it has provided wireless broadband internet to the user and has accessed.Although Fig. 1 shows Go out WiFi module 102, but it is understood that, and must be configured into for mobile terminal is not belonging to, it completely can be according to need It to be omitted in the scope of essence for not changing invention.
Audio output unit 103 can be in call signal reception pattern, call mode, record mould in mobile terminal 100 Formula, speech recognition mode, broadcast reception mode when under isotypes, by radio frequency unit 101 or WiFi module 102 it is receiving or The voice data stored in memory 109 is converted into audio signal and exports as sound.Moreover, audio output unit 103 The relevant audio output of specific function performed with mobile terminal 100 can also be provided (for example, call signal receives sound, disappears Breath receives sound etc.).Audio output unit 103 can include loud speaker, buzzer etc..
A/V input units 104 are used to receive audio or video signal.A/V input units 104 can include graphics processor (Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition mode Or the static images or the image data of video obtained in image capture mode by image capture apparatus (such as camera) carry out Reason.Treated, and picture frame may be displayed on display unit 106.Through graphics processor 1041, treated that picture frame can be deposited Storage is sent in memory 109 (or other storage mediums) or via radio frequency unit 101 or WiFi module 102.Mike Wind 1042 can connect in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphone 1042 Quiet down sound (voice data), and can be voice data by such acoustic processing.Audio that treated (voice) data can To be converted to the form output that mobile communication base station can be sent to via radio frequency unit 101 in the case of telephone calling model. Microphone 1042 can implement various types of noises elimination (or inhibition) algorithms and send and receive sound to eliminate (or inhibition) The noise generated during frequency signal or interference.
Mobile terminal 100 further includes at least one sensor 105, such as optical sensor, motion sensor and other biographies Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein, ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 1061, and proximity sensor can close when mobile terminal 100 is moved in one's ear Display panel 1061 and/or backlight.As one kind of motion sensor, accelerometer sensor can detect in all directions (general For three axis) size of acceleration, size and the direction of gravity are can detect that when static, the application available for identification mobile phone posture (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.; The fingerprint sensor that can also configure as mobile phone, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, The other sensors such as hygrometer, thermometer, infrared ray sensor, details are not described herein.
Display unit 106 is used to show by information input by user or be supplied to the information of user.Display unit 106 can wrap Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode may be employed Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 1061.
User input unit 107 can be used for the number for receiving input or character information and generation and the use of mobile terminal The key signals input that family is set and function control is related.Specifically, user input unit 107 may include touch panel 1071 with And other input equipments 1072.Touch panel 1071, also referred to as touch-screen, collect user on it or neighbouring touch operation (for example user uses any suitable objects such as finger, stylus or attachment on touch panel 1071 or in touch panel 1071 Neighbouring operation), and corresponding attachment device is driven according to preset formula.Touch panel 1071 may include touch detection Two parts of device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation band The signal come, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and by it Contact coordinate is converted into, then gives processor 110, and the order that processor 110 is sent can be received and performed.It in addition, can To realize touch panel 1071 using polytypes such as resistance-type, condenser type, infrared ray and surface acoustic waves.Except touch panel 1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can wrap It includes but is not limited to physical keyboard, in function key (such as volume control button, switch key etc.), trace ball, mouse, operation lever etc. One or more, do not limit herein specifically.
Further, touch panel 1071 can cover display panel 1061, when touch panel 1071 detect on it or After neighbouring touch operation, processor 110 is sent to determine the type of touch event, is followed by subsequent processing device 110 according to touch thing The type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, touch panel 1071 and display panel 1061 be the component independent as two to realize the function that outputs and inputs of mobile terminal, but in certain embodiments, it can The function that outputs and inputs of mobile terminal is realized so that touch panel 1071 and display panel 1061 is integrated, is not done herein specifically It limits.
Interface unit 108 be used as at least one external device (ED) be connected with mobile terminal 100 can by interface.For example, External device (ED) can include wired or wireless head-band earphone port, external power supply (or battery charger) port, wired or nothing Line data port, memory card port, the port for device of the connection with identification module, audio input/output (I/O) end Mouth, video i/o port, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, number It is believed that breath, electric power etc.) and the input received is transferred to one or more elements in mobile terminal 100 or can be with For transmitting data between mobile terminal 100 and external device (ED).
Memory 109 can be used for storage software program and various data.Memory 109 can mainly include storing program area And storage data field, wherein, storing program area can storage program area, application program (such as the sound needed at least one function Sound playing function, image player function etc.) etc.;Storage data field can store according to mobile phone use created data (such as Voice data, phone directory etc.) etc..In addition, memory 109 can include high-speed random access memory, can also include non-easy The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of mobile terminal, utilizes each of various interfaces and the entire mobile terminal of connection A part is stored in storage by running or performing the software program being stored in memory 109 and/or module and call Data in device 109 perform the various functions of mobile terminal and processing data, so as to carry out integral monitoring to mobile terminal.Place Reason device 110 may include one or more processing units;Preferably, processor 110 can integrate application processor and modulatedemodulate is mediated Device is managed, wherein, the main processing operation system of application processor, user interface and application program etc., modem processor is main Handle wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
Mobile terminal 100 can also be included to the power supply 111 (such as battery) of all parts power supply, it is preferred that power supply 111 Can be logically contiguous by power-supply management system and processor 110, so as to realize management charging by power-supply management system, put The functions such as electricity and power managed.
Although Fig. 1 is not shown, mobile terminal 100 can also be including bluetooth module etc., and details are not described herein.
Fig. 2 is the electrical structure block diagram of camera.
Phtographic lens 1211 is made of the multiple optical lens for being used to be formed shot object image, is single-focus lens or varifocal mirror Head.Phtographic lens 1211 can move in the direction of the optical axis under the control of lens driver 1221, lens driver 1221 According to the control signal from lens driving control circuit 1222, the focal position of control phtographic lens 1211, in zoom lens In the case of, it also can control focal length.Lens driving control circuit 1222 is according to the control command from microcomputer 1217 Carry out the drive control of lens driver 1221.
It is configured with and takes the photograph near the position of the shot object image formed on the optical axis of phtographic lens 1211, by phtographic lens 1211 Element 1212.Photographing element 1212 is used to image shot object image and obtain image data.On photographing element 1212 Two dimension and it is arranged in a matrix the photodiode for forming each pixel.Each photodiode generates photoelectricity corresponding with light income Switching current, the opto-electronic conversion electric current carry out charge accumulation by the capacitor being connected with each photodiode.The preceding table of each pixel Face is configured with the RGB colour filters of bayer arrangement.
Photographing element 1212 is connected with imaging circuit 1213, which carries out charge in photographing element 1212 Accumulation control and picture signal read control, and the picture signal (analog picture signal) of the reading is reduced and is carried out after resetting noise Waveform shaping, and then gain raising etc. is carried out to become appropriate signal level.
Imaging circuit 1213 is connected with A/D converter 1214, which carries out modulus to analog picture signal Conversion, to 1227 output digital image signal (hereinafter referred to as image data) of bus.
Bus 1227 is for being transmitted in the transmitting path for the various data that the inside of camera reads or generates.In bus 1227 are connected to above-mentioned A/D converter 1214, are additionally connected to image processor 1215, jpeg processor 1216, microcomputer Calculation machine 1217, SDRAM (Synchronous Dynamic random access memory, Synchronous Dynamic Random Access Memory) 1218th, memory interface (hereinafter referred to as memory I/F) 1219, LCD (Liquid Crystal Display, liquid crystal display Device) driver 1220.
Image processor 1215 carries out OB to the image data of the output based on photographing element 1212 and subtracts each other processing, white balance Adjustment, color matrix computing, gamma conversion, colour difference signal processing, noise removal process while change processing, edge treated etc. are each Kind image procossing.Jpeg processor 1216 is when by Imagery Data Recording in recording medium 1225, according to JPEG compression mode pressure Contract the image data read from SDRAM1218.In addition, jpeg processor 1216 carries out JPEG in order to which image reproducing is carried out to show The decompression of image data.When unziping it, the file being recorded in recording medium 1225 is read, in jpeg processor 1216 In implement decompression after, the image data of decompression is temporarily stored in SDRAM1218 and is carried out on LCD1226 Display.In addition, in the present embodiment, as compression of images decompression mode using JPEG modes, however Compress softwares Contracting mode is without being limited thereto, it is of course possible to using MPEG, TIFF, other compressed and decompressed modes such as H.264.
Microcomputer 1217 plays the function of the control unit as camera entirety, is uniformly controlled the various processing of camera Sequence.Microcomputer 1217 is connected to operating unit 1223 and flash memory 1224.
Operating unit 1223 includes but not limited to physical button or virtual key, and the entity or virtual key can be electricity Source button, camera button, edit key, dynamic image button, reproduction button, menu button, cross key, OK button, delete button, The operational controls such as the various load buttons such as large buttons and various enter keys detect the mode of operation of these operational controls,.
Testing result is exported to microcomputer 1217.In addition, the front surface in the LCD1226 as display is equipped with Touch panel detects the touch location of user, which is exported to microcomputer 1217.Microcomputer 1217 According to the testing result of the operating position from operating unit 1223, various processing sequences corresponding with the operation of user are performed.
Flash memory 1224 stores to perform the program of the various processing sequences of microcomputer 1217.Microcomputer 1217 The control of camera entirety is carried out according to the program.In addition, flash memory 1224 stores the various adjusted values of camera, microcomputer 1217 Adjusted value is read, the control of camera is carried out according to the adjusted value.
SDRAM1218 be for image data etc. temporarily stored can electricity rewrite volatile memory.It should SDRAM1218 temporarily storages are from the image data of the output of A/D converter 1214 and in image processor 1215, jpeg processor The image data that carried out that treated in 1216 grades.
Memory interface 1219 is connected with recording medium 1225, into the text be about to image data He be attached in image data The first-class data write-in recording medium 1225 of part and the control read from recording medium 1225.Recording medium 1225 is, for example, can The recording mediums such as memory card of disassembled and assembled freely on camera main-body, however it is without being limited thereto or be built in camera main-body In hard disk etc..
LCD driver 1210 is connected with LCD1226, will treated that image data is stored in by image processor 1215 SDRAM1218 reads the image data of SDRAM1218 storages and is shown on LCD1226, alternatively, at JPEG, it is necessary to when showing The compressed image data of reason device 1216 is stored in SDRAM1218, and when needing display, jpeg processor 1216 is read The compressed image data of SDRAM1218, then unzip it, the image data after decompression is carried out by LCD1226 Display.
LCD1226 configurations perform image display at the back side of camera main-body.The LCD1226LCD, however it is without being limited thereto, The various display panels such as organic EL (LCD1226) may be employed, however it is without being limited thereto, the various displays such as organic EL can also be used Panel.
Electrical structure schematic diagram based on above-mentioned mobile terminal hardware configuration and camera proposes that image pickup method of the present invention is each A embodiment.
First embodiment
In order to be better understood on the present invention, the present embodiment provides a kind of automatic camera control method, Fig. 3 is the present embodiment The automatic camera control method basic flow chart of offer, the automatic camera control method include:
S301:Obtain the first distance between terminal and the first subject.
It is any with equipped with camera that terminal in the present embodiment includes but not limited to mobile phone, tablet computer, notebook etc. With the terminal of camera function.In existing shooting process, when user is needed using the function of taking pictures, user can open camera shooting Head application program, at the same time the application program camera hardware capability can also be called to open camera, camera is current Acquired image display refers to Fig. 4 on the screen of terminal, when user needs using terminal camera 42 to take pictures, just Shooting button 41 can be pressed current acquired image is shot and preserved, but often in actual use, It cannot accurately touch and press to the shooting case 41.
In the present invention, in the shooting function of using terminal, terminal can first obtain terminal and be taken with first user The first distance between object, it is to be understood that the mode for obtaining terminal and current subject distance is a variety of in fact Various, for example use infrared induction technology, ultrasonic technology etc..Existing arbitrary inspection may be employed in the mode specifically detected Survey mode, details are not described herein.
In the present embodiment, for the ease of the realization of technology, the dual camera that terminal may be employed carrys out survey into row distance Fixed, as shown in figure 5, label 51 is preposition single camera, label 52 is postposition dual camera, and Fig. 5 is showing for general existing mobile phone It is intended to, back is postposition dual camera, and forepart is preposition single camera, in order to make it easy to understand, we can will be worked as by camera The object of preceding normal photographing is referred to as the first subject, and working as preceding camera or terminal, (default camera head and terminal are one A entirety) and the distance between the first subject be referred to as the first distance.Gather the in real time by the dual camera of terminal The testing image data of one subject can calculate the first distance according to the testing image data currently collected, It will be appreciated by persons skilled in the art that dual camera is carried out shooting and then just obtained by post-processing at the same time in fact Being ultimately imaged on terminal screen, so each testing image data all include one of camera institute in dual camera The image captured by another camera in the image and dual camera of shooting, between the two there are certain parallax, thus Terminal can be calculated according to the distance between parallax and dual camera between terminal and the object being taken on backstage Distance, that is, can be obtained by the first distance.
During user uses the camera function of camera, terminal can get the first distance.It needs to illustrate , it is unavoidable to be present with terminal and be rocked and be moved in some scenes, then at this time camera be difficult into Row stablize and focusing, then for the acquisition of the first distance will lead to the problem of it is many be even difficult to obtain, and may The consumption of substantial amounts of electricity is generated, so it can be carried out in fact after camera is opened to obtain the first distance in some instances When obtain or detecting that present terminal be in a state that a relatively stabilization can realize focusing, just beginning is in real time The first distance between terminal and the first subject is obtained, if detecting that terminal may not be currently one and can shoot State when can so suspend this function.
S302:By the first distance compared with pre-set standard shooting distance.
Getting first between terminal and the first subject distance after, it is possible to by the first distance with it is pre- If standard shooting distance be compared, it is necessary to illustrate, in the present embodiment, pre-set standard shooting distance can be with It is that the standard picture selected based on user is determined, understands for convenience, definite for standard shooting distance can passes through end What the camera at end shot object, the object being taken during definite standard shooting distance can be referred to as second Subject, then determine that terminal and the distance of the second subject can be referred to as during standard shooting distance Two distances.
Terminal receive it is external issue for the setting of standard shooting distance to be set to instruct when, in terminal and the second quilt During the distance change of reference object, by the dual camera of terminal with prefixed time interval to second subject Image be acquired, to obtain the image to be selected between terminal and the second subject in different distance, receive outer Portion, which treats, to be selected image and selects instruction, according to select instruct the selected standard picture computing terminal to shoot standard picture when with mark Second distance between quasi- image, using the second distance as standard shooting distance.It is understood that in some scenes In, can mobile phone camera be opened by such as user, " double to take the photograph ranging automatic camera " function be opened in camera configuration, mobile phone can User to be prompted to hold mobile phone slowly away from the second subject shot, slowly away from during, mobile phone The image of the second subject is shot with prefixed time interval by dual camera, wherein default time interval can With the shorter of setting, then obtained standard shooting distance can be more accurate, and what can also be set is longer, then user need not wave Take the too many time in the selection of photo to be selected.Several picture numbers that mobile phone can automatically snap in this process, obtain To the image to be selected between terminal and the second subject in different distance, every picture cell phone to be selected may all can Its corresponding distance is calculated, user can select oneself to think that shooting effect is the most satisfied in these images to be selected One, then terminal will receive treat select picture select instruction, then system can most make user by this Satisfied image calculates the second distance corresponding to this image, then the second distance can serve as active user's setting Standard shooting distance.
In some examples, determining for standard shooting distance can also be that programming personnel pre-installs directly progress in shooting software Standard shooting distance that is setting or such as being obtained from media such as networks, can specifically take from the official of terminal The standard shooting distance of other mobile phone users setting is got on business device, a kind of that highest standard of access times is therefrom selected to clap Standard shooting distance of the photographic range as this mobile phone.According to different user demands, the setting of standard shooting distance can be more Kind of mode, user, which can carry out it redefining standard shooting distance, can also directly use Current standards shooting distance, such as Fruit may prompt user to carry out determining for standard shooting distance currently without standard shooting distance so mobile phone.
After default standard shooting distance is determined, it is possible to by the first distance and pre-set standard shooting distance It is compared.
S303:When definite first distance matches with standard shooting distance, the camera automatic collection of control terminal The image data of one subject.
After obtaining the first distance and being determined standard shooting distance, it is possible to by the first distance with it is pre-set Standard shooting distance is compared, and according to result of the comparison, when such as the first distance matches with standard shooting distance, then can be controlled Camera processed automatically snap the first current subject.But in the first quilt of camera automatic collection of control terminal Before the image data of reference object, we can also determine whether the first subject and the second subject are same Object, and when determining to belong to same target, then control terminal automatic camera;Further, can also before automatic camera, Auto-focusing processing is carried out to first subject according to first distance.Such as in a scene, user uses It is using the face of oneself as the second subject during pre-set standard shooting distance, then after being provided with, In shooting afterwards, mobile phone may first judge the first subject whether with the second subject for same target, For even active user when carrying out self-timer, mobile phone can directly judge that the face of active user is exactly to be determined standard Face during shooting distance is, it is necessary to which explanation is that this arbitration functions can be realized by functions such as recognitions of face. After the completion of judgement, mobile phone is chosen the second distance of characterization image to be selected when can be directly according to definite standard shooting distance Standard shooting distance during as current self-timer, and directly according to determine standard shooting distance when camera aperture focusing situation come The auto-focusing of this self-timer is carried out, the time of handset processes focusing is so shortened, efficiency during user's self-timer can be promoted.
On this basis, it is to be understood that in some scenes, if the first subject and second is taken pair As be not for same target, if but the first subject and the second subject are all faces, simply according to face Identify it is not same face, mobile phone current first subject can equally be carried out according to the first distance and the second quilt The same auto-focusing processing of reference object, because it is all face to be all based on the first subject and the second subject On the basis of the shooting that carries out, it is possible in the case of being all self-timer, the situation difference focused in fact is not very big.Another In a little examples, if the first subject and the second subject, which are all certain similar objects, such as claps landscape and whole man Object etc., then can similarly carry out similar processing.
When definite first distance matches with the standard shooting distance, in order to obtain a preferably matching Effect avoids user from wasting the too many time when finding the shooting distance of automatic shooting, can be that the first distance and standard are clapped Matching between photographic range sets certain margin of error.Wherein, in ideal conditions, if it can be determined that the first distance etc. When standard shooting distance, then it can determine that the first distance just matches with standard shooting distance.But in some scenes In, we are required for as the first distance allowable error certain with the match settings of standard shooting distance, to avoid the first distance It is difficult to match the situation for causing to automatically snap functional failure with standard shooting distance, it is to be understood that in allowed limits, First distance of judgement of " rough " is as the photo that the standard shooting distance matches and automatically snaps out possible acquisition The accreditation of user, it is possible to which being set later by the error amount for allowing the definite value plus-minus of standard shooting distance becomes one A value range can think the first distance and the standard shooting distance phase after the first distance falls into the value range Match somebody with somebody;It can also judge that the first distance with the standard shooting distance is close by other mechanism, can equally recognize Match for the first distance and the standard shooting distance.
It should be noted that in order to avoid it is possible that after the first distance falls into the value range of standard shooting distance just The function of automatic camera is ceaselessly carried out, interval time and the focusing time of automatic camera can be set, for example works as user When holding mobile phone progress self-timer, current first distance falls into the value range of standard shooting distance, will not take pictures immediately, but Focusing time, which can be reserved, waits mobile phone to complete automatic camera again after focusing, can in a short time will not be again after automatic camera Secondary automatic camera can so avoid the occurrence of the situation for shooting very multiple pictures.The interval time of automatic camera and focusing Time can be time set by user or mobile phone researcher after research when pre-installing cell phone software The relatively reasonable time set or other rational set-up modes.
It, can be to image after the image data of first subject described in camera automatic collection in control terminal Data are analyzed, if it is decided that when the first subject is face, face that can be according to the selection of user to taking Image carries out U.S. face processing, in other scenes, if it is decided that the first subject for it is non-face when, equally can according to The selection at family carries out a degree of landscaping treatment to the inhuman face image taken, for example the night photograph shot can be to it It carries out eliminating the processing such as furious or reduction photo noise so that entire photo obtains beautification to a certain extent.
In order to which the photo for ensureing to make automatic shooting reaches a better effect, make subject at the center of picture, In some embodiments, can also before the image data of the first subject of camera automatic collection of control terminal, The imager coordinate of the current image that is taken of acquisition, and compared with the coordinate of mobile phone screen, to ensure to be taken, image is in In mobile phone screen.Under some scenes, it may ensure that the first subject is in the scope of screen when shooting Interior, the photo that such automatic camera comes out is only possible to the accreditation that larger probability obtains user, for example user is carrying out self-timer In the process, mobile phone captures the current face mask information of user by camera, if the mobile phone back that user uses Camera is shot, i.e., user may cannot see mobile phone screen, and one whether cannot can be also obtained to face preferably Effect of taking pictures be guaranteed, user stretch out hold the arm of mobile phone when, may it is current first distance met mark The requirement of quasi- shooting distance, but camera is directed at the face of oneself by user not yet, it is possible that only there are one half faces in mobile phone In screen, then mobile phone captures the current face mask information of user and judges the imager coordinate of face not default at this time In coordinate range, then would not also be automatically snapped.When user by mobile phone camera be targeted by oneself face namely this When user face when can completely appear in mobile phone screen, mobile phone may judge the imager coordinate of face in preset coordinate model In enclosing, automatic camera may will be carried out after focusing.It should be noted that judging imager coordinate not in preset coordinate model When enclosing interior, imager coordinate and the offset of preset coordinate scope are calculated, alarm prompt prompting user is generated according to offset, For example detect that the face of user is imaged not in the range of preset coordinate, for example not in screen, mobile phone can send language Tone alerts such as drip drop sound, can also be shaken to inform user, it is to be understood that if the face of user is imaged on screen Lower section, mobile phone capture the current face mask information of user at this time and judge the current face of user some In the lower section of screen, it is possible to send voice prompt " mobile phone please be move down " to inform that user is directed at camera.
There can also be auditory tone cues when mobile phone will carry out automatic camera, for example " drop drop " sound or be shaken, To prompt user that automatic camera has been completed.
The general existing mobile phone of acquiescence is all preposition single camera, postposition dual camera, if front camera is also double Camera, then distance measurement function can also be carried out when taking pictures with preposition dual camera by putting dual camera before use.
The present embodiment provides a kind of automatic camera control method, needed for existing user when taking pictures using camera by Key is shot, but because the defects of shooting key takes pictures, influences user experience can not easily be pressed;By obtain terminal with The first distance between first subject, by first distance compared with pre-set standard shooting distance, When definite first distance matches with the standard shooting distance, control described in the camera automatic collection of the terminal The image data of first subject;Realize user only needed when taking pictures by terminal be moved to the shooting of default standard away from It takes pictures from can be realized, the effect of shooting key need not be pressed again, then by being likely to occur order to photo during automatic camera The unsatisfied problem of user is more set, solve in the shooting of existing target and self-timer it is complicated for operation, be difficult to manually by The problem of lower shooting key, users' satisfaction degree is low.
Second embodiment
In order to be better understood on the present invention, the present embodiment combines the specific example of an automatic camera, provides one kind The specific method of automatic camera control, this embodiment assumes that user is taken pictures using mobile phone, in order to facilitate understanding and illustrating, The present embodiment equally using nouns such as the first distance, second distance, the first subject and the second subjects, specifically contains Justice is see first embodiment.Fig. 6 is the refined flow chart for the automatic camera control method that second embodiment of the invention provides, should be certainly Dynamic camera control method includes:
S601:User opens the automatic photo function of mobile phone.
When user plays outside, may need at any time using Self-timer, but may not carry again compared with The instruments such as the self-shooting bar and tripod that take up space.In the present embodiment, the mobile phone that user uses may be preposition single camera, after Put the mobile phone of dual camera, put before use stretched when single camera is taken pictures shooting key may be pressed after arm again will be very numb It is tired and inconvenient, and user wishes to obtain a better shooting effect, in be intended to using postposition dual camera carry out from It claps, screen may not be seen when reversely holding mobile phone.Then user opens the automatic photo function of mobile phone camera, uses The function of the automatic camera of mobile phone, it is assumed that user is to use this function for the first time, and programming personnel may be not pre- in mobile phone Standard shooting distance is set when filling software.
S602:User determines the standard shooting distance of mobile phone.
After the automatic photo function of mobile phone camera is opened, since user is to use automatic photo function and volume for the first time Cheng personnel do not set standard shooting distance, then mobile phone can first prompt user need to take pictures to standard distance into Row determines.In the present embodiment, user can be prompted to need reversely to hold mobile phone, by mobile phone postposition dual camera alignment user's Face, from bending arms to stretching, it is slowly moving reversely to hold mobile phone for this section of arm.During movement, mobile phone meeting Multiple are carried out to the face of user to take pictures, each photo mobile phone can all calculate corresponding second distance, in mobile phone completion pair The sampling of second shooting object can prompt user to select a photo the most satisfied from sample after taking pictures.User selects One photo of the best results of taking pictures oneself thought, selection complete after, mobile phone can prompt user determine standard shooting away from From finishing, automatic camera can be carried out.After a photo has been selected, mobile phone can be believed automatically according to the image data in photo Breath calculates second distance, then using this second distance as standard shooting distance.
In some instances, the standard shooting distance of terminal can also be directly is set by programming personnel or researcher It puts, it is self-timer mode that may just need user's selection, landscape configuration, and the isotypes such as personage's pattern select different standards to clap Photographic range, different screening-modes are to have corresponded to different shooting demands in fact, so the automatic camera of different screening-modes Standard shooting distance can also have differences, for example standard shooting distance may be at 1 meter or so under self-timer mode, and landscape configuration Standard shooting distance may be between 50 meters to 100 meters, the standard shooting distance of personage's pattern may be at 10 meters or so.It can be with Understand, screening-mode is diversified in fact, however it is not limited to above-described three kinds, only to facilitate understanding, no It can limit the scope of the invention.
Automatic photo function is opened in user and has selected that after corresponding exposal model automatic camera can also be carried out, Without carrying out determining for standard shooting distance, but if user is less satisfied with the photo that current automatic camera comes out, Can also be realized in setting to automatic camera distance again determine.In some instances, if terminal judgement is different use When family is taken pictures using mobile phone, probably due to user is different to the requirement taken pictures, it is possible that user can be prompted to need again Standard shooting distance is determined.
On this basis it will be appreciated that user for determining the different demands of standard shooting distance, i.e. take pictures mould by difference Standard shooting distance during formula is different.For example user can select self-timer mode, to the automatic camera standard of self-timer mode Shooting distance is determined, then user in self-timer mobile phone may will select this second distance as standard shoot away from From;User is also an option that personage's pattern, and to shooting, other people automatic camera standard shooting distance is determined, then Yong Hu Mobile phone may will select this second distance as standard shooting distance when shooting other people.So standard shooting distance of mobile phone There can be different second distances to support that similary user can also be to different shooting moulds as data under different screening-modes Standard shooting distance under formula carries out redefining operation.
S603:Self-timer is carried out using mobile phone, and completes automatic camera.
In the present embodiment, user is after the completion of definite standard shooting distance, it is possible to the automatic camera of self-timer is carried out, User can hold mobile phone, and the dual camera at back is directed at face, because dual camera can take better photo effect, The automatic camera control method of the present invention, can realize automatic camera in collocation.User is it is clear that cannot see that mobile phone at this time Screen the effect of taking pictures of screen display can not effectively be corrected, in the process that hold mobile phone and make a stretch of the arm In, after current first distance and standard shooting distance match, mobile phone can send prompt tone such as " dichloro-diphenyl-dichlorothane " sound, prompt to use Family can carry out automatic camera, and user can carry out expression and stabilized mobile phone, to facilitate the focusing of mobile phone, reach preferable Shooting effect, after automatic camera is completed, mobile phone can be simultaneously emitted by the expression of " click wiping " sound and complete automatic camera, Ran Houyong Family can check the photo of shooting.User key-press is not required in this process, it is only necessary to which user moves mobile phone Can complete automatic camera to satisfactory position and stabilization, after self-timer is completed mobile phone can to the picture taken pictures into The self-timer face of user is carried out U.S. face by row beautification, and certain user, which can also operate, checks which pictures artwork selection preserves.
It should be noted that user's mobile phone during self-timer can identify the face of user, current self-timer is determined User in fact and during standard shooting distance is determined the standard of self-timer take pictures distance user for same face or Person say all be people face, mobile phone can be directly according to determining to be chosen the second of characterization image to be selected in standard shooting distance Standard shooting distance when distance is as current self-timer, and directly according to the focusing feelings of camera aperture in the standard of determining shooting distance Condition carries out the auto-focusing of this self-timer, thus user in self-timer may focusing time can than being carried out under other exposal models It is fast.
If during taking pictures, because may be to be taken pictures with back dual camera, user may not see hand Machine screen, as shown in figure 8, it is possible that be present with the face of user not in the situation of mobile phone screen, as shown in figure 9, still this When user be that the face of oneself cannot be known not in mobile phone screen, then this automatic camera come out effect be certainly cannot Obtain the accreditation of user.For user during self-timer is carried out, mobile phone captures the current face of user by camera Profile information, the camera at the mobile phone back that user uses are shot, i.e., user may cannot see mobile phone screen, also A preferable effect of taking pictures whether cannot can be obtained to face to be guaranteed, and the arm that reversely hold mobile phone is stretched out in user When, current first distance has met the requirement of standard shooting distance, but camera is directed at oneself by user not yet Face, possible only there are one half faces in mobile phone screen, then mobile phone captures the current face mask information of user at this time And judge the imager coordinate of face not in the range of preset coordinate, then would not also be automatically snapped.When user is by mobile phone Camera is targeted by the face of oneself namely when the face of user can be completely appeared in mobile phone screen at this time, and mobile phone may Judge that in the range of preset coordinate, automatic camera may will be carried out after focusing for the imager coordinate of face.Judging to be imaged When coordinate is not in the range of preset coordinate, imager coordinate and the offset of preset coordinate scope are calculated, is generated and accused according to offset Alert prompt message prompting user, such as this exemplary face for detecting user are imaged not in the range of preset coordinate, that is, are not had Have in screen, mobile phone can send voice alarm " please moving up mobile phone to be directed at face ", can also be shaken to inform User.
The present embodiment provides a kind of automatic camera control methods, with reference to the specific example of an automatic camera, provide one The specific method of kind automatic camera control, this embodiment assumes that user is taken pictures using mobile phone, utilizes for existing user Camera needs to press shooting key when taking pictures, but takes pictures because shooting key can not easily be pressed, and influences user experience The defects of;By obtaining the first distance between terminal and the first subject, by first distance with it is pre-set Standard shooting distance is compared, and when definite first distance matches with the standard shooting distance, controls the end The image data of first subject described in the camera automatic collection at end;Realizing user only needs when taking pictures by terminal It is moved to default standard shooting distance and can be realized and take pictures, the effect of shooting key need not be pressed again, then by being carried to voice Show and function prompts user is waited to be modified the action and operation taken pictures during automatic camera, largely avoid to go out Now make the unsatisfied problem of user, solve in the shooting of existing target and self-timer it is complicated for operation, be difficult to be manually pressed by shooting key, use The problem of family user satisfaction is low.
3rd embodiment
A kind of terminal is present embodiments provided, it is shown in Figure 7, it is total including processor 701, memory 702 and communication Line 703, wherein:
Communication bus 703 is used to implement the connection communication between processor 701 and memory 702;
Processor 701 is used to perform one or more program stored in memory 702, to realize as above each embodiment Exemplified automatic camera control method.
The present embodiment also provides a kind of computer readable storage medium, one or more of computer-readable recording medium storage A program, by the communications cable, for being executed by processor, to realize the automatic camera control in appeal embodiment 1 and embodiment 2 Method processed.
Terminal provided in this embodiment can also realize a kind of automatic camera control method, for the sake of understanding, it is assumed that this The terminal of embodiment is tablet computer, and referring specifically to shown in Figure 10, which includes:
S1001:Tablet computer obtains standard shooting distance by network side.
In the present embodiment, user may connect WIFI hot spot or possible grafting when tablet computer is used Cable, then on the premise of customer flow is not wasted, tablet computer can be by accessing the network information or accessing terminal cloud The modes such as server are directly obtained the standard shooting distance of each pattern in automatic camera, in above-described embodiment to this A process describes, and in this not go into detail.After acquisition, if user opens automatic photo function, then can User will not can actively be prompted to need to be determined standard shooting distance, but user can also be again to standard shooting distance It is determined.
S1002:Obtain the first distance between tablet computer and the first subject.
For possessing dual camera or possessing for the tablet computer of distance measurement function, it is possible to obtain tablet computer and first The first distance between subject, for example treating for the first subject is gathered by the dual camera of tablet computer in real time Altimetric image data can calculate the first distance according to the testing image data currently collected, and those skilled in the art can With understanding, dual camera is carried out shooting and then just obtained on tablet computer screen by post-processing at the same time in fact It is ultimately imaged, so image and second camera shooting of each testing image data all including the shooting of the first camera Image, between the two there are certain parallax, so as to tablet computer can backstage according between parallax and dual camera away from From the distance between object that tablet computer can be calculated and be taken, that is, it can be obtained by the first distance.
S1003:By the first distance compared with the standard shooting distance obtained in advance.
Getting first between terminal and the first subject distance after, it is possible to by the first distance with it is pre- The standard shooting distance first obtained has been compared, it is necessary to illustrate, in the present embodiment, the standard shooting obtained in advance away from From being obtained from network side.User during mobile tablet computer, tablet computer will by the first distance of acquisition with Standard shooting distance is compared.
S1004:When determining that the first distance matches with standard shooting distance, the camera of tablet computer is controlled to carry out automatically It takes pictures.
In the present embodiment, after obtaining the first distance and being determined standard shooting distance, it is possible to by the first distance Compared with the standard shooting distance obtained in advance, according to result of the comparison, such as the first distance and standard shooting distance phase Timing, then can control camera automatically snap the first current subject.In some scenes, user does not have Self-timer is carried out using tablet computer, but tablet computer is used to carry out the shooting of personage, tablet computer will be to present image number According to being analyzed, find there is portrait in image, then can carry out judging that the shooting of personage may be being carried out.It is held in user flat When plate computer distance is clapped personage's certain distance, if current the first distance and standard shooting distance matches, then It will be focused and be taken pictures automatically.
The present embodiment provides a kind of terminal, the terminal applies automatic camera control method of the present invention, for existing user It needs when taking pictures to press shooting key using camera, it is impossible to realize the function of automatic camera;It is clapped by obtaining terminal with first The first distance between object is taken the photograph, by first distance compared with the standard shooting distance obtained in advance from network, When determining that first distance matches with the standard shooting distance, control described in the camera automatic collection of the terminal The image data of one subject;Realizing user only needs terminal being moved to default standard shooting distance when taking pictures It can be realized and take pictures, the effect of shooting key need not be pressed again, solve complicated for operation in being shot to existing target, it is impossible to automatic It takes pictures, the problem of users' satisfaction degree is low.
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row His property includes, so that process, method, article or device including a series of elements not only include those elements, and And it further includes other elements that are not explicitly listed or further includes as this process, method, article or device institute inherently Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including this Also there are other identical elements in the process of element, method, article or device.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on such understanding, technical scheme substantially in other words does the prior art Going out the part of contribution can be embodied in the form of software product, which is stored in a storage medium In (such as ROM/RAM, magnetic disc, CD), used including some instructions so that a tablet computer (can be mobile phone, computer takes Be engaged in device, air conditioner or the network equipment etc.) perform method described in each embodiment of the present invention.
The embodiment of the present invention is described above in conjunction with attached drawing, but the invention is not limited in above-mentioned specific Embodiment, above-mentioned specific embodiment is only schematical rather than restricted, those of ordinary skill in the art Under the enlightenment of the present invention, present inventive concept and scope of the claimed protection are not being departed from, can also made very much Form, these are belonged within the protection of the present invention.

Claims (10)

1. a kind of automatic camera control method, which is characterized in that the automatic camera control method includes:
Obtain the first distance between terminal and the first subject;
By first distance compared with pre-set standard shooting distance;
When definite first distance matches with the standard shooting distance, the camera automatic collection of the terminal is controlled The image data of first subject.
2. automatic camera control method as described in claim 1, which is characterized in that the acquisition terminal is taken pair with first As between first apart from the step of include:
The testing image data of first subject are gathered in real time by the dual camera of the terminal, according to currently adopting The testing image data collected calculate first distance.
3. automatic camera control method as described in claim 1, which is characterized in that the pre-set standard shooting distance It is that the standard picture selected based on user is determined, including:
The terminal receive it is external issue for the setting of the standard shooting distance to be set to instruct when, in the terminal During the distance change of the second subject, by the dual camera of the terminal with prefixed time interval to described The image of two subjects is acquired, to obtain between the terminal and second subject in different distance Image to be selected, receive it is external instruction is selected to the image to be selected, according to the mark for selecting and instructing and being selected When quasi- image calculates standard picture described in the terminal taking the second distance between the standard picture, by described second away from From as the standard shooting distance.
4. automatic camera control method as claimed in claim 3, which is characterized in that in the camera of the control terminal Described in automatic collection the step of the image data of the first subject before, the automatic camera control method further includes:
Determine that first subject and second subject are same target, and according to described first apart from right First subject carries out auto-focusing processing.
5. automatic camera control method as described in claim 1, which is characterized in that it is described determine first distance with it is described The step of standard shooting distance matches includes:
When judging that first distance is equal to the standard shooting distance, determine the shooting of first distance and the standard away from From matching;
Or, when judging that first distance is in the error range of the standard shooting distance, determine first distance with The standard shooting distance matches.
6. automatic camera control method as described in claim 1, which is characterized in that the camera of the control terminal is certainly After the step of image data of dynamic acquisition first subject, further include:Judging first subject For face when, U.S. face processing is carried out to the facial image that takes.
7. such as claim 1-6 any one of them automatic camera control methods, which is characterized in that in the control terminal Camera automatic collection described in the first subject image data the step of before, the automatic camera control method is also Including:
Imager coordinate of first subject on terminal display is obtained, and judges the imager coordinate default In coordinate range.
8. automatic camera control method as claimed in claim 7, which is characterized in that judging the imager coordinate not described When in the range of preset coordinate, the offset of the imager coordinate and the preset coordinate scope is calculated, is given birth to according to the offset Into alarm prompt.
9. a kind of terminal, which is characterized in that the terminal includes processor, memory and communication bus;
The communication bus is used to implement the connection communication between processor and memory;
The processor is used to perform one or more program stored in memory, to realize as appointed in claim 1-8 The step of automatic camera control method described in one.
10. a kind of computer storage media, which is characterized in that the computer storage media is stored with one or more journey Sequence, one or more of programs can be performed by one or more processor, to realize such as any one of claim 1-8 The step of described automatic camera control method.
CN201711052685.4A 2017-10-30 2017-10-30 Automatic photographing control method, terminal and computer storage medium Active CN108063859B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711052685.4A CN108063859B (en) 2017-10-30 2017-10-30 Automatic photographing control method, terminal and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711052685.4A CN108063859B (en) 2017-10-30 2017-10-30 Automatic photographing control method, terminal and computer storage medium

Publications (2)

Publication Number Publication Date
CN108063859A true CN108063859A (en) 2018-05-22
CN108063859B CN108063859B (en) 2021-03-12

Family

ID=62134839

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711052685.4A Active CN108063859B (en) 2017-10-30 2017-10-30 Automatic photographing control method, terminal and computer storage medium

Country Status (1)

Country Link
CN (1) CN108063859B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109144369A (en) * 2018-09-21 2019-01-04 维沃移动通信有限公司 A kind of image processing method and terminal device
CN109856617A (en) * 2019-01-24 2019-06-07 珠海格力电器股份有限公司 Image pickup method, device, processor and terminal based on microwave radar
CN110896445A (en) * 2018-09-13 2020-03-20 网易(杭州)网络有限公司 Method and device for triggering photographing operation, storage medium and electronic device
CN111199198A (en) * 2019-12-27 2020-05-26 深圳市优必选科技股份有限公司 Image target positioning method, image target positioning device and mobile robot
WO2021134311A1 (en) * 2019-12-30 2021-07-08 苏州臻迪智能科技有限公司 Method and apparatus for switching object to be photographed, and image processing method and apparatus

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101349148B1 (en) * 2013-10-08 2014-01-09 제일항업(주) Air shooting unit by using auto shooting system
CN104639837A (en) * 2015-02-28 2015-05-20 深圳市中兴移动通信有限公司 Method and device for setting shooting parameters
CN104918009A (en) * 2015-05-22 2015-09-16 魅族科技(中国)有限公司 Terminal scene display method and system
CN104994301A (en) * 2015-07-20 2015-10-21 魅族科技(中国)有限公司 Photographing method and terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101349148B1 (en) * 2013-10-08 2014-01-09 제일항업(주) Air shooting unit by using auto shooting system
CN104639837A (en) * 2015-02-28 2015-05-20 深圳市中兴移动通信有限公司 Method and device for setting shooting parameters
CN104918009A (en) * 2015-05-22 2015-09-16 魅族科技(中国)有限公司 Terminal scene display method and system
CN104994301A (en) * 2015-07-20 2015-10-21 魅族科技(中国)有限公司 Photographing method and terminal

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110896445A (en) * 2018-09-13 2020-03-20 网易(杭州)网络有限公司 Method and device for triggering photographing operation, storage medium and electronic device
CN109144369A (en) * 2018-09-21 2019-01-04 维沃移动通信有限公司 A kind of image processing method and terminal device
CN109856617A (en) * 2019-01-24 2019-06-07 珠海格力电器股份有限公司 Image pickup method, device, processor and terminal based on microwave radar
CN111199198A (en) * 2019-12-27 2020-05-26 深圳市优必选科技股份有限公司 Image target positioning method, image target positioning device and mobile robot
CN111199198B (en) * 2019-12-27 2023-08-04 深圳市优必选科技股份有限公司 Image target positioning method, image target positioning device and mobile robot
WO2021134311A1 (en) * 2019-12-30 2021-07-08 苏州臻迪智能科技有限公司 Method and apparatus for switching object to be photographed, and image processing method and apparatus

Also Published As

Publication number Publication date
CN108063859B (en) 2021-03-12

Similar Documents

Publication Publication Date Title
CN110086992A (en) Filming control method, mobile terminal and the computer storage medium of mobile terminal
CN109729266A (en) A kind of image capturing method, terminal and computer readable storage medium
CN108063859A (en) A kind of automatic camera control method, terminal and computer storage media
CN107820011A (en) Photographic method and camera arrangement
CN107302663A (en) A kind of brightness of image method of adjustment, terminal and computer-readable recording medium
CN108495056A (en) Photographic method, mobile terminal and computer readable storage medium
CN106937039A (en) A kind of imaging method based on dual camera, mobile terminal and storage medium
CN109361869A (en) A kind of image pickup method and terminal
CN107820016A (en) Shooting display methods, double screen terminal and the computer-readable storage medium of double screen terminal
CN108156378B (en) Photographing method, mobile terminal and computer-readable storage medium
CN108184070A (en) A kind of image pickup method and terminal
CN110225241A (en) A kind of video capture control method, terminal and computer readable storage medium
CN109831636A (en) Interdynamic video control method, terminal and computer readable storage medium
CN107948530A (en) A kind of image processing method, terminal and computer-readable recording medium
CN108063901A (en) A kind of image-pickup method, terminal and computer readable storage medium
CN110365907A (en) A kind of photographic method, device and electronic equipment
CN109102555B (en) Image editing method and terminal
CN107124552A (en) A kind of image pickup method, terminal and computer-readable recording medium
CN108322647A (en) Panoramic picture image pickup method, mobile terminal and computer readable storage medium
CN108182031A (en) A kind of photographic method, terminal and computer readable storage medium
CN108040164A (en) Close shot image pickup method, terminal and computer-readable recording medium
CN109218626A (en) A kind of photographic method and terminal
CN107040723A (en) A kind of imaging method based on dual camera, mobile terminal and storage medium
CN109639996A (en) High dynamic scene imaging method, mobile terminal and computer readable storage medium
CN109729246A (en) A kind of multi-camera circuit structure, terminal and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant