CN111770279A - Shooting method and electronic equipment - Google Patents

Shooting method and electronic equipment Download PDF

Info

Publication number
CN111770279A
CN111770279A CN202010767568.1A CN202010767568A CN111770279A CN 111770279 A CN111770279 A CN 111770279A CN 202010767568 A CN202010767568 A CN 202010767568A CN 111770279 A CN111770279 A CN 111770279A
Authority
CN
China
Prior art keywords
shooting
input
preview interface
target objects
photographing
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
CN202010767568.1A
Other languages
Chinese (zh)
Other versions
CN111770279B (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.)
Vivo Mobile Communication Shenzhen Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202010767568.1A priority Critical patent/CN111770279B/en
Publication of CN111770279A publication Critical patent/CN111770279A/en
Application granted granted Critical
Publication of CN111770279B publication Critical patent/CN111770279B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/62Control of parameters via user interfaces
    • 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/63Control of cameras or camera modules by using electronic viewfinders
    • H04N23/631Graphical user interfaces [GUI] specially adapted for controlling image capture or setting capture parameters
    • H04N23/632Graphical user interfaces [GUI] specially adapted for controlling image capture or setting capture parameters for displaying or modifying preview images prior to image capturing, e.g. variety of image resolutions or capturing parameters

Abstract

The invention provides a shooting method and electronic equipment, belonging to the technical field of electronics, wherein the method comprises the following steps: displaying a shooting preview interface; acquiring a first number of target objects in the shooting preview interface; receiving a first input; in a case where an absolute value of a difference between the first input number and the second input number is within a first range, a photographing function is performed in response to the first input. This scheme can solve the inconvenient problem of shooting among the prior art.

Description

Shooting method and electronic equipment
Technical Field
The present invention relates to the field of electronic technologies, and in particular, to a shooting method and an electronic device.
Background
With the continuous development of the technology, the electronic equipment with the shooting function becomes necessary equipment for the daily recording of the life of the public, and is widely popular with and used by the public. When the user travels with friends, the electronic equipment can be used for taking a picture of the friends in the same line. At present, the shooting mode of a user is a fixed shooting number, but under the condition of complex shooting environment, the problem that the shooting cannot be carried out due to mismatching of the shooting number and the set shooting number often occurs, and the user experience is influenced.
Disclosure of Invention
The embodiment of the invention provides a shooting method and electronic equipment, and solves the problem of inconvenience in shooting in the prior art.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides a shooting method, including:
displaying a shooting preview interface;
acquiring a first number of target objects in the shooting preview interface;
receiving a first input;
in a case where an absolute value of a difference between the first number and the second number is within a first range, a photographing function is performed in response to the first input.
In a second aspect, an embodiment of the present invention further provides an apparatus for a shooting method, including:
the first display module is used for displaying a shooting preview interface;
the first receiving and acquiring module is used for acquiring a first quantity of target objects in the shooting preview interface, and receiving shooting input under the preview interface;
the first receiving module is used for receiving a first input;
the first acquisition module is used for acquiring a first number of target objects in a preview interface corresponding to the photographing input;
and the first photographing module is used for responding to the first input and executing a photographing function under the condition that the absolute value of the difference between the first quantity and the second quantity is within a first range.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, and when executed by the processor, the program or instructions implement the steps of the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
In the embodiment of the application, a first number of target objects in a shooting preview interface is acquired, and a shooting operation is executed if an absolute value of a difference between the first number and a second number is within a first range under the condition that a first input is received. This application has been solved and has been shooing inconvenient problem, promotes user experience and experience.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed to be used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a flowchart illustrating a shooting method according to an embodiment of the present disclosure;
fig. 2 is a flowchart illustrating another photographing method according to an embodiment of the present application;
fig. 3 is a block diagram illustrating a structure of an apparatus for a photographing method according to an embodiment of the present application;
fig. 4 is a block diagram illustrating another photographing method according to an embodiment of the present application;
fig. 5 is a schematic diagram illustrating a hardware structure of an electronic device according to an embodiment of the present application to implement various embodiments of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application are capable of operation in sequences other than those illustrated or described herein. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The screen refresh rate switching method and the electronic device provided by the embodiments of the present application are described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
Referring to fig. 1, an embodiment of the present application provides a photographing method. As shown in fig. 1, the photographing method includes:
and step 101, shooting and displaying a shooting preview interface.
In the embodiment of the application, the shooting scene can be previewed through a screen of a display screen of the electronic equipment.
The electronic device is a device capable of performing shooting operation, and in this embodiment, the electronic device may be a mobile electronic device, such as a mobile phone, a tablet computer, an intelligent wearable device, and the like.
The shooting operation may be a shooting operation or a video recording operation performed by the electronic device.
Step 102, acquiring a first number of target objects in the shooting preview interface.
The target object may be a person who participates in the photographing, and of course, it is understood by those skilled in the art that the target object may also be other kinds of objects, such as characters, plants, buildings, and the like.
Alternatively, the identification of the target object may be achieved by existing image recognition functions, such as: the target object is identified through an image identification function, and when a person is shot, the category of the target object is determined to be a human face or organs on the human face, wherein the organs on the human face comprise eyes, a mouth, a nose and the like. In addition, when photographing a human being, other organs of the target object, such as a hand, a foot, and the like, may be recognized. In other embodiments of the present application, the recognition may be performed by a motion of a character, for example, a gesture of "wining" by a user's hand ratio, or a gesture of "love" by a user's double-arm ratio, etc. When a segment of characters is shot, the type of the target object is determined to be the characters. It is understood that the above-mentioned image recognition function is a recognition function carried in the terminal, and a specific implementation of the image recognition function may refer to an existing image recognition function, and the embodiment of the present application does not limit the specific implementation of the image recognition function. And acquiring the number of target objects in the shooting preview interface, and taking the number as a first number.
Step 103, receiving a first input.
Capturing the first input may include, but is not limited to, at least one of a voice trigger, a touch screen trigger, a key trigger, a gesture trigger, and a timing trigger. The voice trigger is generated by voice input to the shooting equipment by a user; the touch screen trigger is generated by a touch action of a user on a screen of the shooting device; the key triggering is generated by the key action of a physical key of the shooting equipment by a user; the gesture trigger is a trigger generated by a gesture of a user at a certain distance relative to the shooting device; the timed trigger is a trigger generated by time information input by a user.
After receiving the photographing first input, step 104 is performed. And 104, responding to the first input and executing the shooting function under the condition that the absolute value of the difference between the first quantity and the second quantity is in a first range.
The absolute value of the difference between the first number and the second number being within the first range means that the first number may be higher or lower than the second number. In one embodiment of the present application, the second number is 10 persons, the first range takes the value of 2 persons, and then the first number is in the range of 8 to 12 persons, and the absolute value of the difference between the first number and the second number is within the first range, and the photographing operation can be performed.
Optionally, the sequence among the steps 101,102, and 103 may be changed, that is, step 103 may be executed first to receive the first input, and then step 101 is executed to display a shooting preview interface; then at execution 102, a first number of target objects in the capture preview interface is obtained. After step 102, step 104 is performed. Alternatively, step 101 may be executed to display a shooting preview interface, and then step 103 may be executed to receive the first input. Then, step 102 is executed to obtain a first number of target objects in the shooting preview interface. After step 102 is performed, step 104 is performed. The specific steps can be set according to actual needs, and the application is not particularly limited.
Referring to fig. 2, another embodiment of the present application provides a photographing method. As shown in fig. 2, the photographing method includes:
step 201, shooting and displaying a shooting preview interface.
In the embodiment of the application, the shot scene can be previewed through a screen of a display screen of the electronic equipment.
The electronic device is a device capable of performing shooting operation, and in this embodiment, the electronic device may be a mobile electronic device, such as a mobile phone, a tablet computer, an intelligent wearable device, and the like.
The photographic input may include, but is not limited to, at least one of a voice trigger, a touch screen trigger, a key trigger, a gesture trigger, and a timing trigger. The voice trigger is generated by voice input to the shooting equipment by a user; the touch screen trigger is generated by a touch action of a user on a screen of the shooting device; the key triggering is generated by the key action of a physical key of the shooting equipment by a user; the gesture trigger is a trigger generated by a gesture of a user at a certain distance relative to the shooting device; the timed trigger is a trigger generated by time information input by a user.
The shooting operation may be a shooting operation or a video recording operation performed by the electronic device.
After this photographing, step 202 is performed.
Step 202, setting the maximum number of the target objects in the preview interface in the first time period as the second number.
In some scenarios of the present application, a user performing shooting typically needs to adjust shooting parameters of the electronic device, and thus the user performing shooting typically appears late in the preview interface. In order to ensure the integrity of the shooting user in the shooting scene, the maximum number of the target objects in the preview interface in the first time period is set as the second number. In other scenes, under the condition of executing multi-person shooting, as the users participating in shooting cannot enter the shooting range at the same time, the maximum number of the target objects acquired in the preview interface within the first time period is set to be the second number, so that the integrity of the users participating in shooting appearing in the shooting interface can be effectively improved. Wherein the first time period can be set by the user. The first time period may be set to a real time or a timed time. For example, the first time period may be a real time when the photographing preview interface is displayed, such as between 30 minutes 10 seconds at 4 pm and 30 minutes 20 seconds at 4 pm. Or the first time period is within 30 seconds after the shooting preview interface is displayed.
Alternatively, the first period of time may be displayed on the photographing preview interface. And a control is arranged on the shooting preview interface, and real time or timing time is displayed on the control.
Alternatively, the determination of the second number may also be a determination that the maximum number of target objects appearing in the preview interface is the second number in the event that the maximum number exceeds a first time threshold.
In some scenarios of the present application, for example, when a shooting operation is performed in a scenic spot with a large amount of people, different numbers of target objects can be identified in a preview interface of the electronic device due to a large number of people coming and going. The number of target objects may be 5, 6, 10, etc. However, since the people who do not participate in the shooting usually do not stay in front of the shot for a long time, the number of the recognizable target objects in the preview interface of the electronic device changes, for example, the number of the recognizable target objects is from 5 to 6 to 12 in a continuous period of time. In order to ensure that shooting can be performed in scenic spots with large pedestrian volume, non-target objects which mistakenly enter the shooting area of the electronic equipment need to be eliminated. Thus, the electronic device sets the first time threshold. Wherein, the time threshold value can be set by the user. For example, the time may be set to 5 seconds or 10 seconds, and the present application is not particularly limited to setting the time threshold. When the electronic device can identify the maximum number of target objects in the preview interface, and the maximum number of target objects exists in the preview interface for more than a time threshold, the maximum number of target objects can be considered as target objects participating in the shooting operation, and objects mistakenly entering the shooting area are not included, and the maximum number is set as the second number.
Alternatively, the second number of time ranges is determined after the first photographing operation until before the second photographing operation. In the event that the maximum number of target objects present in the preview interface within the time period exceeds a first time threshold, the maximum number is determined to be a second number.
Alternatively, the setting of the preset number of shots may also be manually input by the user. The display screen of the electronic equipment is provided with a control capable of manually inputting the preset shooting number, and the shooting user can input the preset shooting number through keys or voice.
Step 203, acquiring a first number of target objects in the shooting preview interface.
The target object may be a person who participates in the photographing, and of course, it is understood by those skilled in the art that the target object may also be other kinds of objects, such as characters, plants, buildings, and the like.
Alternatively, the identification of the target object may be achieved by existing image recognition functions, such as: the target object is identified through an image identification function, and when a person is shot, the category of the target object is determined to be a human face or organs on the human face, wherein the organs on the human face comprise eyes, a mouth, a nose and the like. In addition, when photographing a human being, other organs of the target object, such as a hand, a foot, and the like, may be recognized. In other embodiments of the present application, the recognition may be performed by a motion of a character, for example, a gesture of "wining" by a user's hand ratio, or a gesture of "love" by a user's double-arm ratio, etc. When a segment of characters is shot, the type of the target object is determined to be the characters. It is understood that the above-mentioned image recognition function is a recognition function carried in the terminal, and a specific implementation of the image recognition function may refer to an existing image recognition function, and the embodiment of the present application does not limit the specific implementation of the image recognition function. And acquiring the number of target objects in the shooting preview interface, and taking the number as a first number.
Step 204, a first input is received.
The first input may include, but is not limited to, at least one of a voice trigger, a touch screen trigger, a key trigger, a gesture trigger, and a timing trigger. The voice trigger is generated by voice input to the shooting equipment by a user; the touch screen trigger is generated by a touch action of a user on a screen of the shooting device; the key triggering is generated by the key action of a physical key of the shooting equipment by a user; the gesture trigger is a trigger generated by a gesture of a user at a certain distance relative to the shooting device; the timed trigger is a trigger generated by time information input by a user.
And step 205, responding to the first input and executing the shooting function under the condition that the absolute value of the difference between the first quantity and the second quantity is in a first range.
The absolute value of the difference between the first number and the second number being within the first range means that the first number may be higher or lower than the second number. In one embodiment of the present application, the second number is 10 persons, the first range takes the value of 2 persons, and then the first number is in the range of 8 to 12 persons, and the absolute value of the difference between the first number and the second number is within the first range, and the photographing operation can be performed.
Optionally, if the absolute value of the difference between the first number and the second number is outside the first range, delaying responding to the first input until the maximum number of the target objects acquired in the preview interface is a third number, and executing a shooting function under the condition that the absolute value of the difference between the third number and the second number is within the first range.
If the absolute value of the difference between the first number and the second number is outside the first range, it indicates that there is a visitor who mistakenly enters the shooting area currently in the preview interface of the electronic device, or that some target objects involved in shooting do not enter the shooting area yet, and therefore, the electronic device delays responding to the first input until the shooting operation is re-executed in a case where the maximum number of target objects appearing in the preview interface of the electronic device is the third number and the absolute value of the difference between the third number and the first number is within the first range.
Alternatively, in a case where the absolute value of the difference between the first number and the second number is outside the first range, it is also possible to delay shooting by prohibiting triggering of the shutter until the maximum number of target objects appearing in the preview interface of the electronic device is the third number, and the shooting operation is re-performed in a case where the absolute value of the difference between the third number and the first number is within the first range.
Alternatively, in a case where the absolute value of the difference between the first number and the second number is outside the first range, it is also possible to delay shooting by issuing a warning until the shooting operation is re-performed in a case where the maximum number of target objects appearing in the preview interface of the electronic device is the third number and the absolute value of the difference between the third number and the first number is within the first range. The manner of issuing the warning may be a whistle or other warning manner that issues a sound, or may be a visual warning such as flashing a flash lamp.
Alternatively, in the case where the absolute value of the difference between the first number and the second number is outside the first range, it is also possible to forgo responding to the first input and output the corresponding prompt information.
The prompt information is used for prompting the user whether to re-execute the shooting operation.
The prompt message can be in a popup mode or a page mode. The prompt information prompts the user whether to perform a re-shooting operation. There is a corresponding option in the reminder, such as a "agree to re-shoot" control. The user can select the option at his or her own discretion.
Alternatively, if the user does not select the "approve of retake" control within the time threshold, the electronic device may default to the user disapproving for retake, with the reminder information disappearing from the electronic device preview interface.
Optionally, the electronic device may receive a second input after the preamble capture operation is completed. The second input specifically includes: the specific operation of the user on clicking operation in the preview interface, or pressing operation of the user on an entity key of the electronic device, or other feasible operations of the user on the electronic device may be determined according to actual use requirements, and the embodiment of the present invention is not limited.
Optionally, the click input may be a single click input, a double click input, or any number of click inputs; the specific gesture may be any one of a single-click gesture, a sliding gesture, a pressure recognition gesture, a long-press gesture, a double-click gesture, simultaneous sliding down of multiple fingers, and simultaneous sliding up of multiple fingers.
Optionally, the click input may be a single click input, a double click input, or any number of click inputs; the specific gesture may be any one of a single-click gesture, a sliding gesture, a pressure recognition gesture, a long-press gesture, a double-click gesture, simultaneous sliding down of multiple fingers, and simultaneous sliding up of multiple fingers.
Optionally, in response to the second input, acquiring a fifth number of target objects in the preview interface; if the absolute value of the difference between the fifth quantity and the fourth quantity is within a first range, executing shooting operation; wherein the fourth number is a preset number before the second input.
The absolute value of the difference between the fifth number and the fourth number being within the first range means that the fifth number may be higher or lower than the fourth number. In one embodiment of the present application, the fourth number is 10, the first range takes the value of 2, and then the fifth number is in the range of 8 to 12, and the absolute value of the difference between the fifth number and the fourth number is within the first range, and the photographing operation can be performed.
The target object may be a person who participates in the photographing, and of course, it is understood by those skilled in the art that the target object may also be other kinds of objects, such as characters, plants, buildings, and the like.
Alternatively, the identification of the target object may be achieved by existing image recognition functions, such as: the target object is identified through an image identification function, and when a person is shot, the category of the target object is determined to be a human face or organs on the human face, wherein the organs on the human face comprise eyes, a mouth, a nose and the like. In addition, when photographing a human being, other organs of the target object, such as a hand, a foot, and the like, may be recognized. In other embodiments of the present application, the recognition may be performed by a motion of a character, for example, a gesture of "wining" by a user's hand ratio, or a gesture of "love" by a user's double-arm ratio, etc. When a segment of characters is shot, the type of the target object is determined to be the characters. It is understood that the above-mentioned image recognition function is a recognition function carried in the terminal, and a specific implementation of the image recognition function may refer to an existing image recognition function, and the embodiment of the present application does not limit the specific implementation of the image recognition function.
Optionally, before acquiring the fifth number of target objects in the preview interface, the method further includes: determining a fourth quantity; the fourth number is equal to the second number.
The electronic equipment can continue to use the second quantity in the first shooting operation under the condition of shooting again, so that the electronic equipment does not need to calculate the second quantity again, the operation process of the electronic equipment is reduced, and the problem that the electronic equipment reacts too slowly due to excessive operation is prevented.
Fig. 3 is a block diagram illustrating a structure of an apparatus for a photographing method according to an embodiment of the present application. As shown in fig. 3, the apparatus 300 of the photographing method includes:
a first display module 307, configured to display a shooting preview interface;
a first obtaining module 302, configured to obtain a first number of target objects in the shooting preview interface;
a first receiving module 301, configured to receive a first input;
a first photographing module 303 for performing a photographing function in response to the first input in a case where an absolute value of a difference between the first number and the second number is within a first range.
A first determining module 304, configured to set the maximum number of target objects in the preview interface in the first time period to the second number.
A second receiving module 305, configured to receive the second input;
a second response module 306 for executing a photographing function in response to the second input;
the device of the shooting method in the embodiment of the present application may also be a component, an integrated circuit, or a chip in an electronic apparatus. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a kiosk, and the like, and the embodiments of the present application are not particularly limited.
The device of the photographing method in the embodiment of the present application may be a device having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present application are not limited specifically.
The device for the shooting method provided in the embodiment of the present application can implement each process implemented by the device for the shooting method in the method embodiments of fig. 1 to 2, and is not described here again to avoid repetition.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the above shooting method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
According to the device of the shooting method, the shooting input is received through the first receiving module, and the first number of the target objects in the preview interface corresponding to the shooting input is obtained through the second obtaining module. And if the absolute value of the difference between the first number and the second number is within a first range, the first shooting module executes shooting operation. The first determining module may determine that the maximum number is the second number when the maximum number of the target objects appearing in the preview interface exceeds a first time threshold. The problem of inconvenience in shooting can be solved under the condition that the shooting environment is complex.
Optionally, an electronic device is further provided in this embodiment of the present application, and includes a processor 410, a memory 409, and a program or an instruction stored in the memory 409 and executable on the processor 410, where the program or the instruction is executed by the processor 410 to implement each process of the above-described shooting method embodiment, and can achieve the same technical effect, and details are not repeated here to avoid repetition.
It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and the non-mobile electronic devices described above.
Fig. 5 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 400 includes, but is not limited to: radio unit 401, network module 402, audio output unit 403, input unit 404, sensor 405, display unit 406, user input unit 407, interface unit 408, memory 409, and processor 410.
Those skilled in the art will appreciate that the electronic device 400 may further include a power source (e.g., a battery) for supplying power to various components, and the power source may be logically connected to the processor 410 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system. The apparatus structure shown in fig. 4 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the detailed description is omitted here.
The processor 410 is configured to receive a shooting input, and obtain a first number of target objects in a preview interface corresponding to the shooting input; if the absolute value of the difference between the first quantity and the second quantity is within a first range, executing shooting operation; wherein the second number is a preset shooting number before the shooting input.
Optionally, the processor is further configured to determine that the maximum number is the second number if the maximum number of target objects appearing in the preview interface exceeds a first time threshold.
Optionally, the processor 410 is further configured to delay responding to the photographing input until the maximum number of the target objects appearing in the preview interface is a third number and the absolute value of the difference between the third number and the first number is within the first range, in case that the absolute value of the difference between the first number and the second number is outside the first range.
Optionally, a processor 410, further configured to receive the first input; responding to the first input, and displaying target information, wherein the target information is used for prompting a user whether to execute shooting operation again; receiving a second input, wherein the second input is input for determining that the shooting operation is executed again by the user; in response to the second input, a fifth number of target objects in the preview interface is obtained. And if the absolute value of the difference between the fifth number and the fourth number is within the first range, executing the shooting operation. Wherein the fourth number is a preset number before the second input.
Optionally, the processor 410 is further configured to determine the fourth number before acquiring the fifth number of target objects in the preview interface. Wherein the fourth number is equal to the second number.
The embodiment can solve the problem of unchanged shooting of the electronic equipment under the condition of complex shooting environment.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the above shooting method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction to implement each process of the foregoing screen refresh rate switching method embodiment, and can achieve the same technical effect, and in order to avoid repetition, the details are not repeated here.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (10)

1. A photographing method, characterized by comprising:
displaying a shooting preview interface;
acquiring a first number of target objects in the shooting preview interface;
receiving a first input;
in a case where an absolute value of a difference between the first number and the second number is within a first range, a photographing function is performed in response to the first input.
2. The method of claim 1, wherein prior to obtaining the first number of target objects in the capture preview interface, the method further comprises:
and setting the maximum number of the target objects in the preview interface in the first time period as the second number.
3. The method of claim 1, further comprising:
and in the case that the absolute value of the difference between the first number and the second number is outside a first range, delaying the response to the first input until the maximum number of the target objects acquired in the preview interface is a third number, and in the case that the absolute value of the difference between the third number and the second number is within the first range, executing a photographing function.
4. The method of claim 1, further comprising:
and when the absolute value of the difference between the first quantity and the second quantity is out of a first range, giving up responding to the first input and outputting corresponding prompt information.
5. The method of claim 2, wherein after performing a capture function in response to the first input if an absolute value of a difference between the first number and the second number is within a first range, the method further comprises:
receiving a second input;
in response to the second input, re-executing the photographing function.
6. An apparatus for photographing, comprising:
the first display module is used for displaying a shooting preview interface;
the first acquisition module is used for acquiring a first number of target objects in the shooting preview interface;
the first receiving module is used for receiving a first input;
and the first shooting module is used for responding to the first input and executing a shooting function under the condition that the absolute value of the difference between the first input quantity and the second input quantity is within a first range.
7. The apparatus of claim 6, comprising:
and the first determining module is used for setting the maximum number of the target objects in the preview interface in the first time period as the second number.
8. The apparatus of claim 6, further comprising:
the second receiving module is used for receiving a second input;
and the second response module is used for responding to the second input and executing the shooting function.
9. An electronic device comprising a processor, a memory and a program or instructions stored on the memory and executable on the processor, the program or instructions when executed by the processor implementing the steps of the photographing method according to claims 1-5.
10. A readable storage medium, characterized in that the readable storage medium stores thereon a program or instructions which, when executed by a processor, implement the steps of the photographing method according to claims 1-5.
CN202010767568.1A 2020-08-03 2020-08-03 Shooting method and electronic equipment Active CN111770279B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010767568.1A CN111770279B (en) 2020-08-03 2020-08-03 Shooting method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010767568.1A CN111770279B (en) 2020-08-03 2020-08-03 Shooting method and electronic equipment

Publications (2)

Publication Number Publication Date
CN111770279A true CN111770279A (en) 2020-10-13
CN111770279B CN111770279B (en) 2022-04-08

Family

ID=72728819

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010767568.1A Active CN111770279B (en) 2020-08-03 2020-08-03 Shooting method and electronic equipment

Country Status (1)

Country Link
CN (1) CN111770279B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113784040A (en) * 2021-08-05 2021-12-10 维沃移动通信(杭州)有限公司 Shooting method, shooting device, electronic equipment and storage medium

Citations (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050265626A1 (en) * 2004-05-31 2005-12-01 Matsushita Electric Works, Ltd. Image processor and face detector using the same
CN101399916A (en) * 2007-09-28 2009-04-01 富士胶片株式会社 Image taking apparatus and image taking method
JP2009212557A (en) * 2008-02-29 2009-09-17 Casio Comput Co Ltd Imaging apparatus, imaging method and program
CN101867718A (en) * 2010-02-26 2010-10-20 深圳市同洲电子股份有限公司 Method and device for taking picture automatically
CN102142087A (en) * 2010-02-02 2011-08-03 腾讯数码(天津)有限公司 User authentication method and device
CN104243818A (en) * 2014-08-29 2014-12-24 小米科技有限责任公司 Image processing method and device and image processing equipment
CN105049712A (en) * 2015-06-30 2015-11-11 广东欧珀移动通信有限公司 Method of starting terminal wide angle camera and terminal
CN105049710A (en) * 2015-06-30 2015-11-11 广东欧珀移动通信有限公司 Large-view angle camera control method and user terminal
CN105578025A (en) * 2015-05-28 2016-05-11 东莞酷派软件技术有限公司 Photographing method and photographing terminal
CN106713769A (en) * 2017-03-27 2017-05-24 联想(北京)有限公司 Image photographing control method and apparatus and electronic device
CN106851104A (en) * 2017-02-28 2017-06-13 努比亚技术有限公司 A kind of method and device shot according to user perspective
CN107124551A (en) * 2017-05-18 2017-09-01 惠州Tcl移动通信有限公司 A kind of mobile terminal is taken pictures the method being automatically synthesized, storage device and mobile terminal
CN108881684A (en) * 2018-06-29 2018-11-23 联想(北京)有限公司 A kind of information processing method and electronic equipment
CN109033973A (en) * 2018-06-26 2018-12-18 北京旷视科技有限公司 Monitoring and early warning method, apparatus and electronic equipment
CN109587391A (en) * 2017-09-29 2019-04-05 多玩国株式会社 Server unit, delivery system, dissemination method and program
CN110062158A (en) * 2019-04-08 2019-07-26 北京字节跳动网络技术有限公司 Control method, apparatus, electronic equipment and the computer readable storage medium of filming apparatus
CN110191283A (en) * 2019-06-03 2019-08-30 成都品果科技有限公司 A kind of Intelligent photographing method and device
CN110337806A (en) * 2018-05-30 2019-10-15 深圳市大疆创新科技有限公司 Group picture image pickup method and device
CN110365905A (en) * 2019-07-25 2019-10-22 北京迈格威科技有限公司 Automatic photographing method and device
WO2020015144A1 (en) * 2018-07-16 2020-01-23 华为技术有限公司 Photographing method and electronic device
CN110891144A (en) * 2019-11-28 2020-03-17 维沃移动通信有限公司 Image display method and electronic equipment
CN111093023A (en) * 2019-12-19 2020-05-01 维沃移动通信有限公司 Video shooting method and electronic equipment

Patent Citations (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050265626A1 (en) * 2004-05-31 2005-12-01 Matsushita Electric Works, Ltd. Image processor and face detector using the same
CN101399916A (en) * 2007-09-28 2009-04-01 富士胶片株式会社 Image taking apparatus and image taking method
JP2009212557A (en) * 2008-02-29 2009-09-17 Casio Comput Co Ltd Imaging apparatus, imaging method and program
CN102142087A (en) * 2010-02-02 2011-08-03 腾讯数码(天津)有限公司 User authentication method and device
CN101867718A (en) * 2010-02-26 2010-10-20 深圳市同洲电子股份有限公司 Method and device for taking picture automatically
CN104243818A (en) * 2014-08-29 2014-12-24 小米科技有限责任公司 Image processing method and device and image processing equipment
CN105578025A (en) * 2015-05-28 2016-05-11 东莞酷派软件技术有限公司 Photographing method and photographing terminal
CN105049712A (en) * 2015-06-30 2015-11-11 广东欧珀移动通信有限公司 Method of starting terminal wide angle camera and terminal
CN105049710A (en) * 2015-06-30 2015-11-11 广东欧珀移动通信有限公司 Large-view angle camera control method and user terminal
CN106851104A (en) * 2017-02-28 2017-06-13 努比亚技术有限公司 A kind of method and device shot according to user perspective
CN106713769A (en) * 2017-03-27 2017-05-24 联想(北京)有限公司 Image photographing control method and apparatus and electronic device
CN107124551A (en) * 2017-05-18 2017-09-01 惠州Tcl移动通信有限公司 A kind of mobile terminal is taken pictures the method being automatically synthesized, storage device and mobile terminal
CN109587391A (en) * 2017-09-29 2019-04-05 多玩国株式会社 Server unit, delivery system, dissemination method and program
CN110337806A (en) * 2018-05-30 2019-10-15 深圳市大疆创新科技有限公司 Group picture image pickup method and device
CN109033973A (en) * 2018-06-26 2018-12-18 北京旷视科技有限公司 Monitoring and early warning method, apparatus and electronic equipment
CN108881684A (en) * 2018-06-29 2018-11-23 联想(北京)有限公司 A kind of information processing method and electronic equipment
WO2020015144A1 (en) * 2018-07-16 2020-01-23 华为技术有限公司 Photographing method and electronic device
CN110062158A (en) * 2019-04-08 2019-07-26 北京字节跳动网络技术有限公司 Control method, apparatus, electronic equipment and the computer readable storage medium of filming apparatus
CN110191283A (en) * 2019-06-03 2019-08-30 成都品果科技有限公司 A kind of Intelligent photographing method and device
CN110365905A (en) * 2019-07-25 2019-10-22 北京迈格威科技有限公司 Automatic photographing method and device
CN110891144A (en) * 2019-11-28 2020-03-17 维沃移动通信有限公司 Image display method and electronic equipment
CN111093023A (en) * 2019-12-19 2020-05-01 维沃移动通信有限公司 Video shooting method and electronic equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
苏瑞等: "基于人脸识别的无人自拍系统", 《信息与电脑(理论版)》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113784040A (en) * 2021-08-05 2021-12-10 维沃移动通信(杭州)有限公司 Shooting method, shooting device, electronic equipment and storage medium
CN113784040B (en) * 2021-08-05 2023-11-14 维沃移动通信(杭州)有限公司 Shooting method, shooting device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN111770279B (en) 2022-04-08

Similar Documents

Publication Publication Date Title
CN111601039B (en) Video shooting method and device and electronic equipment
CN112135046B (en) Video shooting method, video shooting device and electronic equipment
CN110413114A (en) Interaction control method and device under video scene, server, readable storage medium storing program for executing
WO2022198934A1 (en) Method and apparatus for generating video synchronized to beat of music
CN112532885B (en) Anti-shake method and device and electronic equipment
CN112399239A (en) Video playing method and device
US10216381B2 (en) Image capture
CN112822388B (en) Shooting mode triggering method, device, equipment and storage medium
CN112308864A (en) Image processing method and device, electronic equipment and storage medium
CN111770279B (en) Shooting method and electronic equipment
US20150046863A1 (en) Information processing method and electronic device
CN111597009B (en) Application program display method and device and terminal equipment
CN112511743B (en) Video shooting method and device
CN113596555A (en) Video playing method and device and electronic equipment
CN107395963B (en) A kind of control method and its device of automatic camera
CN113766130B (en) Video shooting method, electronic equipment and device
CN107507159A (en) Image processing method and device, computer installation and readable storage medium storing program for executing
CN114125226A (en) Image shooting method and device, electronic equipment and readable storage medium
CN110490285B (en) Method, device and storage medium for simulating card
CN114245017A (en) Shooting method and device and electronic equipment
CN113923392A (en) Video recording method, video recording device and electronic equipment
CN112887782A (en) Image output method and device and electronic equipment
CN113064533B (en) Control method and control device for electronic equipment
CN112312053B (en) Video recording method and device
CN113873162A (en) Shooting method, shooting device, electronic equipment and readable storage medium

Legal Events

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

Effective date of registration: 20220818

Address after: 518101 tower a 2301-09, 2401-09, 2501-09, 2601-09, phase III, North District, Yifang center, 99 Xinhu Road, N12 District, Haiwang community, Xin'an street, Bao'an District, Shenzhen City, Guangdong Province

Patentee after: VIVO MOBILE COMMUNICATIONS (SHENZHEN) Co.,Ltd.

Address before: 523860 Room 202, building 1, 168 Jinghai East Road, Chang'an Town, Dongguan City, Guangdong Province

Patentee before: VIVO MOBILE COMMUNICATION Co.,Ltd.

TR01 Transfer of patent right